Sensitive information automatic encryption storage system and search method
Through the automatic encryption storage system and search method for sensitive information, the problems of decryption operation performance bottleneck and computing burden in the existing technology are solved, and sensitive information can be understood and queried without decryption, which improves data security and user convenience. .
Patent Information
- Application Number
- CN202411418770.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-12
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-10-12
AI Technical Summary
When the prior art processes large-scale data sets, decryption operations become a performance bottleneck, and decryption of multiple encrypted texts increases the computing burden, making it difficult to effectively protect sensitive information.
Through the automatic encryption storage system of sensitive information, the sensitive information identification module, encrypted information storage module and encryption method are used to establish a mapping table, generate a key and encrypt, thereby realizing automatic encrypted storage of sensitive text. At the same time, through the search method, word proportions and related lexicon are used to search to avoid decryption operations.
It achieves preliminary understanding and query of sensitive information without decryption, reduces the computing burden, and improves data security and user convenience.
Smart Images

Figure CN118940301B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of information encryption, and in particular to an automatic encryption storage system and a search method for sensitive information. Background Art
[0002] In the current era of rapid development of the Internet, it is very important to encrypt sensitive text information. If personal information is not effectively encrypted and stored, it is very easy to cause information leakage. The encryption method of the data encryption system is to encrypt the information using an encryption algorithm through an encryption module, and then store the encrypted data, thereby improving the security of the data.
[0003] Decryption queries require frequent use of keys to decrypt data, which increases the complexity of key management and use, and performance overhead. Although decryption queries are relatively simple technically, the decryption operation itself may become a performance bottleneck when processing large-scale data sets. In addition, when querying, the search plaintext given by the user usually contains less text information and only contains a few keywords. However, there are many of these keywords, and the need to decrypt multiple encrypted texts will increase the computational burden. For this reason, an automatic encryption storage system and search method for sensitive information were invented. Summary of the invention
[0004] The purpose of the present invention is to provide a sensitive information automatic encryption storage system and search method to solve the problems raised in the above background technology.
[0005] To achieve the above object, the present invention provides the following technical solution: a system for automatically encrypting and storing sensitive information, the system comprising:
[0006] Sensitive information identification module: establish a sensitive word library for storing and comparing sensitive words, and identify whether sensitive words appear in the text based on the sensitive word library. If sensitive words appear in the text, the text is marked as sensitive text;
[0007] Sensitive information encryption module: encrypts sensitive text to obtain encrypted text. The sensitive information encryption module stores several encryption algorithms and designs marking numbers for the several encryption algorithms to represent the encryption algorithms.
[0008] Encrypted information storage module: establish a No. 1 database for storing encrypted texts, establish a No. 2 database for storing word ratios and links, and the links in the No. 2 database are used to associate with the encrypted texts in the No. 1 database;
[0009] Sensitive text encryption methods include:
[0010] Establish a mapping table; obtain text, establish a number one multi-dimensional punctuation, establish an association between the text and the number one multi-dimensional punctuation, and obtain a mapping table;
[0011] Sensitive text corresponding mapping table: A mapping table for associating text with No. 1 multi-dimensional punctuation marks is established through sensitive text. The mapping table is composed of a combination of several No. 1 multi-dimensional punctuation marks and the corresponding text. The No. 1 multi-dimensional punctuation marks are N-dimensional punctuation marks. Several texts in the sensitive text are converted into several No. 1 multi-dimensional punctuation marks through the mapping table.
[0012] Establish word ratio: perform text processing on sensitive text, obtain words and word counts in sensitive text, and establish word ratios through word count methods;
[0013] Sensitive text encryption: Based on the key generation method, the key is generated through the word ratio and the marking number of the encryption algorithm. The No. 1 multi-dimensional punctuation generates the No. 2 multi-dimensional punctuation through the key and the mapping table. The No. 2 multi-dimensional punctuation obtains the text for replacement from the mapping table, and replaces it in a loop to achieve the replacement of the entire sensitive text and obtain the encrypted text.
[0014] Furthermore, the text processing includes removing meaningless words and modifiers from sensitive text;
[0015] The word count method includes: obtaining words, word counts and the total number of words, there is a corresponding relationship between words and word counts, analyzing and judging the importance level of the words, increasing the number of virtual words of the words according to the importance level of the words, adding the number of virtual words and the number of words to obtain the calculated number of words, synchronously obtaining the total number of calculated words, and obtaining the word ratio according to the words, the calculated number of words and the total number of calculated words.
[0016] Furthermore, the method for analyzing and determining the importance level of a word includes dividing the importance level of a word according to the word position and the keywords of the text, and dividing the importance level of a word according to the word position by natural language processing technology includes determining whether the word is in the title position according to the word position, and when determining that the word is in the title position, increasing the number of virtual words of the corresponding word, and the number of virtual words is 5%-10% of the number of corresponding words;
[0017] Based on natural language processing technology, the importance of words is divided into different levels. Keywords in the text are obtained through natural language processing technology, and the number one keyword is obtained. The number of virtual words of the number one keyword is increased. The number of virtual words of the number one keyword is 8%-15% of the total number of words.
[0018] The keywords of the text include place names and personal names. The place names and personal names in the text are obtained through natural language processing technology, and the number of virtual words of the place names and personal names is increased. The increase in the number of virtual words is 6%-12% of the total number of words.
[0019] Furthermore, the method of generating a key through word ratio includes: arranging the word ratio in order from large to small, obtaining the numerical values of the first N arrangements, N is a positive integer, N is less than the number of words in the word ratio, obtaining the numerical value of the word ratio, multiplying the numerical value by a large number, and rounding it to obtain an integer set, the large number includes 100 and 1000, and combining the integer set and the marked number to obtain the key.
[0020] Furthermore, the method for generating encrypted text includes: a number of multi-dimensional punctuation includes (A1, A2, A3...AN), N is a positive integer, the integer set of word ratios is (B1, B2, B3...BN), the key is (B1, B2, B3...BN, X), X is a marking number, A1 and B1 are combined through an encryption algorithm to generate a new number C1, the encryption algorithm is cyclically operated to obtain (C1, C2, C3...CN), and the text for replacement is obtained from a mapping table based on (C1, C2, C3...CN).
[0021] A search method for a sensitive information automatic encryption storage system, used to search for encrypted sensitive information in the above-mentioned sensitive information automatic encryption storage system;
[0022] The search method comprises:
[0023] Enter search plain text: Enter search plain text in the search interface;
[0024] Establishing an associated vocabulary: using the Internet to obtain text, obtain words in the text, establish connections based on the associations between words, and obtain an associated vocabulary;
[0025] Plain text processing: extract several keywords from the plain text to obtain the second keyword group, and obtain the second word associated with the keyword based on the keywords in the second keyword group and the associated word library;
[0026] Part of speech combination: Combine the associated word library with the second word to obtain the query phrase;
[0027] Keyword comparison: Based on the query phrase, query the word ratio in the No. 2 database, obtain the word ratio and link with the largest number in the query phrase, and display the word ratio and link on the display interface;
[0028] Obtaining text: Based on the displayed word ratio and link, click on the link to obtain the encrypted text in the first database through the link. After the encrypted text is decrypted, it is displayed on the display interface. The key is stored inside the link.
[0029] Furthermore, the word ratio and links are displayed on the display interface. The word ratio is represented by a fan-shaped chart to show the quantitative proportion of the No. 2 keyword group and the No. 2 word, and the word ratio and links are arranged according to the quantitative proportion. The keywords in the No. 2 keyword group include place names and personal names.
[0030] Furthermore, the method of combining parts of speech includes: for the number two keyword group, there is an associated number three word, the number three word is associated with the number two word, the parts of speech of the number three word and the number two word are combined to obtain a part of speech phrase for query, and the keywords of the word ratio have at least one identical keyword in the part of speech phrase.
[0031] Compared with the prior art, the present invention has the following beneficial effects:
[0032] The invention relates to an automatic encryption storage system and a search method for sensitive information. By setting an encryption method and a search method, the words in the sensitive text are processed to obtain the word ratio before encryption. When searching, the keywords of the plain text are searched and compared with the word ratio. The user can roughly understand the information of the sensitive text through the word ratio. The sensitive text can simply represent the information in the text through the word ratio, so as to be used for preliminary understanding of the sensitive information without decryption. The user can query the sensitive information without decryption by using the search method, thereby reducing the burden on the computer during the search.
[0033] At the same time, by setting the word ratio, before encrypting the sensitive text, the sensitive text is processed through natural language processing technology, and the words and word numbers in the sensitive text are extracted. According to the importance of the words, the virtual number of words is additionally added to increase its proportion in the words, so that important words can be displayed intuitively, so that users can have a preliminary understanding of the sensitive text through the word ratio, so that users can choose links later, which improves user convenience.
[0034] By setting the encryption method, a mapping table is established, and an integer set is established through the word ratio. The integer set is combined with the encryption algorithm to change the original multi-dimensional punctuation and generate new multi-dimensional punctuation. The corresponding text is output according to the new multi-dimensional punctuation, and the process is repeated to achieve encryption of the entire text. This encryption method is convenient and makes the decryption process simple when the key is available, ensuring the convenience of encryption and decryption.
[0035] By combining parts of speech, we can intelligently generate query phrases, more accurately capture user search intent, improve the breadth of search, avoid limiting searches to keywords given by users, expand keywords through associated vocabulary, increase the breadth and depth of search, and help users discover more relevant information. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 A schematic diagram of the automatic encryption storage system of the present invention;
[0037] Figure 2 A schematic diagram of the encryption method of the present invention;
[0038] Figure 3 Schematic diagram of the search method of the present invention. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0040] like Figure 1 - Figure 3 As shown, the present invention provides a technical solution: an automatic encryption storage system for sensitive information, the automatic encryption storage system comprising:
[0041] Sensitive information identification module: establish a sensitive word library for storing and comparing sensitive words, and identify whether sensitive words appear in the text based on the sensitive word library. If sensitive words appear in the text, the text is marked as sensitive text;
[0042] Sensitive information encryption module: encrypts sensitive text to obtain encrypted text. The sensitive information encryption module stores several encryption algorithms and designs marking numbers for the several encryption algorithms to represent the encryption algorithms.
[0043] Encrypted information storage module: establish a No. 1 database for storing encrypted texts, establish a No. 2 database for storing word ratios and links, and the links in the No. 2 database are used to associate with the encrypted texts in the No. 1 database;
[0044] Sensitive text encryption methods include:
[0045] Establish a mapping table; obtain text, establish a number one multi-dimensional punctuation, establish an association between the text and the number one multi-dimensional punctuation, and obtain a mapping table;
[0046] Sensitive text corresponding mapping table: A mapping table for associating text with No. 1 multi-dimensional punctuation marks is established through sensitive text. The mapping table is composed of a combination of several No. 1 multi-dimensional punctuation marks and the corresponding text. The No. 1 multi-dimensional punctuation marks are N-dimensional punctuation marks. Several texts in the sensitive text are converted into several No. 1 multi-dimensional punctuation marks through the mapping table.
[0047] Establish word ratio: perform text processing on sensitive text, obtain words and word counts in sensitive text, and establish word ratios through word count methods;
[0048] Sensitive text encryption: Based on the key generation method, the key is generated through the word ratio and the marking number of the encryption algorithm. The No. 1 multi-dimensional punctuation generates the No. 2 multi-dimensional punctuation through the key and the mapping table. The No. 2 multi-dimensional punctuation obtains the text for replacement from the mapping table, and replaces it in a loop to achieve the replacement of the entire sensitive text and obtain the encrypted text.
[0049] Text processing includes removing meaningless words and modifiers from sensitive texts;
[0050] The word count method includes: obtaining words, word counts and the total number of words, there is a corresponding relationship between words and word counts, analyzing and judging the importance level of words, increasing the number of virtual words of the words according to the importance level of the words, adding the number of virtual words and the number of words to obtain the calculated number of words, synchronously obtaining the total number of calculated words, and obtaining the word ratio based on the words, the calculated number of words and the total number of calculated words.
[0051] The method for analyzing and judging the importance level of words includes dividing the importance level of words according to the word position and the keywords of the text, and dividing the importance level of words according to the word position through natural language processing technology. The method includes judging whether the word is in the title position according to the word position, and when judging that the word is in the title position, increasing the number of virtual words of the corresponding word, and the number of virtual words is 5%-10% of the number of corresponding words;
[0052] Based on natural language processing technology, the importance of words is divided into different levels. Keywords in the text are obtained through natural language processing technology, and the number one keyword is obtained. The number of virtual words of the number one keyword is increased. The number of virtual words of the number one keyword is 8%-15% of the total number of words.
[0053] The keywords of the text include place names and personal names. The place names and personal names in the text are obtained through natural language processing technology, and the number of virtual words of the place names and personal names is increased. The increase in the number of virtual words is 6%-12% of the total number of words.
[0054] The method for generating a key through word ratio includes: arranging the word ratio in order from large to small, obtaining the numerical values of the first N arrangements, N is a positive integer, N is less than the number of words in the word ratio, obtaining the numerical value of the word ratio, multiplying the numerical value by a large number and rounding it to obtain an integer set, the large number includes 100 and 1000, and combining the integer set with the marked number to obtain the key.
[0055] The method for generating encrypted text includes: a number of multi-dimensional punctuation includes (A1, A2, A3...AN), N is a positive integer, the integer set of word ratio is (B1, B2, B3...BN), the key is (B1, B2, B3...BN, X), X is a marking number, A1 and B1 are combined through an encryption algorithm to generate a new number C1, the encryption algorithm is cyclically operated to obtain (C1, C2, C3...CN), and the text for replacement is obtained from a mapping table based on (C1, C2, C3...CN).
[0056] A search method for a sensitive information automatic encryption storage system, used to search for encrypted sensitive information in the above-mentioned sensitive information automatic encryption storage system;
[0057] Search methods include:
[0058] Enter search plain text: Enter search plain text in the search interface;
[0059] Establishing an associated vocabulary: using the Internet to obtain text, obtain words in the text, establish connections based on the associations between words, and obtain an associated vocabulary;
[0060] Plain text processing: extract several keywords from the plain text to obtain the second keyword group, and obtain the second word associated with the keyword based on the keywords in the second keyword group and the associated word library;
[0061] Part of speech combination: Combine the associated word library with the second word to obtain the query phrase;
[0062] Keyword comparison: Based on the query phrase, query the word ratio in the No. 2 database, obtain the word ratio and link with the largest number in the query phrase, and display the word ratio and link on the display interface;
[0063] Obtaining text: Based on the displayed word ratio and link, click on the link to obtain the encrypted text in the first database through the link. After the encrypted text is decrypted, it is displayed on the display interface. The key is stored inside the link.
[0064] The word ratio and link are displayed on the display interface. The word ratio is expressed in the form of a fan-shaped graph to represent the quantitative proportion of the No. 2 keyword group and the No. 2 word, and the word ratio and link are arranged according to the quantitative proportion. The keywords in the No. 2 keyword group include place names and personal names.
[0065] The method of combining parts of speech includes: for the second keyword group, there is an associated third word, the third word and the second word are associated, the parts of speech of the third word and the second word are combined to obtain a part of speech phrase for query, and the keywords of the word ratio have at least one identical keyword in the part of speech phrase.
[0066] It is used to input text information into the computer, and then the sensitive information identification module in the system will identify and judge the text information, and check whether the text information contains the same words as those in the sensitive word library based on its own sensitive word library. If the same words appear, the text will be regarded as sensitive text, and then the sensitive text will be encrypted and stored. Non-sensitive text does not need to be encrypted.
[0067] After establishing the word ratio, the sensitive text is processed by deleting the words such as "for example", "is" and "of", and then the sensitive text after text processing is proposed, the words are proposed, and the number of corresponding words is obtained. The word ratio is composed of words and the corresponding word quantity. The ratio of the word quantity of all words to the total number of words is obtained, and then the preliminary word ratio is obtained. Sensitive text includes important words such as titles in texts, names of people in contracts, and sensitive words. Natural language processing technology is used to identify such important words. Due to the importance of such important words, their virtual word counts will be additionally added when calculating the word quantity, so that their proportion is increased when producing the word ratio, and then the final word ratio is obtained. The word ratio is a combination of the ratio of words and the word quantity.
[0068] The method of increasing the number of virtual words includes establishing importance, increasing the number of virtual words according to the importance, so as to increase the proportion thereof, and at the same time, there are associations between words. When searching, natural language processing technology is used to obtain the associated words of the words from the associated word library, and the search keywords are searched for association, and other words related to the search keywords are obtained. The other words are searched as search keywords, and the keywords in the word ratio have any one or more identical keywords in the part-of-speech phrase. In the process of searching, in order to increase the depth, the keywords in the word ratio have at least one identical keyword in the part-of-speech phrase. Due to the interchangeability of words in text, based on the association between words, in the process of searching, the words are associated with each other by relying on the part-of-speech phrase and diffuse search is performed. For example, "improve" and "enhance" are associated with each other. When searching, for example, after entering "enhance", in the word ratio, When there is a proportion of the word "improve", the proportion value of the word "improve" will be converted into the proportion value of the word "improve". Through the setting of the word proportion, before the sensitive text is encrypted, the sensitive text is processed by natural language processing technology, and the words and word numbers in the sensitive text are extracted. According to the importance of the words, the virtual number of words is additionally increased to increase its proportion in the words, so that important words can be displayed intuitively, so that users can have a preliminary understanding of the sensitive text through the word proportion, so that users can select links later, which improves the convenience of users. Through the method of combining parts of speech, query phrases can be intelligently generated to more accurately capture user search intent, improve the breadth of search, avoid being limited to the keywords given by the user, and expand keywords through the associated vocabulary to increase the breadth and depth of search, helping users to discover more relevant information.
[0069] The meaningless words include "for example", "is" and "of", etc. Such words will not be used in the word ratio. Modifiers include adjectives, so when obtaining the word ratio, such meaningless words are deleted.
[0070] A method for generating a key by word ratio, obtaining the numerical values of the first four permutations, when N is 4, the corresponding multi-dimensional punctuation number is (A1, A2, A3, A4), obtaining the numerical values of the first four permutations, such as word "A" accounts for 17.8%, word "B" accounts for 10.3%, and word "C" accounts for 7.3%. Word "D" accounts for 4.7%, 17.8%, 10.3%, 7.3% and 4.7% are multiplied by large numbers respectively, and the large number is 100, obtaining 17.8, 10.3, 7.3 and 4.7, and the logarithmic value can be rounded to 18, 10, 7 and 5, and then obtaining the key (18, 10, 7, 5, X), wherein X represents the type of encryption algorithm, designing an encryption algorithm in combination with the key to the multi-dimensional punctuation number, the multi-dimensional punctuation number is combined with the key to generate a new four-dimensional numerical value, and the corresponding four-dimensional numerical value is obtained according to the new four-dimensional numerical value. For example, the original No. 1 multidimensional punctuation is (A1, A2, A3, A4), A1, A2, A3 and A4 are specific values. When the encryption algorithm is designed as an addition operation, X is represented by 1, and the new No. 1 multidimensional punctuation is (A1+18, A2+10, A3+7, A4+5). The text is found from the conversion table through the new No. 1 multidimensional punctuation, and the text is replaced with the text in the original sensitive text. Repeat the above process to replace the text in the entire sensitive text and obtain the encrypted text. When the encryption algorithm is used for the punctuation points, the values in a single dimension or multiple dimensions may exceed the maximum value of the dimension. At this time, the maximum value can be automatically subtracted during the operation. At the same time, when it is less than the maximum value of the dimension, it can be automatically increased by a maximum value during the operation. When the encryption algorithm is designed as a subtraction operation, X can be expressed as 2 at this time, and the new multi-dimensional punctuation point No. 1 is obtained as (A1-18, A2-10, A3-7, A4-5). There are many designed encryption algorithms. The encryption algorithm and the corresponding decryption algorithm can be directly obtained through the specific value of X. By setting the encryption method, a mapping table is established, and an integer set is established through the word ratio. The combination of the integer set and the encryption algorithm changes the original multi-dimensional punctuation points and generates new multi-dimensional punctuation points. The corresponding text is output according to the new multi-dimensional punctuation points. Repeat the process to realize the encryption of the entire text. This encryption method is convenient and makes the decryption process simple when there is a key, ensuring the convenience of encryption and decryption. There are multiple encryption algorithms, which are stored in the system and called through the key.
[0071] Then, the sensitive text is encrypted using the key and the conversion table to obtain the encrypted text, and the key is recorded. The key can be used not only for encryption but also for decryption. During the decryption process, since the encryption algorithm is known, the reverse operation can be directly performed to obtain the original multi-dimensional punctuation No. 1, and the decrypted text is obtained from the mapping table through the original multi-dimensional punctuation No. 1, thereby achieving decryption.
[0072] By setting the encryption method and the search method, the words in the sensitive text are processed to obtain the word ratio before encryption. When searching, the keywords of the plain text are searched and compared with the word ratio. The user can roughly understand the information of the sensitive text through the word ratio. The sensitive text can simply represent the information in the text through the word ratio, so as to be used for preliminary understanding of the sensitive information without decryption. The user can query the sensitive information without decryption by using the search method, thereby reducing the burden on the computer during the search.
[0073] During decryption, a key is stored in the link at the same time. When the encrypted text in the No. 1 database is obtained through the link, the encrypted text is decrypted by the key to obtain the decrypted text, so that the user can confirm whether the decrypted text is the text required by the user.
[0074] To improve the accuracy of the search, the keywords in the given search plain text are used, based on the keywords and the associated words library, to find related words related to the keywords. Therefore, during the search process, the associated words related to the keywords and the keywords are used in the search synchronously, with the keywords as the main and the associated words related to the keywords as the supplement.
[0075] When displaying the interface, the word ratio of the keywords is displayed, and the word ratio of the associated words is displayed at the same time, and the display interface is arranged according to the size of the word ratio.
[0076] Natural language processing technology identifies the association between words. It pre-processes the text, such as word segmentation and part-of-speech tagging, to divide the continuous text into meaningful words and mark the part of speech of each word. Then, through syntactic analysis, the structural relationship between the various components in the sentence, such as subject, predicate, object, etc., is identified to clarify the grammatical connection between words. In addition, semantic analysis is also a key step. It can deeply understand the specific meaning of words in a specific context and reveal the semantic relationship between words, such as synonyms and antonyms. Finally, using word vector representation and deep learning models, words are mapped to high-dimensional vector space, and the semantic similarity between words is measured by calculating the similarity between vectors to further capture the potential association between words. These technologies and methods together constitute the core of natural language processing technology in identifying word associations.
[0077] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is limited by the attached embodiments and their equivalents.
Claims
1. Automatic encryption storage system for sensitive information, characterized by: The automatic encryption storage system comprises: Sensitive information identification module: establish a sensitive word library for storing and comparing sensitive words, and identify whether sensitive words appear in the text based on the sensitive word library. If sensitive words appear in the text, the text is marked as sensitive text; Sensitive information encryption module: encrypts sensitive text to obtain encrypted text. The sensitive information encryption module stores several encryption algorithms and designs marking numbers for the several encryption algorithms to represent the encryption algorithms. Encrypted information storage module: establish a No. 1 database for storing encrypted texts, establish a No. 2 database for storing word ratios and links, and the links in the No. 2 database are used to associate with the encrypted texts in the No. 1 database; Sensitive text encryption methods include: Establish a mapping table; obtain text, establish a number one multi-dimensional punctuation, establish an association between the text and the number one multi-dimensional punctuation, and obtain a mapping table; Sensitive text corresponding mapping table: A mapping table for associating text with No. 1 multi-dimensional punctuation marks is established through sensitive text. The mapping table is composed of a combination of several No. 1 multi-dimensional punctuation marks and the corresponding text. The No. 1 multi-dimensional punctuation marks are N-dimensional punctuation marks. Several texts in the sensitive text are converted into several No. 1 multi-dimensional punctuation marks through the mapping table. Establish word ratio: perform text processing on sensitive text, obtain words and word counts in sensitive text, and establish word ratios through word count methods; Sensitive text encryption: Based on the key generation method, the key is generated through the word ratio and the marking number of the encryption algorithm. The No. 1 multi-dimensional punctuation generates the No. 2 multi-dimensional punctuation through the key and the mapping table. The No. 2 multi-dimensional punctuation obtains the text for replacement from the mapping table, and replaces it in a loop to achieve the replacement of the entire sensitive text and obtain the encrypted text.
2. The sensitive information automatic encryption storage system according to claim 1, characterized in that: The text processing includes removing meaningless words and modifiers in sensitive text; The word count method includes: obtaining words, word counts and the total number of words, there is a corresponding relationship between words and word counts, analyzing and judging the importance level of the words, increasing the number of virtual words of the words according to the importance level of the words, adding the number of virtual words and the number of words to obtain the calculated number of words, synchronously obtaining the total number of calculated words, and obtaining the word ratio according to the words, the calculated number of words and the total number of calculated words.
3. The sensitive information automatic encryption storage system according to claim 2 is characterized in that: The method for analyzing and judging the importance level of words includes dividing the importance level of words according to the word position and the keywords of the text, and dividing the importance level of words according to the word position through natural language processing technology. The method includes judging whether the word is in the title position according to the word position, and when judging that the word is in the title position, increasing the number of virtual words of the corresponding word, and the number of virtual words is 5%-10% of the number of corresponding words; Based on natural language processing technology, the importance of words is divided into different levels. Keywords in the text are obtained through natural language processing technology, and the number one keyword is obtained. The number of virtual words of the number one keyword is increased. The number of virtual words of the number one keyword is 8%-15% of the total number of words. The keywords of the text include place names and personal names. The place names and personal names in the text are obtained through natural language processing technology, and the number of virtual words of the place names and personal names is increased. The increase in the number of virtual words is 6%-12% of the total number of words.
4. The sensitive information automatic encryption storage system according to claim 1, characterized in that: The method for generating a key through word ratio includes: arranging the word ratio in order from large to small, obtaining the numerical values of the first N arrangements, N is a positive integer, N is less than the number of words in the word ratio, obtaining the numerical value of the word ratio, multiplying the numerical value by a large number, and rounding to obtain an integer set, the large number includes 100 and 1000, and combining the integer set with the marking number to obtain the key.
5. The sensitive information automatic encryption storage system according to claim 1, characterized in that: The method for generating encrypted text includes: a number of multi-dimensional punctuation includes (A1, A2, A3...AN), N is a positive integer, the integer set of word ratio is (B1, B2, B3...BN), the key is (B1, B2, B3...BN, X), X is a marking number, A1 and B1 are combined through an encryption algorithm to generate a new number C1, the encryption algorithm is cyclically operated to obtain (C1, C2, C3...CN), and the text for replacement is obtained from a mapping table based on (C1, C2, C3...CN).
6. A method for searching a sensitive information automatic encryption storage system, characterized in that: Used to search for encrypted sensitive information in the sensitive information automatic encryption storage system according to any one of claims 1 to 5; The search method comprises: Enter search plain text: Enter search plain text in the search interface; Establishing an associated vocabulary: using the Internet to obtain text, obtain words in the text, establish connections based on the associations between words, and obtain an associated vocabulary; Plain text processing: extract several keywords from the plain text to obtain the second keyword group, and obtain the second word associated with the keyword based on the keywords in the second keyword group and the associated word library; Part of speech combination: Combine the associated word library with the second word to obtain the query phrase; Keyword comparison: Based on the query phrase, query the word ratio in the No. 2 database, obtain the word ratio and link with the largest number in the query phrase, and display the word ratio and link on the display interface; Obtaining text: Based on the displayed word ratio and link, click on the link to obtain the encrypted text in the first database through the link. After the encrypted text is decrypted, it is displayed on the display interface. The key is stored inside the link.
7. The method for searching the sensitive information automatic encryption storage system according to claim 6, characterized in that: The word ratio and link are displayed on the display interface. The word ratio is expressed in the form of a fan-shaped graph to represent the quantitative proportion of the No. 2 keyword group and the No. 2 word, and the word ratio and link are arranged according to the quantitative proportion. The keywords in the No. 2 keyword group include place names and personal names.
8. The method for searching the sensitive information automatic encryption storage system according to claim 6, characterized in that: The method of combining parts of speech includes: for the second keyword group, there is an associated third word, the third word and the second word are associated, the parts of speech of the third word and the second word are combined to obtain a part of speech phrase for query, and the keywords of the word ratio have at least one identical keyword in the part of speech phrase.
Citation Information
Patent Citations
Encryption system and method based on computer software development
CN116644459A
SQL attack recognition method and system based on deep learning dynamic target range feature fusion
CN118535951A