DATA ENCRYPTION METHOD AND ENCRYPTION APPARATUS
First Claim
Patent Images
1. A data encryption method, implemented by a terminal, comprising:
- collecting data;
writing the collected data into a memory of the terminal;
encrypting the collected data in the memory;
creating a new file on a storage of the terminal;
writing the encrypted data into the file of the storage.
3 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides a data encryption method, and the method includes: writing collected data into a memory; encrypting the collected data in the memory; and writing the encrypted data into an external storage. The present invention further provides a corresponding encryption apparatus. By using the encryption method and the encryption apparatus that are provided in the present invention, in a process of writing data into a file, the written data may be encrypted, and when the file is stored to an external storage, encryption of the file is implemented, thereby effectively ensuring timeliness of data encryption.
4 Citations
18 Claims
-
1. A data encryption method, implemented by a terminal, comprising:
-
collecting data; writing the collected data into a memory of the terminal; encrypting the collected data in the memory; creating a new file on a storage of the terminal; writing the encrypted data into the file of the storage. - View Dependent Claims (3, 4, 5, 6, 7)
-
-
2. (canceled)
-
8-14. -14. (canceled)
-
15. A terminal, comprising:
-
a memory storing instructions; and a processor coupled to the memory to execute the instructions to; collect data; write the collected data into the memory; encrypt the collected data in the memory; create a new file on a storage of the terminal; write the encrypted data into the file of the storage; generate a file name corresponding to the collected data and a storage path of the collected data, wherein the storage path points to the storage; determine whether a file whose name is the same as the file name exists in the storage path according to the file name and the storage path; and the creating a new file on the storage comprises; creating a new file on the storage when it is determined that no file whose name is the same as the file name exists in the storage path. - View Dependent Claims (16, 17, 18)
-
Specification