The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Apr. 04, 2023

Filed:

Feb. 09, 2021
Applicant:

International Business Machines Corporation, Armonk, NY (US);

Inventors:

Xiaohong Fu, Milpitas, CA (US);

James W. Pickel, Gilroy, CA (US);

Yao Ching Stephen Chen, Saratoga, CA (US);

Jeffrey W. Josten, San Jose, CA (US);

Nina Bronnikova, Foster City, CA (US);

Sarbinder S. Kallar, Santa Clara, CA (US);

Shengxi Suo, San Jose, CA (US);

Attorneys:
Primary Examiner:
Int. Cl.
CPC ...
G06F 21/60 (2013.01); G06F 16/245 (2019.01); G06F 21/62 (2013.01);
U.S. Cl.
CPC ...
G06F 21/602 (2013.01); G06F 16/245 (2019.01); G06F 21/6218 (2013.01);
Abstract

A database-management system provides sargable evaluation for query predicates that compare an 'LHS' encrypted database-column operand to an 'RHS' expression operand. The system directly compares the two operands if all their attributes match. If the operands are encrypted string-type values differing only in length, the system truncates the RHS or pads it with encrypted blanks and, if a truncation loses meaningful data, evaluates the predicate as never satisfying an equality condition. In all other cases, if all attributes of a plaintext RHS don't match those of the plaintext data encoded into the LHS column, the system attempts to cast the RHS to match the plaintext LHS data. An error condition or data loss at this step allows the system to sargably evaluate the predicate without further analysis, but if the casting is successful and error-free, the system encrypts the resulting RHS and performs a sargable predicate evaluation.


Find Patent Forward Citations

Loading…