A method, system, device and storage medium for comprehensive access control of power terminals
By combining static attributes and dynamic behavior information, a comprehensive access control method for power terminals solves the problem of insufficient static trust evaluation in the existing technology, realizes dynamic trust evaluation and access control of power terminals, improves security and rationality, and reduces Eliminate potential security risks and provide reliable protection for the power system network.
Patent Information
- Application Number
- CN202410896300.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-07-05
AI Technical Summary
Existing power system network security protection mainly relies on static boundary isolation and trust assessment, which cannot effectively monitor and respond to the dynamic access behavior of power terminals, resulting in potential security threats and the inability to meet the development needs of power business.
Design a comprehensive access control method for power terminals that combines static attributes and dynamic behavior information, and adaptively adjusts the terminal trust value through real-time trust evaluation and access control policy updates to achieve minimal and reasonable access authorization control.
It improves the comprehensiveness and reliability of power terminal trust assessment, reduces potential security risks, and ensures the safe and stable operation of the power system network.
Smart Images

Figure CN118432956B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power terminal access control, and in particular to a power terminal integrated access control method, system, computer equipment and storage medium based on dynamic risk assessment. Background Art
[0002] With the application of new technologies such as the power Internet of Things and the rapid development of secondary businesses such as the coordinated control of "source-grid-load-storage" in the spot market, network boundaries continue to extend, node devices increase significantly, functional applications become more in-depth, and data interaction becomes more extensive, which greatly increases the exposure of the power Internet of Things. The widespread connection of massive heterogeneous terminals has brought about the blurring of network boundaries and the diversification of access scenarios. At the same time, the power Internet of Things architecture has become increasingly large and complex, the proportion of new energy and distributed energy is increasing, and the terminal security protection is not in place and the security management problems are prominent.
[0003] The current power system network security protection system is mainly based on boundary isolation protection. By deploying horizontal isolation devices between network areas and encryption authentication devices at vertical boundaries, combined with the "one-time authentication, continuous trust" mechanism, the power terminal equipment is evaluated for trust based on the PKI certificate system and traffic anomaly analysis, and a security protection system based on static boundaries with a security access control level is set according to the trust evaluation results. However, in actual applications, after the power terminal is connected to the network, the number of grid-connected services continues to increase and the working environment of the terminal equipment continues to change. If the authority is determined only based on static attributes and there is a lack of dynamic monitoring and evaluation of the access behavior of the power terminal, the potential security threats brought by the power terminal equipment will be directly missed due to insufficient security authentication and trust evaluation, resulting in endangering the safe operation of the power system network, making it difficult to effectively meet the development needs of the power business, and not conducive to the construction and promotion of the power Internet of Things. Summary of the invention
[0004] The purpose of the present invention is to provide a comprehensive access control method for power terminals. By designing a security control mechanism for continuous trust evaluation and dynamic access control of power terminals that takes into account static attributes and access behaviors for a local communication network, it can adaptively and truly reflect the trust value of each power terminal in different time periods, improve the comprehensiveness and reliability of the trust evaluation of the power terminal, and facilitate the minimization of reasonable access authorization control for each power terminal, thereby improving the rationality of terminal access control, effectively reducing the potential security risks of networked power terminals, and providing reliable protection for the safe and stable operation of the power system network.
[0005] In order to achieve the above objectives, it is necessary to provide a method, system, computer equipment and storage medium for comprehensive access control of power terminals in response to the above technical problems.
[0006] In a first aspect, an embodiment of the present invention provides a method for comprehensive access control of a power terminal, the method comprising the following steps:
[0007] In response to the network registration of each power terminal, a corresponding terminal security service level and a terminal initial trust value are generated according to the acquired basic information of the corresponding terminal, and a corresponding terminal access control strategy is executed according to the terminal initial trust value;
[0008] Acquire the number of terminals on the grid per unit time and the dynamic behavior information of each power terminal in real time, generate an online terminal number trust value according to the number of terminals on the grid per unit time, generate a corresponding terminal behavior trust value according to the dynamic behavior information, and obtain a corresponding terminal real-time trust evaluation value according to the terminal security service level, the terminal behavior trust value and the online terminal number trust value;
[0009] A preset number of terminal historical trust evaluation values of each power terminal are obtained, and the real-time trust evaluation value of the terminal and the corresponding historical trust evaluation value of the terminal are comprehensively analyzed to obtain the corresponding terminal comprehensive trust value, and the corresponding terminal access control policy is updated according to the terminal comprehensive trust value.
[0010] Furthermore, the basic information of the terminal includes identity ID, communication protocol and service type;
[0011] The step of generating a corresponding terminal security service level and a terminal initial trust value according to the acquired corresponding terminal basic information comprises:
[0012] Determining whether the power terminal is a controlled terminal according to the identity ID in the basic information of the terminal;
[0013] If not, the corresponding terminal security service level is set to the release service level, and the corresponding terminal initial trust value is set to the release trust value;
[0014] If so, terminal identity authentication is performed according to the terminal basic information and the preset terminal identity authentication mechanism. If the authentication fails, the corresponding terminal initial trust value is set to the minimum trust value. Otherwise, the corresponding terminal security service level is generated according to the identity ID, communication protocol and business type of the terminal basic information, and the corresponding terminal initial trust value is generated according to the terminal security service level and the preset weight value.
[0015] Furthermore, the online terminal number trust value is expressed as:
[0016]
[0017] In the formula, and Respectivelyt The trust value of the number of online terminals and the number of online terminals per unit time at a certain moment; e represents the base of the exponential function.
[0018] Furthermore, the dynamic behavior information includes login records, network communication records and operating environment information; the operating environment information includes CPU usage and memory usage;
[0019] The step of generating a corresponding terminal behavior trust value according to the dynamic behavior information includes:
[0020] According to the login record, the ratio of the number of terminal logins in the corresponding unit time to the preset standard number of logins is calculated to obtain the corresponding login index value;
[0021] According to the network communication record, the ratio of the number of protocol communications in the corresponding unit time to the number of preset standard protocol communications is calculated to obtain the corresponding communication index value;
[0022] According to the CPU usage, the number of CPU usage exceptions in which the CPU usage rate exceeds the preset standard CPU usage rate within the corresponding unit time is obtained, and the ratio of the number of CPU usage exceptions to the preset CPU exception allowable number is calculated to obtain the corresponding CPU exception index value;
[0023] According to the memory usage, the number of memory usage anomalies in which the memory usage rate exceeds the preset standard memory usage rate within the corresponding unit time is obtained, and the ratio of the number of memory usage anomalies to the preset memory anomaly allowable number is calculated to obtain a corresponding memory anomaly index value;
[0024] A comprehensive trust evaluation of terminal behavior is performed according to the login index value, the communication index value, the CPU abnormality index value, and the memory abnormality index value to obtain the terminal behavior trust value.
[0025] Furthermore, the terminal behavior trust value is expressed as:
[0026]
[0027] In the formula, , , and Respectively t Moment i The login index value, communication index value, CPU abnormality index value and memory abnormality index value of each power terminal; , , and Indicates the weight of the indicator value; express t Moment iThe terminal behavior trust value of each power terminal.
[0028] Furthermore, the real-time trust evaluation value of the terminal is expressed as:
[0029]
[0030] In the formula, Indicates i Terminal security service level of each power terminal; express t Trust value of the number of online terminals at the moment; express t Moment i The terminal behavior trust value of each power terminal; , and Respectively represent the weight values corresponding to the terminal security service level, the online terminal number trust value and the terminal behavior trust value; express t Moment i The real-time trust evaluation value of the terminal of each power terminal.
[0031] Furthermore, the step of comprehensively analyzing the real-time trust evaluation value of the terminal and the corresponding historical trust evaluation value of the terminal to obtain the corresponding comprehensive trust value of the terminal includes:
[0032] Based on the trust value decay characteristic, the historical trust decay value of each terminal's historical trust evaluation value is calculated; the historical trust decay value is expressed as:
[0033]
[0034] In the formula, Indicates i The time corresponding to the real-time trust evaluation value of each power terminal; Indicates i The first power terminal j The time corresponding to the historical trust evaluation value of the terminal, and ; Indicates i Power Terminal The terminal's historical trust evaluation value at the moment; represents the decay rate; Indicates i Power Terminal The historical trust decay value of the terminal's historical trust evaluation value at the moment;
[0035] The real-time trust evaluation value of the terminal and the average value of all corresponding historical trust decay values are calculated to obtain the comprehensive trust value of the terminal.
[0036] In a second aspect, an embodiment of the present invention provides a power terminal integrated access control system, the system comprising:
[0037] The terminal network registration module is used to respond to the network registration of each power terminal, generate a corresponding terminal security service level and a terminal initial trust value according to the acquired corresponding terminal basic information, and execute a corresponding terminal access control strategy according to the terminal initial trust value;
[0038] A dynamic trust evaluation module is used to obtain in real time the number of terminals on the network per unit time and the dynamic behavior information of each power terminal, and generate a trust value for the number of online terminals according to the number of terminals on the network per unit time, generate a corresponding trust value for terminal behavior according to the dynamic behavior information, and obtain a corresponding real-time trust evaluation value for the terminal according to the terminal security service level, the terminal behavior trust value and the online terminal number trust value;
[0039] The dynamic access control module is used to obtain a preset number of terminal historical trust evaluation values of each power terminal, and comprehensively analyze the real-time trust evaluation value of the terminal and the corresponding historical trust evaluation value of the terminal to obtain the corresponding terminal comprehensive trust value, and update the corresponding terminal access control strategy according to the terminal comprehensive trust value.
[0040] In a third aspect, an embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0041] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.
[0042] The above-mentioned present application provides a method, system, computer equipment and storage medium for comprehensive access control of power terminals. The method is implemented to respond to the network registration of each power terminal, generate the corresponding terminal security service level and terminal initial trust value according to the obtained corresponding terminal basic information, execute the corresponding terminal access control policy according to the terminal initial trust value, and obtain the number of terminals on the network per unit time and the dynamic behavior information of each power terminal in real time, and generate an online terminal number trust value according to the number of terminals on the network per unit time, generate the corresponding terminal behavior trust value according to the dynamic behavior information, and obtain the corresponding terminal real-time trust evaluation value according to the terminal security service level, terminal behavior trust value and online terminal number trust value. After that, a preset number of terminal historical trust evaluation values of each power terminal are obtained, and the terminal real-time trust evaluation value and the corresponding terminal historical trust evaluation value are comprehensively analyzed to obtain the corresponding terminal comprehensive trust value, as well as a technical solution for updating the corresponding terminal access control policy according to the terminal comprehensive trust value. Compared with the existing technology, the comprehensive access control method for power terminals can not only improve the comprehensiveness and reliability of power terminal trust evaluation through dynamic trust evaluation and access control based on the dynamic characterization of the static attributes of the power terminals and the business resource access behavior, but also adaptively and continuously dynamically update the trust evaluation results of each power terminal, minimize access authorization control for the power terminals, improve the rationality of terminal access control, effectively reduce the potential security risks of the power terminals connected to the network, and provide reliable protection for the safe and stable operation of the power system network. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 It is a schematic diagram of the process framework of the integrated access control of the power terminal in an embodiment of the present invention;
[0044] Figure 2 is a flow chart of a method for comprehensive access control of power terminals in an embodiment of the present invention;
[0045] Figure 3 is a schematic diagram of the fluctuation of the trust value of the power terminal in an embodiment of the present invention;
[0046] Figure 4 1 is a schematic diagram of a process for obtaining a comprehensive trust value of a terminal in an embodiment of the present invention;
[0047] Figure 5 is another detailed flow chart of the integrated access control method for power terminals in an embodiment of the present invention;
[0048] Figure 6 It is a schematic diagram of the structure of the integrated access control system for power terminals according to an embodiment of the present invention;
[0049] Figure 7 It is a diagram of the internal structure of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical scheme and beneficial effects of the present application clearer, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. Obviously, the embodiments described below are part of the embodiments of the present invention and are only used to illustrate the present invention, but are not used to limit the scope of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0051] The integrated access control method for power terminals provided by the present invention can be understood as an application status that the existing power terminal access control only performs trust evaluation and access control based on static boundaries, cannot guarantee the comprehensiveness of trust evaluation and security authentication, and is difficult to avoid the potential security risks brought by the power terminal access to the network and access to business resources. Figure 1 The security control mechanism shown is based on the continuous fine-grained comprehensive trust evaluation and dynamic access control of power terminals that considers both static attributes and access behaviors, and adaptively reflects the trust value of each power terminal in different time periods, providing a basis for minimizing reasonable access authorization control of each power terminal. The following embodiments will explain the comprehensive access control method for power terminals of the present invention in detail.
[0052] In one embodiment, Figure 2 As shown, a method for comprehensive access control of power terminals is provided, comprising the following steps:
[0053] S11. In response to the network registration of each power terminal, generate a corresponding terminal security service level and a terminal initial trust value according to the acquired corresponding terminal basic information, and execute a corresponding terminal access control policy according to the terminal initial trust value.
[0054] The basic information of the terminal in this embodiment can be set according to actual application requirements. In order to meet the basic management needs of the power terminal while facilitating continuous comprehensive dynamic trust assessment of the power terminal, this implementation preferably sets the basic information of the terminal to include identity ID, communication protocol and business type. It should be noted that the basic information of the terminal can also add other terminal attribute information such as firmware version and system version according to management needs, which is not specifically limited at this time.
[0055] In this embodiment, the terminal security service level can be understood as the security service level corresponding to the basic attribute information of the power terminal, which is used to provide differentiated network communication services and security protection levels for each power terminal, and can be set by pre-setting a configuration table; the corresponding terminal initial trust value can be understood as the first trust evaluation value determined after the power terminal that has initially registered for network access passes controlled detection and identity authentication. In principle, in the absence of any service access, the initial information value of each power terminal should be higher than the minimum trust value required for secure access control. Specifically, the steps of generating the corresponding terminal security service level and terminal initial trust value based on the acquired corresponding terminal basic information include:
[0056] According to the identity ID in the basic information of the terminal, determine whether the power terminal is a controlled terminal; specifically, it can be understood that the controlled terminal list (a list of power terminals that need to be subject to security access control set in advance according to the system access control requirements) is traversed and matched according to the identity ID of the power terminal. If the identity ID is in the controlled terminal list, it is considered that access control is required, otherwise, no control is required.
[0057] If not, the corresponding terminal security service level is set to the release service level, and the corresponding terminal initial trust value is set to the release trust value; wherein, the release service level and the release trust value can be represented by pre-set special values, or they can be set to the corresponding maximum possible values, which are used to grant maximum resource access rights to uncontrolled power terminals, and no specific restrictions are made here.
[0058] If so, terminal identity authentication is performed according to the terminal basic information and the preset terminal identity authentication mechanism. If the authentication fails, the corresponding terminal initial trust value is set to the minimum trust value. Otherwise, the corresponding terminal security service level is generated according to the identity ID, communication protocol and business type of the terminal basic information, and the corresponding terminal initial trust value is generated according to the terminal security service level and the preset weight value; wherein, terminal identity authentication can be understood as when the power terminal accesses the local communication network, the local communication network can perform strong cryptographic authentication on the terminal identity after obtaining the corresponding terminal basic information to ensure the identity security of the power terminal, and generate a corresponding session key for the power terminal that has passed the security authentication to facilitate the subsequent initiation of secure network communication, and configure a minimum trust value for the power terminal that has not passed the identity authentication, so that it cannot obtain business resource access rights according to the minimum trust value, thereby facilitating the implementation of terminal identity-based secure access control.
[0059] In this embodiment, the specific number of levels corresponding to the terminal security service level can be determined according to the actual application scenario. For example, the security service level corresponding to the power terminal can be set to 10 levels from 0 to 9, that is, the access control system can provide 10 different service levels for different power terminals. In order to facilitate the subsequent comprehensive trust evaluation based on the security service level, this embodiment preferably uses the following formula to normalize the actually obtained security service level value to obtain the required terminal security service level:
[0060]
[0061] In the formula, and Respectively represent i The actual security service level value of each power terminal and the normalized terminal security service level.
[0062] After obtaining the terminal security service level of the registered power terminal through the above method steps, the product of the terminal security service level and the corresponding preset weight value can be used as the initial trust value of the terminal; it should be noted that the setting method of the initial trust value of the terminal given this time is to be consistent with the subsequent method of comprehensive trust evaluation based on the security service level. In actual applications, the initial trust value of the terminal can also be directly set to a value not lower than the minimum trust value according to actual needs.
[0063] The terminal access control strategy in this embodiment can be understood as matching the authorized access level or resource access permission range of the power terminal corresponding to different initial trust values of different security service levels; it should be noted that, if Figure 3 As shown, with the increase of the amount of business data processed by power terminals and the continuous accumulation of corresponding terminal operation behaviors, the trust value of each power terminal will also fluctuate, thereby affecting the subsequent update of the terminal access control policy. The specific update method is described below.
[0064] S12. Acquire the number of online terminals per unit time and the dynamic behavior information of each power terminal in real time, and generate an online terminal number trust value based on the number of online terminals per unit time, generate a corresponding terminal behavior trust value based on the dynamic behavior information, and obtain a corresponding terminal real-time trust evaluation value based on the terminal security service level, the terminal behavior trust value and the online terminal number trust value.
[0065] In this embodiment, the number of online terminals per unit time can be understood as the number of all online power terminals in the system corresponding to the current trust evaluation moment. It is a trust evaluation indicator that is preferred based on the network characteristics that the more online terminals per unit time, the greater the potential network security risk to the system. The terminal credit evaluation introduces this indicator through the method of online number-associated access control to effectively avoid the risk of system performance overload caused by too many online terminals per unit time, thereby ensuring the stability of the network environment. Taking into account the principle that the larger the actual number of online terminals, the lower the corresponding security trust, in this embodiment, the online terminal number trust value is preferably set to:
[0066]
[0067] In the formula, and Respectively t The trust value of the number of online terminals and the number of online terminals per unit time at a certain moment; e represents the base of the exponential function.
[0068] In this embodiment, the dynamic behavior information can be understood as the terminal operation attribute data per unit time used to dynamically and finely characterize the operation behavior of each power terminal; preferably, the dynamic behavior information includes login records, network communication records and operating environment information; wherein, the login record can be understood as the data information recording the time of each login access of the power terminal; the network communication record can be understood as the protocol communication record completed by the power terminal based on the communication protocol; the operating environment information can be understood as the equipment operating environment data corresponding to the power terminal, preferably including CPU usage and memory usage. It should be noted that the dynamic behavior information and the aforementioned terminal basic information can be obtained by reporting by the power terminal using the Internet of Things transmission protocol (such as the MQTT protocol), which will not be described in detail here.
[0069] The terminal behavior trust value in this embodiment can be understood as an operation behavior trust evaluation result obtained based on a comprehensive analysis of multi-dimensional terminal dynamic operation behavior attributes; specifically, the step of generating a corresponding terminal behavior trust value according to the dynamic behavior information includes:
[0070] According to the login record, the ratio of the number of terminal logins in the corresponding unit time to the preset standard number of logins is calculated to obtain the corresponding login index value;
[0071] According to the network communication record, the ratio of the number of protocol communications in the corresponding unit time to the number of preset standard protocol communications is calculated to obtain the corresponding communication index value;
[0072] According to the CPU usage, the number of CPU usage exceptions in which the CPU usage rate exceeds the preset standard CPU usage rate within the corresponding unit time is obtained, and the ratio of the number of CPU usage exceptions to the preset CPU exception allowable number is calculated to obtain the corresponding CPU exception index value;
[0073] According to the memory usage, the number of memory usage anomalies in which the memory usage rate exceeds the preset standard memory usage rate within the corresponding unit time is obtained, and the ratio of the number of memory usage anomalies to the preset memory anomaly allowable number is calculated to obtain a corresponding memory anomaly index value;
[0074] A comprehensive trust evaluation of terminal behavior is performed according to the login index value, the communication index value, the CPU abnormality index value, and the memory abnormality index value to obtain the terminal behavior trust value.
[0075] This embodiment performs fine-grained trust evaluation on each power terminal behavior by simultaneously considering multi-dimensional terminal operation behavior characteristics. While ensuring the comprehensiveness of the terminal behavior trust evaluation, it can also effectively ensure the reliability of the terminal behavior trust value, providing reliable support for the subsequent comprehensive analysis to obtain the accuracy of the real-time trust evaluation value of each power terminal.
[0076] In order to reflect the influence of various operation behavior attributes on the trust evaluation when calculating the terminal behavior trust value, and highlight the differences in the influence of different terminal operation behaviors on the trust value, so as to adapt to diversified business scenarios, this embodiment preferably presets different weight values for different terminal operation behavior attributes, and constructs a terminal behavior trust value fitting model by adopting a deformed Logistic function, which can ensure that it continuously decreases with the increase of the independent variable and the value range is between [0,1]; specifically, the terminal behavior trust value is expressed as:
[0077]
[0078] In the formula, , , and Respectively t Moment i The login index value, communication index value, CPU abnormality index value and memory abnormality index value of each power terminal; , , and Indicates the indicator value weight, which can be selected and set according to actual application requirements. and ; express t Moment i The terminal behavior trust value of each power terminal.
[0079] After obtaining the online terminal number trust value, the terminal security service level and the terminal behavior trust value corresponding to the power terminal through the above method steps, a multi-dimensional real-time trust evaluation of the power terminal can be performed based on the trust values of these three dimensions; preferably, the terminal real-time trust evaluation value is expressed as:
[0080]
[0081] In the formula, Indicates i Terminal security service level of each power terminal; express t Trust value of the number of online terminals at the moment; express t Moment i The terminal behavior trust value of each power terminal; , and They represent the weight values corresponding to the terminal security service level, the online terminal number trust value, and the terminal behavior trust value. The importance of the corresponding attributes can be selected and set according to the actual application requirements, and only needs to meet and ; express t Moment i The real-time trust evaluation value of the terminal of each power terminal.
[0082] This embodiment performs real-time behavior characterization and evaluation of each power terminal based on multi-dimensional terminal operation behavior attributes, and uses the obtained terminal behavior trust value together with the corresponding terminal security service level and the system's online terminal number trust value to establish a multi-dimensional trust evaluation model, which is used as the core of the terminal continuous trust and dynamic access control mechanism for the local communication network. It can not only realize real-time, true and comprehensive trust value evaluation of each power terminal, but also provide differentiated services for different business security level application scenarios by introducing the security service level that the system can provide.
[0083] S13. Obtain a preset number of terminal historical trust evaluation values of each power terminal, and conduct a comprehensive analysis of the terminal real-time trust evaluation value and the corresponding terminal historical trust evaluation value to obtain the corresponding terminal comprehensive trust value, and update the corresponding terminal access control policy according to the terminal comprehensive trust value; wherein, the terminal historical trust evaluation value can be understood as the trust evaluation value at the historical moment that has been collected before the moment of obtaining the terminal real-time trust evaluation value, and the specific preset number can be selected according to actual needs, and no specific restrictions are given here.
[0084] Considering that in actual applications, power terminals have not been connected to the grid for a long time, their trust values should decay over time to effectively prevent security risks such as theft of the terminal. This embodiment preferably performs a comprehensive analysis of the real-time trust fine-grained evaluation results and multiple attenuated historical trust values to obtain the final terminal comprehensive trust value. Specifically, the step of comprehensively analyzing the real-time trust evaluation value of the terminal and the corresponding historical trust evaluation value of the terminal to obtain the corresponding terminal comprehensive trust value includes:
[0085] Based on the trust value decay characteristics, the historical trust decay value of each terminal's historical trust evaluation value is calculated; wherein the historical trust decay value can be understood as the trust value obtained by converting the trust value at different historical moments according to the preset decay rate, which can be expressed as:
[0086]
[0087] In the formula, Indicates i The time corresponding to the real-time trust evaluation value of each power terminal; Indicates i The first power terminal j The time corresponding to the historical trust evaluation value of the terminal, and ; Indicates i Power Terminal The terminal's historical trust evaluation value at the moment; represents the decay rate; Indicates i Power Terminal The historical trust decay value of the terminal's historical trust evaluation value at the moment;
[0088] The average value of the real-time trust evaluation value of the terminal and all corresponding historical trust decay values is calculated to obtain the comprehensive trust value of the terminal; specifically, the comprehensive trust value of the terminal is expressed as:
[0089]
[0090] In the formula, Indicates i The terminal comprehensive trust value of each power terminal; k Indicates the total number of trust values used to calculate the terminal's comprehensive trust value, including the terminal's real-time trust evaluation value and k -1 historical trust decay value.
[0091] This embodiment adopts Figure 4The method shown in the figure is to regularly conduct multi-dimensional dynamic comprehensive trust evaluation on the power terminals connected to the grid, and dynamically adjust the real-time trust evaluation results of the terminals in combination with historical trust decay analysis, which can effectively ensure the accuracy and reliability of the comprehensive trust value of the terminals.
[0092] After obtaining the terminal comprehensive trust value through the above method, the terminal comprehensive trust value can be used for subsequent security risk control decisions. That is, the terminal comprehensive trust value obtained by analysis can be authorized based on the pre-set minimum trust value required for the trust level of the power terminal to access a certain type of business resource. If it is greater than the corresponding minimum trust value, the relevant business resource access authorization is passed, otherwise the authorization is rejected; or, directly match the pre-set trust level of various business resources according to the terminal comprehensive trust value, and generate a unified terminal access control strategy according to the matching of the trust level of various business resources to update the previous access control strategy, so as to facilitate adaptive minimization of reasonable access authorization control for each power terminal and improve the rationality of terminal access control.
[0093] The present application embodiment provides Figure 5 In response to the network registration of each power terminal, a corresponding terminal security service level and a terminal initial trust value are generated according to the obtained basic information of the corresponding terminal, a corresponding terminal access control strategy is executed according to the terminal initial trust value, and the number of terminals on the network per unit time and the dynamic behavior information of each power terminal are obtained in real time, and an online terminal number trust value is generated according to the number of terminals on the network per unit time, a corresponding terminal behavior trust value is generated according to the dynamic behavior information, and after the corresponding terminal real-time trust evaluation value is obtained according to the terminal security service level, the terminal behavior trust value and the online terminal number trust value, a preset number of terminal historical trust evaluation values of each power terminal are obtained, and the terminal real-time A comprehensive analysis is performed on the trust evaluation value and the corresponding terminal historical trust evaluation value to obtain the corresponding terminal comprehensive trust value, as well as a solution for updating the corresponding terminal access control policy based on the terminal comprehensive trust value. The dynamic trust evaluation and access control designed based on both the static attributes of the power terminal and the dynamic characterization of the business resource access behavior can not only improve the comprehensiveness and reliability of the trust evaluation of the power terminal, but also can adaptively and continuously dynamically update the trust evaluation results of each power terminal, minimize the access authorization control of the power terminal, improve the rationality of the terminal access control, effectively reduce the potential security risks of the power terminals connected to the network, and provide reliable protection for the safe and stable operation of the power system network.
[0094] It should be noted that although the steps in the above flowchart are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders.
[0095] In one embodiment, Figure 6 As shown, a power terminal integrated access control system is provided, the system comprising:
[0096] The terminal network registration module 1 is used to respond to the network registration of each power terminal, generate a corresponding terminal security service level and a terminal initial trust value according to the acquired corresponding terminal basic information, and execute a corresponding terminal access control strategy according to the terminal initial trust value;
[0097] Dynamic trust evaluation module 2, used for obtaining in real time the number of terminals on the network per unit time and the dynamic behavior information of each power terminal, and generating a trust value for the number of online terminals according to the number of terminals on the network per unit time, generating a corresponding trust value for terminal behavior according to the dynamic behavior information, and obtaining a corresponding real-time trust evaluation value for the terminal according to the terminal security service level, the terminal behavior trust value and the online terminal number trust value;
[0098] The dynamic access control module 3 is used to obtain a preset number of terminal historical trust evaluation values of each power terminal, and comprehensively analyze the terminal real-time trust evaluation value and the corresponding terminal historical trust evaluation value to obtain the corresponding terminal comprehensive trust value, and update the corresponding terminal access control policy according to the terminal comprehensive trust value.
[0099] For the specific limitations of the integrated access control system for power terminals, please refer to the limitations of the integrated access control method for power terminals above, and the corresponding technical effects can also be obtained equivalently, so they will not be repeated here. Each module in the above-mentioned integrated access control system for power terminals can be implemented in whole or in part through software, hardware, and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0100] Figure 7 FIG. 1 shows an internal structure diagram of a computer device in an embodiment, and the computer device may specifically be a terminal or a server. Figure 7As shown, the computer device includes a processor, a memory, a network interface, a display, a camera and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a comprehensive access control method for power terminals is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0101] It can be understood by those skilled in the art that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the present application scheme, and does not constitute a limitation on the computer device to which the present application scheme is applied. The specific computing device may include more or fewer components than shown in the figure, or combine certain components, or have the same component arrangement.
[0102] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the steps of the above method are implemented when the processor executes the computer program.
[0103] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0104] In summary, the embodiments of the present invention provide a method, system, computer device and storage medium for comprehensive access control of electric power terminals. The method for comprehensive access control of electric power terminals realizes the response to the network registration of each electric power terminal, generates a corresponding terminal security service level and a terminal initial trust value according to the acquired basic information of the corresponding terminal, executes a corresponding terminal access control strategy according to the initial trust value of the terminal, obtains the number of terminals on the network per unit time and the dynamic behavior information of each electric power terminal in real time, generates an online terminal number trust value according to the number of terminals on the network per unit time, generates a corresponding terminal behavior trust value according to the dynamic behavior information, and obtains the corresponding terminal real-time trust evaluation value according to the terminal security service level, the terminal behavior trust value and the online terminal number trust value. The invention discloses a technical scheme for obtaining a preset number of terminal historical trust evaluation values of a power terminal, and comprehensively analyzing the real-time trust evaluation value of the terminal and the corresponding historical trust evaluation value of the terminal to obtain the corresponding comprehensive trust value of the terminal, as well as updating the corresponding terminal access control policy according to the comprehensive trust value of the terminal. The method is based on dynamic trust evaluation and access control designed by considering both the static attributes of the power terminal and the dynamic characterization of the business resource access behavior. It can not only improve the comprehensiveness and reliability of the trust evaluation of the power terminal, but also can adaptively and continuously dynamically update the trust evaluation results of each power terminal, minimize the access authorization control of the power terminal, improve the rationality of the terminal access control, effectively reduce the potential security risks of the power terminal connected to the network, and provide reliable guarantee for the safe and stable operation of the power system network.
[0105] Each embodiment in this specification is described in a progressive manner, and the same or similar parts of each embodiment can be directly referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. It should be noted that the technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0106] The above-mentioned embodiments only express several preferred implementation modes of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in the technical field, several improvements and substitutions can be made without departing from the technical principles of the present invention, and these improvements and substitutions should also be regarded as the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be based on the protection scope of the claims.
Claims
1. A method for comprehensive access control of power terminals, characterized in that: The method comprises the following steps: In response to the network registration of each power terminal, a corresponding terminal security service level and a terminal initial trust value are generated according to the acquired basic information of the corresponding terminal, and a corresponding terminal access control strategy is executed according to the terminal initial trust value; Acquire the number of online terminals per unit time and the dynamic behavior information of each power terminal in real time, and generate an online terminal number trust value based on the number of online terminals per unit time and the principle that the larger the number of online terminals, the lower the corresponding security trust, generate a corresponding terminal behavior trust value based on the dynamic behavior information, and obtain a corresponding terminal real-time trust evaluation value based on the terminal security service level, the terminal behavior trust value and the online terminal number trust value; Obtaining a preset number of terminal historical trust evaluation values of each power terminal, and comprehensively analyzing the real-time trust evaluation value of the terminal and the corresponding historical trust evaluation value of the terminal to obtain a corresponding terminal comprehensive trust value, and updating the corresponding terminal access control policy according to the terminal comprehensive trust value; The step of comprehensively analyzing the real-time trust evaluation value of the terminal and the corresponding historical trust evaluation value of the terminal to obtain the corresponding comprehensive trust value of the terminal includes: Based on the trust value decay characteristic, the historical trust decay value of each terminal's historical trust evaluation value is calculated; the historical trust decay value is expressed as: In the formula, Indicates i The time corresponding to the real-time trust evaluation value of each power terminal; Indicates i The first power terminal j The time corresponding to the historical trust evaluation value of the terminal, and ; Indicates i Power Terminal The terminal's historical trust evaluation value at the moment; represents the decay rate; Indicates i Power Terminal The historical trust decay value of the terminal's historical trust evaluation value at the moment; The real-time trust evaluation value of the terminal and the average value of all corresponding historical trust decay values are calculated to obtain the comprehensive trust value of the terminal.
2. The integrated access control method for power terminals according to claim 1, characterized in that: The basic information of the terminal includes identity ID, communication protocol and service type; The step of generating a corresponding terminal security service level and a terminal initial trust value according to the acquired corresponding terminal basic information comprises: Determining whether the power terminal is a controlled terminal according to the identity ID in the basic information of the terminal; If not, the corresponding terminal security service level is set to the release service level, and the corresponding terminal initial trust value is set to the release trust value; If so, terminal identity authentication is performed according to the terminal basic information and the preset terminal identity authentication mechanism. If the authentication fails, the corresponding terminal initial trust value is set to the minimum trust value. Otherwise, the corresponding terminal security service level is generated according to the identity ID, communication protocol and business type of the terminal basic information, and the corresponding terminal initial trust value is generated according to the terminal security service level and the preset weight value.
3. The integrated access control method for power terminals according to claim 1, characterized in that: The online terminal number trust value is expressed as: In the formula, and Respectively t The trust value of the number of online terminals and the number of online terminals per unit time at a certain moment; e represents the base of the exponential function.
4. The integrated access control method for power terminals according to claim 1, characterized in that: The dynamic behavior information includes login records, network communication records and operating environment information; the operating environment information includes CPU usage and memory usage; The step of generating a corresponding terminal behavior trust value according to the dynamic behavior information includes: According to the login record, the ratio of the number of terminal logins in the corresponding unit time to the preset standard number of logins is calculated to obtain the corresponding login index value; According to the network communication record, the ratio of the number of protocol communications in the corresponding unit time to the number of preset standard protocol communications is calculated to obtain the corresponding communication index value; According to the CPU usage, the number of CPU usage exceptions in which the CPU usage rate exceeds the preset standard CPU usage rate within the corresponding unit time is obtained, and the ratio of the CPU usage exception number to the preset CPU exception allowed number is calculated to obtain the corresponding CPU exception index value; According to the memory usage, the number of memory usage exceptions in which the memory usage rate exceeds the preset standard memory usage rate within the corresponding unit time is obtained, and the ratio of the number of memory usage exceptions to the preset memory exception allowed number is calculated to obtain a corresponding memory exception index value; A comprehensive trust evaluation of terminal behavior is performed according to the login index value, the communication index value, the CPU abnormality index value, and the memory abnormality index value to obtain the terminal behavior trust value.
5. The integrated access control method for power terminals according to claim 4, characterized in that: The terminal behavior trust value is expressed as: In the formula, , , and Respectively t Moment i The login index value, communication index value, CPU abnormality index value and memory abnormality index value of each power terminal; , , and Indicates the weight of the indicator value; express t Moment i The terminal behavior trust value of each power terminal.
6. The integrated access control method for power terminals according to claim 1, characterized in that: The real-time trust evaluation value of the terminal is expressed as: In the formula, Indicates i Terminal security service level of each power terminal; express t Trust value of the number of online terminals at the moment; express t Moment i The terminal behavior trust value of each power terminal; , and Respectively represent the weight values corresponding to the terminal security service level, the online terminal number trust value and the terminal behavior trust value; express t Moment i The real-time trust evaluation value of the terminal of each power terminal.
7. A comprehensive access control system for power terminals, characterized in that: The system comprises: The terminal network registration module is used to respond to the network registration of each power terminal, generate a corresponding terminal security service level and a terminal initial trust value according to the acquired corresponding terminal basic information, and execute a corresponding terminal access control strategy according to the terminal initial trust value; A dynamic trust evaluation module is used to obtain in real time the number of online terminals per unit time and the dynamic behavior information of each power terminal, and generate an online terminal number trust value based on the number of online terminals per unit time and the principle that the larger the number of online terminals, the lower the corresponding security trust, generate a corresponding terminal behavior trust value based on the dynamic behavior information, and obtain a corresponding terminal real-time trust evaluation value based on the terminal security service level, the terminal behavior trust value and the online terminal number trust value; A dynamic access control module is used to obtain a preset number of terminal historical trust evaluation values of each power terminal, and comprehensively analyze the real-time trust evaluation value of the terminal and the corresponding historical trust evaluation value of the terminal to obtain a corresponding terminal comprehensive trust value, and update the corresponding terminal access control policy according to the terminal comprehensive trust value; The step of comprehensively analyzing the real-time trust evaluation value of the terminal and the corresponding historical trust evaluation value of the terminal to obtain the corresponding comprehensive trust value of the terminal includes: Based on the trust value decay characteristic, the historical trust decay value of each terminal's historical trust evaluation value is calculated; the historical trust decay value is expressed as: In the formula, Indicates i The time corresponding to the real-time trust evaluation value of each power terminal; Indicates i The first power terminal j The time corresponding to the historical trust evaluation value of the terminal, and ; Indicates i Power Terminal The terminal's historical trust evaluation value at the moment; represents the decay rate; Indicates i Power Terminal The historical trust decay value of the terminal's historical trust evaluation value at the moment; The real-time trust evaluation value of the terminal and the average value of all corresponding historical trust decay values are calculated to obtain the comprehensive trust value of the terminal.
8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
