CN116699504A - Electric energy meter display detection method and device, electric energy meter and medium - Google Patents

Electric energy meter display detection method and device, electric energy meter and medium Download PDF

Info

Publication number
CN116699504A
CN116699504A CN202310960036.3A CN202310960036A CN116699504A CN 116699504 A CN116699504 A CN 116699504A CN 202310960036 A CN202310960036 A CN 202310960036A CN 116699504 A CN116699504 A CN 116699504A
Authority
CN
China
Prior art keywords
display
electric energy
energy meter
display information
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310960036.3A
Other languages
Chinese (zh)
Inventor
刁瑞朋
刘鹏飞
刘颀绮
高生宇
郑昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Dingxin Communication Power Engineering Co ltd
Qingdao Topscomm Communication Co Ltd
Original Assignee
Qingdao Dingxin Communication Power Engineering Co ltd
Qingdao Topscomm Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Dingxin Communication Power Engineering Co ltd, Qingdao Topscomm Communication Co Ltd filed Critical Qingdao Dingxin Communication Power Engineering Co ltd
Priority to CN202310960036.3A priority Critical patent/CN116699504A/en
Publication of CN116699504A publication Critical patent/CN116699504A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/04Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/006Electronic inspection or testing of displays and display drivers, e.g. of LED or LCD displays

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

The invention discloses an electric energy meter display detection method and device, an electric energy meter and a medium, and is suitable for the technical field of electric energy meter detection. Acquiring actual display information of the current electric energy meter according to the display command; and comparing the actual display information with preset display information to determine and display a detection result. Compared with the existing detection mode, the method has the advantages that no additional camera equipment is needed, the actual display information of the electric energy meter is obtained through the display command of the custom command, comparison with the preset display information can be achieved to determine the detection result of the display content, the integrity of the display content is improved, and the accuracy of detection is not affected by reflection in the photographing process of the liquid crystal display. The display command is a display field corresponding to display information of the representation electric energy meter, namely the display field can be combined and detected to realize the stop motion information of the display content of the electric energy meter, so that the situation that the existing detection mode cannot control due to multiple dynamic values of the display content of the electric energy meter is avoided, the detection difficulty is simplified, and the detection controllability is improved.

Description

Electric energy meter display detection method and device, electric energy meter and medium
Technical Field
The invention relates to the technical field of intelligent ammeter detection, in particular to an ammeter display detection method, an ammeter display detection device, an ammeter and a medium.
Background
The electric energy meter is one of the indispensable devices in the family life, and is provided with a liquid crystal display screen for displaying the data of the electric energy, date and time, voltage, current rate and the like of the electric energy meter in real time for the convenience of use and maintenance, so that the state of the electric energy meter is intuitively displayed.
Along with development of electric energy meter verification technology, detection of an electric energy meter equipped with a liquid crystal display screen also gradually tends to be automatic, an industrial camera is adopted to photograph the liquid crystal display screen at present, and accuracy of screen display is judged by comparing the liquid crystal display screen with expected images. Because the surface of the liquid crystal screen is provided with a layer of protective glass, under the condition that the backlight is not lighted, the photographing can reflect light so as to influence image comparison; in addition, the display content of the electric energy meter is a dynamic value, and the camera detection can not control the display data content of the electric energy meter to be consistent with the expected image, so that the detection controllability difficulty is increased.
Therefore, how to improve the accuracy and integrity of the display content of the lcd of the electric energy meter is needed to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide an electric energy meter display detection method, an electric energy meter display detection device, an electric energy meter and a medium, which are used for solving the technical problems of inaccurate and incomplete detection of display content of a liquid crystal display screen of the existing electric energy meter.
In order to solve the technical problems, the invention provides a display detection method of an electric energy meter, which comprises the following steps:
receiving a display command issued to an electric energy meter, wherein the display command is a custom command and represents a display field corresponding to display information of the electric energy meter;
acquiring actual display information of the current electric energy meter according to the display command;
comparing the actual display information with preset display information to determine a display detection result;
the preset display information is obtained through an operation command, the operation command is a user-defined command and represents ideal display fields corresponding to the display information of the electric energy meter, and the display field forms corresponding to the actual display information and the preset display information are one or more display field combination forms.
Preferably, the number of bytes corresponding to the fields of the preset display information and the actual display information is at least 24 bytes, wherein the zeroth byte stores time data of the display field of the electric energy meter, the first byte to the twenty-first byte store display information of the electric energy meter, the twenty-second byte stores a lighting mode of a backlight lamp of the electric energy meter, and the twenty-third byte stores a lighting mode of a switch-off lamp of the electric energy meter;
and storing a state word corresponding to a display field of the electric energy meter in bit positions in each byte, wherein the state word at least comprises a character state word, a symbol state word and a digital state word, and each state word has uniqueness in each bit position.
Preferably, the digital status word is a plurality of all 8 display status words;
correspondingly, storing the digital status word in each byte includes:
disassembling according to each full 8 display status word to obtain corresponding 7 segment code status words;
and storing the corresponding 7 segment code status words into the corresponding bytes respectively.
Preferably, the comparing the actual display information with the preset display information to determine and display a detection result includes:
acquiring time data of a display field in the preset display information;
acquiring the actual display information corresponding to the preset times in the time data;
respectively determining the comparison condition of the actual display information and the preset display information under each preset frequency, and recording the consistency frequency of the consistency of the actual display information and the preset display information;
if the consistency times meet a preset condition, determining that the display detection result is normal, wherein the preset condition is that the consistency times reach a threshold value;
and if the consistency times do not meet the preset conditions, determining that the display detection result is abnormal.
Preferably, after determining the display detection result, the method further includes:
and storing the display detection result into a log file, wherein the abnormality of the display detection result is different from the storage mark normally in the log file.
Preferably, after determining the display detection result, the method further includes:
and outputting alarm information when the display detection result is determined to be abnormal.
Preferably, after obtaining the actual display information of the current electric energy meter, the method further includes:
acquiring time data of a display field of the actual display information;
and after the display field of the actual display information is displayed according to the time data of the display field of the actual display information, recovering the circulation display state of the electric energy meter so that the electric energy meter can work normally.
In order to solve the technical problem, the invention also provides a display detection device of the electric energy meter, which comprises:
the receiving module is used for receiving a display command issued to the electric energy meter, wherein the display command is a custom command and represents a display field corresponding to display information of the electric energy meter;
the acquisition module is used for acquiring actual display information of the current electric energy meter according to the display command;
the determining module is used for comparing the actual display information with preset display information to determine the display detection result;
the preset display information is obtained through an operation command, the operation command is a user-defined command and represents ideal display fields corresponding to the display information of the electric energy meter, and the display field forms corresponding to the actual display information and the preset display information are one or more display field combination forms.
In order to solve the technical problem, the invention further provides an electric energy meter, which comprises:
a memory for storing a computer program;
and the processor is used for realizing the steps of the electric energy meter display detection method when executing the computer program.
In order to solve the above technical problem, the present invention further provides a computer readable storage medium, where a computer program is stored, where the computer program when executed by a processor implements the steps of the electric energy meter display detection method described above.
The invention provides a display detection method of an electric energy meter, which comprises the following steps: receiving a display command issued to the electric energy meter, wherein the display command is a custom command and represents a display field corresponding to display information of the electric energy meter; acquiring actual display information of the current electric energy meter according to the display command; comparing the actual display information with preset display information to determine a display detection result, wherein the preset display information is obtained through an operation command, the operation command is a user-defined command and represents ideal display fields corresponding to the display information of the electric energy meter, and the display fields corresponding to the actual display information and the preset display information are in one or more display field combination forms. Compared with the existing detection mode, the method has the advantages that no additional camera equipment is needed, the actual display information of the electric energy meter is obtained through the display command of the custom command, comparison with the preset display information can be achieved to determine the detection result of the display content, the integrity of the display content is improved, and the accuracy of detection is not affected by reflection in the photographing process of the liquid crystal screen. The display command is a display field corresponding to display information of the representation electric energy meter, namely the display field can be combined and detected to realize the stop motion information of the display content of the electric energy meter, so that the situation that the existing detection mode cannot control due to multiple dynamic values of the display content of the electric energy meter is avoided, the detection difficulty is simplified, and the detection controllability is improved.
In addition, the invention also provides an electric energy meter display detection device, an electric energy meter and a medium, and the electric energy meter display detection device has the same beneficial effects as the electric energy meter display detection method.
Drawings
For a clearer description of embodiments of the present invention, the drawings that are required to be used in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
FIG. 1 is a display interface of a single-phase intelligent electric energy meter provided by an embodiment of the invention;
FIG. 2 is a display interface of a three-phase intelligent ammeter provided by an embodiment of the present invention;
FIG. 3 is a flowchart of a method for detecting the display of an electric energy meter according to an embodiment of the present invention;
fig. 4 is a schematic diagram of display detection of an electric energy meter according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a liquid crystal display of an electric energy meter according to an embodiment of the present invention;
FIG. 6 is a block diagram of a display detection device of an electric energy meter according to an embodiment of the present invention;
fig. 7 is a block diagram of an electric energy meter according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without making any inventive effort are within the scope of the present invention.
The invention provides an electric energy meter display detection method, an electric energy meter display detection device, an electric energy meter and a medium, which are used for solving the technical problems of inaccurate and incomplete detection of display content of a liquid crystal display screen of the existing electric energy meter.
In order to better understand the aspects of the present invention, the present invention will be described in further detail with reference to the accompanying drawings and detailed description.
It should be noted that, in the existing verification technology of the liquid crystal display of the electric energy meter, because the electric energy meter has multiple conditions of automatic cycle display, key cycle display, self-checking display and the like, if the manual detection method is relied on, the coverage and accuracy of the detection are difficult to be ensured. The detection efficiency and the accuracy of the liquid crystal display screen in the industry are low at present due to the environmental factors and the state of the electric energy meter. Because the accuracy of the mode of detecting by the camera is low, and meanwhile, the electric energy meter has automatic circulation display, the shot images are difficult to ensure to be clearly matched with the expected images, certain requirements on the shooting angle, the shooting frequency and the like of the camera are met, and the implementation difficulty is high. The invention provides an electric energy meter display detection method aiming at the problem of low detection efficiency and accuracy of an electric energy meter liquid crystal display, wherein fig. 1 is a display interface of a single-phase intelligent electric energy meter provided by the embodiment of the invention, and fig. 2 is a display interface of a three-phase intelligent electric energy meter provided by the embodiment of the invention, as shown in fig. 1 and 2, the electric energy meter can be applied to the single-phase intelligent electric energy meter, the three-phase intelligent electric energy meter and the like, and the electric energy meter is not limited herein.
Fig. 3 is a flowchart of a method for detecting display of an electric energy meter according to an embodiment of the present invention, as shown in fig. 3, where the method includes:
s11: receiving a display command issued to the electric energy meter, wherein the display command is a custom command and represents a display field corresponding to display information of the electric energy meter;
s12: acquiring actual display information of the current electric energy meter according to the display command;
s13: comparing the actual display information with preset display information to determine and display a detection result;
the preset display information is obtained through an operation command, the operation command is a user-defined command and represents ideal display fields corresponding to the display information of the electric energy meter, and the display fields corresponding to the actual display information and the preset display information are in one or more display field combination forms.
Specifically, a display command issued to the electric energy meter is received, wherein the display command is a display command correspondingly displayed by a liquid crystal display screen under the control of a micro control unit (Microcontroller Unit, MCU) system of the electric energy meter. The display command in this embodiment is a custom command, and is based on a display field corresponding to display information of the electric energy meter, and the display field is used to indicate that different display fields can form a message form of the custom command.
And acquiring actual display information of the current electric energy meter according to the display command, namely acquiring the actual display content of the current electric energy meter through the display command, wherein the actual display information is identical with the preset display information if the display detection is correct. The corresponding preset display information may be directly obtained through other commands, or may be directly called through pre-storing the preset display information in a certain database, which is not limited herein.
And comparing the actual display information with preset display information to determine a display detection result. The comparison process may be that if the actual display information is different from the preset display information, the comparison is failed, and the display detection result is abnormal. The delay condition can also be considered when the display information is acquired, so that the actual display information is acquired for multiple times, for example, 3 times of actual display information is acquired within 5 seconds, different conditions can exist in the 3 times of actual display information, and the current detection result can be determined to be normal only if one or more pieces of actual display information are the same as the preset display information, and the satisfied times can be determined according to the actual conditions.
The comparison process can be directly executed through the program of the script file of the electric energy meter, or two display information of the script file can be obtained and then stored in a data file for additional comparison. The present invention is not limited to this, and may be compared according to actual conditions. The preferred embodiment is executed directly by a pre-stored script file program in the electric energy meter to improve the detection efficiency.
In the conventional detection method, if the scene that the switching-off lamp is turned on and the date and time are displayed at the same time is required to be detected, a remote tripping command and a display checking command are required to be issued to the electric energy meter, so that a plurality of instructions are acquired, the detection procedure is complicated, as an embodiment, the preset display information is acquired through an operation command, wherein the operation command is a self-defined command and represents an ideal display field corresponding to the display information of the electric energy meter, and the display field forms corresponding to the actual display information and the preset display information are in one or more display field combination forms.
It can be understood that the preset display information is obtained by the operation command, and the operation command issued to the electric energy meter controls the liquid crystal display of the electric energy meter to display the contents of a certain field or the combination of a plurality of fields at regular time, so that the display information is not limited by the state of the electric energy meter and the automatic cycle display. In the prior art, only a fixed field, such as "electricity consumption", is selected for the fields, and three fields need to be displayed simultaneously.
The preset display information represents an ideal display field corresponding to the display information of the electric energy meter, namely, the target display information to be displayed by the display screen is really controlled by a user, and the display information is similar to a standard answer. The field combination forms of the display field forms of the actual display information and the preset display information are the same, but in the actual control process, the actual display information may be different from the preset display information (target display information) due to the influence of the work of other parts of the electric energy meter or the problems occurring in the display process of the electric energy meter.
The acquisition process of the preset display information and the specific form of the display field corresponding to the preset display information and the actual display information are not limited by the detection environment and the state of the ammeter, and the combination detection of various display fields is supported. Compared with the traditional detection method, the method can acquire various scenes through one instruction, and has the advantages of improving the controllability and the flexibility of detecting the liquid crystal display content and simplifying the detection flow.
The embodiment of the invention provides a display detection method for an electric energy meter, which comprises the following steps: receiving a display command issued to the electric energy meter, wherein the display command is a custom command and represents a display field corresponding to display information of the electric energy meter; acquiring actual display information of the current electric energy meter according to the display command; and comparing the actual display information with preset display information to determine and display a detection result. Compared with the existing detection mode, the method does not need extra camera equipment, the actual display information of the electric energy meter is obtained through the display command of the custom command, comparison with the preset display information can be achieved to determine the detection result of the display content, the integrity of the display content is improved, and the accuracy of detection is not affected by reflection in the photographing process of the liquid crystal display. The display command is a display field corresponding to display information of the representation electric energy meter, namely the display field can be combined and detected to realize the stop motion information of the display content of the electric energy meter, so that the situation that the existing detection mode cannot control due to multiple dynamic values of the display content of the electric energy meter is avoided, the detection difficulty is simplified, and the detection controllability is improved.
On the basis of the above embodiment, as an implementation manner, the number of bytes corresponding to the fields of the preset display information and the actual display information is at least 24 bytes, where the first byte stores time data of the display field of the electric energy meter, the second byte to the twenty-second byte store display information of the electric energy meter, the twenty-third byte stores a lighting mode of a backlight lamp of the electric energy meter, and the twenty-fourth byte stores a lighting mode of a switch-off lamp of the electric energy meter;
and storing a state word corresponding to a display field of the electric energy meter in each bit, wherein the state word at least comprises a character state word, a symbol state word and a digital state word, and each state word has uniqueness in each bit.
Specifically, the electric energy meter liquid crystal display detection system can control and acquire the display content of the liquid crystal display screen, and preset display information and actual display information of the electric energy meter liquid crystal display detection system are acquired on the same electric energy meter, so that the number of bytes of corresponding display fields is the same. The minimum specification of the display content of the display screen of the electric energy meter is 24 bytes of data content, so that the embodiment is at least 24 bytes. In 24 bytes, bits under each byte are defined to respectively represent different display fields/lamps, a custom command message is formed and sent to an ammeter to control a liquid crystal display to display the content of a certain field or a plurality of field combinations, and the display content of the ammeter liquid crystal display is obtained through a reading command. The electric energy meter can be any electric energy meter with a liquid crystal display screen, such as a single-phase intelligent electric energy meter, a three-intelligent-phase electric energy meter and the like.
Taking a single-phase intelligent electric energy meter as an example, the data content in 24 bytes comprises:
the zeroth byte stores time data of a display field of the electric energy meter, wherein the time data is 16 scale, and the unit is seconds;
the first byte to the twenty-first byte store the display information of the electric energy meter, the display is represented when the corresponding bit position is 1, and the display is not represented when the bit position is 0, and the display information is 16.
The twenty-second byte stores the lighting pattern of the backlight of the electric energy meter, 01 indicates lighting, and 00 indicates non-lighting amount.
The twenty-third byte stores the lighting mode of the switching-off lamp of the electric energy meter, 01 indicates lighting, and 00 indicates a non-lighting amount.
Table 1 liquid crystal display status word list
For example, the data content of the issuing command is 05 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 00 01 01, and each of the two data is corresponding to one byte (0 th byte-23 rd byte), the 0 th byte is 05, that is, the display time is 5s, the last-to-last byte (22 nd byte) is 01, the backlight is turned on through the table lookup, the last-to-last byte (23 rd byte) is 01, and the off-gate is turned on through the table lookup.
The data content of the issuing command is 0A 80 0000 40 0000 0000 0000 0000 0000 0000 0000 0000 0000 00, the 0 th byte is 0A, the hexadecimal corresponding to the issuing command is converted into decimal 10s, namely 10s, the first byte is 80, the binary is 1000 000, and the bit7 corresponding to the first byte is 'up'. The fourth byte is 40, converted to binary 0100 0000, corresponding to bit6 of the fourth byte, i.e., "month". The word is displayed for 10s by looking up the table.
The data content of the issuing command is 05 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 01, the 0 th byte is 05, the corresponding hexadecimal is converted into decimal 5s, the second twelve and twenty-third bytes are 01, the corresponding backlight is lighted, the switching-off lamp is lighted, and the rest bytes are FF, so that all the data are displayed. If the data content of the issued command is 0A FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 01, the entire display is indicated for 10s, and the backlight is turned on and the switching-off lamp is turned on.
In combination with table 1 and the embodiment, the display of the corresponding field display, as well as the display of the switching-off lamp and the backlight lamp lighting mode, fig. 4 is a schematic diagram of display detection of the electric energy meter according to the embodiment of the present invention, as shown in fig. 4, the MCU system 1 of the electric energy meter calls the display content of the liquid crystal display 2 by inputting a control command to obtain the display content of the liquid crystal display 2, where the display content includes the display of the pure field, the display of the backlight lamp and the display of the corresponding field in the switching-off lamp lighting mode.
Fig. 5 is a schematic diagram of a liquid crystal display content of an electric energy meter according to an embodiment of the present invention, as shown in fig. 5, a corresponding status word display mark under a byte is set in combination with a status word of table 1, so that corresponding display information can be displayed according to a command. It can be seen that the bits in each byte store the status words corresponding to the display field of the electric energy meter, where the status words at least include a text status word, a symbol status word and a digital status word, and in combination with fig. 5, the text status word is a Chinese character, the symbol status word is a design of some icons, the digital status word is displayed in all 8 in this embodiment, and the digital of the nixie tube is displayed. Each of its status words has a uniqueness in bits.
On the basis of the above embodiment, as one embodiment, the digital status word is a plurality of all 8 display status words;
correspondingly, storing digital status words in each byte includes:
disassembling according to all 8 display status words to obtain corresponding 7 segment code status words;
and storing the corresponding 7 segment code status words into the corresponding bytes respectively.
Specifically, as shown in fig. 5, the digital status word is a full 8 display status word, in the digital display process of the electric energy meter, a full 8 display mode is generally adopted to represent all the digits, and the digits are disassembled into 7 segment code status words, wherein each segment code status word represents one status word, such as the first 8, and is disassembled into 1A, 1B, 1C, 1D, 1E, 1F and 1G, and other full 8 display status words can be checked in combination with table 1.
The display content of the electric energy meter is represented by different display fields, so that the detectability, suitability and flexibility of the liquid crystal display content are improved.
On the basis of the above embodiment, comparing the actual display information with the preset display information in step S13 to determine and display the detection result includes:
acquiring time data of a display field in preset display information;
acquiring actual display information corresponding to the preset times in the time data;
respectively determining the comparison condition of the actual display information and the preset display information under each preset frequency, and recording the consistency frequency of the consistency of the actual display information and the preset display information;
if the consistency times meet the preset conditions, determining that the display detection result is normal, wherein the preset conditions are that the consistency times reach the threshold times;
if the consistency times do not meet the preset conditions, determining that the display detection result is abnormal.
Specifically, according to the time data of the display field in the preset display information, the corresponding actual display information under the preset times is obtained, the preset times can be set according to the actual situation, or a certain mapping relation can be established according to two parameters of the time data and the preset times, for example, the display time is 5s, the preset times are 3 times, and if the display time is 10s, the preset times are 6 times. In this embodiment, the comparison process is based on obtaining actual display information multiple times in the display time, and since the issuing of the command and the delay from the obtaining of the whole process exist, if the actual display information is only obtained once, the actual display information is allowed to be obtained multiple times in the limited display time, the actual display information which may be obtained each time is different, and the actual display information which is required to be obtained each time is compared with the preset display information, so that the number of times of comparison consistency is obtained.
If the number of times of consistency meets the preset condition of comparison, the detection result is indicated to be normal, and if the number of times of consistency does not meet the preset condition of comparison, the detection result is indicated to be abnormal. The preset condition is that the number of times of consistency reaches a threshold value, and the number of times is at least one, namely, if one comparison is successful, the display detection result is determined to be normal.
According to the embodiment of the invention, the corresponding actual display information is acquired according to the preset times in the display time, and the delay phenomenon of the electric energy meter in the process of issuing the command and acquiring the display content is considered, so that the actual display information is provided for a plurality of times to judge the detection result, the detection accuracy of the detection result is improved, and the accidental problem is avoided.
On the basis of the above embodiment, after determining to display the detection result, the method further includes:
and storing the display detection result into a log file, wherein the abnormality of the display detection result is different from the storage mark normally in the log file.
Specifically, the determined display detection result is saved in the log file, wherein the detection result comprises a normal state and an abnormal state, and for convenient viewing, the two results need to be saved by adopting different marks.
As another embodiment, after determining to display the detection result, the method further includes:
and outputting alarm information when the display detection result is determined to be abnormal.
Specifically, when it is determined that the display detection result is abnormal, alarm information is output. The output form of the alarm information is not limited, and the alarm information can be reminded in forms of flickering, normal lighting and the like of the backlight lamp, and also can be reminded through a buzzer and the like in the electric energy meter, and the alarm information can be set according to actual conditions, so that a worker can conveniently and timely check abnormal conditions.
On the basis of the above embodiment, after obtaining the actual display information of the current electric energy meter, the method further includes:
acquiring time data of a display field of actual display information;
and after the display field of the actual display information is displayed according to the time data of the display field of the actual display information, recovering the circulation display state of the electric energy meter so that the electric energy meter works normally.
After the actual display information is obtained, the electric energy meter in the next step is compared, the display field of the actual display information is displayed according to the time data of the display field of the actual display information while the comparison is carried out, and if the time data is used up, the electric energy meter can automatically recover to the circulation display state of the electric energy meter so as to be convenient for the normal operation of the electric energy meter.
It should be noted that, the electric energy meter itself can perform automatic cycle display, and after the current operation command and the display command are executed, the electric energy meter automatically returns to the corresponding automatic cycle display state.
After the display field of the actual display information is displayed, the electric energy meter provided by the embodiment of the invention resumes the circulation display state of the electric energy meter so that the electric energy meter can work normally.
The invention further discloses an electric energy meter display detection device corresponding to the method, and fig. 6 is a structural diagram of the electric energy meter display detection device provided by the embodiment of the invention. As shown in fig. 6, the electric energy meter display detection device includes:
the receiving module 11 is configured to receive a display command sent to the electric energy meter, where the display command is a custom command and represents a display field corresponding to display information of the electric energy meter;
the acquiring module 12 is used for acquiring actual display information of the current electric energy meter according to the display command;
the determining module 13 is configured to compare the actual display information with preset display information to determine and display a detection result;
the preset display information is obtained through an operation command, the operation command is a user-defined command and represents ideal display fields corresponding to the display information of the electric energy meter, and the display fields corresponding to the actual display information and the preset display information are in one or more display field combination forms.
Since the embodiments of the device portion correspond to the above embodiments, the embodiments of the device portion are described with reference to the embodiments of the method portion, and are not described herein.
For the description of the electric energy meter display detection device provided by the invention, please refer to the above method embodiment, the description of the invention is omitted herein, and the method has the same beneficial effects as the electric energy meter display detection method.
Fig. 7 is a structural diagram of an electric energy meter according to an embodiment of the present invention, as shown in fig. 7, the apparatus includes:
a memory 21 for storing a computer program;
and a processor 22 for implementing the steps of the electric energy meter display detection method when executing the computer program.
Processor 22 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like, among others. The processor 22 may be implemented in hardware in at least one of a digital signal processor (Digital Signal Processor, DSP), a Field programmable gate array (Field-Programmable Gate Array, FPGA), a programmable logic array (Programmable Logic Array, PLA). The processor 22 may also include a main processor, which is a processor for processing data in an awake state, also referred to as a central processor (Central Processing Unit, CPU), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 22 may be integrated with an image processor (Graphics Processing Unit, GPU) for use in responsible for rendering and rendering of content required for display by the display screen. In some embodiments, the processor 22 may also include an artificial intelligence (Artificial Intelligence, AI) processor for processing computing operations related to machine learning.
Memory 21 may include one or more computer-readable storage media, which may be non-transitory. Memory 21 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 21 is at least used for storing a computer program 211, where the computer program can implement the relevant steps of the electric energy meter display detection method disclosed in any of the foregoing embodiments after being loaded and executed by the processor 22. In addition, the resources stored in the memory 21 may further include an operating system 212, data 213, and the like, and the storage manner may be transient storage or permanent storage. The operating system 212 may include Windows, unix, linux, among other things. The data 213 may include, but is not limited to, data related to a power meter display detection method, and the like.
In some embodiments, the electric energy meter may further include a display screen 23, an input/output interface 24, a communication interface 25, a power supply 26, and a communication bus 27.
It will be appreciated by those skilled in the art that the configuration shown in fig. 7 is not limiting and may include more or fewer components than illustrated.
The processor 22 invokes the instructions stored in the memory 21 to implement the power meter display detection method provided in any of the above embodiments.
For the introduction of the electric energy meter provided by the invention, please refer to the above method embodiment, the invention is not repeated here, and the electric energy meter has the same beneficial effects as the electric energy meter display detection method.
Further, the present invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by the processor 22 implements the steps of the electric energy meter display detection method as described above.
It will be appreciated that the methods of the above embodiments, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored on a computer readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium for performing all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
For the introduction of a computer readable storage medium provided by the present invention, please refer to the above method embodiment, the present invention is not described herein, and the method has the same advantages as the above method for detecting the display of the electric energy meter.
The electric energy meter display detection method, the electric energy meter display detection device, the electric energy meter and the medium provided by the invention are described in detail. In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the invention can be made without departing from the principles of the invention and these modifications and adaptations are intended to be within the scope of the invention as defined in the following claims.
It should also be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. The display detection method for the electric energy meter is characterized by comprising the following steps of:
receiving a display command issued to an electric energy meter, wherein the display command is a custom command and represents a display field corresponding to display information of the electric energy meter;
acquiring actual display information of the current electric energy meter according to the display command;
comparing the actual display information with preset display information to determine a display detection result;
the preset display information is obtained through an operation command, the operation command is a user-defined command and represents ideal display fields corresponding to the display information of the electric energy meter, and the display field forms corresponding to the actual display information and the preset display information are one or more display field combination forms.
2. The electric energy meter display detection method according to claim 1, wherein the number of bytes corresponding to the fields of the preset display information and the actual display information is at least 24 bytes, wherein a zeroth byte stores time data of the electric energy meter display field, first to twenty-first bytes store display information of the electric energy meter, twenty-second bytes store a lighting mode of a backlight of the electric energy meter, and twenty-third bytes store a lighting mode of a switch-off lamp of the electric energy meter;
and storing a state word corresponding to a display field of the electric energy meter in bit positions in each byte, wherein the state word at least comprises a character state word, a symbol state word and a digital state word, and each state word has uniqueness in each bit position.
3. The method for detecting the display of the electric energy meter according to claim 2, wherein the digital status words are a plurality of all 8 display status words;
correspondingly, storing the digital status word in each byte includes:
disassembling according to each full 8 display status word to obtain corresponding 7 segment code status words;
and storing the corresponding 7 segment code status words into the corresponding bytes respectively.
4. The method for displaying and detecting the electric energy meter according to claim 1, wherein comparing the actual display information with the preset display information to determine and display a detection result comprises:
acquiring time data of a display field in the preset display information;
acquiring the actual display information corresponding to the preset times in the time data;
respectively determining the comparison condition of the actual display information and the preset display information under each preset frequency, and recording the consistency frequency of the consistency of the actual display information and the preset display information;
if the consistency times meet a preset condition, determining that the display detection result is normal, wherein the preset condition is that the consistency times reach a threshold value;
and if the consistency times do not meet the preset conditions, determining that the display detection result is abnormal.
5. The method for detecting the display of the electric energy meter according to claim 4, further comprising, after determining the display detection result:
and storing the display detection result into a log file, wherein the abnormality of the display detection result is different from the storage mark normally in the log file.
6. The method for detecting the display of the electric energy meter according to claim 4, further comprising, after determining the display detection result:
and outputting alarm information when the display detection result is determined to be abnormal.
7. The electric energy meter display detection method according to any one of claims 1 to 6, characterized by further comprising, after acquiring the actual display information of the current electric energy meter:
acquiring time data of a display field of the actual display information;
and after the display field of the actual display information is displayed according to the time data of the display field of the actual display information, recovering the circulation display state of the electric energy meter so that the electric energy meter can work normally.
8. An electric energy meter display detection device, characterized by comprising:
the receiving module is used for receiving a display command issued to the electric energy meter, wherein the display command is a custom command and represents a display field corresponding to display information of the electric energy meter;
the acquisition module is used for acquiring actual display information of the current electric energy meter according to the display command;
the determining module is used for comparing the actual display information with preset display information to determine and display a detection result;
the preset display information is obtained through an operation command, the operation command is a user-defined command and represents ideal display fields corresponding to the display information of the electric energy meter, and the display field forms corresponding to the actual display information and the preset display information are one or more display field combination forms.
9. An electric energy meter, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the electric energy meter display detection method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, which when executed by a processor, implements the steps of the electric energy meter display detection method according to any one of claims 1 to 7.
CN202310960036.3A 2023-08-02 2023-08-02 Electric energy meter display detection method and device, electric energy meter and medium Pending CN116699504A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310960036.3A CN116699504A (en) 2023-08-02 2023-08-02 Electric energy meter display detection method and device, electric energy meter and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310960036.3A CN116699504A (en) 2023-08-02 2023-08-02 Electric energy meter display detection method and device, electric energy meter and medium

Publications (1)

Publication Number Publication Date
CN116699504A true CN116699504A (en) 2023-09-05

Family

ID=87841807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310960036.3A Pending CN116699504A (en) 2023-08-02 2023-08-02 Electric energy meter display detection method and device, electric energy meter and medium

Country Status (1)

Country Link
CN (1) CN116699504A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117032590A (en) * 2023-10-08 2023-11-10 青岛鼎信通讯股份有限公司 Storage system and method for dynamic data in event record of electric energy meter

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108053783A (en) * 2017-12-13 2018-05-18 深圳市飓风智云科技有限公司 The intelligent display condition detecting system and method for a kind of display device
CN108711391A (en) * 2018-05-16 2018-10-26 奥克斯空调股份有限公司 A kind of test system for display panel, control method and air conditioner
CN109272909A (en) * 2018-10-16 2019-01-25 珠海晖达科技有限公司 Segment encode liquid crystal display detection method and device, computer installation and computer readable storage medium
CN109741698A (en) * 2019-01-04 2019-05-10 精电(河源)显示技术有限公司 Show data flaw detection method and device
CN114299838A (en) * 2021-12-29 2022-04-08 北京煜邦电力技术股份有限公司 Detection device and method for electric energy meter liquid crystal display and intelligent electric energy meter
CN115507889A (en) * 2022-09-16 2022-12-23 宁夏隆基宁光仪表股份有限公司 Automatic detection method and system for display function of intelligent instrument
CN116359833A (en) * 2023-06-01 2023-06-30 广东电网有限责任公司 Centralized verification method, device and equipment for electric energy meter and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108053783A (en) * 2017-12-13 2018-05-18 深圳市飓风智云科技有限公司 The intelligent display condition detecting system and method for a kind of display device
CN108711391A (en) * 2018-05-16 2018-10-26 奥克斯空调股份有限公司 A kind of test system for display panel, control method and air conditioner
CN109272909A (en) * 2018-10-16 2019-01-25 珠海晖达科技有限公司 Segment encode liquid crystal display detection method and device, computer installation and computer readable storage medium
CN109741698A (en) * 2019-01-04 2019-05-10 精电(河源)显示技术有限公司 Show data flaw detection method and device
CN114299838A (en) * 2021-12-29 2022-04-08 北京煜邦电力技术股份有限公司 Detection device and method for electric energy meter liquid crystal display and intelligent electric energy meter
CN115507889A (en) * 2022-09-16 2022-12-23 宁夏隆基宁光仪表股份有限公司 Automatic detection method and system for display function of intelligent instrument
CN116359833A (en) * 2023-06-01 2023-06-30 广东电网有限责任公司 Centralized verification method, device and equipment for electric energy meter and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117032590A (en) * 2023-10-08 2023-11-10 青岛鼎信通讯股份有限公司 Storage system and method for dynamic data in event record of electric energy meter

Similar Documents

Publication Publication Date Title
CN116699504A (en) Electric energy meter display detection method and device, electric energy meter and medium
US9983061B2 (en) Method, apparatus and system for testing optical characteristics of display module
CN109144584A (en) A kind of programmable logic device and its starting method, system and storage medium
US20140317495A1 (en) Retroactive word correction
CN111274099A (en) Indicator lamp control method, system, equipment and medium of switch system
WO2015192782A1 (en) Information display method and terminal
CN108922494A (en) A kind of light sensation module failure detection method, device, display screen and air conditioner
CN104353992B (en) Screw locking control system and operational approach thereof
CN105786340A (en) Terminal screen display method and apparatus
CN106370296A (en) Detection method and system for the environment light by mobile terminal light sensor
CN105786315A (en) Time display method and device
CN103069337B (en) Image display and light source cooling method
CN112309313B (en) Module controller configuration method, device and system and computer readable storage medium
CN108304056A (en) A kind of method, apparatus and computer readable storage medium of button multiplexing
CN116737211A (en) Method, system, device and medium for prompting upgrading state of embedded system
CN112512192B (en) Visual navigation aid equipment protection method and related device
CN112924875A (en) Battery detection method and device and electronic equipment
CN113270057A (en) Liquid crystal fault detection method and device
CN106802796B (en) Image-text mixed arranging method and system based on IOS system
CN103430154B (en) There is the display device of stepper motor and WatchDog Timer
CN112036119A (en) Text display method and device and computer readable storage medium
US10268331B2 (en) Information processing method and electronic device
CN210639612U (en) Data conversion device based on memory card
CN108989792B (en) Development and debugging processing method and system
CN106970891B (en) Method, device and system for interaction between microprocessor and peripheral

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20230905

RJ01 Rejection of invention patent application after publication