Method and device for determining credibility of power equipment terminal

By evaluating the integrity of power equipment terminals and multiple risk factors and determining their trust, the security risks of power terminals maliciously tampering with data in the power grid platform are solved, and the security of the power grid platform is improved.

CN119046948APending Publication Date: 2024-11-29ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411077279.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

When power terminals are connected to the power grid platform, they are prone to maliciously tampering with power data, resulting in safety hazards on the power grid platform. The existing technology has not effectively solved this problem.

Method used

By obtaining the integrity metric vector of the target power equipment terminal, evaluating its credibility in different dimensions, combining environmental risks, business access risks, account risks and application interface access risks, calculating the overall risk assessment value, thereby determining the terminal The trustworthiness ensures its safe and legal access to the power grid platform.

Benefits of technology

Analyzing different risk dimensions from terminal environment risks, account risks, business access risks, API access risks, etc., improve the security of the power grid platform and reduce security risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119046948A_ABST
    Figure CN119046948A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a device for determining credibility of a power equipment terminal. The method comprises the following steps: acquiring an integrity metric vector of a target power equipment terminal; obtaining an integrity evaluation value of the target power equipment terminal; determining an environmental risk assessment value of the target power equipment terminal according to the integrity assessment value; obtaining a business access risk assessment value of the target power equipment terminal, an account risk assessment value of the target power equipment terminal and an application program interface access risk assessment value; determining an overall risk assessment value of the target power equipment terminal according to the environment risk assessment value, the service access risk assessment value, the account risk assessment value and the application program interface access risk assessment value; and obtaining the credibility of the target power equipment terminal based on the overall risk assessment value. The technical problem that potential safety hazards exist due to the fact that the power grid platform is prone to maliciously tampering power data through the power terminal when the power terminal is connected to the power grid platform in the prior art 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 grid security technology, and in particular to a method and device for determining the trustworthiness of a power equipment terminal. Background Art

[0002] The power terminal is a remote terminal device of the power grid platform, which is connected to the power grid platform through public wireless network communication. Illegal platforms can easily maliciously tamper with power data through power terminals, access the power grid platform through identity deception, network attacks and other means, and cause unpredictable safety hazards to the power system.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a method and device for determining the trustworthiness of an electric power equipment terminal, so as to at least solve the technical problem in the related art that when the electric power terminal is connected to the electric power grid platform, the electric power data may be easily maliciously tampered with through the electric power terminal, posing a security risk.

[0005] According to one aspect of an embodiment of the present invention, a method for determining the trustworthiness of an electric power equipment terminal is provided, comprising: obtaining an integrity metric value vector of a target electric power equipment terminal, wherein the integrity metric value vector represents a vector composed of trustworthy metric values ​​of the target electric power equipment terminal in different dimensions; obtaining an integrity assessment value of the target electric power equipment terminal when each vector value in the integrity metric value vector is a preset value; determining an environmental risk assessment value of the target electric power equipment terminal according to the integrity assessment value; obtaining a business access risk assessment value of the target electric power equipment terminal and an account risk assessment value of the target electric power equipment terminal; obtaining an application program interface access risk assessment value of the target electric power equipment terminal; determining an overall risk assessment value of the target electric power equipment terminal according to the environmental risk assessment value, the business access risk assessment value, the account risk assessment value and the application program interface access risk assessment value; and obtaining the trustworthiness of the target electric power equipment terminal based on the overall risk assessment value.

[0006] Optionally, obtaining the integrity measurement value vector of the target power equipment terminal includes: using a predetermined code to measure the basic input / output system of the target power equipment terminal to obtain a first trusted measurement value; obtaining a second trusted measurement value of the loader of the operating system of the target power equipment terminal; obtaining a third trusted measurement value obtained by measuring the operating system by the operating system loader of the target power equipment terminal; obtaining a fourth trusted measurement value of all applications installed on the target power equipment terminal; and generating the integrity measurement value vector based on the first trusted measurement value, the second trusted measurement value, the third trusted measurement value, and the fourth trusted measurement value.

[0007] Optionally, when each vector value in the integrity metric value vector is a preset value, obtaining the integrity assessment value of the target power equipment terminal includes: obtaining the integrity influencing factors of the target power equipment terminal, wherein the integrity influencing factors include at least the following information of the target power equipment terminal: Internet Protocol address, media access control address, geographic location, device type, device identification, and device data quality; obtaining the influencing factor value of each of the integrity influencing factors; and determining the integrity assessment value based on the sum of the influencing factor values ​​of each of the integrity influencing factors.

[0008] Optionally, obtaining the influence factor value of each integrity influencing factor includes: setting the first influence factor value of the Internet Protocol address, the media access control address, the geographic location, the device type and the device identification according to the status of the Internet Protocol address, the media access control address, the geographic location, the device type and the device identification in the integrity influencing factors; obtaining the historical task information of the target power equipment terminal; determining the second influence factor value of the equipment data quality according to the historical task information; and determining the first influence factor value and the second influence factor value as the influence factor values.

[0009] Optionally, determining the environmental risk assessment value of the target power equipment terminal based on the integrity assessment value includes: determining the integrity of the target power equipment terminal based on the relationship between the average value of the integrity assessment value and an integrity assessment threshold; and determining the environmental risk assessment value of the target power equipment terminal based on the integrity.

[0010] Optionally, obtaining the business access risk assessment value of the target power equipment terminal includes: determining the business access risk type corresponding to the business access risk of the target power equipment terminal; generating a search tree corresponding to the target power equipment terminal according to the business access risk type; traversing the search tree from the root node of the search tree according to a depth-first algorithm to obtain the risk value of each leaf node of the search tree, wherein the root node is the target power equipment terminal, and the leaf nodes are nodes corresponding to each of the business access risk types; and obtaining the business access risk assessment value according to the risk value of each leaf node.

[0011] Optionally, obtaining the account risk assessment value of the target power equipment terminal includes: obtaining the user account, password type and third-party authentication information of the target power equipment terminal; and determining the account risk assessment value based on the user account, the password type and the third-party authentication information.

[0012] Optionally, obtaining the application interface access risk assessment value of the target power equipment terminal includes: obtaining the interface type of the application interface of the target power equipment terminal; when the interface type is an untrusted interface, determining the application interface access risk assessment value based on the number of times the application interface is determined to be a trusted interface and the number of times the application interface is determined to be an untrusted interface; when the interface type is a trusted interface, determining the application interface access risk assessment value based on the number of times the application interface is successfully verified and the number of times it fails to be verified.

[0013] Optionally, the overall risk assessment value of the target power equipment terminal is determined based on the environmental risk assessment value, the business access risk assessment value, the account risk assessment value and the application interface access risk assessment value, including: obtaining weight values ​​of the environmental risk assessment value, the business access risk assessment value, the account risk assessment value and the application interface access risk assessment value; determining the overall risk assessment value based on the environmental risk assessment value, the business access risk assessment value, the account risk assessment value and the application interface access risk assessment value and the corresponding weight values ​​respectively.

[0014] According to another aspect of an embodiment of the present invention, a device for determining the trustworthiness of an electric power equipment terminal is also provided, comprising: a first acquisition unit, for acquiring an integrity metric value vector of a target electric power equipment terminal, wherein the integrity metric value vector represents a vector composed of trustworthy metric values ​​of the target electric power equipment terminal in different dimensions; a second acquisition unit, for acquiring an integrity assessment value of the target electric power equipment terminal when each vector value in the integrity metric value vector is a preset value; a first determination unit, for determining an environmental risk assessment value of the target electric power equipment terminal based on the integrity assessment value; a third acquisition unit, for acquiring a business access risk assessment value of the target electric power equipment terminal and an account risk assessment value of the target electric power equipment terminal; a fourth acquisition unit, for acquiring an application program interface access risk assessment value of the target electric power equipment terminal; a second determination unit, for determining an overall risk assessment value of the target electric power equipment terminal based on the environmental risk assessment value, the business access risk assessment value, the account risk assessment value and the application program interface access risk assessment value; and a fifth acquisition unit, for obtaining the trustworthiness of the target electric power equipment terminal based on the overall risk assessment value.

[0015] Optionally, the first acquisition unit includes: a measurement module, which is used to measure the basic input / output system of the target power equipment terminal using a predetermined code to obtain a first trusted measurement value; a first acquisition module, which is used to obtain a second trusted measurement value of the loader of the operating system of the target power equipment terminal; a second acquisition module, which is used to obtain a third trusted measurement value obtained by measuring the operating system by the operating system loader of the target power equipment terminal; a third acquisition module, which is used to obtain a fourth trusted measurement value of all applications installed on the target power equipment terminal; and a first generation module, which is used to generate the integrity measurement value vector based on the first trusted measurement value, the second trusted measurement value, the third trusted measurement value and the fourth trusted measurement value.

[0016] Optionally, the second acquisition unit includes: a fourth acquisition module, used to acquire the integrity influencing factors of the target power equipment terminal, wherein the integrity influencing factors include at least the following information of the target power equipment terminal: Internet Protocol address, media access control address, geographic location, device type, device identification and device data quality; a fifth acquisition module, used to acquire the influencing factor value of each of the integrity influencing factors; and a first determination module, used to determine the integrity assessment value based on the sum of the influencing factor values ​​of each of the integrity influencing factors.

[0017] Optionally, the fourth acquisition module includes: a setting submodule, used to set the first influencing factor value of the Internet Protocol address, the media access control address, the geographic location, the device type and the device identifier according to the status of the Internet Protocol address, the media access control address, the geographic location, the device type and the device identifier in the integrity influencing factor; an acquisition submodule, used to acquire historical task information of the target power equipment terminal; a first determination submodule, used to determine the second influencing factor value of the equipment data quality based on the historical task information; and a second determination submodule, used to determine the first influencing factor value and the second influencing factor value as the influencing factor value.

[0018] Optionally, the first determination unit includes: a second determination module, used to determine the integrity of the target power equipment terminal based on the relationship between the average value of the integrity assessment value and the integrity assessment threshold; and a third determination module, used to determine the environmental risk assessment value of the target power equipment terminal based on the integrity.

[0019] Optionally, the third acquisition unit includes: a fourth determination module, used to determine the business access risk type corresponding to the business access risk of the target power equipment terminal; a second generation module, used to generate a search tree corresponding to the target power equipment terminal according to the business access risk type; a traversal module, used to traverse the search tree from the root node of the search tree according to the depth-first algorithm to obtain the risk value of each leaf node of the search tree, wherein the root node is the target power equipment terminal, and the leaf nodes are nodes corresponding to each of the business access risk types; a sixth acquisition module, used to obtain the business access risk assessment value according to the risk value of each leaf node.

[0020] Optionally, the third acquisition unit includes: a seventh acquisition module, used to obtain the user account, password type and third-party authentication information of the target power equipment terminal; a fifth determination module, used to determine the account risk assessment value based on the user account, the password type and the third-party authentication information.

[0021] Optionally, the fourth acquisition unit includes: an eighth acquisition module, used to acquire the interface type of the application interface of the target power equipment terminal; a sixth determination module, used to determine the application interface access risk assessment value according to the number of times the application interface is determined as a trusted interface and the number of times the application interface is determined as an untrusted interface when the interface type is an untrusted interface; and a seventh determination module, used to determine the application interface access risk assessment value according to the number of times the application interface is successfully verified and the number of times the application interface is failed to be verified when the interface type is a trusted interface.

[0022] Optionally, the second determination unit includes: a ninth acquisition module, used to obtain the weight values ​​of the environmental risk assessment value, the business access risk assessment value, the account risk assessment value and the application interface access risk assessment value; an eighth determination module, used to determine the overall risk assessment value based on the environmental risk assessment value, the business access risk assessment value, the account risk assessment value and the application interface access risk assessment value and the corresponding weight values ​​respectively.

[0023] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium comprising a stored program, wherein the program executes any one of the above methods for determining the trustworthiness of an electric power equipment terminal.

[0024] 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, when running, executes any one of the above methods for determining the trustworthiness of a power equipment terminal.

[0025] According to another aspect of an embodiment of the present invention, there is further provided a computer program product, comprising computer instructions, wherein when the computer instructions are executed by a processor, the method for determining the trustworthiness of an electric power equipment terminal described in any one of the above is executed.

[0026] In an embodiment of the present invention, an integrity metric value vector of a target power equipment terminal is obtained, wherein the integrity metric value vector represents a vector composed of trustworthy metric values ​​of the target power equipment terminal in different dimensions; when each vector value in the integrity metric value vector is a preset value, an integrity assessment value of the target power equipment terminal is obtained; an environmental risk assessment value of the target power equipment terminal is determined based on the integrity assessment value; a business access risk assessment value of the target power equipment terminal and an account risk assessment value of the target power equipment terminal are obtained; an application program interface access risk assessment value of the target power equipment terminal is obtained; an overall risk assessment value of the target power equipment terminal is determined based on the environmental risk assessment value, the business access risk assessment value, the account risk assessment value and the application program interface access risk assessment value; and the trustworthiness of the target power equipment terminal is obtained based on the overall risk assessment value. Through the above-mentioned technical scheme provided by the present invention, it is possible to analyze the risks of the terminals of the power equipment from different risk dimensions such as terminal environment risk, account risk, business access risk, API access risk, etc., and then determine the trustworthiness of the terminals of the power equipment. The power equipment is verified based on the credibility of the terminal to ensure that the terminal is safely and legally connected to the power grid platform, thereby achieving the technical effect of improving the security of the power grid platform and reducing the potential safety hazards of the power grid platform, thereby solving the technical problem in the related technology that when the power terminal is connected to the power grid platform, the power grid platform is prone to maliciously tampering with the power data through the power terminal, posing a potential safety hazard. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] 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:

[0028] Figure 1 It is a hardware structure block diagram of a mobile terminal of a method for determining the trustworthiness of an electric power equipment terminal according to an embodiment of the present invention;

[0029] Figure 2 is a flow chart of a method for determining the trustworthiness of an electric power equipment terminal according to an embodiment of the present invention;

[0030] Figure 3 is a schematic diagram of a method for obtaining a business access risk assessment value based on a depth-first algorithm according to an embodiment of the present invention;

[0031] Figure 4 4 is a schematic diagram of a device for determining the trustworthiness of an electric power equipment terminal according to an embodiment of the present invention. DETAILED DESCRIPTION

[0032] 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.

[0033] 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.

[0034] As introduced in the background technology, in the related technology, when the power terminal is connected to the power grid platform, the power grid platform can easily maliciously tamper with the power data through the power terminal, which poses a security risk. In view of the above defects, in the embodiments of the present invention, a method and device for determining the trustworthiness of a power equipment terminal, a computer-readable storage medium, a processor and a computer program product are provided.

[0035] 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.

[0036] 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 1 is a hardware structure block diagram of a mobile terminal of a method for determining the trustworthiness of a power equipment terminal 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 1 The structure shown is for illustration only 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.

[0037] 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 trustworthiness determination method of the power equipment terminal 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 can 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.

[0038] According to an embodiment of the present invention, a method embodiment of a method for determining the trustworthiness of an electric power equipment terminal 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.

[0039] Figure 2 is a flow chart of a method for determining the trustworthiness of an electric power equipment terminal according to an embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:

[0040] Step S202: Acquire the integrity measurement value vector of the target power equipment terminal, wherein the integrity measurement value vector represents a vector composed of trustworthy measurement values ​​of the target power equipment terminal in different dimensions.

[0041] In this embodiment, a TPM security chip may be introduced into the computer hardware bottom layer of the power equipment terminal (ie, the target power equipment terminal), and a risk assessment foundation for the terminal environment may be constructed based on this.

[0042] Specifically, the power equipment terminal configures an internal dedicated root register based on the TMP security chip, and the integrity measurement value can be stored in the register.

[0043] Among them, the above-mentioned TPM security chip is a chip specially designed to encrypt and protect data, which protects sensitive information from malicious attacks through hardware-level security functions. This security chip is usually used to store encryption keys, execute encryption algorithms, and perform security authentication to ensure the confidentiality and integrity of data. TMP security chips are widely used in various applications, such as smartphones, electronic payment systems, IoT devices, etc. It is designed to provide a higher level of security to prevent data leakage and unauthorized access.

[0044] Step S204: when all vector values ​​in the integrity metric value vector are preset values, the integrity evaluation value of the target power equipment terminal is obtained.

[0045] In this embodiment, when all values ​​in the integrity metric vector of the power equipment terminal are 1, an operation of evaluating the integrity of the power equipment terminal may be performed to obtain an integrity evaluation value.

[0046] Step S206: determining the environmental risk assessment value of the target power equipment terminal according to the integrity assessment value.

[0047] Step S208, obtaining a service access risk assessment value of the target power equipment terminal and an account risk assessment value of the target power equipment terminal.

[0048] Step S210, obtaining an application program interface access risk assessment value of a target power equipment terminal.

[0049] Step S212, determining the overall risk assessment value of the target power equipment terminal according to the environmental risk assessment value, the business access risk assessment value, the account risk assessment value and the application program interface access risk assessment value.

[0050] Step S214: Obtain the trustworthiness of the target power equipment terminal based on the overall risk assessment value.

[0051] As can be seen from the above, in an embodiment of the present invention, an integrity measurement value vector of a target power equipment terminal can be obtained, wherein the integrity measurement value vector represents a vector composed of trust measurement values ​​of the target power equipment terminal in different dimensions; when each vector value in the integrity measurement value vector is a preset value, the integrity assessment value of the target power equipment terminal is obtained; the environmental risk assessment value of the target power equipment terminal is determined according to the integrity assessment value; the business access risk assessment value of the target power equipment terminal and the account risk assessment value of the target power equipment terminal are obtained; the application program interface access risk assessment value of the target power equipment terminal is obtained; the overall risk assessment value of the target power equipment terminal is determined according to the environmental risk assessment value, the business access risk assessment value, the account risk assessment value and the application program interface access risk assessment value; the trustworthiness of the target power equipment terminal is obtained based on the overall risk assessment value, and the risk of the power equipment terminal is analyzed from different risk dimensions such as terminal environment risk, account risk, business access risk, API access risk, and then the trustworthiness of the power equipment terminal is determined, and the power equipment is verified based on the trustworthiness of the terminal to ensure that the terminal is safely and legally connected to the power grid platform, thereby achieving the technical effect of improving the security of the power grid platform and reducing the potential safety hazards of the power grid platform.

[0052] Therefore, the above-mentioned technical solution provided by the embodiment of the present invention solves the technical problem in the related technology that when the power terminal is connected to the power grid platform, the power grid platform can easily maliciously tamper with the power data through the power terminal, posing a security risk.

[0053] According to the above embodiment of the present invention, obtaining the integrity measurement value vector of the target power equipment terminal includes: using a predetermined code to measure the basic input / output system of the target power equipment terminal to obtain a first trusted measurement value; obtaining a second trusted measurement value of the loader of the operating system of the target power equipment terminal; obtaining a third trusted measurement value obtained by measuring the operating system by the operating system loader of the target power equipment terminal; obtaining a fourth trusted measurement value of all applications installed in the target power equipment terminal; and generating an integrity measurement value vector based on the first trusted measurement value, the second trusted measurement value, the third trusted measurement value, and the fourth trusted measurement value.

[0054] In this embodiment, the core CRTM code (i.e., predetermined code) of the trust measurement can be used to measure the BIOS (i.e., basic input / output system) of the power terminal to obtain a first trust measurement value (P1); then, the second trust measurement value (P2) of the operating system loader installed on the power device terminal, the third trust measurement value (P3) of the operating system measured by the power device terminal operating system loader, and the fourth trust measurement value (P4) of all applications installed on the power device terminal are obtained.

[0055] The above credibility values ​​are represented by 1 or 0 respectively.

[0056] The above integrity metric value vector can be expressed by the following formula: H = (P1, P2, P3, P4).

[0057] According to the above embodiment of the present invention, when each vector value in the integrity metric value vector is a preset value, the integrity evaluation value of the target power equipment terminal is obtained, including: obtaining the integrity influencing factors of the target power equipment terminal, wherein the integrity influencing factors include at least the following information of the target power equipment terminal: Internet Protocol address, media access control address, geographic location, device type, device identification, and device data quality; obtaining the influencing factor value of each integrity influencing factor; and determining the integrity evaluation value according to the sum of the influencing factor values ​​of each integrity influencing factor.

[0058] In this embodiment, integrity influencing factors may include, but are not limited to: device IP address (ie, Internet Protocol address), MAC address (Media Access Control address), geographic location, and device type, device ID (device identification), and device data quality.

[0059] Among them, the IP address, MAC address, geographic location, device type, and device ID of the above-mentioned device are all predetermined. If any one of them is in a normal state, the corresponding f(i) is 1. f(i) indicates whether each integrity influencing factor is normal. If it is normal, f(i) is 1, otherwise f(i) is 0. The quality of the above-mentioned device data needs to be measured.

[0060] Here we can use the formula To obtain the integrity evaluation value, π represents the integrity evaluation value. As can be seen from the above, multiple factors affecting the device integrity evaluation include the device IP address, MAC address, geographic location, device type, device ID, and device data quality. When i=1 represents the first item, here n=6. In other implementation environments, the factors affecting the device integrity evaluation may also include more items.

[0061] According to the above embodiment of the present invention, the influencing factor value of each integrity influencing factor is obtained, including: setting the first influencing factor value of the Internet Protocol address, media access control address, geographic location, device type and device identification according to the status of the Internet Protocol address, media access control address, geographic location, device type and device identification in the integrity influencing factors; obtaining the historical task information of the target power equipment terminal; determining the second influencing factor value of the equipment data quality according to the historical task information; and determining the first influencing factor value and the second influencing factor value as the influencing factor values.

[0062] In this embodiment, the influencing factor values ​​of the Internet Protocol address, the media access control address, the geographic location, the device type, and the device identification, that is, the first influencing factor value, can be preset. In addition, the device data quality needs to be measured. Specifically, it is determined by statistically analyzing the historical task requests, task executions, and task completions of the power equipment terminal. When the statistics determine that the historical task requests, task executions, and task completions of the power equipment are excellent, the corresponding f(i) is 1.

[0063] According to the above embodiment of the present invention, the environmental risk assessment value of the target power equipment terminal is determined according to the integrity assessment value, including: determining the integrity of the target power equipment terminal according to the relationship between the average value of the integrity assessment value and the integrity assessment threshold; determining the environmental risk assessment value of the target power equipment terminal according to the integrity.

[0064] In this embodiment, π / n is calculated, and the device integrity is judged by the size of its average value. If it is greater than 3 / 4 (this threshold can be set according to actual needs), the output device integrity is 1, otherwise it is 0. When the device integrity is 1, the terminal environment risk assessment value of the power equipment is 0, otherwise it is 1.

[0065] It should be noted that, in another optional embodiment, when all values ​​in the integrity metric value vector of the power equipment terminal are 0 or two or more values ​​are 0, the terminal environment risk assessment value of the power equipment is 1.

[0066] According to the above embodiment of the present invention, a business access risk assessment value of a target power equipment terminal is obtained, including: determining a business access risk type corresponding to the business access risk of the target power equipment terminal; generating a search tree corresponding to the target power equipment terminal according to the business access risk type; traversing the search tree from the root node of the search tree according to a depth-first algorithm to obtain risk values ​​of each leaf node of the search tree, wherein the root node is the target power equipment terminal, and the leaf nodes are nodes corresponding to each business access risk type; and obtaining a business access risk assessment value according to the risk value of each leaf node.

[0067] In this embodiment, the depth-first algorithm is used to evaluate the business access risk of the power equipment terminal. The depth-first algorithm is an algorithm for traversing or searching a tree or graph. This algorithm searches the branches of the tree as deeply as possible. The business access risk of the power equipment terminal can be divided into: business type risk, access action risk, and behavior monitoring risk.

[0068] Specifically, the depth-first algorithm is shown in 3. Figure 3This is a schematic diagram of a method for obtaining a business access risk assessment value based on a depth-first algorithm according to an embodiment of the present invention. The search starts from the power equipment terminal, traverses behavior monitoring risk → access action risk → business type risk → access message encryption → access delay → access request → business processing, and finally returns to the power equipment terminal.

[0069] In addition, the depth-first algorithm aggregates the risk values ​​of leaf nodes to each sub-goal, and then summarizes and calculates the final risk assessment value. Specifically, as above: the assessment value of access action risk is the cumulative value of business type risk, access message encryption, and access delay (here business type risk, access message encryption, and access delay all have corresponding values, 0 or 1, and each value is accumulated). The assessment value of behavior monitoring risk is: the assessment value of access action risk, the cumulative value of access requests and business processing. Finally, the final risk assessment value is summarized as the assessment value of behavior monitoring risk.

[0070] The above sub-goals are the values ​​corresponding to each sub-node, such as access action risk. For example, the values ​​of business type risk, access message encryption, and access delay are aggregated to obtain the access action risk value, and the access action risk value is then aggregated to the behavior monitoring risk.

[0071] It should be noted that the above is only one implementation method. In other implementation methods, if the leaf node of the power equipment terminal has other risk factors in addition to the behavior monitoring risk, the cumulative value of other risk factors and behavior monitoring risk will be used as the final risk assessment value.

[0072] After finally traversing the risk assessment value of the power equipment terminal, its value is compared with the set risk threshold. If the threshold is exceeded, the assessment value of the business access risk assessment module is 1, otherwise it is 0.

[0073] According to the above embodiment of the present invention, obtaining the account risk assessment value of the target power equipment terminal includes: obtaining the user account, password type and third-party authentication information of the target power equipment terminal; determining the account risk assessment value based on the user account, password type and third-party authentication information.

[0074] In this embodiment, when the power equipment terminal accesses, the account types used are divided into: user account + static password: risk value is 1; user account + dynamic password: risk value is 1; user account + dynamic password + CA third-party authentication: risk value is 0.

[0075] According to the above embodiment of the present invention, obtaining an application interface access risk assessment value of a target power equipment terminal includes: obtaining the interface type of the application interface of the target power equipment terminal; when the interface type is an untrusted interface, determining the application interface access risk assessment value based on the number of times the application interface is determined to be a trusted interface and the number of times the application interface is determined to be an untrusted interface; when the interface type is a trusted interface, determining the application interface access risk assessment value based on the number of times the application interface is successfully verified and the number of times the verification fails.

[0076] In this embodiment, the API interface (Application Programming Interface) is divided into the following categories: untrusted interface and trusted interface.

[0077] For untrusted interfaces: The parameters passed in by the interface call are strictly controlled by the backend of the power grid platform. The power grid platform performs a second verification on the input parameters of the untrusted interface. If the verification is successful, the interface is confirmed as a trusted interface. On the contrary, if the verification fails, the interface is confirmed as an untrusted interface. For untrusted interfaces, the number of times it is determined as a trusted interface and the number of times it is determined as an untrusted interface are screened from the historical access records. If the number of trusted interfaces / the number of untrusted interfaces>0.9, the assessment value of the access risk of the untrusted interface is determined to be 0, otherwise the assessment value is 1.

[0078] For trusted interfaces: use app ld and appSecret mechanisms, and token mechanisms for verification. For trusted interfaces, filter out the number of successful verifications and the number of failed verifications from historical access records. If the number of successful verifications / the number of failed verifications>0.9, the access risk assessment value of the trusted interface is determined to be 0, otherwise the assessment value is 1.

[0079] The evaluation value of the API access risk assessment can be determined in the above manner.

[0080] According to the above embodiment of the present invention, the overall risk assessment value of the target power equipment terminal is determined according to the environmental risk assessment value, the business access risk assessment value, the account risk assessment value and the application interface access risk assessment value, including: obtaining the weight values ​​of the environmental risk assessment value, the business access risk assessment value, the account risk assessment value and the application interface access risk assessment value; determining the overall risk assessment value according to the environmental risk assessment value, the business access risk assessment value, the account risk assessment value and the application interface access risk assessment value and the corresponding weight values ​​respectively.

[0081] In this embodiment, the risk assessment values ​​obtained by the terminal environment risk assessment module, account risk assessment module, business access risk assessment module and API access risk assessment module calculated above can be weighted and summed to obtain the overall risk assessment value of the power equipment terminal.

[0082] For example, the overall risk assessment value can be calculated by the formula T = β1*W1+β2*W2+β3*W3+β4*W4. β1, β2, β3 and β4 are non-negative values ​​and their sum is 1, which is the weight or correction coefficient of each risk assessment value. T is the risk assessment value of the power equipment terminal, W1 is the terminal environment risk assessment value output by the terminal environment risk assessment module, W2 is the risk assessment value output by the business access risk assessment module, W3 is the risk assessment value output by the account risk assessment module, and W4 is the risk assessment value output by the API access risk assessment module.

[0083] Finally, the trustworthiness of the power equipment terminal can be determined based on the risk assessment value T of the power equipment terminal output by the comprehensive trust assessment module. Here, the trustworthiness of the target power equipment terminal can be determined based on the mapping relationship between the overall risk assessment value and the trustworthiness-overall risk assessment value. In addition, in an embodiment of the present invention, the overall risk assessment value can also be input into a trustworthiness prediction model to process the overall risk assessment value using the trustworthiness prediction model to obtain its corresponding trustworthiness. The trustworthiness prediction model here is a model obtained by machine learning training using multiple sets of training data, and each of the multiple sets of training data includes a sample overall risk assessment value and a sample trustworthiness corresponding to the sample overall risk assessment value.

[0084] Through the above-mentioned technical scheme provided by the above-mentioned embodiment of the present invention, a trust model of the terminal of the power equipment is constructed according to different risk dimensions such as terminal environment risk, account risk, business access risk, API access risk, etc., which can perform multi-dimensional risk judgment on the terminal of the power equipment and improve the trustworthiness of the terminal of the power equipment.

[0085] Secondly, in the terminal environment risk assessment module, the TPM security chip is introduced to enhance the security of the operating system and application software running environment from the hardware level. In particular, the bottom-level security of the terminal is enhanced through the integrity measurement value vector judgment. In addition, after confirming the security verification of the operating system and application software running environment through the integrity measurement value vector of the TPM security chip, the device integrity assessment is introduced to analyze multiple factors affecting the device integrity assessment, thereby improving the accuracy of the terminal environment risk assessment.

[0086] Furthermore, the business access risk assessment module uses a depth-first algorithm, which only needs to maintain one node at each level during the search process, and consumes less memory. Therefore, the operation of the business access risk assessment module takes up less space.

[0087] Moreover, in the account risk assessment module, accounts are classified according to common account types and risk tags are assigned to accounts with lower security, thereby ensuring the security of terminal access to the power grid platform by power equipment.

[0088] In addition, in the API access risk assessment module, the input parameters of the untrusted interface must be verified to ensure the security of the untrusted interface. For the trusted interface, in order to prevent criminals from taking advantage of loopholes and further ensure the security of the power grid platform data, the trusted interface also needs to be verified. Therefore, the API access risk can be analyzed from the interface aspect.

[0089] Therefore, through the above-mentioned technical solution provided by the embodiment of the present invention, through the constructed trust model, the risk of the terminal of the power equipment is analyzed from different risk dimensions such as terminal environment risk, account risk, business access risk, API access risk, etc., and then the trustworthiness of the terminal of the power equipment is determined. The power equipment is verified based on the credibility of the terminal to ensure that the terminal is safely and legally connected to the power grid platform.

[0090] 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.

[0091] 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.

[0092] According to an embodiment of the present invention, there is also provided a device for determining the trustworthiness of an electric power equipment terminal for implementing the above-mentioned method for determining the trustworthiness of an electric power equipment terminal. Figure 4 is a schematic diagram of a device for determining the trustworthiness of an electric power equipment terminal according to an embodiment of the present invention. Figure 4 As shown, the device includes: a first acquisition unit 401, a second acquisition unit 403, a first determination unit 405, a third acquisition unit 407, a fourth acquisition unit 409, a second determination unit 411 and a fifth acquisition unit 413. The following is a detailed description of the trustworthiness determination device of the power equipment terminal.

[0093] The first acquisition unit 401 is used to acquire an integrity measurement value vector of a target power equipment terminal, wherein the integrity measurement value vector represents a vector composed of trustworthy measurement values ​​of the target power equipment terminal in different dimensions.

[0094] The second acquisition unit 403 is used to acquire the integrity evaluation value of the target power equipment terminal when each vector value in the integrity metric value vector is a preset value.

[0095] The first determining unit 405 is used to determine the environmental risk assessment value of the target power equipment terminal according to the integrity assessment value.

[0096] The third acquisition unit 407 is used to acquire the service access risk assessment value of the target power equipment terminal and the account risk assessment value of the target power equipment terminal.

[0097] The fourth acquisition unit 409 is used to acquire the application program interface access risk assessment value of the target power equipment terminal.

[0098] The second determining unit 411 is used to determine the overall risk assessment value of the target power equipment terminal according to the environmental risk assessment value, the business access risk assessment value, the account risk assessment value and the application program interface access risk assessment value.

[0099] The fifth acquisition unit 413 is used to obtain the trustworthiness of the target power equipment terminal based on the overall risk assessment value.

[0100] It should be noted here that the above-mentioned first acquisition unit 401, second acquisition unit 403, first determination unit 405, third acquisition unit 407, fourth acquisition unit 409, second determination unit 411 and fifth acquisition unit 413 correspond to steps S202 to S214 in the above-mentioned embodiments, and the seven units are the same as the instances and application scenarios implemented by the corresponding steps, but are not limited to the contents disclosed in the above-mentioned embodiments.

[0101] As can be seen from the above, in the scheme recorded in the above-mentioned embodiment of the present invention, the first acquisition unit can be used to obtain the integrity measurement value vector of the target power equipment terminal, wherein the integrity measurement value vector represents a vector composed of the trust measurement values ​​of the target power equipment terminal in different dimensions; the second acquisition unit is used to obtain the integrity assessment value of the target power equipment terminal when each vector value in the integrity measurement value vector is a preset value; the first determination unit is used to determine the environmental risk assessment value of the target power equipment terminal according to the integrity assessment value; the third acquisition unit is used to obtain the business access risk assessment value of the target power equipment terminal and the account risk assessment value of the target power equipment terminal; the fourth acquisition unit is used to obtain the application interface access value of the target power equipment terminal Risk assessment value; using the second determination unit to determine the overall risk assessment value of the target power equipment terminal according to the environmental risk assessment value, the business access risk assessment value, the account risk assessment value and the application program interface access risk assessment value; using the fifth acquisition unit to obtain the trustworthiness of the target power equipment terminal based on the overall risk assessment value, thereby analyzing the risk of the power equipment terminal from different risk dimensions such as terminal environmental risk, account risk, business access risk, API access risk, and then determining the trustworthiness of the power equipment terminal, and verifying the power equipment based on the credibility of the terminal to ensure that the terminal is safely and legally connected to the power grid platform, thereby achieving the technical effect of improving the security of the power grid platform and reducing the potential safety hazards of the power grid platform.

[0102] Therefore, the above-mentioned technical solution provided by the embodiment of the present invention solves the technical problem in the related technology that when the power terminal is connected to the power grid platform, the power grid platform can easily maliciously tamper with the power data through the power terminal, posing a security risk.

[0103] Optionally, the first acquisition unit includes: a measurement module, which is used to measure the basic input / output system of the target power equipment terminal using a predetermined code to obtain a first trusted measurement value; a first acquisition module, which is used to obtain a second trusted measurement value of the loader of the operating system of the target power equipment terminal; a second acquisition module, which is used to obtain a third trusted measurement value obtained by measuring the operating system by the operating system loader of the target power equipment terminal; a third acquisition module, which is used to obtain a fourth trusted measurement value of all applications installed in the target power equipment terminal; and a first generation module, which is used to generate an integrity measurement value vector based on the first trusted measurement value, the second trusted measurement value, the third trusted measurement value and the fourth trusted measurement value.

[0104] Optionally, the second acquisition unit includes: a fourth acquisition module, used to obtain the integrity influencing factors of the target power equipment terminal, wherein the integrity influencing factors include at least the following information of the target power equipment terminal: Internet Protocol address, media access control address, geographic location, device type, device identification and device data quality; a fifth acquisition module, used to obtain the influencing factor value of each integrity influencing factor; and a first determination module, used to determine the integrity assessment value based on the sum of the influencing factor values ​​of each integrity influencing factor.

[0105] Optionally, the fourth acquisition module includes: a setting submodule, used to set the first influencing factor value of the Internet Protocol address, media access control address, geographic location, device type and device identification according to the status of the Internet Protocol address, media access control address, geographic location, device type and device identification in the integrity influencing factors; an acquisition submodule, used to acquire historical task information of the target power equipment terminal; a first determination submodule, used to determine the second influencing factor value of the equipment data quality according to the historical task information; and a second determination submodule, used to determine the first influencing factor value and the second influencing factor value as the influencing factor values.

[0106] Optionally, the first determination unit includes: a second determination module, used to determine the integrity of the target power equipment terminal based on the relationship between the average value of the integrity assessment value and the integrity assessment threshold; and a third determination module, used to determine the environmental risk assessment value of the target power equipment terminal based on the integrity.

[0107] Optionally, the third acquisition unit includes: a fourth determination module, used to determine the business access risk type corresponding to the business access risk of the target power equipment terminal; a second generation module, used to generate a search tree corresponding to the target power equipment terminal according to the business access risk type; a traversal module, used to traverse the search tree from the root node of the search tree according to the depth-first algorithm to obtain the risk value of each leaf node of the search tree, wherein the root node is the target power equipment terminal, and the leaf nodes are nodes corresponding to each business access risk type; a sixth acquisition module, used to obtain the business access risk assessment value according to the risk value of each leaf node.

[0108] Optionally, the third acquisition unit includes: a seventh acquisition module for acquiring the user account, password type and third-party authentication information of the target power equipment terminal; and a fifth determination module for determining the account risk assessment value based on the user account, password type and third-party authentication information.

[0109] Optionally, the fourth acquisition unit includes: an eighth acquisition module, used to obtain the interface type of the application interface of the target power equipment terminal; a sixth determination module, used to determine the application interface access risk assessment value according to the number of times the application interface is determined as a trusted interface and the number of times the application interface is determined as an untrusted interface when the interface type is an untrusted interface; a seventh determination module, used to determine the application interface access risk assessment value according to the number of times the application interface is successfully verified and the number of times the application interface is failed to be verified when the interface type is a trusted interface.

[0110] Optionally, the second determination unit includes: a ninth acquisition module, used to obtain the weight values ​​of the environmental risk assessment value, the business access risk assessment value, the account risk assessment value and the application interface access risk assessment value; an eighth determination module, used to determine the overall risk assessment value based on the environmental risk assessment value, the business access risk assessment value, the account risk assessment value and the application interface access risk assessment value and the corresponding weight values ​​respectively.

[0111] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium comprising a stored program, wherein the program executes any one of the above methods for determining the trustworthiness of a power equipment terminal.

[0112] 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.

[0113] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: obtaining an integrity measurement value vector of the target power equipment terminal, wherein the integrity measurement value vector represents a vector composed of trustworthy measurement values ​​of the target power equipment terminal in different dimensions; when each vector value in the integrity measurement value vector is a preset value, obtaining an integrity assessment value of the target power equipment terminal; determining an environmental risk assessment value of the target power equipment terminal based on the integrity assessment value; obtaining a business access risk assessment value of the target power equipment terminal and an account risk assessment value of the target power equipment terminal; obtaining an application program interface access risk assessment value of the target power equipment terminal; determining an overall risk assessment value of the target power equipment terminal based on the environmental risk assessment value, the business access risk assessment value, the account risk assessment value and the application program interface access risk assessment value; and obtaining the trustworthiness of the target power equipment terminal based on the overall risk assessment value.

[0114] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: using a predetermined code to measure the basic input / output system of the target power equipment terminal to obtain a first trusted measurement value; obtaining a second trusted measurement value of the loader of the operating system of the target power equipment terminal; obtaining a third trusted measurement value obtained by measuring the operating system by the operating system loader of the target power equipment terminal; obtaining a fourth trusted measurement value of all applications installed in the target power equipment terminal; and generating an integrity measurement value vector based on the first trusted measurement value, the second trusted measurement value, the third trusted measurement value, and the fourth trusted measurement value.

[0115] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: obtaining integrity influencing factors of the target power equipment terminal, wherein the integrity influencing factors include at least the following information of the target power equipment terminal: Internet Protocol address, media access control address, geographic location, device type, device identification, and device data quality; obtaining the influencing factor value of each integrity influencing factor; and determining the integrity assessment value based on the sum of the influencing factor values ​​of each integrity influencing factor.

[0116] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: setting a first influencing factor value of the Internet Protocol address, media access control address, geographic location, device type and device identification according to the status of the Internet Protocol address, media access control address, geographic location, device type and device identification in the integrity influencing factors; obtaining historical task information of the target power equipment terminal; determining a second influencing factor value of the equipment data quality based on the historical task information; and determining the first influencing factor value and the second influencing factor value as influencing factor values.

[0117] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: determining the integrity of the target power equipment terminal based on the relationship between the average value of the integrity assessment value and the integrity assessment threshold; determining the environmental risk assessment value of the target power equipment terminal based on the integrity.

[0118] Optionally, in this embodiment, a computer-readable storage medium is configured to store program code for executing the following steps: determining a business access risk type corresponding to the business access risk of a target power equipment terminal; generating a search tree corresponding to the target power equipment terminal according to the business access risk type; traversing the search tree from the root node of the search tree according to a depth-first algorithm to obtain risk values ​​for each leaf node of the search tree, wherein the root node is the target power equipment terminal, and the leaf nodes are nodes corresponding to each business access risk type; and obtaining a business access risk assessment value based on the risk value of each leaf node.

[0119] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: obtaining the user account, password type and third-party authentication information of the target power equipment terminal; determining the account risk assessment value based on the user account, password type and third-party authentication information.

[0120] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: obtaining the interface type of the application interface of the target power equipment terminal; when the interface type is an untrusted interface, determining the application interface access risk assessment value based on the number of times the application interface is determined to be a trusted interface and the number of times the application interface is determined to be an untrusted interface; when the interface type is a trusted interface, determining the application interface access risk assessment value based on the number of times the application interface is successfully verified and the number of times it fails to be verified.

[0121] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: obtaining weight values ​​of environmental risk assessment values, business access risk assessment values, account risk assessment values, and application interface access risk assessment values; determining an overall risk assessment value based on the environmental risk assessment value, business access risk assessment value, account risk assessment value, and application interface access risk assessment value and their corresponding weight values.

[0122] 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 methods for determining the trustworthiness of a power equipment terminal is executed.

[0123] According to another aspect of an embodiment of the present invention, there is also provided a computer program product, comprising computer instructions, which, when executed by a processor, execute any one of the above methods for determining the trustworthiness of a power equipment terminal.

[0124] 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.

[0125] 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.

[0126] 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.

[0127] 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.

[0128] 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.

[0129] 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.

[0130] 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 determining the trustworthiness of an electric power equipment terminal, characterized in that: include: Acquire an integrity metric value vector of a target power equipment terminal, wherein the integrity metric value vector represents a vector composed of trustworthy metric values ​​of the target power equipment terminal in different dimensions; When each vector value in the integrity metric value vector is a preset value, obtaining an integrity assessment value of the target power equipment terminal; Determining an environmental risk assessment value of the target power equipment terminal according to the integrity assessment value; Acquire a service access risk assessment value of the target power equipment terminal and an account risk assessment value of the target power equipment terminal; Obtaining an application program interface access risk assessment value of the target power equipment terminal; Determine an overall risk assessment value of the target power equipment terminal according to the environmental risk assessment value, the business access risk assessment value, the account risk assessment value, and the application program interface access risk assessment value; The trustworthiness of the target power equipment terminal is obtained based on the overall risk assessment value.

2. The method for determining the trustworthiness of a power equipment terminal according to claim 1, characterized in that: Obtain the integrity measurement value vector of the target power equipment terminal, including: Measuring the basic input / output system of the target power equipment terminal using a predetermined code to obtain a first trustworthy measurement value; Acquire a second trust metric value of a loader of an operating system of the target electric power equipment terminal; Acquire a third trustworthy measurement value obtained by measuring the operating system by an operating system loader of the target electric power equipment terminal; Acquire a fourth trust metric value of all applications installed on the target power equipment terminal; The integrity metric value vector is generated according to the first trust metric value, the second trust metric value, the third trust metric value, and the fourth trust metric value.

3. The method for determining the trustworthiness of a power equipment terminal according to claim 1, characterized in that: When each vector value in the integrity metric value vector is a preset value, obtaining the integrity assessment value of the target power equipment terminal includes: Acquire integrity influencing factors of the target power equipment terminal, wherein the integrity influencing factors include at least the following information of the target power equipment terminal: Internet Protocol address, media access control address, geographic location, device type, device identification, and device data quality; Obtaining an influencing factor value of each integrity influencing factor; The integrity evaluation value is determined according to the sum of the influencing factor values ​​of each of the integrity influencing factors.

4. The method for determining the trustworthiness of a power equipment terminal according to claim 3, characterized in that: Obtaining the influencing factor value of each integrity influencing factor includes: Setting first influencing factor values ​​of the Internet Protocol address, the Media Access Control address, the geographical location, the device type and the device identification according to the states of the Internet Protocol address, the Media Access Control address, the geographical location, the device type and the device identification in the integrity influencing factor; Acquire historical task information of the target power equipment terminal; Determine a second influencing factor value of the device data quality according to the historical task information; The first influencing factor value and the second influencing factor value are determined as the influencing factor values.

5. The method for determining the trustworthiness of a power equipment terminal according to claim 1, characterized in that: Determining the environmental risk assessment value of the target power equipment terminal according to the integrity assessment value includes: Determine the integrity of the target power equipment terminal according to the magnitude relationship between the average value of the integrity assessment value and the integrity assessment threshold; The environmental risk assessment value of the target power equipment terminal is determined based on the integrity.

6. The method for determining the trustworthiness of a power equipment terminal according to claim 1, characterized in that: Obtaining a service access risk assessment value of the target power equipment terminal includes: Determine the business access risk type corresponding to the business access risk of the target power equipment terminal; Generate a search tree corresponding to the target power equipment terminal according to the business access risk type; Traversing the search tree from the root node of the search tree according to a depth-first algorithm to obtain the risk value of each leaf node of the search tree, wherein the root node is the target power equipment terminal, and the leaf nodes are nodes corresponding to each of the business access risk types; The business access risk assessment value is obtained according to the risk value of each leaf node.

7. The method for determining the trustworthiness of a power equipment terminal according to claim 1, characterized in that: Obtaining the account risk assessment value of the target power equipment terminal includes: Obtaining the user account, password type and third-party authentication information of the target power equipment terminal; The account risk assessment value is determined according to the user account, the password type, and the third-party authentication information.

8. The method for determining the trustworthiness of a power equipment terminal according to claim 1, characterized in that: Obtaining an application program interface access risk assessment value of the target power equipment terminal includes: Acquire the interface type of the application program interface of the target power equipment terminal; When the interface type is an untrusted interface, determining the application interface access risk assessment value according to the number of times the application interface is determined as a trusted interface and the number of times the application interface is determined as an untrusted interface; When the interface type is a trusted interface, the application interface access risk assessment value is determined according to the number of times the application interface is successfully verified and the number of times the application interface is failed to be verified.

9. The method for determining the trustworthiness of a power equipment terminal according to any one of claims 1 to 8, characterized in that: Determining the overall risk assessment value of the target power equipment terminal according to the environmental risk assessment value, the business access risk assessment value, the account risk assessment value, and the application program interface access risk assessment value includes: Obtaining weight values ​​of the environmental risk assessment value, the business access risk assessment value, the account risk assessment value, and the application program interface access risk assessment value; The overall risk assessment value is determined according to the environmental risk assessment value, the business access risk assessment value, the account risk assessment value, and the application program interface access risk assessment value and the corresponding weight values.

10. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by the processor, the method for determining the trustworthiness of the power equipment terminal according to any one of claims 1 to 9 is performed.