Method and device for accessing power equipment in power system, and computer program product

Fix vulnerabilities of power equipment and analyze access request data through virtual patching strategies, generate access policies to control access terminals, solve the problem that vulnerabilities and attack behaviors after power equipment change in power systems cannot be discovered and intercepted in a timely manner, and avoid security risks .

CN119066675APending Publication Date: 2024-12-03ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411068688.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

Changes in power equipment in the power system lead to the inability to detect and intercept the attacks that may be carried in the access request data in time, causing major security risks.

Method used

The vulnerability information of the power equipment is repaired and updated through virtual patch policies, and the access request data is analyzed. Access policies are generated based on sensitive types, and access terminals are controlled to access the target power equipment according to the policy to achieve vulnerability repair and attack behavior interception.

Benefits of technology

Timely discover and repair vulnerabilities in new power equipment in the power system, timely intercept possible attacks in the access request data, and avoid the occurrence of security risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119066675A_ABST
    Figure CN119066675A_ABST
Patent Text Reader

Abstract

The invention discloses an access method and device for power equipment in a power system and a computer program product. The method comprises the steps that when it is determined that updated power equipment exists in a power system, updating vulnerability information of the updated power equipment is repaired according to a virtual patch strategy; after it is determined that the updated vulnerability information is repaired, if access request data of the access terminal is received, the access request data is analyzed, and an analysis result is obtained; when the analysis result shows that the access sensitive information exists in the access request data, determining a sensitive type corresponding to the access sensitive information; generating an access strategy according to the sensitive type; and controlling the access terminal to access the target power equipment according to the access strategy. According to the method and the device, the technical problem that relatively large potential safety hazards are brought to the power system due to the fact that the power system cannot repair or intercept new system vulnerabilities formed by change of the power equipment and attack behaviors possibly carried in access request data in time in related technologies is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power system safety technology, and in particular to a method and device for accessing power equipment in a power system, and a computer program product. Background Art

[0002] In the power system, when power equipment is replaced or added, due to the change of power equipment, the application software installed in the new power equipment may have vulnerabilities. At this time, the vulnerabilities on the changed power equipment may lead to new system vulnerabilities in the power system. If they cannot be discovered and repaired in time, they will bring greater security risks to the power system. At the same time, when verifying that the user accesses a certain power equipment through the power system and exchanges data, the power system generally does not monitor the user's request data. If the user's request carries an attack behavior, it will not be discovered and intercepted in time, which will threaten the security of the power system.

[0003] Currently, no effective solution has been proposed to the problem that the power system is unable to promptly repair or intercept new system vulnerabilities caused by changes in power equipment and possible attack behaviors carried in access request data, which leads to major security risks for the power system. Summary of the invention

[0004] The embodiments of the present invention provide a method and device for accessing power equipment in an electric power system, and a computer program product, so as to at least solve the technical problem in the related art that the electric power system is unable to promptly repair or intercept new system vulnerabilities formed by changes in the electric power equipment and attack behaviors that may be carried in the access request data, resulting in greater security risks to the electric power system.

[0005] According to one aspect of an embodiment of the present invention, a method for accessing power equipment in a power system is provided, comprising: when it is determined that there is an updated power equipment in the power system, repairing the updated vulnerability information of the updated power equipment according to a virtual patch policy, wherein the updated power equipment at least includes: a newly added power equipment in the power system, a power equipment after replacing the original power equipment in the power system, and the virtual patch policy is a policy generated based on the updated vulnerability information; after determining that the updated vulnerability information is repaired, if access request data of an access terminal is received, analyzing the access request data to obtain an analysis result; when the analysis result indicates that there is access sensitive information in the access request data, determining the sensitive type corresponding to the access sensitive information, wherein the access sensitive information at least includes: data containing target vulnerability information, data exceeding access rights, the target vulnerability information is vulnerability information of a target power equipment, and the target power equipment is a power equipment requested to be accessed by the access terminal; generating an access policy according to the sensitive type; and controlling the access terminal to access the target power equipment according to the access policy.

[0006] Optionally, determining the presence of updated power equipment in the power system includes: obtaining original power equipment information and current power equipment information stored in a database, wherein the database is used to store equipment information of each power equipment in the power system; comparing the current power equipment information with the original power equipment information to obtain a comparison result; and determining that the updated power equipment exists in the power system when it is determined that the comparison result indicates that the current power equipment information is inconsistent with the original power equipment information.

[0007] Optionally, before repairing the update vulnerability information of the updated power equipment according to the virtual patch strategy, the access method of the power equipment in the power system also includes: obtaining the device model and software version number corresponding to the updated power equipment; determining the vulnerability scanning strategy for the updated power equipment according to the device model and the software version number; performing a vulnerability scan on the running software of the updated power equipment according to the code audit method corresponding to the vulnerability scanning strategy to obtain the program vulnerability of the running software; and determining that the program vulnerability is the update vulnerability information of the updated power equipment.

[0008] Optionally, after determining that the program vulnerability is the update vulnerability information of the updated power equipment, the access method of the power equipment in the power system also includes: extracting features of the update vulnerability information to obtain a vulnerability feature vector; generating a program adjustment strategy for repairing the program vulnerability based on the vulnerability feature vector; and generating the virtual patch strategy for repairing the update vulnerability information based on the program adjustment strategy.

[0009] Optionally, before analyzing the access request data to obtain the analysis results, the method for accessing power equipment in the power system also includes: parsing the access request data to obtain a device identifier corresponding to the access request data; and determining that the power equipment corresponding to the device identifier is the target power equipment requested to be accessed by the access terminal.

[0010] Optionally, the access request data is analyzed to obtain an analysis result, including: obtaining target vulnerability information of the target power equipment; when it is determined that the access request data contains a first data packet containing the target vulnerability information or a second data packet that exceeds the access permission, determining that the analysis result is that the access sensitive information exists in the access request data; when it is determined that neither the first data packet nor the second data packet exists in the access request data, determining that the analysis result is that the access sensitive information does not exist in the access request data.

[0011] Optionally, the sensitive type includes: a first sensitive type and a second sensitive type, and determining the sensitive type corresponding to the access sensitive information includes: when the access sensitive information is the first data packet present in the access request data, determining that the sensitive type is the first sensitive type; when the access sensitive information is the second data packet present in the access request data, determining that the sensitive type is the second sensitive type.

[0012] Optionally, a corresponding access policy is generated according to the sensitive type, including: when it is determined that the sensitive type is the first sensitive type, obtaining the network address of the access terminal; when the network address is an internal LAN address, determining the access policy as: controlling the third data packet in the access request data except the first data packet to be transmitted to the target power device for access; when the network address is an external address, determining the access policy as: interrupting the transmission of the access request data of the access terminal to the target power device for access; when it is determined that the sensitive type is the second sensitive type, determining the access policy as: controlling the fourth data packet in the access request data except the second data packet to be transmitted to the target power device for access.

[0013] According to another aspect of an embodiment of the present invention, there is also provided an access device for power equipment in an electric power system, comprising: a repair unit, for repairing update vulnerability information of the updated power equipment according to a virtual patch strategy when determining that there is an updated power equipment in the power system, wherein the updated power equipment at least includes: a newly added power equipment in the power system, a power equipment after replacing the original power equipment in the power system, and the virtual patch strategy is a strategy generated based on the update vulnerability information; a first acquisition unit, for analyzing the access request data to obtain an analysis result if access request data of an access terminal is received after determining that the update vulnerability information is repaired; a first determination unit, for determining a sensitive type corresponding to the access sensitive information when the analysis result indicates that there is access sensitive information in the access request data, wherein the access sensitive information at least includes: data containing target vulnerability information and data exceeding access rights, wherein the target vulnerability information is vulnerability information of a target power equipment, and the target power equipment is a power equipment requested to be accessed by the access terminal; a first generation unit, for generating an access policy according to the sensitive type; and a control unit, for controlling the access terminal to access the target power equipment according to the access policy.

[0014] Optionally, the repair unit includes: a first acquisition module, used to acquire original power equipment information and current power equipment information stored in a database, wherein the database is used to store equipment information of each power equipment in the power system; a second acquisition module, used to compare the current power equipment information with the original power equipment information to obtain a comparison result; and a first determination module, used to determine that the updated power equipment exists in the power system when it is determined that the comparison result indicates that the current power equipment information is inconsistent with the original power equipment information.

[0015] Optionally, the access device of the power equipment in the power system also includes: a second acquisition unit, used to obtain the device model and software version number corresponding to the updated power equipment before repairing the update vulnerability information of the updated power equipment according to the virtual patch strategy; a second determination unit, used to determine the vulnerability scanning strategy for the updated power equipment according to the device model and the software version number; a third acquisition unit, used to perform a vulnerability scan on the running software of the updated power equipment according to the code audit method corresponding to the vulnerability scanning strategy to obtain the program vulnerability of the running software; a third determination unit, used to determine that the program vulnerability is the update vulnerability information of the updated power equipment.

[0016] Optionally, the access device of the power equipment in the power system also includes: a fourth acquisition unit, which is used to extract features of the updated vulnerability information to obtain a vulnerability feature vector after determining that the program vulnerability is the updated vulnerability information of the updated power equipment; a second generation unit, which is used to generate a program adjustment strategy for repairing the program vulnerability according to the vulnerability feature vector; and a third generation unit, which is used to generate the virtual patch strategy for repairing the updated vulnerability information based on the program adjustment strategy.

[0017] Optionally, the access device for power equipment in the power system also includes: a fifth acquisition unit, used to parse the access request data to obtain a device identification corresponding to the access request data before analyzing the access request data to obtain an analysis result; and a fourth determination unit, used to determine that the power equipment corresponding to the device identification is the target power equipment requested to be accessed by the access terminal.

[0018] Optionally, the first acquisition unit includes: a third acquisition module, used to acquire target vulnerability information of the target power equipment; a second determination module, used to determine that the analysis result is that the access sensitive information exists in the access request data when it is determined that the access request data contains a first data packet containing the target vulnerability information or a second data packet that exceeds the access permission; and a third determination module, used to determine that the analysis result is that the access sensitive information does not exist in the access request data when it is determined that neither the first data packet nor the second data packet exists in the access request data.

[0019] Optionally, the sensitive type includes: a first sensitive type and a second sensitive type, and the first determination unit includes: a fourth determination module, used to determine that the sensitive type is the first sensitive type when the access sensitive information is the presence of the first data packet in the access request data; and a fifth determination module, used to determine that the sensitive type is the second sensitive type when the access sensitive information is the presence of the second data packet in the access request data.

[0020] Optionally, the first generation unit includes: a fourth acquisition module, used to acquire the network address of the access terminal when it is determined that the sensitive type is the first sensitive type; a sixth determination module, used to determine that when the network address is an internal LAN address, the access policy is: controlling the third data packet in the access request data except the first data packet to be transmitted to the target power device for access; a seventh determination module, used to determine that when the network address is an external address, the access policy is: interrupting the transmission of the access request data of the access terminal to the target power device for access; an eighth determination module, used to determine that when it is determined that the sensitive type is the second sensitive type, the access policy is: controlling the fourth data packet in the access request data except the second data packet to be transmitted to the target power device for access.

[0021] According to another aspect of an embodiment of the present invention, there is further provided an access system for electric power equipment in an electric power system, wherein the access system for electric power equipment in the electric power system uses any one of the access methods for electric power equipment in the electric power system described above.

[0022] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, wherein the computer-readable storage medium includes a stored program, wherein the program executes any one of the above-mentioned methods for accessing power equipment in a power system.

[0023] According to another aspect of an embodiment of the present invention, a processor is further provided, the processor being used to run a program, wherein the program executes any one of the above-mentioned methods for accessing power equipment in a power system when running.

[0024] According to another aspect of an embodiment of the present invention, a computer program product is provided, comprising computer instructions, and when the computer instructions are executed by a processor, any one of the above-mentioned methods for accessing power equipment in a power system is executed.

[0025] In an embodiment of the present invention, when it is determined that there is an updated power device in the power system, the update vulnerability information of the updated power device is repaired according to the virtual patch strategy, wherein the updated power equipment at least includes: newly added power equipment in the power system, power equipment after replacing the original power equipment in the power system, and the virtual patch strategy is a strategy generated based on the update vulnerability information; after determining that the update vulnerability information is repaired, if access request data of an access terminal is received, the access request data is analyzed to obtain an analysis result; when the analysis result indicates that there is access sensitive information in the access request data, the sensitive type corresponding to the access sensitive information is determined, wherein the access sensitive information at least includes: data containing target vulnerability information, data that exceeds access rights, the target vulnerability information is vulnerability information of the target power device, and the target power device is the power device requested to be accessed by the access terminal; an access policy is generated according to the sensitive type; and the access terminal is controlled to access the target power device according to the access policy. Through the above technical scheme, it is achieved that when there is an update and replacement of power equipment in the power system, the vulnerability information of the new power equipment is repaired in time, and the corresponding access policy is generated according to the type of sensitive information in the access request data to control the access terminal to access the target power equipment according to the access policy. The technical effect of timely discovering and repairing the vulnerabilities of the changed power equipment and timely discovering and intercepting the attack behaviors that may be carried in the access request data is achieved, avoiding major security risks to the power system, and further solving the technical problem in the related technology that the power system is unable to timely repair or intercept new system vulnerabilities formed by the change of power equipment and the attack behaviors that may be carried in the access request data, resulting in major security risks to the power system. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0027] Figure 1 It is a hardware structure block diagram of a mobile terminal of a method for accessing power equipment in a power system according to an embodiment of the present invention;

[0028] Figure 2 is a flow chart of a method for accessing power equipment in a power system according to an embodiment of the present invention;

[0029] Figure 3 is a schematic diagram of an access device for power equipment in a power system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0032] As introduced in the background technology, in the related technology, the power system cannot timely repair or intercept new system vulnerabilities caused by changes in power equipment and possible attack behaviors carried in access request data, which leads to great security risks for the power system. In view of the above defects, an access method and device for power equipment in a power system, and a computer program product are provided in the embodiments of the present invention.

[0033] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0034] The method embodiments provided in the embodiments of the present invention can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal for a method for accessing power equipment in a power system according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0035] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the access method of the power equipment in the power system in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0036] According to an embodiment of the present invention, a method embodiment of a method for accessing power equipment in an electric power system is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0037] Figure 2 is a flow chart of a method for accessing power equipment in a power system according to an embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:

[0038] Step S202, when it is determined that there is updated power equipment in the power system, the update vulnerability information of the updated power equipment is repaired according to the virtual patch strategy, wherein the updated power equipment at least includes: newly added power equipment in the power system, power equipment after replacing the original power equipment in the power system, and the virtual patch strategy is a strategy generated based on the update vulnerability information.

[0039] In this embodiment, when it is determined that there is an updated power device in the power system, a corresponding virtual patch strategy can be generated based on the vulnerability information of the updated power device (herein, the updated vulnerability information), and the updated vulnerability information can be repaired according to the virtual patch strategy to avoid causing greater security risks to the power system. The updated power device here refers to the newly added power device or the replaced power device when the networked power device of the power system is increased or the power device is replaced.

[0040] According to the above embodiment of the present invention, in the above step S202, it is determined that there is an updated power equipment in the power system, including: obtaining the original power equipment information and the current power equipment information stored in the database, wherein the database is used to store the equipment information of each power equipment in the power system; comparing the current power equipment information with the original power equipment information to obtain a comparison result; when it is determined that the comparison result indicates that the current power equipment information is inconsistent with the original power equipment information, it is determined that there is an updated power equipment in the power system.

[0041] Specifically, the power system monitors whether there is an update to the device ID in a storage database (i.e., database, the same below) that stores the device ID of the power equipment, where the update includes a change update of the device ID and a new update of the device ID. The change update of the device ID is to replace the old device with a new power device, and then update and replace the old device ID stored in the storage database with the device ID of the new power device; the new update of the device ID is to add the device ID of the newly connected power equipment to the storage database when the power system connects to a new power equipment.

[0042] According to the above-mentioned embodiment of the present invention, before the update vulnerability information of the updated power equipment is repaired according to the virtual patch strategy, the access method of the power equipment in the power system also includes: obtaining the device model and software version number corresponding to the updated power equipment; determining the vulnerability scanning strategy for the updated power equipment according to the device model and the software version number; performing a vulnerability scan on the running software of the updated power equipment according to the code audit method corresponding to the vulnerability scanning strategy to obtain the program vulnerability of the running software; and determining the program vulnerability as the update vulnerability information of the updated power equipment.

[0043] Specifically, the power system will match the corresponding vulnerability scanning rules (vulnerability scanning strategies, the same below) according to the software version number and device model corresponding to the updated power equipment. The vulnerability scanning rules are rules set according to different power equipment and the software versions running on the power equipment; then the power system will perform vulnerability scanning on the running software of the updated power equipment according to the vulnerability scanning rules, so as to obtain the corresponding vulnerability information (here refers to the updated vulnerability information); wherein, when performing vulnerability scanning on the running software of the updated power equipment, the code auditing method corresponding to the vulnerability scanning rules is used to find program vulnerabilities in the running software, and the found program vulnerabilities are used as the vulnerability information corresponding to the power equipment (here refers to the updated vulnerability information).

[0044] It should be noted that when the device ID is updated, it is necessary to obtain the updated device ID, and then use the updated device ID to obtain the software version number of the running software corresponding to the power device corresponding to the device ID and the device model corresponding to the power device.

[0045] In the above embodiment of the present invention, after determining that the program vulnerability is the update vulnerability information of the updated power equipment, the access method of the power equipment in the power system also includes: extracting features of the update vulnerability information to obtain a vulnerability feature vector; generating a program adjustment strategy for repairing the program vulnerability based on the vulnerability feature vector; and generating a virtual patch strategy for repairing the update vulnerability information based on the program adjustment strategy.

[0046] Specifically, when repairing vulnerability information, it is first necessary to extract the vulnerability feature vector corresponding to the updated vulnerability information, and then generate a code modification method (program adjustment strategy, the same below) for repairing the vulnerability information based on the extracted vulnerability feature vector, and upload the code modification method to the power system. The power system will start the firewall program, and generate corresponding virtual patch rules (virtual patch strategy, the same below) according to the code modification method in the firewall program, and then send the virtual patch rules to the corresponding power equipment. Then the firewall program on the power system will update the virtual patch rules to repair the vulnerability information existing in the software running on the power equipment; this will effectively prevent the vulnerability information existing on the power equipment from being maliciously attacked.

[0047] Step S204: after determining to repair the update vulnerability information, if access request data from the access terminal is received, the access request data is analyzed to obtain an analysis result.

[0048] Optionally, the access terminal refers to a terminal device that issues an access request, and the terminal device may include but is not limited to: a mobile phone, a tablet, a computer, a smart watch and other devices.

[0049] In this embodiment, after determining to repair the vulnerability information of the updated power equipment in the power system, if it is monitored that a certain power equipment has received an access request issued by a certain access terminal, the access request data issued by the access terminal can be analyzed to determine whether there is sensitive information in the access request data that may affect the safe operation of the power system, so as to avoid security threats to the power system.

[0050] According to the above-mentioned embodiment of the present invention, before analyzing the access request data to obtain the analysis result, the method for accessing the power equipment in the power system also includes: parsing the access request data to obtain the device identification corresponding to the access request data; determining that the power equipment corresponding to the device identification is the target power equipment requested to be accessed by the access terminal.

[0051] Specifically, when access request data is received, it can be monitored that when the access user uploads the corresponding access request data to the power system, the access request data is first received, and the device ID or Mac address in the access request data is parsed to obtain the target power equipment corresponding to the access request data.

[0052] In addition, the access user inputs the login authentication information of the power system through the login client of the access terminal, and then the access terminal uploads the login authentication information of the access user to the power system through the client. After receiving the login authentication information, the power system verifies the login authentication information, and after the verification passes, allows the access user to log in to the power system through the client on the access terminal, and allocates corresponding access rights to the access user according to his login authentication information.

[0053] According to the above embodiment of the present invention, in the above step S204, the access request data is analyzed to obtain an analysis result, including: obtaining target vulnerability information of the target power equipment; when it is determined that there is a first data packet containing the target vulnerability information or a second data packet exceeding the access permission in the access request data, determining that the analysis result is that there is access-sensitive information in the access request data; when it is determined that there are neither the first data packet nor the second data packet in the access request data, determining that the analysis result is that there is no access-sensitive information in the access request data.

[0054] Specifically, firstly, it is analyzed whether there is a data packet in the access request data for the vulnerability information scanned in the target power equipment (here refers to the target vulnerability information, the vulnerability information that has been repaired by the virtual patch rule). If there is a data packet for the scanned vulnerability information (here refers to the target vulnerability information), it is determined that there is access-sensitive information in the access request data; if there is no data packet for the scanned vulnerability information (here refers to the target vulnerability information), it is further determined whether there is a request data packet in the access request data that exceeds the access permission assigned by the access user. If there is a request data packet that exceeds the access permission, it is determined that there is access-sensitive information in the access request data; otherwise, there is no access-sensitive information.

[0055] Step S206, when the analysis result indicates that there is access sensitive information in the access request data, determine the sensitive type corresponding to the access sensitive information, wherein the access sensitive information at least includes: data containing target vulnerability information, data that exceeds the access permission, the target vulnerability information is the vulnerability information of the target power equipment, and the target power equipment is the power equipment that the access terminal requests to access.

[0056] Optionally, the above-mentioned sensitive type includes: a first sensitive type and a second sensitive type. The difference between the first sensitive type and the second sensitive type is elaborated in detail in the following content and will not be repeated here.

[0057] In this embodiment, the sensitivity type of access to sensitive information in the access request data can be determined based on the presence of data packets targeting target vulnerability information or data packets exceeding the access rights in the access request data, and then a corresponding access policy can be generated in a targeted manner to more specifically control the access terminal to access the target power equipment in accordance with the corresponding access policy.

[0058] According to the above embodiment of the present invention, in the above step S206, the sensitive type corresponding to the access sensitive information is determined, including: when the access sensitive information is the access request data and there is a first data packet, determining the sensitive type is the first sensitive type; when the access sensitive information is the access request data and there is a second data packet, determining the sensitive type is the second sensitive type.

[0059] Specifically, when it is determined that there is a first data packet containing target vulnerability information in the access request data, the sensitive type of the access sensitive information is determined to be the first sensitive type; when it is determined that there is a second data packet exceeding the access permission in the access request data, the sensitive type of the access sensitive information is determined to be the second sensitive type.

[0060] Step S208: Generate an access policy based on the sensitive type.

[0061] In this embodiment, a corresponding access policy may be generated according to the sensitivity type of access to sensitive information.

[0062] According to the above embodiment of the present invention, in the above step S208, a corresponding access strategy is generated according to the sensitive type, including: when the sensitive type is determined to be the first sensitive type, obtaining the network address of the access terminal; when the network address is an internal LAN address, determining the access strategy as: controlling the third data packet in the access request data except the first data packet to be transmitted to the target power device for access; when the network address is an external address, determining the access strategy as: interrupting the transmission of the access request data of the access terminal to the target power device for access; when the sensitive type is determined to be the second sensitive type, determining the access strategy as: controlling the fourth data packet in the access request data except the second data packet to be transmitted to the target power device for access.

[0063] Specifically, if the power system analyzes that there is no access sensitive information in the access request data, the access request data will be directly run to the target power equipment for access interaction; when the power system analyzes that there is access sensitive information in the access request data, it is necessary to determine whether the access sensitive information is access sensitive information for target vulnerability information or access sensitive information that exceeds access permissions; and then generate corresponding security protection strategies (access strategies, the same below) in a targeted manner according to the access sensitive information for the target vulnerability information or the situation of exceeding access permissions.

[0064] The security protection strategy for accessing sensitive information containing target vulnerability information is as follows: obtaining the network IP address of the access terminal of the access user corresponding to the access sensitive information; if the network IP address is determined to be an internal LAN address, the security protection strategy is to shield the data packets in the access request data for the target vulnerability information, and then allow other data packets in the access request data to reach the corresponding target power equipment for access interaction, and at the same time feedback to the access user that the access request data contains illegal data packets, and generate an interception log (the interception log contains the user information of the access user, the network IP address, and the content of the illegal data packet) and feedback to the management user of the power system; if the network IP address is determined to be an external network address, the security protection strategy is to interrupt the access to the access request data of the access user, feedback the illegal access to the access user, and generate an access security warning, which is sent to the management user of the power system.

[0065] The security protection strategy for accessing sensitive information beyond the access permissions is: shield the request data packets that exceed the access permissions in the access request data, and then allow the request data packets within the permission range to reach the target power equipment for access interaction, and at the same time feedback to the accessing user that some access requests exceed the current access permissions.

[0066] Step S210: Control the access terminal to access the target power equipment according to the access policy.

[0067] In this embodiment, the access terminal can be controlled to access the target electric device according to the access policy generated in the above steps, so as to effectively ensure the access security to the target electric device.

[0068] As can be seen from the above, through the technical solution provided by the above embodiment of the present invention, when it is determined that there is updated power equipment in the power system, the update vulnerability information of the updated power equipment can be repaired according to the virtual patch strategy, wherein the updated power equipment at least includes: newly added power equipment in the power system, power equipment after replacing the original power equipment in the power system, and the virtual patch strategy is a strategy generated based on the update vulnerability information; after determining that the update vulnerability information is repaired, if access request data of the access terminal is received, the access request data is analyzed to obtain the analysis result; when the analysis result indicates that there is access sensitive information in the access request data, the sensitive type corresponding to the access sensitive information is determined, wherein the access sensitive information at least includes: including the target vulnerability The target vulnerability information is the vulnerability information of the target power equipment, and the target power equipment is the power equipment that the access terminal requests to access; an access policy is generated according to the sensitive type; and the access terminal is controlled to access the target power equipment according to the access policy, so as to achieve the purpose of timely repairing the vulnerability information of the new power equipment when there is an update and replacement of the power equipment in the power system, and generating a corresponding access policy according to the type of sensitive information in the access request data to control the access terminal to access the target power equipment according to the access policy, so as to achieve the technical effect of timely discovering and repairing the vulnerabilities of the changed power equipment and timely discovering and intercepting the attack behaviors that may be carried in the access request data, thereby avoiding major security risks to the power system.

[0069] Therefore, the technical solution provided by the above-mentioned embodiments of the present invention solves the technical problem in the related technology that the power system is unable to promptly repair or intercept new system vulnerabilities caused by changes in power equipment and attack behaviors that may be carried in access request data, resulting in greater security risks to the power system.

[0070] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0071] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0072] According to an embodiment of the present invention, there is also provided a device for accessing power equipment in a power system for implementing the above-mentioned method for accessing power equipment in the power system. Figure 3 is a schematic diagram of an access device for power equipment in a power system according to an embodiment of the present invention, such as Figure 3 As shown, the device includes: a repair unit 31, a first acquisition unit 33, a first determination unit 35, a first generation unit 37 and a control unit 39. The access device for power equipment in the power system is described in detail below.

[0073] The repair unit 31 is used to repair the update vulnerability information of the updated power equipment according to the virtual patch strategy when it is determined that there is updated power equipment in the power system, wherein the updated power equipment at least includes: new power equipment in the power system, and power equipment after replacing the original power equipment in the power system, and the virtual patch strategy is a strategy generated based on the update vulnerability information.

[0074] The first acquisition unit 33 is used to analyze the access request data to obtain an analysis result if access request data from the access terminal is received after it is determined to repair the update vulnerability information.

[0075] The first determination unit 35 is used to determine the sensitivity type corresponding to the access sensitive information when the analysis result indicates that there is access sensitive information in the access request data, wherein the access sensitive information at least includes: data containing target vulnerability information and data that exceeds the access permission, the target vulnerability information is the vulnerability information of the target power equipment, and the target power equipment is the power equipment that the access terminal requests to access.

[0076] The first generating unit 37 is used to generate an access policy according to the sensitive type.

[0077] The control unit 39 is used to control the access terminal to access the target power device according to the access policy.

[0078] It should be noted here that the above-mentioned repair unit 31, first acquisition unit 33, first determination unit 35, first generation unit 37 and control unit 39 correspond to steps S202 to S210 in the above-mentioned embodiments, and the five units have the same instances and application scenarios implemented by the corresponding steps, but are not limited to the contents disclosed in the above-mentioned embodiments.

[0079] As can be seen from the above, in the scheme recorded in the above-mentioned embodiment of the present invention, the repair unit can be used to repair the update vulnerability information of the updated power equipment according to the virtual patch strategy when determining that there is an updated power equipment in the power system, wherein the updated power equipment at least includes: a newly added power equipment in the power system, and a power equipment after replacing the original power equipment in the power system, and the virtual patch strategy is a strategy generated based on the update vulnerability information; then, after determining that the update vulnerability information is repaired, if the access request data of the access terminal is received, the access request data is analyzed to obtain the analysis result; then, when the first determination unit is used to determine that the access sensitive information exists in the access request data when the analysis result indicates that there is access sensitive information, the sensitive type corresponding to the access sensitive information is determined, wherein the access sensitive information at least includes: a target The target vulnerability information is the vulnerability information of the target power equipment, and the target power equipment is the power equipment that the access terminal requests to access; then the first generation unit is used to generate an access policy according to the sensitive type; finally, the control unit is used to control the access terminal to access the target power equipment according to the access policy, so that when there is an update and replacement of power equipment in the power system, the vulnerability information of the new power equipment is repaired in time, and the corresponding access policy is generated according to the type of sensitive information in the access request data, so as to control the access terminal to access the target power equipment according to the access policy, and the technical effect of timely discovering and repairing the vulnerabilities of the changed power equipment and timely discovering and intercepting the attack behaviors that may be carried in the access request data is achieved, avoiding major security risks to the power system.

[0080] Therefore, the technical solution provided by the above-mentioned embodiments of the present invention solves the technical problem in the related technology that the power system is unable to promptly repair or intercept new system vulnerabilities caused by changes in power equipment and attack behaviors that may be carried in access request data, resulting in greater security risks to the power system.

[0081] Optionally, the repair unit includes: a first acquisition module, used to acquire original power equipment information and current power equipment information stored in a database, wherein the database is used to store equipment information of each power equipment in the power system; a second acquisition module, used to compare the current power equipment information with the original power equipment information to obtain a comparison result; and a first determination module, used to determine that there is an updated power equipment in the power system when it is determined that the comparison result indicates that the current power equipment information is inconsistent with the original power equipment information.

[0082] Optionally, the access device of the power equipment in the power system also includes: a second acquisition unit, used to obtain the device model and software version number corresponding to the updated power equipment before repairing the update vulnerability information of the updated power equipment according to the virtual patch strategy; a second determination unit, used to determine the vulnerability scanning strategy for the updated power equipment according to the device model and the software version number; a third acquisition unit, used to perform a vulnerability scan on the running software of the updated power equipment according to the code audit method corresponding to the vulnerability scanning strategy to obtain the program vulnerability of the running software; and a third determination unit, used to determine the program vulnerability as the update vulnerability information of the updated power equipment.

[0083] Optionally, the access device of the power equipment in the power system also includes: a fourth acquisition unit, which is used to extract features of the update vulnerability information after determining that the program vulnerability is update vulnerability information of the updated power equipment, so as to obtain a vulnerability feature vector; a second generation unit, which is used to generate a program adjustment strategy for repairing the program vulnerability according to the vulnerability feature vector; and a third generation unit, which is used to generate a virtual patch strategy for repairing the update vulnerability information based on the program adjustment strategy.

[0084] Optionally, the access device of the power equipment in the power system also includes: a fifth acquisition unit, used to parse the access request data to obtain a device identification corresponding to the access request data before analyzing the access request data and obtaining the analysis result; and a fourth determination unit, used to determine that the power equipment corresponding to the device identification is the target power equipment requested to be accessed by the access terminal.

[0085] Optionally, the first acquisition unit includes: a third acquisition module, used to acquire target vulnerability information of the target power equipment; a second determination module, used to determine that the analysis result is that access sensitive information exists in the access request data when it is determined that the access request data contains a first data packet containing the target vulnerability information or a second data packet that exceeds the access permission; and a third determination module, used to determine that the analysis result is that access sensitive information does not exist in the access request data when it is determined that the access request data does not contain the first data packet and the second data packet.

[0086] Optionally, the sensitive type includes: a first sensitive type and a second sensitive type, and the first determination unit includes: a fourth determination module, used to determine that the sensitive type is the first sensitive type when the access sensitive information is the presence of a first data packet in the access request data; a fifth determination module, used to determine that the sensitive type is the second sensitive type when the access sensitive information is the presence of a second data packet in the access request data.

[0087] Optionally, the first generation unit includes: a fourth acquisition module, used to acquire the network address of the access terminal when it is determined that the sensitive type is the first sensitive type; a sixth determination module, used to determine the access policy when the network address is an internal LAN address: controlling the third data packet in the access request data except the first data packet to be transmitted to the target power device for access; a seventh determination module, used to determine the access policy when the network address is an external address: interrupting the transmission of the access request data of the access terminal to the target power device for access; an eighth determination module, used to determine the access policy when it is determined that the sensitive type is the second sensitive type: controlling the fourth data packet in the access request data except the second data packet to be transmitted to the target power device for access.

[0088] According to another aspect of an embodiment of the present invention, there is further provided an access system for electric power equipment in an electric power system, wherein the access system for electric power equipment in an electric power system uses any one of the above-mentioned access methods for electric power equipment in an electric power system.

[0089] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided. The computer-readable storage medium includes a stored program, wherein the program executes any one of the above-mentioned methods for accessing power equipment in a power system.

[0090] Optionally, in this embodiment, the computer-readable storage medium may be located in any one of the computer terminals in a computer terminal group in a computer network, or in any one of the communication devices in a communication device group.

[0091] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: when it is determined that there is an updated power device in the power system, the updated vulnerability information of the updated power device is repaired according to the virtual patch policy, wherein the updated power device includes at least: a newly added power device in the power system, a power device after replacing the original power device in the power system, and the virtual patch policy is a policy generated based on the updated vulnerability information; after determining that the updated vulnerability information is repaired, if access request data of an access terminal is received, the access request data is analyzed to obtain an analysis result; when the analysis result indicates that there is access sensitive information in the access request data, the sensitive type corresponding to the access sensitive information is determined, wherein the access sensitive information includes at least: data containing target vulnerability information, data that exceeds access rights, the target vulnerability information is vulnerability information of the target power device, and the target power device is the power device requested to be accessed by the access terminal; an access policy is generated according to the sensitive type; and the access terminal is controlled to access the target power device according to the access policy.

[0092] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: obtaining original power equipment information and current power equipment information stored in a database, wherein the database is used to store equipment information of each power equipment in the power system; comparing the current power equipment information with the original power equipment information to obtain a comparison result; and determining that there is an updated power equipment in the power system when it is determined that the comparison result indicates that the current power equipment information is inconsistent with the original power equipment information.

[0093] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: obtaining a device model and software version number corresponding to the updated power equipment; determining a vulnerability scanning strategy for the updated power equipment based on the device model and software version number; performing a vulnerability scan on the running software of the updated power equipment according to a code auditing method corresponding to the vulnerability scanning strategy to obtain program vulnerabilities in the running software; and determining the program vulnerability as update vulnerability information for the updated power equipment.

[0094] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: extracting features from the update vulnerability information to obtain a vulnerability feature vector; generating a program adjustment strategy for repairing the program vulnerability based on the vulnerability feature vector; and generating a virtual patch strategy for repairing the update vulnerability information based on the program adjustment strategy.

[0095] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: parsing the access request data to obtain a device identification corresponding to the access request data; and determining that the power device corresponding to the device identification is the target power device requested to be accessed by the access terminal.

[0096] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: obtaining target vulnerability information of the target power equipment; when it is determined that there is a first data packet containing the target vulnerability information or a second data packet exceeding the access permission in the access request data, determining that the analysis result is that there is access-sensitive information in the access request data; when it is determined that there are neither the first data packet nor the second data packet in the access request data, determining that the analysis result is that there is no access-sensitive information in the access request data.

[0097] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: when the access sensitive information is the access request data and there is a first data packet, determining the sensitive type is the first sensitive type; when the access sensitive information is the access request data and there is a second data packet, determining the sensitive type is the second sensitive type.

[0098] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: when the sensitive type is determined to be the first sensitive type, obtaining the network address of the access terminal; when the network address is an internal LAN address, determining the access policy as: controlling the third data packet in the access request data except the first data packet to be transmitted to the target power device for access; when the network address is an external address, determining the access policy as: interrupting the transmission of the access request data of the access terminal to the target power device for access; when the sensitive type is determined to be the second sensitive type, determining the access policy as: controlling the fourth data packet in the access request data except the second data packet to be transmitted to the target power device for access.

[0099] According to another aspect of an embodiment of the present invention, a processor is further provided, and the processor is used to run a program, wherein when the program is run, any one of the above-mentioned methods for accessing power equipment in the power system is executed.

[0100] According to another aspect of an embodiment of the present invention, a computer program product is provided, including computer instructions, and when the computer instructions are executed by a processor, any one of the above-mentioned methods for accessing power equipment in a power system is executed.

[0101] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0102] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0103] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0104] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0105] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0106] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0107] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for accessing power equipment in a power system, characterized in that: include: When it is determined that there is an updated power device in the power system, the updated vulnerability information of the updated power device is repaired according to the virtual patch strategy, wherein the updated power device at least includes: a newly added power device in the power system, and a power device after replacing the original power device in the power system, and the virtual patch strategy is a strategy generated based on the updated vulnerability information; After determining to repair the update vulnerability information, if access request data from the access terminal is received, the access request data is analyzed to obtain an analysis result; When the analysis result indicates that there is access sensitive information in the access request data, determining the sensitive type corresponding to the access sensitive information, wherein the access sensitive information at least includes: data containing target vulnerability information and data exceeding access rights, the target vulnerability information is vulnerability information of a target power device, and the target power device is the power device that the access terminal requests to access; generating an access policy according to the sensitive type; The access terminal is controlled to access the target power device according to the access policy.

2. The method for accessing power equipment in a power system according to claim 1, characterized in that: Determine the presence of newer power equipment in the power system, including: Acquire original power equipment information and current power equipment information stored in a database, wherein the database is used to store equipment information of each power equipment in the power system; Comparing the current power equipment information with the original power equipment information to obtain a comparison result; When it is determined that the comparison result indicates that the current power device information is inconsistent with the original power device information, it is determined that the updated power device exists in the power system.

3. The method for accessing power equipment in a power system according to claim 1, characterized in that: Before repairing the update vulnerability information of the updated power equipment according to the virtual patch strategy, the method further includes: Obtaining the device model and software version number corresponding to the updated power device; Determine a vulnerability scanning strategy for the updated power equipment according to the equipment model and the software version number; Performing vulnerability scanning on the running software of the updated power equipment according to the code audit method corresponding to the vulnerability scanning strategy to obtain program vulnerabilities of the running software; The program vulnerability is determined as the update vulnerability information of the updated power equipment.

4. The method for accessing power equipment in a power system according to claim 3, characterized in that: After determining that the program vulnerability is the update vulnerability information of the updated power device, the method further includes: Extracting features from the update vulnerability information to obtain a vulnerability feature vector; Generating a program adjustment strategy for repairing the program vulnerability according to the vulnerability feature vector; The virtual patch policy for repairing the update vulnerability information is generated based on the program adjustment policy.

5. The method for accessing power equipment in a power system according to claim 1, characterized in that: Before analyzing the access request data to obtain the analysis result, the method further includes: Parsing the access request data to obtain a device identifier corresponding to the access request data; It is determined that the electric power device corresponding to the device identifier is the target electric power device that the access terminal requests to access.

6. The method for accessing power equipment in a power system according to claim 5, characterized in that: Analyze the access request data to obtain analysis results, including: Obtaining target vulnerability information of the target power equipment; When it is determined that the access request data contains a first data packet containing the target vulnerability information or a second data packet exceeding the access permission, determining that the analysis result is that the access request data contains the access sensitive information; When it is determined that neither the first data packet nor the second data packet exists in the access request data, it is determined that the analysis result is that the access sensitive information does not exist in the access request data.

7. The method for accessing power equipment in a power system according to claim 6, characterized in that: The sensitive type includes: a first sensitive type and a second sensitive type, and determining the sensitive type corresponding to the access to sensitive information includes: When the access sensitive information is that the first data packet exists in the access request data, determining that the sensitive type is the first sensitive type; When the access sensitive information is that the second data packet exists in the access request data, the sensitive type is determined to be the second sensitive type.

8. The method for accessing power equipment in a power system according to claim 7, characterized in that: Generate a corresponding access policy based on the sensitive type, including: When determining that the sensitive type is the first sensitive type, obtaining the network address of the access terminal; When the network address is an internal LAN address, the access strategy is determined as: controlling a third data packet in the access request data except the first data packet to be transmitted to the target power device for access; When the network address is an external address, determining the access strategy is: interrupting the transmission of the access request data of the access terminal to the target power device for access; When it is determined that the sensitive type is the second sensitive type, the access policy is determined as: controlling a fourth data packet in the access request data except the second data packet to be transmitted to the target power device for access.

9. An access device for power equipment in a power system, characterized in that: include: A repair unit, configured to repair the update vulnerability information of the updated power equipment according to a virtual patch strategy when determining that there is an updated power equipment in the power system, wherein the updated power equipment at least includes: a newly added power equipment in the power system, and a power equipment after replacing the original power equipment in the power system, and the virtual patch strategy is a strategy generated based on the update vulnerability information; A first acquisition unit is used for, after determining to repair the update vulnerability information, analyzing the access request data if access request data from the access terminal is received to obtain an analysis result; A first determining unit is configured to determine a sensitive type corresponding to the access sensitive information when the analysis result indicates that there is access sensitive information in the access request data, wherein the access sensitive information at least includes: data containing target vulnerability information and data exceeding access rights, the target vulnerability information is vulnerability information of a target power device, and the target power device is the power device that the access terminal requests to access; A first generating unit, configured to generate an access policy according to the sensitive type; A control unit is used to control the access terminal to access the target power equipment according to the access policy.

10. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by a processor, a method for accessing power equipment in a power system as described in any one of claims 1 to 8 is performed.