Fault risk detection method and device of security module, terminal equipment and storage medium

By constructing detection models for power distribution terminals and safety modules and calculating fault risk coefficients, the problem of unstable operation of power distribution terminal safety modules in complex environments is solved, enabling early warning and accurate diagnosis of faults, and ensuring the stability and safety of the power distribution system.

CN119338245APending Publication Date: 2025-01-21GUANGDONG POWER GRID CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411402043.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-09
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

In complex operating environments, power distribution terminal safety modules face problems such as equipment damage, unstable power supply quality, and equipment aging, which affect their normal operation and the stability and security of the power distribution system. They also lack an effective fault diagnosis mechanism.

Method used

By constructing a power distribution terminal operation status detection model and a safety module fault status detection model, the operation status coefficient and fault status coefficient are calculated using current and historical data. Combined with the power distribution terminal operation status influence factor, the fault risk coefficient of the safety module is calculated and compared with a preset threshold to determine whether there is a fault risk.

Benefits of technology

This provides a practical fault diagnosis mechanism that can promptly detect potential faults, improve the accuracy and efficiency of fault diagnosis, and ensure the safe operation of power distribution terminals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119338245A_ABST
    Figure CN119338245A_ABST
Patent Text Reader

Abstract

The invention discloses a fault risk detection method and device for a security module, terminal equipment and a storage medium, and the method comprises the steps: constructing a power distribution terminal operation state detection model according to historical operation state data, importing the current operation state data into a power distribution terminal operation state detection model to evaluate the current operation state of the power distribution terminal; constructing a security module fault state detection model according to the historical fault state data, and importing the current operation environment data into the security module fault state detection model to evaluate the current fault state of the security module; and analyzing the fault risk of the safety module according to the current operation state evaluation result of the power distribution terminal and the current fault state evaluation result of the safety module. The invention provides a feasible power distribution terminal point safety module fault diagnosis mechanism, which can detect the fault risk of the power distribution terminal point safety module and is beneficial to the safe operation of the power distribution terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fault diagnosis and analysis, and in particular to a fault risk detection method, device, terminal equipment and storage medium for a safety module. Background Art

[0002] As the terminal link of the power system, the distribution network directly serves the vast number of users, and its reliability and safety are of vital importance. As a key node in the complex network of the distribution network, the distribution terminal safety module always monitors the operating status of the distribution system to ensure that key parameters such as current and voltage are within a safe and stable range. At the same time, it also has the ability of self-protection and rapid response. Once an abnormal or fault signal is detected, it can immediately activate the corresponding protection mechanism, isolate the fault area, and prevent the fault from expanding, thereby ensuring the safe and stable operation of the entire distribution system.

[0003] However, in actual operation, the power distribution terminal safety module also faces many challenges and tests. Due to the wide coverage of the distribution network and the complex and changeable operating environment, the power distribution terminal safety module may encounter various unforeseen problems, such as equipment damage caused by severe weather conditions, malfunction or refusal to operate caused by unstable power supply quality, and performance degradation caused by aging equipment. These problems may interfere with the normal operation of the power distribution terminal safety module, and thus affect the stability and safety of the entire power distribution system. Therefore, in order to ensure that the power distribution terminal safety module can function continuously and reliably, it is necessary to establish a complete power distribution terminal safety module fault diagnosis mechanism. Summary of the invention

[0004] The present invention provides a safety module fault risk detection method, device, terminal equipment and storage medium, so as to provide a safety module fault diagnosis method.

[0005] In order to solve the above technical problems, an embodiment of the present invention provides a fault risk detection method for a safety module, comprising:

[0006] Obtaining current operating status data and historical operating status data of the power distribution terminal corresponding to the safety module to be detected, and obtaining current operating environment data and historical fault status data of the safety module;

[0007] Constructing a distribution terminal operation status detection model based on the historical operation status data;

[0008] Constructing a safety module fault state detection model based on the historical fault state data;

[0009] Inputting the current operation status data into the power distribution terminal operation status detection model to calculate the power distribution terminal operation status coefficient;

[0010] Inputting the current operating environment data into the safety module fault state detection model to calculate the safety module fault state coefficient;

[0011] Calculating a safety module failure risk coefficient according to the power distribution terminal operation state coefficient and the safety module failure state coefficient;

[0012] It is determined whether the safety module has a failure risk according to the safety module failure risk coefficient.

[0013] As a preferred solution, the historical operation status data includes: the average power factor, average current and average voltage of the power distribution terminal during several operations;

[0014] The step of constructing a distribution terminal operation status detection model according to the historical operation status data includes:

[0015] Constructing a distribution terminal operation status detection model according to the average power factor, average current and average voltage during each operation in the historical operation status data;

[0016] Among them, the formula of the distribution terminal operation status detection model is:

[0017]

[0018] Where P z represents the operating state coefficient of the power distribution terminal to be solved; pf represents the current power factor to be input; u represents the current voltage to be input; I represents the current current to be input; pf i It represents the average power factor during the i-th operation in the historical operation status data; u represents the average voltage during the i-th operation in the historical operation status data; I represents the average current during the i-th operation in the historical operation status data; n represents the number of operations of the distribution terminal in the historical operation status data.

[0019] As a preferred solution, the current operating status data includes: the current power factor, current current and current voltage of the power distribution terminal at the current moment;

[0020] The step of inputting the current operation status data into the power distribution terminal operation status detection model to calculate the power distribution terminal operation status coefficient includes:

[0021] The current power factor, the current current and the current voltage are input into the power distribution terminal operation status detection model to calculate the power distribution terminal operation status coefficient.

[0022] As a preferred solution, the historical fault status data includes: CPU usage, memory occupancy and continuous fault time of the security module during several runs;

[0023] The step of constructing a safety module fault state detection model according to the historical fault state data includes:

[0024] Constructing a safety module fault state detection model according to the CPU usage rate, memory occupancy rate and continuous fault time of each operation in the historical fault state data;

[0025] Wherein, the formula of the safety module fault state detection model is:

[0026]

[0027] Where W k represents the safety module fault state coefficient to be solved; c represents the current CPU usage rate to be input; r represents the current memory usage rate to be input; c i Indicates the CPU usage rate during the i-th operation in the historical fault status data; r i represents the memory usage rate of the i-th run in the historical fault status data; g i It represents the duration of the fault during the i-th operation in the historical fault status data; m represents the number of times the safety module is operated in the historical fault status data.

[0028] As a preferred solution, the current operating environment data includes: the current CPU usage and current memory occupancy of the security module at the current moment;

[0029] The step of inputting the current operating environment data into the safety module fault state detection model to calculate the safety module fault state coefficient includes:

[0030] The current CPU usage rate and the current memory occupancy rate are input into the safety module failure state detection model to calculate the safety module failure state coefficient.

[0031] As a preferred solution, the calculation of the safety module failure risk coefficient according to the power distribution terminal operation state coefficient and the safety module failure state coefficient includes:

[0032] Calculate the safety module failure risk coefficient according to the power distribution terminal operation state coefficient and the safety module failure state coefficient by using the safety module failure risk coefficient calculation formula;

[0033] The safety module failure risk coefficient calculation formula is:

[0034] G k =a×P z +(1-a)×W k ;

[0035] In the formula, G k represents the safety module failure risk coefficient; a represents the distribution terminal operation status impact factor; P z Indicates the operating status coefficient of the power distribution terminal; W k Indicates the safety module fault status coefficient.

[0036] As a preferred solution, judging whether the safety module has a failure risk according to the safety module failure risk coefficient includes:

[0037] The safety module failure risk coefficient is compared with a preset failure risk threshold to determine whether the safety module failure risk coefficient is greater than the failure risk threshold. If so, it is determined that the safety module has a failure risk; otherwise, it is determined that the safety module does not have a failure risk.

[0038] On the basis of the above-mentioned embodiment, another embodiment of the present invention provides a fault risk detection device for a safety module, comprising: a data acquisition module, a model building module and a fault risk determination module;

[0039] The data acquisition module is used to acquire the current operating status data and historical operating status data of the power distribution terminal corresponding to the safety module to be detected, and to acquire the current operating environment data and historical fault status data of the safety module;

[0040] The model building module is used to build a distribution terminal operation status detection model based on the historical operation status data; and to build a safety module fault status detection model based on the historical fault status data;

[0041] The fault risk determination module is used to input the current operating status data into the distribution terminal operating status detection model to calculate the distribution terminal operating status coefficient; input the current operating environment data into the safety module fault status detection model to calculate the safety module failure status coefficient; calculate the safety module failure risk coefficient based on the distribution terminal operating status coefficient and the safety module failure status coefficient; and determine whether the safety module has a failure risk based on the safety module failure risk coefficient.

[0042] Based on the above embodiments, another embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the fault risk detection method described in the above invention embodiment is implemented.

[0043] Based on the above embodiments, another embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the fault risk detection method described in the above invention embodiment.

[0044] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0045] The present invention constructs a distribution terminal operation status detection model based on historical operation status data, imports current operation status data into the distribution terminal operation status detection model to evaluate the current operation status of the distribution terminal; constructs a safety module fault status detection model based on historical fault status data, imports current operation environment data into the safety module fault status detection model to evaluate the current fault status of the safety module; analyzes the fault risk of the safety module based on the current operation status evaluation result of the distribution terminal and the current fault status evaluation result of the safety module. The present invention provides a practical and feasible distribution terminal safety module fault diagnosis mechanism, which can realize the detection of the fault risk of the distribution terminal safety module, and is conducive to the safe operation of the distribution terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 It is a flowchart of a method for detecting a fault risk of a safety module provided by an embodiment of the present invention;

[0047] Figure 2 It is a structural schematic diagram of a fault risk detection device for a safety module provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 are within the scope of protection of the present invention.

[0049] Embodiment 1

[0050] Please refer to Figure 1 , is a flow chart of a method for detecting a fault risk of a safety module provided by an embodiment of the present invention, comprising:

[0051] S1. Obtain current operating status data and historical operating status data of a power distribution terminal corresponding to a safety module to be detected, and obtain current operating environment data and historical fault status data of the safety module.

[0052] It should be noted that the safety module may be integrated in the power distribution terminal or may be an independent safety device. There is a one-to-one relationship between the safety module and the power distribution terminal, and the power distribution terminal corresponding to the safety module is determined in advance.

[0053] In step S1, the current operating state data and historical operating state data of the power distribution terminal are obtained, and the current operating environment data and historical fault state data of the safety module are obtained.

[0054] S2. Construct a distribution terminal operation status detection model based on the historical operation status data.

[0055] In a preferred embodiment, the historical operation status data includes: average power factor, average current and average voltage of the power distribution terminal during several operations;

[0056] The step of constructing a distribution terminal operation status detection model according to the historical operation status data includes:

[0057] Constructing a distribution terminal operation status detection model according to the average power factor, average current and average voltage during each operation in the historical operation status data;

[0058] Among them, the formula of the distribution terminal operation status detection model is:

[0059]

[0060] Where P z represents the operating state coefficient of the power distribution terminal to be solved; pf represents the current power factor to be input; u represents the current voltage to be input; I represents the current current to be input; pf i It represents the average power factor during the i-th operation in the historical operation status data; u represents the average voltage during the i-th operation in the historical operation status data; I represents the average current during the i-th operation in the historical operation status data; n represents the number of operations of the distribution terminal in the historical operation status data.

[0061] S3. Constructing a safety module fault state detection model according to the historical fault state data.

[0062] In a preferred embodiment, the historical fault status data includes: CPU usage, memory occupancy and continuous fault time of the security module during several runs;

[0063] The step of constructing a safety module fault state detection model according to the historical fault state data includes:

[0064] Constructing a safety module fault state detection model according to the CPU usage rate, memory occupancy rate and continuous fault time of each operation in the historical fault state data;

[0065] Wherein, the formula of the safety module fault state detection model is:

[0066]

[0067] Where W k represents the safety module fault state coefficient to be solved; c represents the current CPU usage rate to be input; r represents the current memory usage rate to be input; c i Indicates the CPU usage rate during the i-th operation in the historical fault status data; r i represents the memory usage rate of the i-th run in the historical fault status data; g i It represents the duration of the fault during the i-th operation in the historical fault status data; m represents the number of times the safety module is operated in the historical fault status data.

[0068] S4. Input the current operating status data into the distribution terminal operating status detection model to calculate the distribution terminal operating status coefficient.

[0069] In a preferred embodiment, the current operating status data includes: the current power factor, current current and current voltage of the power distribution terminal at the current moment;

[0070] The step of inputting the current operation status data into the power distribution terminal operation status detection model to calculate the power distribution terminal operation status coefficient includes:

[0071] The current power factor, the current current and the current voltage are input into the power distribution terminal operation status detection model to calculate the power distribution terminal operation status coefficient.

[0072] It should be noted that the distribution terminal operation status coefficient combines the current operation status data and the historical operation status data, and can provide a comprehensive and quantitative evaluation indicator for monitoring and analyzing the health status and potential problems of the distribution terminal. By comparing the current operation status with the historical average status, such as power factor, voltage, current, etc., the operation status coefficient can reveal any signs of deviation from the normal range. This deviation may be the result of equipment aging, fault precursors, or changes in external conditions. Therefore, the operation status coefficient can be used as an indicator for early fault warning to help operation and maintenance personnel to detect and deal with potential problems in a timely manner. When a distribution terminal in the distribution system fails, the operation status coefficient can be used as an auxiliary tool for fault diagnosis. By comparing the changes in the operation status coefficient before and after the fault, the fault range can be narrowed and the fault point can be located. In addition, combined with similar fault cases in historical data, the fault type and cause can be further verified to improve the accuracy and efficiency of fault diagnosis.

[0073] S5. Input the current operating environment data into the safety module failure state detection model to calculate a safety module failure state coefficient.

[0074] In a preferred embodiment, the current operating environment data includes: the current CPU usage and current memory occupancy of the security module at the current moment;

[0075] The step of inputting the current operating environment data into the safety module fault state detection model to calculate the safety module fault state coefficient includes:

[0076] The current CPU usage rate and the current memory occupancy rate are input into the safety module failure state detection model to calculate the safety module failure state coefficient.

[0077] It should be noted that when calculating the fault state coefficient of the security module, the current operating environment data, such as CPU usage and memory occupancy, and historical fault state data, such as historical CPU usage, memory occupancy, and fault duration, are considered, which provide important quantitative basis for fault diagnosis. By comparing the current operating environment data with the historical data, the fault state coefficient can reveal whether the current operating state deviates from the normal or safe range. If the Wk value is abnormally high, it may mean that the terminal security module is facing a performance bottleneck or potential failure risk, thereby triggering an early warning mechanism, enabling operation and maintenance personnel to intervene in advance and take corresponding measures. When a terminal security module fails, the fault state coefficient can be used as an auxiliary tool for fault location and diagnosis. By analyzing the change trend and specific components of the Wk value, such as CPU usage, memory occupancy, etc., the fault range can be narrowed and the specific performance bottleneck or fault point can be located. In addition, combined with information such as the fault duration in the historical fault state data, the fault type and cause can be further verified, and the accuracy and efficiency of fault diagnosis can be improved.

[0078] S6. Calculate the safety module failure risk coefficient according to the power distribution terminal operation status coefficient and the safety module failure status coefficient.

[0079] In a preferred embodiment, the calculating of the safety module failure risk coefficient according to the power distribution terminal operation state coefficient and the safety module failure state coefficient includes:

[0080] Calculate the safety module failure risk coefficient according to the power distribution terminal operation state coefficient and the safety module failure state coefficient by using the safety module failure risk coefficient calculation formula;

[0081] The safety module failure risk coefficient calculation formula is:

[0082] G k =a×P z +(1-a)×W k ;

[0083] In the formula, G k represents the safety module failure risk coefficient; a represents the distribution terminal operation status impact factor; P z Indicates the operating status coefficient of the power distribution terminal; W k Indicates the safety module fault status coefficient.

[0084] It should be noted that the distribution terminal operation status influencing factor is set by those skilled in the art according to actual conditions and specific requirements. The safety module failure risk coefficient is used to characterize the possibility of failure risk of the safety module to be detected.

[0085] S7. Determine whether the safety module has a failure risk according to the safety module failure risk coefficient.

[0086] In a preferred embodiment, judging whether the security module has a failure risk according to the security module failure risk coefficient includes:

[0087] The safety module failure risk coefficient is compared with a preset failure risk threshold to determine whether the safety module failure risk coefficient is greater than the failure risk threshold. If so, it is determined that the safety module has a failure risk; otherwise, it is determined that the safety module does not have a failure risk.

[0088] In this embodiment, those skilled in the art preset the fault risk threshold according to the actual situation and specific needs. When the security module fault risk coefficient is greater than the fault risk threshold, it is determined that the security module has a fault risk, and a terminal security module fault troubleshooting instruction is issued to the troubleshooter. When the security module fault risk coefficient is less than or equal to the fault risk threshold, no operation is performed.

[0089] Embodiment 2

[0090] Please refer to Figure 2 , is a structural diagram of a fault risk detection device for a safety module provided by an embodiment of the present invention, comprising: a data acquisition module, a model building module and a fault risk determination module;

[0091] The data acquisition module is used to acquire the current operating status data and historical operating status data of the power distribution terminal corresponding to the safety module to be detected, and to acquire the current operating environment data and historical fault status data of the safety module;

[0092] The model building module is used to build a distribution terminal operation status detection model based on the historical operation status data; and to build a safety module fault status detection model based on the historical fault status data;

[0093] The fault risk determination module is used to input the current operating status data into the distribution terminal operating status detection model to calculate the distribution terminal operating status coefficient; input the current operating environment data into the safety module fault status detection model to calculate the safety module failure status coefficient; calculate the safety module failure risk coefficient based on the distribution terminal operating status coefficient and the safety module failure status coefficient; and determine whether the safety module has a failure risk based on the safety module failure risk coefficient.

[0094] Embodiment 3

[0095] Accordingly, an embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, it implements the fault risk detection method described in the above-mentioned embodiment of the invention.

[0096] Embodiment 4

[0097] Accordingly, an embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the fault risk detection method described in the above-mentioned embodiment of the invention.

[0098] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.

[0099] Those skilled in the art can clearly understand that for the sake of convenience and brevity, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0100] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.

[0101] The processor may be a central processing unit (CPU), or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the device, and various interfaces and lines are used to connect various parts of the entire device.

[0102] The memory can be used to store the computer program, and the processor realizes various functions of the device by running or executing the computer program stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Med ia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0103] The storage medium is a storage medium, and the computer program is stored in the storage medium. When the computer program is executed by the processor, the steps of each method embodiment described above can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-On l yMemory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer readable media do not include electric carrier signals and telecommunication signals.

[0104] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A method for detecting a fault risk of a safety module, characterized in that: include: Obtaining current operating status data and historical operating status data of the power distribution terminal corresponding to the safety module to be detected, and obtaining current operating environment data and historical fault status data of the safety module; Constructing a distribution terminal operation status detection model based on the historical operation status data; Constructing a safety module fault state detection model based on the historical fault state data; Inputting the current operation status data into the power distribution terminal operation status detection model to calculate the power distribution terminal operation status coefficient; Inputting the current operating environment data into the safety module fault state detection model to calculate the safety module fault state coefficient; Calculating a safety module failure risk coefficient according to the power distribution terminal operation state coefficient and the safety module failure state coefficient; It is determined whether the safety module has a failure risk according to the safety module failure risk coefficient.

2. The fault risk detection method according to claim 1, characterized in that: The historical operation status data includes: the average power factor, average current and average voltage of the power distribution terminal during several operations; The step of constructing a distribution terminal operation status detection model according to the historical operation status data includes: Constructing a distribution terminal operation status detection model according to the average power factor, average current and average voltage during each operation in the historical operation status data; Among them, the formula of the distribution terminal operation status detection model is: Where P z represents the operating state coefficient of the power distribution terminal to be solved; pf represents the current power factor to be input; u represents the current voltage to be input; I represents the current current to be input; pf i It represents the average power factor during the i-th operation in the historical operation status data; u represents the average voltage during the i-th operation in the historical operation status data; I represents the average current during the i-th operation in the historical operation status data; n represents the number of operations of the distribution terminal in the historical operation status data.

3. The fault risk detection method according to claim 2, characterized in that: The current operating status data includes: the current power factor, current current and current voltage of the power distribution terminal at the current moment; The step of inputting the current operation status data into the power distribution terminal operation status detection model to calculate the power distribution terminal operation status coefficient includes: The current power factor, the current current and the current voltage are input into the power distribution terminal operation status detection model to calculate the power distribution terminal operation status coefficient.

4. The fault risk detection method according to claim 1, characterized in that: The historical fault status data includes: CPU usage, memory occupancy and continuous fault time of the security module during several runs; The step of constructing a safety module fault state detection model according to the historical fault state data includes: Constructing a safety module fault state detection model according to the CPU usage rate, memory occupancy rate and continuous fault time of each operation in the historical fault state data; Wherein, the formula of the safety module fault state detection model is: Where W k represents the safety module fault state coefficient to be solved; c represents the current CPU usage rate to be input; r represents the current memory usage rate to be input; c i Indicates the CPU usage rate during the i-th operation in the historical fault status data; r i represents the memory usage rate of the i-th run in the historical fault status data; g i It represents the duration of the fault during the i-th operation in the historical fault status data; m represents the number of times the safety module is operated in the historical fault status data.

5. The fault risk detection method according to claim 4, characterized in that: The current operating environment data includes: the current CPU usage and current memory occupancy of the security module at the current moment; The step of inputting the current operating environment data into the safety module fault state detection model to calculate the safety module fault state coefficient includes: The current CPU usage rate and the current memory occupancy rate are input into the safety module failure state detection model to calculate the safety module failure state coefficient.

6. The fault risk detection method according to claim 1, characterized in that: The calculating the safety module failure risk coefficient according to the power distribution terminal operation state coefficient and the safety module failure state coefficient comprises: Calculate the safety module failure risk coefficient according to the power distribution terminal operation state coefficient and the safety module failure state coefficient by using the safety module failure risk coefficient calculation formula; The safety module failure risk coefficient calculation formula is: G k =a×P z +(1-a)×W k ; In the formula, G k represents the safety module failure risk coefficient; a represents the operating status influencing factor of the power distribution terminal; P z Indicates the operating status coefficient of the power distribution terminal; W k Indicates the safety module fault status coefficient.

7. The fault risk detection method according to claim 1, characterized in that: The determining, according to the safety module failure risk coefficient, whether the safety module has a failure risk includes: The safety module failure risk coefficient is compared with a preset failure risk threshold to determine whether the safety module failure risk coefficient is greater than the failure risk threshold. If so, it is determined that the safety module has a failure risk; otherwise, it is determined that the safety module does not have a failure risk.

8. A safety module fault risk detection device, characterized in that: include: Data acquisition module, model building module and fault risk determination module; The data acquisition module is used to acquire the current operating status data and historical operating status data of the power distribution terminal corresponding to the safety module to be detected, and to acquire the current operating environment data and historical fault status data of the safety module; The model building module is used to build a distribution terminal operation status detection model based on the historical operation status data; and to build a safety module fault status detection model based on the historical fault status data; The fault risk determination module is used to input the current operation status data into the distribution terminal operation status detection model to calculate the distribution terminal operation status coefficient; Inputting the current operating environment data into the safety module fault state detection model to calculate the safety module fault state coefficient; Calculating a safety module failure risk coefficient according to the power distribution terminal operation state coefficient and the safety module failure state coefficient; It is determined whether the safety module has a failure risk according to the safety module failure risk coefficient.

9. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the fault risk detection method according to any one of claims 1 to 7 when executing the computer program.

10. A storage medium, characterized in that: The storage medium includes a stored computer program, wherein when the computer program is executed, the device where the storage medium is located is controlled to execute the fault risk detection method according to any one of claims 1 to 7.