CN112560098B - Service data management method and device of electric power Internet of things - Google Patents

Service data management method and device of electric power Internet of things Download PDF

Info

Publication number
CN112560098B
CN112560098B CN202011531264.1A CN202011531264A CN112560098B CN 112560098 B CN112560098 B CN 112560098B CN 202011531264 A CN202011531264 A CN 202011531264A CN 112560098 B CN112560098 B CN 112560098B
Authority
CN
China
Prior art keywords
node
data
service data
data management
management node
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
CN202011531264.1A
Other languages
Chinese (zh)
Other versions
CN112560098A (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 CN202011531264.1A priority Critical patent/CN112560098B/en
Publication of CN112560098A publication Critical patent/CN112560098A/en
Application granted granted Critical
Publication of CN112560098B publication Critical patent/CN112560098B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/35Utilities, e.g. electricity, gas or water
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y30/00IoT infrastructure
    • G16Y30/10Security thereof
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/50Safety; Security of things, users, data or systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2151Time stamp

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Medical Informatics (AREA)
  • Automation & Control Theory (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application discloses a service data management method and device of an electric power Internet of things, electronic equipment and a storage medium. According to the technical scheme provided by the embodiment of the application, the intelligent ammeter is used for storing the service data packet to each public node or private node in a distributed manner according to the storage attribute of the service data; when the data management node extracts service data, the data management node sends a data request to each public node or each private node, each public node returns a corresponding service data packet to the data management node in response to the data request, or each private node performs consensus verification on the identity of the data management node in response to the data request, and if the identity of the data management node is judged to be legal, each private node returns the corresponding service data packet to the data management node. By adopting the technical means, the safety of data storage can be adaptively improved while the data management efficiency is ensured, and the service data management of the electric power Internet of things is optimized.

Description

Service data management method and device of electric power Internet of things
Technical Field
The embodiment of the application relates to the technical field of electric power Internet of things, in particular to a business data management method, a business data management device, electronic equipment and a storage medium of the electric power Internet of things.
Background
At present, with the development of the internet of things technology, more power systems originally introduce the internet of things technology to construct the 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 surrounds all links of an electric power system, fully applies modern information technologies such as mobile interconnection and artificial intelligence and advanced communication technologies, realizes all-thing interconnection and man-machine interaction of all links of the electric power system, and has the characteristics of comprehensive state perception, high-efficiency information processing and convenience and flexibility in application. In the electric power internet of things, automatic acquisition of user electricity data is generally realized through an intelligent ammeter, and the acquired electricity data is uploaded to a background server for data management and other system services.
However, the mode of storing and managing electricity data of the existing electric power internet of things is single, and good safety management is lacked.
Disclosure of Invention
The embodiment of the application provides a service data management method, device, electronic equipment and storage medium of an electric power Internet of things, which can adaptively improve the safety of data storage while ensuring the data management efficiency and optimize the service data management of the electric power Internet of things.
In a first aspect, an embodiment of the present application provides a service data management method for an electric power internet of things, including:
The intelligent ammeter determines the storage attribute of the service data based on the data type of the current service data, wherein the storage attribute comprises public attribute and private attribute;
the intelligent ammeter splits the service data into a plurality of service data packets which are redundant with each other, and the service data packets are distributed and stored to each public node or private node according to the storage attribute of the service data, wherein the service data packets comprise identification information of the intelligent ammeter and timestamp information corresponding to the service data;
when a data management node extracts the service data, the data management node sends a data request to each public node or each private node, wherein the data request comprises the identification information and the timestamp information corresponding to the service data;
And each public node returns a corresponding service data packet to the data management node in response to the data request, or each private node performs consensus verification on the identity of the data management node in response to the data request, judges whether the identity of the data management node is legal, and if the identity of the data management node is judged to be legal, each private node returns the corresponding service data packet to the data management node.
Further, before the smart meter determines the storage attribute of the service data based on the data type of the current service data, the smart meter further includes:
the data management node constructs a mapping relation between each data type and the corresponding storage attribute in advance, and issues the mapping relation to the intelligent ammeter;
Correspondingly, the smart meter determines the storage attribute of the service data based on the data type of the current service data, and the smart meter comprises:
And the intelligent ammeter queries the mapping relation based on the data type of the service data and determines the storage attribute of the service data.
Further, after the data management node constructs in advance the mapping relation between each data type and the corresponding storage attribute, the mapping relation is issued to the smart meter, the method further includes:
And the data management node modifies the corresponding mapping relation according to the real-time service data storage requirement and updates the corresponding mapping relation to the intelligent electric meter.
Further, each public node returns a corresponding service data packet to the data management node in response to the data request, including:
Each public node extracts the corresponding service data packet according to the identification information and the timestamp information in the data request and sends the service data packet to the data management node;
correspondingly, each private node returns the corresponding service data packet to the data management node, including:
and each private node extracts the corresponding service data packet according to the identification information and the timestamp information in the data request and sends the service data packet to the data management node.
Further, each private node performs consensus verification on the identity of the data management node in response to the data request, and determining whether the identity of the data management node is legal includes:
Each private node verifies the identity of the data management node according to pre-stored verification information, a first identity verification result is generated, the first identity verification result is summarized to a designated common node, the common node is selected from a plurality of private nodes in advance, and the verification information is stored in each private node by the data management node in advance;
And the consensus node generates a consensus verification result based on each first identity verification result, and determines whether the identity of the data management node is legal or not based on the consensus verification result.
Further, after each private node performs consensus verification on the identity of the data management node in response to the data request, determining whether the identity of the data management node is legal, the method further includes:
The data management node periodically updates the authentication information of the data management node and updates the authentication information to each private node.
Further, after each public node returns a corresponding service data packet to the data management node in response to the data request, the method further includes:
the data management node analyzes the service data packet, screens out mutually redundant data and restores the service data;
or after each private node returns the corresponding service data packet to the data management node, the method further comprises:
and the data management node analyzes the service data packet, screens out the mutually redundant data and restores the service data.
In a second aspect, an embodiment of the present application provides a service data management device for an electric power internet of things, including:
The system comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining the storage attribute of the service data based on the data type of the current service data through the intelligent ammeter, and the storage attribute comprises a public attribute and a private attribute;
the storage module is used for splitting the service data into a plurality of service data packets which are redundant with each other through the intelligent electric meter, and storing the service data packets to each public node or private node in a distributed mode according to the storage attribute of the service data, wherein the service data packets comprise identification information of the intelligent electric meter and timestamp information corresponding to the service data;
The request module is used for sending a data request to each public node or each private node when the data management node extracts the service data, wherein the data request comprises the identification information and the timestamp information corresponding to the service data;
And the response module is used for responding the data request by each public node to return a corresponding service data packet to the data management node, or responding the data request by each private node to carry out consensus verification on the identity of the data management node, judging whether the identity of the data management node is legal, and if so, returning the corresponding service data packet to the data management node by each private node.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a memory and one or more processors;
the memory is used 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 service data management method of the electric power internet of things according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a storage medium containing computer executable instructions, which when executed by a computer processor, are for performing the business data management method of the power internet of things as described in the first aspect.
According to the embodiment of the application, the intelligent ammeter determines the storage attribute of the service data based on the data type of the current service data, wherein the storage attribute comprises public attribute and private attribute; the intelligent ammeter splits the service data into a plurality of service data packets which are redundant with each other, and the service data packets are distributed and stored to each public node or private node according to the storage attribute of the service data, wherein the service data packets comprise identification information of the intelligent ammeter and timestamp information of corresponding service data; when the data management node extracts service data, the data management node sends a data request to each public node or each private node, wherein the data request comprises identification information and timestamp information of corresponding service data; each public node responds to the data request to return a corresponding service data packet to the data management node, or each private node responds to the data request to carry out consensus verification on the identity of the data management node, judges whether the identity of the data management node is legal, and if the identity of the data management node is judged to be legal, each private node returns the corresponding service data packet to the data management node. By adopting the technical means, the safety of data storage can be adaptively improved while the data management efficiency is ensured, and the service data management of the electric power Internet of things is optimized.
Drawings
Fig. 1 is a flowchart of a service data management method of an electric power internet of things according to an embodiment of the present application;
fig. 2 is a schematic diagram of a system architecture of an electric power internet of things according to a first embodiment of the present application;
FIG. 3 is a flow chart of consensus verification in a first embodiment of the present application;
FIG. 4 is a flow chart of business data storage and extraction according to a first embodiment of the application;
Fig. 5 is a schematic structural diagram of a service data management device of an electric power internet of things according to a second embodiment of the present application;
fig. 6 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, the following detailed description of specific embodiments of the present application is given 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 thereof. It should be further noted that, for convenience of description, only some, but not all of the matters related to the present application are shown in the accompanying drawings. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or at the same time. Furthermore, the order of the operations may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Embodiment one:
Fig. 1 shows a flowchart of a service data management method of an electric power internet of things according to an embodiment of the present application, where the service data management method of the electric power internet of things provided in the embodiment may be executed by service data management equipment of the electric power internet of things, where the service data management equipment of the electric power internet of things may be implemented by software and/or hardware, and the service data management equipment of the electric power internet of things may be formed by two or more physical entities or may be formed by one physical entity. Generally, the service data management device of the electric power internet of things may be an electric power internet of things system.
The following description will take a main body of a service data management device of the electric power internet of things as an example to execute a service data management method of the electric power internet of things. Referring to fig. 1, the service data management method of the electric power internet of things specifically includes:
S110, the intelligent ammeter determines storage attributes of the service data based on the data type of the current service data, wherein the storage attributes comprise public attributes and private attributes.
The business data management method of the electric power Internet of things aims at selecting a corresponding business data storage mode according to the data type of business data, so that the safety of business data storage and extraction is adaptively improved, the efficiency of data extraction is guaranteed, and the operation of the electric power Internet of things is optimized.
Specifically, referring to fig. 2, in the electric power internet of things system, each smart meter 11 is respectively connected with the public node 12 and the private node 13 in a signal manner, and is used for storing service data of the smart meter 11. The public nodes 12 and the private nodes 13 are arranged in a plurality, and when the intelligent ammeter 11 stores service data, the service data is stored to the public nodes 12 or the private nodes 13 according to the data type of the service data, so that the service data is stored. Correspondingly, the data management node 14 is in signal connection with the public node 12 and the private node 13, and is used for extracting service data stored by the public node 12 and the private node 13 so as to process related services of the electric power internet of things. The smart meter 11 is set corresponding to each electricity utilization unit, and collects and stores relevant service data generated in the household electricity utilization process. The public node 12 and the private node 13 are used for storing service data corresponding to the storage attribute, the public node 12 stores service data of the public attribute, and the private node 13 stores service data of the private attribute. The public node 12 can directly return corresponding service data according to the data request of the data management node 14, and the identity of the data management node is not required to be verified, so that the data management node can conveniently extract relevant service data to perform service processing, the service data processing efficiency is improved, and the operation of the electric power internet of things system is optimized. The private node 13 performs verification of identity validity of the data management node according to the data request of the data management node 14, so as to ensure security of the data extraction process and avoid the situation that the service data is stolen by illegal nodes. And corresponding to one end of the data management node, performing relevant service processing according to the extracted service data, so as to realize service operation processing of the electric power Internet of things system.
When the service data is stored, the intelligent ammeter determines the storage attribute of the current service data based on the data type of the service data. The storage attribute identifies the location where the business data needs to be stored. If the storage attribute of the current service data is a public attribute, the service data is required to be stored to a public node; if the storage attribute of the current service data is a private attribute, the service data needs to be stored to a private node. It will be appreciated that the smart meter generates numerous business data during the daily operation. The data types of the service data comprise user identity information, home address, electricity consumption data, ammeter operation log, safety monitoring data and the like, wherein part of the service data related to user privacy such as the user identity information, the home address, the electricity consumption data and the like is private, and the service data needs to be stored in a private node in order to avoid the fact that the part of the service data is stolen due to data leakage caused by network attack. And for partial service data with lower security requirements, the partial service data can be directly stored to a public node, and the subsequent data management node can directly extract the data when extracting the data, so that the efficiency of extracting and processing the partial service data is improved, and the processing efficiency of related services is further optimized.
Before that, the data management node constructs a mapping relation between each data type and the corresponding storage attribute in advance, and issues the mapping relation to the intelligent ammeter; correspondingly, when the intelligent ammeter determines the storage attribute of the service data based on the data type of the current service data, the intelligent ammeter queries the mapping relation based on the data type of the service data and determines the storage attribute of the service data. The data management node manages the storage attribute of each data type through the mapping relation, and configures the private attribute for each data type according to the actual storage requirement of the business data of each data type if the security requirement is higher and the business data needs to be stored in the private node. Otherwise, if the security requirement of the data type service data amount is not high, in order to facilitate the subsequent efficient extraction and processing of the part of service data, the part of service data needs to be stored to a public node, and then a public attribute is configured for the data type.
In one embodiment, the data management node modifies the corresponding mapping relationship according to the real-time service data storage requirement, and updates the corresponding mapping relationship to the smart meter. It can be understood that, according to the real-time service data storage requirement, if the storage attribute of the service data of a certain data type needs to be changed from a private attribute to a public attribute or from the public attribute to the private attribute, the data management node modifies the storage attribute in the corresponding mapping relationship and updates the modified mapping relationship to the corresponding smart meter, so as to complete the modification of the storage attribute of the service data of the corresponding data type. Further, in the embodiment of the application, after the storage attribute of the corresponding data type service data is modified, the corresponding data type service data stored in the original node is also subjected to storage node migration, and the part of service data is migrated according to the updated storage attribute, so that the service data stored in the corresponding storage node meets the real-time data storage requirement.
S120, the intelligent ammeter splits the service data into a plurality of service data packets which are redundant with each other, the service data packets are distributed and stored to each public node or private node according to the storage attribute of the service data, and the service data packets comprise identification information of the intelligent ammeter and timestamp information corresponding to the service data.
Further, after determining the storage attribute of the service data, the service data may be correspondingly stored to the public node or the private node according to the storage attribute of the service data. The public nodes and the private nodes are arranged in a plurality, and the service data are stored in a distributed mode by using the public nodes or the private nodes, so that the fault tolerance of the service data storage can be improved, the conditions that the data are easy to steal and lose due to the storage of a single node are avoided, and the safety of the service data storage is ensured.
Specifically, the intelligent ammeter splits the current service data into a plurality of service data packets, each data packet comprises partial service data, and each service data packet further comprises partial service data which are mutually redundant, so that the fault tolerance performance of service data storage is further improved. It can be understood that part of service data is redundantly backed up by each service data packet, so that even if the service data of one storage node is lost or the storage node fails, the service data of the rest storage nodes can be extracted, and the complete service data can be restored by the redundant backup service data.
After the intelligent ammeter splits the service data into a plurality of service data packets, each service data packet is further stored to each public node or private node according to the storage attribute of the service data. It should be noted that, each service data packet needs to include identification information of the smart meter and timestamp information of the service data. The subsequent data management node can conveniently query and extract the service data according to the corresponding identification information and the timestamp information.
S130, when a data management node extracts the service data, the data management node sends a data request to each public node or each private node, wherein the data request comprises the identification information and the timestamp information corresponding to the service data;
And S140, each public node returns a corresponding service data packet to the data management node in response to the data request, or each private node performs consensus verification on the identity of the data management node in response to the data request, judges whether the identity of the data management node is legal, and if so, each private node returns the corresponding service data packet to the data management node.
After the storage of the service data is completed, when the data management node needs to extract the corresponding service data, a data request is sent to the corresponding storage node. The data management node determines the storage attribute of the service data to be requested by inquiring the mapping relation, and then sends the data request to the corresponding public node or private node. Correspondingly, the data request comprises time stamp information of the service data to be requested and identification information of the corresponding intelligent ammeter, so that the storage node returns a corresponding service data packet based on the time stamp information and the identification information.
Further, after each public node or private node receives the data request, the response of the data request is correspondingly performed. And each public node extracts the corresponding service data packet according to the identification information and the timestamp information in the data request and sends the service data packet to the data management node. After each public node receives the data request, because the public node does not set a corresponding identity verification means in consideration of improving the efficiency of data extraction processing, when the public node responds to the data request, the service data packet stored in the public node is directly queried according to the timestamp information and the identification information, and the service data packet is returned to the data management node.
And one end of the corresponding private node needs to verify the identity of the data management node when responding to the data request in consideration of guaranteeing the data storage and extraction safety. Referring to fig. 3, each private node performs consensus verification on the identity of the data management node in response to the data request, and determining whether the identity of the data management node is legal includes:
s1401, each private node verifies the identity of the data management node according to pre-stored verification information, a first identity verification result is generated, the first identity verification result is summarized to a designated consensus node, the consensus node is selected from a plurality of private nodes in advance, and the verification information is stored in each private node by the data management node in advance;
and S1402, the consensus node generates a consensus verification result based on each first identity verification result, and determines whether the identity of the data management node is legal or not based on the consensus verification result.
The embodiment of the application adopts a block chain-based consensus verification mode to carry out the identity verification of the data management node. Before that, the legal data management node stores authentication information of its own identity in each private node in advance for subsequent authentication of the private node. When a data request response of the data management node is carried out, the private node compares the authentication information stored by the private node with the authentication information provided by the data management node in real time, and the authentication information can be sent to the private node together with the data request. And judging whether the verification information and the verification information are consistent according to the verification information comparison result, and outputting a corresponding first identity verification result. Considering that a single private node has the influence of network attack and manipulation, the embodiment of the application does not directly take the identity verification result of the single private node as a final identity verification result. But performs the consensus verification based on the first authentication result of each private node to determine the final authentication result. And selecting one private node from all the private nodes as a consensus node, and summarizing the first identity verification result of each private node by the consensus node to perform consensus verification. And the common identification verification adopts a mode of minority compliance, and if the first identity verification result judges that the identity legal proportion of the current data management node exceeds 50%, the identity legal proportion of the data management node is determined. Otherwise, the current data management node is not legal, the data request is ignored, and the data request response is not carried out on the current data management node. After verifying that the data management node is legal, each private node extracts the corresponding service data packet according to the identification information and the timestamp information in the data request and sends the service data packet to the data management node, so that the response of the data request is completed.
In one embodiment, the data management node periodically updates the authentication information of itself and updates the authentication information to each of the private nodes. It can be understood that in order to avoid that verification information is cracked and forged, so that an illegal node can easily acquire service data stored by a private node, the embodiment of the application periodically updates the self verification information through a data management node and updates the verification information to each private node, thereby increasing the difficulty of stealing the service data, improving the safety of data storage and extraction and optimizing the operation of the electric power Internet of things.
Further, after each public node responds to the data request and returns a corresponding service data packet to the data management node, the data management node analyzes the service data packet, screens out mutually redundant data and restores the service data; or after each private node returns the corresponding service data packet to the data management node, the data management node analyzes the service data packet, screens out the mutually redundant data, and restores the service data. It can be understood that, because each service data packet includes a part of service data that are redundant with each other, when the complete service data is restored according to the service data packet, the data management node screens out the redundant part of service data between the service data packets, and further restores to obtain the complete service data, and processes related services of the electric power internet of things based on the service data.
Referring to fig. 4, in the embodiment of the present application, the storage attribute of the service data is determined by the smart meter based on the data type of the current service data, where the storage attribute includes a public attribute and a private attribute; the intelligent ammeter splits the service data into a plurality of service data packets which are redundant with each other, and the service data packets are distributed and stored to each public node or private node according to the storage attribute of the service data, wherein the service data packets comprise identification information of the intelligent ammeter and timestamp information of corresponding service data; when the data management node extracts service data, the data management node sends a data request to each public node or each private node, wherein the data request comprises identification information and timestamp information of corresponding service data; each public node responds to the data request to return a corresponding service data packet to the data management node, or each private node responds to the data request to carry out consensus verification on the identity of the data management node, judges whether the identity of the data management node is legal, and if the identity of the data management node is judged to be legal, each private node returns the corresponding service data packet to the data management node. By adopting the technical means, the safety of data storage can be adaptively improved while the data management efficiency is ensured, and the service data management of the electric power Internet of things is optimized.
Embodiment two:
On the basis of the foregoing embodiments, fig. 5 is a schematic structural diagram of a service data management device of an electric power internet of things according to a second embodiment of the present application. Referring to fig. 5, the service data management device of the electric power internet of things provided in this embodiment specifically includes: a determination module 21, a storage module 22, a request module 23 and a response module 24.
The determining module 21 is configured to determine, by using the smart meter, a storage attribute of the service data based on a data type of the current service data, where the storage attribute includes a public attribute and a private attribute;
The storage module 22 is configured to split the service data into a plurality of service data packets that are redundant with each other through the smart meter, and store the service data packets to each public node or private node in a distributed manner according to a storage attribute of the service data, where the service data packets include identification information of the smart meter and timestamp information corresponding to the service data;
The request module 23 is configured to send a data request to each public node or each private node when the data management node extracts the service data, where the data request includes the identification information and the timestamp information corresponding to the service data;
The response module 24 is configured to return, by each public node, a corresponding service data packet to the data management node in response to the data request, or each private node performs consensus verification on an identity of the data management node in response to the data request, determine whether the identity of the data management node is legal, and if it is determined that the identity of the data management node is legal, return, by each private node, the corresponding service data packet to the data management node.
Determining storage attributes of the service data based on the data type of the current service data by the intelligent ammeter, wherein the storage attributes comprise public attributes and private attributes; the intelligent ammeter splits the service data into a plurality of service data packets which are redundant with each other, and the service data packets are distributed and stored to each public node or private node according to the storage attribute of the service data, wherein the service data packets comprise identification information of the intelligent ammeter and timestamp information of corresponding service data; when the data management node extracts service data, the data management node sends a data request to each public node or each private node, wherein the data request comprises identification information and timestamp information of corresponding service data; each public node responds to the data request to return a corresponding service data packet to the data management node, or each private node responds to the data request to carry out consensus verification on the identity of the data management node, judges whether the identity of the data management node is legal, and if the identity of the data management node is judged to be legal, each private node returns the corresponding service data packet to the data management node. By adopting the technical means, the safety of data storage can be adaptively improved while the data management efficiency is ensured, and the service data management of the electric power Internet of things is optimized.
The service data management device of the electric power internet of things provided by the embodiment II of the application can be used for executing the service data management method of the electric power internet of things provided by the embodiment I of the application, and has corresponding functions and beneficial effects.
Embodiment III:
an electronic device according to a third embodiment of the present application, referring to fig. 6, includes: processor 31, memory 32, communication module 33, input device 34 and 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 used as a computer readable storage medium, and may be used to store a software program, a computer executable program, and a module, which are program instructions/modules corresponding to the service data management method of the electric power internet of things according to any embodiment of the present application (for example, a determining module, a storage module, a request module, and a response module in the service data management device of the electric power internet of things). The memory may mainly include a memory program area and a memory data area, wherein the memory program area may store an operating system, at least one application program required for a function; the storage data area may store data created according to the use of the device, etc. In addition, 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 remotely located with respect to the processor, the remote memory being connectable to the device through 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, that is, implements the service data management method of the electric power internet of things described above.
The input means 34 may be used to receive entered numeric or character information and to generate key signal inputs related to user settings and function control of the device. The output means 35 may comprise a display device such as a display screen.
The electronic device provided by the embodiment can be used for executing the service data management method of the electric power internet of things, and has corresponding functions and beneficial effects.
Embodiment four:
The embodiment of the application also provides a storage medium containing computer executable instructions, which when executed by a computer processor, are used for executing a service data management method of the electric power internet of things, and the service data management method of the electric power internet of things comprises the following steps: the intelligent ammeter determines the storage attribute of the service data based on the data type of the current service data, wherein the storage attribute comprises public attribute and private attribute; the intelligent ammeter splits the service data into a plurality of service data packets which are redundant with each other, and the service data packets are distributed and stored to each public node or private node according to the storage attribute of the service data, wherein the service data packets comprise identification information of the intelligent ammeter and timestamp information corresponding to the service data; when a data management node extracts the service data, the data management node sends a data request to each public node or each private node, wherein the data request comprises the identification information and the timestamp information corresponding to the service data; and each public node returns a corresponding service data packet to the data management node in response to the data request, or each private node performs consensus verification on the identity of the data management node in response to the data request, judges whether the identity of the data management node is legal, and if the identity of the data management node is judged to be legal, each private node returns the corresponding service data packet to the data management node.
Storage media-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.; nonvolatile 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 second, different 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) executable by one or more processors.
Of course, the storage medium containing the computer executable instructions provided by the embodiment of the application is not limited to the service data management method of the electric power internet of things, and related operations in the service data management method of the electric power internet of things provided by any embodiment of the application can be executed.
The service data management device, the storage medium and the electronic device of the power internet of things provided in the foregoing embodiments may execute the service data management method of the power internet of things provided in any embodiment of the present application, and technical details not described in detail in the foregoing embodiments may refer to the service data management method of the power internet of things provided in any embodiment of the present application.
The foregoing description is only of the preferred embodiments of the application and the technical principles employed. The present application is not limited to the specific embodiments described herein, but is capable of numerous modifications, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, while the application has been described in connection with the above embodiments, the application is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit of the application, the scope of which is set forth in the following claims.

Claims (9)

1. The business data management method of the electric power Internet of things is characterized by comprising the following steps of:
The intelligent ammeter determines the storage attribute of the service data based on the data type of the current service data, wherein the storage attribute comprises public attribute and private attribute;
the intelligent ammeter splits the service data into a plurality of service data packets which are redundant with each other, and the service data packets are distributed and stored to each public node and each private node according to the storage attribute of the service data, wherein the service data packets comprise identification information of the intelligent ammeter and timestamp information corresponding to the service data;
when a data management node extracts the service data, the data management node sends a data request to each public node and each private node, wherein the data request comprises the identification information and the timestamp information corresponding to the service data;
Each public node responds to the data request and returns a corresponding service data packet to the data management node, each private node responds to the data request and carries out consensus verification on the identity of the data management node, whether the identity of the data management node is legal or not is judged, and if the identity of the data management node is judged to be legal, each private node returns the corresponding service data packet to the data management node;
Each private node responds to the data request to carry out consensus verification on the identity of the data management node, and judging whether the identity of the data management node is legal or not comprises the following steps:
Each private node verifies the identity of the data management node according to pre-stored verification information, a first identity verification result is generated, the first identity verification result is summarized to a designated common node, the common node is selected from a plurality of private nodes in advance, and the verification information is stored in each private node by the data management node in advance;
And the consensus node generates a consensus verification result based on each first identity verification result, and determines whether the identity of the data management node is legal or not based on the consensus verification result.
2. The business data management method of the electric power internet of things according to claim 1, further comprising, before the smart meter determines the storage attribute of the business data based on the data type of the current business data:
the data management node constructs a mapping relation between each data type and the corresponding storage attribute in advance, and issues the mapping relation to the intelligent ammeter;
Correspondingly, the smart meter determines the storage attribute of the service data based on the data type of the current service data, and the smart meter comprises:
And the intelligent ammeter queries the mapping relation based on the data type of the service data and determines the storage attribute of the service data.
3. The business data management method of the electric power internet of things according to claim 2, wherein after the data management node constructs in advance a mapping relation between each data type and the corresponding storage attribute, the mapping relation is issued to the smart meter, the business data management method further comprises:
And the data management node modifies the corresponding mapping relation according to the real-time service data storage requirement and updates the corresponding mapping relation to the intelligent electric meter.
4. The method for managing service data of the electric power internet of things according to claim 1, wherein each public node returns a corresponding service data packet to the data management node in response to the data request, comprising:
Each public node extracts the corresponding service data packet according to the identification information and the timestamp information in the data request and sends the service data packet to the data management node;
correspondingly, each private node returns the corresponding service data packet to the data management node, including:
and each private node extracts the corresponding service data packet according to the identification information and the timestamp information in the data request and sends the service data packet to the data management node.
5. The business data management method of the electric power internet of things according to claim 1, wherein after each private node performs consensus verification on the identity of the data management node in response to the data request, determining whether the identity of the data management node is legal, further comprising:
The data management node periodically updates the authentication information of the data management node and updates the authentication information to each private node.
6. The method for managing service data of the power internet of things according to claim 1, further comprising, after each public node returns a corresponding service data packet to the data management node in response to the data request:
the data management node analyzes the service data packet, screens out mutually redundant data and restores the service data;
or after each private node returns the corresponding service data packet to the data management node, the method further comprises:
and the data management node analyzes the service data packet, screens out the mutually redundant data and restores the service data.
7. The utility model provides a business data management device of electric power thing networking which characterized in that includes:
The system comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining the storage attribute of the service data based on the data type of the current service data through the intelligent ammeter, and the storage attribute comprises a public attribute and a private attribute;
The storage module is used for splitting the service data into a plurality of service data packets which are redundant with each other through the intelligent electric meter, and storing the service data packets to each public node and each private node in a distributed mode according to the storage attribute of the service data, wherein the service data packets comprise identification information of the intelligent electric meter and timestamp information corresponding to the service data;
the request module is used for sending a data request to each public node and each private node when the data management node extracts the service data, wherein the data request comprises the identification information and the timestamp information corresponding to the service data;
The response module is used for responding to the data request by each public node and returning a corresponding service data packet to the data management node, each private node responds to the data request and carries out consensus verification on the identity of the data management node, whether the identity of the data management node is legal or not is judged, and if the identity of the data management node is judged to be legal, each private node returns the corresponding service data packet to the data management node;
Each private node responds to the data request to carry out consensus verification on the identity of the data management node, and judging whether the identity of the data management node is legal or not comprises the following steps:
Each private node verifies the identity of the data management node according to pre-stored verification information, a first identity verification result is generated, the first identity verification result is summarized to a designated common node, the common node is selected from a plurality of private nodes in advance, and the verification information is stored in each private node by the data management node in advance;
And the consensus node generates a consensus verification result based on each first identity verification result, and determines whether the identity of the data management node is legal or not based on the consensus verification result.
8. An electronic device, comprising:
a memory and one or more processors;
the memory is used 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 service data management method of the electric power internet of things according to any one of claims 1-6.
9. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the business data management method of the power internet of things of any of claims 1-6.
CN202011531264.1A 2020-12-22 2020-12-22 Service data management method and device of electric power Internet of things Active CN112560098B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011531264.1A CN112560098B (en) 2020-12-22 2020-12-22 Service data management method and device of electric power Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011531264.1A CN112560098B (en) 2020-12-22 2020-12-22 Service data management method and device of electric power Internet of things

Publications (2)

Publication Number Publication Date
CN112560098A CN112560098A (en) 2021-03-26
CN112560098B true CN112560098B (en) 2024-05-14

Family

ID=75031684

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011531264.1A Active CN112560098B (en) 2020-12-22 2020-12-22 Service data management method and device of electric power Internet of things

Country Status (1)

Country Link
CN (1) CN112560098B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194708A (en) * 2018-07-24 2019-01-11 哈尔滨工程大学 A kind of distributed memory system and its identity identifying method based on block chain technology
CN109285005A (en) * 2018-08-16 2019-01-29 北京京东尚科信息技术有限公司 Method for dividing and processing, device, block chain node and the storage medium of block chain
US10291395B1 (en) * 2018-01-25 2019-05-14 Fortress Cyber Security, LLC Secure storage of data via a distributed ledger system
CN109982318A (en) * 2019-04-03 2019-07-05 成都中科微信息技术研究院有限公司 A kind of electric power wireless private network data encryption and transmission method
CN110109930A (en) * 2019-05-15 2019-08-09 山东省计算中心(国家超级计算济南中心) Government data storage, querying method and system based on block chain duplex structure
CN110647559A (en) * 2019-09-24 2020-01-03 腾讯科技(深圳)有限公司 Data processing method, related node and system
CN110929293A (en) * 2019-12-11 2020-03-27 佛山科学技术学院 Beauty data storage system based on block chain
CN111259070A (en) * 2019-11-28 2020-06-09 国网山东省电力公司 Method and related device for storing and acquiring service data
CN111506667A (en) * 2020-06-18 2020-08-07 海南安迈云网络技术有限公司 Calculation capacity transaction information data storage method based on partition authentication technology
CN111737236A (en) * 2020-08-26 2020-10-02 江苏云柜网络技术有限公司 Data management method and system for intelligent express cabinet service
CN111865993A (en) * 2020-07-23 2020-10-30 北京天融信网络安全技术有限公司 Identity authentication management method and device, distributed system and readable storage medium
CN111885053A (en) * 2020-07-22 2020-11-03 东莞市盟大塑化科技有限公司 Data processing method and device based on block chain and computer equipment
CN111901898A (en) * 2020-05-08 2020-11-06 广州技象科技有限公司 Terminal attachment method and device based on narrowband Internet of things
CN111913833A (en) * 2020-06-28 2020-11-10 华南理工大学 Medical Internet of things transaction system based on block chain

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110311883B (en) * 2018-03-27 2020-11-10 华为技术有限公司 Identity management method, device, communication network and storage medium
CN111831684B (en) * 2019-04-15 2024-04-05 北京沃东天骏信息技术有限公司 Data query method, device and computer readable storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10291395B1 (en) * 2018-01-25 2019-05-14 Fortress Cyber Security, LLC Secure storage of data via a distributed ledger system
CN109194708A (en) * 2018-07-24 2019-01-11 哈尔滨工程大学 A kind of distributed memory system and its identity identifying method based on block chain technology
CN109285005A (en) * 2018-08-16 2019-01-29 北京京东尚科信息技术有限公司 Method for dividing and processing, device, block chain node and the storage medium of block chain
CN109982318A (en) * 2019-04-03 2019-07-05 成都中科微信息技术研究院有限公司 A kind of electric power wireless private network data encryption and transmission method
CN110109930A (en) * 2019-05-15 2019-08-09 山东省计算中心(国家超级计算济南中心) Government data storage, querying method and system based on block chain duplex structure
CN110647559A (en) * 2019-09-24 2020-01-03 腾讯科技(深圳)有限公司 Data processing method, related node and system
CN111259070A (en) * 2019-11-28 2020-06-09 国网山东省电力公司 Method and related device for storing and acquiring service data
CN110929293A (en) * 2019-12-11 2020-03-27 佛山科学技术学院 Beauty data storage system based on block chain
CN111901898A (en) * 2020-05-08 2020-11-06 广州技象科技有限公司 Terminal attachment method and device based on narrowband Internet of things
CN111506667A (en) * 2020-06-18 2020-08-07 海南安迈云网络技术有限公司 Calculation capacity transaction information data storage method based on partition authentication technology
CN111913833A (en) * 2020-06-28 2020-11-10 华南理工大学 Medical Internet of things transaction system based on block chain
CN111885053A (en) * 2020-07-22 2020-11-03 东莞市盟大塑化科技有限公司 Data processing method and device based on block chain and computer equipment
CN111865993A (en) * 2020-07-23 2020-10-30 北京天融信网络安全技术有限公司 Identity authentication management method and device, distributed system and readable storage medium
CN111737236A (en) * 2020-08-26 2020-10-02 江苏云柜网络技术有限公司 Data management method and system for intelligent express cabinet service

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Blockchain Based Metering and Billing System Proposal with Privacy Protection for the Electric Network;Ahmet Önder Gür等;Web of Science;全文 *
基于ATT7022E多功能电力数据采集系统的设计;王蓓;信息通信;第202卷(第2019/10期);61-63 *

Also Published As

Publication number Publication date
CN112560098A (en) 2021-03-26

Similar Documents

Publication Publication Date Title
CN102982141B (en) A kind of method and device realizing distributed data base agency
CN102915374B (en) A kind of method, Apparatus and system of resource access of controlling database
CN112333212B (en) Encryption management method and device for business data of power Internet of things
CN112333213B (en) Privacy protection method and device for business data of power Internet of things
CN106713391B (en) Session information sharing method and sharing system
CN107682460B (en) Distributed storage cluster data communication method and system
CN111512332B (en) Topological construction method and system for meeting partition tolerance under alliance chain consensus
CN110716793A (en) Execution method, device, equipment and storage medium of distributed transaction
CN109547524A (en) User behavior storage method, device, equipment and storage medium based on Physical Network
CN112416881A (en) Intelligent terminal storage sharing method, device, medium and equipment based on block chain
CN110489274A (en) Data back up method, device and interactive system
CN101605132A (en) A kind of method for identifying network data stream
CN112560098B (en) Service data management method and device of electric power Internet of things
CN116483543A (en) Task processing method, device, equipment and storage medium
CN116719639A (en) Link dynamic adjustment and data processing method, device, computer equipment and medium
CN112350875B (en) Centralized management configuration method and device for configuration data
CN112506704B (en) Configuration information backup method and device for gateway of Internet of things
CN112506705B (en) Distributed storage configuration information backup method and device
CN116501482A (en) Cloud computing management system, cloud computing management device, readable storage medium and computing equipment
CN112395012B (en) Data emptying method and device based on double-core intelligent ammeter and computer equipment
CN111506921B (en) Data processing method, system, device, terminal and storage medium
CN112559250B (en) Configuration data backup method and device for electric power Internet of things
CN112560097B (en) Storage management method and device for power business data
CN112787864B (en) Grouping configuration method and device of power internet of things
CN112559251A (en) Configuration data management method and device for power Internet of things

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