IP Library Granted Patent US 11,134,377
Granted Patent B2
US 11,134,377 · App. 15/601,531 · Granted Sep 28, 2021

Encrypting/decrypting data on mobile terminal

Inventor: Yitao Song (Zhejiang, CN)
Assignee: Advanced New Technologies Co., Ltd.
H04W12/033H04L9/0822H04L9/0861H04L9/14H04L9/3236H04W12/041H04W88/02H04L63/0442
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,134,377
App. No.
15/601,531
Granted
Sep 28, 2021
Kind
B2
Abstract

A method includes: pre-generating a key pair including a first public key and a first private key; acquiring identification information about a mobile terminal; encrypting the key pair including the first public key and the first private key using the identification information to obtain a first encrypted public key and a first encrypted private key and saving same; when a service key is encrypted, encrypting the service key using the first private key to obtain an encrypted service key; when the service key is decrypted, decrypting the encrypted service key using the first public key to obtain the service key; acquiring data needing to be encrypted/decrypted of the mobile terminal; and encrypting/decrypting the data using the service key. The security of the data can be protected off-line with low cost and without hardware protection, so that the data cannot be intercepted and tampered with.

Claims (67)

1. A method for improving security of data on a mobile terminal in an off-line state, the method comprising:

generating, by a first generation unit of the mobile terminal, a service key;

encrypting, by a second encryption unit of the mobile terminal, the service key, wherein encrypting the service key includes:

generating, by a second generation unit of the mobile terminal, a key pair including a first public key and a first private key;

acquiring, by a first acquisition unit of the mobile terminal, identification information of the mobile terminal;

encrypting, by a first encryption unit of the mobile terminal, the key pair including the first public key and the first private key by using the identification information of the mobile terminal to obtain a first encrypted public key and a first encrypted private key, wherein the encrypting by the first encryption unit of the mobile terminal the key pair including the first public key and the first private key by using the identification information of the mobile terminal to obtain the first encrypted public key and the first encrypted private key includes:

storing, by the first encryption unit of the mobile terminal, the key pair including the first public key and the first private key;

generating a first character string according to the identification information of the mobile terminal, wherein generating the first character string according to the identification information of the mobile terminal includes performing a hash algorithm processing on the identification information of the mobile terminal, to obtain the first character string; and

encrypting, by the first encryption unit of the mobile terminal, the key pair including the first public key and the first private key by using the first character string to obtain the first encrypted public key and the first encrypted private key;

decrypting, by a first decryption unit of the mobile terminal, the first encrypted private key by using the identification information of the mobile terminal to obtain the first private key, wherein the decrypting the first encrypted private key by using the identification information of the mobile terminal to obtain the first private key includes:

generating a second character string according to the identification information of the mobile terminal; and

decrypting the first encrypted private key by using the second character string;

encrypting, by the second encryption unit of the mobile terminal, the service key by using the first private key, to obtain an encrypted service key;

decrypting, by a second decryption unit of the mobile terminal, the first encrypted public key by using the identification information of the mobile terminal to obtain the first public key, wherein the decrypting the first encrypted public key by using the identification information of the mobile terminal includes:

generating a third character string according to the identification information of the mobile terminal; and

decrypting the first encrypted public key by using the third character string;

decrypting by a third decryption unit of the mobile terminal the encrypted service key by using the first public key to obtain the service key;

acquiring, by a second acquisition unit of the mobile terminal, data that needs to be encrypted on the mobile terminal;

encrypting, by a third encryption unit of the mobile terminal, the data using the service key to obtain encrypted data; and

decrypting, by a fourth decryption unit of the mobile terminal, the encrypted data using the service key in an offline state without accessing a server to obtain data.

2. The method of claim 1 , wherein the identification information of the mobile terminal includes one or more of following types:

an international mobile equipment identity;

an international mobile subscriber identification number,

a media access control address; and

a universally unique identifier of the mobile terminal.

3. An apparatus for improving security of data on a mobile terminal in an off-line state, the apparatus comprising:

one or more processors; and

one or more memories stored thereon computer-readable instructions that, when executed by the one or more processors, cause the one or more processors to perform acts comprising:

generating, by a first generation unit of the mobile terminal, a service key; and

encrypting, by a second encryption unit of the mobile terminal, the service key, wherein encrypting the service key includes:

generating, by a second generation unit of the mobile terminal, a key pair including a first public key and a first private key;

acquiring, by a first acquisition unit of the mobile terminal, identification information of the mobile terminal;

encrypting, by a first encryption unit of the mobile terminal, the key pair including the first public key and the first private key by using the identification information of the mobile terminal to obtain a first encrypted public key and a first encrypted private key, wherein the encrypting by the first encryption unit of the mobile terminal the key pair including the first public key and the first private key by using the identification information of the mobile terminal to obtain the first encrypted public key and the first encrypted private key includes:

storing, by the first encryption unit of the mobile terminal, the key pair including the first public key and the first private key;

generating a first character string according to the identification information of the mobile terminal, wherein generating the first character string according to the identification information of the mobile terminal includes performing a hash algorithm processing on the identification information of the mobile terminal, to obtain the first character string; and

encrypting, by the first encryption unit of the mobile terminal, the first public key and the first private key separately by using the first character string to obtain the first encrypted public key and the first encrypted private key;

decrypting, by a first decryption unit of the mobile terminal, the first encrypted private key by using the identification information of the mobile terminal to obtain the first private key, wherein the decrypting the first encrypted private key by using the identification information of the mobile terminal to obtain the first private key includes:

generating a second character string according to the identification information of the mobile terminal; and

decrypting the first encrypted private key by using the second character string;

encrypting, by the second encryption unit of the mobile terminal, the service key by using the first private key, to obtain an encrypted service key;

decrypting, by a second decryption unit of the mobile terminal, the first encrypted public key by using the identification information of the mobile terminal to obtain the first public key, wherein the decrypting the first encrypted public key by using the identification information of the mobile terminal includes;

generating a third character string according to the identification information of the mobile terminal; and

decrypting the first encrypted public key by using the third character string;

decrypting by a third decryption unit of the mobile terminal the encrypted service key by using the first public key to obtain the service key;

acquiring, by a second acquisition unit of the mobile terminal, data that needs to be encrypted on the mobile terminal;

encrypting, by a third encryption unit of the mobile terminal, the data by using the service key to obtain encrypted data; and

decrypting, by a fourth decryption unit of the mobile terminal, the encrypted data by using the service key in an offline state without accessing a server.

4. One or more memories stored thereon computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform acts comprising:

generating, by a first generation unit of the mobile terminal, a service key;

encrypting, by a second encryption unit of the mobile terminal, the service key, wherein encrypting the service key includes:

generating, by a second generation unit of the mobile terminal, a key pair including a first public key and a first private key;

acquiring, by a first acquisition unit of a mobile terminal, identification information of the mobile terminal;

encrypting, by a first encryption unit of the mobile terminal, the key pair including the first public key and the first private key by using the identification information of the mobile terminal to obtain a first encrypted public key and a first encrypted private key and save the first encrypted public key and the first encrypted private key, wherein the encrypting by the first encryption unit of the mobile terminal the key pair including the first public key and the first private key by using the identification information of the mobile terminal to obtain the first encrypted public key and the first encrypted private key includes:

storing, by the first encryption unit of the mobile terminal, the key pair including the first public key and the first private key;

generating a first character string according to the identification information of the mobile terminal, wherein generating the first character string according to the identification information of the mobile terminal includes performing a hash algorithm processing on the identification information of the mobile terminal, to obtain the first character string; and

encrypting, by the first encryption unit of the mobile terminal, the key pair including the first public key and the first private key by using the first character string to obtain the first encrypted public key and the first encrypted private key;

decrypting, by a first decryption unit of the mobile terminal, the first encrypted private key by using the identification information of the mobile terminal, to obtain the first private key, wherein the decrypting the first encrypted private key by using the identification information of the mobile terminal to obtain the first private key includes:

generating a second character string according to the identification information of the mobile terminal; and

decrypting the first encrypted private key by using the second character string;

encrypting, by the second encryption unit of the mobile terminal, the service key by using the first private key, to obtain an encrypted service key;

decrypting, by a second decryption unit of the mobile terminal, the first encrypted public key by using the identification information of the mobile terminal to obtain the first public key, wherein the decrypting the first encrypted public key by using the identification information of the mobile terminal includes:

generating a third character string according to the identification information of the mobile terminal; and

decrypting the first encrypted public key by using the third character string;

decrypting by a third decryption unit of the mobile terminal the encrypted service key by using the first public key to obtain the service key;

acquiring, by a second acquisition unit of the mobile terminal, data that needs to be encrypted on the mobile terminal;

encrypting, by a third encryption unit of the mobile terminal, the data by using the service key; and

decrypting, by a fourth decryption unit of the mobile terminal, the encrypted data by using the service key in an offline state without accessing a server.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 10, 2020
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 054064/0610 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 31, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053650/0816 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 22, 2017
From: SONG, YITAO
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 042524/0905 →
Priority Claims (1)
CN 201410721298.5 · Dec 2, 2014 · national
Continuity (2)
Continuation PCTCN2015095588 · Nov 26, 2015
Related Publication 20170264435A1 · Sep 14, 2017