Network security information protection method and system based on AI learning
Through the network security information protection method based on AI learning, the length and quantity of data transmission keys are dynamically adjusted, which solves the problem that the key security cannot be effectively improved in the existing technology, and realizes the improvement of data transmission while ensuring the security of encrypted transmission. efficiency.
Patent Information
- Application Number
- CN202410904669.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-07-08
AI Technical Summary
Existing data transmission encryption methods cannot determine the optimal key length and quantity based on the current data interaction situation, and cannot dynamically adjust the key security level based on the interface purpose, resulting in the inability to effectively improve key security.
Adopting a network security information protection method based on AI learning, by recording server abnormal conditions, analyzing data transmission security situation, classifying interfaces, evaluating key upgrade suitability, and executing the key upgrade process according to the interface type to regenerate the key. The security level of data transmission is evaluated cyclically until a security signal is reached.
It realizes the dynamic adjustment of key length and quantity according to the interface purpose, improves data transmission security, takes into account data transmission efficiency, and solves the problem of manually adjusting key security being unable to determine the optimal number of digits and quantity.
Smart Images

Figure CN118449788B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data adaptive encryption, and in particular to a network security information protection method based on AI learning. Background Art
[0002] Data encryption technology is one of the main technical means used to improve the security and confidentiality of information systems and data and prevent secret data from being deciphered by outsiders. Technical measures are taken from both software and hardware aspects. According to different functions, data encryption technology can be divided into data transmission encryption technology, data storage encryption technology, data integrity identification technology and key management technology.
[0003] Current data transmission encryption methods, including symmetric encryption and asymmetric encryption, in order to ensure data transmission security, in addition to regularly changing keys, usually adopt the method of manually increasing key length or increasing the number of keys to increase key security. The problem with this method is that it is impossible to determine the optimal number of bits for the increased key length and the optimal number of keys to be increased based on the current data interaction situation, and this method cannot automatically and dynamically adjust the key security level in combination with the current network security situation.
[0004] Secondly, in data communications between different IPs, all interfaces usually use the same or the same set of keys for encrypted transmission. The method of increasing key security is relatively simple, and different key upgrade schemes cannot be adopted according to the difference in interface usage. Summary of the invention
[0005] In order to solve the above technical problems, a network security information protection method and system based on AI learning are provided. This technical solution solves the problems raised in the above background technology.
[0006] In order to achieve the above purpose, the technical solution adopted by the present invention is:
[0007] A network security information protection method based on AI learning, comprising:
[0008] Record abnormal server conditions within a set time period, analyze server security trends within a set time period, and evaluate the security level of data transmission;
[0009] Analyze the interactive interface for data transmission between two IP addresses, and divide the interface into Class I interface and Class II interface according to its purpose;
[0010] Analyze the data interaction and data attributes of the interface, and evaluate the key upgrade adaptability of the interface;
[0011] When the data transmission security level is low, the interface data interaction key upgrade process is executed according to different interface types;
[0012] Regenerate keys to replace keys in use, cyclically evaluate the security of data transmission, and execute the interface data interaction key upgrade process.
[0013] Preferably, recording abnormal conditions of the server within a set time period, analyzing the security situation of the server within the set time period, and evaluating the security level of data transmission include:
[0014] Set the time interval T1, and obtain the DDOS attack frequency, interface abnormal access frequency, and sensitive data operation frequency of the server within the time interval T1;
[0015] Different proportional coefficients are preset for the frequency of DDOS attacks on the server, the frequency of abnormal interface access, and the frequency of sensitive data operations. The data transmission risk index is calculated in combination with the firewall level enabled on the server. The data transmission risk index calculation formula is:
[0016] In the formula, is the data transmission risk index, is the firewall level, , , They are the frequency of DDOS attacks on the server, the frequency of abnormal interface access, and the frequency of sensitive data operations. , , They are , , The proportionality coefficient of
[0017] A data transmission hidden danger index threshold is set. When the data transmission hidden danger index is greater than or equal to the data transmission hidden danger index threshold, it indicates that the data transmission security level is low, and a data transmission hidden danger signal is issued;
[0018] When the data transmission hidden danger index is less than the data transmission hidden danger index threshold, it indicates that the data transmission security level is relatively high, and a data transmission security signal is issued.
[0019] Preferably, the analysis of the interactive interface for data transmission between two IP addresses and the classification of the interface into a first-class interface and a second-class interface according to the purpose of the interface include:
[0020] Obtain all interfaces related to data transmission between two IP addresses that need to interact with each other;
[0021] Interfaces are classified according to their functions and purposes. Interfaces whose functions involve adding, deleting, and modifying data are marked as Class I interfaces, and interfaces whose functions involve querying data are marked as Class II interfaces.
[0022] Preferably, analyzing the data interaction and data attributes of the interface and evaluating the key upgrade adaptability of the interface includes:
[0023] Set the time interval T2. Within the time interval T2, record the detailed information of each data interaction of a single interface, including data size, data type and interaction duration. Create an interface data interaction information set based on the detailed information of each data interaction. , ;in It is the detailed information of the i-th data interaction of the interface. The total number of data interactions for a single interface; based on the interface data interaction information set Calculate the data interaction time dimension balance index. The calculation formula for the data interaction time dimension balance index is:
[0024] In the formula, is the time dimension equilibrium index, is the interaction time of the i-th data, is the average data interaction duration, is the data type weight; according to the average size of data transmission in T2 time, the frequency of data interaction, and the time dimension balance index, the key upgrade adaptation index of the interface is calculated. The key upgrade adaptation index calculation formula is:
[0025] In the formula, is the key upgrade adaptation index, is the time dimension equilibrium index, is the average data size, is the data interaction frequency;
[0026] Calculate the key upgrade adaptation index of all interfaces, and construct a first-class interface key upgrade adaptation index set and a second-class interface key upgrade adaptation index set according to the interface type. The first-class interface key upgrade adaptation index set is , ; is the key upgrade adaptation index of the i-th class I interface, and the set of class II interface key upgrade adaptation indexes is , ; is the key upgrade adaptation index of the i-th type II interface.
[0027] Preferably, when the data transmission security level is low, executing the interface data interaction key upgrade process according to different interface types includes:
[0028] Detect the current data transmission security situation, and when receiving a data transmission risk signal, execute the interface data interaction key upgrade process;
[0029] The interface data interaction key upgrade process includes a type I interface data interaction key upgrade process and a type II data interaction key upgrade process;
[0030] Get the interface that needs to be key upgraded, determine whether the interface type is a Class I interface, if so, start the Class I interface data interaction key upgrade processing flow and increase the key length, if not, start the Class II interface data interaction key upgrade processing flow and increase the number of keys.
[0031] Preferably, the first class interface data interaction key upgrade processing flow, increasing the key length includes:
[0032] Get the key information of the key currently used by the interface and the current data transmission risk index;
[0033] According to the key information of the key currently used by the interface and the current data transmission risk index, a class of interface key upgrade adaptation index set is combined Analyze and calculate the key length after the data interaction key upgrade is adjusted. The calculation formula for the adjusted key length is:
[0034] In the formula, is the average value of the key upgrade adaptation index of a class of interfaces. is the adjusted key length, is the key length of the key currently in use, is the data transmission risk index, and v is an adjustable parameter.
[0035] Preferably, the second-class interface data interaction key upgrade process, increasing the number of keys includes:
[0036] According to the key information of the key currently used by the interface and the current data transmission risk index, combined with the second-class interface key upgrade adaptation index set Perform analysis and calculate the number of keys adjusted after the data exchange key upgrade. The formula for calculating the adjusted number of keys is:
[0037] In the formula, is the average value of the second-class interface key upgrade adaptation index, is the adjusted number of keys, is the number of keys currently in use, is the data transmission risk index, and z is an adjustable parameter.
[0038] Preferably, the regenerated key replaces the key in use, cyclically evaluates the security level of data transmission, and executes the interface data interaction key upgrade process flow, which includes:
[0039] Get the adjusted key length of a class of interfaces, regenerate the key according to the adjusted key length, and replace the key in use;
[0040] Obtain the number of keys adjusted for the second-class interface, regenerate the corresponding number of keys based on the adjusted number of keys, and replace the keys in use;
[0041] After the key is replaced, the step of evaluating the security level of data transmission and the step of interface data interaction key upgrade processing flow are executed cyclically until a data transmission security signal is detected to end the cycle.
[0042] Furthermore, a network security information protection system based on AI learning is proposed, which is used to implement the network security information protection method based on AI learning as described above, including:
[0043] A data transmission security assessment module, which comprehensively assesses the data transmission security level according to the frequency of abnormal conditions occurring on the server within a set time period and the level of the firewall opened on the server, and issues a data transmission risk signal or a data transmission security signal;
[0044] An interface classification module, wherein the interface classification module classifies interfaces according to their functional uses, marks operation-type interfaces as first-class interfaces, and query-type interfaces as second-class interfaces;
[0045] An interface key upgrade adaptability evaluation module, wherein the interface key upgrade adaptability evaluation module evaluates its ability to adapt to key upgrade according to detailed information of interface data interaction;
[0046] An interactive key upgrade processing module, which is divided into a first-class interface data interactive key upgrade processing flow and a second-class interface data interactive key upgrade processing flow. According to the key information of the currently used key, the data transmission security level and the adaptability of the interface key upgrade, the key length of the first-class interface and the number of keys of the second-class interface are adjusted to increase the key complexity;
[0047] The key replacement evaluation module regenerates the key and replaces the currently used key according to the result of the interactive key upgrade process, and executes the data transmission security evaluation module and the interface key upgrade adaptability evaluation module in a loop until a data transmission security signal is detected to end the loop.
[0048] Compared with the prior art, the present invention has the following beneficial effects:
[0049] The method divides interfaces into Class I interfaces and Class II interfaces; analyzes the data interaction and data attributes of the interfaces, and evaluates the adaptability of the interface key upgrade; upgrades the currently used Class I interface keys and Class II interface keys according to the interface data interaction key upgrade process; regenerates keys to replace the keys in use, cyclically evaluates the security of data transmission, and executes the interface data interaction key upgrade process until the transmission security level is qualified and the cycle ends. This solves the problem that manually increasing key security cannot determine the optimal number of bits for the increased key length and the optimal number of increased keys. At the same time, the interface functions are distinguished, and different key upgrade schemes are adopted according to the different uses of the interface based on AI learning, thereby taking into account the data transmission efficiency while ensuring the security of encrypted transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 This is a flow chart of a network security information protection method based on AI learning of the present invention;
[0051] Figure 2 A flow chart for analyzing the server security situation within a set time period and evaluating the security level of data transmission in the present invention;
[0052] Figure 3 The interactive interface for analyzing data transmission between two IP addresses of the present invention is divided into a first-class interface and a second-class interface flow chart according to the interface usage;
[0053] Figure 4 A flowchart for analyzing the data interaction and data attributes of the interface of the present invention and evaluating the adaptability of the interface for key upgrade;
[0054] Figure 5 A flowchart of the interface data interaction key upgrade process according to different interface types of the present invention;
[0055] Figure 6 For a class of interface data interaction key upgrade processing flow of the present invention, a key length flow chart is added;
[0056] Figure 7 The second type of interface data interaction key upgrade processing flow of the present invention increases the key quantity flow chart;
[0057] Figure 8 The flowchart of the process of regenerating keys to replace the keys in use, cyclically evaluating the security of data transmission, and executing the interface data interaction key upgrade process of the present invention;
[0058] Fig. 9 This is a schematic diagram of a network security information protection system based on AI learning according to the present invention. DETAILED DESCRIPTION
[0059] 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.
[0060] Reference Figure 1 As shown, a network security information protection method based on AI learning includes:
[0061] Record abnormal server conditions within a set time period, analyze server security trends within a set time period, and evaluate the security level of data transmission;
[0062] Analyze the interactive interface for data transmission between two IP addresses, and divide the interface into Class I interface and Class II interface according to its purpose;
[0063] Analyze the data interaction and data attributes of the interface, and evaluate the key upgrade adaptability of the interface;
[0064] When the data transmission security level is low, the interface data interaction key upgrade process is executed according to different interface types;
[0065] Regenerate keys to replace keys in use, cyclically evaluate the security of data transmission, and execute the interface data interaction key upgrade process.
[0066] Reference Figure 2 As shown, analyze the server security situation within a set time period and evaluate the security level of data transmission, including:
[0067] Set the time interval T1, and obtain the DDOS attack frequency, interface abnormal access frequency, and sensitive data operation frequency of the server within the time interval T1;
[0068] Different proportional coefficients are preset for the frequency of DDOS attacks on the server, the frequency of abnormal interface access, and the frequency of sensitive data operations. The data transmission risk index is calculated in combination with the firewall level enabled on the server. The data transmission risk index calculation formula is:
[0069] In the formula, is the data transmission risk index, is the firewall level, , , They are the frequency of DDOS attacks on the server, the frequency of abnormal interface access, and the frequency of sensitive data operations. , , They are , , The proportional coefficient is set; a data transmission hidden danger index threshold is set. When the data transmission hidden danger index is greater than or equal to the data transmission hidden danger index threshold, it indicates that the data transmission security level is low and a data transmission hidden danger signal is issued; when the data transmission hidden danger index is less than the data transmission hidden danger index threshold, it indicates that the data transmission security level is high and a data transmission security signal is issued.
[0070] Among them, the data transmission risk index threshold is set by professional and technical personnel in this field based on the size of the data transmission risk index, the current data encryption level, the required standards for the network security risks of the interacting parties and other actual conditions, and will not be repeated here.
[0071] Based on the current server abnormality and firewall level, it can be determined whether the current server is threatened by network attacks. By analyzing the frequency of DDOS attacks on the server, the frequency of abnormal interface access and the frequency of sensitive data operations, it can reflect the possibility of current network transmission being threatened and evaluate the security of data transmission.
[0072] Reference Figure 3 As shown in the figure, the interactive interface for data transmission between two IP addresses is analyzed, and the interfaces are divided into Class I interfaces and Class II interfaces according to their uses, including:
[0073] Obtain all interfaces related to data transmission between two IP addresses that need to interact with each other;
[0074] Classify interfaces according to their functions and uses. Mark interfaces that involve adding, deleting, and modifying data as Class I interfaces, and interfaces that involve querying data as Class II interfaces.
[0075] In most cases, data interaction between two IP addresses is completed through a program interface, which can be divided into query and operation types according to the interface function. For example, the most commonly used restful API currently has GET requests that are generally query requests, and POST, PUT, and DELETE that are operation requests. Interface data interactions of different request types generally have different data types and data sizes.
[0076] Reference Figure 4 As shown, analyze the data interaction and data attributes of the interface and evaluate the key upgrade adaptability of the interface, including:
[0077] Set the time interval T2. Within the time interval T2, record the detailed information of each data interaction of a single interface, including data size, data type and interaction duration. Create an interface data interaction information set based on the detailed information of each data interaction. , ;in It is the detailed information of the i-th data interaction of the interface. The total number of data interactions for a single interface; based on the interface data interaction information set Calculate the data interaction time dimension balance index. The calculation formula for the data interaction time dimension balance index is:
[0078] In the formula, is the time dimension equilibrium index, is the interaction time of the i-th data, is the average data interaction duration, is the data type weight; according to the average size of data transmission in T2 time, the frequency of data interaction, and the time dimension balance index, the key upgrade adaptation index of the interface is calculated. The key upgrade adaptation index calculation formula is:
[0079] In the formula, is the key upgrade adaptation index, is the time dimension equilibrium index, is the average data size, is the data interaction frequency;
[0080] Calculate the key upgrade adaptation index of all interfaces, and construct a first-class interface key upgrade adaptation index set and a second-class interface key upgrade adaptation index set according to the interface type. The first-class interface key upgrade adaptation index set is , ; is the key upgrade adaptation index of the i-th class I interface, and the set of class II interface key upgrade adaptation indexes is , ; is the key upgrade adaptation index of the i-th type II interface;
[0081] To increase key security, try to analyze the data being interacted with first. The type, size, and frequency of interaction of the data will have an impact on the performance of the interaction when increasing the key length or number. Different types of interfaces will show different key upgrade adaptability based on the characteristics of their interactive data.
[0082] Reference Figure 5 As shown, according to different interface types, the interface data interaction key upgrade process is executed, including:
[0083] Detect the current data transmission security situation, and when receiving a data transmission risk signal, execute the interface data interaction key upgrade process;
[0084] The interface data interaction key upgrade process includes a type I interface data interaction key upgrade process and a type II data interaction key upgrade process;
[0085] Get the interface that needs to be upgraded, determine whether the interface type is a Class I interface, if so, start the Class I interface data interaction key upgrade process and increase the key length, if not, start the Class II interface data interaction key upgrade process and increase the number of keys;
[0086] There are differences in the data interaction characteristics of interfaces with different request types. For example, the data characteristics of query requests are usually much higher than those of operational requests in terms of request frequency and data volume. Therefore, it is more reasonable to increase the number of keys when upgrading keys. The data interaction security requirements for operational requests are generally higher than those for query-type data interactions. Therefore, it is more reasonable to increase the key length. Therefore, performing different key upgrade processes according to interfaces with different request types can better improve the targeted nature of data interaction security.
[0087] Reference Figure 6 As shown in FIG. 1 , a process for upgrading the key of a class of interface data interaction is performed to increase the key length, including:
[0088] Get the key information of the key currently used by the interface and the current data transmission risk index; according to the key information of the key currently used by the interface and the current data transmission risk index, combine a class of interface key upgrade adaptation index set Analyze and calculate the key length after the data interaction key upgrade is adjusted. The calculation formula for the adjusted key length is: In the formula, is the average value of the key upgrade adaptation index of a class of interfaces. is the adjusted key length, is the key length of the key currently in use, is the data transmission risk index, v is an adjustable parameter;
[0089] The key length increases exponentially according to the current key length. Accordingly, the difficulty of cracking the key will increase exponentially, which can better ensure the security of the key. However, a key length that is too long will greatly reduce the computational efficiency of data encryption and decryption. Therefore, the upper limit length is set to 4 times the current length, and the length is dynamically adjusted between 1 and 4 times the current length according to the current transmission security level and interface key upgrade adaptability.
[0090] Reference Figure 7 As shown in the figure, the second-class interface data interaction key upgrade processing flow increases the number of keys, including: according to the key information of the key currently used by the interface and the current data transmission risk index, combined with the second-class interface key upgrade adaptation index set Perform analysis and calculate the number of keys adjusted after the data exchange key upgrade. The formula for calculating the adjusted number of keys is:
[0091] In the formula, is the average value of the second-class interface key upgrade adaptation index, is the adjusted number of keys, is the number of keys currently in use, is the data transmission risk index, and z is an adjustable parameter.
[0092] Increasing the number of keys currently in use will increase the difficulty of cracking the keys, and increasing the number of keys has less impact on data interaction performance than adjusting the key length. However, increasing the number of keys will occupy server storage resources and increase the difficulty of key management. Therefore, the number of newly added keys is set to no more than 3 or 3 pairs.
[0093] Reference Figure 8 As shown in the figure, regenerating keys to replace the keys in use, cyclically evaluating the security of data transmission, and executing the interface data interaction key upgrade process include:
[0094] Get the adjusted key length of a class of interfaces, regenerate the key according to the adjusted key length, and replace the key in use;
[0095] Obtain the number of keys adjusted for the second-class interface, regenerate the corresponding number of keys based on the adjusted number of keys, and replace the keys in use;
[0096] After the key is replaced, the step of evaluating the security level of data transmission and the step of interface data interaction key upgrade processing flow are executed cyclically until a data transmission security signal is detected to end the cycle.
[0097] After the key is regenerated, the key in use is replaced, and the data transmission security is evaluated cyclically, which can ensure that the key is always in the dynamic adjustment process before the transmission security is qualified, thereby ensuring the security of data transmission.
[0098] For further information, see Fig. 9 As shown, based on the same inventive concept as the above-mentioned network security information protection method based on AI learning, this solution also proposes a network security information protection system based on AI learning, including:
[0099] A data transmission security assessment module, which comprehensively assesses the data transmission security level according to the frequency of abnormal conditions occurring on the server within a set time period and the level of the firewall opened on the server, and issues a data transmission risk signal or a data transmission security signal;
[0100] An interface classification module, wherein the interface classification module classifies interfaces according to their functional uses, marks operation-type interfaces as first-class interfaces, and query-type interfaces as second-class interfaces;
[0101] An interface key upgrade adaptability evaluation module, wherein the interface key upgrade adaptability evaluation module evaluates its ability to adapt to key upgrade according to detailed information of interface data interaction;
[0102] An interactive key upgrade processing module, which is divided into a first-class interface data interactive key upgrade processing flow and a second-class interface data interactive key upgrade processing flow. According to the key information of the currently used key, the data transmission security level and the adaptability of the interface key upgrade, the key length of the first-class interface and the number of keys of the second-class interface are adjusted to increase the key complexity;
[0103] The key replacement evaluation module regenerates the key and replaces the currently used key according to the result of the interactive key upgrade process, and executes the data transmission security evaluation module and the interface key upgrade adaptability evaluation module in a loop until a data transmission security signal is detected to end the loop.
[0104] Furthermore, the present solution also proposes a storage medium on which a computer-readable program is stored, and when the computer-readable program is called, the above-mentioned network security information protection method based on AI learning is executed.
[0105] 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).
[0106] In summary, the advantages of the present invention are: solving the problem of manually increasing key security and being unable to determine the optimal number of bits of the increased key length and the optimal number of increased keys, while ensuring the security of encrypted transmission and taking into account data transmission efficiency.
[0107] 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 network security information protection method based on AI learning, characterized in that: include: Record abnormal server conditions within a set time period, analyze server security trends within a set time period, and evaluate the security level of data transmission; Analyze the interactive interface for data transmission between two IP addresses, and divide the interface into Class I interface and Class II interface according to its purpose; Analyze the data interaction and data attributes of the interface, and evaluate the key upgrade adaptability of the interface; When the data transmission security level is low, the interface data interaction key upgrade process is executed according to different interface types; Regenerate keys to replace keys in use, cyclically evaluate the security of data transmission, and execute the interface data interaction key upgrade process; The analyzing the data interaction and data attributes of the interface and evaluating the key upgrade adaptability of the interface includes: Set the time interval T2. Within the time interval T2, record the detailed information of each data interaction of a single interface, including data size, data type and interaction duration. Create an interface data interaction information set based on the detailed information of each data interaction. , ;in It is the detailed information of the i-th data interaction of the interface. The total number of data interactions for a single interface; According to the interface data exchange information collection Calculate the data interaction time dimension balance index. The calculation formula for the data interaction time dimension balance index is: In the formula, is the time dimension equilibrium index, is the interaction time of the i-th data, is the average data interaction duration, is the data type weight; According to the average size of data transmission and data interaction frequency during T2, the key upgrade adaptation index of the interface is calculated in combination with the time dimension balance index. The key upgrade adaptation index calculation formula is: In the formula, is the key upgrade adaptation index, is the time dimension equilibrium index, is the average data size, is the data interaction frequency; Calculate the key upgrade adaptation indexes of all interfaces, and construct a first-class interface key upgrade adaptation index set and a second-class interface key upgrade adaptation index set according to the interface type using the calculated key upgrade adaptation indexes; One of the interface key upgrade adaptation index sets is , ; is the key upgrade adaptation index of the i-th class I interface, and the set of class II interface key upgrade adaptation indexes is , ; is the key upgrade adaptation index of the i-th type II interface.
2. According to claim 1, a network security information protection method based on AI learning is characterized in that: The recording of abnormal conditions of the server within a set time period, analyzing the security situation of the server within a set time period, and evaluating the security level of data transmission include: Set the time interval T1, and obtain the DDOS attack frequency, interface abnormal access frequency, and sensitive data operation frequency of the server within the time interval T1; Different proportional coefficients are preset for the frequency of DDOS attacks on the server, the frequency of abnormal interface access, and the frequency of sensitive data operations. The data transmission risk index is calculated in combination with the firewall level enabled on the server. The data transmission risk index calculation formula is: In the formula, is the data transmission risk index, is the firewall level, , , They are the frequency of DDOS attacks on the server, the frequency of abnormal interface access, and the frequency of sensitive data operations. , , They are , , The proportionality coefficient of A data transmission hidden danger index threshold is set. When the data transmission hidden danger index is greater than or equal to the data transmission hidden danger index threshold, it indicates that the data transmission security level is low, and a data transmission hidden danger signal is issued; When the data transmission hidden danger index is less than the data transmission hidden danger index threshold, it indicates that the data transmission security level is relatively high, and a data transmission security signal is issued.
3. According to claim 2, a network security information protection method based on AI learning is characterized in that: The analysis of the interactive interface for data transmission between two IP addresses divides the interface into Class I interface and Class II interface according to the purpose of the interface, including: Obtain all interfaces related to data transmission between two IP addresses that need to interact with each other; Interfaces are classified according to their functions and purposes. Interfaces whose functions involve adding, deleting, and modifying data are marked as Class I interfaces, and interfaces whose functions involve querying data are marked as Class II interfaces.
4. According to claim 3, a network security information protection method based on AI learning is characterized in that: When the data transmission security level is low, the interface data interaction key upgrade process is executed according to different interface types, including: Detect the current data transmission security situation, and when receiving a data transmission risk signal, execute the interface data interaction key upgrade process; The interface data interaction key upgrade process includes a type I interface data interaction key upgrade process and a type II data interaction key upgrade process; Get the interface that needs to be key upgraded, determine whether the interface type is a Class I interface, if so, start the Class I interface data interaction key upgrade processing flow and increase the key length, if not, start the Class II interface data interaction key upgrade processing flow and increase the number of keys.
5. According to claim 4, a network security information protection method based on AI learning is characterized in that: The first class interface data interaction key upgrade processing flow, increasing the key length includes: Get the key information of the key currently used by the interface and the current data transmission risk index; According to the key information of the key currently used by the interface and the current data transmission risk index, a class of interface key upgrade adaptation index set is combined Analyze and calculate the key length after the data interaction key upgrade is adjusted. The calculation formula for the adjusted key length is: In the formula, is the average value of the key upgrade adaptation index of a class of interfaces. is the adjusted key length, is the key length of the key currently in use, is the data transmission risk index, and v is an adjustable parameter.
6. According to claim 5, a network security information protection method based on AI learning is characterized in that: The second type of interface data interaction key upgrade process, increasing the number of keys includes: According to the key information of the key currently used by the interface and the current data transmission risk index, combined with the second-class interface key upgrade adaptation index set Perform analysis and calculate the number of keys adjusted after the data exchange key upgrade. The formula for calculating the adjusted number of keys is: In the formula, is the average value of the second-class interface key upgrade adaptation index, is the adjusted number of keys, is the number of keys currently in use, is the data transmission risk index, and z is an adjustable parameter.
7. A network security information protection method based on AI learning according to claim 6, characterized in that: The re-generated key replaces the key in use, cyclically evaluates the security of data transmission, and executes the interface data interaction key upgrade process, which includes: Get the adjusted key length of a class of interfaces, regenerate the key according to the adjusted key length, and replace the key in use; Obtain the number of keys adjusted for the second-class interface, regenerate the corresponding number of keys based on the adjusted number of keys, and replace the keys in use; After the key is replaced, the step of evaluating the security level of data transmission and the step of interface data interaction key upgrade processing flow are executed cyclically until a data transmission security signal is detected to end the cycle.
8. A network security information protection system based on AI learning, used to implement a network security information protection method based on AI learning according to any one of claims 1 to 7, characterized in that: include: A data transmission security assessment module, which comprehensively assesses the data transmission security level according to the frequency of abnormal conditions occurring on the server within a set time period and the level of the firewall opened by the server, and issues a data transmission risk signal or a data transmission security signal; An interface classification module, wherein the interface classification module classifies interfaces according to their functional uses, marks operation-type interfaces as first-class interfaces, and query-type interfaces as second-class interfaces; An interface key upgrade adaptability evaluation module, wherein the interface key upgrade adaptability evaluation module evaluates its ability to adapt to key upgrade according to detailed information of interface data interaction; An interactive key upgrade processing module, which is divided into a first-class interface data interactive key upgrade processing flow and a second-class interface data interactive key upgrade processing flow. According to the key information of the currently used key, the data transmission security level and the adaptability of the interface key upgrade, the key length of the first-class interface and the number of keys of the second-class interface are adjusted to increase the key complexity; The key replacement evaluation module regenerates the key and replaces the currently used key according to the result of the interactive key upgrade process, and executes the data transmission security evaluation module and the interface key upgrade adaptability evaluation module in a loop until a data transmission security signal is detected to end the loop.
