CN112650630B - Distributed backup method and device for operating parameters of intelligent electric meter - Google Patents

Distributed backup method and device for operating parameters of intelligent electric meter Download PDF

Info

Publication number
CN112650630B
CN112650630B CN202011642242.2A CN202011642242A CN112650630B CN 112650630 B CN112650630 B CN 112650630B CN 202011642242 A CN202011642242 A CN 202011642242A CN 112650630 B CN112650630 B CN 112650630B
Authority
CN
China
Prior art keywords
management server
node
data management
master node
parameter
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.)
Active
Application number
CN202011642242.2A
Other languages
Chinese (zh)
Other versions
CN112650630A (en
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.)
Guangzhou Jixiang Technology Co Ltd
Original Assignee
Guangzhou Jixiang Technology 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 Guangzhou Jixiang Technology Co Ltd filed Critical Guangzhou Jixiang Technology Co Ltd
Priority to CN202011642242.2A priority Critical patent/CN112650630B/en
Publication of CN112650630A publication Critical patent/CN112650630A/en
Application granted granted Critical
Publication of CN112650630B publication Critical patent/CN112650630B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments

Abstract

The embodiment of the application discloses a distributed backup method and device for operating parameters of an intelligent electric meter. According to the technical scheme provided by the embodiment of the application, a data management server sets a master node and a plurality of slave nodes based on each intelligent electric meter grouped currently, acquires unified configuration data corresponding to each intelligent electric meter grouped currently, generates an operation parameter based on the unified configuration data, generates an identity list based on the identity identification of each intelligent electric meter grouped currently, and sends the operation parameter and the identity list to the master node; the master node distributes the operation parameters to each slave node based on the identity list, splits the operation parameters into a plurality of mutually redundant parameter packets, and stores each parameter packet in a distributed manner to the internal storage of the master node and each slave node. By adopting the technical means, the safe backup storage can be carried out on the operation parameters of the intelligent electric meter, the efficient configuration of the operation parameters of the intelligent electric meter is facilitated, and the operation parameter storage pressure of the data management server is reduced.

Description

Distributed backup method and device for operating parameters of intelligent electric meter
Technical Field
The embodiment of the application relates to the technical field of power Internet of things, in particular to a distributed backup method and device for operating parameters of an intelligent electric meter.
Background
At present, with the development of the internet of things technology, more power systems are introduced into the internet of things technology to construct a power internet of things system so as to provide more convenient and flexible power operation management. The electric power internet of things is an intelligent service system which is characterized in that modern information technologies such as mobile interconnection, artificial intelligence and the like and advanced communication technologies are fully applied around all links of an electric power system, all things interconnection and man-machine interaction of all links of the electric power system are achieved, and the intelligent service system has the advantages of comprehensive state sensing, efficient information processing and convenient and flexible application. In the power internet of things, automatic collection of user power consumption data is generally realized through an intelligent electric meter, and the collected power consumption data is uploaded to a background server to perform system services such as data management and the like. When the intelligent electric meter executes the services such as collection and uploading of electricity consumption data, generation of work logs, safety detection of the electric meter and the like, the related services are executed based on the operation parameters pre-configured by the data management server.
However, the existing power internet of things is lack of management on the operation parameters of the intelligent electric meter, and once the intelligent electric meter has an operation fault, the operation parameters of the intelligent electric meter are at risk of being lost. However, the mode of backing up the operation parameters by the data management server increases the storage pressure of the data management server, which causes the storage resources of the data management server to be excessively occupied, and affects the operation of other services. In addition, the data management server backs up the operating parameters of each intelligent electric meter, once the data management server is attacked by a network, the operating parameters of the whole system are leaked, and further the operation of the service of the whole system is influenced.
Disclosure of Invention
The embodiment of the application provides a distributed backup method and device for operating parameters of an intelligent electric meter, which can be used for carrying out safe backup storage on the operating parameters of the intelligent electric meter, facilitating efficient configuration of the operating parameters of the intelligent electric meter, reducing the operating parameter storage pressure of a data management server and optimizing the operating parameter management of each intelligent electric meter.
In a first aspect, an embodiment of the present application provides a distributed backup method for operation parameters of a smart meter, including:
the data management server sets a main node and a plurality of slave nodes based on each intelligent electric meter grouped currently, acquires unified configuration data corresponding to each intelligent electric meter grouped currently, generates operation parameters based on the unified configuration data, generates an identity list based on the identity identification of each intelligent electric meter grouped currently, and sends the operation parameters and the identity list to the main node;
the master node distributes the operation parameters to the slave nodes based on the identity list, splits the operation parameters into a plurality of mutually redundant parameter packets, and stores the parameter packets in a distributed manner to the internal storage of the master node and the slave nodes;
the data management server generates an update parameter package based on the current grouped update configuration data, sends the update parameter package to the master node, the master node updates the operation parameters of the master node and each slave node based on the update parameter package, and selects one slave node to store the update parameter package based on the identity list.
Further, after distributively storing each parameter packet to its own internal storage and each slave node, the method further includes:
when the master node detects that a new electric meter is accessed into the current group, the master node extracts each parameter packet from the internal storage of the master node and each slave node, synthesizes operation parameters based on each parameter packet and sends the operation parameters to the new electric meter.
Further, synthesizing operation parameters based on each parameter packet and sending the operation parameters to the new electric meter comprises:
and the main node analyzes each parameter packet, screens out mutually redundant data, synthesizes corresponding operation parameters and sends the operation parameters to the new electric meter.
Further, when the operating parameter and the identity list are sent to the master node, the method further includes:
encrypting the operation parameters by using an encryption key pre-distributed by a third-party server and sending the operation parameters to the main node;
correspondingly, before the master node distributes the operating parameters to the slave nodes based on the identity list, the method further includes:
and decrypting the operating parameters by using a decryption key pre-distributed by the third-party server.
Further, after the data management server sets a master node and a plurality of slave nodes based on each smart meter currently grouped, the data management server further includes:
the data management server sends the identity of the main node to the third-party server, the third-party server generates the encryption key and the decryption key based on the identity of the main node, sends the encryption key to the data management server, and sends the decryption key to the main node.
Further, after sending the encryption key to the data management server and sending the decryption key to the master node, the method further includes:
and the third-party server updates the encryption key to the data management server every other key management period and correspondingly updates the decryption key to the main node.
Further, the data management server sets a master node and a plurality of slave nodes based on the currently grouped smart meters, and the data management server includes:
and the data management server selects one intelligent electric meter as a main node based on the signal test results of the data management server and the current grouped intelligent electric meters.
In a second aspect, an embodiment of the present application provides a distributed backup apparatus for operating parameters of a smart meter, including:
the system comprises a setting module, a master node and a plurality of slave nodes, wherein the setting module is used for setting a master node and a plurality of slave nodes based on each intelligent electric meter grouped currently through a data management server, acquiring unified configuration data corresponding to each intelligent electric meter grouped currently, generating an operation parameter based on the unified configuration data, generating an identity list based on the identity identification of each intelligent electric meter grouped currently, and sending the operation parameter and the identity list to the master node;
the storage module is used for distributing the operation parameters to each slave node through the master node based on the identity list, splitting the operation parameters into a plurality of mutually redundant parameter packets, and storing each parameter packet in a distributed manner to the internal storage of the master node and each slave node;
and the updating module is used for generating an updating parameter packet based on the currently grouped updating configuration data through the data management server, sending the updating parameter packet to the main node, updating the operation parameters of the main node and each slave node based on the updating parameter packet by the main node, and selecting one slave node to store the updating parameter packet based on the identity list.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a memory and one or more processors;
the memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the distributed backup method for the operation parameters of the smart meter according to the first aspect.
In a fourth aspect, the present application provides a storage medium containing computer executable instructions, which when executed by a computer processor, are used for executing the distributed backup method of the operating parameters of the smart meter according to the first aspect.
The method comprises the steps that a data management server sets a main node and a plurality of slave nodes based on each intelligent electric meter grouped currently, obtains unified configuration data corresponding to each intelligent electric meter grouped currently, generates operation parameters based on the unified configuration data, generates an identity list based on the identity identification of each intelligent electric meter grouped currently, and sends the operation parameters and the identity list to the main node; the master node distributes the operation parameters to each slave node based on the identity list, splits the operation parameters into a plurality of mutually redundant parameter packets, and stores each parameter packet in a distributed manner to the internal storage of the master node and each slave node; the data management server generates an update parameter package based on the current grouped update configuration data, sends the update parameter package to the master node, and the master node updates the operation parameters of the master node and each slave node based on the update parameter package and selects one slave node to store the update parameter package based on the identity list. By adopting the technical means, safe backup storage can be carried out on the operating parameters of the intelligent electric meters, efficient configuration of the operating parameters of the intelligent electric meters is facilitated, the operating parameter storage pressure of the data management server is reduced, and the operating parameter management of each intelligent electric meter is optimized.
Drawings
Fig. 1 is a flowchart of a distributed backup method for operating parameters of a smart meter according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a signal test of a data management server according to an embodiment of the present application;
fig. 3 is a schematic diagram of backup of a parameter package in the first embodiment of the present application;
fig. 4 is a schematic structural diagram of a distributed backup device for operating parameters of a smart meter according to a second embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to a third embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The first embodiment is as follows:
fig. 1 is a flowchart of a distributed backup method for operating parameters of a smart meter according to an embodiment of the present application, where the distributed backup method for operating parameters of a smart meter provided in this embodiment may be executed by a distributed backup device for operating parameters of a smart meter, the distributed backup device for operating parameters of a smart meter may be implemented in a software and/or hardware manner, and the distributed backup device for operating parameters of a smart meter may be formed by two or more physical entities or may be formed by one physical entity. Generally speaking, the distributed backup device of the operation parameters of the intelligent electric meter can be an electric power internet of things system.
The following description will be given by taking the distributed backup device of the operation parameters of the smart meter as an example of a main body of the distributed backup method for executing the operation parameters of the smart meter. Referring to fig. 1, the distributed backup method for the operating parameters of the smart meter specifically includes:
s110, the data management server sets a main node and a plurality of slave nodes based on each intelligent electric meter grouped currently, obtains unified configuration data corresponding to each intelligent electric meter grouped currently, generates operation parameters based on the unified configuration data, generates an identity list based on the identity identification of each intelligent electric meter grouped currently, and sends the operation parameters and the identity list to the main node.
The distributed backup method for the operating parameters of the intelligent electric meters aims to store the operating parameters of the intelligent electric meters to the intelligent electric meters grouped corresponding to the intelligent electric meters in a distributed mode, and manage the operating parameters of the electric meter groups by selecting one intelligent electric meter as a main node. Therefore, safe backup storage of the operation parameters of the intelligent electric meter can be realized. In addition, the operation parameter backup is stored in the intelligent electric meters, so that the operation parameters of the intelligent electric meters grouped by the same electric meter can be conveniently extracted and used, and the efficient configuration of the operation parameters of the intelligent electric meters is facilitated. In addition, the operation parameters are backed up in the intelligent electric meter, so that the operation parameter storage pressure of the data management server can be relieved, and the management of the operation parameters is optimized.
When the operation parameters of the intelligent electric meters are configured, the data management server acquires unified configuration data corresponding to the current electric meters and grouping the intelligent electric meters, the unified configuration data are configured through operation and maintenance managers of the power internet of things, and if the intelligent electric meters corresponding to the same electric meter grouping are the intelligent electric meters corresponding to the same building, the execution processes of services such as electric quantity collection, safety detection, working log generation and the like are the same, and the service execution corresponding operation parameters are the same. Therefore, when the operation parameter setting of each intelligent electric meter grouped by the current electric meter is carried out, the data management server generates the operation parameters corresponding to each intelligent electric meter based on the unified configuration data by setting the unified configuration data corresponding to each intelligent electric meter grouped by the current electric meter.
Specifically, in order to facilitate management of distributed storage to operation parameters corresponding to the same electric meter grouping of each intelligent electric meter, in the embodiment of the application, setting of master and slave nodes corresponding to the intelligent electric meters grouped of the same electric meter is performed, one intelligent electric meter is set to serve as a master node, the rest intelligent electric meters serve as slave nodes, and the master node is used for managing the operation parameters of backup of each intelligent electric meter, so that better stable operation parameter backup management is realized. The data management server selects one intelligent electric meter with the best signal transmission quality as a main node according to the signal test results of the intelligent electric meters grouped with the data management server and the electric meters. Based on a signal test mode, the selected master node is ensured to have the best data transmission performance, and stable transmission of power utilization data can be guaranteed. Referring to fig. 2, when performing the signal test, the data management server 11 receives the test signal sent by each smart meter 12 in the meter group, determines a corresponding signal quality parameter based on each test signal, and takes each signal quality parameter as a signal test result of each smart meter 12. And after receiving the test signal, the data management server further measures and calculates a signal quality parameter corresponding to the test signal, and determines the communication quality between each intelligent electric meter and the data management server based on the signal quality parameter. In particular, the signal quality parameter value of the test signal is determined by the corresponding signal received power, signal received strength, channel instantaneous quality value and/or interference signal strength. Wherein the channel instantaneous quality value represents the channel quality, channel matrix feedback, signal response, and/or interference information for the corresponding signal receiving antenna. And measuring the various types of parameters through the corresponding test signals and the antenna parameters. Further, in order to quantize the signal quality parameter, a calculation formula of the signal quality parameter is provided to quantize the signal quality of the test signal, and the calculation formula of the signal quality parameter is:
f=ω1P+ω2d13h+ω4d2
where f is the signal quality parameter value, P is the signal received power, d1For signal received strength, h is the instantaneous quality value of the channel, d2For interfering signal strength, omega1,ω2,ω3And ω4The influence factors are determined according to actual tests and can be set according to the actual influence of each type of parameter on the signal quality parameter value. Based on the signal quality parameter calculation formula, the signal quality parameters of the test signals can be determined. It should be noted that, in practical applications, according to different signal quality evaluation criteria, a plurality of different manners may be selected to evaluate the signal quality parameters of each test signal, and a corresponding quantization formula is set accordingly. The above formula is only one calculation method for calculating the signal quality parameter in the embodiment of the present application, and various different measurement and calculation formulas may be selected according to actual measurement and calculation requirements, which is not described herein again.
Further, the data management server selects one intelligent electric meter as a main node based on the signal test results of the data management server and the intelligent electric meters grouped currently. And preferably, the intelligent electric meter with the largest signal quality parameter is used as a master node, and the other intelligent electric meters are used as slave nodes. It can be understood that the master node is selected based on the signal test result, the data transmission quality between the master node and the data management server is relatively better, the network stability of the operation parameter transmission can be guaranteed, and the data transmission effect is optimized.
In an embodiment, the data management server may further select, based on the storage state of each smart meter and based on a storage balancing principle, one smart meter with a relatively free storage space as the master node, so as to implement better backup management on the operating parameters of each slave node by using the storage resources of the master node. The data management server obtains the storage state of each intelligent electric meter, and then selects the intelligent electric meter with the most free storage space as a main node, and the other intelligent electric meters as slave nodes, so that the main node can be optimized from the perspective of the storage space to perform parameter package backup management, and the parameter package backup management efficiency is optimized.
Further, after the main node and the sub-nodes are determined, the data management server generates an identity list based on the identity of each intelligent electric meter, the identity list comprises the identity of each intelligent electric meter, and the identity list and the operation parameters generated according to the unified configuration data are sent to the main node, so that the main node performs backup management on the operation parameters based on the operation parameters and the identity list.
In one embodiment, referring to fig. 3, the data management server 11 further encrypts the operation parameters by using an encryption key pre-allocated by the third-party server 13 and sends the operation parameters to the smart meter 12 corresponding to the master node; correspondingly, after receiving the operation parameters issued by the data management server, the master node correspondingly decrypts the operation parameters by using a decryption key pre-distributed by the third-party server. Before that, the data management server sends the identity of the master node to the third-party server, and the third-party server generates the encryption key and the decryption key based on the identity of the master node, sends the encryption key to the data management server, and sends the decryption key to the master node. The third-party server receives the identity of the master node in advance, and generates a unique session key by the identity of the third-party server corresponding to the master node. The session key comprises an encryption key and a decryption key, wherein the encryption key is sent to the data management server and used for encryption transmission of the operation parameters, and the decryption key is sent to the main node and used for decryption of subsequent operation parameters. It can be understood that, in the embodiments of the present application, the encryption key is respectively sent to the data management server, and the decryption key is sent to the master node, so that the session key can be separately used, the difficulty of key decryption is increased, and the security of data transmission is further ensured. In addition, the third party server is a trusted key management server, and is used for generating a corresponding session key for the encrypted transmission of the corresponding operating parameter by the data management server. It can be understood that, the security of the operation parameter transmission can be ensured by performing the encrypted transmission of the operation parameter through the session key. In addition, the session key is managed by the trusted third-party server, so that the session key management process of the data management server can be saved, the service processing burden of the data management server is reduced, and the service processing efficiency is optimized.
In one embodiment, the third-party server updates the encryption key to the data management server every other key management period, and correspondingly updates the decryption key to the master node. It can be understood that the encryption key and the decryption key are periodically updated, so that the difficulty of key decryption can be increased, and the situation that the electricity consumption data is stolen and tampered due to the fact that the session key is easily decrypted is avoided. Therefore, the safety of operation parameter transmission is improved, and the operation of the power internet of things is optimized.
And S120, the master node distributes the operation parameters to the slave nodes based on the identity list, splits the operation parameters into a plurality of mutually redundant parameter packets, and stores the parameter packets in a distributed manner to the internal storage of the master node and the slave nodes.
Further, referring to fig. 3, after receiving the operation parameters, the master node may configure the operation parameters of each currently grouped smart meter 12 corresponding to the identity list, and send the operation parameters to each slave node for configuring the operation parameters. In addition, in order to ensure redundant backup of the operating parameters, the main node splits the operating parameters into a plurality of mutually redundant parameter packets, and then stores the parameter packets to the main node or each heavy node in a distributed manner. It should be noted that each parameter packet includes a corresponding part of the operation parameters, and the operation parameters between the parameter packets are redundant with each other, so that the fault tolerance of the operation parameter backup can be ensured, when an operation parameter packet of one smart electric meter is lost, the complete operation parameters can be obtained by restoring the parameter packets of the other smart electric meters, and the integrity of the operation parameter storage can be ensured by means of the redundant backup.
In one embodiment, when the master node detects that a new electric meter is accessed to the current group, each parameter packet is extracted from the internal storage of the master node and each slave node, and operation parameters are synthesized based on each parameter packet and sent to the new electric meter. In order to realize efficient configuration of the operation parameters of the new electric meter and reduce the service processing pressure of the data management server, the operation parameter configuration of the currently grouped new electric meter is managed through the master node in the embodiment of the application. The operating parameters of the intelligent electric meters corresponding to the same group are the same, so that the main node can synthesize and restore the operating parameters of the new electric meter based on the parameter packets by extracting the parameter packets which are backed up in the main node and stored in the main node and the slave nodes in advance, and correspondingly sends the operating parameters to the new electric meter for configuration. The configuration of the operation parameters of the new electric meter is carried out by combining the backup parameters into the operation parameters, so that the process of manually configuring the operation parameters of the new electric meter can be reduced, the efficiency of configuring the operation parameters of the new electric meter is improved, and the operation of the system is further optimized. Specifically, after obtaining each parameter packet, the master node parses each parameter packet, screens out mutually redundant data, synthesizes corresponding operating parameters, and sends the operating parameters to the new electric meter. It can be understood that, since the parameter packets are redundantly backed up, each parameter packet includes an overlapped part of the operation parameters, and when the operation parameters are synthesized, the operation parameters repeated by the part of the operation parameters need to be screened out, so that the complete operation parameters are obtained by reduction. Similarly, when the operation parameters of a corresponding slave node are lost or the operation parameters are configured after the equipment is upgraded, the master node extracts the parameters stored in the master node and the parameters of each slave node to form the operation parameters, and then sends the operation parameters to the corresponding slave node for configuration of the operation parameters, so that the high efficiency of the configuration of the operation parameters is guaranteed, and the operation parameter configuration process of the slave node in the process of parameter loss and equipment upgrade is optimized.
S130, the data management server generates an update parameter package based on the current grouped update configuration data, sends the update parameter package to the master node, the master node updates the operation parameters of the master node and each slave node based on the update parameter package, and selects one slave node to store the update parameter package based on the identity list.
When the operation parameters of each intelligent electric meter grouped by the current electric meter need to be updated, operation and maintenance personnel set updating configuration data correspondingly, the updating configuration data are extracted by the data management server to generate an updating parameter package, the updating parameter package is directly sent to the main node, and the main node updates the operation parameters of the main node and each slave node based on the updating parameters. Further, the updating parameter package is stored by selecting one slave node, so that the updating parameters are backed up. Specifically, the master node may select a slave node with a relatively large storage space to store the update parameter package based on the storage state of each smart meter. In addition, in some embodiments, the master node may further determine that the updated parameter is an added parameter or an operation parameter replacing an original operation parameter, and if the updated parameter is the added parameter, select a slave node to store the updated parameter correspondingly. If the data of the original operation parameters are replaced, the updating parameter packet is sent to the corresponding slave node, the slave node stores the parameter packet of the original operation parameters, and the updating parameter packet replaces the parameter packet stored in the corresponding slave node, so that the backup updating of the operation parameters is realized.
The data management server sets a master node and a plurality of slave nodes based on each intelligent electric meter grouped currently, acquires unified configuration data corresponding to each intelligent electric meter grouped currently, generates operation parameters based on the unified configuration data, generates an identity list based on the identity identification of each intelligent electric meter grouped currently, and sends the operation parameters and the identity list to the master node; the master node distributes the operation parameters to each slave node based on the identity list, splits the operation parameters into a plurality of mutually redundant parameter packets, and stores each parameter packet in a distributed manner to the internal storage of the master node and each slave node; the data management server generates an update parameter package based on the current grouped update configuration data, sends the update parameter package to the master node, and the master node updates the operation parameters of the master node and each slave node based on the update parameter package and selects one slave node to store the update parameter package based on the identity list. By adopting the technical means, safe backup storage can be carried out on the operating parameters of the intelligent electric meters, efficient configuration of the operating parameters of the intelligent electric meters is facilitated, the operating parameter storage pressure of the data management server is reduced, and the operating parameter management of each intelligent electric meter is optimized.
Example two:
on the basis of the foregoing embodiment, fig. 4 is a schematic structural diagram of a distributed backup device for operating parameters of an intelligent electric meter according to a second embodiment of the present application. Referring to fig. 4, the distributed backup apparatus for operating parameters of an intelligent electric meter provided in this embodiment specifically includes: a setting module 21, a storage module 22 and an updating module 23.
The setting module 21 is configured to set a master node and a plurality of slave nodes based on each currently grouped smart meter through the data management server, acquire unified configuration data corresponding to each currently grouped smart meter, generate an operation parameter based on the unified configuration data, generate an identity list based on an identity of each currently grouped smart meter, and send the operation parameter and the identity list to the master node;
the storage module 22 is configured to distribute, by the master node, the operating parameters to the slave nodes based on the identity list, split the operating parameters into a plurality of mutually redundant parameter packets, and store the parameter packets in a distributed manner to the internal storage of the master node and the slave nodes;
the update module 23 is configured to generate, by the data management server, an update parameter packet based on currently grouped update configuration data, send the update parameter packet to the master node, where the master node updates the operating parameters of the master node and each slave node based on the update parameter packet, and selects one slave node to store the update parameter packet based on the identity list.
The data management server sets a master node and a plurality of slave nodes based on each intelligent electric meter grouped currently, acquires unified configuration data corresponding to each intelligent electric meter grouped currently, generates operation parameters based on the unified configuration data, generates an identity list based on the identity identification of each intelligent electric meter grouped currently, and sends the operation parameters and the identity list to the master node; the master node distributes the operation parameters to each slave node based on the identity list, splits the operation parameters into a plurality of mutually redundant parameter packets, and stores each parameter packet in a distributed manner to the internal storage of the master node and each slave node; the data management server generates an update parameter package based on the current grouped update configuration data, sends the update parameter package to the master node, and the master node updates the operation parameters of the master node and each slave node based on the update parameter package and selects one slave node to store the update parameter package based on the identity list. By adopting the technical means, safe backup storage can be carried out on the operating parameters of the intelligent electric meters, efficient configuration of the operating parameters of the intelligent electric meters is facilitated, the operating parameter storage pressure of the data management server is reduced, and the operating parameter management of each intelligent electric meter is optimized.
The distributed backup device for the operating parameters of the smart electric meter provided by the second embodiment of the application can be used for executing the distributed backup method for the operating parameters of the smart electric meter provided by the first embodiment of the application, and has corresponding functions and beneficial effects.
Example three:
an embodiment of the present application provides an electronic device, and with reference to fig. 5, the electronic device includes: a processor 31, a memory 32, a communication module 33, an input device 34, and an output device 35. The number of processors in the electronic device may be one or more, and the number of memories in the electronic device may be one or more. The processor, memory, communication module, input device, and output device of the electronic device may be connected by a bus or other means.
The memory 32 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the distributed backup method for the operation parameters of the smart meter according to any embodiment of the present application (for example, a setting module, a storage module, and an updating module in the distributed backup device for the operation parameters of the smart meter). The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system and an application program required by at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 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 non-volatile solid state storage device. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication module 33 is used for data transmission.
The processor 31 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory, namely, the method for performing distributed backup of the operation parameters of the smart meter is realized.
The input device 34 may be used to receive entered numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 35 may include a display device such as a display screen.
The electronic device provided by the embodiment can be used for executing the distributed backup method for the operating parameters of the smart meter provided by the embodiment one, and has corresponding functions and beneficial effects.
Example four:
the embodiment of the application also provides a storage medium containing computer executable instructions, wherein the computer executable instructions are used for executing a distributed backup method of the operation parameters of the intelligent electric meter when being executed by a computer processor, and the distributed backup method of the operation parameters of the intelligent electric meter comprises the following steps: the data management server sets a main node and a plurality of slave nodes based on each intelligent electric meter grouped currently, acquires unified configuration data corresponding to each intelligent electric meter grouped currently, generates operation parameters based on the unified configuration data, generates an identity list based on the identity identification of each intelligent electric meter grouped currently, and sends the operation parameters and the identity list to the main node; the master node distributes the operation parameters to the slave nodes based on the identity list, splits the operation parameters into a plurality of mutually redundant parameter packets, and stores the parameter packets in a distributed manner to the internal storage of the master node and the slave nodes; the data management server generates an update parameter package based on the current grouped update configuration data, sends the update parameter package to the master node, the master node updates the operation parameters of the master node and each slave node based on the update parameter package, and selects one slave node to store the update parameter package based on the identity list.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations, e.g., in different computer systems connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application includes computer-executable instructions, where the computer-executable instructions are not limited to the distributed backup method for the operating parameters of the smart meter described above, and may also perform related operations in the distributed backup method for the operating parameters of the smart meter provided in any embodiment of the present application.
The distributed backup device, the storage medium, and the electronic device for the operating parameters of the smart meter provided in the foregoing embodiments may execute the distributed backup method for the operating parameters of the smart meter provided in any embodiment of the present application, and reference may be made to the distributed backup method for the operating parameters of the smart meter provided in any embodiment of the present application without detailed technical details described in the foregoing embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (6)

1. A distributed backup method for operating parameters of a smart meter is characterized by comprising the following steps:
the data management server sets a main node and a plurality of slave nodes based on each intelligent electric meter grouped currently, acquires unified configuration data corresponding to each intelligent electric meter grouped currently, generates operation parameters based on the unified configuration data, generates an identity list based on the identity identification of each intelligent electric meter grouped currently, and sends the operation parameters and the identity list to the main node;
the master node distributes the operation parameters to the slave nodes based on the identity list, splits the operation parameters into a plurality of mutually redundant parameter packets, and stores the parameter packets in a distributed manner to the internal storage of the master node and the slave nodes;
the data management server generates an update parameter package based on the current grouped update configuration data, sends the update parameter package to the master node, the master node updates the operation parameters of the master node and each slave node based on the update parameter package, and selects one slave node to store the update parameter package based on the identity list;
when the operating parameters and the identity list are sent to the master node, the method further comprises the following steps:
encrypting the operation parameters by using an encryption key pre-distributed by a third-party server and sending the operation parameters to the main node;
correspondingly, before the master node distributes the operating parameters to the slave nodes based on the identity list, the method further includes:
decrypting the operating parameters by using a decryption key pre-distributed by a third-party server;
after the data management server sets a master node and a plurality of slave nodes based on each smart meter currently grouped, the data management server further comprises:
the data management server sends the identity of the main node to the third-party server, the third-party server generates the encryption key and the decryption key based on the identity of the main node, sends the encryption key to the data management server, and sends the decryption key to the main node;
after sending the encryption key to the data management server and sending the decryption key to the master node, the method further includes:
the third-party server updates the encryption key to the data management server every other key management period and correspondingly updates the decryption key to the main node;
the data management server sets a master node and a plurality of slave nodes based on each smart meter grouped currently, and the data management server comprises the following steps:
and the data management server selects one intelligent electric meter as a main node based on the signal test results of the data management server and the current grouped intelligent electric meters.
2. The method for distributed backup of operational parameters of smart meters according to claim 1, further comprising, after distributively storing each of said parameter packages to its own internal storage and each of said slave nodes:
when the master node detects that a new electric meter is accessed into the current group, the master node extracts each parameter packet from the internal storage of the master node and each slave node, synthesizes operation parameters based on each parameter packet and sends the operation parameters to the new electric meter.
3. The method of claim 2, wherein synthesizing operating parameters based on the parameter packages and sending the operating parameters to the new electric meter comprises:
and the main node analyzes each parameter packet, screens out mutually redundant data, synthesizes corresponding operation parameters and sends the operation parameters to the new electric meter.
4. A distributed backup device for operation parameters of a smart meter is characterized by comprising:
the system comprises a setting module, a master node and a plurality of slave nodes, wherein the setting module is used for setting a master node and a plurality of slave nodes based on each intelligent electric meter grouped currently through a data management server, acquiring unified configuration data corresponding to each intelligent electric meter grouped currently, generating an operation parameter based on the unified configuration data, generating an identity list based on the identity identification of each intelligent electric meter grouped currently, and sending the operation parameter and the identity list to the master node;
the storage module is used for distributing the operation parameters to each slave node through the master node based on the identity list, splitting the operation parameters into a plurality of mutually redundant parameter packets, and storing each parameter packet in a distributed manner to the internal storage of the master node and each slave node;
the updating module is used for generating an updating parameter packet based on the currently grouped updating configuration data through the data management server, sending the updating parameter packet to the main node, updating the operation parameters of the main node and each slave node based on the updating parameter packet by the main node, and selecting one slave node to store the updating parameter packet based on the identity list;
when the operating parameters and the identity list are sent to the master node, the method further comprises the following steps:
encrypting the operation parameters by using an encryption key pre-distributed by a third-party server and sending the operation parameters to the main node;
correspondingly, before the master node distributes the operating parameters to the slave nodes based on the identity list, the method further includes:
decrypting the operating parameters by using a decryption key pre-distributed by a third-party server;
after the data management server sets a master node and a plurality of slave nodes based on each smart meter currently grouped, the data management server further comprises:
the data management server sends the identity of the main node to the third-party server, the third-party server generates the encryption key and the decryption key based on the identity of the main node, sends the encryption key to the data management server, and sends the decryption key to the main node;
after sending the encryption key to the data management server and sending the decryption key to the master node, the method further includes:
the third-party server updates the encryption key to the data management server every other key management period and correspondingly updates the decryption key to the main node;
the data management server sets a master node and a plurality of slave nodes based on each smart meter grouped currently, and the data management server comprises the following steps:
and the data management server selects one intelligent electric meter as a main node based on the signal test results of the data management server and the current grouped intelligent electric meters.
5. An electronic device, comprising:
a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method for distributed backup of operational parameters of a smart meter according to any of claims 1-3.
6. A storage medium containing computer-executable instructions, wherein the computer-executable instructions, when executed by a computer processor, are configured to perform the method for distributed backup of operational parameters of a smart meter according to any one of claims 1-3.
CN202011642242.2A 2020-12-31 2020-12-31 Distributed backup method and device for operating parameters of intelligent electric meter Active CN112650630B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011642242.2A CN112650630B (en) 2020-12-31 2020-12-31 Distributed backup method and device for operating parameters of intelligent electric meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011642242.2A CN112650630B (en) 2020-12-31 2020-12-31 Distributed backup method and device for operating parameters of intelligent electric meter

Publications (2)

Publication Number Publication Date
CN112650630A CN112650630A (en) 2021-04-13
CN112650630B true CN112650630B (en) 2022-02-01

Family

ID=75367052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011642242.2A Active CN112650630B (en) 2020-12-31 2020-12-31 Distributed backup method and device for operating parameters of intelligent electric meter

Country Status (1)

Country Link
CN (1) CN112650630B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8477501B2 (en) * 2005-01-28 2013-07-02 I/O Controls Corporation Network node with integrated power distribution
CN110601895A (en) * 2019-09-19 2019-12-20 国家电网有限公司 Data control method and device for power communication system
CN110830587A (en) * 2019-11-14 2020-02-21 腾讯科技(深圳)有限公司 Data transmission method, device, equipment and storage medium
CN111597536A (en) * 2020-05-19 2020-08-28 重庆第二师范学院 Hadoop cluster kerberos high-availability authentication method

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1328879C (en) * 2005-01-26 2007-07-25 北京大学 Online backup method based on data block redundancy and virtualized storage
CN102164425A (en) * 2011-05-11 2011-08-24 大唐移动通信设备有限公司 MTC (machine type communication)equipment management method, system and MTC equipment
US20130201316A1 (en) * 2012-01-09 2013-08-08 May Patents Ltd. System and method for server based control
CN107040399B (en) * 2016-02-04 2022-03-15 京东方科技集团股份有限公司 Method, device and system for downloading upgrade file
EP3721585B1 (en) * 2017-12-05 2023-03-29 Signify Holding B.V. A method of and a system and node device for locating information available at a node device in a network of communicatively interconnected node devices
CN110677282B (en) * 2019-09-23 2022-05-17 天津津航计算技术研究所 Hot backup method of distributed system and distributed system
CN110958262A (en) * 2019-12-15 2020-04-03 国网山东省电力公司电力科学研究院 Ubiquitous Internet of things safety protection gateway system, method and deployment architecture in power industry
CN111639114A (en) * 2020-04-07 2020-09-08 北京邮电大学 Distributed data fusion management system based on Internet of things platform
CN111614733B (en) * 2020-04-29 2022-08-02 厦门市美亚柏科信息股份有限公司 Deployment method, device and storage medium of distributed multi-fragmentation cluster

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8477501B2 (en) * 2005-01-28 2013-07-02 I/O Controls Corporation Network node with integrated power distribution
CN110601895A (en) * 2019-09-19 2019-12-20 国家电网有限公司 Data control method and device for power communication system
CN110830587A (en) * 2019-11-14 2020-02-21 腾讯科技(深圳)有限公司 Data transmission method, device, equipment and storage medium
CN111597536A (en) * 2020-05-19 2020-08-28 重庆第二师范学院 Hadoop cluster kerberos high-availability authentication method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"Decrypting password-based encrypted backup data for Huawei smartphones";Myungseo Park;《Digital Investigation》;20190331;第28卷;第119-125页 *
"分布式文件系统HDFS";房佳月圆;《https://zhuanlan.zhihu.com/p/110147379》;20200301;第1-5页 *
"基于Redis自适应迁移策略的研究";韦立;《中国优秀硕士学位论文全文数据库 信息科技辑》;20190215(第02期);第I138-1020页 *

Also Published As

Publication number Publication date
CN112650630A (en) 2021-04-13

Similar Documents

Publication Publication Date Title
Huba et al. Papaya: Practical, private, and scalable federated learning
CN111930851B (en) Control data processing method, device, medium and electronic equipment of block chain network
CN112333213B (en) Privacy protection method and device for business data of power Internet of things
CN112333212B (en) Encryption management method and device for business data of power Internet of things
CN111625497B (en) Deployment method, device and equipment of distributed file system and storage medium
CN111625496B (en) Deployment method, device and equipment of distributed file system in virtual machine environment
CN112702193B (en) Data interaction method, device, computer equipment and storage medium
CN112769761A (en) Signal transmission mode selection method and device based on service classification
CN112468350B (en) Operation parameter configuration management method and device of power Internet of things
Church et al. Moving SCADA systems to IaaS clouds
CN112650630B (en) Distributed backup method and device for operating parameters of intelligent electric meter
CN111093194A (en) Edge computing virtual base station management method and device based on block chain
CN112559252B (en) Configuration data management method and device based on attribute classification
CN112559250B (en) Configuration data backup method and device for electric power Internet of things
CN112506705B (en) Distributed storage configuration information backup method and device
CN112559251A (en) Configuration data management method and device for power Internet of things
CN112350875B (en) Centralized management configuration method and device for configuration data
CN112333036B (en) Multi-storage-node-based power Internet of things configuration data backup method and device
CN112367410B (en) Operation parameter management method and device
CN112506703B (en) Backup method and device for configuration information of terminal of Internet of things
CN112506704B (en) Configuration information backup method and device for gateway of Internet of things
CN112769625B (en) Grouping configuration method and device for configuration data
CN112866204B (en) Power consumption data gathering and transmitting method and device of intelligent electric meter
CN112560097B (en) Storage management method and device for power business data
CN112565211B (en) Block chain network service platform, information processing method, equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant