Electric energy meter electric quantity recording method, electric energy meter and readable storage medium

文档序号:1951231 发布日期:2021-12-10 浏览:13次 中文

阅读说明:本技术 电能表的电量记录方法、电能表和可读存储介质 (Electric energy meter electric quantity recording method, electric energy meter and readable storage medium ) 是由 曾志军 宋慧娜 于 2021-08-09 设计创作,主要内容包括:本发明公开了一种电能表的电量记录方法、电能表和可读存储介质,所述方法包括以下步骤:根据当前时间判断是否记录用电信息;若记录用电信息,判断本次记录是否符合第一预设规则;若本次记录符合第一预设规则,则获取与电能表连接的负载的当前用电累计总量,并记录所述当前用电累计总量;若本次记录不符合第一预设规则,则计算所述负载的第一时长内用电增量并记录所述用电增量。通过本发明可以避免信息记录过程中占用大量存储器空间。(The invention discloses an electric quantity recording method of an electric energy meter, the electric energy meter and a readable storage medium, wherein the method comprises the following steps: judging whether to record the electric information according to the current time; if the recording records the electrical information, judging whether the recording accords with a first preset rule; if the record meets a first preset rule, acquiring the current power consumption accumulated total amount of a load connected with the electric energy meter, and recording the current power consumption accumulated total amount; and if the record does not accord with a first preset rule, calculating the power consumption increment of the load within a first time length and recording the power consumption increment. The invention can avoid occupying a large amount of memory space in the information recording process.)

1. A method for recording electric quantity of an electric energy meter is characterized by comprising the following steps:

judging whether to record the electric information according to the current time;

if the electricity information is recorded, judging whether the recorded electricity information accords with a first preset rule;

and if the record does not accord with a first preset rule, calculating the electricity consumption increment of the load connected with the electric energy meter within a first time length, and recording the electricity consumption increment.

2. The method for recording the electric quantity of the electric energy meter according to claim 1, wherein the step of judging whether to record the electric information according to the current time comprises the following steps:

calculating a time length difference value between a time node of the current time and a time node of the power-on time of the electric energy meter;

and determining whether to record the electric information according to a judgment result of judging whether the time length difference is integral multiple of the first time length.

3. The method for recording the electric quantity of the electric energy meter according to claim 1, wherein the step of judging whether the current record meets a first preset rule comprises the following steps:

judging whether the record is the first record of the day or not;

and if the current record is the first record of the current day, judging whether the current record meets a first preset rule according to the first record of the current day.

4. The method for recording the electric quantity of the electric energy meter according to claim 3, wherein the electric energy meter comprises a day counter and an interval counter, the first record of the day comprises a first record of the electric energy meter after being powered on, and the step of judging whether the record is the first record of the day comprises the following steps:

and if the record is the first record after the electric energy meter is electrified, resetting the numerical value of the day counter and the numerical value of the interval counter to zero, and judging that the record is the first record on the day.

5. The method for recording the electric quantity of the electric energy meter according to claim 4, wherein after the step of judging whether the current record is the first record after the electric energy meter is powered on, the method further comprises the following steps:

if the record is not the first record after the electric energy meter is electrified, adding one to the numerical value of the interval counter, and judging whether the numerical value on the interval counter is greater than a first numerical value or not;

if the numerical value is larger than the first numerical value, the numerical value of the interval counter is reset to zero, the numerical value of the day counter is increased by one, and the current record is judged to be the first record of the day;

and if the numerical value is less than or equal to the first numerical value, judging that the record is not the first record of the day.

6. The method for recording the electric quantity of the electric energy meter according to claim 1, wherein the step of recording the current accumulated total quantity of the electric energy meter comprises the following steps:

and sequentially recording the current time, the positive active electric quantity accumulated total value, the negative active electric quantity accumulated total value, the positive reactive electric quantity accumulated total value and the negative reactive electric quantity accumulated total value.

7. The method for recording the electric quantity of the electric energy meter according to claim 1, wherein the step of recording the electric increment comprises the steps of:

and sequentially recording a forward active electric quantity increment value, a reverse active electric quantity increment value, a forward reactive electric quantity increment value and a reverse reactive electric quantity increment value.

8. The method for recording the electric quantity of the electric energy meter according to claim 1, wherein after the step of judging whether the current record meets a first preset rule, the method further comprises the following steps:

and if the record conforms to a first preset rule, acquiring the current power consumption accumulated total amount of a load connected with the electric energy meter, and recording the current power consumption accumulated total amount.

9. An electric energy meter, characterized by comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method for recording electric quantities of an electric energy meter according to any one of claims 1 to 8.

10. A readable storage medium, characterized in that the readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method for recording electric energy of a power meter according to any one of claims 1 to 8.

Technical Field

The invention relates to the field of data recording, in particular to an electric energy meter electric quantity recording method, an electric energy meter and a readable storage medium.

Background

When the electric energy meter records electric energy data, recording time and recording content to a memory at intervals under normal conditions, wherein the recording content is the current time electricity consumption accumulated total amount, and the electricity consumption accumulated total amount at least comprises a forward active electric quantity accumulated total value, a reverse active electric quantity accumulated total value, a forward reactive electric quantity accumulated total value and a reverse reactive electric quantity accumulated total value; with this recording method, each piece of recorded information occupies a large memory space, so that the total number of information recorded in a single memory is small, and the cost of the memory is increased.

Disclosure of Invention

The invention provides an electric quantity recording method of an electric energy meter, the electric energy meter and a readable storage medium, and aims to solve the technical problem that a storage space is occupied in the information recording process of the electric energy meter.

In order to achieve the above object, the present invention provides a method for recording electric quantity of an electric energy meter, comprising the following steps:

judging whether to record the electric information according to the current time;

if the recording records the electrical information, judging whether the recording accords with a first preset rule;

and if the record does not accord with a first preset rule, calculating the power consumption increment of the load within a first time length and recording the power consumption increment.

Optionally, calculating a time length difference between the time node of the current time and the time node of the power-on time of the electric energy meter;

and determining whether to record the electric information according to a judgment result of judging whether the time length difference is integral multiple of the first time length.

Optionally, judging whether the record is the first record of the day;

and if the current record is the first record of the current day, judging whether the current record meets a first preset rule according to the first record of the current day.

Optionally, if the record is the first record after the electric energy meter is powered on, the numerical value of the day counter and the numerical value of the interval counter are reset to zero, and the record is judged to be the first record in the day.

Optionally, if the current record is not the first record after the electric energy meter is powered on, adding one to the value of the interval counter, and judging whether the value on the interval counter is greater than a first value;

if the numerical value is larger than the first numerical value, the numerical value of the interval counter is reset to zero, the numerical value of the day counter is increased by one, and the current record is judged to be the first record of the day;

and if the numerical value is less than or equal to the first numerical value, judging that the record is not the first record of the day.

Optionally, the current time, the forward active electric quantity accumulated total value, the reverse active electric quantity accumulated total value, the forward reactive electric quantity accumulated total value and the reverse reactive electric quantity accumulated total value are recorded in sequence.

Optionally, the forward active power increment value, the reverse active power increment value, the forward reactive power increment value and the reverse reactive power increment value are recorded in sequence.

Optionally, if the record conforms to a first preset rule, the current accumulated total power consumption of the load connected with the electric energy meter is obtained, and the current accumulated total power consumption is recorded.

In order to achieve the above object, the present application also provides an electric energy meter, which includes a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the computer program, when executed by the processor, implements a method for recording electric quantity of the electric energy meter.

To achieve the above object, the present application further proposes a readable storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the power recording method of the electric energy meter.

In the technical scheme of the invention, if the electric information is recorded, whether the record accords with a first preset rule is judged; if the record meets a first preset rule, acquiring the current power consumption accumulated total amount of a load connected with the electric energy meter, and recording the current power consumption accumulated total amount; and if the record does not accord with a first preset rule, calculating the power consumption increment of the load within a first time length and recording the power consumption increment. The recording mode of the electricity utilization information is determined by judging whether the recording condition of the electricity utilization information in each time accords with a first preset rule, so that the electricity utilization information is recorded in two different modes. The problem that the recording mode of the electric energy meter in the prior art is single and the optimal mode of storage cannot be selected is avoided. The method provided by the invention can ensure the integrity and comprehensiveness of information recording and solve the problem of large occupied memory space in the information recording process of the electric energy meter.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.

Fig. 1 is a schematic diagram of a module structure of a method for recording electric quantity of an electric energy meter according to an embodiment of the present invention;

fig. 2 is a flowchart illustrating a method for recording electric quantity of an electric energy meter according to an embodiment of the invention;

fig. 3 is a diagram illustrating an example of a method for recording electric quantity of an electric energy meter according to an embodiment of the invention;

fig. 4 is a diagram illustrating an example of a method for recording electric quantity of an electric energy meter according to another embodiment of the present invention.

Detailed Description

It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of an electric energy meter provided in each embodiment of the present invention. The electric energy meter comprises an execution module 01, a memory 02, a processor 03 and the like. Those skilled in the art will appreciate that the electrical energy meter shown in fig. 1 may also include more or fewer components than shown, or combine certain components, or a different arrangement of components. The processor 03 is connected to the memory 02 and the execution module 01, respectively, and the memory 02 stores a computer program, which is executed by the processor 03 at the same time.

The execution module 01 may acquire power consumption information of the electric energy meter, store the power consumption information of the electric energy meter in different manners, collect the information, and send the information to the processor 03.

The memory 02 may be used to store software programs and various data. The memory 02 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data or information created according to the use of the terminal, or the like. Further, the memory 02 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

The processor 03, which is a control center of the electric energy meter, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 02 and calling data stored in the memory 02, thereby integrally monitoring the vehicle. Processor 03 may include one or more processing units; preferably, the processor 03 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 03.

Those skilled in the art will appreciate that the power meter configuration shown in fig. 1 does not constitute a limitation of the power meter and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.

Various embodiments of the method of the present invention are presented in terms of the above-described hardware architecture.

Referring to fig. 2, in a first embodiment of the method for recording electric quantity of an electric energy meter according to the present invention, the method for recording electric quantity of an electric energy meter includes:

step S100, judging whether to record the electric information according to the current time;

at present, the use of an electric energy meter is distributed in an electric power system, and the electric energy meter can be directly connected to a circuit to measure household electricity consumption information under the conditions of low voltage and low current in a household environment; under the condition of high voltage or large current, the electric energy meter cannot be directly connected to a circuit and needs to be matched with a voltage transformer and a current transformer for use. In either case, since the amount of electricity used varies with time, it is necessary to record the electricity information measured by the electric energy meter after the electricity information is measured. Generally, the electric energy meter comprises a microprocessor, a measuring module, a memory and other components; the microprocessor is used for generating an electricity utilization information recording instruction according to time and rules preset by a user so as to control the electric energy meter to record the electricity utilization information, and the recording mode can be table recording or can be recording through a histogram or a curve graph; the measuring module is used for measuring the electricity consumption of the load electrically connected with the electric energy meter according to the electricity consumption information instruction, and the memory is used for recording the electricity consumption information measured and obtained by the measuring module.

In some embodiments, the recording of the load curve by the electric energy meter itself is a commonly used recording manner of the electric energy meter, a Memory is required to implement the function of recording the load curve by the electric energy meter, the method of recording the load curve generally includes recording a recording time and an electric quantity, recording a piece of recording information at intervals, contents of each piece of recording information include a current time and a total value of the current electric quantity, and sequentially storing each piece of recording information in the Memory, where the Memory may be an EEPROM (Electrically Erasable Programmable Read-Only Memory), a FLASH Memory, and the like, where the EEPROM Memory records a small amount of data, and the FLASH Memory has a large recording amount but is expensive, so that the above-mentioned manner generally occupies too much Memory space for the recording of the electric information, and has a high recording cost. In this embodiment, the recording of the electricity consumption information is regular, and the current time needs to be judged before the electricity consumption information is recorded, and whether the electricity consumption information is recorded or not is judged according to the current time, so that the recording condition of the electricity consumption information meets the knowledge requirement of the user on the electricity consumption information, and confusion is avoided. The recording of the electricity utilization information can be periodic, and the recording interval period can be 1, 5, 10, 15, 30 and 60 minutes; the recording of the electricity utilization information can be not periodic, but accords with a preset recording rule, and a user can adjust the electricity utilization information randomly according to the requirement of the user.

Step S200, if the electricity information is recorded, judging whether the electricity information recorded at this time accords with a first preset rule;

in this embodiment, whether or not to record the electrical information is determined. If the electric information needing to be recorded at the current time is obtained through judgment, whether the current recording meets a first preset rule or not is continuously judged; if the current time is judged to be unnecessary to record the electric information, no operation is required to be executed. The first preset rule is a rule preset by a person skilled in the art according to requirements and used for distinguishing the recording modes of the electricity consumption information. The first preset rule may be that the total power consumption is higher than a certain preset value, that the power consumption increase in a period of time is higher than a certain preset value, or that the current time is within a certain special period of time.

And step S300, if the record does not accord with a first preset rule, calculating the power consumption increment of the load within a first time length and recording the power consumption increment.

In this embodiment, if the record conforms to a first preset rule, the current accumulated total amount of power consumption of the load connected with the electric energy meter is obtained, and the current accumulated total amount of power consumption is recorded. The first preset rule is used for distinguishing the mode of recording the electricity utilization information. In some embodiments, if the record conforms to a first preset rule, the accumulated total power consumption amount of the load connected to the electric energy meter is recorded, that is, the display numerical value of the electric energy meter is read, and if the record does not conform to the first preset rule, the power consumption increment of the load connected to the electric energy meter in a first time period is recorded, that is, the difference between the display numerical value of the current electric energy meter and the display numerical value of the electric energy meter before the first time period is calculated, and the difference is used as the power consumption increment value in the first time period and is recorded. The first time duration is adjusted by a person skilled in the art according to a preset rule, and may be 1, 5, 10, 15, 30, 60 minutes or any other time duration. The recording may be performed by recording the electricity information in the memory in the clear text, or by encrypting the electricity information, storing the encrypted electricity information in the memory, and decrypting and reading the electricity information when the user needs to read and apply the electricity information.

In the scheme, the storage comprises a first storage unit and a second storage unit, the first storage unit is used for receiving and storing the electricity consumption increment information, and the second storage unit is used for receiving and storing the electricity consumption total amount information.

By recording the electricity information in the form of distinguishing the recording mode of the electricity information by the first preset rule, the recording of the electricity information can be flexibly adjusted when different customer requirements are met, the requirements of multiple customers can be met, meanwhile, the space of a memory can be saved in the recording process, and the safety of the electricity information can be protected by encrypting the electricity information.

In one embodiment, the step of determining whether to record the electrical information according to the current time includes:

calculating a time length difference value between a time node of the current time and a time node of the power-on time of the electric energy meter;

and determining whether to record the electric information according to a judgment result of judging whether the time length difference is integral multiple of the first time length.

In this embodiment, the memory includes an electric energy meter clock and a first determining unit, the electric energy meter clock may be a soft clock or a hard clock, and the electric energy meter clock is used to record a time node of current time and a time node of power-on time of the electric energy meter. And the first judging unit judges whether to record the electricity information according to the time length difference between the time node of the current time and the time node of the electricity time of the electric energy meter. After the electric energy meter is powered on and the first time length is set by a user, the electric energy meter needs to obtain a time length difference value between a current time point and a power-on time point of the electric energy meter in real time and convert the time length difference value into a time length unit unified with the first time length. And then judging whether the time length difference is integral multiple of the first time length. And if the time length difference is not the integral multiple of the first time length, the electricity utilization information at the current time is not recorded. For example, the power-on time point is an eighth integer of any day, the current time point is a fifteenth integer of ten points of the day, if the first time length is 15 minutes, the time length difference between the current time point and the power-on time point of the electric energy meter is 135 minutes, and is exactly an integral multiple of the first time length, the power utilization information at the current time is recorded. By comparing the time length difference with the first time length, the electricity information can be recorded uniformly according to the time interval set by the user, so that the user can obtain the complete and continuous electricity utilization condition.

In one embodiment, whether the current record is the first record of the current day is judged;

and if the current record is the first record of the current day, judging whether the current record meets a first preset rule according to the first record of the current day.

In this embodiment, the first preset rule is that the current record is the first record of the current day, and therefore, it is determined whether the current record meets the first preset rule, that is, whether the current record is the first record of the current day is determined. Namely: if the current record is the first record of the current day, acquiring the current accumulated total amount of power consumption of a load connected with the electric energy meter, and recording the current accumulated total amount of power consumption; and if the record is not the first record of the day, calculating the electricity consumption increment of the load in the first time length and recording the electricity consumption increment. That is, only when recording for the first time every day, the current accumulated total power consumption of the load connected with the electric energy meter is recorded, and the power consumption increment is recorded when recording for other times. The recording mode can also completely and clearly acquire the use condition of the electric energy meter.

In some embodiments, when the accumulated total amount of power consumption is recorded, each piece of recorded information at least includes recording time (5 bytes), forward active power (4 bytes), reverse active power (4 bytes), forward reactive power (4 bytes) and reverse reactive power (4 bytes), and each piece of record occupies 21 bytes of storage space in the memory; when the power consumption increment is recorded, the recording time is not recorded, and the forward active power quantity (4 bytes), the reverse active power quantity (4 bytes), the forward reactive power quantity (4 bytes) and the reverse reactive power quantity (4 bytes) are replaced by the corresponding forward active power quantity increment (2 bytes), reverse active power quantity increment (2 bytes), forward reactive power quantity increment (2 bytes) and reverse reactive power quantity increment (2 bytes); at this time, each piece of record information occupies a storage space of 8 bytes in the memory. In this way, the recorded electricity accumulated total amount is replaced by the recorded electricity increment, and 13 bytes of storage space can be saved for each piece of electricity information. Therefore, by applying the recording mode, the clear and complete recording of the power utilization information is ensured, the storage space of the memories can be greatly saved, the number of the recorded information which can be stored in each memory is greatly increased, and the recording cost is greatly saved.

In an embodiment, the step of determining whether the current record is the current record includes:

and if the record is the first record after the electric energy meter is electrified, resetting the numerical value of the day counter and the numerical value of the interval counter to zero, and judging that the record is the first record on the day.

In this embodiment, the memory further includes a second judging unit, and after the first judging unit judges the electricity information for recording, the second judging unit is configured to judge whether to record the total electricity consumption amount or the electricity consumption increment according to whether the current recording is the first recording of the current day. The second judging unit comprises a first judging subunit and a second judging subunit. The first judging subunit is used for judging whether the record is the first record of the electric energy meter after being electrified; the second judging subunit is configured to judge whether the current record is a first record of the day other than the first record of the electric energy meter after being powered on. It should be noted that the judgment of the electric energy meter on the day is not based on the time of the natural day or any longitude and latitude, but the power-on time of the electric energy meter is used as the judgment basis, that is, the first 24 hours after the electric energy meter is powered on is counted as the first day, the second day is counted from the 25 th hour to the 48 th hour, and so on. And a day counter and an interval counter are arranged on the electric energy meter, and the operation of the day counter and the interval counter is controlled by the electric energy meter. Based on this, in the scheme, the first recording in the same day is divided into two situations, the first situation is that the current recording is the first recording after the electric energy meter is powered on, and the second situation is that the time length difference between the current recording and the first recording of the electric energy meter is an integral multiple of 24 hours. The scheme separately judges the two conditions; firstly, judging whether the record is the first record after the electric energy meter is powered on, if the record is the first record after the electric energy meter is powered on, judging that the record is the first record in the day, recording the current accumulated total amount of the electricity consumption of a load connected with the electric energy meter, and zeroing the numerical values of a day counter and an interval counter. And if the record is judged not to be the first record after the electric energy meter is electrified, continuously judging whether the time length difference between the record and the first record of the electric energy meter is integral multiple of 24 hours. Zeroing the values of the day counter and the interval counter means starting a completely new recording of the electric energy meter. In general, the interval counter and the day counter before the electric energy meter is powered on can automatically return to zero, and the interference of previous records on the current record is reduced.

In an embodiment, after the step of determining whether the current record is the first record after the power-on of the electric energy meter, the method further includes:

if the record is not the first record after the electric energy meter is electrified, adding one to the numerical value of the interval counter, and judging whether the numerical value on the interval counter is greater than a first numerical value or not;

if the numerical value is larger than the first numerical value, the numerical value of the interval counter is reset to zero, the numerical value of the day counter is increased by one, and the current record is judged to be the first record of the day;

and if the numerical value is less than or equal to the first numerical value, judging that the record is not the first record of the day.

In this embodiment, if the record is not the first record after the power on of the electric energy meter, it is continuously determined whether the record is the first record on the day other than the first day. After the record is known not to be the first record after the electric energy meter is powered on, the interval counter is adjusted before each record, namely the numerical value of the interval counter is increased by one, and the increase of the interval counter by one means that the electric energy meter performs one record, and after the increase of the numerical value by one, whether the record is the first record of the day other than the first day is judged according to the numerical value on the interval counter. Wherein, the first value is a value preset by a person skilled in the art according to a specific requirement. In one embodiment, the first time period is 15 minutes and the first value is 96. Therefore, the scheme in this embodiment is: and if the record is not the first record after the electric energy meter is electrified, adding one to the interval counter, judging whether the numerical value of the interval counter is greater than 96, if so, returning the numerical value of the interval counter to zero, adding one to the numerical value of the day counter, and considering the record as the first record on the day. Because the first recording interval is 24 hours every two days, namely 96 times of 15 minutes, the electric energy meter records the electricity utilization information every 15 minutes, the interval counter is increased by one before each recording, and if the initial value of the interval counter is 0, the 97 th recording is just 24 hours away from the 1 st recording.

According to the method, the electricity utilization information of the electric energy meter is recorded, and the first recording time of each day can be accurately calculated, so that the recording process of the electricity utilization information is accurate and complete.

Referring to fig. 3, in an embodiment, the step of recording the current accumulated total amount of power consumption includes:

and sequentially recording the current time, the positive active electric quantity accumulated total value, the negative active electric quantity accumulated total value, the positive reactive electric quantity accumulated total value and the negative reactive electric quantity accumulated total value.

Referring to fig. 4, in an embodiment, the step of recording the power consumption increment includes:

and sequentially recording a forward active electric quantity increment value, a reverse active electric quantity increment value, a forward reactive electric quantity increment value and a reverse reactive electric quantity increment value.

In this embodiment, no matter whether the value is an accumulated total value or an incremental value, the values of the forward active electric quantity and the reverse active electric quantity are positive values, and only if the current directions are opposite, the forward active electric quantity and the reverse active electric quantity both work on a load connected to the electric energy meter; the forward reactive electric quantity and the reverse reactive electric quantity are both positive values and opposite in current direction, and the forward reactive electric quantity and the reverse reactive electric quantity consume electric energy even though the forward reactive electric quantity and the reverse reactive electric quantity do not apply work to a load connected with the electric energy meter, so that the electric energy meter can record the electric energy quantity. After the data is recorded in the memory, the data can be exported in a form convenient for the user to refer to. The derivation mode can be that the derivation is carried out through a preset data record table, the electricity utilization information is automatically generated in the preset data record table according to a pre-written program, the derivation can also be carried out in a text mode, and the derivation can also be carried out in a curve coordinate graph, wherein in the curve coordinate graph, the horizontal axis can be time, and the vertical axis can be electricity consumption.

Because the value of the electricity consumption increment is not too large, only two bytes of storage space are reserved for each recording, and the current time is not required to be recorded because the recording interval time of each recording is equal, so that the electricity consumption increment is much smaller than the storage space required for recording the accumulated total amount of the electricity consumption.

In an embodiment, after the step of determining whether the current record meets the first preset rule, the method further includes:

and if the record conforms to a first preset rule, acquiring the current power consumption accumulated total amount of a load connected with the electric energy meter, and recording the current power consumption accumulated total amount.

In this embodiment, before each recording, it is necessary to determine whether the recording of the power consumption information can be supported for one time according to the remaining storage space; and if the residual storage space can support the recording of the primary power utilization information, recording the power utilization information, and if the residual storage space cannot support the recording of the primary power utilization information, stopping the subsequent recording step and prompting the user to replace the memory. Therefore, the situations of data confusion, data loss and the like caused by insufficient memory space can be avoided.

In addition, the electric energy meter also comprises a display module which can be a display screen. The display screen can be used for showing current time at least to and this electric energy meter power on, electric quantity such as current forward active electric quantity, reverse active electric quantity, forward reactive electric quantity and reverse reactive electric quantity, the display screen can also show the user-defined power consumption increment of duration. Through the electric energy meter display module, a user can know the power utilization condition of the current electric energy meter connected with the load at any time and the power utilization condition of the load within a certain time.

The invention also proposes an electric energy meter comprising a memory, a processor, and a computer program stored on said memory and executable on said processor for performing the method according to the various embodiments of the invention.

The invention also proposes a readable storage medium on which the computer program is stored. The computer-readable storage medium may be the Memory in fig. 1, and may also be at least one of a ROM (Read-Only Memory)/RAM (Random Access Memory), a magnetic disk, and an optical disk, and the computer-readable storage medium includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, a terminal, or a network device) having a processor to execute the method according to the embodiments of the present invention.

In the present invention, the terms "first", "second", "third", "fourth" and "fifth" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance, and those skilled in the art can understand the specific meanings of the above terms in the present invention according to specific situations.

In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.

Although the embodiment of the present invention has been shown and described, the scope of the present invention is not limited thereto, it should be understood that the above embodiment is illustrative and not to be construed as limiting the present invention, and that those skilled in the art can make changes, modifications and substitutions to the above embodiment within the scope of the present invention, and that these changes, modifications and substitutions should be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:两进线一计量用户的进线电量采集方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!