Method for predicting average failure time of electric energy meter software and computer equipment
Through the improved BPNN neural network model and overall annealing genetic algorithm optimization, combined with the historical data of the electric energy meter, the problem of inaccurate prediction of the average failure time of the electric energy meter software is solved, and higher prediction accuracy and reliability are achieved.
Patent Information
- Application Number
- CN202410768346.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-10-08
AI Technical Summary
There are problems with the quantitative representation of factors used to predict the average failure time of electric energy meter software in the existing technology, resulting in inaccurate predictions and inability to accurately assess software reliability.
An improved BPNN neural network model is used, combined with the overall annealing genetic algorithm (WAGA) to optimize the network connection weights, and the average software failure time series and key usage times in the historical time period of the electric energy meter are considered for data preprocessing and filtering, using Sigmoid Activation function to build a model for predicting the mean time to failure of energy meter software.
It improves the accuracy of mean failure time prediction of electric energy meter software, meets the needs of MTTF prediction, and provides higher accuracy and generalization ability compared with traditional methods.
Smart Images

Figure CN118747144A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of reliability assessment of electric energy meter software, and in particular relates to a method and computer equipment for predicting mean failure time of electric energy meter software. Background Art
[0002] As we all know, the construction of smart grid has provided a strong impetus for the sustainable development of our country and effectively ensured the safety and reliability of power supply. The achievement of these achievements is closely related to the high reliability of a wide variety of instruments, meters and systems running in them. As an important instrument in the automation system of smart grid, the reliability of the energy meter (such as quantum DC energy meter) will inevitably affect the reliability of the system to a certain extent, which requires it to have a higher reliability index. Therefore, improving the reliability of quantum DC energy meter becomes the key. Since the hardware reliability is relatively mature, it is of great theoretical and practical significance to carry out research on software reliability growth. Among them, the indicators commonly used to evaluate software reliability include mean time to failure (MTTF), which indicates the interval time from the recovery of the last fault to the occurrence of the next fault in the operation of the energy meter, reflecting the ability of the energy meter to continue to work normally. The longer the MTTF, the better.
[0003] In order to evaluate software reliability, the most commonly used method includes using software reliability growth models (SRGM) to predict software MTTF to achieve software reliability evaluation. The research on software reliability prediction models began in 1967. Many scholars have invested in research and proposed dozens of models such as JM model and Bayesian error correction model. Among them, modeling research based on various neural networks has achieved good results. These networks include RBF, BP, LVQ and wavelet networks, which can improve the accuracy of software MTTF prediction to a certain extent. However, when using software reliability growth models for prediction, most of the factors considered are internal software design factors, such as the rationality of the designed software function function and the rationality of the connection relationship of the function function. However, these factors are not easy to quantify using mathematical parameters, and the quantitative representation method is prone to problems. When using the problematic quantitative representation method, the MTTF prediction of the electric energy meter software is not accurate enough, and the reliability of the electric energy meter software cannot be accurately evaluated. Summary of the invention
[0004] The purpose of the present invention is to provide a method and computer device for predicting the mean failure time of electric energy meter software, so as to solve the problem of inaccurate MTTF prediction of electric energy meter software caused by the use of problematic factor quantification representation method when performing MTTF prediction in the prior art.
[0005] In order to solve the above technical problems, the present invention provides a method for predicting the mean failure time of electric energy meter software, the method comprising:
[0006] 1) Obtaining model input data and preprocessing it, wherein the model input data includes the average software failure time series in the historical time period of the electric energy meter and the number of times the operation buttons on the electric energy meter are used at the end of the historical time period;
[0007] 2) The preprocessed model input data is input into the trained software reliability assessment model to predict the average failure time corresponding to the first software failure after the historical time period.
[0008] Furthermore, the software reliability assessment model is a neural network model.
[0009] Furthermore, the neural network model is an improved BPNN model, and the improvement of the improved BPNN model includes that the network connection weights of each branch in the BPNN model are obtained by optimizing using a heuristic algorithm.
[0010] Furthermore, the heuristic algorithm is an overall annealing genetic algorithm.
[0011] Furthermore, the preprocessing includes normalization processing.
[0012] Furthermore, the preprocessing includes filtering processing.
[0013] Furthermore, the activation function used in the improved BPNN model is the Sigmoid activation function.
[0014] To solve the above technical problems, the present invention also provides a computer device, including a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the method for predicting the average failure time of electric energy meter software introduced above.
[0015] The beneficial effects of the present invention are as follows: the present invention is an improved invention creation. Compared with the prior art, the present invention adjusts the factors used for the average failure time of the electric energy meter software, specifically the average failure time series in the historical time period and the number of times the buttons on the electric energy meter are used. The average failure time series in the historical time period is a parameter that can overall reflect the trend of the average failure time of the electric energy meter software. This parameter essentially reflects the comprehensive influence of various factors on the average aging time, including the independence of software function functions, the rationality of the connection relationship of function functions, etc.; in addition, when the buttons on the electric energy meter are frequently operated, the software modules inside the electric energy meter will be frequently executed. When the number of executions is large, the probability of failure of the electric energy meter software will undoubtedly increase. Therefore, the number of times the buttons on the electric energy meter are used represents the usage of the electric energy meter, which is a parameter that quantifies the number of times the software inside the electric energy meter is executed. Therefore, the present invention also takes this factor into consideration when predicting the average failure time of the electric energy meter software. Therefore, the scheme of the present invention for predicting the average failure time of the electric energy meter software by comprehensively considering the two factors including the average failure time series in the historical time period and the number of times the buttons on the electric energy meter are used can improve the accuracy of MTTF prediction and meet the needs of MTTF prediction. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is a method flow chart in an embodiment of the method of the present invention;
[0017] FIG. 2( a ) is a diagram showing the WAGA optimization effect in an embodiment of the method of the present invention;
[0018] FIG2( b ) is a diagram of the WAGA population evolution process in an embodiment of the method of the present invention;
[0019] FIG3( a ) is a diagram showing the GA optimization effect in an embodiment of the method of the present invention;
[0020] FIG3( b ) is a diagram of the GA population evolution process in an embodiment of the method of the present invention;
[0021] Figure 4 It is a BP neural network structure diagram in the embodiment of the method of the present invention;
[0022] Figure 5 It is a block diagram of the WAGA-BPNN principle in the embodiment of the method of the present invention;
[0023] Figure 6 is a function structure diagram of the DC electric energy meter software in the embodiment of the method of the present invention;
[0024] Figure 7 is a WAGA-BPNN error curve diagram in an embodiment of the method of the present invention;
[0025] Figure 8It is a graph of the LM linear regression result of formula (6) in the embodiment of the method of the present invention;
[0026] Fig. 9 It is a linear regression error curve diagram in the embodiment of the method of the present invention. DETAILED DESCRIPTION
[0027] The focus of the present invention is to adjust the input of the reliability assessment model, specifically to adjust the preprocessed software average failure time series within the historical time period of the electric energy meter and the number of times the operation buttons on the electric energy meter are used at the end of the historical time period, and then input these preprocessed data into the trained software reliability assessment model to predict the average failure time corresponding to the first occurrence of software failure after the historical time period, so as to improve the accuracy of MTTF prediction and meet the needs of MTTF prediction. In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0028] Method Example:
[0029] Testing software reliability at different times can play different roles. For example, during software design and system-level testing, continuously removing product defects can increase reliability and ensure that product software reliability indicators reach and exceed design goals; while during certification testing, no modifications are made, and reliability indicators are directly assessed to determine whether the software product reliability meets the standards. The focus of this embodiment is to predict and evaluate the mean failure time of software.
[0030] The electric energy meter in this embodiment is a quantum DC electric energy meter, which is one of the more important instruments in the smart grid. Its embedded system adopts clean room software engineering design, and applies mathematical and statistical theories to the software development and testing process to improve the quality of the software. The designed software function structure is shown in Figure 6 . The quantum DC energy meter software is divided into 28 functional functions, which are used for metering and management functions respectively. In order to simplify the reliability testing and modeling of the energy meter software system composed of these functional functions, these functional functions are made independent of each other when they are constructed. To continuously increase the reliability of the software, it is only necessary to continuously correct each defect found in the test, that is, to complete the cycle of software testing, analysis, defect correction and mean failure time evaluation, and gradually improve the reliability index of the system until it meets the design requirements. Among them, the implementation process of the specific mean failure time prediction method is as follows:
[0031] Step 1: Build a software reliability evaluation model.
[0032] The input of the software reliability assessment model used in this embodiment is set as the preprocessed model input data, which specifically includes the average software failure time series in the historical time period of the electric energy meter and the number of times the operation buttons on the electric energy meter are used at the end of the historical time period. The output of the model is set as the average failure time corresponding to the first occurrence of software failure after the historical time period. There are many operation buttons on the electric energy meter, such as query buttons, display function buttons, etc.
[0033] Normally, the collected data generally has low signal-to-noise ratio, redundancy and even high dimensionality. If data preprocessing is not performed, it may lead to undesirable consequences such as model complexity, low accuracy and weak generalization ability. Therefore, data preprocessing is required. Common preprocessing includes normalization, filtering, and feature selection, extraction or dimensionality reduction. Considering that the model input data in this embodiment is the number of times the operating buttons on the electric energy meter are used and the average failure time series of the software, these data are relatively simple and can only be processed by normalization and filtering, without complex dimensionality reduction or feature selection and extraction.
[0034] Moreover, the software reliability assessment model used in this embodiment can select a neural network model (of course, other machine learning models, such as deep learning models, can also be selected). The neural network model specifically selects a model obtained by improving the error back propagation neural network (BPNN), wherein the improvement is to use a heuristic algorithm to optimize the network connection weights of each branch in the BPNN model. For example, the heuristic optimization algorithm here specifically selects a traditional genetic algorithm or a simulated annealing genetic algorithm (SAGA). The model obtained by using SAGA to optimize the connection weights in BPNN is called a WAGA-BPNN model, and the WAGA-BPNN model is introduced in detail below.
[0035] 1. Global annealing genetic algorithm.
[0036] The overall annealing genetic algorithm has two major characteristics compared to the traditional genetic algorithm (GA). One is that the parent population participates in the synthesis of the new population, and the other is based on the appropriate annealing strategy selection. Studies have shown that the necessary and sufficient condition for WAGA to converge is to allow the parent population to participate in the competition. The notable feature of this algorithm is that after iteration, the population as a whole can quickly converge to the global optimum. The present invention optimizes the annealing parameters and initial population determination strategy of WAGA through experiments to further improve the convergence effect. The WAGA process is the same as the typical GA, and the complete links will not be repeated. This embodiment only introduces two key links to be improved.
[0037] 1) Parent population F k The fitness function of the individual is defined according to the annealing strategy as shown in formula (1). The parent generation is selected according to probability, and the fitness value of the individual determines whether it can be selected.
[0038]
[0039] In the formula, J k (x) represents the fitness value of individual x; k is the annealing generation, the initial value is 1, and it increases by 1 generation by generation until the genetic evolution ends; T0 is the initial temperature, and after repeated experiments, the value is determined to be 160 in this embodiment.
[0040] 2) New generation population P k+1 After hybridization, replication, and mutation, the parent population generates a transition population M. uk , which is combined with the parent population to form a new generation of population:
[0041]
[0042] In order to test the search effect of the above WAGA, the first 12 basic test functions of CEC2005 were selected for minimum value search. Compared with the standard GA, the optimization effect of the algorithm was significantly improved. For the sake of intuition, only the multi-peak function of the basic test function f9(x) of CEC2005 when n=1 is taken as an example to introduce the simulation comparison. The function expression is:
[0043] f(x)=x 2 -10cos(2πx)+10 (3)
[0044] It is stipulated that x takes values in the interval (-5.12, 5.12). The simulation is performed using MATLAB 2018. During the simulation, the chromosome is represented by a 16-bit binary number, the mutation rate is set to 0.05, the crossover rate is set to 0.6, the number of individuals in the population is 10, k starts from 1, and increases by 1 generation by generation. WAGA anneals and iterates until a certain number of iterations (such as 20 times) is reached. During this period, the population continuously searches for the minimum value of f(x).
[0045] The experiment was conducted in two ways. The first way was to perform only 20 population iterations and compare the success rate of optimization. The experiment was repeated 50 times, and the search result error was less than 1% and was considered successful. The proportion of WAGA searching for the minimum value reached more than 90%. The optimization effect of WAGA is shown in Figure 2(a), and the population convergence process is shown in Figure 2(b). The five-star at the bottom of Figure 2(a) represents the optimal solution (0.00, 0.00) point searched, and the five-star in Figure 2(b) represents the individuals in the population. It can be seen that after several iterations of WAGA, the five-star overlapped a lot, indicating that the population was highly concentrated near the optimal solution and the convergence speed was fast. Under the same conditions, the individual clustering of the GA algorithm was not obvious, and the results of searching for the minimum value were more random, and the success rate within 20 generations was less than 30%. The optimization effect of GA is shown in Figure 3(a), and the population convergence process is shown in Figure 3(b). The second way is to increase the number of iterations to 500, compare the success rate of optimization, and perform 50 comparative simulations, with other conditions unchanged. At this time, the GA optimization rate can reach more than 95%, but it still falls into the local optimum. The WAGA optimization rate reaches 100%, and the population converges to the global optimal solution, while the GA population is scattered, and only a few individuals reach the optimal solution or its vicinity. In short, the optimization simulation of the first 12 basic test functions of CEC2005 mentioned above shows that the optimized overall annealing genetic algorithm can make the entire population converge to the global optimal solution more quickly.
[0046] 2. Fusion of overall annealing genetic algorithm and BPNN.
[0047] BPNN is an error back propagation neural network, which has outstanding nonlinear mapping and generalization characteristics but a simple structure. Therefore, this architecture is used in this embodiment, and WAGA is used to improve its training speed and global optimization ability in order to obtain better mapping effects. Theoretical studies have shown that a feedforward network including a single hidden layer, that is, a three-layer structure, is sufficient to complete the mapping of all nonlinear functions. Therefore, the BPNN used in this embodiment adopts the simplest three-layer structure, and the connection relationship between the neurons in each layer is as follows: Figure 4 As shown. It can be seen that there are connections between neurons in adjacent layers, but the connection weights are different. The activation function in the network neuron is very important. Commonly used functions include Sigmoid function, tanh function, ReLU function, L-ReLU and P-ReLU, etc., each of which has its own characteristics. Since the improved optimization algorithm is to be used for training, there is no need to worry about the gradient disappearance problem. In this embodiment, the Sigmoid activation function is selected, and the neuron output can be expressed as:
[0048]
[0049] In the formula, x i is the i-th input of the neuron, n is the number of neuron inputs, y is the neuron output, ωi is the connection weight between the ith input and the neuron, θ is the set threshold, and f() represents the activation function.
[0050] BPNN has both advantages and disadvantages. Its main disadvantage is that high-precision training will have a convergence plateau. As we all know, the training process of a neural network is the process of adjusting the network weights. To solve the problem of convergence plateau, the intuitive idea is to improve the gradient descent weight adjustment strategy of BPNN, but this is not simple; however, if the training process is converted into a parameter optimization process, the problem can be solved. Therefore, the WAGA-BPNN solution is proposed. The principle is as follows: Figure 5 shown. Figure 5 In the figure, the chromosome of WAGA is composed of the connection weights between neurons of BPNN according to the rules. When training the BPNN network, the goal of WAGA optimization is to make the system identification error less than the set error value. After WAGA optimization is completed, its chromosome is decomposed according to the coding rules agreed in the figure, and the network connection weights of each branch of BPNN are obtained.
[0051] Step 2: Acquire multiple sets of data and perform preprocessing, and then divide the preprocessed multiple sets of data into training sets and test sets to train and test the software reliability assessment model constructed in step 1 accordingly.
[0052] One set of data may specifically be the average failure time series of software in a historical time period of an electric energy meter, the number of times the operating buttons on the electric energy meter are used at the end of the historical time period, and the average failure time corresponding to the first occurrence of software failure after the historical time period. For example, the average failure time series of software is specifically the average failure time series from the beginning of the use of the electric energy meter (for example, 2022.01.01) to 2024.05.31 (i.e., the time series composed of all the intervals between two adjacent failures between 221.01.01 and 2024.05.31), the number of times the operating buttons on the electric energy meter are used is corresponding to the number of times the operating buttons on the electric energy meter are used as of 2024.05.31, and the average failure time corresponding to the first occurrence of software failure after the historical time period refers to the average aging time corresponding to the first occurrence of software failure after 2024.05.31 (i.e., the interval between the first occurrence of software failure after 2024.05.31 and the last occurrence of software failure).
[0053] Obtain multiple groups of data introduced in the previous paragraph. The data can be divided into a training set and a test set in a ratio of 7:3. First, use the training set to train the software reliability assessment model constructed in step 1, and then use the test set to test the trained model. After the test passes, the trained software reliability assessment model is obtained.
[0054] Step three, obtain the model input data and preprocess it. The model input data includes the number of times the operating buttons on the electricity meter are used and the average software failure time series within the historical time period of the electricity meter. The preprocessed model input data is input into the trained software reliability assessment model obtained in step two to predict the average failure time corresponding to the first software failure after the historical time period.
[0055] At this point, the average failure time of the electricity meter software can be predicted.
[0056] The above method is verified below to illustrate the effectiveness and reliability of the method of the present invention. The specific process is as follows: Figure 1 As mentioned above, during the software improvement process, the reliability of embedded software can be improved by testing, analyzing and correcting defects. The specific approach here is to randomly generate test data to run the software and record all failure conditions to calculate MTTF.
[0057] In order to verify the feasibility of the above method, the application software of three quantum DC energy meters was tested in a clean room during the software reliability growth test, and the first six failure interval test data were used to predict the seventh data. The experimental data are shown in Table 1 (the number of times the operation buttons on the energy meter are used is not listed in Table 1). N represents the serial number corresponding to the number of failures, and the duration of each run is represented by the number of software runs between two failures.
[0058] Table 1 Experimental data
[0059]
[0060] Moreover, the curve fitting method in the prior art is used for comparison. Under certain conditions, it can be assumed that each time a defect is corrected, the MTTF can be increased by a certain fixed value based on the average failure time MTTF0 at the beginning of integration. If the average failure time of the system when removing the first N defects is MTTF N If it is expressed, then:
[0061] MTTF N =MTTF0×R N (5)
[0062] In the formula, R is the reliability growth factor, which represents the multiple factor of the average growth of MTTF after each defect removal. During the reliability growth test, it is necessary to first record the data of the previous N test runs; then use the regression analysis method to estimate the MTTF. The specific regression method can use the least squares method (LM) for polynomial regression, or take the natural logarithm of both sides of equation (5) to obtain equation (6). Here, LM linear regression analysis can be used for equation (6) to obtain the estimated values of ln(R) and ln(MTTF0), thereby estimating ln(MTTF N ) to estimate, and then further obtain MTTF N The estimated value of .
[0063] ln(MTTF N )=N×ln(R)+ln(MTTF0) (6)
[0064] Here, the average number of times the three electric energy meters are operated between two failures is taken. Specifically, for example, the prediction task here is to predict the average failure time when N = 7, given the data of the three electric energy meters with N = 1 to 6 in Table 1 and the corresponding number of times the operation buttons of the three electric energy meters are used until N = 6. Then the average failure time series of the software in the historical time period of the electric energy meter in the model input data corresponds to [20.3 61.3 193 580.3 1750 5280.6], where 20.3 is the average of the three data when N = 1, and the same applies to other data. The number of times the operation buttons on the electric energy meter are used at the end of the historical time period in the model input data is the average number of times the three meters are used, and the result to be predicted is 15937.
[0065] According to the aforementioned WAGA-BPNN modeling method, and the set number of input, output and hidden layer nodes, the number of bits and arrangement structure of chromosomes are determined. Figure 5 The specific structure of chromosomes is shown in Table 2.
[0066] Table 2
[0067]
[0068] It can be seen that the length of each weight is 2 bytes, that is, 16 bits. Since each chromosome contains information about 12 weights, the total length of each chromosome is 24 bytes, a total of 192 bits. In order to balance the accuracy and generalization ability of WAGA-BPNN, the training mean square error threshold is determined to be 0.1% in this embodiment. In order to verify the training efficiency of WAGA-BPNN, a comparative experiment was carried out using BPNN with the same structure. The comparative experiment was carried out under the same software, hardware and data conditions, 10 times each, and the average training time was 0.019 seconds for WAGA-BPNN and 0.36 seconds for BPNN. It can be seen that the training speed of WAGA-BPNN is faster. Moreover, the training error curve of the WAGA-BPNN model is shown in the figure. Figure 7 As shown, the training requirements are met.
[0069] The trained WAGA-BPNN network is used to predict the 7th failure interval, and the MTTF7 is 15681 times. This is 256 times less than the average value of the 7th data of the three experimental meters, 15937 times, and the error is -1.61%. At the same time, according to formula (6), the LM linear regression analysis is performed after taking the logarithm of the three groups of experimental data. The results and errors are shown in the figure. Figure 8 and Fig. 9 shown.
[0070] The average result obtained by LM linear regression is:
[0071] ln(MTTF N )=1.113N+1.904 (7)
[0072] From the above formula, it can be calculated that the seventh failure interval time MTTF7 is 16236 times, which is 299 times more than the average value of the seventh data of the three experimental meters of 15937 times, and the percentage error is 1.88%, which is lower than the prediction accuracy of the method of the present invention.
[0073] In summary, the present invention has the following characteristics: 1) The modeling efficiency of WAGA-BPNN is improved compared with the standard BPNN; 2) The training error of the software MTTF prediction model based on WAGA-BPNN is small, which can easily reach less than one ten-thousandth as needed, which is about two orders of magnitude smaller than the fitting error of the logarithmic LM linear regression, and avoids the antilogarithmic operation process after the logarithmic linear fitting, and directly outputs the MTTF result; 3) The percentage error between the predicted value of the established WAGA-BPNN model and the average value of the three measured meters is smaller than the prediction error using the logarithmic LM linear regression, indicating that the trained WAGA-BPNN prediction model has good generalization ability and can meet the needs of MTTF prediction; 4) In some cases, R is no longer a constant, and in this case, logarithmic linear regression analysis cannot be performed, and the nonlinear mapping ability and generalization ability of the WAGA-BPNN model will show greater advantages.
[0074] Computer equipment example:
[0075] A computer device embodiment of the present invention includes a memory, a processor, an internal bus and a computer program stored in the memory, and the processor and the memory communicate and exchange data with each other through the internal bus. The processor executes the computer program to implement the steps of a method for predicting the average failure time of electric energy meter software introduced in the method embodiment of the present invention. Among them, the processor can be a processing device such as a microprocessor MCU, a programmable logic device FPGA, etc.; the memory can be various memories that use electric energy to store information, such as RAM, ROM, etc., or it can be a memory using other methods.
[0076] Specific implementation methods are given above, but the present invention is not limited to the described implementation methods. The basic idea of the present invention lies in the above basic scheme. For ordinary technicians in this field, it does not take creative work to design various deformed models, formulas, and parameters according to the teachings of the present invention. Changes, modifications, substitutions, and variations of the implementation methods without departing from the principles and spirit of the present invention still fall within the scope of protection of the present invention.
Claims
1. A method for predicting the mean failure time of electric energy meter software, characterized in that: The method includes: 1) Obtaining model input data and preprocessing it, wherein the model input data includes the average software failure time series in the historical time period of the electric energy meter and the number of times the operation buttons on the electric energy meter are used at the end of the historical time period; 2) The preprocessed model input data is input into the trained software reliability assessment model to predict the average failure time corresponding to the first software failure after the historical time period.
2. The method for predicting the mean failure time of electric energy meter software according to claim 1, characterized in that: The software reliability evaluation model is a neural network model.
3. The method for predicting the mean failure time of electric energy meter software according to claim 2, characterized in that: The neural network model is an improved BPNN model, and the improvement of the improved BPNN model includes that the network connection weights of each branch in the BPNN model are obtained by optimizing with a heuristic algorithm.
4. The method for predicting the mean failure time of electric energy meter software according to claim 3 is characterized in that: The heuristic algorithm is an overall annealing genetic algorithm.
5. The method for predicting the mean failure time of electric energy meter software according to any one of claims 1 to 4, characterized in that: The preprocessing includes normalization processing.
6. The method for predicting the mean failure time of electric energy meter software according to any one of claims 1 to 4, characterized in that: The preprocessing includes filtering.
7. The method for predicting the mean failure time of electric energy meter software according to claim 3 or 4, characterized in that: The activation function used in the improved BPNN model is the Sigmoid activation function.
8. A computer device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the steps of the method for predicting the mean failure time of electric energy meter software as described in any one of claims 1 to 7.
