A method and system for assessing power information network security risks

By calculating the product of the proportion of abnormal data points and the degree of abnormality in the network log, combined with the LOF algorithm and the degree of difference, the accuracy and real-time problems of the electric power information network security risk assessment method are solved, and a high-accuracy and dynamic assessment of electric power is achieved. Information network security risk assessment.

CN118523963BActive Publication Date: 2024-10-01HUBEI CENT CHINA TECH DEV OF ELECTRIC POWER
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410986296.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-10-01
Estimated Expiration
2044-07-23

AI Technical Summary

Technical Problem

The current power information network security risk assessment methods in the current technology have low accuracy, are difficult to achieve quantification and real-time assessment, and are subjective and error-prone.

Method used

By retrieving network logs from the power information database, the product of the proportion of abnormal data points and the degree of abnormality is calculated as the degree of impact after the risk occurs. Combined with the LOF algorithm and the degree of difference of abnormal data points, the risk level evaluation index is calculated and the risk is dynamically updated. Grade evaluation results.

Benefits of technology

It improves the accuracy and interpretability of risk level assessment, reduces the subjectivity of expert judgment, and enables real-time monitoring and dynamic assessment of power information network security risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118523963B_ABST
    Figure CN118523963B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and specifically to a method and system for assessing the risk of an electric power information network. The method includes: retrieving a network log from an electric power information database; calculating the possibility that the network log has a risk based on the proportion of abnormal data points in the network log; taking the product of the abnormal importance of the network log and the abnormal degree of the network log as the degree of impact after the risk of the network log occurs; calculating the risk level judgment index of the network log based on the product of the possibility of the risk and the degree of impact after the risk occurs; the risk level judgment index of the network log is positively correlated with the product; and obtaining the risk level of the electric power information network based on the risk level judgment index of the network log. The method of the present invention can greatly improve the accuracy of the risk level assessment results of the electric power information network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and more specifically, to a method and system for assessing the security risks of an electric power information network. Background Art

[0002] With the continuous advancement of informatization and intelligence, various network systems such as power grids, communications, and data of power companies have become increasingly mature, but at the same time, network security issues have become increasingly prominent. The stable operation of the power information network is directly related to the normal operation of power companies and the safety and stability of power supply. Therefore, it is particularly important to accurately assess and manage the security risks of power information networks. A Chinese patent application document with application publication number CN115758387A discloses an information security risk assessment method, which can more accurately calculate the probability of occurrence of each risk scenario, but this method cannot quantify the degree of impact of power information network security risks.

[0003] Through the introduction of the risk matrix, the possibility and impact of power information network security risks can be quantified, so that enterprises can more intuitively understand the severity of the risk and formulate targeted risk prevention and response measures. The risk matrix is ​​a commonly used risk assessment tool that helps organizations better understand and manage risks by quantifying the possibility and impact of risks.

[0004] The traditional risk matrix needs to determine the risk assessment dimensions, which usually include the possibility of risk occurrence and the degree of impact after the risk occurs. The possibility of risk occurrence can be obtained using statistical knowledge, while the degree of impact after the risk occurs is mostly based on expert judgment or artificially formulated measurement standards. However, expert judgment or artificially formulated measurement standards are usually based on subjective judgment and experience, and different application scenarios and different experts propose different measurement standards, which makes it difficult to achieve accurate quantification, resulting in errors in the constructed risk matrix, and ultimately resulting in low accuracy in the assessment results of power information network security risks. In addition, the degree of impact after the artificially formulated risk occurs cannot be directly compared numerically and quantitatively analyzed, and it is difficult to combine with other quantitative methods for comprehensive analysis. Summary of the invention

[0005] In order to solve the technical problem that the assessment results of power information network security risks using risk matrix in the prior art have low accuracy, the present invention provides solutions in the following aspects.

[0006] In a first aspect, the present invention provides a method for assessing the security risk of an electric power information network, comprising:

[0007] Retrieving network logs from the power information database;

[0008] The possibility of the network log being at risk is calculated based on the proportion of abnormal data points in the network log, and the possibility of the network log being at risk is positively correlated with the ratio; the product of the abnormal importance of the network log and the abnormal degree of the network log is used as the impact degree of the risk of the network log after the risk occurs; the abnormal importance is used to characterize the possibility that the abnormality of the network log is a sudden abnormality;

[0009] Calculating the risk level evaluation index of the network log according to the product of the possibility of the risk and the impact degree after the risk occurs; the risk level evaluation index of the network log is positively correlated with the product;

[0010] The risk level of the electric power information network is obtained according to the risk level evaluation index of the network log.

[0011] The beneficial effects are as follows: the power information network security risk assessment method of the present invention calculates the possibility of risk in the network log based on the ratio of abnormal data points in the network log to the total number of data points when conducting security risk assessment, and takes the product of the probability that the abnormality of the network log is a sudden abnormality and the abnormality degree of the network log as the impact degree of the risk of the network log after the occurrence of the risk, so as to obtain the final risk assessment level, thereby reducing the subjective influence brought by the expert judgment or the artificially formulated impact degree after the risk occurs, greatly improving the accuracy of the risk level assessment result, and at the same time improving the interpretability of the risk level assessment result; in addition, the traditional risk matrix is ​​often evaluated based on static data and assumptions, and it is difficult to reflect the real-time changes of risks. The power information network security risk assessment method of the present invention integrates the process of data anomaly monitoring into the risk assessment, and can capture the abnormal state of the system in real time, thereby dynamically updating the risk level assessment result, and more accurately reflecting the actual situation of the risk.

[0012] In one embodiment, the probability that the rth network log has a risk The calculation expression is:

[0013] ;

[0014] In the formula, For the The total number of data points in the network log, For the The variance of data points in a network log, For the The number of abnormal data points in the network log, is the proportion of abnormal data points in the rth network log.

[0015] The beneficial effect is as follows: since the data in the network log may contain noise data, the abnormal data is not necessarily the real abnormal data. However, the smaller the variance of the data points in the network log, the higher the credibility that the abnormal data is the real abnormal data, and the greater the possibility that the network log has risks. Therefore, when calculating the possibility that the network log has risks, not only the proportion of the abnormal data points is calculated, but also the variance of the data points in the network log is further combined for calculation, thereby greatly improving the accuracy of the calculated possibility that the network log has risks.

[0016] In one embodiment, obtaining the The number of abnormal data points in a network log includes:

[0017] The LOF algorithm is used to calculate the anomaly score of each data point in the rth network log;

[0018] The data points whose abnormal scores are greater than a preset score threshold are determined as abnormal data points, and the number of abnormal data points is then obtained.

[0019] In one embodiment, the method for calculating the abnormal importance of the network log includes:

[0020] Calculating the degree of abnormality of each abnormal data point in the network log respectively, and then obtaining the sum of the degree of abnormality of each abnormal data point; the degree of abnormality of the abnormal data point is positively correlated with the deviation between the abnormal data point and the mean of the data points in the network log;

[0021] Calculating the difference between each normal data point and the abnormal data point in the network log respectively, and then obtaining the sum of the difference between each normal data point;

[0022] The importance of the abnormality is calculated according to the sum of the abnormality degrees and the sum of the difference degrees, and the importance of the abnormality is positively correlated with the sum of the abnormality degrees and the sum of the difference degrees.

[0023] The beneficial effect is as follows: when a sudden anomaly occurs in a network log, the degree to which the abnormal data points deviate from the normal range will be greater. Therefore, the greater the abnormality of each abnormal data point, the greater the possibility that the anomaly of the network log is a sudden anomaly. The greater the difference between the normal data point and the abnormal data point, the more reliable the calculated abnormality of each abnormal data point. Therefore, by making the abnormal importance positively correlated with the sum of the abnormality degrees and the sum of the difference degrees, the abnormal importance of the network log can be calculated more accurately.

[0024] In one embodiment, Log No. The difference between normal data points and abnormal data points The calculation expression is:

[0025] ;

[0026] In the formula, For the Network log The value of a normal data point, For the Network log The value of the abnormal data point, For the The total number of abnormal data points in the network log.

[0027] In one embodiment, for The unusual importance of the network log The calculation expression is:

[0028] ;

[0029] In the formula, For the Network log The degree of abnormality of the abnormal data point, For the The number of abnormal data points in the network log, For the Network log The difference between normal data points and abnormal data points, For the The total number of data points in the network log, For the The number of normal data points in a network log.

[0030] In one embodiment, the method for calculating the abnormality degree of the network log includes:

[0031] Obtaining network logs of multiple historical dates in a time period corresponding to the network log and respectively calculating the absolute value of the difference between the number of abnormal data points in the network log and the number of abnormal data points in the network logs of each historical date;

[0032] The credibility of the abnormality degree of the network log is calculated based on the sum of the absolute values ​​of all the differences, and the credibility is negatively correlated with the sum of the absolute values. The abnormality degree of the network log is calculated based on the credibility of the abnormality degree and the mean of the deviation between the sum of the abnormal data of the network log and the sum of the abnormal data of the network log on each historical date, and the abnormality degree is positively correlated with the credibility of the abnormality degree and the deviation.

[0033] The beneficial effect is that when the network log of the period of the historical date is normal, the greater the deviation between the sum of abnormal data of the currently collected network log and the sum of abnormal data of the network log of the period of the historical date, the higher the abnormal degree of the currently collected network log; however, if the network log of the period of the historical date is abnormal, even if the sum of abnormal data of the currently collected network log is large, the deviation between the sum of abnormal data of the currently collected network log and the sum of abnormal data of the network log of the period of the historical date may be small, resulting in the currently collected network log being misjudged as no abnormality or having a low abnormal degree. In order to avoid misjudgment, the deviation between the sum of abnormal data of the currently collected network log and the sum of abnormal data of the logs of the period of the historical date is calculated respectively, and then the mean of all deviations is taken, and the abnormal degree of the currently collected network log is measured according to the mean and combined with the credibility of the abnormal degree, thereby avoiding misjudgment and improving the accuracy of the calculation result of the abnormal degree of the network log.

[0034] In one embodiment, for the rth network log, the credibility of its abnormality degree is The calculation expression is:

[0035] ;

[0036] In the formula, For the The number of abnormal data points in the network log, For the The number of abnormal data points in the network log of the historical date, is the total number of historical dates, is an exponential function with base e.

[0037] In one embodiment, obtaining the risk level of the electric power information network based on the risk level evaluation index of the network log includes: dividing the value range of the risk level evaluation index into multiple intervals, different intervals correspond to different risk levels, and the larger the value of the left endpoint of the interval, the higher the corresponding risk level; constructing a risk matrix based on each interval and the risk level corresponding to each interval, the risk matrix includes two rows, one of which is the interval and the other is the risk level corresponding to each interval; using the risk matrix combined with the value of the risk level evaluation index to obtain the risk level of the electric power information network.

[0038] In a second aspect, the present invention provides a power information network security risk assessment system, comprising a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the power information network security risk assessment method of the present invention is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] By reading the following detailed description with reference to the accompanying drawings, the above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

[0040] Figure 1 is a flow chart schematically illustrating a method for assessing the security risk of a power information network according to an embodiment of the present invention;

[0041] Figure 2 The present invention schematically illustrates the method for obtaining the first Flowchart of the method for counting abnormal data points in network logs;

[0042] Figure 3 is a flow chart schematically illustrating a method for calculating abnormal importance of a network log according to an embodiment of the present invention;

[0043] Figure 4 is a flowchart schematically illustrating a method for calculating the abnormality degree of a network log according to an embodiment of the present invention;

[0044] Figure 5 It is a schematic diagram schematically showing the structure of a power information network security risk assessment system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0046] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0047] Example of the power information network security risk assessment method:

[0048] like Figure 1 As shown, the power information network security risk assessment method of the present invention includes:

[0049] S101. Retrieve network logs from a power information database.

[0050] In this embodiment, the retrieved network log is an aggregate log record, and a log entry may contain traffic statistics within a certain time window, which may be per second, per minute, or per hour, and the traffic statistics include total bytes, network traffic, etc. In other embodiments, the retrieved network log may also be a log record in other forms.

[0051] S102, calculating the possibility of the network log having risks and the degree of impact of the network log after the risks occur, specifically: calculating the possibility of the network log having risks according to the proportion of abnormal data points in the network log, and the possibility of the network log having risks is positively correlated with the ratio; taking the product of the abnormal importance of the network log and the abnormal degree of the network log as the degree of impact of the risk of the network log after the risk occurs; the abnormal importance is used to characterize the possibility that the abnormality of the network log is a sudden abnormality.

[0052] Sudden anomalies refer to unpredictable abnormal situations, such as anomalies caused by network attacks.

[0053] When calculating the impact of a risk in a network log, the impact is calculated based on the overall abnormality of all data points in the network log, rather than describing the impact based on the abnormality of a single data point. This allows comprehensive consideration of all data points in the network log to avoid the misunderstanding of "generalizing from a single case" that affects the risk assessment level, better capture and assess the impact of the overall risk, and help to fully understand the impact of the risk on the system or business.

[0054] S103, calculating the risk level evaluation index of the network log, specifically: calculating the risk level evaluation index of the network log according to the product of the possibility of the risk and the impact degree after the risk occurs; the risk level evaluation index of the network log is positively correlated with the product.

[0055] S104: Obtain the risk level of the electric power information network according to the risk level evaluation index of the network log.

[0056] In this embodiment, the risk level of the power information network can be directly evaluated based on the size of the risk level evaluation index of the network log. The larger the risk level evaluation index, the higher the corresponding risk level. In other embodiments, the risk level can also be calculated based on the value of the risk level evaluation index combined with the calculation expression of the risk level.

[0057] The value range of the risk level evaluation index can be divided into multiple intervals, different intervals correspond to different risk levels, and the larger the value of the left endpoint of the interval, the higher the corresponding risk level; a risk matrix is ​​constructed based on each interval and the risk level corresponding to each interval, and the risk matrix includes two rows, one of which is the interval and the other is the risk level corresponding to each interval; the risk level of the power information network is obtained by using the risk matrix combined with the value of the risk level evaluation index.

[0058] The risk level corresponding to the interval to which the risk level evaluation index belongs is used as the risk level of the power information network.

[0059] The traditional risk matrix first classifies the risk possibility and the impact after the risk occurs, and then obtains the risk level. This embodiment directly classifies the risk level based on the result of multiplying the risk possibility and the impact after the risk occurs, omitting the steps of multiple level classification in the traditional risk matrix. Only one level classification is required to obtain the final risk level, making the construction of the risk matrix convenient and flexible. In addition, the result obtained by multiplication directly reflects the comprehensive degree of risk, which is easier to understand and explain to relevant stakeholders.

[0060] The power information network security risk assessment method of the present invention calculates the possibility of risk in the network log based on the ratio of abnormal data points in the network log to the total number of data points when conducting security risk assessment, and takes the product of the probability that the abnormality of the network log is a sudden abnormality and the abnormality degree of the network log as the impact degree of the risk of the network log after the occurrence of the risk, so as to obtain the final risk assessment level, thereby reducing the subjective influence brought by the expert judgment or the artificially formulated impact degree after the risk occurs, greatly improving the accuracy of the risk level assessment result, and at the same time improving the interpretability of the risk level assessment result; in addition, traditional risk matrices are often evaluated based on static data and assumptions, and it is difficult to reflect the real-time changes in risks. The power information network security risk assessment method of the present invention integrates the process of data anomaly monitoring into the risk assessment, and can capture the abnormal state of the system in real time, thereby dynamically updating the risk level assessment result, and more accurately reflecting the actual situation of the risk.

[0061] From the above embodiments, it can be seen that the possibility that the network log has risks is positively correlated with the proportion of abnormal data points in the network log. In one embodiment, the possibility that the rth network log has risks is The calculation expression is:

[0062] (1)

[0063] In the formula, For the The total number of data points in the network log, For the The variance of data points in a network log, For the The number of abnormal data points in the network log, is the proportion of abnormal data points in the rth network log.

[0064] Since the data in the network log may contain noise data, the abnormal data is not necessarily the real abnormal data. However, the smaller the variance of the data points in the network log, the higher the credibility of the abnormal data being the real abnormal data, and the greater the possibility that the network log is at risk. Therefore, when calculating the possibility that the network log is at risk, not only the proportion of the abnormal data points is calculated, but also the variance of the data points in the network log is further combined for calculation, thereby greatly improving the accuracy of the calculated possibility that the network log is at risk.

[0065] From the above embodiments, it can be seen that before calculating the possibility that the rth network log has a risk, it is necessary to obtain the rth network log. The number of abnormal data points in a network log, such as Figure 2 As shown, in one embodiment, obtaining the The number of abnormal data points in a network log includes:

[0066] S201. Calculate the anomaly score of each data point in the rth network log using the LOF algorithm.

[0067] S202, obtaining the number of abnormal data points, specifically: determining the data points whose abnormal scores are greater than a preset score threshold as abnormal data points, and then obtaining the number of abnormal data points.

[0068] In one embodiment, Figure 3 As shown, the method for calculating the abnormal importance of the network log includes:

[0069] S301, obtaining the sum of the abnormality levels of each abnormal data point in the network log, specifically: calculating the abnormality level of each abnormal data point in the network log respectively, and then obtaining the sum of the abnormality levels of each abnormal data point; the abnormality level of the abnormal data point is positively correlated with the deviation between the abnormal data point and the mean of the data points in the network log;

[0070] In this embodiment, for Network log abnormal data points, and their abnormality The calculation expression is:

[0071] (2)

[0072] In the formula, For the Network log The value of the abnormal data point, For the The mean of the data points in the network log.

[0073] The greater the difference between the value of the abnormal data point and the mean value of the data points in the log, the greater the abnormal degree of the abnormal data point. The abnormal degree expression of this embodiment can accurately and efficiently calculate the abnormal degree of each abnormal data point.

[0074] S302, obtaining the sum of the difference degrees of each normal data point, specifically: respectively calculating the difference degree between each normal data point and the abnormal data point in the network log, and then obtaining the sum of the difference degree of each normal data point.

[0075] No. Network log The difference between normal data points and abnormal data points The calculation expression is:

[0076] (3)

[0077] In the formula, For the Network log The value of a normal data point, For the Network log The value of the abnormal data point, For the The total number of abnormal data points in the network log.

[0078] After obtaining the difference degree corresponding to each normal data point, the difference degree corresponding to each normal data point is added together to obtain the sum of the difference degrees of each normal data point.

[0079] S303, calculating the importance of the anomaly, specifically: calculating the importance of the anomaly according to the sum of the anomaly degrees and the sum of the difference degrees, wherein the importance of the anomaly is positively correlated with the sum of the anomaly degrees and the sum of the difference degrees.

[0080] When a sudden anomaly occurs in a network log, the degree to which the abnormal data points deviate from the normal range will be greater. Therefore, the greater the abnormality of each abnormal data point, the greater the possibility that the anomaly of the network log is a sudden anomaly. The greater the difference between the normal data point and the abnormal data point, the more reliable the calculated abnormality of each abnormal data point. Therefore, by making the abnormal importance positively correlated with the sum of the abnormality degrees and the sum of the difference degrees, the abnormal importance of the network log can be calculated more accurately.

[0081] From the above embodiments, it can be seen that the abnormal importance is positively correlated with the sum of the abnormal degrees and the sum of the difference degrees. The unusual importance of the network log The calculation expression is:

[0082] (4)

[0083] In the formula, For the Network log The degree of abnormality of the abnormal data point, For the The number of abnormal data points in the network log, For the Network log The difference between normal data points and abnormal data points, For the The total number of data points in the network log, For the The number of normal data points in a network log.

[0084] like Figure 4 As shown, in one embodiment, the method for calculating the abnormality degree of the network log includes:

[0085] S401, obtaining the corresponding historical date network log and the number of abnormal data points in the log, specifically: obtaining the network log of multiple historical dates in the corresponding time period of the network log, and respectively calculating the absolute value of the difference between the number of abnormal data points in the network log and the number of abnormal data points in the network log of each historical date.

[0086] Generally, a network log is a network log of a certain time period in a day. The network logs of multiple historical dates of a corresponding time period refer to the network logs of the consecutive days before the current date in the time period, and the last day of the consecutive days is the day before the current date. For example, if the current network log is a log record from 1:00 to 2:00 today, then the log records from 1:00 to 2:00 the day before yesterday and from 1:00 to 2:00 the day before yesterday are the historical log records of the corresponding time period of the log.

[0087] In this embodiment, the consecutive multiple days are 7 consecutive days.

[0088] S402, calculating the abnormality degree of the network log, specifically: calculating the credibility of the abnormality degree of the network log according to the sum of the absolute values ​​of all the differences, the credibility is negatively correlated with the sum of the absolute values, and calculating the abnormality degree of the network log according to the credibility of the abnormality degree and the mean of the deviation between the sum of the abnormal data of the network log and the sum of the abnormal data of the network log on each historical date, the abnormality degree is positively correlated with the credibility of the abnormality degree and the deviation.

[0089] The larger the sum of the absolute values ​​of the differences is, the more likely it is that there is a trend change in the number of abnormal data points in the network log, and the less credible the abnormality of the corresponding log is. Therefore, the credibility is negatively correlated with the sum of the absolute values ​​of the differences.

[0090] For the rth network log, the credibility of its abnormality It is expressed as:

[0091] (5)

[0092] In the formula, For the The number of abnormal data points in the network log, For the The number of abnormal data points in the historical network log, is the total number of historical dates, is an exponential function with base e.

[0093] If the network log of the period of the historical date is normal, the greater the deviation between the sum of abnormal data of the currently collected network log and the sum of abnormal data of the network log of the historical date, the higher the abnormal degree of the currently collected network log; however, if the network log of the period of the historical date is abnormal, even if the sum of abnormal data of the currently collected network log is large, the deviation between the sum of abnormal data of the currently collected network log and the sum of abnormal data of the network log of the historical date may be small, resulting in the current collected network log being misjudged as no abnormality or low abnormality. In order to avoid misjudgment, the deviation between the sum of abnormal data of the currently collected network log and the sum of abnormal data of the logs of the period of the historical date is calculated respectively, and then the mean of all deviations is taken, and the abnormal degree of the currently collected network log is measured according to the mean and combined with the credibility of the abnormal degree, so as to avoid misjudgment and improve the accuracy of the calculation result of the abnormal degree of the network log.

[0094] In one embodiment, the calculation expression of the abnormality degree of the network log is:

[0095] (6)

[0096] In the formula, For the Network log The value of the abnormal data point, For the The number of abnormal data points in the network log, For the The network log of the historical date The value of the abnormal data point, For the The number of abnormal data points in the network logs of historical dates, is the total number of historical dates, For the The credibility of the abnormality of the network log.

[0097] It can be seen from the above embodiments that the risk level evaluation index of the network log is positively correlated with the product of the possibility of the risk and the impact degree after the risk occurs. In one embodiment, the calculation expression of the risk level evaluation index of the network log is:

[0098] (7)

[0099] In the formula, For the The impact of the risk of network logs after it occurs, For the The possibility that network logs are risky, is an exponential function, where The function is used to control the result within 0-1.

[0100] It can be seen from the above embodiments that the value range of the risk level evaluation index is 0 to 1. Before obtaining the risk level of the power information network according to the risk level evaluation index of the network log, the value range of the risk level evaluation index needs to be divided into multiple intervals. In one embodiment, the value range can be divided into five intervals, namely [0, 0.2), [0.2, 0.5), [0.5, 0.7), [0.7, 0.9) and (0.9, 1], wherein the risk level corresponding to [0, 0.2) is acceptable, the risk level corresponding to [0.2, 0.5) is low risk, the risk level corresponding to [0.5, 0.7) is medium risk, the risk level corresponding to [0.7, 0.9) is high risk, and the risk level corresponding to (0.9, 1) is ultra-high risk. The constructed risk matrix is ​​shown in the following table:

[0101] Table 1

[0102]

[0103] Example of power information network security risk assessment system:

[0104] The present invention also provides a power information network security risk assessment system. Figure 5 As shown, the power information network security risk assessment system includes a processor and a memory, and the memory stores computer program instructions. When the computer program instructions are executed by the processor, the power information network security risk assessment method described in the first aspect of the present invention is implemented.

[0105] The electric power information network security risk assessment system also includes other components familiar to those skilled in the art, such as a communication bus and a communication interface, and their settings and functions are known in the art, so they will not be described in detail here.

[0106] In the present invention, the aforementioned memory may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, apparatus or device. For example, a computer-readable storage medium may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc., or any other medium that can be used to store the required information and can be accessed by an application, a module, or both. Any such computer storage medium may be part of a device or accessible or connectable to a device. Any application or module described in the present invention may be implemented using computer-readable / executable instructions that may be stored or otherwise maintained by such a computer-readable medium.

[0107] In the description of this specification, "plurality" or "several" means at least two, such as two, three or more, etc., unless otherwise clearly and specifically defined.

[0108] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, various alternatives to the embodiments of the present invention described herein may be employed.

Claims

1. A method for assessing the security risk of power information network. It is characterized in that include: Retrieving network logs from the power information database; Calculating the possibility that the network log has risks according to the proportion of abnormal data points in the network log, and the possibility that the network log has risks is positively correlated with the proportion of abnormal data points in the network log; The product of the abnormal importance of the network log and the abnormal degree of the network log is used as the impact degree of the risk of the network log after the risk occurs; the abnormal importance is used to characterize the possibility that the abnormality of the network log is a sudden abnormality; The risk level evaluation index of the network log is calculated according to the product of the possibility of the risk and the impact degree after the risk occurs; the risk level evaluation index of the network log is positively correlated with the product of the possibility of the risk and the impact degree after the risk occurs; The risk level of the electric power information network is obtained according to the risk level evaluation index of the network log.

2. The power information network security risk assessment method according to claim 1, It is characterized in that Article r: Possibility of risks in web logs The calculation expression is: ; In the formula, For the The total number of data points in the network log, For the The variance of data points in a network log, For the The number of abnormal data points in the network log, is the proportion of abnormal data points in the rth network log.

3. The power information network security risk assessment method according to claim 2, It is characterized in that Get the The number of abnormal data points in a network log includes: The LOF algorithm is used to calculate the anomaly score of each data point in the rth network log; The data points whose abnormal scores are greater than a preset score threshold are determined as abnormal data points, and the number of abnormal data points is then obtained.

4. The power information network security risk assessment method according to claim 1, It is characterized in that The abnormal importance calculation method of the network log includes: Calculating the degree of abnormality of each abnormal data point in the network log respectively, and then obtaining the sum of the degree of abnormality of each abnormal data point; the degree of abnormality of the abnormal data point is positively correlated with the deviation between the abnormal data point and the mean of the data points in the network log; Calculating the difference between each normal data point and the abnormal data point in the network log respectively, and then obtaining the sum of the difference between each normal data point; The importance of the abnormality is calculated according to the sum of the abnormality degrees and the sum of the difference degrees, and the importance of the abnormality is positively correlated with the sum of the abnormality degrees and the sum of the difference degrees.

5. The power information network security risk assessment method according to claim 4, It is characterized in that No. Network log The difference between normal data points and abnormal data points The calculation expression is: ; In the formula, For the Network log The value of a normal data point, For the Network log The value of the abnormal data point, For the The total number of abnormal data points in the network log.

6. The power information network security risk assessment method according to claim 4, It is characterized in that For The unusual importance of the network log The calculation expression is: ; In the formula, For the Network log The degree of abnormality of the abnormal data point, For the The number of abnormal data points in the network log, For the Network log The difference between normal data points and abnormal data points, For the The total number of data points in the network log, For the The number of normal data points in a network log.

7. The power information network security risk assessment method according to any one of claims 1 to 6, It is characterized in that The method for calculating the abnormality degree of the network log includes: Obtaining network logs of multiple historical dates in a time period corresponding to the network log and respectively calculating the absolute value of the difference between the number of abnormal data points in the network log and the number of abnormal data points in the network logs of each historical date; The credibility of the abnormality degree of the network log is calculated based on the sum of the absolute values ​​of all the differences, and the credibility is negatively correlated with the sum of the absolute values. The abnormality degree of the network log is calculated based on the credibility of the abnormality degree and the mean of the deviation between the sum of the abnormal data of the network log and the sum of the abnormal data of the network log on each historical date, and the abnormality degree is positively correlated with the credibility of the abnormality degree and the deviation.

8. The power information network security risk assessment method according to claim 7, It is characterized in that For the rth network log, the credibility of its abnormality The calculation expression is: ; In the formula, For the The number of abnormal data points in the network log, For the The number of abnormal data points in the network log of the historical date, is the total number of historical dates, is an exponential function with base e.

9. The power information network security risk assessment method according to claim 1, It is characterized in that The method of obtaining the risk level of the electric power information network based on the risk level evaluation index of the network log includes: dividing the value range of the risk level evaluation index into multiple intervals, different intervals correspond to different risk levels, and the larger the value of the left endpoint of the interval, the higher the corresponding risk level; constructing a risk matrix based on each interval and the risk level corresponding to each interval, the risk matrix includes two rows, one of which is the interval and the other is the risk level corresponding to each interval; using the risk matrix combined with the value of the risk level evaluation index to obtain the risk level of the electric power information network.

10. A power information network security risk assessment system, comprising a processor and a memory, wherein the memory stores computer program instructions, It is characterized in that When the computer program instructions are executed by the processor, the power information network security risk assessment method described in any one of claims 1 to 9 is implemented.