A network security situation comparison and analysis method, device, electronic equipment and medium

By calculating the horizontal trend comparison index value of each region, the problem of situation comparison analysis in the multi-regional joint network security situation is solved, and the quantitative evaluation of threat and risk indexes is achieved, and the analysis effect is improved.

CN114154145BActive Publication Date: 2024-10-01BEIJING TOPSEC NETWORK SECURITY TECH +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111389457.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-22
Publication Date
2024-10-01
Estimated Expiration
2041-11-22

AI Technical Summary

Technical Problem

It is difficult for the prior art to obtain the corresponding horizontal trend comparison index value of each region under the multi-regional joint network security situation, resulting in the inability to effectively conduct trend comparison analysis and evaluation.

Method used

By obtaining security data information in the target time period, including area identification, time period and event type, the weight of each event category is obtained based on the time period, and the total number of areas, number of event types, event category weights and The ranking value of the number of events is obtained, and the horizontal trend comparison indicator value of each region is obtained. An optional implementation includes obtaining a probability correction coefficient to correct the calculation results and improving the analysis effect.

Benefits of technology

Quantitative evaluation of the situation of joint network security in multiple regions has been achieved, the effect of situation comparison analysis has been improved, and it can effectively reflect the threat and risk index between regions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114154145B_ABST
    Figure CN114154145B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a network security situation comparison and analysis method, device, electronic device and storage medium. First, the security data information within the target time period is obtained; wherein the security data information includes the area identification, time period and event type; based on the time period, the weight corresponding to each event category is obtained; then, the horizontal situation comparison index value corresponding to each area identification is calculated based on the preset formula based on the total number of areas, the number of event types, the weight corresponding to each event category, and the ranking value of the number of each event corresponding to each area in all areas. It can be seen that the embodiment of the present disclosure can obtain the threat comparison of the situation status between regions by obtaining the horizontal situation comparison index value corresponding to each area identification, which has quantitative evaluation significance for the threat index, risk index and other situation indexes in the evaluation of the network security situation of multiple regions, and improves the effect of the comparative analysis of the network security situation of multiple regions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of network security technology, and in particular to a network security situation comparison and analysis method, device, electronic device and storage medium. Background Art

[0002] With the increasing number of Internet security incidents, network security situation awareness has become an important research direction in the field of network security.

[0003] Network security situation awareness refers to timely discovery and assessment of the current network security situation through threat analysis and alarms of massive security logs or events. An important matter in network security situation awareness is to carry out situation assessment analysis, in which situation assessment analysis refers to the security events generated by the summary, filtering and correlation analysis equipment, etc., and the establishment of a suitable mathematical model based on the construction of security indicators to assess the degree of security threats suffered by the network system as a whole. Usually, various network security situation assessment results are presented in the form of quantitative indexes. Specifically, some situation indexes are calculated through a series of feature quantification or aggregation statistics, hierarchical aggregation and other methods, and these situation indexes can reflect the security status of the network in a specific period of time. For example, when business personnel see these situation indexes, they will judge the current network security situation based on the threat indicators, risk indicators and other numerical values ​​involved in the situation index.

[0004] However, when faced with the cybersecurity situation of multiple regions, especially the cybersecurity situation in regulatory units or regulated industries, a single situation indicator value cannot effectively compare and analyze the subordinate regulatory regions or units, and thus cannot obtain the relative situation of a certain region compared to other regions. Summary of the invention

[0005] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a network security situation comparison and analysis method, which can obtain the horizontal situation comparison index value corresponding to each regional identifier, thereby improving the effect of comparative analysis of multi-region joint network security situation.

[0006] In a first aspect, an embodiment of the present disclosure provides a network security situation comparative analysis method, including:

[0007] Acquire security data information within a target time period; wherein the security data information includes an area identifier, a time period, and an event type;

[0008] Based on the time period, obtaining a weight corresponding to each of the event categories;

[0009] The horizontal situation comparison index value corresponding to each regional identifier is obtained by calculating through a preset formula based on the total number of regions, the number of event types, the weight corresponding to each event category, and the ranking value of the number of each event corresponding to each region in all regions.

[0010] In an optional implementation manner, the obtaining of security data information within a target time period includes:

[0011] Obtain security events within the target time period;

[0012] The security data information is obtained by grouping and counting the security events according to the area identifier, the time period and the event type.

[0013] In an optional implementation, the method further includes:

[0014] Obtaining a probability correction coefficient for each of the event types corresponding to each of the area identifiers;

[0015] Based on the probability correction coefficient, the lateral situation comparison index value corresponding to each of the area identifiers is corrected and calculated to obtain the target situation comparison result corresponding to each of the area identifiers.

[0016] In an optional implementation manner, obtaining the probability correction coefficient of each event type corresponding to each area identifier includes:

[0017] Obtaining historical security data information corresponding to the area identifier;

[0018] Based on the historical security data information, obtaining the number of historical events of each event type corresponding to the area identifier;

[0019] Convert the number of historical events of each event type to obtain a current score value of each event type;

[0020] Based on the current score value of each event type and a preset normal distribution table, a probability correction coefficient of each event type is obtained.

[0021] In an optional implementation manner, converting the number of historical events of each event type to obtain a current score value of each event type includes:

[0022] Based on the number of historical events, obtain an average number of events and an event standard deviation for each event type within a preset time period, and obtain a current number of events for each event type;

[0023] The current score value of each event type is obtained by calculating based on the average event quantity value, the event standard deviation and the current event quantity through a preset formula.

[0024] In an optional implementation manner, obtaining the probability correction coefficient of each event type based on the current score value of each event type and a preset normal distribution table includes:

[0025] Get the standard score value for each event type;

[0026] Obtaining a probability value that the current score value is greater than the standard score value based on the preset normal distribution table;

[0027] The difference between the target value and the probability value is calculated as the probability correction coefficient of each event type.

[0028] In an optional implementation, the method further includes:

[0029] determining a target number of target area identifiers from the plurality of said area identifiers;

[0030] The target situation comparison result corresponding to the target area identifier is sent to a display device, so that the display device displays the target situation comparison result according to the magnitude value.

[0031] In a second aspect, an embodiment of the present disclosure provides a network security situation comparison and analysis device, including:

[0032] A first acquisition module is used to acquire security data information within a target time period; wherein the security data information includes an area identifier, a time period, and an event type;

[0033] A second acquisition module, used for acquiring a weight corresponding to each of the event categories based on the time period;

[0034] The calculation module is used to calculate the ranking value of the horizontal situation comparison index value corresponding to each of the regional identifiers based on the total number of regions, the number of event types, the weight corresponding to each event category, and the number of each event corresponding to each region in all regions through a preset formula.

[0035] In a third aspect, an embodiment of the present disclosure provides an electronic device, the electronic device comprising:

[0036] processor;

[0037] a memory for storing instructions executable by the processor;

[0038] The processor is used to read the executable instructions from the memory and execute the instructions to implement the above-mentioned network security situation comparison and analysis method.

[0039] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the above-mentioned network security situation comparison and analysis method.

[0040] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has at least the following advantages:

[0041] First, obtain security data information within the target time period; wherein the security data information includes the region identifier, time period and event type; based on the time period, obtain the weight corresponding to each event category; then, calculate the ranking value of each region corresponding to each region based on the total number of regions, the number of event types, the weight corresponding to each event category, and the number of each event corresponding to each region through a preset formula to obtain the horizontal situation comparison index value corresponding to each region identifier. It can be seen that the embodiment of the present disclosure can obtain the threat comparison of the situation status between regions by obtaining the horizontal situation comparison index value corresponding to each region identifier, which has quantitative evaluation significance for the threat index, risk index and other situation indexes in the evaluation of the network security situation of multiple regions, and improves the effect of comparative analysis of the network security situation of multiple regions. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0044] Figure 1 A flowchart of a network security situation comparison and analysis method provided by an embodiment of the present disclosure:

[0045] Figure 2 A flowchart of another network security situation comparison and analysis method provided by an embodiment of the present disclosure:

[0046] Figure 3 A schematic diagram of the structure of a network security situation comparison and analysis device provided in an embodiment of the present disclosure;

[0047] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0048] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0049] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0050] At present, in a related technology, the current network security situation is evaluated through various indicators of a certain node or a certain area. Specifically, various indicators in the network are used as a basis, and the indicator information collected by the node and the indicator information collected by the link are used. According to the attack threat level, attack threat incidence rate and node loss value of the node, as well as the delay, congestion and packet loss rate on the link, the node situation and link situation in the network are calculated respectively, and then the two are merged to obtain the final security situation of the whole network. However, this method only evaluates the current network security situation based on various indicators of a certain node or a certain area, not for the network security situation of multiple regions, does not involve obtaining multi-region comparative situation analysis, and does not involve how to obtain the horizontal situation comparison indicator value corresponding to each region.

[0051] In another related technology, the security assurance capability of responding to network attacks is comprehensively considered in multiple dimensions, which can reflect the external network attack situation in real time. Specifically, the total security situation score of each first-level evaluation indicator in the third level is calculated based on each second-level evaluation indicator corresponding to the first-level evaluation indicator and the weight of each second-level evaluation indicator. The total security situation score of each dimension in the second level is calculated based on each first-level evaluation indicator corresponding to the dimension and the weight of each first-level evaluation indicator. The total security situation score of each monitoring field in the first level is calculated based on each dimension corresponding to the monitoring field and the weight of each dimension. The overall security situation score of the network security situation analysis model is calculated based on each monitoring field and the weight of each monitoring field. Although this method provides a model and method for multi-dimensional situation assessment, it does not explain how to obtain multi-region comparative situation analysis across regions, nor does it explain how to obtain the horizontal situation comparison indicator value corresponding to each region.

[0052] It can be seen that the relevant technology cannot solve the technical problem of how to obtain the horizontal situation comparison index value corresponding to each area for the network security situation of multiple areas.

[0053] To this end, the disclosed embodiment provides a network security situation comparison and analysis method, first, obtain security data information within the target time period; wherein the security data information includes the region identifier, time period and event type; based on the time period, obtain the weight corresponding to each event category; then, calculate the ranking value of the number of each event corresponding to each region in all regions based on the preset formula based on the total number of regions, the number of event types, the weight corresponding to each event category, and the number of each event corresponding to each region, and obtain the horizontal situation comparison index value corresponding to each region identifier. It can be seen that the disclosed embodiment can obtain the threat comparison of the situation status between regions by obtaining the horizontal situation comparison index value corresponding to each region identifier, which has quantitative evaluation significance for the threat index, risk index and other situation indexes in the evaluation of the network security situation of multiple regions, and improves the effect of the comparative analysis of the network security situation of multiple regions.

[0054] Based on this, the present disclosure provides a network security situation comparison and analysis method. Figure 1 A schematic diagram of a flow chart of a network security situation comparison and analysis method provided in an embodiment of the present disclosure, the method comprising:

[0055] S101. Acquire security data information within a target time period; wherein the security data information includes an area identifier, a time period, and an event type.

[0056] In the embodiments of the present disclosure, security data information refers to security data such as time, area identification, event type, and event quantity obtained by analyzing and processing security events.

[0057] In the embodiment of the present disclosure, the region identifier is used to uniquely identify a region. For example, region identifier A1 is used to identify region 1, region identifier A2 is used to identify region 2, and region identifier A3 is used to identify region 3.

[0058] In the embodiment of the present disclosure, the target time period can be set according to the application scenario, and can be one day, one week, or one month. The embodiment of the present disclosure does not limit the time specifically indicated by the target time period.

[0059] In the disclosed embodiment, the event types may include Trojans, Trojan horses, backdoors, SQL (Structured Query Language) injections, XSS attacks (Cross Site Scripting), and the like.

[0060] In some embodiments, by obtaining security events within a target time period, security events are grouped and counted according to area identifiers, time periods, and event types to obtain security data information; in other embodiments, security events within a target time period are obtained, and event information corresponding to the security events (such as event names, protocols, time, etc.) is obtained, and the security data information is obtained by matching the event information based on preset keywords. The above two methods are only examples, and the embodiments of the present disclosure do not limit the specific methods for obtaining security data information within the target time period.

[0061] S102: Based on the time period, obtain the weight corresponding to each event category.

[0062] In the embodiment of the present disclosure, obtaining the weight corresponding to each event category based on the time period can be understood as taking the time period as a fixed time, obtaining the event types of all regions corresponding to the time period for analysis, and setting the weight corresponding to each event category.

[0063] For example, the time period is January 1, and the event types generated by area identifier A1, area identifier A2, and area identifier A3 may be Trojan horse, Trojan horse, SQL injection, and XSS. The weights of different event types may be set in advance. The specific method of setting the weights of different event types will not be described in detail here.

[0064] In an optional implementation, assuming that the weight w is set 木马 =0.4, w 挂马 =0.3, w SQL =0.2, w XSS =0.1. The specific weight setting can be adjusted according to the actual situation on site, where the sum of the weights of each event type is equal to 1.

[0065] S103. Calculate the ranking value of the number of events in each region in accordance with a preset formula based on the total number of regions, the number of event types, the weight of each event category, and the number of events in each region, to obtain a horizontal situation comparison index value corresponding to each region identifier.

[0066] In the embodiment of the present disclosure, after obtaining the weight corresponding to each event category, the total number of areas, the number of event types, the ranking value of the number of each event corresponding to each area in all areas, etc. can be obtained through security data information, and further calculation is performed through a preset method to obtain the horizontal situation comparison index value corresponding to each area identification.

[0067] In practical applications, the preset formula can be formula (1):

[0068]

[0069] Among them, Tj represents the event type. For example, it can be assumed that T1 is a Trojan horse, T2 is a Trojan horse, T3 is SQL, and T4 is XSS.

[0070] w Tj is the weight value of each event type determined above.

[0071] m represents the number of event types. Assuming that the event types included in the acquired security data information are Trojans, Trojan horse, SQL injection and XSS, m is 4.

[0072] n represents the total number of areas. Assuming that the acquired security data information includes area identifiers A1, A2 and A3, n is 3.

[0073] r Ai, The number of event types Tj in region Ai is ranked in descending order among all regions. Assuming that the number of Trojans in region A1 is ranked in descending order among all regions, its corresponding ranking value is 1, then r A1,木马 =1.

[0074] Ai represents the horizontal situation comparison index value corresponding to each area mark. According to the above calculation formula (1), the horizontal comparison index value F of all areas is obtained. A1 , F A2 , …F An , where n can be any positive integer. For example, F An Indicates the lateral situation comparison index value corresponding to the area identifier An.

[0075] The disclosed embodiment provides a network security situation comparison and analysis method, first, obtaining security data information within a target time period; wherein the security data information includes a region identifier, a time period, and an event type; based on the time period, obtaining the weight corresponding to each event category; then, calculating the ranking value of all regions based on the total number of regions, the number of event types, the weight corresponding to each event category, and the number of each event corresponding to each region through a preset formula, to obtain a horizontal situation comparison index value corresponding to each region identifier. It can be seen that the disclosed embodiment can obtain the threat comparison of the situation status between regions by obtaining the horizontal situation comparison index value corresponding to each region identifier, which has quantitative evaluation significance for the threat index, risk index and other situation indexes in evaluating the network security situation of multiple regions, and improves the effect of comparative analysis of the network security situation of multiple regions.

[0076] Since the historical security data information obtained from each region is different, for example, there may be differences in event type, event number, attack activity, etc. Some regions are relatively active, and the number of attack events is significantly higher than other regions. This may have a greater impact on the horizontal situation comparison index value due to the difference in historical security data information. In order to reduce the impact of historical security data information on the horizontal situation comparison index value corresponding to each regional identifier, the probability correction coefficient of each event type corresponding to each regional identifier can be obtained; based on the probability correction coefficient, the horizontal situation comparison index value is corrected and calculated, thereby improving the effect of comparative analysis.

[0077] Based on this, the present disclosure provides another network security situation comparison and analysis method. Figure 2 A flowchart of another network security situation comparison and analysis method provided by an embodiment of the present disclosure, the method comprising:

[0078] S201. Obtain security events within a target time period, and group and count the security events according to area identifiers, time periods, and event types to obtain security data information.

[0079] The security events obtained in the target time period in the embodiment of the present disclosure are, for example, security events generated in different time periods and different regions reported by firewalls, IDS (Intrusion Detection Systems) and WAF (Web Application Firewall). Among them, the security events include multiple different event types, such as Trojans, backdoors, etc., as well as the time and location of the event.

[0080] For example, it is assumed that the event types generated by the area identifier A1, area identifier A2, and area identifier A3 in the acquisition time period of January 1 are obtained. As shown in Table 1, on January 1, the event type generated in the area identifier A1 is Trojan, the event number is 10, and the event type is Trojan, the event number is 20. The description of the event type, event number, and other information generated in other area identifiers can be understood by referring to the description of the area identifier A1, and will not be repeated here.

[0081] Table 1

[0082]

[0083]

[0084] S202: Based on the time period, obtain the weight corresponding to each event category.

[0085] S203. Calculate the horizontal situation comparison index value corresponding to each regional identifier by using a preset formula based on the total number of regions, the number of event types, the weight corresponding to each event category, and the ranking value of the number of each event corresponding to each region in all regions.

[0086] It should be noted that S202-S203 are the same as the above-mentioned S102-S103. For the specific description of S202-S203, please refer to the description of S102-S103 for understanding, which will not be repeated here.

[0087] S204: Obtain a probability correction coefficient for each event type corresponding to each area identifier.

[0088] In the disclosed embodiment, the probability correction coefficient of each event type may be obtained based on the current score value of each event type and a preset normal distribution table.

[0089] In an optional implementation, before obtaining the probability correction coefficient for each event type, the current score value of each event type is calculated. Specifically, the historical security data information corresponding to the area identifier is obtained, and based on the historical security data information, the number of historical events of each event type corresponding to the area identifier is obtained. Since each event type has differences in quantity or distribution, the average number of events and the standard deviation of events for each event type in a preset time period can be obtained based on the number of historical events, as well as the current number of events for each event type. The number of historical events of each event type is converted to obtain the current score value of each event type; specifically, the current score value of each event type is obtained by calculating based on the average number of events, the standard deviation of events, and the current number of events using a preset formula.

[0090] In practical applications, the number of historical events of each event type is converted to obtain the current score value of each event type; the current score value of each event type can be calculated by formula (2).

[0091] Z=(X-μ) / σ (2)

[0092] Among them, X represents the current number of events, μ represents the average number of events, σ ​​represents the standard deviation of events, and Z represents the current score value of each event type.

[0093] Assume that we take the Trojan event types of area identifier A1 one month before the target time as an example, and obtain the number of historical events of the Trojan event type corresponding to area identifier A1; calculate based on the average event number value, event standard deviation and current event number through the above formula (2) to obtain the current score value of each event type.

[0094] Assume that the average number of Trojan events in region A1 in the past month is μT1 , the event standard deviation is σ T1 , the current number of events (the number of Trojan events currently being evaluated) is X, then the current score value Z of the Trojan event with area identifier A1 is calculated according to the above formula (2): T1 =(X-μ T1 ) / σ T1 .

[0095] In an optional implementation, a probability correction coefficient for each event type is obtained based on the current score value of each event type and a preset normal distribution table, including: obtaining a standard score value for each event type, obtaining a probability value that the current score value is greater than the standard score value based on the preset normal distribution table, and calculating the difference between the target value and the probability value as the probability correction coefficient for each event type.

[0096] After the conversion of the number of historical events of each event type, all the numbers of historical events meet the conditions of standard normal distribution with a mean of 0 and a standard deviation of 1. The probability correction coefficient of each event type can be obtained according to the following formula (3).

[0097] p Tj =1-p(Z>Z T ) (3)

[0098] Among them, Z is the standard score value of each event type under the condition of standard normal distribution with mean 0 and standard deviation 1. T Represents the current score value of each event type, Z T Can be Z T1 , Z T2 …Z Tn . p(Z>Z T ) is the probability value of the current score being greater than the standard score. The target value is 1, p Tj is the probability correction coefficient for each event type, where p can be obtained according to the normal distribution table. The specific calculation method of p will not be introduced in detail here.

[0099] Assume that the current score value Z of the Trojan event with area ID A1 is obtained T1 , based on the current score value Z T1 and the preset normal distribution table, the probability correction coefficient of the current Trojan event type is p T1 =1-p(Z>Z T1 ) Calculate the probability correction coefficient p for other event types T2 , p T3 ,…p Tm Please refer to p T1 The calculation method of is not described here.

[0100] S205 , performing correction calculation on the lateral situation comparison index value corresponding to each of the area identifiers based on the probability correction coefficient, to obtain a target situation comparison result corresponding to each area identifier.

[0101] In an optional implementation, the probability correction coefficient p of each event type can be obtained based on the above formula (3): Tj The lateral situation comparison index value F corresponding to each area mark obtained by the above formula (1) is Ai Perform correction calculation to obtain the target situation comparison result corresponding to each area identifier. Specifically, the target situation comparison result corresponding to each area identifier can be calculated by formula (4).

[0102]

[0103] in, The horizontal situation comparison index value F corresponding to each area mark Ai , p Tj is the probability correction factor for each event type, f′ Ai Identify the corresponding target situation comparison results for each area.

[0104] In the embodiment of the present disclosure, since the target situation comparison result is obtained based on data from two dimensions, namely, the horizontal situation comparison index value and the historical security data information, it can be seen that the embodiment of the present disclosure can obtain a more accurate network security situation assessment result, which has quantitative evaluation significance for the threat index, risk index, etc. in the evaluation of the network security situation of multiple regions.

[0105] In an optional implementation, the target situation comparison result corresponding to each area identifier is obtained, and the target area identifier of the target quantity can be determined from multiple area identifiers; the target situation comparison result corresponding to the target area identifier is sent to a display device, so that the display device displays it according to the magnitude value of the target situation comparison result. Specifically, the display device can display the target situation result of each area, and the magnitude value of the target situation comparison result reflects the quantitative evaluation effect of the situation index such as the threat index and risk index of the current multiple areas.

[0106] The disclosed embodiment provides a network security situation comparison and analysis method, first, obtaining security events within a target time period; grouping and counting security events according to regional identification, time period and event type to obtain security data information; obtaining the weight corresponding to each event category based on the time period; calculating the ranking value of each event category in all regions based on the total number of regions, the number of event types, the weight corresponding to each event category, and the number of each event corresponding to each region through a preset formula to obtain the horizontal situation comparison index value corresponding to each regional identification. Then, based on the historical security data information of each event type, the probability correction coefficient of the event type is obtained; and based on the probability correction coefficient, the horizontal situation comparison index value corresponding to each regional identification is corrected and calculated to obtain the target situation comparison result corresponding to each regional identification. In the disclosed embodiment, since the target situation comparison result is obtained based on the data of the two dimensions of the horizontal situation comparison index value and the historical security data information, it can be seen that the disclosed embodiment can obtain the threat comparison of the situation status between regions, which has quantitative evaluation significance for the situation indexes such as the threat index and the risk index in the evaluation of the network security situation of multiple regions, and in the calculation process, the influence of the differences in different regions and historical security data information on the horizontal situation comparison index value is eliminated, thereby improving the effect of comparative analysis.

[0107] Based on the above method embodiment, the present disclosure also provides a network security situation comparison and analysis device, referring to Figure 3 , is a schematic diagram of the structure of a network security situation comparison and analysis device provided by an embodiment of the present disclosure, the device comprising:

[0108] The first acquisition module 301 is used to acquire the security data information within the target time period; wherein the security data information includes the area identifier, time period and event type;

[0109] A second acquisition module 302 is used to acquire a weight corresponding to each event category based on a time period;

[0110] The calculation module 303 is used to calculate the ranking value of the number of each event in each region in all regions based on the total number of regions, the number of event types, the weight corresponding to each event category, and the number of each event corresponding to each region through a preset formula to obtain the horizontal situation comparison index value corresponding to each region identifier.

[0111] In an optional implementation manner, the first acquisition module is specifically configured to:

[0112] Obtain security events within the target time period;

[0113] The security events are grouped and counted according to the area identifier, time period and event type to obtain security data information.

[0114] In an optional implementation manner, the device further comprises:

[0115] A third acquisition module is used to obtain a probability correction coefficient of each event type corresponding to each area identifier;

[0116] The calculation submodule is used to perform correction calculation on the lateral situation comparison index value corresponding to each area identifier based on the probability correction coefficient to obtain the target situation comparison result corresponding to each area identifier.

[0117] In an optional implementation manner, the third acquisition module includes:

[0118] A first acquisition unit, used to acquire historical security data information corresponding to the area identifier;

[0119] A second acquisition unit, configured to acquire the number of historical events of each event type corresponding to the area identifier based on the historical security data information;

[0120] A conversion unit, used to convert the number of historical events of each event type to obtain a current score value of each event type;

[0121] The third acquisition unit is used to obtain the probability correction coefficient of each event type based on the current score value of each event type and a preset normal distribution table.

[0122] In an optional implementation manner, the conversion unit is specifically configured to:

[0123] Based on the number of historical events, obtain the average number of events and the event standard deviation of each event type within a preset time period, and obtain the current number of events of each event type;

[0124] The current score value of each event type is calculated based on the preset formula based on the average event number value, event standard deviation and current event number.

[0125] In an optional implementation manner, the third acquisition unit is specifically configured to:

[0126] Get the standard score value for each event type;

[0127] Obtaining a probability value that the current score value is greater than the standard score value based on a preset normal distribution table;

[0128] The difference between the target value and the probability value is calculated as the probability correction factor for each event type.

[0129] In an optional embodiment, the device further includes:

[0130] A determination module, used for determining a target area identifier of a target quantity from a plurality of area identifiers;

[0131] The sending module is used to send the target situation comparison result corresponding to the target area identifier to the display device, so that the display device displays it according to the size value of the target situation comparison result.

[0132] The present disclosure relates to a network security situation comparison and analysis device, first, obtaining security data information within a target time period; wherein the security data information includes a region identifier, a time period, and an event type; based on the time period, obtaining the weight corresponding to each event category; then, calculating the ranking value of all regions based on the total number of regions, the number of event types, the weight corresponding to each event category, and the number of each event corresponding to each region through a preset formula, to obtain a horizontal situation comparison index value corresponding to each region identifier. It can be seen that the embodiment of the present disclosure can obtain the threat comparison of the situation status between regions by obtaining the horizontal situation comparison index value corresponding to each region identifier, which has quantitative evaluation significance for the situation indexes such as the threat index and the risk index in evaluating the network security situation of multiple regions, and improves the effect of the comparative analysis of the network security situation of multiple regions.

[0133] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure.

[0134] The following specific reference Figure 4 , which shows a schematic diagram of the structure of an electronic device 400 suitable for implementing the embodiment of the present disclosure. The electronic device 400 in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0135] like Figure 4 As shown, the electronic device 400 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 into a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the electronic device 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0136] Typically, the following devices may be connected to the I / O interface 405: an input device 406 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 408 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 The electronic device 400 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0137] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 409, or installed from the storage device 408, or installed from the ROM402. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the network security situation comparison analysis method of the embodiment of the present disclosure are executed.

[0138] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0139] In some embodiments, the client and server may communicate using any currently known or future developed network protocol such as HTTP, and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0140] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0141] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains security data information within a target time period; wherein the security data information includes an area identifier, a time period, and an event; based on the time period, obtains the weight corresponding to each event category; and calculates the ranking value of the number of each event corresponding to each area in all areas through a preset formula based on the total number of areas, the number of event types, the weight corresponding to each event category, and the number of events corresponding to each area, to obtain a horizontal situation comparison index value corresponding to each area identifier.

[0142] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0143] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0144] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A network security situation comparative analysis method, characterized in that: include: Acquire security data information within a target time period; wherein the security data information includes an area identifier, a time period, and an event type; Based on the time period, obtaining a weight corresponding to each of the event types; The horizontal situation comparison index value corresponding to each of the regional identifiers is obtained by calculating the total number of regions, the number of event types, the weight corresponding to each of the event types, and the ranking value of the number of each event type corresponding to each region in all regions through a preset formula; The preset formula is formula (1): Where Tj represents the event type; w Tj is the weight value of each event type determined above; m represents the number of event types; n represents the total number of regions; r ai,Tj represents the ranking value of the number of event types Tj in region Ai after arranging all regions in descending order; F Ai Indicates the horizontal situation comparison index value corresponding to each area logo.

2. The network security situation comparative analysis method according to claim 1 is characterized in that: The obtaining of security data information within a target time period includes: Obtain security events within the target time period; The security data information is obtained by grouping and counting the security events according to the area identifier, the time period and the event type.

3. The network security situation comparative analysis method according to claim 1 is characterized in that: Also includes: Obtaining a probability correction coefficient for each of the event types corresponding to each of the area identifiers; Based on the probability correction coefficient, the lateral situation comparison index value corresponding to each of the area identifiers is corrected and calculated to obtain the target situation comparison result corresponding to each of the area identifiers.

4. The network security situation comparative analysis method according to claim 3 is characterized in that: The obtaining of the probability correction coefficient of each event type corresponding to each area identifier includes: Obtaining historical security data information corresponding to the area identifier; Based on the historical security data information, obtaining the number of historical events of each event type corresponding to the area identifier; Convert the number of historical events of each event type to obtain a current score value of each event type; Based on the current score value of each event type and a preset normal distribution table, a probability correction coefficient of each event type is obtained.

5. The network security situation comparative analysis method according to claim 4 is characterized in that: The converting the number of historical events of each event type to obtain the current score value of each event type includes: Based on the number of historical events, obtain an average number of events and an event standard deviation for each event type within a preset time period, and obtain a current number of events for each event type; The current score value of each event type is obtained by calculating based on the average event quantity value, the event standard deviation and the current event quantity through a preset formula.

6. The network security situation comparative analysis method according to claim 4 is characterized in that: The method of obtaining a probability correction coefficient for each event type based on the current score value of each event type and a preset normal distribution table includes: Get the standard score value for each event type; Obtaining a probability value that the current score value is greater than the standard score value based on the preset normal distribution table; The difference between the target value and the probability value is calculated as the probability correction coefficient of each event type.

7. The network security situation comparative analysis method according to claim 3 is characterized in that: Also includes: determining a target number of target area identifiers from the plurality of said area identifiers; The target situation comparison result corresponding to the target area identifier is sent to a display device, so that the display device displays the target situation comparison result according to the magnitude value.

8. A network security situation comparison and analysis device, characterized in that: include: A first acquisition module is used to acquire security data information within a target time period; wherein the security data information includes an area identifier, a time period, and an event type; A second acquisition module, used for acquiring a weight corresponding to each of the event types based on the time period; A calculation module, used to calculate the lateral situation comparison index value corresponding to each of the regional identifiers by using a preset formula based on the total number of regions, the number of event types, the weight corresponding to each of the event types, and the ranking value of the number of each event type corresponding to each region in all regions; The preset formula is formula (1): Where Tj represents the event type; w Tj is the weight value of each event type determined above; m represents the number of event types; n represents the total number of regions; r Ai,Tj represents the ranking value of the number of event types Tj in region Ai after arranging all regions in descending order; F Ai Indicates the horizontal situation comparison index value corresponding to each area logo.

9. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the network security situation comparison and analysis method described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the network security situation comparison and analysis method described in any one of claims 1 to 7.