A multi-encryption data encryption system
By performing term segment analysis and interference term processing on text data, a multiple encryption system is generated, which solves the problems of high difficulty and insufficient security of text data encryption in the existing technology and achieves more efficient text data protection.
Patent Information
- Application Number
- CN202210080473.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-24
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2042-01-24
AI Technical Summary
Existing multiple encryption methods are difficult to encrypt text data and fail to fully utilize the characteristics of text content for encryption, resulting in insufficient security.
By analyzing the text data into segments, generating sequence heterogeneous digital groups and a word library, combining interference words for multiple encryption, and modifying the extension of the target type file, a multiple encryption system is formed.
It improves the encryption difficulty and security of text data, prevents data from being easily read and opened, and simplifies the decryption process.
Smart Images

Figure CN114491594B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of data encryption, in particular to a multiple encryption data encryption system. Background Art
[0002] The patent with publication number CN110176986A discloses a data encryption method with multiple encryption, including: obtaining the data to be encrypted; dynamically selecting a primary encryption algorithm, generating a dynamic key corresponding to the selected primary encryption algorithm, encrypting the data to be encrypted to obtain encrypted data; selecting a hash algorithm, and using the hash algorithm to perform hash calculation on the dynamic key and the encrypted data; using a fixed key, dynamically selecting a secondary encryption algorithm, encrypting the dynamic key to generate an encryption key; and generating information header and data area information, encapsulating data, ensuring that the encryption result of the same data is different each time, greatly improving the security of the data, and, the integrity of the data can be verified by the hash algorithm, avoiding the situation where the data is tampered with.
[0003] However, this encryption algorithm prioritizes data security over confidentiality, and does not encrypt based on the type and characteristics of the data. This makes encryption particularly difficult for text data, and does not bind encryption to the specific characteristics of the text within a sentence. Therefore, a solution is provided. Summary of the Invention
[0004] The object of the present invention is to provide a multi-encryption data encryption system.
[0005] The purpose of the present invention can be achieved through the following technical solutions:
[0006] A multi-encryption data encryption system includes a data acquisition unit and an initial phase encryption unit;
[0007] Among them, the data acquisition unit is used to acquire the target data; the data acquisition unit is used to transmit the target data to the initial phase encryption unit, the initial phase encryption unit receives the target data transmitted by the data acquisition unit, and performs initial phase encryption on the target data. The initial phase encryption mainly obtains the entry segments in all target data, screens and analyzes the entry segments, and determines the sequence value according to the first character and its corresponding repetition times; the target sequence value is determined by the pinyin initials of all the first characters; the distinguishing value formed by the combination of the sequence value of the entry segment in front and the characteristic value in the back; the sequence heterogeneous digital group obtained by the combination of the sequence value, the target sequence value and the distinguishing value, and obtains the target parameter entry library after processing the entry segments; completes the disassembly and encryption of the target data.
[0008] Furthermore, the specific method of initial phase encryption is:
[0009] Step 1: Get the target data;
[0010] Step 2: First, all the entry segments in the target data are identified. An entry segment refers to a paragraph. The specific identification is determined by punctuation marks. When a punctuation mark appears, it means a gap is encountered. The segment before the gap is an entry segment.
[0011] Step 3: After obtaining all the word segments in the target data, the word segments are screened and analyzed to obtain a sequence heterogeneous digital group;
[0012] Step 4: After obtaining all the entry segments, only one identical entry segment is retained to obtain the reference entry segment;
[0013] Step 5: Shuffle all the parameter entry segments, sort them randomly, perform sorting test, and generate a qualified signal based on the test results;
[0014] Step 6: After generating qualified signals, obtain the scrambled parameter entry segments and mark them as entry libraries;
[0015] Step 7: Automatically obtain several interference terms at the same time. Interference terms are sentences that are completely different from the reference terms and are randomly obtained from the Internet. Interference flags are marked at the beginning of the interference terms. Interference flags are preset by the administrator.
[0016] Step 8: Add the interference terms to the term library and update the term library;
[0017] Step 9: Obtain sequence heterogeneous digital groups and term libraries.
[0018] Furthermore, the specific method of screening analysis in step three is:
[0019] S1: Get the first character and value of each entry in each entry segment;
[0020] S2: Get all the first characters, automatically search the entire entry segment, get the number of times the first character appears in all the entry segments, and mark it as a repetition;
[0021] S3: Get the first character and its corresponding repetition number, sort the first characters in descending order of repetition number, and get the sequence value corresponding to each first character. Sequence values of characters with equal repetition numbers are the same;
[0022] S4: Then, the pinyin initials of all the first characters are obtained and marked as the target letters. The corresponding sequence values of the target letters are obtained according to the order of the 26 English letters and marked as the target sequence values;
[0023] S5: Based on the order of the entry segments themselves, a heterogeneous number group is formed. The heterogeneous number group is composed of the sequence value in front and the target sequence value in the back, with a separator between the two. The separator is a symbol preset by the administrator;
[0024] S6: Then, all the heterogeneous number groups are reconstructed, specifically, the heterogeneous number groups are arranged from front to back according to the order of the entry segments;
[0025] S7: Then select the first heterogeneous number group;
[0026] S8: Traverse all other heterogeneous number groups, obtain other heterogeneous number groups that are completely consistent with the first heterogeneous number group, obtain the corresponding entry segments, and all entry segments constitute a similar segment group;
[0027] S9: Obtain all the entry segments in the similar segment group, select the feature value starting from the second character, and then select the feature value from all the entry segments. Ensure that a feature value is selected from all the entry segments and that the feature values are completely consistent. If there are two identical entry segments, keep the feature values consistent.
[0028] S10: At the same time, the sequence value of the feature value in the corresponding entry segment is obtained, and the sequence value is placed in front and the feature value is placed in the back to form a distinguishing value;
[0029] S11: Add the distinguishing value to the end of the heterogeneous number group and separate it from the target sequence value according to the separator to obtain a new heterogeneous number group;
[0030] S12: After processing the processed heterogeneous number group, select the next one from the remaining heterogeneous number groups and repeat steps S8-S12 to obtain the updated heterogeneous number groups for all entry segments;
[0031] S13: According to the original order of the entry segments, the heterogeneous number groups are arranged again in the order of the one-to-one corresponding entry segments to obtain a sequence heterogeneous number group.
[0032] Furthermore, the sorting test method in step 5 is:
[0033] When any two entries that were in the order of front and back in the original entry segment are still in the order of front and back after being shuffled, the inverse flatness value is increased by one. The inverse flatness value is initially zero. All the shuffled parameter entry segments are traversed and compared with the original entry segment order to obtain the inverse flatness value. When the inverse flatness value is lower than X1, a qualified signal is generated. Otherwise, the sequence is randomly shuffled again. X1 is the preset value.
[0034] Furthermore, it also includes a data transfer unit and a data verification unit;
[0035] The initial phase encryption unit is used to transfer the sequence heterogeneous digital groups and entry library to the data phase verification unit with the help of the data transfer unit. The data phase verification unit is used to perform phase verification on the sequence heterogeneous digital groups and entry library, integrate the sequence heterogeneous digital groups and entry library into the target type file, and change the extension of the target type file to complete the phase verification.
[0036] Furthermore, the specific steps of nuclear phase treatment are:
[0037] SS1: Obtain the sequence heterogeneous digital group and term library;
[0038] SS2: Select the target type file. The specific selection method is:
[0039] Obtain all target type files, select a software platform, and sort them from largest to smallest according to the number of downloads of the corresponding software that can open the target type files; remove the top 50% of the target type files, and select one from the remaining target type files;
[0040] SS3: Enter all sequence heterogeneous digital groups and term libraries into the target type file;
[0041] SS4: Then, it obtains the extension of the target file and replaces the characters in the extension with the sequence values corresponding to the 26 English letters. The sequence values corresponding to the characters in each extension are separated by separators.
[0042] SS5: Get the target type file after the extension is modified, mark it as a nuclear phase file, and complete the encryption.
[0043] Furthermore, the target type files in step SS2 are specifically all files that can input text content.
[0044] Furthermore, it also includes a management unit, which is used to enter all preset values and preset symbols.
[0045] Beneficial effects of the present invention:
[0046] The present invention obtains target data through a data acquisition unit; and performs initial phase encryption on the target data with the help of an initial phase encryption unit. The initial phase encryption mainly obtains all the entry segments in the target data, performs screening analysis on the entry segments, and determines the sequence value according to the first character and its corresponding repetition times; the target sequence value is determined by the pinyin initials of all the first characters; the distinguishing value formed by the combination of the sequence value of the entry segment in front and the characteristic value in the back; the sequence heterogeneous digital group obtained by the combination of the sequence value, the target sequence value and the distinguishing value, and obtains the target parameter entry library after processing the entry segments; and completes the disassembly and encryption of the target data.
[0047] Afterwards, the data core unit can be used to perform a second encryption on the data after the first encryption, which can prevent the data from being read by others to understand its specific meaning, and can also prevent the data from being easily opened to a certain extent; this application is simple, effective, and easy to use. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] To facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.
[0049] Figure 1 This is a system block diagram of the present invention. DETAILED DESCRIPTION
[0050] Example 1:
[0051] like Figure 1 As shown in the first embodiment of the present invention:
[0052] A multi-encryption data encryption system includes a data acquisition unit and an initial phase encryption unit;
[0053] The data acquisition unit is used to acquire data to be transmitted or encrypted and mark it as target data; the data acquisition unit is used to transmit the target data to the initial phase encryption unit, and the initial phase encryption unit receives the target data transmitted by the data acquisition unit and performs initial phase encryption on the target data. The specific method of initial phase encryption is:
[0054] Step 1: Get the target data;
[0055] Step 2: First, all the entry segments in the target data are identified. An entry segment refers to a paragraph. The specific identification is determined by punctuation marks. When a punctuation mark appears, it means a gap is encountered. The segment before the gap is an entry segment.
[0056] Step 3: After obtaining all the target data, perform screening analysis on the term segments. The specific method of screening analysis is as follows:
[0057] S1: Get the first character and value of each entry in each entry segment;
[0058] S2: Get all the first characters, automatically search the entire entry segment, get the number of times the first character appears in all the entry segments, and mark it as a repetition;
[0059] S3: Get the first character and its corresponding repetition number, sort the first characters in descending order of repetition number, and get the sequence value corresponding to each first character. Sequence values of characters with equal repetition numbers are the same;
[0060] S4: Then, the pinyin initials of all the first characters are obtained and marked as the target letters. The corresponding sequence values of the target letters are obtained according to the order of the 26 English letters and marked as the target sequence values;
[0061] S5: Based on the order of the entry segments themselves, a heterogeneous number group is formed. The heterogeneous number group is composed of the sequence value in front and the target sequence value in the back, with a separator between the two. The separator is a symbol preset by the administrator;
[0062] S6: Then, all the heterogeneous number groups are reconstructed, specifically, the heterogeneous number groups are arranged from front to back according to the order of the entry segments;
[0063] S7: Then select the first heterogeneous number group;
[0064] S8: Traverse all other heterogeneous number groups, obtain other heterogeneous number groups that are completely consistent with the first heterogeneous number group, obtain the corresponding entry segments, and all entry segments constitute a similar segment group;
[0065] S9: Obtain all the entry segments in the similar segment group, select the feature value starting from the second character, and then select the feature value from all the entry segments. Ensure that a feature value is selected from all the entry segments and that the feature values are completely consistent. If there are two identical entry segments, keep the feature values consistent.
[0066] S10: At the same time, the sequence value of the feature value in the corresponding entry segment is obtained, and the sequence value is placed in front and the feature value is placed in the back to form a distinguishing value;
[0067] S11: Add the distinguishing value to the end of the heterogeneous number group and separate it from the target sequence value according to the separator to obtain a new heterogeneous number group;
[0068] S12: After processing the processed heterogeneous number group, select the next one from the remaining heterogeneous number groups and repeat steps S8-S12 to obtain the updated heterogeneous number groups for all entry segments;
[0069] S13: according to the original order of the entry segments, the heterogeneous digital groups are re-arranged in the order of the one-to-one corresponding entry segments to obtain a sequence heterogeneous digital group;
[0070] Step 4: After obtaining all the entry segments, only one identical entry segment is retained to obtain the reference entry segment;
[0071] Step 5: Shuffle all the parameter entry segments, sort them randomly, and then perform a sorting test. The sorting test method is:
[0072] If any two entries that were in the order of front and back in the original entry segment are still in the order of front and back after scrambling, the inverse flatness value is increased by one. The inverse flatness value is initially zero. All the scrambled reference entry segments are traversed and compared with the original entry segment order to obtain the inverse flatness value. When the inverse flatness value is lower than X1, a qualified signal is generated. Otherwise, the sequence is randomly scrambled again, and X1 is a preset value.
[0073] Step 6: After generating qualified signals, obtain the scrambled parameter entry segments and mark them as entry libraries;
[0074] Step 7: Automatically obtain several interference terms at the same time. Interference terms are sentences that are completely different from the reference terms and are randomly obtained from the Internet. Interference flags are marked at the beginning of the interference terms. Interference flags are preset by the administrator.
[0075] Step 8: Add the interference terms to the term library and update the term library;
[0076] Step 9: Obtain sequence heterogeneous digital groups and term libraries;
[0077] Example 2:
[0078] As a second embodiment of the present invention, based on the initial phase encryption completed in the first embodiment, the present application can also perform double encryption of the core phase processing, which specifically includes a data transfer unit, a data core phase unit, and a management unit;
[0079] After the initial phase encryption is completed in the first embodiment, the initial phase encryption unit is used to transmit the sequence heterogeneous digital group and the entry library to the data phase unit via the data transfer unit. The data phase unit is used to perform phase processing on the sequence heterogeneous digital group and the entry library. The specific steps of the phase processing are as follows:
[0080] SS1: Obtain the sequence heterogeneous digital group and term library;
[0081] SS2: Select the target file type. The target file type is a file that can be used to input text content. It can be text information, Word, CAJ, PDF, etc., any file that can be used to input text and has corresponding software to read it. The specific selection method is:
[0082] Obtain all target type files, select a software platform, and sort them from largest to smallest according to the number of downloads of the corresponding software that can open the target type files; remove the top 50% of the target type files, and select one from the remaining target type files;
[0083] SS3: Enter all sequence heterogeneous digital groups and term libraries into the target type file;
[0084] SS4: Then, it obtains the extension of the target file and replaces the characters in the extension with the sequence values corresponding to the 26 English letters. The sequence values corresponding to the characters in each extension are separated by separators.
[0085] SS5: Get the target file after the extension is modified, mark it as a nuclear phase file, and encrypt it;
[0086] Example 3:
[0087] As a third embodiment of the present invention, based on the second embodiment, it further includes a rotation unit;
[0088] The data phase verification unit is used to transmit the phase verification file to the rotation unit, and the rotation unit is used to return the phase verification file to the original transmission channel to complete data transmission or other processing;
[0089] The encryption method provided by this application only requires setting the separator and delimiter in the decryption system when decryption is required, or performing decryption step by step in the reverse order of the steps in this application. The decryption method is placed in the specified hardware, and the algorithm is obtained by plugging and unplugging to perform decryption. This is not the focus of this application, so it is not described in detail.
[0090] Of course, the three embodiments of the present application can be implemented individually, or in any combination of two, or all three embodiments can be integrated and implemented together.
[0091] The above content is merely an example and explanation of the structure of the present invention. Those skilled in the art may make various modifications or additions to the described specific embodiments or replace them in a similar manner. As long as they do not deviate from the structure of the invention or exceed the scope defined by the claims, they should all fall within the scope of protection of the present invention.
Claims
1. A multi-encryption data encryption system, characterized in that: include: Data acquisition unit: it acquires the target data and transmits the target data to the initial phase encryption unit; Initial phase encryption unit: It performs initial phase encryption on the target data. Initial phase encryption obtains all the entry segments in the target data, selects and analyzes the entry segments, and determines the sequence value based on the first character and its corresponding repetition number; the pinyin initials of all the first characters determine the target sequence value; the sequence value of the entry segment is placed first and the characteristic value is placed last to form a distinguishing value; the specific method of initial phase encryption is as follows: Step 1: Get the target data; Step 2: First, all the entry segments in the target data are identified. An entry segment refers to a paragraph. The specific identification is determined by punctuation marks. When a punctuation mark appears, it means a gap is encountered. The segment before the gap is an entry segment. Step 3: After obtaining all the word segments in the target data, the word segments are screened and analyzed to obtain a sequence heterogeneous digital group; Step 4: After obtaining all the entry segments, only one identical entry segment is retained to obtain the reference entry segment; Step 5: Shuffle all the parameter entry segments, sort them randomly, perform sorting test, and generate a qualified signal based on the test results; Step 6: After generating qualified signals, obtain the scrambled parameter entry segments and mark them as entry libraries; Step 7: Automatically obtain several interference terms at the same time. Interference terms are sentences that are completely different from the reference terms and are randomly obtained from the Internet. Interference flags are marked at the beginning of the interference terms. Interference flags are preset by the administrator. Step 8: Add the interference terms to the term library and update the term library; Step 9: Obtain sequence heterogeneous digital groups and term libraries; The sequence value, target sequence value and distinguishing value are combined to obtain a sequence heterogeneous digital group, and the target parameter entry library is obtained after processing the entry segment; thus, the target data is disassembled and encrypted; The specific method of screening analysis is: S1: Get the first character and value of each entry in each entry segment; S2: Get all the first characters, automatically search the entire entry segment, get the number of times the first character appears in all the entry segments, and mark it as a repetition; S3: Get the first character and its corresponding repetition number, sort the first characters in descending order of repetition number, and get the sequence value corresponding to each first character. Sequence values of characters with equal repetition numbers are the same; S4: Then, the pinyin initials of all the first characters are obtained and marked as the target letters. The corresponding sequence values of the target letters are obtained according to the order of the 26 English letters and marked as the target sequence values; S5: Based on the order of the entry segments themselves, a heterogeneous number group is formed. The heterogeneous number group is composed of the sequence value in front and the target sequence value in the back, with a separator between the two. The separator is a symbol preset by the administrator; S6: Then, all the heterogeneous number groups are reconstructed, specifically, the heterogeneous number groups are arranged from front to back according to the order of the entry segments; S7: Then select the first heterogeneous number group; S8: Traverse all other heterogeneous number groups, obtain other heterogeneous number groups that are completely consistent with the first heterogeneous number group, obtain the corresponding entry segments, and all entry segments constitute a similar segment group; S9: Obtain all the entry segments in the similar segment group, select the feature value starting from the second character, and continue in sequence to ensure that a feature value is selected from all the entry segments. If there are two identical entry segments, keep the feature values consistent; S10: At the same time, the sequence value of the feature value in the corresponding entry segment is obtained, and the sequence value is placed in front and the feature value is placed in the back to form a distinguishing value; S11: Add the distinguishing value to the end of the heterogeneous number group and separate it from the target sequence value according to the separator to obtain a new heterogeneous number group; S12: After processing the processed heterogeneous number group, select the next one from the remaining heterogeneous number groups and repeat steps S8-S12 to obtain the updated heterogeneous number groups for all entry segments; S13: According to the original order of the entry segments, the heterogeneous number groups are arranged again in the order of the one-to-one corresponding entry segments to obtain a sequence heterogeneous number group.
2. A multi-encryption data encryption system according to claim 1, characterized in that: The sorting test method in step 5 is: When any two entries that were in the order of front and back in the original entry segment are still in the order of front and back after being shuffled, the inverse flatness value is increased by one. The inverse flatness value is initially zero. All the shuffled parameter entry segments are traversed and compared with the original entry segment order to obtain the inverse flatness value. When the inverse flatness value is lower than X1, a qualified signal is generated. Otherwise, the sequence is randomly shuffled again. X1 is the preset value.
3. The multi-encryption data encryption system according to claim 1, characterized in that: It also includes a data transfer unit and a data verification unit; The initial phase encryption unit is used to transfer the sequence heterogeneous digital groups and entry library to the data phase verification unit with the help of the data transfer unit. The data phase verification unit is used to perform phase verification on the sequence heterogeneous digital groups and entry library, integrate the sequence heterogeneous digital groups and entry library into the target type file, and change the extension of the target type file to complete the phase verification.
4. A multi-encryption data encryption system according to claim 3, characterized in that: The specific steps of nuclear phase processing are: SS1: Obtain the sequence heterogeneous digital group and term library; SS2: Select the target type file. The specific selection method is: Get all target type files, select any software platform, and sort them from largest to smallest according to the number of downloads of the corresponding software that can open the target type files; Remove the first 50% of target type files and select any one of the remaining target type files; SS3: Enter all sequence heterogeneous digital groups and term libraries into the target type file; SS4: Then, it obtains the extension of the target file and replaces the characters in the extension with the sequence values corresponding to the 26 English letters. The sequence values corresponding to the characters in each extension are separated by separators. SS5: Get the target type file after the extension is modified, mark it as a nuclear phase file, and complete the encryption.
5. The multi-encryption data encryption system according to claim 4, characterized in that: The target type files in step SS2 are specifically all files that can input text content.
6. A multi-encryption data encryption system according to any one of claims 1 to 5, characterized in that: It also includes a management unit, which is used to enter all preset values and preset symbols.
Citation Information
Patent Citations
Multi-encryption data encryption method and device and mobile terminal
CN110176986A
Electronic prescription processing method and device, computer equipment and storage medium
CN112069522A
Inter-translation method for encrypting and restoring English characters by using numbers
CN112202733A