Disclosure of Invention
The technical problem to be solved by the present invention is to provide an automatic analysis processing method for the data integrity rate of a metering system, aiming at the above prior art.
A second technical problem to be solved by the present invention is to provide a readable storage medium for the above prior art. The readable storage medium stores a computer program, wherein the computer program, when executed by the processor, implements any one of the automatic analysis and processing methods for measuring the data integrity rate of the system.
The third technical problem to be solved by the present invention is to provide an intelligent electric meter in view of the above prior art. The intelligent electric meter comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, and when the processor executes the computer program, the automatic analysis processing method of the data integrity rate of the metering system is realized.
The technical scheme adopted by the invention for solving the first technical problem is as follows: the automatic analysis processing method for the data integrity rate of the metering system is characterized by comprising the following steps of S1-S3:
step S1, constructing a metering system influence factor model influencing the data integrity rate of the metering system; the influence factor model of the metering system comprises all potential influence factors which can influence the data integrity rate of the metering system and the probability of the data integrity rate of the metering system when problems occur due to the influence factors, the total number of the potential influence factors in the influence factor model of the metering system is marked as N, the nth influence factor is marked as QnFactor Q of the integrity of the data of the metering systemnThe probability of a problem occurring is marked as P (Q)n);1≤n≤N;P(Qn1)+P(Q2)+…+P(QN)=1;
Step S2, sequentially carrying out influence investigation analysis on each potential influence factor in the influence factor model of the metering system according to a preset investigation sequence;
and step S3, automatically outputting the investigation analysis results of each potential influence factor in the influence factor model of the metering system.
In an improved manner, in the automatic analysis processing method for the data integrity rate of the metering system, the preset investigation sequence is a sequence from large to small according to the probability of the occurrence of problems of each influence factor.
Further, in the method for automatically analyzing and processing the data integrity rate of the metering system, the potential influence factors in the influence factor model of the metering system include meter activation state, communication parameters, configuration acquisition scheme, electric meter task scheme, electric meter communication channel task, electric meter event task and system log task.
In the automatic analysis processing method for the data integrity rate of the metering system, the process of sequentially carrying out influence investigation analysis on each potential influence factor in the influence factor model of the metering system according to a preset investigation sequence comprises the following steps:
step 1, judging whether the meter state is activated or not:
when the meter state is activated, turning to step 2; otherwise, returning to an activation state error prompt;
step 2, judging whether the communication parameters are correct:
when the communication parameters are correct, turning to step 3; otherwise, returning a communication parameter error prompt;
step 3, judging whether the acquisition scheme is configured:
when the acquisition scheme is configured, turning to step 4; otherwise, returning to the configuration acquisition scheme error prompt;
step 4, judging whether the electric meter task scheme is consistent with the electric meter or not:
when the two are consistent, the step 5 is carried out; otherwise, returning to the ammeter task scheme error prompt;
step 5, judging whether the task of the communication channel of the electric meter is consistent with the electric meter or not:
when the two are consistent, the step 6 is carried out; otherwise, returning to the task error prompt of the communication channel of the electric meter;
step 6, judging whether the ammeter event task is consistent with the ammeter or not:
when the two are consistent, the step 7 is carried out; otherwise, returning to the ammeter event task error prompt;
step 7, judging whether the system log task is consistent with the electric meter or not:
when the two are consistent, the step 8 is carried out; otherwise, returning to a system log task error prompt;
step 8, outputting a checking analysis result list; the list of the investigation and analysis results comprises a list of influencing factors with problems and a list of influencing factors without problems.
Further, in this invention, the method for automatically analyzing and processing the integrity rate of the data of the metering system further includes: and receiving a repairing instruction, and sequentially executing a repairing process on each influencing factor in the problematic influencing factor list.
Still further, in the method for automatically analyzing and processing the data integrity rate of the metering system, the electric meter events comprise electric meter power-off and electric meter timing.
Optionally, in the method for automatically analyzing and processing the data integrity rate of the metering system, the notification of the task error of the communication channel of the electricity meter includes a network abnormal interruption or a weak signal or an arrearage of a SIM card in the electricity meter.
Preferably, in the automatic analysis processing method for measuring the data integrity of the system, the result of the troubleshooting analysis is automatically output in the form of a page.
The technical scheme adopted by the invention for solving the second technical problem is as follows: the readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements any one of the automatic analysis processing methods for measuring the data integrity rate of a system.
The technical scheme adopted by the invention for solving the third technical problem is as follows: the device is characterized by comprising a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the computer program, the automatic analysis processing method for the data integrity rate of the metering system is realized.
Compared with the prior art, the invention has the advantages that: according to the method, the influence factor model of the metering system, which influences the data integrity rate of the metering system, is constructed, influence investigation analysis is automatically performed on each potential influence factor in the influence factor model of the metering system in sequence according to the preset investigation sequence, and the investigation analysis results aiming at each potential influence factor in the influence factor model of the metering system are automatically output in a page form, so that the problem of low efficiency of traditional manual investigation analysis is solved, automatic analysis of each influence factor influencing the data integrity rate of the metering system is realized, and the investigation analysis efficiency is improved.
Detailed Description
The invention is described in further detail below with reference to the accompanying examples.
The embodiment provides an automatic analysis processing method for measuring the data integrity rate of a system. Specifically, referring to fig. 1, the method for automatically analyzing and processing the integrity of the data of the measurement system of the embodiment includes the following steps S1 to S3:
step S1, constructing a metering system influence factor model influencing the data integrity rate of the metering system; the influence factor model of the metering system comprises all potential influence factors which can influence the data integrity rate of the metering system and the probability of the data integrity rate of the metering system when problems occur due to the influence factors, the total number of the potential influence factors in the influence factor model of the metering system is marked as N, the nth influence factor is marked as QnFactor Q of the integrity of the data of the metering systemnThe probability of a problem occurring is marked as P (Q)n);1≤n≤N;P(Qn1)+P(Q2)+…+P(QN)=1;
Specifically, in this embodiment, the potential influence factors in the influence factor model of the metering system include meter activation states, communication parameters, configuration acquisition schemes, meter task schemes, meter communication channel tasks, meter event tasks, and system log tasks, where the meter events include meter power down and meter timing; namely, the total number N of potential influencing factors in the influence factor model of the metering system is 7;
step S2, sequentially carrying out influence investigation analysis on each potential influence factor in the influence factor model of the metering system according to a preset investigation sequence; in this embodiment, the preset investigation sequence is a sequence from large to small according to the probability of the measurement system data integrity rate when problems occur due to each influence factor, and the process of sequentially performing influence investigation analysis on each potential influence factor in the measurement system influence factor model according to the preset investigation sequence includes the following steps 1 to 8:
step 1, judging whether the meter state is activated or not:
when the meter state is activated, turning to step 2; otherwise, returning to an activation state error prompt;
step 2, judging whether the communication parameters are correct:
when the communication parameters are correct, turning to step 3; otherwise, returning a communication parameter error prompt; the ammeter communication channel task error prompt comprises network abnormal interruption or weak signals or arrearage of an SIM card in the ammeter;
step 3, judging whether the acquisition scheme is configured:
when the acquisition scheme is configured, turning to step 4; otherwise, returning to the configuration acquisition scheme error prompt;
step 4, judging whether the electric meter task scheme is consistent with the electric meter or not:
when the two are consistent, the step 5 is carried out; otherwise, returning to the ammeter task scheme error prompt;
step 5, judging whether the task of the communication channel of the electric meter is consistent with the electric meter or not:
when the two are consistent, the step 6 is carried out; otherwise, returning to the task error prompt of the communication channel of the electric meter;
step 6, judging whether the ammeter event task is consistent with the ammeter or not:
when the two are consistent, the step 7 is carried out; otherwise, returning to the ammeter event task error prompt;
step 7, judging whether the system log task is consistent with the electric meter or not:
when the two are consistent, the step 8 is carried out; otherwise, returning to a system log task error prompt;
step 8, outputting a checking analysis result list; the troubleshooting analysis result list comprises an influence factor list with problems and an influence factor list without problems;
and step S3, automatically outputting the investigation analysis results aiming at each potential influence factor in the influence factor model of the metering system in a page form.
In addition, the automatic analysis processing method for the data integrity rate of the metering system in the embodiment may further receive a repair instruction, so as to sequentially perform repair on each influencing factor in the problematic influencing factor list.
The embodiment also provides a readable storage medium. Specifically, the readable storage medium stores a computer program, and when the computer program is executed by the processor, the method for automatically analyzing and processing the data integrity rate of the metering system is implemented.
In addition, the embodiment also provides a device. The device comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, and when the processor executes the computer program, the automatic analysis processing method for the data integrity rate of the metering system is realized.
Although preferred embodiments of the present invention have been described in detail hereinabove, it should be clearly understood that modifications and variations of the present invention are possible to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.