CN112203247B - Safe storage method and system for electric energy data - Google Patents
Safe storage method and system for electric energy data Download PDFInfo
- Publication number
- CN112203247B CN112203247B CN202011018591.7A CN202011018591A CN112203247B CN 112203247 B CN112203247 B CN 112203247B CN 202011018591 A CN202011018591 A CN 202011018591A CN 112203247 B CN112203247 B CN 112203247B
- Authority
- CN
- China
- Prior art keywords
- electric energy
- energy data
- base station
- data
- energy meter
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000005192 partition Methods 0.000 claims description 26
- 238000012795 verification Methods 0.000 claims description 7
- 230000002159 abnormal effect Effects 0.000 claims description 4
- 230000005540 biological transmission Effects 0.000 abstract description 9
- 238000013500 data storage Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 230000006872 improvement Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000004888 barrier function Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000005242 forging Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/38—Services specially adapted for particular environments, situations or purposes for collecting sensor information
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Engineering (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a safe storage method and a safe storage system for electric energy data, comprising the following steps: each electric energy meter device stores own electric energy data in real time, and the Mesh network group is adopted to send the own stored electric energy data to other electric energy meter devices; and randomly receiving and storing the electric energy data sent by other electric energy meter devices; the acquisition base station server acquires the electric energy data stored by each electric energy meter device in real time, and generates a blockchain for storing the information abstract according to the acquired electric energy data and the acquisition time sequence; and sending a data uploading request to a terminal server at regular time; and the terminal server invokes the blockchain uploaded by the acquisition base station server according to the data uploading request of the acquisition base station server. By adopting the embodiment of the invention, the random scattered storage of the electric energy data is realized by associating the electric energy meter devices, and the possibility of tampering the electric energy data in the storage and transmission processes is effectively avoided.
Description
Technical Field
The invention relates to the field of electric power data acquisition and storage, in particular to a safe storage method and system for electric energy data.
Background
Power theft refers to the use of various methods to alter the data input to an electrical energy meter in an attempt to affect the energy measurement of the meter.
In the traditional electric energy data storage process, electric energy data are distributed and then stored in a plurality of independent electric energy meter devices in a designated mode, and the electric energy data are uploaded to a server by the plurality of independent electric energy meter devices respectively. In carrying out the present invention, the inventors have found that the prior art has at least the following problems: the electric energy meter devices independently store and upload electric energy data, more power theft opportunities are provided for power thieves, and once the power thieves attack any electric energy meter, the power theft is realized by easily tampering and forging the energy use record. Therefore, it is particularly important to realize safe storage of electric energy data of the electric energy meter.
Disclosure of Invention
The embodiment of the invention aims to provide a safe storage method and a safe storage system for electric energy data, which are used for realizing random scattered storage of the electric energy data by associating all electric energy meter devices, so that the possibility of tampering the electric energy data in the storage and transmission processes is effectively avoided.
To achieve the above object, an embodiment of the present invention provides a method for securely storing electric energy data, including:
each electric energy meter device stores own electric energy data in real time, and the Mesh network group is adopted to send the own stored electric energy data to other electric energy meter devices; and randomly receiving and storing the electric energy data sent by other electric energy meter devices;
the acquisition base station server acquires the electric energy data stored by each electric energy meter device in real time, and generates a blockchain for storing the information abstract according to the acquired electric energy data and the acquisition time sequence; and sending a data uploading request to a terminal server at regular time;
and the terminal server invokes the blockchain uploaded by the acquisition base station server according to the data uploading request of the acquisition base station server.
As an improvement of the above scheme, the electric energy meter device randomly receives and stores electric energy data sent by other electric energy meter devices, and specifically includes:
each electric energy meter device verifies the identity of the electric energy meter device which transmits electric energy data;
and after the identity verification of the electric energy meter device transmitting the electric energy data is passed, randomly receiving and storing part or all of the electric energy data transmitted by the electric energy meter device transmitting the electric energy data.
As an improvement of the above solution, the collecting base station server collects the electric energy data stored in each electric energy meter device in real time, and generates a blockchain storing the information abstract from the collected electric energy data according to the collection time sequence, which specifically includes:
the acquisition base station server acquires the electric energy data stored by each electric energy meter device in real time;
the acquisition base station server detects the consistency of the electric energy data acquired by the acquisition base station server and the electric energy data stored by the electric energy meter equipment; detecting the availability of the electric energy data acquired by the self; detecting partition tolerance of the electric energy data acquired by the self;
when the collected electric energy data meet preset consistency, availability and partition tolerance conditions, the collection base station server generates a blockchain for storing the information abstract according to the collection time sequence from the collected electric energy data.
As an improvement of the above scheme, the collecting base station server detects the consistency of the electric energy data collected by itself and the electric energy data stored by the electric energy meter device, and specifically includes:
the acquisition base station server detects the network connection state between the acquisition base station server and each electric energy meter device;
when the network connection state with the electric energy meter equipment is abnormal, the electric energy data acquired by the electric energy meter equipment at the current moment is considered to be inconsistent with the electric energy data of the electric energy meter equipment;
when the network connection state with the electric energy meter equipment is normal, the electric energy data acquired by the electric energy meter equipment at the current moment is considered to be consistent with the electric energy data of the electric energy meter equipment.
As an improvement of the above scheme, the collecting base station server detects the availability of the electric energy data collected by itself, and specifically includes:
the acquisition base station server detects whether the electric energy data acquired by the acquisition base station server is returned by electric energy meter equipment exceeding a first preset quantity within a preset time threshold after the acquisition base station server sends an acquisition request;
if yes, the electric energy data acquired by the self is considered to meet the availability condition; if not, the electric energy data acquired by the self-service device is considered to not meet the availability condition.
As an improvement of the above scheme, the collecting base station server detects the partition tolerance of the electric energy data collected by itself, and specifically includes:
the acquisition base station server detects whether the electric energy data sent by each electric energy meter device receive the receiving replies of the electric energy meters exceeding a second preset quantity or not;
if yes, the electric energy data acquired by the self is considered to meet the partition tolerance condition; if not, the electric energy data acquired by the self-service device is considered to not meet the partition tolerance condition.
As an improvement of the above solution, the terminal server invokes the blockchain uploaded by the acquisition base station server according to the data upload request of the acquisition base station server, and specifically includes:
the terminal server performs identity authentication on the acquisition base station server according to the data uploading request of the acquisition base station server;
and when the identity authentication of the acquisition base station server is passed, the blockchain uploaded by the acquisition base station server is called.
The embodiment of the invention also provides a safe storage system of the electric energy data, which comprises the following components: the system comprises a terminal server, a base station acquisition server and a plurality of electric energy meter devices; wherein,,
the electric energy meter device is used for storing the electric energy data of the electric energy meter device in real time, and transmitting the electric energy data stored by the electric energy meter device to other electric energy meter devices by adopting a Mesh network group; and randomly receiving and storing the electric energy data sent by other electric energy meter devices;
the acquisition base station server is used for acquiring the electric energy data stored by each electric energy meter device in real time, and generating a blockchain for storing information summaries according to the acquired electric energy data and the acquisition time sequence; and sending a data uploading request to a terminal server at regular time;
the terminal server is used for calling the blockchain uploaded by the acquisition base station server according to the data uploading request of the acquisition base station server.
As an improvement of the above solution, the electric energy meter device is specifically used for:
verifying the identity of the electric energy meter equipment for transmitting the electric energy data;
and after the identity verification of the electric energy meter device transmitting the electric energy data is passed, randomly receiving and storing part or all of the electric energy data transmitted by the electric energy meter device transmitting the electric energy data.
As an improvement of the above solution, the acquisition base station server is specifically configured to:
collecting the electric energy data stored by each electric energy meter device in real time;
detecting the consistency of the electric energy data acquired by the self and the electric energy data stored by the electric energy meter equipment; detecting the availability of the electric energy data acquired by the self; detecting partition tolerance of the electric energy data acquired by the self;
when the collected electric energy data meet preset consistency, availability and partition tolerance conditions, generating a blockchain for storing information summaries according to the collected electric energy data according to a collection time sequence;
and sending a data uploading request to the terminal server at regular time.
Compared with the prior art, the safety storage method and system for the electric energy data are disclosed by the invention, each electric energy meter device stores the electric energy data of the electric energy meter device in real time, and the electric energy data stored by the electric energy meter device is sent to other electric energy meter devices by adopting a Mesh network group; and randomly receiving and storing the electric energy data sent by other electric energy meter devices; the acquisition base station server acquires the electric energy data stored by each electric energy meter device in real time, and generates a blockchain for storing the information abstract according to the acquired electric energy data and the acquisition time sequence; and sending a data uploading request to a terminal server at regular time; and the terminal server invokes the blockchain uploaded by the acquisition base station server according to the data uploading request of the acquisition base station server. According to the embodiment of the invention, the random scattered storage of the electric energy data is realized by associating the electric energy meter devices, the possibility that the electric energy data is tampered in the storage and transmission processes is effectively avoided, the reliability, availability and access efficiency of the electric energy data storage and transmission are improved, and the electric energy meter device is easy to expand.
Drawings
FIG. 1 is a schematic diagram illustrating steps of a method for securely storing electrical energy data according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a real-time data acquisition system according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a secure storage system for electrical energy data according to an embodiment of the present invention;
FIG. 4 is a block diagram of a data processing flow of a secure storage system for power data in accordance with an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a schematic diagram of steps of a method for securely storing electric energy data according to an embodiment of the present invention is shown.
It should be noted that, the method for safely storing electric energy data provided by the embodiment of the invention can be executed by the system for safely storing electric energy data, and the embodiment uses each component module in the system for safely storing electric energy data as an execution main body. The safe storage system of the electric energy data comprises a terminal server, a base station acquisition server and a plurality of electric energy meter devices.
In the embodiment of the present invention, the method for safely storing the electrical energy data is performed by steps S1 to S3:
s1, each electric energy meter device stores own electric energy data in real time, and the Mesh network group is adopted to send the own stored electric energy data to other electric energy meter devices; and randomly receiving and storing the electric energy data sent by other electric energy meter devices.
S2, the acquisition base station server acquires the electric energy data stored by each electric energy meter device in real time, and generates a blockchain for storing information summaries according to the acquired electric energy data and the acquisition time sequence; and periodically transmits a data uploading request to the terminal server.
And S3, the terminal server invokes the blockchain uploaded by the acquisition base station server according to the data uploading request of the acquisition base station server.
In the embodiment of the present invention, referring to fig. 2, a schematic structural diagram of a real-time data acquisition system in the embodiment of the present invention is shown. Each electric energy meter device comprises a client or a memory, and the client or the memory is used for storing electric energy data generated by the data node and storing electric energy data sent by other electric energy meter devices. The appointed number of electric energy meter devices are associated in a Mesh network group mode to form a real-time data accounting system. In the real-time data accounting system, each electric energy meter device generates and stores electric energy data, and sends the electric energy data of the electric energy meter device to other electric energy meter devices in a broadcasting mode in a network communication mode, and meanwhile, the electric energy data of the other electric energy meter devices are received, so that the mutual storage of the electric energy data among data nodes is realized, and the possibility that the electric energy data of the electric energy meter devices are tampered is reduced.
Preferably, in step S1, the electric energy meter device randomly receives and stores electric energy data sent by other electric energy meter devices, and specifically includes:
s11, each electric energy meter device verifies the identity of the electric energy meter device which sends electric energy data;
and S12, after the identity verification of the electric energy meter device transmitting the electric energy data is passed, randomly receiving and storing part or all of the electric energy data transmitted by the electric energy meter device transmitting the electric energy data.
Specifically, each meter device has a fixed ID, and the meter device needs to verify the authenticity of its ID before receiving the power data sent by other meter devices. And after the identity verification is passed, randomly receiving the electric energy data sent by other electric energy meter equipment, and recording the received data on the respective account book to form a data block.
By adopting the embodiment of the invention, the identity of other electric energy meter equipment is verified, so that the possibility that a hacker invades a system to impersonate and send false data can be effectively reduced; the electric energy meter device only receives part or all of electric energy data sent by other electric energy meters, so that the randomness of electric energy data storage is increased on the basis of guaranteeing the integrity of electric energy data storage, and compared with the independent data storage of each electric energy meter device in the prior art, the situation that the electric power theft is caused by malicious tampering of the data of one electric energy meter device can be more effectively prevented.
Further, the acquisition base station server manages each electric energy meter device to form the real-time data acquisition system, so that the distributed storage of the real-time electric energy data is realized.
Preferably, in step S2, the collecting base station server collects the electric energy data stored in each electric energy meter device in real time, and generates a blockchain storing the information abstract from the collected electric energy data according to the collection time sequence, which specifically includes steps S21 to S23:
s21, the acquisition base station server acquires the electric energy data stored by each electric energy meter device in real time.
S22, the acquisition base station server detects the consistency of the electric energy data acquired by the acquisition base station server and the electric energy data stored by the electric energy meter equipment; detecting the availability of the electric energy data acquired by the self; detecting partition tolerance of the electric energy data acquired by the self;
s23, when the collected electric energy data meet preset consistency, availability and partition tolerance conditions, the collection base station server generates a blockchain for storing information summaries according to the collection time sequence from the collected electric energy data.
In the embodiment of the invention, the consistency means that the electric energy data transmitted between the base station server and each electric energy meter device are collected at the same time. Because the acquisition base station is connected with each electric energy meter through network communication, the network communication is not necessarily reliable, and when the network is abnormal, the inconsistency of electric energy data between the acquisition base station and each electric energy meter is easily caused. And the method for acquiring the Kendall W coordination coefficient of the base station server performs query and check on the consistency of the data. Whether the inconsistency occurs is judged by querying the state of the operation or querying the difference of the data or the message.
Specifically, the acquisition base station server detects the network connection state of the acquisition base station server and each electric energy meter device. When the network connection state with the electric energy meter equipment is abnormal, the electric energy data acquired by the electric energy meter equipment at the current moment is not consistent with the electric energy data of the electric energy meter equipment, namely the electric energy data acquired by the electric energy meter equipment is considered to meet the consistency condition; when the network connection state with the electric energy meter equipment is normal, the electric energy data acquired by the electric energy meter equipment at the current moment is considered to be consistent with the electric energy data of the electric energy meter equipment, namely the electric energy data acquired by the electric energy meter equipment is considered to not meet the consistency condition.
Preferably, when the collecting base station server detects that the power data does not meet the consistency condition, a compensation action needs to be performed. When the data of each electric energy meter is uploaded to the acquisition base station server in each operation, flash memory backup is firstly carried out locally, and when the acquisition base station server detects that the electric energy data are inconsistent, namely the data are transmitted and uploaded in a failed mode, the electric energy meter equipment is controlled to roll back to the transmitting operation to upload the data again.
Further, "availability" means that after the acquisition base station server sends an acquisition request to the electric energy meter device, the electric energy meter needs to process the request and respond in a limited time. When a problem occurs in read-write operation of more than a certain number of electric energy meter devices in the system, and a result cannot be returned in a preset time, the electric energy data currently collected by the collection base station server is considered to be unavailable.
Specifically, the collecting base station server detects whether the electric energy data collected by the collecting base station server is returned by electric energy meter devices exceeding a first preset number within a preset time threshold after the collecting base station server sends a collecting request. If yes, the electric energy data acquired by the self is considered to meet the availability condition; if not, the electric energy data acquired by the self-service device is considered to not meet the availability condition.
The preset time threshold and the first preset number may be set according to actual operation conditions, for example, the response result of the electric energy meter device that receives more than 80% of the total number within 5 minutes after the acquisition base station server sends the acquisition request is set, and the acquired electric energy data can be considered to satisfy the availability condition.
Further, "partition tolerance" means that the system can continue to operate when a network partition occurs, such as when the network breaks, programs bug, crashes, etc. After the problem of one or more electric energy meters, the normally-running clothes collecting base station server and other electric energy meters can still normally provide service, and the designed consistency and usability are met. The method for improving the partition tolerance is that the electric energy data of one electric energy meter device is sent and stored to a plurality of electric energy meter nodes, so that after the partition occurs, the data item can be distributed into each area, and the tolerance is improved. In general, the more nodes the power data is present, the higher the partition tolerance.
Specifically, the collecting base station server detects whether the electric energy data sent by each electric energy meter device receive the receiving replies of the electric energy meters exceeding the second preset quantity. If yes, the electric energy data acquired by the self is considered to meet the partition tolerance condition; if not, the electric energy data acquired by the self-service device is considered to not meet the partition tolerance condition.
The second preset number may be set according to actual operation conditions, for example, the second preset number is set to 50% of the total number of electric energy meter devices.
Further, when the acquisition base station server detects that the acquired electric energy data meets preset conditions of consistency, availability and partition tolerance, the acquisition base station server generates a blockchain for storing the information abstract according to the acquisition time sequence.
The blockchain is a chained database which is formed by combining data blocks in a sequential connection mode according to a time sequence, and is a distributed account book which is guaranteed in a cryptographic mode and cannot be tampered and counterfeited. In the embodiment of the invention, the collecting base station server performs summarization processing on the collected electric energy data of each electric energy meter device to generate an electric energy data abstract, generates a block chain according to the collecting time sequence, and sends a data uploading request to the terminal server at regular time.
Further, in step S3, the terminal server invokes the blockchain uploaded by the acquisition base station server according to the data upload request of the acquisition base station server, and specifically includes:
s31, the terminal server performs identity authentication on the acquisition base station server according to the data uploading request of the acquisition base station server.
S32, when the identity authentication of the acquisition base station server is passed, the blockchain uploaded by the acquisition base station server is called.
Specifically, the acquisition base station server sends an uploading request to the blockchain network, and parameters such as hash values, information types and the like are transmitted into the blockchain network; the block chain link point receives the request, firstly verifies the user identity, binds the hash value, the client ID, the data acquisition node ID, the query data type and the data acquisition time through the post-execution intelligent contract, and broadcasts the request to other nodes to execute the same operation; and then writing the execution result into the blockchain ledger after consensus among the nodes is achieved.
In the embodiment of the invention, the identity authentication between the acquisition base station server and the terminal server is based on a digital signature algorithm, and a public key encryption technology is adopted to generate a digital certificate for each data abstract so as to identify the identity of the user. The sender of the data digest generates a hash value from the text of the data digest, and the sender encrypts the hash value with its own private key to form the sender's digital signature. This digital signature is then sent to the recipient as an attachment to the message along with the data summary message. The receiving side of the message first calculates a hash value from the received original message, and then decrypts the digital signature attached to the message with the public key of the sending side. If the two hash values are identical, the recipient confirms the sender identity of the digital signature. The identity authentication of the original data abstract can be realized through digital signature.
By adopting the technical means of the embodiment of the invention, the terminal server receives the blockchain from each real-time data acquisition system and changes the original situation of facing a large number of electric energy meter devices into the situation of facing a plurality of real-time data acquisition systems. Because the terminal server accesses each real-time system in a time-sharing way, the problems of huge storage consumption and waste of a large amount of resources caused by independent uploading of data by the electric energy meter equipment in the prior art are solved, the terminal server can be better enabled to effectively schedule transportation resources to analyze corresponding data, and the defects of data blocking, multiple iterative data times and slow updating are effectively overcome. In addition, identity authentication is carried out in the data transmission process of the terminal server and the acquisition base station server, so that malicious tampering in the data uploading process is effectively avoided, and the safety of electric energy data is further provided.
In the embodiment of the invention, based on the characteristic of 'distributed' of the blockchain, the data barriers among departments can be opened, and information and data sharing can be realized. Different from the centralized data storage, the information on the blockchain is distributed to each node in a point-to-point broadcast mode, and the real recording of all the information is realized through the whole network witness, so that a common-knowledge mechanism is formed, and the purpose of secure storage which cannot be tampered is achieved.
The embodiment of the invention provides a safe storage method of electric energy data, each electric energy meter device stores the electric energy data of the electric energy meter device in real time, and a Mesh network group is adopted to send the electric energy data stored by the electric energy meter device to other electric energy meter devices; and randomly receiving and storing the electric energy data sent by other electric energy meter devices; the acquisition base station server acquires the electric energy data stored by each electric energy meter device in real time, and generates a blockchain for storing the information abstract according to the acquired electric energy data and the acquisition time sequence; and sending a data uploading request to a terminal server at regular time; and the terminal server invokes the blockchain uploaded by the acquisition base station server according to the data uploading request of the acquisition base station server. According to the embodiment of the invention, the random scattered storage of the electric energy data is realized by associating the electric energy meter devices, the possibility that the electric energy data is tampered in the storage and transmission processes is effectively avoided, the reliability, availability and access efficiency of the electric energy data storage and transmission are improved, and the electric energy meter device is easy to expand.
Referring to fig. 3 to 4, fig. 3 is a schematic structural diagram of a secure storage system for electric energy data according to an embodiment of the present invention; FIG. 4 is a block diagram of a data processing flow of a secure storage system for power data in accordance with an embodiment of the present invention. An embodiment of the present invention provides a secure storage system 20 for electrical energy data, comprising: a terminal server 21, a collection base station server 22 and a plurality of electric energy meter devices 23; wherein,,
the electric energy meter device 23 is used for storing the electric energy data of the electric energy meter device in real time, and sending the electric energy data stored by the electric energy meter device to other electric energy meter devices by adopting a Mesh network group; and randomly receiving and storing the electric energy data sent by other electric energy meter devices;
the base station server 22 is configured to collect, in real time, the electric energy data stored in each electric energy meter device, and generate a blockchain for storing the information abstract from the collected electric energy data according to a collection time sequence; and sending a data uploading request to a terminal server at regular time;
the terminal server 21 is configured to invoke a blockchain uploaded by the acquisition base station server according to a data upload request of the acquisition base station server.
As a preferred embodiment, the process of randomly receiving and storing the electric energy data sent by the other electric energy meter devices by the electric energy meter device 23 is specifically:
verifying the identity of the electric energy meter equipment for transmitting the electric energy data; and after the identity verification of the electric energy meter device transmitting the electric energy data is passed, randomly receiving and storing part or all of the electric energy data transmitted by the electric energy meter device transmitting the electric energy data.
As a preferred embodiment, the acquisition base station server 22 is specifically configured to:
and collecting the electric energy data stored by each electric energy meter device in real time. Detecting the consistency of the electric energy data acquired by the self and the electric energy data stored by the electric energy meter equipment; detecting the availability of the electric energy data acquired by the self; and detecting the partition tolerance of the power data acquired by the power generator. When the collected electric energy data meet preset consistency, availability and partition tolerance conditions, the collected electric energy data are generated into a blockchain for storing the information abstract according to the collection time sequence. And sending a data uploading request to the terminal server at regular time.
As a preferred embodiment, the terminal server 21 is specifically configured to:
according to the data uploading request of the acquisition base station server, identity authentication is carried out on the acquisition base station server; and when the identity authentication of the acquisition base station server is passed, the blockchain uploaded by the acquisition base station server is called.
It should be noted that, the secure storage system for electric energy data provided by the embodiment of the present invention is used for executing all the flow steps of the secure storage method for electric energy data in the foregoing embodiment, and the working principles and beneficial effects of the two correspond to each other one by one, so that the description is omitted.
The embodiment of the invention provides a safe storage system for electric energy data, which comprises the following components: terminal server, collection base station server and electric energy meter equipment. Each electric energy meter device stores own electric energy data in real time, and the Mesh network group is adopted to send the own stored electric energy data to other electric energy meter devices; and randomly receiving and storing the electric energy data sent by other electric energy meter devices; the acquisition base station server acquires the electric energy data stored by each electric energy meter device in real time, and generates a blockchain for storing the information abstract according to the acquired electric energy data and the acquisition time sequence; and sending a data uploading request to a terminal server at regular time; and the terminal server invokes the blockchain uploaded by the acquisition base station server according to the data uploading request of the acquisition base station server. According to the embodiment of the invention, the random scattered storage of the electric energy data is realized by associating the electric energy meter devices, the possibility that the electric energy data is tampered in the storage and transmission processes is effectively avoided, the reliability, availability and access efficiency of the electric energy data storage and transmission are improved, and the electric energy meter device is easy to expand.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.
Claims (10)
1. A method for secure storage of electrical energy data, comprising:
each electric energy meter device stores own electric energy data in real time, and the Mesh network group is adopted to send the own stored electric energy data to other electric energy meter devices; and randomly receiving and storing the electric energy data sent by other electric energy meter devices;
the acquisition base station server acquires the electric energy data stored by each electric energy meter device in real time, and generates a blockchain for storing the information abstract according to the acquired electric energy data and the acquisition time sequence; and sending a data uploading request to a terminal server at regular time;
and the terminal server invokes the blockchain uploaded by the acquisition base station server according to the data uploading request of the acquisition base station server.
2. The method for safely storing electric energy data according to claim 1, wherein the electric energy meter device randomly receives and stores the electric energy data transmitted by other electric energy meter devices, specifically comprising:
each electric energy meter device verifies the identity of the electric energy meter device which transmits electric energy data;
and after the identity verification of the electric energy meter device transmitting the electric energy data is passed, randomly receiving and storing part or all of the electric energy data transmitted by the electric energy meter device transmitting the electric energy data.
3. The method for safely storing the electric energy data according to claim 1, wherein the collecting base station server collects the electric energy data stored in each electric energy meter device in real time, and generates a blockchain storing the information abstract according to the collected electric energy data by the collecting time sequence, specifically comprising:
the acquisition base station server acquires the electric energy data stored by each electric energy meter device in real time;
the acquisition base station server detects the consistency of the electric energy data acquired by the acquisition base station server and the electric energy data stored by the electric energy meter equipment; detecting the availability of the electric energy data acquired by the self; detecting partition tolerance of the electric energy data acquired by the self;
when the collected electric energy data meet preset consistency, availability and partition tolerance conditions, the collection base station server generates a blockchain for storing the information abstract according to the collection time sequence from the collected electric energy data.
4. The method for securely storing electric energy data according to claim 3, wherein the collecting base station server detects the consistency of the electric energy data collected by itself and the electric energy data stored in the electric energy meter device, and specifically comprises:
the acquisition base station server detects the network connection state between the acquisition base station server and each electric energy meter device;
when the network connection state with the electric energy meter equipment is abnormal, the electric energy data acquired by the electric energy meter equipment at the current moment is considered to be inconsistent with the electric energy data of the electric energy meter equipment;
when the network connection state with the electric energy meter equipment is normal, the electric energy data acquired by the electric energy meter equipment at the current moment is considered to be consistent with the electric energy data of the electric energy meter equipment.
5. The method for securely storing electric energy data according to claim 3, wherein the collecting base station server detects the availability of the electric energy data collected by itself, and specifically comprises:
the acquisition base station server detects whether the electric energy data acquired by the acquisition base station server is returned by electric energy meter equipment exceeding a first preset quantity within a preset time threshold after the acquisition base station server sends an acquisition request;
if yes, the electric energy data acquired by the self is considered to meet the availability condition; if not, the electric energy data acquired by the self-service device is considered to not meet the availability condition.
6. The method for securely storing electric energy data according to claim 3, wherein the collecting base station server detects the partition tolerance of the electric energy data collected by itself, and specifically comprises:
the acquisition base station server detects whether the electric energy data sent by each electric energy meter device receive the receiving replies of the electric energy meters exceeding a second preset quantity or not;
if yes, the electric energy data acquired by the self is considered to meet the partition tolerance condition; if not, the electric energy data acquired by the self-service device is considered to not meet the partition tolerance condition.
7. The method for securely storing electric energy data according to claim 1, wherein the terminal server invokes the blockchain uploaded by the acquisition base station server according to the data uploading request of the acquisition base station server, specifically comprising:
the terminal server performs identity authentication on the acquisition base station server according to the data uploading request of the acquisition base station server;
and when the identity authentication of the acquisition base station server is passed, the blockchain uploaded by the acquisition base station server is called.
8. A secure storage system for electrical energy data, comprising: the system comprises a terminal server, a base station acquisition server and a plurality of electric energy meter devices; wherein,,
the electric energy meter device is used for storing the electric energy data of the electric energy meter device in real time, and transmitting the electric energy data stored by the electric energy meter device to other electric energy meter devices by adopting a Mesh network group; and randomly receiving and storing the electric energy data sent by other electric energy meter devices;
the acquisition base station server is used for acquiring the electric energy data stored by each electric energy meter device in real time, and generating a blockchain for storing information summaries according to the acquired electric energy data and the acquisition time sequence; and sending a data uploading request to a terminal server at regular time;
the terminal server is used for calling the blockchain uploaded by the acquisition base station server according to the data uploading request of the acquisition base station server.
9. The secure storage system of electrical energy data of claim 8, wherein the electrical energy meter device is specifically configured to:
verifying the identity of the electric energy meter equipment for transmitting the electric energy data;
and after the identity verification of the electric energy meter device transmitting the electric energy data is passed, randomly receiving and storing part or all of the electric energy data transmitted by the electric energy meter device transmitting the electric energy data.
10. The secure storage system of power data of claim 8, wherein the acquisition base station server is configured to:
collecting the electric energy data stored by each electric energy meter device in real time;
detecting the consistency of the electric energy data acquired by the self and the electric energy data stored by the electric energy meter equipment; detecting the availability of the electric energy data acquired by the self; detecting partition tolerance of the electric energy data acquired by the self;
when the collected electric energy data meet preset consistency, availability and partition tolerance conditions, generating a blockchain for storing information summaries according to the collected electric energy data according to a collection time sequence;
and sending a data uploading request to the terminal server at regular time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011018591.7A CN112203247B (en) | 2020-09-24 | 2020-09-24 | Safe storage method and system for electric energy data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011018591.7A CN112203247B (en) | 2020-09-24 | 2020-09-24 | Safe storage method and system for electric energy data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112203247A CN112203247A (en) | 2021-01-08 |
CN112203247B true CN112203247B (en) | 2023-10-20 |
Family
ID=74007159
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011018591.7A Active CN112203247B (en) | 2020-09-24 | 2020-09-24 | Safe storage method and system for electric energy data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112203247B (en) |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105430057A (en) * | 2015-11-03 | 2016-03-23 | 上海新储集成电路有限公司 | Internet of Things (IoT) structure and data transmission method thereof |
CN107094155A (en) * | 2017-06-14 | 2017-08-25 | 广东工业大学 | A kind of secure storage method of data and device based on alliance's block chain |
CN107994991A (en) * | 2017-10-31 | 2018-05-04 | 深圳市轱辘车联数据技术有限公司 | A kind of data processing method, data processing server and storage medium |
CN108023879A (en) * | 2017-11-30 | 2018-05-11 | 济南浪潮高新科技投资发展有限公司 | A kind of NB-IOT device data acquisition system and methods based on block chain |
KR20180072325A (en) * | 2016-12-21 | 2018-06-29 | 한전케이디엔주식회사 | Smart meter and remote metering system |
CN108494605A (en) * | 2018-04-16 | 2018-09-04 | 华东师范大学 | A kind of energy net connection monitoring method and storage medium based on block chain |
CN108833490A (en) * | 2018-05-24 | 2018-11-16 | 郑州云海信息技术有限公司 | A kind of distributed data acquisition system and its method |
CN108881203A (en) * | 2018-06-08 | 2018-11-23 | 浙江捷尚人工智能研究发展有限公司 | Data managing method, electronic equipment, storage medium and system based on block chain |
KR20190084165A (en) * | 2017-12-21 | 2019-07-16 | 서강대학교산학협력단 | Remote meter read method and system using blockchain |
CN110247965A (en) * | 2019-06-13 | 2019-09-17 | 食品安全与营养(贵州)信息科技有限公司 | A kind of storage method and system of the IoT data-storage system based on block chain |
CN110472805A (en) * | 2018-05-11 | 2019-11-19 | 云丁智能科技(北京)有限公司 | A kind of ammeter data processing method and a kind of ammeter |
CN111125094A (en) * | 2019-11-25 | 2020-05-08 | 怀化建南电子科技有限公司 | Electric power data storage system based on block chain |
KR20200069034A (en) * | 2018-12-06 | 2020-06-16 | 한국과학기술연구원 | Method for preventing falsification data from being stored in network and system performing the method |
KR20200087327A (en) * | 2018-12-28 | 2020-07-21 | 달리웍스 주식회사 | System and method for providing data reliability based on blockchain for iot services |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019100063A1 (en) * | 2017-11-20 | 2019-05-23 | Moshe Shadmon | A system and apparatus to manage data using a peer-to-peer network and the blockchain |
-
2020
- 2020-09-24 CN CN202011018591.7A patent/CN112203247B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105430057A (en) * | 2015-11-03 | 2016-03-23 | 上海新储集成电路有限公司 | Internet of Things (IoT) structure and data transmission method thereof |
KR20180072325A (en) * | 2016-12-21 | 2018-06-29 | 한전케이디엔주식회사 | Smart meter and remote metering system |
CN107094155A (en) * | 2017-06-14 | 2017-08-25 | 广东工业大学 | A kind of secure storage method of data and device based on alliance's block chain |
CN107994991A (en) * | 2017-10-31 | 2018-05-04 | 深圳市轱辘车联数据技术有限公司 | A kind of data processing method, data processing server and storage medium |
CN108023879A (en) * | 2017-11-30 | 2018-05-11 | 济南浪潮高新科技投资发展有限公司 | A kind of NB-IOT device data acquisition system and methods based on block chain |
KR20190084165A (en) * | 2017-12-21 | 2019-07-16 | 서강대학교산학협력단 | Remote meter read method and system using blockchain |
CN108494605A (en) * | 2018-04-16 | 2018-09-04 | 华东师范大学 | A kind of energy net connection monitoring method and storage medium based on block chain |
CN110472805A (en) * | 2018-05-11 | 2019-11-19 | 云丁智能科技(北京)有限公司 | A kind of ammeter data processing method and a kind of ammeter |
CN108833490A (en) * | 2018-05-24 | 2018-11-16 | 郑州云海信息技术有限公司 | A kind of distributed data acquisition system and its method |
CN108881203A (en) * | 2018-06-08 | 2018-11-23 | 浙江捷尚人工智能研究发展有限公司 | Data managing method, electronic equipment, storage medium and system based on block chain |
KR20200069034A (en) * | 2018-12-06 | 2020-06-16 | 한국과학기술연구원 | Method for preventing falsification data from being stored in network and system performing the method |
KR20200087327A (en) * | 2018-12-28 | 2020-07-21 | 달리웍스 주식회사 | System and method for providing data reliability based on blockchain for iot services |
CN110247965A (en) * | 2019-06-13 | 2019-09-17 | 食品安全与营养(贵州)信息科技有限公司 | A kind of storage method and system of the IoT data-storage system based on block chain |
CN111125094A (en) * | 2019-11-25 | 2020-05-08 | 怀化建南电子科技有限公司 | Electric power data storage system based on block chain |
Non-Patent Citations (3)
Title |
---|
丁伟 ; 王国成 ; 许爱东 ; 陈华军 ; 洪超.能源区块链的关键技术及信息安全问题研究.《中国电机工程学报》.2017,全文. * |
基于区块链的智能电网监控;栗维勋;马斌;栗会峰;李宣义;;信息技术(第01期);全文 * |
基于联盟区块链的智能电网数据安全存储与共享系统;吴振铨;梁宇辉;康嘉文;余荣;何昭水;;计算机应用(第10期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112203247A (en) | 2021-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109766673B (en) | Alliance type audio and video copyright block chain system and audio and video copyright chaining method | |
CN111259070A (en) | Method and related device for storing and acquiring service data | |
EP4236195A2 (en) | Methods and systems for blockchain-implemented event-lock encryption | |
CN102546601B (en) | The servicing unit of cloud computing terminal for accessing virtual machine | |
CN110032545A (en) | File memory method, system and electronic equipment based on block chain | |
CN104699559B (en) | Backing up distributed data method and system | |
CN108876365A (en) | A kind of intelligent contract generating block issue mechanism | |
CN113301114B (en) | Block chain consensus node selection method and device, computer equipment and storage medium | |
CN111383021A (en) | Node management method, device, equipment and medium based on block chain network | |
JP2012150805A (en) | Systems and methods for detecting fraud associated with systems application processing | |
CN109951490A (en) | Webpage integrity assurance, system and electronic equipment based on block chain | |
CN104580240A (en) | Chat evidence fixing method and device | |
CN110580605A (en) | Block chain-based electronic warehouse receipt information storage system | |
CN112116349B (en) | High-throughput-rate-oriented random consensus method and device for drawing account book | |
CN104751566A (en) | Method for monitoring fake card risk and transaction processing system for achieving the method | |
CN113379420A (en) | Block chain execution intelligent contract method, computer equipment and block chain system | |
CN110321730A (en) | A kind of method, block chain node and the storage medium of operation data processing | |
CN113660216B (en) | Password attack detection method, device, electronic device and storage medium | |
CN112713996A (en) | Fault verification method based on block chain, server and terminal | |
CN112203247B (en) | Safe storage method and system for electric energy data | |
CN112398649A (en) | Method and system for encrypting server by using USBKey and CA | |
CN113869901B (en) | Key generation method, key generation device, computer-readable storage medium and computer equipment | |
Blümke et al. | Authentic batteries: a concept for a battery pass based on PUF-enabled certificates | |
CN111988202B (en) | Node switching method, device and storage medium | |
CN111506930A (en) | E-commerce transaction information management system and method based on block chain |
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 |