Data security storage and reading method of communication terminal
By dividing storage areas in the communication terminal and using an edge server to process confidential data, secure storage and reading of confidential data without using complex encryption algorithms is realized, and the problem of insufficient data security in the prior art is solved. Improve data confidentiality and storage efficiency.
Patent Information
- Application Number
- CN202411382794.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-01-07
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing communication terminals lack effective security measures in the data storage process, especially the protection of confidential data. Simple encryption algorithms are easy to be deciphered, while complex encryption algorithms are not suitable for general applications, resulting in high data security risks.
The storage area of the communication terminal is divided into an encrypted area and an ordinary area. The non-confidential data is directly stored in the ordinary area. The confidential data is divided into data blocks and then stored in the encrypted area in a random order, and the number and storage address are transmitted to the edge server. Perform local deletion and recover data through interaction with edge servers when reading.
It realizes the secure storage and reading of confidential data without using complex encryption algorithms, enhances the confidentiality of data and reduces the consumption of computing resources.
Smart Images

Figure CN119272304A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data storage, and in particular to a method for securely storing and reading data of a communication terminal. Background Art
[0002] Communication terminals play a very important role in social life. However, during the use of communication terminals, the data stored in the terminals may face data leakage, especially for confidential data (such as personal privacy information or business information). If effective measures are not taken, information leakage may cause greater security risks. The encryption method of data in existing communication terminals generally adopts some simple encryption algorithms, which may still be deciphered even after encryption. Some large-scale encryption algorithms with higher security are generally not suitable for communication terminals due to their high complexity. Therefore, there is an urgent need for a simple and effective data security storage and reading method to protect the data in the communication terminal. Summary of the invention
[0003] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a method for secure storage and reading of data in a communication terminal, which can distinguish between confidential data and non-confidential data, and when storing confidential data, it is combined with an edge server to effectively realize the secure storage and reading of data without using a complex encryption algorithm.
[0004] The object of the present invention is achieved through the following technical solution: A method for securely storing and reading data of a communication terminal, comprising the following steps: S1. The storage area of the communication terminal is divided into an encryption area and a general area; S2. For the data to be stored in the communication terminal: If the data to be stored is non-confidential data, the non-confidential data is divided into blocks and saved in the general area; If the data to be stored is confidential data, it is divided into data blocks and numbered, and then stored in random order in the encryption area, and the storage address corresponding to each data block number is saved, and each data block number and corresponding storage address are transmitted to the edge server and then deleted locally, including: (1) After the communication terminal divides the confidential data into data blocks, it numbers the data blocks according to the order of the data blocks in the confidential data, then stores the data blocks in random order in the encryption area, and locally saves the storage address corresponding to each data block number of the confidential data; (2) The communication terminal packages the data block numbers and corresponding storage addresses of the confidential data and sends them to the edge server. The edge server records the IP address of the communication terminal and saves the data block numbers and corresponding storage addresses of the IP address. (3) The communication terminal deletes the storage address corresponding to each data block number of the confidential data stored locally.
[0005] Storing data blocks in random order in the encryption area means: The remaining space in the encryption area is divided into multiple storage bits, so that the size of each storage bit is the same as the size of the data block. When saving data blocks in the secure area, a data block is randomly selected from the divided data blocks each time, and then randomly saved to a storage bit in the encryption area until all data blocks are saved.
[0006] S3. Communication terminal reads data: For non-confidential data, read and restore the data directly according to the storage address of each data block; For confidential data, data reading and data splicing are completed by interacting with the edge server.
[0007] For confidential data, the communication terminal first initiates an information request to the edge server, and the edge server sends the data block number and corresponding storage address of the IP address to the communication terminal based on the IP address of the communication terminal; The communication terminal reads the data blocks corresponding to the data block numbers from the security area through the data block numbers and the corresponding storage addresses; The communication terminal arranges the data blocks in the order of the data block numbers and then splices them together to restore the confidential data.
[0008] The beneficial effects of the present invention are as follows: the present invention can directly store and read non-confidential data; and in combination with an edge server, it effectively realizes the secure storage and reading of confidential data without using a complex encryption algorithm. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 The figure is a flow chart of the method of the present invention. DETAILED DESCRIPTION
[0010] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings, but the protection scope of the present invention is not limited to the following.
[0011] like Figure 1 As shown, a method for securely storing and reading data of a communication terminal comprises the following steps: S1. The storage area of the communication terminal is divided into an encryption area and a general area; S2. For the data to be stored in the communication terminal: If the data to be stored is non-confidential data, the non-confidential data is divided into blocks and saved in the general area, including: After the non-confidential data is divided into data blocks, the data blocks are sequentially saved in the common area according to the sequence of the data blocks in the non-confidential data, and the storage address of each data block of the non-confidential data is locally saved.
[0012] If the data to be stored is confidential data, it is divided into data blocks and numbered, and then stored in random order in the encryption area, and the storage address corresponding to each data block number is saved, and each data block number and corresponding storage address are transmitted to the edge server and then deleted locally, including: (1) After the communication terminal divides the confidential data into data blocks, it numbers the data blocks according to the order of the data blocks in the confidential data, then stores the data blocks in random order in the encryption area, and locally saves the storage address corresponding to each data block number of the confidential data; (2) The communication terminal packages the data block numbers and corresponding storage addresses of the confidential data and sends them to the edge server. The edge server records the IP address of the communication terminal and saves the data block numbers and corresponding storage addresses of the IP address. (3) The communication terminal deletes the storage address corresponding to each data block number of the confidential data stored locally.
[0013] The data blocks are stored in a random order in the encryption area, which means: The remaining space in the encryption area is divided into multiple storage bits, so that the size of each storage bit is the same as the size of the data block. When saving data blocks in the secure area, a data block is randomly selected from the divided data blocks each time, and then randomly saved to a storage bit in the encryption area until all data blocks are saved.
[0014] S3. Communication terminal reads data: For non-confidential data, read and restore data directly according to the storage address of each data block, including: For non-confidential data, directly read each data block from the common area according to the storage address of each data block and the order in which the data blocks are stored in the common area, and then splice and restore the non-confidential data in sequence; For confidential data, the data is read and spliced by interacting with the edge server, including: For confidential data, the communication terminal first initiates an information request to the edge server, and the edge server sends the data block number and corresponding storage address of the IP address to the communication terminal based on the IP address of the communication terminal; The communication terminal reads the data blocks corresponding to the data block numbers from the security area through the data block numbers and the corresponding storage addresses; The communication terminal arranges the data blocks in the order of the data block numbers and then splices them together to restore the confidential data.
[0015] In step S3, if the IP address of the edge server that initiates the information request is not stored in the edge server, an error prompt is returned to the communication terminal.
[0016] The present invention divides the storage area of the communication terminal into an encrypted area and a common area, performs differentiated processing on non-confidential data and confidential data, and does not consume unnecessary computing resources for non-confidential data. After the communication terminal of the present invention divides the confidential data into data blocks, the data blocks are numbered according to the order of the data blocks in the confidential data, and then the data blocks are stored in a random order in the encryption area; after the data block numbers and storage addresses are transmitted to the edge server, the storage addresses corresponding to the data block numbers of the locally stored confidential data will be deleted; even if the data stored in the communication terminal is leaked, due to the random storage method, the original confidential data cannot be restored without the data block numbers and corresponding storage addresses, thereby enhancing the confidentiality of the data. When the communication terminal needs to read data, it only needs to request the data block numbers and corresponding storage addresses from the edge server to complete the data reading, and does not require complex encryption algorithms to complete the data recovery. When a communication terminal requests data from an edge server, the edge server will perform an IP address judgment and, based on the IP address of the communication terminal, send the data block numbers and corresponding storage addresses of the IP address to the communication terminal; this avoids the problem of other illegal communication terminals obtaining data block numbers and storage addresses from the edge server, further improving the security of data storage and reading.
[0017] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the above embodiments, it is still possible for a person skilled in the art to modify the methods described in the above embodiments, such as changing the names of the methods, etc. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for securely storing and reading data in a communication terminal, characterized in that: The following steps are involved: S1. The storage area of the communication terminal is divided into an encryption area and a general area; S2. For the data to be stored in the communication terminal: If the data to be stored is non-confidential data, the non-confidential data is divided into blocks and saved in the general area; If the data to be stored is confidential data, it is divided into data blocks and numbered and then stored in random order in the encryption area, and the storage address corresponding to each data block number is saved, and each data block number and corresponding storage address are transmitted to the edge server and then deleted locally; S3. Communication terminal reads data: For non-confidential data, read and restore the data directly according to the storage address of each data block; For confidential data, data reading and data splicing are completed by interacting with the edge server.
2. A method for securely storing and reading data of a communication terminal according to claim 1, characterized in that: In step S2, if the data to be stored is non-confidential data, the non-confidential data is divided into blocks and saved in the general area, including: After the non-confidential data is divided into data blocks, the data blocks are sequentially saved in the common area according to the sequence of the data blocks in the non-confidential data, and the storage address of each data block of the non-confidential data is locally saved.
3. A method for securely storing and reading data of a communication terminal according to claim 1, characterized in that: In step S2, if the data to be stored is confidential data, it is divided into data blocks and numbered and then stored in a random order in the encryption area, and the storage address corresponding to each data block number is saved, and each data block number and the corresponding storage address are transmitted to the edge server and then deleted locally, including; (1) After the communication terminal divides the confidential data into data blocks, it numbers the data blocks according to the order of the data blocks in the confidential data, then stores the data blocks in random order in the encryption area, and locally saves the storage address corresponding to each data block number of the confidential data; (2) The communication terminal packages the data block numbers and corresponding storage addresses of the confidential data and sends them to the edge server. The edge server records the IP address of the communication terminal and saves the data block numbers and corresponding storage addresses of the IP address. (3) The communication terminal deletes the storage address corresponding to each data block number of the confidential data stored locally.
4. A method for securely storing and reading data of a communication terminal according to claim 3, characterized in that: Storing data blocks in random order in the encryption area means: The remaining space in the encryption area is divided into multiple storage bits, so that the size of each storage bit is the same as the size of the data block. When saving data blocks in the secure area, a data block is randomly selected from the divided data blocks each time, and then randomly saved to a storage bit in the encryption area until all data blocks are saved.
5. A method for securely storing and reading data of a communication terminal according to claim 1, characterized in that: In step S3, for non-confidential data, reading and data restoration are performed directly according to the storage address of each data block, including: For non-confidential data, each data block is directly read from the common area according to the storage address of each data block and the order in which the data blocks are stored in the common area, and then the non-confidential data is restored by splicing them in sequence.
6. A method for securely storing and reading data of a communication terminal according to claim 1, characterized in that: In step S3, for confidential data, data reading and data splicing are completed by interacting with the edge server, including: For confidential data, the communication terminal first initiates an information request to the edge server, and the edge server sends the data block number and corresponding storage address of the IP address to the communication terminal based on the IP address of the communication terminal; The communication terminal reads the data blocks corresponding to the data block numbers from the security area through the data block numbers and the corresponding storage addresses; The communication terminal arranges the data blocks in the order of the data block numbers and then splices them together to restore the confidential data.
7. A method for securely storing and reading data of a communication terminal according to claim 2, characterized in that: In step S3, if the IP address of the edge server that initiates the information request is not stored in the edge server, an error prompt is returned to the communication terminal.
Citation Information
Patent Citations
Mobile storage device based data protecting method and mobile storage device
CN103793334A
Data storage method and apparatus
CN105468642A
Data storage method and device, data reading method and device and electronic equipment
CN114139182A
Encryption storage method and storage module
CN118502678A
Cited By
Data storage encryption method for solid state disk
CN119939634A