Network security retrieval method and device, electronic equipment and storage medium

By dividing encrypted data into multiple data layers and performing word extraction and deduplication processing, the problem of inaccurate search results in database network security retrieval is solved, and more efficient encrypted data retrieval is achieved.

CN118796975APending Publication Date: 2024-10-18ZUNYI BRANCH OF CHINA MOBILE GRP GUIZHOU COMPANY +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410003924.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-02
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In the existing database network security retrieval technology, the retrieval results are inaccurate.

Method used

Divide the encrypted data into multiple data layers and assign them to target sub-layers according to data characteristics, perform word extraction and deduplication processing, and obtain a keyword set for retrieval.

Benefits of technology

The accuracy and efficiency of encrypted data retrieval are improved, and the required encrypted information can be retrieved faster and more accurately.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118796975A_ABST
    Figure CN118796975A_ABST
Patent Text Reader

Abstract

The invention discloses a network security retrieval method and device, electronic equipment and a storage medium, and relates to the technical field of data processing. Encrypted data is divided into a first preset number of data layers; distributing the encrypted data in each data layer to the target sub-layers corresponding to the data layers according to the data characteristics of the encrypted data, wherein the quantities of the target sub-layers distributed to different data layers are the same or different; performing word extraction on the encrypted data in each target sub-layer to obtain a target extracted word set; and obtaining a keyword set for retrieving the encrypted data from the target extraction word set so as to retrieve the encrypted data according to the keyword set. Compared with the prior art, the method has the advantages that the target extracted word set is obtained by performing word extraction on each target sub-layer, the keyword set for retrieving the encrypted data is obtained according to the target extracted word set, and the encrypted data is retrieved based on the keyword set, so that the required encrypted information can be retrieved more quickly and more accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing technology, and in particular to a network security retrieval method and device, an electronic device, and a storage medium. Background Art

[0002] A database is a collection of large amounts of data that is stored in a computer for a long period of time, is organized, shared, and uniformly managed. Therefore, the database is a warehouse for storing data.

[0003] In terms of network security retrieval technology for the database, the encrypted target data is obtained mainly by matching the encrypted keyword index with the encrypted data index. However, when the target data is retrieved in the above manner, there is a problem of inaccurate retrieval results. Summary of the invention

[0004] The present invention provides a network security search method and device, electronic device and storage medium, which is mainly aimed at solving the problem of inaccurate search results when searching for target data using existing search methods.

[0005] According to a first aspect of the present disclosure, a method for network security retrieval is provided, comprising:

[0006] dividing the encrypted data into a first predetermined number of data layers;

[0007] Allocating the encrypted data in each of the data layers to target sub-layers corresponding to the data layers according to data characteristics of the encrypted data, with the number of target sub-layers allocated to different data layers being the same or different;

[0008] Performing word extraction on the encrypted data in each target sub-layer to obtain a target extracted word set;

[0009] A keyword set for searching the encrypted data is obtained from the target extraction word set, so as to search the encrypted data according to the keyword set.

[0010] Optionally, the extracting words from the encrypted data in each target sub-layer to obtain a target extracted word set includes:

[0011] Matching the encrypted data in each target sub-layer with the data layer, and marking the corresponding encrypted data as corresponding data;

[0012] Performing a word segmentation operation on the type sentence in the corresponding data to obtain extracted words in the type sentence, wherein the encrypted data of the same type existing in each of the target sub-layers are grouped together, and the encrypted data in each group is a type sentence;

[0013] Determining the word feature of each of the extracted words and the sentence feature of each of the extracted words in the type of sentence;

[0014] Determining a first similarity between the extracted words according to a preset entry and the word feature of each of the extracted words;

[0015] Determining a second similarity between the extracted words according to the first similarity and the sentence feature of each of the extracted words in the type of sentence;

[0016] De-duplication processing is performed on the extracted words whose second similarity is greater than a preset similarity to obtain a target extracted word set.

[0017] Optionally, obtaining a keyword set for searching the encrypted data from the target extraction word set includes:

[0018] splicing the extracted words in the target extracted word set that are in consecutive positions as the smallest text unit to obtain spliced ​​words;

[0019] The concatenated words are cleaned according to part-of-speech statistical features to obtain the keyword set, wherein the part-of-speech statistical features are classification results obtained by feature classification of texts in the concatenated words according to whether the texts belong to content words or function words;

[0020] The keywords included in each layer of the encrypted data are determined according to the keyword set of each target sub-layer, and the keywords of each layer are associated through a search engine to retrieve the encrypted data.

[0021] Optionally, before distributing the encrypted data to a first preset number of data layers, the method further includes:

[0022] Encrypting the plaintext data respectively by a second preset number of encryption methods to obtain the second preset number of encryption results; the second preset number of encryption methods includes at least five encryption methods;

[0023] Performing security analysis on the second preset number of encryption results respectively to obtain the second preset number of analysis encryption results;

[0024] The encryption result corresponding to the analysis encryption result with the highest threshold among the second preset number of analysis encryption results is determined as the encrypted data.

[0025] Optionally, before distributing the encrypted data to a first preset number of data layers, the method further includes:

[0026] Acquire a communication channel between the encrypted data and the data transmission platform, and mark the communication channel as a target channel;

[0027] Performing data scanning on the target channel, and determining channel parameters of the target channel according to the scanning result, wherein the channel parameters include communication channel saturation and current communication channel remaining capacity;

[0028] Setting a dedicated parameter model for the target channel according to the channel parameters;

[0029] The data volume of a standard data packet is determined according to the parameter model, where the data volume is the data volume of the encrypted data transmitted once.

[0030] Optionally, after determining the data volume of the standard data packet according to the parameter model, the method includes:

[0031] Obtaining the total amount of the encrypted data to be transmitted;

[0032] setting a first transmission time interval of the encrypted data according to the overall data volume and the data volume;

[0033] The encrypted data is transmitted based on the first transmission time interval.

[0034] Optionally, the transmitting the encrypted data based on the first transmission time interval includes:

[0035] Divide the encrypted data into data packets according to the data volume corresponding to the standard data packets to obtain at least one data packet, wherein when the data volume remaining at the end of the data packet division process is less than the data volume corresponding to one or two complete standard data packets, divide the data packets into random data volumes according to the principle of not less than the lower limit value of the data volume and not more than the upper limit value of the data volume;

[0036] The data packets into which the encrypted data is divided are transmitted based on the first transmission time interval.

[0037] Optionally, the transmitting the data packets into which the encrypted data is divided includes:

[0038] Real-time monitoring of the remaining capacity of the communication channel of the target channel for transmitting the encrypted data, and comparing the remaining capacity of the communication channel with a preset remaining capacity threshold to obtain a comparison result;

[0039] If the comparison result indicates that the remaining capacity of the communication channel exceeds a preset remaining capacity threshold, the data packet is continuously transmitted according to the first transmission time interval.

[0040] Optionally, if the comparison result indicates that the remaining capacity of the communication channel does not exceed a preset remaining capacity threshold, the first transmission time interval is adaptively adjusted in real time using a transmission speed adaptive adjustment model, and the data packet is continuously transmitted according to the adjusted second transmission time interval.

[0041] According to a second aspect of the present disclosure, a network security retrieval device is provided, comprising:

[0042] a division unit, configured to divide the encrypted data into a first preset number of data layers;

[0043] an allocating unit, configured to allocate the encrypted data in each of the data layers to target sub-layers corresponding to the data layers according to data characteristics of the encrypted data, wherein the numbers of target sub-layers allocated to different data layers are the same or different;

[0044] An extraction unit, configured to perform word extraction on the encrypted data in each target sub-layer to obtain a target extracted word set;

[0045] The first acquisition unit is used to acquire a keyword set for searching the encrypted data from the target extraction word set, so as to search the encrypted data according to the keyword set.

[0046] Optionally, the extraction unit includes:

[0047] A corresponding module, used for matching the encrypted data in each target sub-layer with the data layer, and marking the encrypted data that has been matched as corresponding data;

[0048] A word segmentation module is used to perform a word segmentation operation on the type sentence in the corresponding data to obtain extracted words in the type sentence, wherein the encrypted data of the same type existing in each of the target sub-layers are grouped, and the encrypted data in each group is a type sentence;

[0049] A first determination module is used to determine the word feature of each of the extracted words and the sentence feature of each of the extracted words in the type of sentence;

[0050] A second determination module, configured to determine a first similarity between the extracted words according to a preset entry and the word feature of each of the extracted words;

[0051] A third determination module, configured to determine a second similarity between the extracted words according to the first similarity and the sentence feature of each of the extracted words in the type of sentence;

[0052] The deduplication module is used to perform deduplication processing on the extracted words whose second similarity is greater than a preset similarity to obtain a target extracted word set.

[0053] Optionally, the first acquiring unit includes:

[0054] A splicing module, used for splicing the extracted words in the target extracted word set with consecutive positions as the minimum text unit to obtain spliced ​​words;

[0055] A cleaning module, used for cleaning the concatenated words according to part-of-speech statistical features to obtain the keyword set, wherein the part-of-speech statistical features are classification results obtained by feature classification of text in the concatenated words according to whether the text belongs to a content word or a function word;

[0056] The determination module is used to determine the keywords included in each layer of the encrypted data according to the keyword set of each target sub-layer, and associate the keywords of each layer through a search engine to retrieve the encrypted data.

[0057] Optionally, the device further comprises:

[0058] An encryption unit, used to encrypt the plaintext data respectively by a second preset number of encryption methods to obtain the second preset number of encryption results; the second preset number of encryption methods includes at least five encryption methods;

[0059] An analysis unit, configured to perform security analysis on the second preset number of encryption results respectively to obtain the second preset number of analyzed encryption results;

[0060] The first determining unit is used to determine the encryption result corresponding to the analysis encryption result with the highest threshold among the second preset number of analysis encryption results as the encrypted data.

[0061] Optionally, the device further comprises:

[0062] a marking unit, used for acquiring a communication channel between the encrypted data and the data transmission platform, and marking the communication channel as a target channel;

[0063] A scanning unit, configured to perform data scanning on the target channel and determine channel parameters of the target channel according to the scanning result, wherein the channel parameters include communication channel saturation and current remaining capacity of the communication channel;

[0064] A first setting unit, configured to set a dedicated parameter model for the target channel according to the channel parameters;

[0065] The second determining unit is used to determine the data volume of a standard data packet according to the parameter model, where the data volume is the data volume of transmitting the encrypted data once.

[0066] Optionally, the device comprises:

[0067] A second acquisition unit, used to acquire the entire data volume of the encrypted data to be transmitted;

[0068] a second setting unit, configured to set a first transmission time interval of the encrypted data according to the overall data volume and the data volume;

[0069] A transmission unit, configured to transmit the encrypted data based on the first transmission time interval.

[0070] Optionally, the transmission unit includes:

[0071] A division module, used to divide the encrypted data into data packets according to the data volume corresponding to the standard data packets to obtain at least one data packet, wherein when the data volume remaining at the end of the data packet division process is less than the data volume corresponding to one or two complete standard data packets, the data packets with random data volume are divided according to the principle of not less than the lower limit value of the data volume and not more than the upper limit value of the data volume;

[0072] A transmission module is used to transmit the data packets divided into the encrypted data based on the first transmission time interval.

[0073] Optionally, the transmission module is further used for:

[0074] Real-time monitoring of the remaining capacity of the communication channel of the target channel for transmitting the encrypted data, and comparing the remaining capacity of the communication channel with a preset remaining capacity threshold to obtain a comparison result;

[0075] If the comparison result indicates that the remaining capacity of the communication channel exceeds a preset remaining capacity threshold, the data packet is continuously transmitted according to the first transmission time interval.

[0076] Optionally, the transmission module is further used for:

[0077] If the comparison result indicates that the remaining capacity of the communication channel does not exceed the preset remaining capacity threshold, the first transmission time interval is adaptively adjusted in real time using a transmission speed adaptive adjustment model, and the data packet is continuously transmitted according to the adjusted second transmission time interval.

[0078] According to a third aspect of the present disclosure, there is provided an electronic device, including:

[0079] at least one processor; and

[0080] a memory communicatively connected to the at least one processor; wherein,

[0081] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the first aspect.

[0082] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method described in the first aspect.

[0083] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the method as described in the first aspect above.

[0084] The network security retrieval method, device, electronic device and storage medium provided by the present disclosure divide the encrypted data into a first preset number of data layers; respectively allocate the encrypted data in each of the data layers to the target sub-layer corresponding to the data layer according to the data characteristics of the encrypted data, and the number of target sub-layers allocated to different data layers is the same or different; perform word extraction on the encrypted data in each of the target sub-layers to obtain a target extraction word set; obtain a keyword set for retrieving the encrypted data from the target extraction word set, so as to retrieve the encrypted data based on the keyword set. Compared with the related art, by performing word extraction on each of the target sub-layers to obtain the target extraction word set, and obtaining a keyword set for retrieving the encrypted data based on the target extraction word set, and retrieving the encrypted data based on the keyword set, the required encrypted information can be retrieved faster and more accurately.

[0085] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0086] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0087] Figure 1 A flowchart of a network security search method provided by an embodiment of the present disclosure;

[0088] Figure 2 A schematic diagram of the structure of a network security retrieval device provided by an embodiment of the present disclosure;

[0089] Figure 3 A schematic diagram of the structure of another network security retrieval device provided by an embodiment of the present disclosure;

[0090] Figure 4 A schematic block diagram of an exemplary electronic device 300 provided for an embodiment of the present disclosure. DETAILED DESCRIPTION

[0091] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0092] The following describes the network security retrieval method, device, electronic device, and storage medium according to the embodiments of the present disclosure with reference to the accompanying drawings.

[0093] Figure 1 A flowchart of a network security retrieval method provided by an embodiment of the present disclosure.

[0094] like Figure 1 As shown, the method comprises the following steps:

[0095] Step 101, dividing the encrypted data into a first preset number of data layers;

[0096] As a refinement of the above step 101, the encrypted data is data that is encrypted by an encryption algorithm for plain text data, and the first preset number of data layers is at least one data layer. In this embodiment, the data layers are five layers, that is, the encrypted data is divided into five data layers, wherein the five data layers are: original data layer, data detail layer, first data service layer, data subject layer and second data service layer. By dividing the encrypted data into the data layers, different operation processes of the encrypted data can be processed at different data layers.

[0097] Step 102, respectively allocating the encrypted data in each data layer to a target sub-layer corresponding to the data layer according to data characteristics of the encrypted data, and the number of target sub-layers allocated to different data layers may be the same or different;

[0098] As a refinement of the above step 102, the encrypted data of the original data layer, the data detail layer, the first data service layer, the data subject layer and the second data service layer in the encrypted data are screened again according to the data characteristics, that is, the original data layer, the data detail layer, the first data service layer, the data subject layer and the second data service layer are layered respectively to divide at least one sub-layer in each data layer, and one sub-layer corresponds to the encrypted data with consistent data characteristics, wherein the sub-layer is the target sub-layer, and the number of the target sub-layers allocated to different data layers is the same or different, which means that the number of the target sub-layers obtained by dividing each data layer is an arbitrary number.

[0099] Step 103, extracting words from the encrypted data in each target sub-layer to obtain a target extracted word set;

[0100] As a refinement of the above step 103, word segmentation is performed on the encrypted data in each of the target sub-layers to achieve word extraction of the encrypted data, and the target extraction word set is constructed according to the extraction results of the word extraction to achieve the acquisition of the target extraction word set.

[0101] Step 104: Acquire a keyword set for searching the encrypted data from the target extraction word set, so as to search the encrypted data according to the keyword set.

[0102] As a refinement of the above step 104, it can be seen from the above step 103 that the target extraction word set includes the extraction words obtained by extracting words from each of the target sub-layers, and the keyword set for searching the encrypted data is obtained by deduplicating the extracted words and concatenating the deduplicated results. In the subsequent process of searching the encrypted data, the encrypted data can be searched quickly and accurately based on the keyword set.

[0103] The network security retrieval method provided by the present disclosure divides the encrypted data into a first preset number of data layers; respectively allocates the encrypted data in each of the data layers to the target sub-layers corresponding to the data layer according to the data characteristics of the encrypted data, and the number of target sub-layers allocated to different data layers is the same or different; performs word extraction on the encrypted data in each of the target sub-layers to obtain a target extraction word set; obtains a keyword set for retrieving the encrypted data from the target extraction word set, so as to retrieve the encrypted data based on the keyword set. Compared with the related art, by performing word extraction on each of the target sub-layers to obtain the target extraction word set, and obtaining a keyword set for retrieving the encrypted data based on the target extraction word set, and retrieving the encrypted data based on the keyword set, the required encrypted information can be retrieved faster and more accurately.

[0104] As a refinement of the embodiment of the present disclosure, when performing word extraction on the encrypted data existing in each target sub-layer to obtain a target extracted word set in step 103, the following implementation methods may be adopted but are not limited to, for example: the encrypted data in each target sub-layer is matched with the data layer, and the corresponding encrypted data is marked as corresponding data; word segmentation operation is performed on the type sentence in the corresponding data to obtain extracted words in the type sentence, wherein the encrypted data of the same type existing in each target sub-layer is grouped, and the encrypted data in each group is a type sentence; the word feature of each extracted word and the sentence feature of each extracted word in the type sentence are determined; a first similarity between the extracted words is determined based on preset entries and the word feature of each extracted word; a second similarity between the extracted words is determined based on the first similarity and the sentence feature of each extracted word in the type sentence; and the extracted words whose second similarity is greater than the preset similarity are deduplicated to obtain a target extracted word set.

[0105] To facilitate the understanding of the above scheme, the present disclosure herein describes the above scheme in detail, and the description is as follows: the data in the encrypted data is divided into multiple data layers, and the multiple data layers are respectively the original data layer, the data detail layer, the first data service layer, the data subject layer and the second data service layer, that is, the data layers are the original data layer, the data detail layer, the first data service layer, the data subject layer and the second data service layer in the encrypted data. The target sub-layer is to screen the data of the original data layer, data detail layer, first data service layer, data subject layer and second data service layer in the encrypted data again, and to layer the data in the original data layer, data detail layer, first data service layer, data subject layer and second data service layer according to data characteristics, so as to divide each data layer into multiple target sub-layers, correspond the encrypted data of each target sub-layer to the data layer, and mark the corresponding completed data as corresponding data, perform word segmentation operation on the type sentence in the corresponding data, and obtain several extracted words in the type sentence, wherein the type sentence is based on the data characteristics in the target sub-layer, and is collected according to the element data of the same type in each target sub-layer, and the data of this collection is the type sentence. Determine the word feature of each extracted word and the sentence feature of each extracted word in the type sentence, and determine the first similarity between the extracted words according to the corresponding entry in the internal system and the word feature of each extracted word, wherein the preset entry is the corresponding entry preset in the internal system. According to the first similarity and the sentence features of each extracted word in the type of sentence, the second similarity between the extracted words is determined, and the extracted words with the second similarity greater than the preset similarity are deduplicated to obtain a target extracted word set, wherein the second similarity is determined based on the sentence features in the first similarity obtained between the extracted words. The sentence features mentioned here can be understood as a sentence structure similar to "a method for forming mobile encrypted data". The sentence features of the second similarity are extracted through the sentence features of the first similarity, and the extracted words with the second similarity greater than the preset similarity are processed.In order to facilitate understanding of the above-mentioned process of extracting the first similarity and the second similarity, this embodiment illustrates the above-mentioned steps with examples, for example: one or more sentence features of "a method for forming mobile encrypted data" are extracted from the encrypted data through the internal system entries, and this "a method for forming mobile encrypted data" is the first similarity. This extraction is a broad word extraction, and the data extraction is continued for the main stem words in the first similarity data through the grammatical structure of subject, predicate, and object in the sentence, wherein the main stem words in "a method for forming mobile encrypted data" are "mobile, encryption", and then the data of "mobile, encryption" in the first similarity data is extracted again. This extraction is a more refined extraction based on the broad word extraction, and the extracted data is the second similarity data, which is more conducive to the later retrieval speed.

[0106] As a refinement of an embodiment of the present disclosure, when executing step 104 to obtain a keyword set for searching the encrypted data in the target extracted word set, the method may adopt but is not limited to the following implementation methods, for example: splicing the extracted words with consecutive positions in the target extracted word set as text minimum units to obtain spliced ​​words; cleaning the spliced ​​words according to part-of-speech statistical features to obtain the keyword set, wherein the part-of-speech statistical features are classification results obtained by feature classification of text in the spliced ​​words according to whether the text belongs to a content word or a function word; determining the keywords included in each layer of the encrypted data according to the keyword set of each target sub-layer, and associating the keywords of each layer through a search engine to retrieve the encrypted data.

[0107] In order to facilitate understanding of the solution content involved in the above detailed description, this embodiment hereby expands the above detailed description, and the expanded content is as follows: according to the target extracted word set, the extracted words with continuous positions are spliced ​​with the minimum text unit at the maximum length to obtain the spliced ​​words, that is, based on the target extracted word set, several different categories of data are integrated into one unit, and the smallest text unit in the integrated data is spliced ​​with the maximum length through a calculation formula, and finally the text with the maximum length can be obtained through the calculation formula, that is, the spliced ​​words. The spliced ​​words are cleaned according to the part-of-speech statistical features to obtain a keyword set, wherein the part-of-speech statistical features are: according to the text in the spliced ​​words, the text of the spliced ​​words is classified according to whether the text belongs to a content word or a function word, and the classification process involving the features is mainly obtained by obtaining the words in the text.

[0108] The content words described in the above content include: nouns, verbs, adjectives, numerals, quantifiers and pronouns; the function words include: adverbs, prepositions, conjunctions, auxiliary words, onomatopoeia and interjections. After the classification of the statistical features of the parts of speech in the spliced ​​words is completed, the invalid, inconsistent and repeated data in the spliced ​​words are filtered and cleaned by the cleaner. The cleaner mainly cleans the data through algorithms, including identifying and repairing errors in the data, filling missing values ​​in the data, deleting data that does not meet the requirements and deleting duplicate data. Determine the keywords included in each layer of the data according to the keywords of the target sub-layer, and associate the keywords of each layer through a search engine, where the keywords are contained in the keyword set.

[0109] As an extension of the disclosed embodiment, each data layer is divided into a plurality of target sub-layers, which makes it easier to filter out the spliced ​​words of the parts of speech required for retrieval, further narrows the retrieval scope, improves the efficiency and accuracy of determining keywords, and realizes accurate extraction of keywords in each sub-layer, fully considers the dependency between text words, improves the accuracy and objectivity of keyword extraction, performs hierarchical analysis on data information, and performs deduplication processing on the extracted words to obtain a target extracted word set; and splices and cleans the extracted words with continuous positions in the target extracted word set, which makes it easier to narrow the data processing scope and improve the data processing efficiency. The keywords included in each layer of the data are determined according to the keywords of the target sub-layer, which improves the accuracy of keyword extraction, so that the required encrypted data information can be retrieved faster when the encrypted data is retrieved later.

[0110] As a refinement of the embodiment of the present disclosure, before executing the distribution of encrypted data to a first preset number of data layers, the method also includes but is not limited to the following implementation methods, for example: encrypting the plaintext data using a second preset number of encryption methods respectively to obtain the second preset number of encryption results; the second preset number of encryption methods includes at least five encryption methods; performing security analysis on the second preset number of encryption results respectively to obtain the second preset number of analyzed encryption results; determining the encryption result corresponding to the analyzed encryption result with the highest threshold among the second preset number of analyzed encryption results as the encrypted data.

[0111] The plaintext data is unencrypted original data, that is, the data to be encrypted is marked as plaintext data, and data collection is performed on the plaintext data; the plaintext data is encrypted, and there are five encryption methods for the plaintext data, namely, one-way encryption, symmetric encryption, asymmetric encryption, encryption salt encryption and hash function encryption. When performing the data encryption on the plaintext data, the following implementation methods may also be adopted but are not limited to, for example: the plaintext data is replicated into five groups of identical encrypted data, the five groups of plaintext data are encrypted respectively, and the encrypted data with the best security is extracted, and the best encrypted data is marked as the final encrypted data. The extraction of the encrypted data with the best security includes: special or multiple encryption of telecommunications data as required, if the telecommunications data is one-way encrypted, it is automatically marked as the best encrypted data, if the telecommunications data is multiple encrypted, according to the calculation result analysis, the encryption result with the highest threshold is used as the final encrypted data, thereby improving the effect of encrypting the plaintext data.

[0112] In order to more clearly illustrate the determination process of the above-mentioned encrypted data, this embodiment further illustrates the above-mentioned process, including: when using the five encryption methods provided in the above steps, it is necessary to select the best method for encryption according to the characteristics of the encrypted data to be encrypted. For example, if fingerprint data needs to be encrypted, the one-way encryption method is automatically selected to encrypt the fingerprint information. If a certain encrypted data can be encrypted by single-item encryption, symmetric encryption, asymmetric encryption, encryption salt encryption and hash function encryption, it is encrypted by single-item encryption, symmetric encryption, asymmetric encryption, encryption salt encryption and hash function encryption, and finally the one with the highest analysis encryption result threshold is selected as the encrypted data.

[0113] In order to facilitate understanding of the above process of determining the encrypted data, the present embodiment provides a detailed process for determining the encrypted data, which includes: firstly replicating the plaintext data in the same time and sequence into five groups of identical plaintext data, and then encrypting the first group of plaintext data by a one-way encryption method, wherein the one-way encryption generates a ciphertext by performing a summary calculation on the plaintext data, and the ciphertext cannot be reversed and restored, and then encrypting the second group of plaintext data by a symmetric encryption method, wherein the encryption and decryption of symmetric encryption use the same key, and the encryption and decryption speeds are relatively fast. At the same time, symmetric encryption is also divided into sequence encryption and block encryption. Sequence encryption inputs one byte of plaintext into the encryption algorithm to obtain one byte of ciphertext output, and the opposite is performed on the other end. The whole encryption process is repeated continuously until all data processing is completed, and then the third group of plaintext data is encrypted by asymmetric encryption, wherein asymmetric encryption requires two sets of keys, public key and private key, which are paired, and only the corresponding private key can decrypt. Then the fourth group of plaintext data is encrypted by encryption salt method, wherein salt is a random string used to encrypt after splicing with the encryption string, and the main purpose of adding salt is to provide the security of the encrypted string. Finally, the fifth group of plaintext data is encrypted by hash function method, wherein the algorithm converts the plaintext data input of any length into a fixed-length output, and a hash is given, and it is computationally impossible to find or construct the message that generates it. After obtaining the encryption results of the five encryption methods through the above process, the five encryption results are respectively subjected to security analysis to obtain five analysis encryption results, and the encryption result corresponding to the analysis encryption result with the highest threshold among the five analysis encryption results is used as the final encrypted data.

[0114] The advantages of using the above scheme to determine the encrypted data include: replicating the plaintext data into five groups of the same plaintext data according to the same standard, and then encrypting the five groups of the same plaintext data respectively through five different encryption methods. Among them, the one-way encryption method can only encrypt but not decrypt. It is often used to extract fingerprint information of the data to verify the integrity of the data. In the sequence cipher, when the attacker knows or can predict the plaintext in a specific area and observes the ciphertext, he can parse a part of the key sequence. If the same key is used, the subsequent part of the ciphertext can be decrypted. The sequence cipher is used together with the one-time key extracted from the long-term key. In asymmetric encryption, the two keys are mathematically related. The ciphertext encrypted with a user's key can only be decrypted using the encryption key of the user. If one of them is known, the other cannot be calculated. Therefore, if one of the keys in a pair is disclosed, it will not endanger the properties of the other key. Here, the public key is the public key, and the private key is the private key. The plaintext obtained from the outside in the encrypted salt is not the string before encryption, but the string composed of the string before encryption and the salt. This relatively increases the security of the string. MD5 encryption is used in the hash function, where MD5 is a single-item encryption. Therefore, it is often used for password encryption to achieve the function that even the administrator cannot know the user's password. After the five groups of plaintext data are encrypted, according to the internal encryption analysis, the one with the highest analysis encryption result threshold is used as the final encrypted data.

[0115] As a refinement of the above embodiment, before executing the distribution of the encrypted data to the first preset number of data layers, the method also includes but is not limited to the following implementation methods, for example: obtaining the communication channel between the encrypted data and the data transmission platform, and marking the communication channel as a target channel; performing data scanning on the target channel, and determining the channel parameters of the target channel according to the scanning results, wherein the channel parameters include the saturation of the communication channel and the remaining capacity of the current communication channel; setting a dedicated parameter model for the target channel according to the channel parameters; determining the data volume of a standard data packet according to the parameter model, wherein the data volume is the data volume of the encrypted data transmitted once.

[0116] In order to facilitate understanding of the above process of determining the amount of data to be transmitted once for the encrypted data, the present embodiment hereby expands the above steps, including: based on the communication channel between the encrypted data and the data transmission platform, marking the communication channel as a unique channel, the unique channel being the target channel, and performing data scanning on the communication channel according to the unique channel, obtaining channel parameters of the communication channel according to the scanning result, wherein the channel parameters include the saturation of the communication channel and the remaining capacity of the current communication channel, and setting a dedicated parameter model according to the communication channel corresponding to the channel parameters, obtaining a standard data packet according to the parameter model, wherein the data transmission speed of the communication channel for the standard data packet during the data transmission process is obtained, and the remaining communication capacity in the communication channel is obtained, and then the remaining maximum communication capacity is marked as the first communication channel;

[0117] The specific data information of the communication channel saturation and the remaining capacity of the current communication channel in the channel parameters is extracted, and the data volume of the single encrypted data transmission is set according to the specific data information, wherein the data volume of the single encrypted data transmission is the data volume corresponding to the standard data packet, and the data volume is obtained by the following formula (1):

[0118]

[0119] Among them, S d represents the data volume of the encrypted data transmitted in a single transmission; S y Indicates the amount of data corresponding to the maximum value of the remaining capacity of the communication channel among all channels; S b It represents the total channel capacity of the channel corresponding to the maximum residual capacity of the communication channel among all channels; n represents the number of channels; S zi represents the capacity occupied by the i-th channel; S yi Indicates the remaining capacity of the communication channel of the ith channel; S0 indicates the preset reference data volume, and the value range of S0 is 0.05S y -0.1S y ;

[0120] As a refinement of the above embodiment, after executing the data volume of the standard data packet determined according to the parameter model, the method can also adopt but is not limited to the following implementation methods, for example: obtaining the overall data volume of the encrypted data to be transmitted; setting the first transmission time interval of the encrypted data according to the overall data volume and the data volume; transmitting the encrypted data based on the first transmission time interval.

[0121] The overall data volume of the encrypted data to be transmitted is extracted, and the transmission time interval of the encrypted data is set according to the overall data volume of the encrypted data and the data volume of the single data transmission of the encrypted data, wherein the transmission time interval is obtained by the following formula (2):

[0122]

[0123] Wherein, T represents the transmission time interval, and the minimum value of T is 0.25T0; S 01 Indicates the total amount of encrypted data to be transmitted; S c It represents the amount of encrypted data generated per unit time, and the setting range of the unit time is 1s-3s; T0 represents the preset reference time interval, and the value range of T0 is 1s=1.5s.

[0124] As a refinement of the above embodiment, when executing the transmission of the encrypted data based on the first transmission time interval, the following implementation methods may be adopted but are not limited to, for example: dividing the encrypted data into data packets according to the data amount corresponding to the standard data packet to obtain at least one data packet, wherein, when the data amount remaining in the data packet division process is less than the data amount corresponding to one or two complete standard data packets, the data packet division is performed with random data amount according to the principle of not less than the lower limit value of the data amount and not more than the upper limit value of the data amount; and the data packets divided into which the encrypted data are divided are transmitted based on the first transmission time interval.

[0125] To facilitate understanding of the above-mentioned process of data packet division, this embodiment describes the above-mentioned process in detail, including: dividing the encrypted data to be transmitted into data packets according to the data volume corresponding to the standard data packets to form one or more data packets, wherein the data volume corresponding to the remaining less than one or two complete standard data packets in the data packet division is divided into data packets with random data volume according to the principle of not less than the lower limit value of the data volume and not more than the upper limit value of the data volume; and transmitting data for the one or more data packets according to the transmission time interval.

[0126] The use of the above-mentioned method to transmit encrypted data has the following advantages, including: by setting the transmission time interval and the data volume of the single encrypted data transmission in combination with the amount of encrypted data generated per unit time and the total amount of encrypted data to be transmitted, the rationality of the setting of the transmission time interval and the data volume of the single encrypted data transmission can be effectively improved; at the same time, by setting the transmission time interval and the data volume of the single encrypted data transmission in the above-mentioned manner, the matching of the transmission time interval and the data volume of the single encrypted data transmission with the actual amount of encrypted data generated per unit time and the total amount of encrypted data to be transmitted can be effectively improved, preventing the problem of data storage space saturation caused by data squeeze of encrypted data due to unreasonable setting of the transmission time interval and the data volume of the single encrypted data transmission, and at the same time, preventing the problem of low data transmission efficiency of encrypted data due to unreasonable setting of the transmission time interval and the data volume of the single encrypted data transmission.

[0127] As a refinement of the above embodiment, when executing the encrypted transmission of the data packets into which the encrypted data is divided, the following implementation methods may also be adopted but are not limited to, for example: real-time monitoring of the remaining capacity of the communication channel of the target channel for transmitting the encrypted data, and comparing the remaining capacity of the communication channel with a preset remaining capacity threshold to obtain a comparison result; if the comparison result indicates that the remaining capacity of the communication channel exceeds the preset remaining capacity threshold, the transmission of the data packet is continued according to the first transmission time interval.

[0128] As an extension of the above embodiment, data transmission of the one or more data packets is performed according to the transmission time interval, including: during the encrypted data transmission process, real-time detection of the communication channel remaining capacity of the current communication channel, and comparison of the communication channel remaining capacity with a preset remaining capacity threshold to obtain a comparison result; when the comparison result indicates that the current communication channel remaining capacity exceeds the preset remaining capacity threshold, data transmission of the data packets is continued according to the transmission time interval.

[0129] As a refinement of the above embodiment, when the comparison result indicates that the remaining capacity of the communication channel does not exceed the preset remaining capacity threshold, the following implementation methods may also be adopted but are not limited to, for example: using a transmission speed adaptive adjustment model to perform real-time adaptive adjustment of the first transmission time interval, and continuously transmitting the data packet according to the adjusted second transmission time interval.

[0130] As an extension of the above embodiment, when the comparison result shows that the current remaining capacity of the communication channel does not exceed the preset remaining capacity threshold, the transmission speed adaptive adjustment model is used to perform real-time adaptive adjustment on the data transmission time interval, and the data packet is continuously transmitted according to the adjusted data transmission time interval, wherein the transmission speed adaptive adjustment model is as follows, including formula (3) and formula (4):

[0131]

[0132]

[0133] Among them, Tt represents the adjusted transmission time interval; Sy0 represents the preset remaining capacity threshold; m represents the number of encrypted data transmissions within 5 unit times; ΔS represents the correction amount; k represents the number of encrypted data transmissions within 10 unit times; Sc represents the average amount of encrypted data generated within 10 unit times.

[0134] The above method can improve the efficiency of monitoring the remaining capacity of the communication channel during the data transmission process in real time. At the same time, the above method can effectively improve the matching between the time interval adjustment and the remaining capacity and the data volume of the encrypted data transmission at a time, and minimize the channel saturation rate. Moreover, by setting the correction amount, the encrypted data accumulation rate can be reduced while reducing the channel saturation rate. By setting the encrypted data set transmission according to the actual situation of the communication channel, the matching degree between the encrypted data set transmission and the actual situation of the communication channel can be effectively improved, thereby effectively improving the encrypted data transmission efficiency and data transmission stability, and preventing the encrypted data set from being randomly transmitted at one time, resulting in the inability to perform targeted settings according to parameters such as the actual saturation of the communication channel, resulting in excessive single data transmission volume causing channel blockage and affecting data transmission efficiency, and excessive single data transmission volume causing channel resource waste.

[0135] In order to achieve secure storage of the encrypted data, the following implementation methods may be used but are not limited to, for example: obtaining the encrypted data in the channel and extracting key information fragments in the encrypted data, determining the data type of the encrypted data based on the key information fragments, and then storing the encrypted data in a corresponding memory based on the data type, wherein the data length of the type data is obtained through the data type and the data is clustered, and then the clustered data information is spatially divided in the memory, the divided data corresponds to the data in the memory, and the target content of each divided data is extracted, wherein a preset cursor is pointed to the tail of each divided data.

[0136] By analyzing the encrypted data, the information type of the encrypted data can be accurately and effectively confirmed, so as to facilitate the determination of the target cache space for caching the encrypted data. By clustering the encrypted data and classifying the different data types contained in the encrypted data information according to the clustering results, and dividing the memory according to the classification results, it is convenient to store different types of encrypted data in the corresponding memory, thereby ensuring the cache effect and cache accuracy of each type of encrypted data content and type identification. By indicating through the preset cursor pointing, the cache effect of the encrypted data is guaranteed and the security factor of the encrypted data is improved.

[0137] In summary, this embodiment can achieve the following effects:

[0138] 1. The plaintext data is replicated into five groups of identical plaintext data according to the same standard, and then encrypted respectively through five groups of different encryption methods. After the five groups of plaintext data are encrypted, the one with the highest encryption result threshold is used as the final encrypted data based on the internal encryption analysis. The plaintext data can be encrypted multiple times and the one with the best encryption effect can be selected, which further improves the security of plaintext data encryption.

[0139] 2. By setting up the encrypted data set transmission according to the actual situation of the communication channel, the matching degree between the encrypted data set transmission and the actual situation of the communication channel can be effectively improved, thereby effectively improving the encrypted data transmission efficiency and data transmission stability.

[0140] 3. According to the clustering results, the different data types contained in the encrypted data information are classified, and the memory is divided according to the classification results, so as to facilitate the storage of different types of encrypted data in the corresponding memory, and ensure the caching effect and caching accuracy of each type of encrypted data content and type identification.

[0141] 4. The keywords included in each layer of the data are determined according to the keywords of the sub-layers, which improves the accuracy of keyword extraction, so that the required encrypted data information can be retrieved more quickly when the encrypted data is retrieved later.

[0142] Corresponding to the above-mentioned network security search method, the present invention also provides a network security search device. Since the device embodiment of the present invention corresponds to the above-mentioned method embodiment, the details not disclosed in the device embodiment can be referred to the above-mentioned method embodiment, and will not be repeated in the present invention.

[0143] Figure 2 A schematic diagram of the structure of a network security retrieval device provided by an embodiment of the present disclosure, such as Figure 2 As shown, including:

[0144] A division unit 21, configured to divide the encrypted data into a first preset number of data layers;

[0145] An allocating unit 22, configured to allocate the encrypted data in each of the data layers to target sub-layers corresponding to the data layers according to data characteristics of the encrypted data, and the numbers of target sub-layers allocated to different data layers may be the same or different;

[0146] An extraction unit 23, configured to perform word extraction on the encrypted data in each target sub-layer to obtain a target extracted word set;

[0147] The first acquisition unit 24 is configured to acquire a keyword set for searching the encrypted data from the target extraction word set, so as to search the encrypted data according to the keyword set.

[0148] The network security retrieval device provided by the present disclosure divides the encrypted data into a first preset number of data layers; respectively allocates the encrypted data in each of the data layers to the target sub-layer corresponding to the data layer according to the data characteristics of the encrypted data, and the number of target sub-layers allocated to different data layers is the same or different; performs word extraction on the encrypted data in each of the target sub-layers to obtain a target extraction word set; obtains a keyword set for retrieving the encrypted data from the target extraction word set, so as to retrieve the encrypted data based on the keyword set. Compared with the related art, by performing word extraction on each of the target sub-layers to obtain the target extraction word set, and obtaining a keyword set for retrieving the encrypted data based on the target extraction word set, the encrypted data is retrieved based on the keyword set, so that the required encrypted information can be retrieved faster and more accurately.

[0149] Figure 3 This is a schematic diagram of the structure of another network security retrieval device provided by an embodiment of the present disclosure, wherein the extraction unit 23 includes:

[0150] A corresponding module 231, configured to correspond the encrypted data in each target sub-layer to the data layer, and mark the encrypted data that has completed the correspondence as corresponding data;

[0151] A word segmentation module 232 is used to perform a word segmentation operation on the type sentence in the corresponding data to obtain extracted words in the type sentence, wherein the encrypted data of the same type existing in each target sub-layer are grouped, and the encrypted data in each group is a type sentence;

[0152] A first determining module 233, used to determine the word feature of each of the extracted words and the sentence feature of each of the extracted words in the type of sentence;

[0153] A second determination module 234, configured to determine a first similarity between the extracted words according to a preset word entry and the word feature of each of the extracted words;

[0154] A third determination module 235, configured to determine a second similarity between the extracted words according to the first similarity and the sentence feature of each of the extracted words in the type of sentence;

[0155] The deduplication module 236 is configured to perform deduplication processing on the extracted words whose second similarity is greater than a preset similarity to obtain a target extracted word set.

[0156] Furthermore, in a possible implementation of this embodiment, as Figure 3 As shown, the first acquisition unit 24 includes:

[0157] A splicing module 241 is used to splice the extracted words with consecutive positions in the target extracted word set as the smallest text unit to obtain spliced ​​words;

[0158] A cleaning module 242 is used to clean the concatenated words according to part-of-speech statistical features to obtain the keyword set, wherein the part-of-speech statistical features are classification results obtained by feature classification of text in the concatenated words according to whether the text belongs to a content word or a function word;

[0159] The determination module 243 is used to determine the keywords included in each layer of the encrypted data according to the keyword set of each target sub-layer, and associate the keywords of each layer through a search engine to retrieve the encrypted data.

[0160] Furthermore, in a possible implementation of this embodiment, as Figure 3 As shown, the device also includes:

[0161] The encryption unit 25 is used to encrypt the plaintext data by using a second preset number of encryption methods to obtain the second preset number of encryption results; the second preset number of encryption methods includes at least five encryption methods;

[0162] An analysis unit 26 is used to perform security analysis on the second preset number of encryption results respectively to obtain the second preset number of analyzed encryption results;

[0163] The first determining unit 27 is configured to determine the encryption result corresponding to the analysis encryption result with the highest threshold among the second preset number of analysis encryption results as the encrypted data.

[0164] Furthermore, in a possible implementation of this embodiment, as Figure 3 As shown, the device also includes:

[0165] A marking unit 28, configured to obtain a communication channel between the encrypted data and the data transmission platform, and mark the communication channel as a target channel;

[0166] A scanning unit 29, configured to perform data scanning on the target channel and determine channel parameters of the target channel according to the scanning result, wherein the channel parameters include communication channel saturation and current remaining capacity of the communication channel;

[0167] A first setting unit 210, configured to set a dedicated parameter model for the target channel according to the channel parameters;

[0168] The second determining unit 211 is used to determine the data volume of a standard data packet according to the parameter model, where the data volume is the data volume of transmitting the encrypted data once.

[0169] Furthermore, in a possible implementation of this embodiment, as Figure 3 As shown, the device comprises:

[0170] A second acquisition unit 212, configured to acquire the entire amount of the encrypted data to be transmitted;

[0171] A second setting unit 213, configured to set a first transmission time interval of the encrypted data according to the overall data volume and the data volume;

[0172] The transmission unit 214 is configured to transmit the encrypted data based on the first transmission time interval.

[0173] Furthermore, in a possible implementation of this embodiment, as Figure 3 As shown, the transmission unit 214 includes:

[0174] The division module 2141 is used to divide the encrypted data into data packets according to the data volume corresponding to the standard data packets to obtain at least one data packet, wherein when the data volume remaining at the end of the data packet division process is less than the data volume corresponding to one or two complete standard data packets, the data packets with random data volume are divided according to the principle of not less than the lower limit value of the data volume and not more than the upper limit value of the data volume;

[0175] The transmission module 2142 is used to transmit the data packets divided into the encrypted data based on the first transmission time interval.

[0176] Furthermore, in a possible implementation of this embodiment, as Figure 3 As shown, the transmission module 2142 is also used for:

[0177] Real-time monitoring of the remaining capacity of the communication channel of the target channel for transmitting the encrypted data, and comparing the remaining capacity of the communication channel with a preset remaining capacity threshold to obtain a comparison result;

[0178] If the comparison result indicates that the remaining capacity of the communication channel exceeds a preset remaining capacity threshold, the data packet is continuously transmitted according to the first transmission time interval.

[0179] Furthermore, in a possible implementation of this embodiment, as Figure 3 As shown, the transmission module 2142 is also used for:

[0180] If the comparison result indicates that the remaining capacity of the communication channel does not exceed the preset remaining capacity threshold, the first transmission time interval is adaptively adjusted in real time using a transmission speed adaptive adjustment model, and the data packet is continuously transmitted according to the adjusted second transmission time interval.

[0181] It should be noted that the above explanation of the method embodiment is also applicable to the device of this embodiment, and the principle is the same, which is not limited in this embodiment.

[0182] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0183] Figure 4 A schematic block diagram of an example electronic device 300 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0184] like Figure 4As shown, the device 300 includes a computing unit 301, which can perform various appropriate actions and processes according to a computer program stored in a ROM (Read-Only Memory) 302 or a computer program loaded from a storage unit 308 to a RAM (Random Access Memory) 303. In the RAM 303, various programs and data required for the operation of the device 300 can also be stored. The computing unit 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An I / O (Input / Output) interface 305 is also connected to the bus 304.

[0185] A number of components in the device 300 are connected to the I / O interface 305, including: an input unit 306, such as a keyboard, a mouse, etc.; an output unit 307, such as various types of displays, speakers, etc.; a storage unit 308, such as a disk, an optical disk, etc.; and a communication unit 309, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 309 allows the device 300 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0186] The computing unit 301 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, CPU (Central Processing Unit), GPU (Graphic Processing Units), various dedicated AI (Artificial Intelligence) computing chips, various computing units running machine learning model algorithms, DSP (Digital Signal Processor), and any appropriate processor, controller, microcontroller, etc. The computing unit 301 performs the various methods and processes described above, such as a method for network security retrieval. For example, in some embodiments, the method for network security retrieval may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 308. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 300 via the ROM 302 and / or the communication unit 309. When the computer program is loaded into the RAM 303 and executed by the computing unit 301, one or more steps of the method described above may be performed. Alternatively, in other embodiments, the computing unit 301 may be configured to execute the aforementioned network security retrieval method in any other appropriate manner (eg, by means of firmware).

[0187] Various embodiments of the systems and techniques described above herein may be implemented in digital electronic circuit systems, integrated circuit systems, FPGAs (Field Programmable Gate Arrays), ASICs (Application-Specific Integrated Circuits), ASSPs (Application Specific Standard Products), SOCs (System On Chips), CPLDs (Complex Programmable Logic Devices), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that may be executed and / or interpreted on a programmable system including at least one programmable processor that may be a dedicated or general-purpose programmable processor that may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0188] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0189] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a RAM, a ROM, an EPROM (Electrically Programmable Read-Only-Memory) or a flash memory, an optical fiber, a CD-ROM (Compact Dis sc Read-Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0190] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0191] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: LAN (Local Area Network), WAN (Wide Area Network), the Internet, and blockchain networks.

[0192] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.

[0193] It should be noted that artificial intelligence is a discipline that studies how computers can simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), and includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, as well as machine learning / deep learning, big data processing technology, knowledge graph technology, and other major directions.

[0194] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0195] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A network security retrieval method, characterized in that: include: dividing the encrypted data into a first predetermined number of data layers; Allocating the encrypted data in each of the data layers to target sub-layers corresponding to the data layers according to data characteristics of the encrypted data, with the number of target sub-layers allocated to different data layers being the same or different; Performing word extraction on the encrypted data in each target sub-layer to obtain a target extracted word set; A keyword set for searching the encrypted data is obtained from the target extraction word set, so as to search the encrypted data according to the keyword set.

2. The method according to claim 1, characterized in that The word extraction of the encrypted data in each target sub-layer to obtain the target extracted word set includes: Matching the encrypted data in each target sub-layer with the data layer, and marking the corresponding encrypted data as corresponding data; Performing a word segmentation operation on the type sentence in the corresponding data to obtain extracted words in the type sentence, wherein the encrypted data of the same type existing in each of the target sub-layers are grouped together, and the encrypted data in each group is a type sentence; Determining the word feature of each of the extracted words and the sentence feature of each of the extracted words in the type of sentence; Determining a first similarity between the extracted words according to a preset entry and the word feature of each of the extracted words; Determining a second similarity between the extracted words according to the first similarity and the sentence feature of each of the extracted words in the type of sentence; De-duplication processing is performed on the extracted words whose second similarity is greater than a preset similarity to obtain a target extracted word set.

3. The method according to claim 1, characterized in that: The step of obtaining a keyword set for searching the encrypted data from the target extraction word set includes: splicing the extracted words in the target extracted word set that are in consecutive positions as the smallest text unit to obtain spliced ​​words; The concatenated words are cleaned according to part-of-speech statistical features to obtain the keyword set, wherein the part-of-speech statistical features are classification results obtained by feature classification of texts in the concatenated words according to whether the texts belong to content words or function words; The keywords included in each layer of the encrypted data are determined according to the keyword set of each target sub-layer, and the keywords of each layer are associated through a search engine to retrieve the encrypted data.

4. The method according to claim 1, characterized in that: Before distributing the encrypted data to the first preset number of data layers, the method further includes: Encrypting the plaintext data respectively by a second preset number of encryption methods to obtain the second preset number of encryption results; the second preset number of encryption methods includes at least five encryption methods; Performing security analysis on the second preset number of encryption results respectively to obtain the second preset number of analysis encryption results; The encryption result corresponding to the analysis encryption result with the highest threshold among the second preset number of analysis encryption results is determined as the encrypted data.

5. The method according to claim 1, characterized in that Before distributing the encrypted data to the first preset number of data layers, the method further includes: Acquire a communication channel between the encrypted data and the data transmission platform, and mark the communication channel as a target channel; Performing data scanning on the target channel, and determining channel parameters of the target channel according to the scanning result, wherein the channel parameters include communication channel saturation and current communication channel remaining capacity; Setting a dedicated parameter model for the target channel according to the channel parameters; The data volume of a standard data packet is determined according to the parameter model, where the data volume is the data volume of the encrypted data transmitted once.

6. The method according to claim 5, characterized in that After determining the data volume of the standard data packet according to the parameter model, the method includes: Obtaining the total amount of the encrypted data to be transmitted; setting a first transmission time interval of the encrypted data according to the overall data volume and the data volume; The encrypted data is transmitted based on the first transmission time interval.

7. The method according to claim 6, characterized in that The transmitting the encrypted data based on the first transmission time interval includes: Divide the encrypted data into data packets according to the data volume corresponding to the standard data packets to obtain at least one data packet, wherein when the data volume remaining at the end of the data packet division process is less than the data volume corresponding to one or two complete standard data packets, divide the data packets into random data volumes according to the principle of not less than the lower limit value of the data volume and not more than the upper limit value of the data volume; The data packets into which the encrypted data is divided are transmitted based on the first transmission time interval.

8. The method according to claim 7, characterized in that The transmitting of the data packets into which the encrypted data is divided comprises: Real-time monitoring of the remaining capacity of the communication channel of the target channel for transmitting the encrypted data, and comparing the remaining capacity of the communication channel with a preset remaining capacity threshold to obtain a comparison result; If the comparison result indicates that the remaining capacity of the communication channel exceeds a preset remaining capacity threshold, the data packet is continuously transmitted according to the first transmission time interval.

9. The method according to claim 8, characterized in that If the comparison result indicates that the remaining capacity of the communication channel does not exceed the preset remaining capacity threshold, the first transmission time interval is adaptively adjusted in real time using a transmission speed adaptive adjustment model, and the data packet is continuously transmitted according to the adjusted second transmission time interval.

10. A network security retrieval device, characterized in that: include: a division unit, configured to divide the encrypted data into a first preset number of data layers; an allocating unit, configured to allocate the encrypted data in each of the data layers to target sub-layers corresponding to the data layers according to data characteristics of the encrypted data, wherein the numbers of target sub-layers allocated to different data layers are the same or different; An extraction unit, configured to perform word extraction on the encrypted data in each target sub-layer to obtain a target extracted word set; The first acquisition unit is used to acquire a keyword set for searching the encrypted data from the target extraction word set, so as to search the encrypted data according to the keyword set.