Data adaptive encryption method and system based on network security situation assessment
Through network security situation assessment and classification, matching adaptive encryption algorithm combinations, and encrypting data for different network blocks, it solves the problems of encryption delay and insufficient security in the existing technology, and achieves a balance between communication fluency and data protection.
Patent Information
- Application Number
- CN202411037279.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-07-31
AI Technical Summary
Encryption in existing network communications will increase communication delays when the network security situation is good, but when the network security situation is bad, the encryption level is insufficient to meet security requirements.
Adopting a data adaptive encryption method based on network security situation assessment, by acquiring and classifying security attacks, assessing the proportion of network damage, classifying the network, matching adaptive encryption algorithm combinations, encrypting data for different network blocks, and optimizing the use of encryption algorithms .
Analyze the degree of damage caused by actual security attacks in each network block, encrypt appropriately or not to ensure communication fluency, and use appropriate encryption algorithms in high-damage blocks to control the increase in latency to a minimum.
Smart Images

Figure CN118573475B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing, and in particular to a data adaptive encryption method and system based on network security situation assessment. Background Art
[0002] The so-called data encryption and decryption refers to converting a message into meaningless ciphertext through encryption, and the recipient restores the ciphertext into plaintext through decryption. Encryption technology is the cornerstone of network security technology; with the rapid development of information technology today, data encryption and decryption technology is receiving more and more attention.
[0003] In existing network communications, encryption is usually performed indiscriminately under all network security situations, but encryption is time-consuming. When the network security situation is good, encryption will increase communication delays. When the network security situation is poor, the degree of encryption may be insufficient to meet security requirements. Summary of the invention
[0004] In order to solve the above technical problems, a data adaptive encryption method and system based on network security situation assessment are provided. The technical solution solves the problem that in the existing network communication proposed in the above background technology, indiscriminate encryption is usually performed under all network security situations, but encryption is time-consuming. When the network security situation is good, encryption will increase the communication delay, and when the network security situation is bad, the degree of encryption may be insufficient to meet security requirements.
[0005] In order to achieve the above purpose, the technical solution adopted by the present invention is:
[0006] The data adaptive encryption method based on network security situation assessment includes:
[0007] Acquire at least one existing security attack in the network, classify the at least one security attack, and obtain at least one security attack set;
[0008] Obtain the proportion of network damage caused by the security attacks in the security attack set as the network damage proportion, and make a one-to-one correspondence between the network damage proportion and the security attack set;
[0009] Based on the security attack set, the network security situation is evaluated to obtain at least one actual security attack, and based on the evaluation result of the network security situation, the network is classified to obtain at least one network block;
[0010] Call the network damage ratio corresponding to the security attack set to which the actual security attack belongs, calculate the average network damage ratio of the actual security attack in the network block as the damage ratio of the network block, and take the network block with a damage ratio greater than the preset value as the network block to be adjusted;
[0011] Based on the composition of the actual security attacks in the network block to be adjusted, a main attack combination is obtained;
[0012] Obtain at least one existing encryption algorithm, and classify the at least one encryption algorithm based on the encryption protection degree to obtain at least one encryption algorithm set;
[0013] Based on the protection of the encryption algorithm set against the security attack set, the encryption algorithm set is paired with the security attack set;
[0014] Obtain the encryption time of the data by the encryption algorithm in the encryption algorithm set, and obtain the network encryption cost;
[0015] Based on the main attack combination, an adaptive encryption algorithm combination is formed for the network block to be adjusted, and the adaptive encryption algorithm combination is used to encrypt data in the network block to be adjusted.
[0016] Preferably, the classifying at least one security attack to obtain at least one security attack set comprises the following steps:
[0017] Acquire sample network data, back up the sample network data, and obtain at least one sample network backup data;
[0018] Match sample network backup data with security attacks one by one;
[0019] Use security attacks to attack the corresponding sample network backup data to obtain sample network attacked data;
[0020] The proportion of the sample network attacked data that is different from the sample network data is taken as the sample proportion, and the sample proportion is paired with the security attack;
[0021] Based on the sample ratio, at least one security attack is classified to obtain at least one security attack set, wherein a difference in the sample ratio of the security attacks in the security attack set is less than a preset ratio.
[0022] Preferably, obtaining the damage ratio of the security attacks in the security attack set to the network as the network damage ratio comprises the following steps:
[0023] The sample proportions of security attacks in the security attack set are superimposed and averaged to obtain the network damage proportion.
[0024] Preferably, the evaluating of the network security situation based on the security attack set comprises the following steps:
[0025] Obtain the network range of network data transmission, and obtain the security attacks in the network range as actual security attacks;
[0026] Obtain the security attack set to which the actual security attack belongs, match the network damage ratio corresponding to the security attack set to the actual security attack, and complete the assessment of the network security situation.
[0027] Preferably, the network classification based on the evaluation result of the network security situation comprises the following steps:
[0028] The locations within the network where actual security attacks with a network damage ratio difference smaller than a preset ratio are located are aggregated to obtain at least one network block, thus completing the network classification.
[0029] Preferably, the step of obtaining the main attack combination based on the composition of the actual security attack in the network block to be adjusted comprises the following steps:
[0030] Summarize the actual security attacks belonging to the same security attack set in the network block to be adjusted to obtain the actual security attack category, and match the network damage ratio corresponding to the security attack set to the actual security attack category;
[0031] Obtain the number of actual security attacks in the actual security attack category as the target number;
[0032] The number of targets is multiplied by the network damage ratio corresponding to the actual security attack category to obtain the actual attack ratio;
[0033] The actual security attack categories whose actual attack proportion is greater than the preset proportion are obtained to obtain the main attack combination.
[0034] Preferably, the classifying at least one encryption algorithm based on the encryption protection degree comprises the following steps:
[0035] The sample network backup data is matched with the encryption algorithm one by one, and the sample network backup data is encrypted using the encryption algorithm corresponding to the sample network backup data to obtain the sample network encrypted data;
[0036] Pairing the sample network backup data corresponding to the security attack with the sample network encrypted data;
[0037] Use a security attack to attack the encrypted data of the corresponding sample network to obtain protected data of the sample network;
[0038] The proportion of the sample network protected data and the part that is different from the sample network data is used as the protection ratio, and the protection ratio is paired with the security attack;
[0039] Subtract the sample ratio corresponding to the same security attack from the protection ratio to obtain the improvement ratio;
[0040] At least one encryption algorithm is classified to obtain at least one encryption algorithm set, wherein a difference in improvement ratios of encryption algorithms in the encryption algorithm set is less than a preset amount.
[0041] Preferably, pairing the encryption algorithm set with the security attack set comprises the following steps:
[0042] Calculate the average of the improvement ratios of the encryption algorithms in the encryption algorithm set to obtain the average improvement ratio;
[0043] Obtain at least one encryption algorithm set whose difference between the improvement mean ratio and the network damage ratio corresponding to the security attack set is less than a preset value, and associate it with the security attack set;
[0044] The encryption algorithm set with the least network encryption cost in at least one encryption algorithm set associated with the security attack set is paired with the security attack set.
[0045] Preferably, the forming of an adaptive encryption algorithm combination for the network block to be adjusted based on the main attack combination comprises the following steps:
[0046] Obtaining at least one actual security attack category in the main attack combination;
[0047] Use the encryption algorithm set corresponding to the security attack set corresponding to the actual security attack category as the target encryption algorithm set;
[0048] Matching actual security attacks in the actual security attack category to a target encryption algorithm set;
[0049] The actual security attack in the network block to be adjusted is identified, and the data in the area where the actual security attack occurs is encrypted using an encryption algorithm of a target encryption algorithm set corresponding to the actual security attack.
[0050] The data adaptive encryption system based on network security situation assessment is used to implement the above-mentioned data adaptive encryption method based on network security situation assessment, including:
[0051] An attack classification module, wherein the attack classification module obtains at least one existing security attack in the network, classifies the at least one security attack, and obtains at least one security attack set;
[0052] A ratio acquisition module, wherein the ratio acquisition module acquires the damage ratio of the security attacks in the security attack set to the network as the network damage ratio, and makes a one-to-one correspondence between the network damage ratio and the security attack set;
[0053] A network classification module, wherein the network classification module evaluates the network security situation based on the security attack set to obtain at least one actual security attack, and performs network classification based on the evaluation result of the network security situation to obtain at least one network block;
[0054] A ratio calculation module, wherein the ratio calculation module calls the network damage ratio corresponding to the security attack set to which the actual security attack belongs, calculates the average network damage ratio of the actual security attack in the network block as the damage ratio of the network block, and takes the network block with a damage ratio greater than a preset value as the network block to be adjusted;
[0055] An attack combination module, wherein the attack combination module obtains a main attack combination based on the composition of actual security attacks in the network block to be adjusted;
[0056] An encryption classification module, wherein the encryption classification module obtains at least one existing encryption algorithm, and classifies the at least one encryption algorithm based on the encryption protection degree to obtain at least one encryption algorithm set;
[0057] A mapping pairing module, wherein the mapping pairing module pairs the encryption algorithm set with the security attack set based on the protection of the encryption algorithm set against the security attack set;
[0058] A time calculation module, wherein the time calculation module obtains the encryption time of the data by the encryption algorithm in the encryption algorithm set to obtain the network encryption cost;
[0059] The encryption module forms an adaptive encryption algorithm combination for the network block to be adjusted based on the main attack combination, and uses the adaptive encryption algorithm combination to encrypt data in the network block to be adjusted.
[0060] Compared with the prior art, the present invention has the following beneficial effects:
[0061] By setting up a network classification module, a ratio calculation module, an attack combination module, a mapping pairing module and an encryption module, the network security situation is evaluated, and the network is divided according to the evaluation results to obtain network blocks. The degree of damage of actual security attacks in network blocks is approximate. Therefore, the actual security attacks can be analyzed in each network block. Network blocks with a low degree of damage are not encrypted to ensure the smoothness of communication. For network blocks with a high degree of damage, the encryption algorithm is matched in a targeted manner, so that the encryption algorithm used in the network block can just meet the protection of the data, and no more complex encryption algorithm will be used, thereby controlling the increase in delay to a minimum. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1It is a schematic diagram of the flow of the data adaptive encryption method based on network security situation assessment of the present invention;
[0063] Figure 2 A schematic diagram of a process of classifying at least one security attack to obtain at least one security attack set according to the present invention;
[0064] Figure 3 A schematic diagram of a process for evaluating network security situation based on a security attack set of the present invention;
[0065] Figure 4 The present invention is based on the composition of the actual security attack in the network block to be adjusted, and obtains a schematic diagram of the main attack combination flow;
[0066] Figure 5 A schematic diagram of a flow chart of classifying at least one encryption algorithm based on the encryption protection degree of the present invention;
[0067] Figure 6 A schematic diagram of a flow chart of pairing an encryption algorithm set with a security attack set according to the present invention;
[0068] Figure 7 This is a schematic diagram of the process flow of forming an adaptive encryption algorithm combination for adjusting the network block based on the main attack combination of the present invention. DETAILED DESCRIPTION
[0069] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art may think of other obvious variations.
[0070] Reference Figure 1 As shown, the data adaptive encryption method based on network security situation assessment includes:
[0071] Acquire at least one existing security attack in the network, classify the at least one security attack, and obtain at least one security attack set;
[0072] Obtain the proportion of network damage caused by the security attacks in the security attack set as the network damage proportion, and make a one-to-one correspondence between the network damage proportion and the security attack set;
[0073] Based on the security attack set, the network security situation is evaluated to obtain at least one actual security attack, and based on the evaluation result of the network security situation, the network is classified to obtain at least one network block;
[0074] Call the network damage ratio corresponding to the security attack set to which the actual security attack belongs, calculate the average network damage ratio of the actual security attack in the network block as the damage ratio of the network block, and take the network block with a damage ratio greater than the preset value as the network block to be adjusted;
[0075] Based on the composition of the actual security attacks in the network block to be adjusted, a main attack combination is obtained;
[0076] Obtain at least one existing encryption algorithm, and classify the at least one encryption algorithm based on the encryption protection degree to obtain at least one encryption algorithm set;
[0077] Based on the protection of the encryption algorithm set against the security attack set, the encryption algorithm set is paired with the security attack set;
[0078] Obtain the encryption time of the data by the encryption algorithm in the encryption algorithm set, and obtain the network encryption cost;
[0079] Based on the main attack combination, an adaptive encryption algorithm combination is formed for the network block to be adjusted, and the adaptive encryption algorithm combination is used to encrypt data in the network block to be adjusted.
[0080] Reference Figure 2 As shown, classifying at least one security attack to obtain at least one security attack set includes the following steps:
[0081] Acquire sample network data, back up the sample network data, and obtain at least one sample network backup data;
[0082] Match sample network backup data with security attacks one by one;
[0083] Use security attacks to attack the corresponding sample network backup data to obtain sample network attacked data;
[0084] The proportion of the sample network attacked data that is different from the sample network data is taken as the sample proportion, and the sample proportion is paired with the security attack;
[0085] Based on the sample ratio, at least one security attack is classified to obtain at least one security attack set, wherein a difference in the sample ratio of the security attacks in the security attack set is less than a preset ratio.
[0086] There are many types of security attacks in the network, and the destructiveness they cause is different. By classifying security attacks, similar security attacks can be processed in the same way, thereby reducing the computing power during processing. At the same time, according to the classification of security attacks, encryption algorithms can be matched in a targeted manner, thereby avoiding data damage caused by security attacks.
[0087] Obtaining the damage ratio of the security attacks in the security attack set to the network as the network damage ratio includes the following steps:
[0088] The sample proportions of security attacks in the security attack set are superimposed and averaged to obtain the network damage proportion.
[0089] Reference Figure 3 As shown in the figure, based on the security attack set, the network security situation assessment includes the following steps:
[0090] Obtain the network range of network data transmission, and obtain the security attacks in the network range as actual security attacks;
[0091] Obtain the security attack set to which the actual security attack belongs, match the network damage ratio corresponding to the security attack set to the actual security attack, and complete the assessment of the network security situation.
[0092] The network damage ratio is formed by the security attacks in the security attack set, and it numerically displays the damage that can be caused by the security attacks in the security attack set. Therefore, the encryption algorithm used for data protection can be determined based on the numerical value. Under the protection of the encryption algorithm, the degree of damage of the security attacks in the security attack set can be controlled within the allowable range.
[0093] Based on the assessment results of network security situation, network classification includes the following steps:
[0094] The locations within the network where actual security attacks with a network damage ratio difference smaller than a preset ratio are located are aggregated to obtain at least one network block, thus completing the network classification.
[0095] The actual security attacks in each network block are similar. Therefore, when performing data encryption protection, the encryption algorithm for any actual security attack can also have a good protection effect on the remaining actual security attacks.
[0096] Reference Figure 4 As shown, based on the composition of the actual security attack in the network block to be adjusted, obtaining the main attack combination includes the following steps:
[0097] Summarize the actual security attacks belonging to the same security attack set in the network block to be adjusted to obtain the actual security attack category, and match the network damage ratio corresponding to the security attack set to the actual security attack category;
[0098] Obtain the number of actual security attacks in the actual security attack category as the target number;
[0099] The number of targets is multiplied by the network damage ratio corresponding to the actual security attack category to obtain the actual attack ratio;
[0100] The actual security attack categories whose actual attack proportion is greater than the preset proportion are obtained to obtain the main attack combination.
[0101] Since there are many actual security attacks in the network block to be adjusted, a very small proportion of the actual security attacks will not have much impact on the overall situation and can be ignored. Therefore, after excluding the ignored actual security attacks, the main attack combination is obtained. The main attack combination is encrypted in a targeted manner to ensure that the damage in the network block to be adjusted is controlled within the allowable range.
[0102] Reference Figure 5 As shown, classifying at least one encryption algorithm based on the encryption protection level includes the following steps:
[0103] The sample network backup data is matched with the encryption algorithm one by one, and the sample network backup data is encrypted using the encryption algorithm corresponding to the sample network backup data to obtain the sample network encrypted data;
[0104] Pairing the sample network backup data corresponding to the security attack with the sample network encrypted data;
[0105] Use a security attack to attack the encrypted data of the corresponding sample network to obtain protected data of the sample network;
[0106] The proportion of the sample network protected data and the part that is different from the sample network data is used as the protection ratio, and the protection ratio is paired with the security attack;
[0107] Subtract the sample ratio corresponding to the same security attack from the protection ratio to obtain the improvement ratio;
[0108] At least one encryption algorithm is classified to obtain at least one encryption algorithm set, wherein a difference in improvement ratios of encryption algorithms in the encryption algorithm set is less than a preset amount.
[0109] There are many types of encryption algorithms, and the degree of protection they provide to data is different. Generally, the higher the degree of protection, the higher the complexity, and therefore, the longer the encryption takes. Therefore, encryption algorithms need to be classified so that the complexity of the encryption algorithm matches the attack, and there is no need to use a more complex encryption algorithm to encrypt data in the attack area, thereby controlling the increase in delay.
[0110] Reference Figure 6 As shown, pairing a set of encryption algorithms with a set of security attacks includes the following steps:
[0111] Calculate the average of the improvement ratios of the encryption algorithms in the encryption algorithm set to obtain the average improvement ratio;
[0112] Obtain at least one encryption algorithm set whose difference between the improvement mean ratio and the network damage ratio corresponding to the security attack set is less than a preset value, and associate it with the security attack set;
[0113] The encryption algorithm set with the least network encryption cost in at least one encryption algorithm set associated with the security attack set is paired with the security attack set.
[0114] The purpose of pairing an encryption algorithm set with a security attack set is to match an encryption algorithm set with similar protection performance to the degree of damage of the security attack set to the corresponding security attack set, thereby facilitating data calls.
[0115] Reference Figure 7 As shown, based on the main attack combination, the adaptive encryption algorithm combination for adjusting the network block includes the following steps:
[0116] Obtaining at least one actual security attack category in the main attack combination;
[0117] Use the encryption algorithm set corresponding to the security attack set corresponding to the actual security attack category as the target encryption algorithm set;
[0118] Matching actual security attacks in the actual security attack category to a target encryption algorithm set;
[0119] The actual security attack in the network block to be adjusted is identified, and the data in the area where the actual security attack occurs is encrypted using an encryption algorithm of a target encryption algorithm set corresponding to the actual security attack.
[0120] There are multiple actual security attacks in the network block to be adjusted. Although the differences are small, there are still differences. Therefore, different levels of data protection are needed, and the data at the location where the actual security attack occurs is encrypted to a corresponding degree. In this way, most of the damage to the data caused by the actual security attack can be offset, and the degree of data damage can be controlled within the allowable range, thereby achieving a protective effect.
[0121] The data adaptive encryption system based on network security situation assessment is used to implement the above-mentioned data adaptive encryption method based on network security situation assessment, including:
[0122] An attack classification module, wherein the attack classification module obtains at least one existing security attack in the network, classifies the at least one security attack, and obtains at least one security attack set;
[0123] A ratio acquisition module, wherein the ratio acquisition module acquires the damage ratio of the security attacks in the security attack set to the network as the network damage ratio, and makes a one-to-one correspondence between the network damage ratio and the security attack set;
[0124] A network classification module, wherein the network classification module evaluates the network security situation based on the security attack set to obtain at least one actual security attack, and performs network classification based on the evaluation result of the network security situation to obtain at least one network block;
[0125] A ratio calculation module, wherein the ratio calculation module calls the network damage ratio corresponding to the security attack set to which the actual security attack belongs, calculates the average network damage ratio of the actual security attack in the network block as the damage ratio of the network block, and takes the network block with a damage ratio greater than a preset value as the network block to be adjusted;
[0126] An attack combination module, wherein the attack combination module obtains a main attack combination based on the composition of actual security attacks in the network block to be adjusted;
[0127] An encryption classification module, wherein the encryption classification module obtains at least one existing encryption algorithm, and classifies the at least one encryption algorithm based on the encryption protection degree to obtain at least one encryption algorithm set;
[0128] A mapping pairing module, wherein the mapping pairing module pairs the encryption algorithm set with the security attack set based on the protection of the encryption algorithm set against the security attack set;
[0129] A time calculation module, wherein the time calculation module obtains the encryption time of the data by the encryption algorithm in the encryption algorithm set to obtain the network encryption cost;
[0130] The encryption module forms an adaptive encryption algorithm combination for the network block to be adjusted based on the main attack combination, and uses the adaptive encryption algorithm combination to encrypt data in the network block to be adjusted.
[0131] Furthermore, the present solution also proposes a storage medium on which a computer-readable program is stored. When the computer-readable program is called, the above-mentioned data adaptive encryption method based on network security situation assessment is executed.
[0132] It is understandable that the storage medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; an optical medium, such as a DVD; or a semiconductor medium, such as a solid state drive (SSD).
[0133] In summary, the advantages of the present invention are: by setting a network classification module, a ratio calculation module, an attack combination module, a mapping pairing module and an encryption module, the network security situation is evaluated, and the network is divided according to the evaluation results to obtain network blocks. The degree of damage of actual security attacks in the network blocks is approximately the same. Therefore, the actual security attacks can be analyzed in each network block. For network blocks with a low degree of damage, encryption is not performed to ensure the smoothness of communication. For network blocks with a high degree of damage, the encryption algorithm is matched in a targeted manner, so that the encryption algorithm used in the network block can just meet the protection of the data, and no more complex encryption algorithm will be used, thereby controlling the increase in delay to a minimum range.
[0134] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions only describe the principles of the present invention. The present invention may be subject to various changes and improvements without departing from the spirit and scope of the present invention. These changes and improvements fall within the scope of the present invention. The scope of protection claimed by the present invention is defined by the attached claims and their equivalents.
Claims
1. A data adaptive encryption method based on network security situation assessment, characterized in that: include: Acquire at least one existing security attack in the network, classify the at least one security attack, and obtain at least one security attack set; Obtain the proportion of network damage caused by security attacks in the security attack set as the network damage proportion, and make a one-to-one correspondence between the network damage proportion and the security attack set; Based on the security attack set, the network security situation is evaluated to obtain at least one actual security attack, and based on the evaluation result of the network security situation, the network is classified to obtain at least one network block; Call the network damage ratio corresponding to the security attack set to which the actual security attack belongs, calculate the average network damage ratio of the actual security attack in the network block as the damage ratio of the network block, and take the network block with a damage ratio greater than the preset value as the network block to be adjusted; Based on the composition of the actual security attacks in the network block to be adjusted, a main attack combination is obtained; Obtain at least one existing encryption algorithm, and classify the at least one encryption algorithm based on the encryption protection degree to obtain at least one encryption algorithm set; Based on the protection of the encryption algorithm set against the security attack set, the encryption algorithm set is paired with the security attack set; Obtain the encryption time of the data by the encryption algorithm in the encryption algorithm set, and obtain the network encryption cost; Based on the main attack combination, an adaptive encryption algorithm combination is formed for the network block to be adjusted, and the adaptive encryption algorithm combination is used to encrypt data in the network block to be adjusted.
2. The data adaptive encryption method based on network security situation assessment according to claim 1 is characterized in that: The classifying at least one security attack to obtain at least one security attack set comprises the following steps: Acquire sample network data, back up the sample network data, and obtain at least one sample network backup data; Match sample network backup data with security attacks one by one; Use security attacks to attack the corresponding sample network backup data to obtain sample network attacked data; The proportion of the sample network attacked data that is different from the sample network data is taken as the sample proportion, and the sample proportion is paired with the security attack; Based on the sample ratio, at least one security attack is classified to obtain at least one security attack set, wherein a difference in the sample ratio of the security attacks in the security attack set is less than a preset ratio.
3. The data adaptive encryption method based on network security situation assessment according to claim 2 is characterized in that: The obtaining of the damage ratio of the security attacks in the security attack set to the network as the network damage ratio comprises the following steps: The sample proportions of security attacks in the security attack set are superimposed and averaged to obtain the network damage proportion.
4. The data adaptive encryption method based on network security situation assessment according to claim 3 is characterized in that: The evaluation of the network security situation based on the security attack set includes the following steps: Obtain the network range of network data transmission, and obtain the security attacks in the network range as actual security attacks; Obtain the security attack set to which the actual security attack belongs, match the network damage ratio corresponding to the security attack set to the actual security attack, and complete the assessment of the network security situation.
5. The data adaptive encryption method based on network security situation assessment according to claim 4 is characterized in that: The network classification based on the evaluation result of the network security situation includes the following steps: The locations within the network where actual security attacks with a network damage ratio difference smaller than a preset ratio are located are aggregated to obtain at least one network block, thus completing the network classification.
6. The data adaptive encryption method based on network security situation assessment according to claim 5 is characterized in that: The step of obtaining the main attack combination based on the composition of the actual security attack in the network block to be adjusted comprises the following steps: Summarize the actual security attacks belonging to the same security attack set in the network block to be adjusted to obtain the actual security attack category, and match the network damage ratio corresponding to the security attack set to the actual security attack category; Obtain the number of actual security attacks in the actual security attack category as the target number; The number of targets is multiplied by the network damage ratio corresponding to the actual security attack category to obtain the actual attack ratio; The actual security attack categories whose actual attack proportion is greater than the preset proportion are obtained to obtain the main attack combination.
7. The data adaptive encryption method based on network security situation assessment according to claim 6 is characterized in that: The classifying of at least one encryption algorithm based on the encryption protection degree comprises the following steps: The sample network backup data is matched with the encryption algorithm one by one, and the sample network backup data is encrypted using the encryption algorithm corresponding to the sample network backup data to obtain the sample network encrypted data; Pairing the sample network backup data corresponding to the security attack with the sample network encrypted data; Use a security attack to attack the encrypted data of the corresponding sample network to obtain protected data of the sample network; The proportion of the sample network protected data and the part that is different from the sample network data is used as the protection ratio, and the protection ratio is paired with the security attack; Subtract the sample ratio corresponding to the same security attack from the protection ratio to obtain the improvement ratio; At least one encryption algorithm is classified to obtain at least one encryption algorithm set, wherein a difference in improvement ratios of encryption algorithms in the encryption algorithm set is less than a preset amount.
8. The data adaptive encryption method based on network security situation assessment according to claim 7 is characterized in that: The pairing of the encryption algorithm set with the security attack set comprises the following steps: Calculate the average of the improvement ratios of the encryption algorithms in the encryption algorithm set to obtain the average improvement ratio; Obtain at least one encryption algorithm set whose difference between the improvement mean ratio and the network damage ratio corresponding to the security attack set is less than a preset value, and associate it with the security attack set; The encryption algorithm set with the least network encryption cost in at least one encryption algorithm set associated with the security attack set is paired with the security attack set.
9. The data adaptive encryption method based on network security situation assessment according to claim 8 is characterized in that: The method of forming an adaptive encryption algorithm combination for the network block to be adjusted based on the main attack combination includes the following steps: Obtaining at least one actual security attack category in the main attack combination; Use the encryption algorithm set corresponding to the security attack set corresponding to the actual security attack category as the target encryption algorithm set; Matching actual security attacks in the actual security attack category to a target encryption algorithm set; The actual security attack in the network block to be adjusted is identified, and the data in the area where the actual security attack occurs is encrypted using an encryption algorithm of a target encryption algorithm set corresponding to the actual security attack.
10. A data adaptive encryption system based on network security situation assessment, used to implement the data adaptive encryption method based on network security situation assessment according to any one of claims 1 to 9, characterized in that: include: An attack classification module, wherein the attack classification module obtains at least one existing security attack in the network, classifies the at least one security attack, and obtains at least one security attack set; A ratio acquisition module, wherein the ratio acquisition module acquires the damage ratio of the security attacks in the security attack set to the network as the network damage ratio, and makes a one-to-one correspondence between the network damage ratio and the security attack set; A network classification module, wherein the network classification module evaluates the network security situation based on the security attack set to obtain at least one actual security attack, and performs network classification based on the evaluation result of the network security situation to obtain at least one network block; A ratio calculation module, wherein the ratio calculation module calls the network damage ratio corresponding to the security attack set to which the actual security attack belongs, calculates the average network damage ratio of the actual security attack in the network block as the damage ratio of the network block, and takes the network block with a damage ratio greater than a preset value as the network block to be adjusted; An attack combination module, wherein the attack combination module obtains a main attack combination based on the composition of actual security attacks in the network block to be adjusted; An encryption classification module, wherein the encryption classification module obtains at least one existing encryption algorithm, and classifies the at least one encryption algorithm based on the encryption protection degree to obtain at least one encryption algorithm set; A mapping pairing module, wherein the mapping pairing module pairs the encryption algorithm set with the security attack set based on the protection of the encryption algorithm set against the security attack set; A time calculation module, wherein the time calculation module obtains the encryption time of the data by the encryption algorithm in the encryption algorithm set to obtain the network encryption cost; The encryption module forms an adaptive encryption algorithm combination for the network block to be adjusted based on the main attack combination, and uses the adaptive encryption algorithm combination to encrypt data in the network block to be adjusted.
