Method for managing electric energy meter data, data management device and readable storage medium

The method and device facilitate data transfer from old to new electric energy meters by using configuration files and address interval tables, addressing data loss issues during replacements, especially in non-communicating meters.

CN114090684BActive Publication Date: 2025-07-15WASION GROUP HLDG
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111300688.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-04
Publication Date
2025-07-15
Estimated Expiration
2041-11-04

AI Technical Summary

Technical Problem

During the replacement of electricity meter, data in old electricity meters is easily lost, especially for local electricity meters that do not support communication, data acquisition is more difficult.

Method used

It provides a power meter data management method and equipment. By receiving configuration files, obtaining address interval tables, and cloning data from the first power meter into the second power meter according to the table, supporting three modes: direct cloning, internal storage cloning and external storage cloning, ensuring that data is completely or selectively cloning into a new power meter when the power meter is replaced.

Benefits of technology

It realizes complete or selective cloning of user information, historical electricity information and other data when the power meter is damaged or replaced, avoids data loss, improves cloning efficiency and saves user time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114090684B_ABST
    Figure CN114090684B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for managing electric energy meter data, a data management device, and a readable storage medium. The method includes the following steps: receiving and storing a configuration file; if it is detected that the working mode is switched to the cloning mode, obtaining an address range table from the configuration file; and cloning the electric energy meter data in the first electric energy meter to the second electric energy meter according to the address range table. By means of the present invention, data loss in the old electric energy meter during the replacement process of the electric energy meter can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data recording, and particularly to a method for managing electricity meter data, a data management device, and a readable storage medium. Background Art

[0002] An electricity meter is an instrument used to measure electric energy. After measuring the electric energy data, the electricity meter records the measured electric energy data in its memory. However, once the electricity meter is damaged and needs to be replaced with a new one, it is a technical problem faced by the prior art on how to completely or selectively clone all the information such as user information, historical electricity consumption information, and recorded parameters in the damaged electricity meter into the new electricity meter. Especially for local electricity meters that do not support communication, it is more difficult to obtain data. Therefore, data loss is likely to occur during the replacement of the electricity meter. Summary of the Invention

[0003] The present invention provides a method for managing electricity meter data, a data management device, and a readable storage medium, aiming to solve the technical problem of data loss in the old electricity meter during the replacement process of the electricity meter.

[0004] To achieve the above object, the present invention provides a method for managing electricity meter data, which includes the following steps:

[0005] Receive and store a configuration file;

[0006] If it is detected that the working mode of the data management device switches to the cloning mode, obtain an address range table from the configuration file;

[0007] Clone the electricity meter data in the first electricity meter to the second electricity meter according to the address range table.

[0008] Optionally, obtain the address range of the electricity meter data from the address range table, copy the electricity meter data in the address range in the first electricity meter, and paste the electricity meter data into the second electricity meter.

[0009] Optionally, obtain the address range of the electricity meter data from the address range table, copy the electricity meter data in the address range in the first electricity meter;

[0010] Store the electricity meter data, and paste the electricity meter data into the second electricity meter.

[0011] Optionally, obtain the address range of the electricity meter data from the address range table, copy the electricity meter data in the address range in the first electricity meter;

[0012] Send the electricity meter data to an external terminal;

[0013] Receive the electricity meter data from an external terminal and paste the electricity meter data into a second electricity meter.

[0014] Optionally, if a clone mode execution instruction is received, switch the working mode of the data management device to the clone mode; or,

[0015] If a clone mode configuration file is received, switch the working mode of the data management device to the clone mode.

[0016] Optionally, determine whether the mode to be run is the clone mode;

[0017] If the mode to be run is the clone mode, determine whether an instruction to execute the mode to be run is received;

[0018] If an instruction to execute the mode to be run is received, switch the working mode of the data management device to the clone mode.

[0019] Optionally, if the mode to be run is not the clone mode, determine whether a mode to be run switching instruction is received;

[0020] If the mode to be run switching instruction is received, determine whether the mode to be run is switched to the clone mode;

[0021] If the mode to be run is switched to the clone mode, determine whether an instruction to execute the mode to be run is received;

[0022] If an instruction to execute the mode to be run is received, switch the working mode of the data management device to the clone mode.

[0023] Optionally, send out a clone success prompt message.

[0024] To achieve the above object, the present invention further provides a data management device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, the management method of the electricity meter data is implemented.

[0025] To achieve the above object, the present invention further provides a readable storage medium, on which a computer program is stored. When the computer program is executed by the processor, the management method of the electricity meter data is implemented.

[0026] In the technical solution of the present invention, a configuration file is received and stored; if it is detected that the working mode is switched to the cloning mode, an address range table is obtained from the configuration file; and the electric energy meter data in the first electric energy meter is cloned to the second electric energy meter according to the address range table. Through the present invention, when the electric energy meter is damaged or in other cases, when the user replaces the electric energy meter, all the information such as user information, historical electricity consumption information and other parameters in the old electric energy meter can be completely or selectively cloned to the new electric energy meter, avoiding data loss. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on the structures shown in these drawings.

[0028] Figure 1 It is a schematic module structure diagram of the management method of electric energy meter data according to an embodiment of the present invention;

[0029] Figure 2 It is a flowchart of the management method of electric energy meter data according to an embodiment of the present invention;

[0030] Figure 3 It is a schematic structural diagram of the management method of electric energy meter data according to an embodiment of the present invention;

[0031] Figure 4 It is an example diagram of the management method of electric energy meter data according to another embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0032] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0033] Please refer to Figure 1 , Figure 1 It is a schematic hardware structure diagram of the data management device provided in each embodiment of the present invention. The data management device includes components such as an execution module 01, a memory 02, and a processor 03. Those skilled in the art can understand that Figure 1 the data management device shown in

[0034] The execution module 01 can obtain the copied electricity meter data, store the electricity meter data in different ways, paste the electricity meter data into other electricity meters, and collect the above information and send it to the processor 03.

[0035] The memory 02 can be used to store software programs and various data. The memory 02 mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function, etc.; the data storage area can store data or information created according to the use of the terminal, etc. In addition, the memory 02 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0036] The processor 03 is the control center of the data management device, connects various parts of the entire terminal through various interfaces and lines, and by running or executing the software programs and / or modules stored in the memory 02, and calling the data stored in the memory 02, executes various functions of the terminal and processes data, thereby performing overall monitoring of the data management device. The processor 03 can include one or more processing units; preferably, the processor 03 can integrate an application processor and a modulation / demodulation processor. Among them, the application processor mainly processes the operating system, user interface, application programs, etc., and the modulation / demodulation processor mainly processes wireless communication. It can be understood that the above modulation / demodulation processor may not be integrated into the processor 03 either.

[0037] Those skilled in the art can understand that Figure 1 the structure of the data management device shown in does not constitute a limitation on the data management device, and may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0038] Based on the above hardware structure, various embodiments of the method of the present invention are proposed.

[0039] Referring to Figure 2 , in the first embodiment of the method for managing electricity meter data of the present invention, the method for managing electricity meter data includes:

[0040] Step S100, receiving and storing a configuration file;

[0041] After the electricity meter measures the electricity energy data, it will record the measured electricity energy data in the memory of the electricity meter. However, once the electricity meter is damaged and needs to be replaced with a new one, how to completely or selectively clone all the information such as user information, historical electricity consumption information, and recorded parameters in the damaged electricity meter into the new electricity meter is a technical problem faced by the existing technology, especially for local electricity meters that do not support communication, and it is more difficult to obtain data.

[0042] To solve the above problems, as Figure 3 shown, the present invention proposes a data management device applied to an electric energy meter. The data management device at least includes a main controller, and a USB (Universal Serial Bus) interface, a storage unit, a buzzer, an LED (Light Emitting Diode) lamp, a key, and a data acquisition interface connected to the main controller.

[0043] Among them, the main controller is used to control the data management device. The USB interface is used for data interaction between the data management device and external terminals such as a computer. In addition, when the computer establishes a connection with the data management device through the USB interface, it can also supply power to the data management device. The storage unit is used for data storage. At least one buzzer and at least one LED lamp are both used for status indication. The number of keys is at least one, and the user can implement functions such as mode switching, device startup, and application triggering through the keys. The data acquisition interface is used to connect the data management device and the electric energy meter, and can connect different specifications of devices to be acquired for data acquisition, and at the same time support power supply to the devices to be acquired.

[0044] In this embodiment, before the data management device acquires data from the electric energy meter, the user will first configure relevant information such as the content and scope of data acquisition on an external terminal, and transmit the configured relevant information to the data management device in the form of a configuration file via the USB interface. The data management device receives the configuration file and stores the configuration file in its own storage unit, and can extract it at any time when the configuration file is needed.

[0045] Step S200, if it is detected that the working mode of the data management device is switched to the cloning mode, obtain the address range table from the configuration file;

[0046] In this embodiment, the data management device supports many different working modes, such as standby mode, cloning mode, data analysis mode, parameter comparison mode, etc. When the data management device is powered on but not working, its working mode is the standby mode. In the standby mode, if a to-be-executed mode instruction is received, the working mode will be switched to the current to-be-executed mode. If the current to-be-executed mode is the cloning mode and a to-be-executed mode instruction is received, the working mode will be switched to the cloning mode. Among them, the cloning mode includes at least direct cloning mode, internal storage cloning mode, and external storage cloning mode. The direct cloning mode, internal storage cloning mode, and external storage cloning mode are all cloning methods preset by those skilled in the art according to preset rules and cloning requirements and can be adjusted at any time according to user needs. In addition, if it is detected that the working mode is switched to the cloning mode, the configuration file in the storage unit will be extracted, and the address range table will be obtained from the configuration file. The address range table is preset by those skilled in the art and is used to define the acquisition range for the data management device to collect data from the electric energy meter.

[0047] Step S300, clone the electric energy meter data in the first electric energy meter to the second electric energy meter according to the address range table.

[0048] In this embodiment, the electric energy meter data in the first electric energy meter is copied according to the address range table obtained from the configuration file, and the copied electric energy meter data is pasted into the second electric energy meter. Among them, according to the different cloning modes, the process of copying and pasting the electric energy meter data is also different. In some embodiments, the two data acquisition interfaces of the data management device are simultaneously connected to the first electric energy meter and the second electric energy meter. While copying the electric energy meter data, the copied electric energy meter data is pasted into the second electric energy meter. In other embodiments, the interface of the data management device is first connected to the first electric energy meter, the electric energy meter data in the first electric energy meter is copied, and the copied electric energy meter data is stored. After all the electric energy meter data is copied and stored, the interface of the data management device is then connected to the second electric energy meter, and the stored electric energy meter data is pasted into the second electric energy meter.

[0049] In addition, the data management device in the present invention supports powering the device to be collected. Therefore, when connected to the electric energy meter, it is not necessary for the electric energy meter to be powered on, nor does the MCU (Micro Control Unit, main controller) of the electric energy meter need to participate in the data cloning process. In this way, even when the electric energy meter is damaged, even if only the memory of the electric energy meter remains, data cloning can be directly performed on the memory of the electric energy meter.

[0050] Through the present invention, when the user replaces the electricity meter in case of damage to the electricity meter or other situations, all information such as user information, historical electricity consumption information, and other parameters in the old electricity meter can be completely or selectively cloned into the new electricity meter, avoiding data loss.

[0051] In one embodiment, the step of cloning the electricity meter data in the first electricity meter into the second electricity meter according to the address range table includes:

[0052] Obtain the address range of the electricity meter data from the address range table, copy the electricity meter data in the address range in the first electricity meter, and paste the electricity meter data into the second electricity meter.

[0053] In this embodiment, the cloning mode is the direct cloning mode. The direct cloning mode is applied when the first electricity meter and the second electricity meter can be moved to a relatively close position, or when the copied electricity meter data does not need to be additionally stored in other external terminals of the data management device. In the direct cloning mode, the data management device obtains the address range of the electricity meter data from the address range table. Two data acquisition interfaces of the data management device are simultaneously connected to the first electricity meter and the second electricity meter. While copying the electricity meter data in this address range in the first electricity meter, the copied electricity meter data is pasted into the second electricity meter to complete the quick cloning. Through the direct cloning mode, the data management device can quickly clone the electricity meter data of the old electricity meter into the new electricity meter, saving the user time and improving the cloning efficiency.

[0054] In one embodiment, the step of cloning the electricity meter data in the first electricity meter into the second electricity meter according to the address range table further includes:

[0055] Obtain the address range of the electricity meter data from the address range table, and copy the electricity meter data in the address range in the first electricity meter;

[0056] Store the electricity meter data, and paste the electricity meter data into the second electricity meter.

[0057] In this embodiment, the cloning mode is the internal storage cloning mode. The internal storage cloning mode is applied when the positions of the first electric energy meter and the second electric energy meter are far apart, or when the copied electric energy meter data needs to be additionally stored in the data management device. In the internal storage cloning mode, the copying and pasting of the electric energy meter data are performed in two different time periods. The internal storage cloning mode is also decomposed into a first copying mode and a first pasting mode. Among them, the first copying mode is a copying method preset by those skilled in the art according to preset rules and copying requirements, and can be adjusted at any time according to user needs; the first pasting mode is a pasting method preset by those skilled in the art according to preset rules and pasting requirements, and can be adjusted at any time according to user needs. When the working state is switched to the first copying mode, and it is detected that the interface of the data management device is connected to the first electric energy meter, the data management device obtains the address range of the electric energy meter data from the address range table, copies the electric energy meter data in this address range in the first electric energy meter, and stores the copied electric energy meter data in the storage unit of the data management device itself. At this time, the steps of the first copying mode are completed. After the steps of the first copying mode are completed, the working state can be switched to the first pasting mode at any time. When it is detected that the working state is switched to the first pasting mode, and it is detected that the interface of the data management device is connected to the second electric energy meter, the electric energy meter data stored in the storage unit is extracted and pasted into the second electric energy meter. Through the internal storage cloning mode, long-distance data cloning can be achieved even when the first electric energy meter and the second electric energy meter are far apart.

[0058] In one embodiment, the step of cloning the electric energy meter data in the first electric energy meter to the second electric energy meter according to the address range table further includes:

[0059] Obtain the address range of the electric energy meter data from the address range table, and copy the electric energy meter data in this address range in the first electric energy meter;

[0060] Send the electric energy meter data to an external terminal;

[0061] Receive the electric energy meter data from the external terminal, and paste the electric energy meter data into the second electric energy meter.

[0062] In this embodiment, the cloning mode is the external storage cloning mode. The external storage cloning mode is applied when the positions of the first electric energy meter and the second electric energy meter are far apart, or when the copied electric energy meter data needs to be additionally stored in other external terminals. It should be noted that in the external storage cloning mode, while connecting to the electric energy meter, the data management device also needs to be connected to an external terminal. In the external storage cloning mode, the copying and pasting of the electric energy meter data are performed in two different time periods. The external storage cloning mode is also decomposed into a second copying mode and a second pasting mode. Among them, the second copying mode is a copying method preset by those skilled in the art according to preset rules and copying requirements, and can be adjusted at any time according to user needs; the second pasting mode is a pasting method preset by those skilled in the art according to preset rules and pasting requirements, and can be adjusted at any time according to user needs. When the working state is switched to the second copying mode, and it is detected that the interface of the data management device is connected to the first electric energy meter and the USB interface is connected to the external terminal, the data management device obtains the address range of the electric energy meter data from the address range table, copies the electric energy meter data in this address range in the first electric energy meter, and sends the copied electric energy meter data to the external terminal for storage. At this time, the steps of the second copying mode are completed. After the steps of the second copying mode are completed, the working state can be switched to the second pasting mode at any time. When it is detected that the working state is switched to the second pasting mode, and it is detected that the interface of the data management device is connected to the second electric energy meter and the USB interface is connected to the external terminal, the electric energy meter data is received from the external terminal and the electric energy meter data is pasted into the second electric energy meter in sequence. Through the external storage cloning mode, long-distance data cloning can be achieved when the first electric energy meter and the second electric energy meter are far apart, and it is not necessary to occupy the memory of the data management device itself, saving storage space while performing long-distance data cloning. In addition, through this method, the electric energy meter data can be transmitted to an external terminal, and the user can perform data analysis on the electric energy meter data on the external terminal.

[0063] In one embodiment, the steps before detecting that the working mode of the data management device is switched to the cloning mode include:

[0064] If a cloning mode execution instruction is received, the working mode of the data management device is switched to the cloning mode; or,

[0065] If a cloning mode configuration file is received, the working mode of the data management device is switched to the cloning mode.

[0066] In this embodiment, there are two methods for switching the working mode to the cloning mode. One method is to manually configure it through the button on the data management device to switch the working mode to the cloning mode; the other method is that when the data management device is connected to an external terminal, the user uses the external terminal to set the mode, sets the working mode to the cloning mode, generates a cloning mode configuration file, and transfers the cloning mode configuration file to the data management device via the USB interface so that the working mode on the data management device is switched to the cloning mode. Based on the above two methods, it is determined in real time whether a cloning mode execution instruction or a cloning mode configuration file is received. If a cloning mode execution instruction is received, it means that the user manually configures the working mode to the cloning mode through the button; that is, the working mode is switched to the cloning mode; or, if a cloning mode configuration file is received, it means that the user sets the working mode to the cloning mode through the external terminal connected to the data management device, that is, the working mode is switched to the cloning mode; if neither a cloning mode execution instruction nor a cloning mode configuration file is received, the current working mode is maintained. This embodiment can switch the working mode of the data management device in two ways to adapt to various working environments, which greatly facilitates the user.

[0067] In one embodiment, the step of switching the working mode of the data management device to the cloning mode if a cloning mode execution instruction is received includes:

[0068] Determine whether the mode to be run is the cloning mode;

[0069] If the mode to be run is the cloning mode, determine whether an instruction to execute the mode to be run is received;

[0070] If an instruction to execute the mode to be run is received, switch the working mode of the data management device to the cloning mode.

[0071] In this embodiment, the number of LED lights on the data management device is three, and the number of buttons is one. After the data management device is turned on, the data management device enters the preparation state of the mode to be run, and the current mode to be run is displayed through the status of the LED lights on the data management device. If the user wants to run the current mode to be run, directly select to execute the mode to be run through the button, and the data management device will receive the instruction to execute the mode to be run and switch the working mode to the mode to be run. Since the mode to be run is the cloning mode, after the data management device is turned on, the user determines whether the current mode to be run is the cloning mode through the status of the LED lights. If the mode to be run is the cloning mode, select to execute the cloning mode through the button, that is, send an instruction to execute the mode to be run to the data management device. At this time, the data management device can switch the working mode to the cloning mode. Various working modes can be quickly and conveniently realized in real time through the button, without complex operations and the support of other devices.

[0072] In one embodiment, after the step of determining whether the to-be-run mode is the cloning mode, the following steps are further included:

[0073] If the to-be-run mode is not the cloning mode, determine whether a to-be-run mode switching instruction is received;

[0074] If the to-be-run mode switching instruction is received, determine whether the to-be-run mode is switched to the cloning mode;

[0075] If the to-be-run mode is switched to the cloning mode, determine whether an instruction to execute the to-be-run mode is received;

[0076] If the instruction to execute the to-be-run mode is received, switch the working mode of the data management device to the cloning mode.

[0077] In this embodiment, the number of LED lights on the data management device is three, and the number of buttons is one. After the data management device is turned on, the data management device enters the preparation state of the to-be-run mode. If the user determines that the current to-be-run mode is not the cloning mode to be executed through the status of the LED lights, the current to-be-run mode needs to be reset, and a to-be-run mode setting instruction is sent to the data management device through the button to set the to-be-run mode to the cloning mode.

[0078] Specifically, in some embodiments, the method for setting the to-be-run mode is as follows: after the data management device is turned on, the data management device enters the preparation state of the to-be-run mode. If the duration for which the user presses the button in the preparation state exceeds the first preset duration, the data management device enters the to-be-run mode setting state. In the setting state, the user can read the current to-be-run mode through the status of the LED lights and switch the to-be-run mode by pressing the button. Further, the 3 LED lights display the current to-be-run mode in binary, so each mode has a mode value; if the duration for which the user presses the button is less than the first preset duration, the current to-be-run mode jumps to the next mode, and if the duration for which the user presses the button is greater than the first preset duration, the data management device enters the preparation state of the to-be-run mode. The first preset duration is set in advance by those skilled in the art according to preset rules and can be adjusted at any time according to specific needs.

[0079] In some embodiments, such as Figure 4As shown, when the No. 1 LED is on, it represents that the pending operation mode is the direct cloning mode, and its mode value is 1; when the No. 2 LED is on, it represents that the pending operation mode is the internal storage cloning mode, and its mode value is 2; when the No. 3 LED is on, it represents the external storage cloning mode, and its mode value is 3; when the No. 1 LED and the No. 2 LED are on simultaneously, it represents the data analysis mode, and its mode value is 4. The first preset duration is 3 seconds. After the data management system is turned on, if the pending operation mode is not the mode that the user wants to execute, the user presses and holds the button for more than 3 seconds to enter the setting state. In the setting state, the user presses the button briefly to set the pending operation mode to the mode that the user wants to execute. Then, the user presses and holds the button for more than 3 seconds again to enter the preparation state, and then presses the button briefly to execute the selected pending operation mode. If the execution of the pending operation mode is successful, the No. 2 LED lights up once to indicate success; if the execution of the pending operation mode fails, the No. 2 LED flashes, and the number of flashes is the mode value corresponding to this pending operation mode. Here, pressing the button briefly means that the duration of pressing the button does not exceed 3 seconds.

[0080] In one embodiment, after the step of pasting the electric energy meter data into the second electric energy meter, the following is included: sending out a cloning success prompt message.

[0081] In this embodiment, after the cloning mode is successfully executed, the buzzer will sound according to the first preset buzzing rule, and the LED will also flash according to the first preset lighting and extinguishing rule to send out a cloning success prompt message to indicate that the data cloning is successful.

[0082] In addition, after any pending operation mode is successfully or unsuccessfully executed, the buzzer will sound according to the preset buzzing rule, and the LED will flash according to the preset lighting and extinguishing rule to prompt the user whether the pending operation mode is successfully or unsuccessfully executed.

[0083] Through these prompt messages, the user can quickly know whether each mode is successfully executed.

[0084] In addition, the operation modes in the present invention, in addition to the cloning mode, at least include a data analysis mode and a parameter configuration comparison mode. The data analysis mode is that the data processing device outputs the electric energy meter data to the upper computer software in the external terminal through the USB interface, and the upper computer software analyzes various parameters of the electric energy meter data; the parameter configuration comparison mode is that the user imports the parameters to be configured into the data processing device in the external terminal, and the data processing device compares or adjusts the parameters to be configured with the parameters in the electric energy meter, and the result of the comparison or adjustment is prompted by the flashing of the LED. Through the data analysis mode, the best communication state can be adaptively found; through the parameter configuration comparison mode, the occurrence of error codes in communication can be reduced.

[0085] The present invention also provides a data management device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor. The computer program is used to execute the methods described in the various embodiments of the present invention.

[0086] The present invention also provides a readable storage medium, on which a computer program is stored. The computer-readable storage medium may be Figure 1 the memory in, or may be at least one of ROM (Read-Only Memory), RAM (Random Access Memory), magnetic disk, and optical disc. The computer-readable storage medium includes several instructions for causing a terminal device having a processor (which may be a mobile phone, a computer, a server, a terminal, or a network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0087] In the present invention, the terms "first", "second", "third", "fourth", and "fifth" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0088] In the description of this specification, the description with reference to terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.

[0089] Although the embodiments of the present invention have been shown and described above, the scope of protection of the present invention is not limited thereto. It can be understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those of ordinary skill in the art can make changes, modifications, and substitutions to the above embodiments within the scope of the present invention, and these changes, modifications, and substitutions should all be covered by the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be subject to the scope of protection of the claims.

Claims

1. A method for managing electric energy meter data, characterized in that A data management device applied to an electric energy meter. The data management device at least includes a main controller, a USB interface connected to the main controller, a storage unit, a buzzer, an LED lamp, a key, and a data acquisition interface. The main controller is used to control the data management device. The USB interface is used for data interaction between the data management device and an external terminal. The data acquisition interface is used to connect the data management device and the electric energy meter and support power supply to the device to be acquired. The method includes the following steps: Receive and store a configuration file; If it is detected that the working mode of the data management device is switched to the cloning mode, obtain an address range table from the configuration file; Clone the electric energy meter data in the first electric energy meter to the second electric energy meter according to the address range table; Among them, the cloning mode includes a direct cloning mode. The step of cloning the electric energy meter data in the first electric energy meter to the second electric energy meter according to the address range table includes: Obtain the address range of the electric energy meter data from the address range table, copy the electric energy meter data in the address range of the first electric energy meter, and paste the electric energy meter data into the second electric energy meter; Among them, the cloning mode includes an internal storage cloning mode. The step of cloning the electric energy meter data in the first electric energy meter to the second electric energy meter according to the address range table further includes: Obtain the address range of the electric energy meter data from the address range table, and copy the electric energy meter data in the address range of the first electric energy meter; Store the electric energy meter data, and paste the electric energy meter data into the second electric energy meter; Among them, the cloning mode includes an external storage cloning mode. The step of cloning the electric energy meter data in the first electric energy meter to the second electric energy meter according to the address range table further includes: Obtain the address range of the electric energy meter data from the address range table, and copy the electric energy meter data in the address range of the first electric energy meter; Send the electric energy meter data to an external terminal; Receive the electric energy meter data from the external terminal, and paste the electric energy meter data into the second electric energy meter.

2. The method for managing the electric energy meter data according to claim 1, wherein, The steps before the step of if it is detected that the working mode of the data management device is switched to the cloning mode include: If a cloning mode execution instruction is received, switch the working mode of the data management device to the cloning mode; or, If a cloning mode configuration file is received, switch the working mode of the data management device to the cloning mode.

3. The method for managing the data of the electricity meter according to claim 2, characterized in that The step of if a cloning mode execution instruction is received, switch the working mode of the data management device to the cloning mode includes: Judge whether the mode to be run is the cloning mode; If the mode to be run is the cloning mode, judge whether an execution instruction for the mode to be run is received; If an execution instruction for the mode to be run is received, switch the working mode of the data management device to the cloning mode.

4. The management method of the electric energy meter data according to claim 3, characterized in that, After the step of judge whether the mode to be run is the cloning mode, it further includes: If the mode to be run is not the cloning mode, judge whether a mode to be run switching instruction is received; If the mode to be run switching instruction is received, judge whether the mode to be run is switched to the cloning mode; If the to-be-run mode is switched to the cloning mode, it is determined whether an instruction to execute the to-be-run mode is received; If an instruction to execute the to-be-run mode is received, the working mode of the data management device is switched to the cloning mode.

5. The method for managing the data of the electric energy meter according to claim 1, wherein, After the step of pasting the electric energy meter data to the second electric energy meter, it includes: sending out a cloning success prompt message.

6. A data management device, characterized in that, It includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps of the method for managing electric energy meter data as described in any one of claims 1 to 5.

7. A readable storage medium, characterized in that, A computer program is stored on the readable storage medium. When the computer program is executed by the processor, it implements the steps of the method for managing electric energy meter data as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Television data cloning method

    CN102098568A