A method, device, electronic device and storage medium for secure key management

By classifying the keys and evaluating the security level, determining the monitoring level based on the API interface call level, and taking corresponding security measures, the security risk problem caused by the coarse granularity of key management in the existing technology is solved, and fine-grained keys are realized. Security management and network security improvement.

CN115396885BActive Publication Date: 2024-10-22CHINA UNITED NETWORK COMM GRP CO LTD

Patent Information

Application Number
CN202211031506.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-26
Publication Date
2024-10-22
Estimated Expiration
2042-08-26

AI Technical Summary

Technical Problem

The existing key security management methods have a coarse granularity, which leads to security risks in the system and can easily cause network security accidents. Especially when systems are interconnected, attackers can penetrate through lateral movement.

Method used

By classifying keys according to business characteristics, the security level of each category of keys is obtained, and the monitoring level is determined based on the API interface call level between systems, and corresponding security management measures are taken, including prompts and early warnings, increasing key length and Using high-level cryptographic algorithms, generate real-time key security situation diagrams to locate target keys.

Benefits of technology

It achieves fine-grained management of key security, reduces security risks caused by mismatch between management measures and key levels, prevents attacks from moving laterally, and improves network security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115396885B_ABST
    Figure CN115396885B_ABST
Patent Text Reader

Abstract

This invention provides a key security management method, apparatus, electronic device, and storage medium, belonging to the field of information security technology. The method includes: classifying keys corresponding to each system according to business characteristics to obtain key sets of different categories; obtaining the security level of each key in each category of key set; determining the monitoring level of each key based on the interface call level of the application programming interface (API) between the systems corresponding to each key in each category of key set; and taking corresponding security management measures for each key based on the security level and the monitoring level. This invention at least addresses the problem of coarse-grained key management in related technologies, which leads to system security risks or easily causes network security incidents, and is suitable for key security and key management scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information security technology, and in particular to a key security management method, device, electronic equipment and storage medium. Background Art

[0002] The security of keys in 5G (5th generation mobile networks) is particularly important, and identity and data are the basis and important features of key security protection.

[0003] However, the current key security has the following problems: on the one hand, the granularity of key management is coarse, resulting in no differentiation in the protection level of each key, which will lead to security risks in the system. For example, for high-demand systems or scenarios, the selection and application of cryptographic algorithms are no different from those in conventional systems or scenarios. On the other hand, due to the interconnection between systems and the coarse granularity of key management, when one of the systems is compromised, it is likely to become a springboard for attackers, achieving lateral movement of attack "infiltration" and causing network security incidents. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a key security management method, device, electronic device and storage medium in response to the above-mentioned deficiencies in the prior art, so as to at least solve the problem that the granularity of key management in the related technology is coarse, resulting in security risks in the system or easily causing network security accidents.

[0005] In a first aspect, the present invention provides a key security management method, the method comprising: classifying the keys corresponding to each system according to business characteristics to obtain key sets of different categories; obtaining the security level of each key in the key set of each category; determining the monitoring level of each key according to the interface call level of the application programming interface API between the systems corresponding to each key in the key set of each category; and taking corresponding security management measures for each key according to the security level and the monitoring level of each key.

[0006] Preferably, the service features include identity service features and data service features. The classifying the keys corresponding to each system according to the service features to obtain key sets of different categories specifically includes: classifying the keys corresponding to each system according to the identity service features and the data service features to obtain identity key sets and data key sets.

[0007] Preferably, the obtaining of the security level of each key in each category of the key set specifically includes: obtaining the security level of each key in each category of the key set according to the importance of the system.

[0008] Preferably, the importance of the system includes the importance of the location of the system and the importance of the data carried by the system. The step of obtaining the security level of each key in each category of key sets according to the importance of the system specifically includes: obtaining the security level of each key in the identity-type key set according to the importance of the location of the system; and obtaining the security level of each key in the data-type key set according to the importance of the data carried by the system.

[0009] Preferably, the method of determining the monitoring level of each key according to the interface call level of the application programming interface API between the systems corresponding to each key in each category of the key set specifically includes: determining the API interface call level according to the number of API interface calls between the systems corresponding to each key in each category of the key set; determining the corresponding monitoring level of each key according to the API interface call level.

[0010] Preferably, before determining the API interface call level according to the number of API interface calls between systems corresponding to each key in each category of key sets, the method also includes: obtaining the number of API interface calls between systems corresponding to each key in each category of key sets, wherein the number of API interface calls is the number of API interface calls corresponding to the minimum number of calls of the current system within a preset time length.

[0011] Preferably, the security management measures include at least one of the following: prompt warning, increase key length, use of high-level cryptographic algorithms. The taking of corresponding security management measures for each key according to the security level and monitoring level of each key specifically includes: according to the security level and monitoring level of each key, using different colors to identify each key to generate a real-time key security situation map; locating the target key according to the color change of the real-time key security situation map; taking corresponding security management measures for the target key.

[0012] In a second aspect, the present invention also provides a key security management device, comprising: a classification module, used to classify the keys corresponding to each system according to business characteristics to obtain key sets of different categories. An acquisition module, connected to the classification module, used to obtain the security level of each key in each category of the key set. A determination module, connected to the classification module, used to determine the monitoring level of each key according to the interface call level of the application programming interface API between the systems corresponding to each key in each category of the key set. A management module, connected to the acquisition module and the determination module, used to take corresponding security management measures for each key according to the security level and the monitoring level of each key.

[0013] Preferably, the management module includes: a generation unit, used to identify each key with different colors according to the security level and the monitoring level of each key, so as to generate a real-time key security situation map; a positioning unit, connected to the generation unit, used to locate the target key according to the color change of the real-time key security situation map; and a management unit, connected to the positioning unit, used to take corresponding security management measures for the target key.

[0014] In a third aspect, the present invention further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to implement the key security management method as described in the first aspect.

[0015] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the key security management method as described in the first aspect is implemented.

[0016] The key security management method, device, electronic device and storage medium provided by the present invention classify the keys, then obtain the security level of each key in each category, and determine the monitoring level of each key in each category according to the correlation between the systems corresponding to the keys in the same category, and then take corresponding security management measures for each key according to the different security levels and different monitoring levels of each key, thereby realizing fine-grained management of key security. Moreover, since the security management measures are set by taking the correlation between systems into consideration in the fine-grained management of key security, it is possible to prevent the lateral movement of attack "penetration", avoid network security accidents and improve network security. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A schematic diagram of a key security management method according to Embodiment 1 of the present invention;

[0018] Figure 2 This is a flow chart of another key security management method according to Embodiment 1 of the present invention;

[0019] Figure 3 This is a schematic diagram of the structure of a key security management device according to Embodiment 2 of the present invention;

[0020] Figure 4 This is a schematic diagram of the structure of an electronic device according to Embodiment 3 of the present invention. DETAILED DESCRIPTION

[0021] In order to enable those skilled in the art to better understand the technical solution of the present invention, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0022] It should be understood that the specific embodiments and drawings described herein are only used to explain the present invention rather than to limit the present invention.

[0023] It can be understood that, in the absence of conflict, the various embodiments of the present invention and the various features in the embodiments can be combined with each other.

[0024] It can be understood that, for the convenience of description, the drawings of the present invention only show the parts related to the present invention, while the parts irrelevant to the present invention are not shown in the drawings.

[0025] It can be understood that each unit and module involved in the embodiments of the present invention may correspond to only one physical structure, or may be composed of multiple physical structures, or multiple units and modules may be integrated into one physical structure.

[0026] It can be understood that, without conflict, the functions and steps marked in the flowcharts and block diagrams of the present invention may occur in an order different from that marked in the drawings.

[0027] It is understood that the flowcharts and block diagrams of the present invention illustrate the possible architectures, functions, and operations of the systems, devices, equipment, and methods according to the various embodiments of the present invention. Each box in the flowchart or block diagram may represent a unit, module, program segment, or code, which contains executable instructions for implementing the specified functions. Moreover, each box or combination of boxes in the block diagram and flowchart may be implemented by a hardware-based system that implements the specified functions, or may be implemented by a combination of hardware and computer instructions.

[0028] It can be understood that the units and modules involved in the embodiments of the present invention can be implemented by software or hardware. For example, the units and modules can be located in a processor.

[0029] Embodiment 1:

[0030] Since the existing key security management method has a coarse granularity, the protection level of each key is not differentiated, which makes the system have security risks, and it is easy to happen that when one of the systems is captured, it is likely to become a springboard for attackers, realizing the lateral movement of attack "penetration", causing network security accidents. Therefore, in the key security management method provided in this embodiment, by establishing a key classification method based on identity and data, and then further grading according to the importance of the system, the importance (or sensitivity) of the data carried by the system, etc., the relevant keys are classified and graded accordingly, and the fine-grained control of the keys is achieved, and the basic framework of key security management is established; then, according to the results of classification and grading, the API interface calls between systems at the same category level are monitored and analyzed, that is, the degree of association between the systems, and the key security situation map is further given through the monitoring and analysis results of the API interface calls, and different colors are used to monitor and warn key security, and further generate a key security situation map, so as to achieve the situation effect of "preferring false alarms to missed reports" for key security monitoring related to important systems, sensitive data, etc., which helps to discover network abnormalities in advance and give early warnings, thereby building a strong network security defense line.

[0031] like Figure 1 As shown, this embodiment provides a key security management method, the method comprising:

[0032] Step 101, classify the keys corresponding to each system according to the service characteristics to obtain key sets of different categories.

[0033] Specifically, the service features include identity service features and data service features. The classifying the keys corresponding to each system according to the service features to obtain key sets of different categories includes: classifying the keys corresponding to each system according to the identity service features and the data service features to obtain identity key sets and data key sets.

[0034] In this embodiment, since identity and data are the basis and important business features of security protection, identity business features and data business features are used as conditions for key classification, because the important use scenarios of keys are identity authentication, data confidentiality, integrity, etc., so it is of great value to use identity and data as conditions for key classification. Of course, this embodiment is not limited to these two classification conditions. Specifically, the systems or devices involved in identity authentication and key data are sorted out and identified respectively. This embodiment uses the system as an example. For example, the system identification related to identity authentication (i.e., identity business features) is ID, such as identity authentication server, identity authentication management system, identity authentication access server, digital certificate server, etc. can all be identified as ID, then the corresponding keys of the identity class system are also identified as ID; the system identification related to data (i.e., data business features) is DT, then the corresponding keys of the data class system are also identified as DT. In summary, since the system and the key have a one-to-one correspondence, by classifying the system according to the business features, the corresponding keys of the system are classified, thereby obtaining the key set of the identity class and the key set of the data class.

[0035] Step 102: Obtain the security level of each key in each category of key sets.

[0036] In this embodiment, the security level can be divided into three levels: A, B, and C. The key security level of level A is the highest, followed by level B, and the key security level of level C is the lowest. The security level of each key in each category of key set can be obtained according to the importance of the system, the amount of business carried by the system, the throughput of the system, or the response delay of the system.

[0037] Optionally, obtaining the security level of each key in each category of key sets specifically includes: obtaining the security level of each key in each category of key sets according to the importance of the system. The more important the system is, the higher the security level of the key corresponding to the system is.

[0038] Specifically, the importance of the system includes the importance of the location of the system and the importance of the data carried by the system. The obtaining of the security level of each key in each category of key set according to the importance of the system includes: obtaining the security level of each key in the identity-type key set according to the importance of the location of the system; and obtaining the security level of each key in the data-type key set according to the importance of the data carried by the system.

[0039] In this embodiment, the classification is performed based on the importance of the location of the system and the sensitivity of the data carried by the system (i.e., the importance). For example, the classification related to the identity ID refers to the location of the system and the characteristics of the identity, such as the identity authentication-related systems of the intranet, DMZ (demilitarized zone) and extranet. Figure 2 As shown in the figure, the system is divided into three levels: A, B, and C according to the importance of the system location. The corresponding key security level decreases gradually. For example, an identity authentication system N1 in the intranet has its key classified and graded as ID A , written as a key-value pair K1 <N1,ID A >; The corresponding key of the system N2 in the external network or other location is identified as ID B , key-value pair K2 <N2,ID B > According to this classification and grading method, we get an identity-related system set (or key set) S{K1, K2, ..., K n}, where n represents the number of keys that meet the identity business characteristics and have a certain security level. Data classification is divided into levels 1, 2, and 3 according to the sensitivity of the data carried by the system. The security level of the key corresponding to the system decreases gradually. For example, if the system M1 carries highly sensitive data, its corresponding key identifier is DT1, and the corresponding key-value pair is J1.<M1,DT1> For example, if the system M2 carries less sensitive or insensitive data, the key corresponding to the system is identified as DT3, and the key-value pair J2<M2,DT3> ; Get a system set (or key set) P{J1,J2,……,J g}, where g represents the number of keys that meet the data service characteristics and have a certain security level. After the identity and data-related keys are classified and graded, the keys are now divided in a fine-grained manner. The purpose of the classification and grading of keys in this embodiment is to perform fine-grained management of keys of different categories and different security levels, thereby achieving differentiated management of keys of different security levels and reasonably matching key management measures, thereby reducing system security risks caused by mismatches between management measures and key levels. For example, identity keys with high security levels use high-level key algorithms, while data keys with low security levels use ordinary key algorithms.

[0040] Step 103, determining the monitoring level of each key according to the interface call level of the application programming interface (API) between systems corresponding to each key in each category of the key set.

[0041] Specifically, the method of determining the monitoring level of each key according to the interface call level of the application programming interface API between the systems corresponding to each key in each category of the key set includes: determining the API interface call level according to the number of API interface calls between the systems corresponding to each key in each category of the key set; determining the corresponding monitoring level of each key according to the API interface call level.

[0042] Optionally, before determining the API interface call level according to the number of API interface calls between systems corresponding to each key in each category of the key set, the method also includes: obtaining the number of API interface calls between systems corresponding to each key in each category of the key set, wherein the number of API interface calls is the number of API interface calls corresponding to the minimum number of calls of the current system within a preset time length.

[0043] In this embodiment, in order to obtain the correlation between systems, this embodiment considers determining the correlation between systems based on the AIP interface call level between systems. In the system set (i.e., key set) S of the identity class, the more interfaces the same system (i.e., the system corresponding to the key) is called by other systems in the S set (i.e., the systems corresponding to other keys in the S set), the more important the system is, and the higher the importance of the key corresponding to the system is, which means that the key corresponding to the system is the key target of key situation monitoring, and the higher its corresponding monitoring level is, and the monitoring level is represented by H, L, and LL, then the key is H level. For example, the number of API interface calls of the N1 system in the S set is 20 times / hour, the number of API interface calls of the N2 system is 15 times / hour, and the number of API interface calls of the N3 system is 5 times / hour. Therefore, the key monitoring levels corresponding to the systems are H, L, and LL, respectively, and the key-value pair identifier is updated to K1. <N1,ID A , H>, K2 <N2,ID B , L>, K3 <N3,ID C ,LL>,In summary, the identity-based key classification set S contains a feature set with two key elements (the security level of the ID and the monitoring level of the API interface call). It should be noted that, since there are multiple API interfaces in a system, and each API interface is called a different number of times within the preset time length, this embodiment uses the number of calls to the API interface with the least number of calls by the system within the preset time length as the number of API interface calls of the current system, where the preset time length can be 1 hour or half an hour. In addition, the method for obtaining the number of API interface calls is not limited to the example method in this embodiment.

[0044] Step 104: taking corresponding security management measures for each key according to the security level and the monitoring level of each key.

[0045] In this embodiment, the security management measures include at least one of the following: prompt warning, increase key length, use of high-level cryptographic algorithms. For example, for keys with the lowest security level and the lowest monitoring level, the security management measures taken are to use ordinary-level cryptographic algorithms. For keys with a security level of A and a monitoring level of 1, the security management measures taken are to increase the key length and use a high-level cryptographic algorithm. Since the monitoring level of the key corresponding to the system is determined based on the API interface call level between systems of the same category in this embodiment, and then the security level of the key itself is integrated, corresponding security management measures are taken, so that on the basis of improving key security, the lateral movement of attack "penetration" is effectively prevented, and network security is further improved.

[0046] Optionally, taking corresponding security management measures for each key according to the security level and the monitoring level of each key specifically includes steps 1041 to 1043:

[0047] Step 1041, according to the security level and the monitoring level of each key, use different colors to identify each key to generate a real-time key security situation map.

[0048] Step 1042, locating the target key according to the color change of the real-time key security situation map.

[0049] Step 1043: Take corresponding security management measures for the target key.

[0050] In this embodiment, in order to facilitate monitoring personnel to quickly identify abnormal situations in network security, different colors are used to identify each key or the system corresponding to each key to generate a real-time key security situation map. Figure 2 As shown, different color levels (red, orange, yellow) are used to monitor systems or keys. If the security level and monitoring level of a system key are both high (ID A , H), the key is a key monitoring object, and the key or system is marked in red. If both the security level and the monitoring level are low (ID C , LL), the key or system is marked yellow, and the keys or systems of other combinations are marked orange. If according to the above rules, the key of the N1 system in the S set is red, the key of the N2 system is orange, and the key of the N3 system is yellow, the state of updating the key-value pair in the S set is K1 <N1,ID A ,H,Red>,K2 <N2,ID B ,L,Orange>,K3 <N3,ID C, LL, Yellow>. According to this rule, the corresponding system set (or key set) P divided based on data service characteristics is also updated, J1 <M1, DT1, H, Red>, J2 <M2, DT3, LL, Yellow>. In summary, through the classification based on identity service characteristics and data service characteristics, the method of security classification of system importance and monitoring classification of API interface calls forms a fine-grained key security situation monitoring map. When a change in a certain parameter of the system (such as the number of API interface calls, or the location of the system, or the importance of the data) will cause a change in the level of the corresponding key of the system, the target key can be clearly located. For example, when the API interface call frequency of the N3 system in the S set increases to more than 20 times per hour, and the color of the corresponding key or system changes from yellow to orange, it will attract the attention of the monitoring personnel. The monitoring personnel can quickly conduct research and analysis, and take technical measures in a timely manner to strengthen system security and prevent key leakage, such as increasing the key length, or using a more secure cryptographic algorithm, etc., to block abnormal events in a timely manner. The key security management method of this embodiment can also be applied to penetration testing. An abnormal call of a certain API interface can be seen from the key monitoring situation map in a timely manner, and then traced back.

[0051] The key security management method of this embodiment classifies the keys, then obtains the security levels of each key in each category, and determines the monitoring levels of each key in each category according to the correlation degree between the systems corresponding to the keys in the same category. Then, according to the different security levels and different monitoring levels of each key, corresponding security management measures are taken for each key, so as to realize the fine-grained management of key security, reasonably match the management measures of the keys, and thus reduce the security risks caused by the mismatch between the management measures and the key levels. In addition, to reasonably evaluate the correlation degree between systems, this embodiment considers determining the correlation degree between systems according to the AIP interface call level between systems. Therefore, the monitoring level of the key corresponding to the system is determined based on the API interface call level between the systems of the same category, and then combined with the security level of the key itself, corresponding security management measures are taken, so as to effectively prevent the lateral movement of attacks "penetrating" while improving key security, and further improve network security. Finally, different colors are used to identify each key or the system corresponding to each key to generate a real-time key security situation map, which is conducive to the monitoring personnel to quickly identify abnormal situations in network security. The identification method is intuitive and effective, thus improving network security.

[0052] Embodiment 2:

[0053] As Figure 3 shown, this embodiment provides a key security management device, including:

[0054] The classification module 31 is used to classify the keys corresponding to each system according to the service characteristics to obtain key sets of different categories.

[0055] The acquisition module 32 is connected to the classification module 31 and is used to obtain the security level of each key in each category of the key set.

[0056] The determination module 33 is connected to the classification module 31 and is used to determine the monitoring level of each key according to the interface call level of the application programming interface API between systems corresponding to each key in each category of the key set.

[0057] The management module 34 is connected to the acquisition module 32 and the determination module 33, and is used to take corresponding security management measures for each key according to the security level and the monitoring level of each key.

[0058] Optionally, the service characteristics include identity service characteristics and data service characteristics.

[0059] The classification module is specifically used to classify the keys corresponding to each system according to the identity service characteristics and the data service characteristics to obtain the key set of the identity class and the key set of the data class.

[0060] Optionally, the acquisition module is specifically configured to acquire the security level of each key in each category of the key set according to the importance of the system.

[0061] Optionally, the importance of the system includes the importance of the location of the system and the importance of the data carried by the system. The acquisition module includes a first acquisition unit and a second acquisition unit.

[0062] The first acquisition unit is connected to the classification module and is used to acquire the security level of each key in the key set of the identity class according to the importance of the location of the system.

[0063] The second acquisition unit is connected to the classification module and is used to acquire the security level of each key in the key set of the data class according to the importance of the data carried by the system.

[0064] Optionally, the determination module includes a first determination unit and a second determination unit.

[0065] The first determination unit is connected to the classification module and is used to determine the API interface call level according to the number of API interface calls between systems corresponding to each key in each category of the key set.

[0066] The second determining unit is connected to the first determining unit and is used to determine the corresponding monitoring level of each key according to the API interface call level.

[0067] Optionally, the key security management device further includes a statistics module. The statistics module is connected to the classification module and is used to obtain the number of API interface calls between systems corresponding to each key in each category of the key set, wherein the number of API interface calls is the number of API interface calls corresponding to the minimum number of calls of the current system within a preset time period.

[0068] Optionally, the security management measures include at least one of the following: prompting an early warning, increasing the key length, and using a high-level cryptographic algorithm.

[0069] Optionally, the management module includes a generating unit, a positioning unit and a managing unit.

[0070] The generating unit is used to identify each key with a different color according to the security level and the monitoring level of each key, so as to generate a real-time key security situation map.

[0071] The positioning unit is connected to the generating unit and is used to locate the target key according to the color change of the real-time key security situation map.

[0072] The management unit is connected to the positioning unit and is used to take corresponding security management measures for the target key.

[0073] The key security management device of this embodiment is used to classify keys, and is also used to obtain the security level of each key in each category, and to determine the monitoring level of each key in each category according to the correlation between the systems corresponding to each key in the same category, and to take corresponding security management measures for each key according to the different security levels and different monitoring levels of each key, so as to achieve fine-grained management of key security, reasonably match the management measures of the key, and thus reduce the security risks caused by the mismatch between the management measures and the key level. It is used to determine the monitoring level of the key corresponding to the system according to the API interface call level between the systems of the same category, and then combined with the security level of the key itself, and to take corresponding security management measures, so that on the basis of improving key security, it can effectively prevent the lateral movement of the attack "penetration", and further improve network security. In particular, it is used to use different colors to identify each key or the system corresponding to each key to generate a real-time key security situation map, which is conducive to the monitoring personnel to quickly identify abnormal situations of network security. The identification method is intuitive and effective, thereby improving network security.

[0074] Embodiment 3:

[0075] like Figure 4 As shown, this embodiment provides an electronic device, including a memory 41 and a processor 42, wherein the memory 41 stores a computer program, and the processor 42 is configured to run the computer program to implement the key security management method as described in Example 1.

[0076] Embodiment 4:

[0077] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the key security management method as described in Embodiment 1 is implemented.

[0078] The electronic device of Example 3 and the computer-readable storage medium of Example 4 can realize fine-grained management of key security and reasonably match the management measures of keys, thereby reducing the security risks caused by the mismatch between management measures and key levels. And on the basis of improving key security, it can effectively prevent the lateral movement of attack "infiltration", further improving network security. In particular, since different colors are used to identify each key or the system corresponding to each key to generate a real-time key security situation map, it is beneficial for monitoring personnel to quickly identify abnormal situations of network security, and the identification method is intuitive and effective, thereby improving network security. It can be understood that the above implementation is only an exemplary implementation adopted to illustrate the principles of the present invention, but the present invention is not limited to this. For ordinary technicians in this field, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also regarded as the scope of protection of the present invention.

Claims

1. A key security management method, characterized in that: The method comprises: Classifying the keys corresponding to each system according to business characteristics to obtain key sets of different categories, wherein the business characteristics include identity business characteristics and data business characteristics; Obtain the security level of each key in each category of key sets according to the importance of the system; Determine the monitoring level of each key according to the interface call level of the application programming interface API between the systems corresponding to each key in each category of key set; According to the security level and monitoring level of each key, corresponding security management measures are taken for each key. The importance of the system includes the importance of the location of the system and the importance of the data carried by the system. The step of obtaining the security level of each key in each category of key sets according to the importance of the system specifically includes: Obtain the security level of each key in the identity-based key set according to the importance of the system's location; And, according to the importance of the data carried by the system, the security level of each key in the key set of the data class is obtained, Determining the monitoring level of each key according to the interface call level of the application programming interface API between systems corresponding to each key in each category of key set specifically includes: Determine the API interface call level according to the number of API interface calls between systems corresponding to each key in each category of key set; Determine the corresponding monitoring level of each key according to the API interface call level. The security management measures include at least one of the following: prompting warning, increasing the key length, using a high-level cryptographic algorithm, According to the security level and monitoring level of each key, taking corresponding security management measures for each key specifically includes: Generate a real-time key security situation map according to the security level and the monitoring level of each key; Locate the target key based on the changes in the real-time key security situation map; Take corresponding security management measures for the target key.

2. The key security management method according to claim 1, characterized in that: The keys corresponding to each system are classified according to the service characteristics to obtain key sets of different categories, specifically including: The keys corresponding to each system are classified according to the identity service characteristics and the data service characteristics to obtain the identity key set and the data key set.

3. The key security management method according to claim 1, characterized in that: Before determining the API interface call level according to the number of API interface calls between systems corresponding to each key in each category of the key set, the method further includes: The number of API interface calls between systems corresponding to each key in each category of key sets is obtained, wherein the number of API interface calls is the number of API interface calls corresponding to the minimum number of calls of the current system within a preset time length.

4. The key security management method according to claim 1, characterized in that: According to the security level and monitoring level of each key, taking corresponding security management measures for each key specifically includes: According to the security level and the monitoring level of each key, each key is marked with a different color to generate a real-time key security situation map; Locate the target key based on the color changes of the real-time key security situation map; Take corresponding security management measures for the target key.

5. A key security management device using the key security management method according to any one of claims 1 to 4, characterized in that: include: A classification module is used to classify the keys corresponding to each system according to business characteristics to obtain key sets of different categories, wherein the business characteristics include identity business characteristics and data business characteristics. The acquisition module is connected to the classification module and is used to obtain the security level of each key in each category of the key set according to the importance of the system. The determination module is connected to the classification module and is used to determine the monitoring level of each key according to the interface call level of the application programming interface API between the systems corresponding to each key in each category of the key set. The management module is connected to the acquisition module and the determination module, and is used to take corresponding security management measures for each key according to the security level and the monitoring level of each key.

6. The key security management device according to claim 5, characterized in that: The management modules include: A generating unit is used to identify each key with a different color according to the security level and the monitoring level of each key to generate a real-time key security situation map, The positioning unit is connected to the generating unit and is used to locate the target key according to the color change of the real-time key security situation map. The management unit is connected to the positioning unit and is used to take corresponding security management measures for the target key.

7. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to implement the key security management method according to any one of claims 1 to 4.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the key security management method as described in any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Transaction verification through enhanced authentication

    CN106716343A

  • Secret key management method and device, and readable storage medium

    CN107733639A

  • Key management method, related equipment and computer readable storage medium

    CN110635905A

  • Cryptographic device for user to autonomously control data security level protection

    CN110879880A

  • Method for detecting application security of password and key and electronic equipment thereof

    CN112632550A

Cited By

  • Dynamic digital watermarking system for real-time user activity fingerprinting and unauthorized access tracking

    US20250291909A1