A record hiding method based on public encryption technology

Through the record hiding method based on public encryption technology, the key is generated and communication records are encrypted, and the risk of user privacy is solved when borrowing mobile phones is solved, and the security of selectively hiding and restoring chat records is achieved.

CN115243252BActive Publication Date: 2024-12-31FUJIAN STRAIT CORNERSTONE TECH GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210686975.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-17
Publication Date
2024-12-31
Estimated Expiration
2042-06-17

AI Technical Summary

Technical Problem

When users lend their mobile phones to others, communication records are easily accessed, resulting in the risk of privacy exposure. The existing technology cannot effectively solve this security risk.

Method used

Using a record hiding method based on public encryption technology, the record hiding software is built, including user management module, encryption and decryption module, interaction module, communication content search module and network module, to generate keys and encrypt communication records, and users can selectively hide and Recover chat history.

Benefits of technology

Effectively protect user privacy and ensure that even if the mobile phone is used by others, the encrypted communication records cannot be viewed, improving the security of communication software.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115243252B_ABST
    Figure CN115243252B_ABST
Patent Text Reader

Abstract

The present invention discloses a record hiding method based on public encryption technology, comprising the following steps: S1: constructing record hiding software, the record hiding software is composed of a user management module m1, an encryption and decryption module m2, an interaction module m3, a communication content search module m4 and a network module m5. The present invention allows users to selectively encrypt the communication records saved by the communication software in the mobile phone, and even if the mobile phone falls into the hands of others, there is no way to see the communication records on the mobile phone.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of record hiding technology, and in particular to a record hiding method based on public encryption technology. Background Art

[0002] Many communication software, such as WeChat, save communication records in plain text after they are transmitted to the client. When the user terminal is accessed by a third party, the records on the communication client are visible at a glance. Another security risk that is often overlooked is that users often need to lend their mobile phones to others temporarily. At this time, the communication records on the mobile phone can be displayed normally. Once others open these communication software without permission, the user's privacy is at risk of being exposed. Based on this situation, we propose a record hiding method based on public encryption technology. Summary of the invention

[0003] Based on the technical problems existing in the background technology, the present invention proposes a record hiding method based on public encryption technology.

[0004] The present invention proposes a record hiding method based on public encryption technology, comprising the following steps:

[0005] S1: constructing record hiding software, which consists of user management module m1, encryption and decryption module m2, interaction module m3, communication content search module m4 and network module m5;

[0006] S2: When the user runs the record hiding software for the first time, the user management module m1 will ask the user to generate a file. The user can enter the user name as the file identification, and then the file will have a randomly generated string of numbers and letters as the user's ID identification;

[0007] S3: Based on the file generated in S2, the encryption and decryption module m2 will generate a key. When the encryption and decryption module m2 generates the key, the user must enter a password for this file. The encryption and decryption module m2 generates a random long string s1 for each user's file and encrypts it into s2 with the key just generated;

[0008] S4: The user management module m1 associates the random long string s1 and the key encryption s2 in S3 with the user ID and saves them, and then enters the interactive interface;

[0009] S5: The user enters the login password through the user management module m1 and then enters the interactive interface. The record hiding software will use this password to unlock the key and use the key to decrypt it to see if it is consistent with the random long string s1. If it is consistent, it can be accessed normally;

[0010] S6: After verification in S5, the user can call the communication content search module m4, first select the communication tool software that needs to be encrypted, then the communication content search module m4 will find the location where these software store chat records, the communication content search module m4 will call the interactive module m3 to display the user's chat records, and then the user can add search conditions in the interactive module m3 to select specific communication items that need to be hidden;

[0011] S7: After the user selects the record, the interaction module m3 calls the encryption and decryption module m2, and uses the key generated in the first step to encrypt. Each encrypted content is marked with a mark indicating the location of the encrypted content, and finally the user ID generated by S2 is added to make a complete encrypted file. The encrypted file is then stored in the archive folder of S2. At this time, the encrypted part of the communication content of the original communication software will be deleted from the original location;

[0012] S8: The user can choose to browse the encrypted content in the interactive module m3. After entering his / her password for verification, the user enters the decryption mode, specifies the communication software to select the encrypted content, uses the key to decrypt it, and classifies the decrypted communication records by contacts and displays them to the user in chronological order. The user can restore these records to the location where the corresponding communication software originally saved these records.

[0013] Preferably, in said S1, the user management module m1, the encryption and decryption module m2, the communication content search module m4 and the network module m5 are all electrically connected to the interaction module m3.

[0014] Preferably, in S2, the archive will store all future communication contents related to the user.

[0015] Preferably, in S3, the encryption / decryption module m2 uses the national secret SM4 algorithm to generate the key.

[0016] Preferably, in S3, the password input by the user is used to encrypt the key. The user can use the key by inputting the correct password, and the password also serves as the user's credential for accessing the archive.

[0017] Preferably, in S6, the specific communication entry may select a time contact and a keyword, or may select all communication records.

[0018] Preferably, in S8, the user can also choose to save the communication records to the cloud through the network module m5.

[0019] Compared with the existing technology, the present invention allows users to selectively encrypt the communication records saved by the communication software in the mobile phone. Even if the mobile phone falls into the hands of others, there is no way to see the communication records on the mobile phone. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A connection block diagram of the record hiding software in a record hiding method based on public encryption technology proposed by the present invention;

[0021] Figure 2 The present invention provides a flowchart of a record hiding method based on public encryption technology. DETAILED DESCRIPTION

[0022] The present invention will be further explained below in conjunction with specific embodiments.

[0023] Example

[0024] Reference Figure 1-2 , this embodiment proposes a record hiding method based on public encryption technology, including the following steps:

[0025] S1: constructing a record hiding software, which is composed of a user management module m1, an encryption and decryption module m2, an interaction module m3, a communication content search module m4 and a network module m5. The user management module m1, the encryption and decryption module m2, the communication content search module m4 and the network module m5 are all electrically connected to the interaction module m3;

[0026] S2: When the user runs the record hiding software for the first time, the user management module m1 will ask the user to generate a file, which will store all future communications related to the user. The user can enter the user name as the file identification, and then the file will have a randomly generated string of numbers and letters as the user's ID identification;

[0027] S3: According to the file generated in S2, the encryption and decryption module m2 will generate a key. The algorithm used by the encryption and decryption module m2 to generate the key adopts the SM4 algorithm of the national secret. When the encryption and decryption module m2 generates the key, the user must enter a password for this file. The password entered by the user is used to encrypt the key. The user can use the key by entering the correct password. The password is also the user's credential to access the file. The encryption and decryption module m2 generates a random long string s1 for each user's file and encrypts it to s2 with the key just generated;

[0028] S4: The user management module m1 associates the random long string s1 and the key encryption s2 in S3 with the user ID and saves them, and then enters the interactive interface;

[0029] S5: The user enters the login password through the user management module m1 and then enters the interactive interface. The record hiding software will use this password to unlock the key and use the key to decrypt it to see if it is consistent with the random long string s1. If it is consistent, it can be accessed normally;

[0030] S6: After verification in S5, the user can call the communication content search module m4, first select the communication tool software that needs to be encrypted, then the communication content search module m4 will find the location where these software store chat records, and the communication content search module m4 will call the interactive module m3 to display the user chat records, and then the user can add search conditions in the interactive module m3 to select specific communication items that need to be hidden. The specific communication items can be selected by time, contact person and keyword, or all communication records can be selected;

[0031] S7: After the user selects the record, the interaction module m3 calls the encryption and decryption module m2, and uses the key generated in the first step to encrypt. Each encrypted content is marked with a mark indicating the location of the encrypted content, and finally the user ID generated by S2 is added to make a complete encrypted file. The encrypted file is then stored in the archive folder of S2. At this time, the encrypted part of the communication content of the original communication software will be deleted from the original location;

[0032] S8: The user can choose to browse the encrypted content in the interactive module m3. After entering his own password for verification, the user enters the decryption mode, specifies the communication software to select the encrypted content, uses the key to decrypt it, and classifies the decrypted communication records by contacts and displays them to the user in chronological order. The user can restore these records to the location where the corresponding communication software originally saved these records. The user can also choose to save the communication records to the cloud through the network module m5.

[0033] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A record hiding method based on public encryption technology, characterized in that: The following steps are involved: S1: constructing record hiding software, which consists of user management module m1, encryption and decryption module m2, interaction module m3, communication content search module m4 and network module m5; S2: When the user runs the record hiding software for the first time, the user management module m1 will ask the user to generate a file. The user enters the user name as the file identification, and then the file will have a randomly generated string of numbers and letters as the user's ID identification; S3: Based on the file generated in S2, the encryption and decryption module m2 will generate a key. When the encryption and decryption module m2 generates the key, the user must enter a password for this file. The password entered by the user is used to encrypt the key. The user uses the key by entering the correct password. The password is also the user's credential to access the file. The encryption and decryption module m2 generates a random long string s1 for each user's file and encrypts it to s2 with the key just generated; S4: The user management module m1 associates the random long string s1 and the key encryption s2 in S3 with the user ID and saves them, and then enters the interactive interface; S5: The user enters the correct password to log in through the user management module m1, and then enters the interactive interface. The record hiding software will use this password to unlock the key, and use the key to decrypt it to see if it is consistent with the random long string s1. If it is consistent, it can be accessed normally; S6: After verification in S5, the user calls the communication content search module m4, first selects the communication tool software that needs to be encrypted, then the communication content search module m4 finds the location where the chat records of these software are stored, and the communication content search module m4 calls the interaction module m3 to display the user's chat records, and then the user adds search conditions in the interaction module m3 to select specific communication items that need to be hidden; S7: After the user selects the record, the interaction module m3 calls the encryption and decryption module m2, and uses the key generated in the first step to encrypt. Each encrypted content is marked with a mark indicating the location of the encrypted content, and finally the user ID generated by S2 is added to make a complete encrypted file. The encrypted file is then stored in the archive folder of S2. At this time, the encrypted part of the communication content of the original communication software will be deleted from the original location; S8: The user chooses to browse the encrypted content in the interactive module m3. After entering his / her password for verification, the user enters the decryption mode, specifies the communication software to select the encrypted content, uses the key to decrypt it, and classifies the decrypted communication records by contacts, and displays them to the user in chronological order. The user restores these records to the location where the corresponding communication software originally saved these records.

2. A record hiding method based on public encryption technology according to claim 1, characterized in that: In the above S1, the user management module m1, the encryption and decryption module m2, the communication content search module m4 and the network module m5 are all electrically connected to the interaction module m3.

3. A record hiding method based on public encryption technology according to claim 1, characterized in that: In S2, the archive will store all future communication contents related to the user.

4. A record hiding method based on public encryption technology according to claim 1, characterized in that: In S3, the encryption / decryption module m2 generates a key using the national secret SM4 algorithm.

5. A record hiding method based on public encryption technology according to claim 1, characterized in that: In S6, the specific communication entry may select a time contact and a keyword, or may select all communication records.

6. A record hiding method based on public encryption technology according to claim 1, characterized in that: In S8, the user may also choose to save the communication records to the cloud via the network module m5.