CN113378187A - Intelligent power grid data query method and system based on Internet of things - Google Patents

Intelligent power grid data query method and system based on Internet of things Download PDF

Info

Publication number
CN113378187A
CN113378187A CN202110510838.5A CN202110510838A CN113378187A CN 113378187 A CN113378187 A CN 113378187A CN 202110510838 A CN202110510838 A CN 202110510838A CN 113378187 A CN113378187 A CN 113378187A
Authority
CN
China
Prior art keywords
data
smart grid
encrypted data
data query
edge server
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.)
Pending
Application number
CN202110510838.5A
Other languages
Chinese (zh)
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.)
Electric Power Research Institute of Guangxi Power Grid Co Ltd
Original Assignee
Electric Power Research Institute of Guangxi Power Grid 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 Electric Power Research Institute of Guangxi Power Grid Co Ltd filed Critical Electric Power Research Institute of Guangxi Power Grid Co Ltd
Priority to CN202110510838.5A priority Critical patent/CN113378187A/en
Publication of CN113378187A publication Critical patent/CN113378187A/en
Pending legal-status Critical Current

Links

Images

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/602Providing cryptographic facilities or services
    • 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/6227Protecting 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 where protection concerns the structure of data, e.g. records, types, queries
    • 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

Abstract

The invention discloses a smart grid data query method and a smart grid data query system based on the Internet of things, wherein the method comprises the steps of initializing the system; a user generates an encrypted data query request; the edge server broadcasts an encrypted data query request; the smart grid node equipment responds and sends an encrypted data response; the edge server processes data; the user generates a query result. According to the smart grid data query method and system based on the Internet of things, privacy protection is performed on a large amount of data generated during data interval query by performing encryption and decryption setting on the query request, the data correspondence and the query result.

Description

Intelligent power grid data query method and system based on Internet of things
Technical Field
The invention relates to the field of smart power grids based on the Internet of things, in particular to a smart power grid data query method and system based on the Internet of things.
Background
The Internet of Things (IoT) is a rapidly emerging technology area that can provide numerous leading-edge solutions in various areas including critical infrastructure. With the support of the internet of things, a conventional power system network can be converted into an effective and more intelligent smart grid. The intelligent power grid system supported by the Internet of things is provided with intelligent two-way data communication, so that the operation of the traditional energy source and the control of the power grid system can be obviously improved. These improvements address reliability issues such as availability, efficiency of conventional grid systems. In a smart grid environment, the services that the system must provide include large-scale integration of distributed renewable energy resources, building real-time data communication between consumers and service providers regarding tariff information and energy consumption, facilitating facility selection and passing statistical information of system parameters for analysis and infrastructure to take necessary actions depending on the circumstances. Smart energy grids can generate large amounts of data and require transmission, processing, and storage for intelligent decision making and processing. Obviously, the integration of the internet of things brings higher precision and ability of clever and talent and converts the traditional power grid into an efficient intelligent energy grid.
In the smart grid, a power company needs to master the power consumption conditions of each region, each cell and even each household in a city in time so as to efficiently adjust a power supply strategy. Such as: the power company conducts interval query on the electricity utilization data of the city households to count the electricity utilization conditions of the city. In this case, the utility company needs to communicate data with all sensor nodes of the smart grid. However, such sensor nodes are deployed in each household in a city, and a large amount of data is generated every day. Under the condition of such a large amount of data communication, how to protect the privacy of data is to protect the large amount of data generated by the smart grid during the communication process without being acquired by people except the data owner, which is a technical problem to be solved urgently.
Disclosure of Invention
The invention aims to provide a smart grid data query method and system based on the Internet of things, and the problem that privacy protection cannot be performed on a large amount of data generated in a smart grid system supported by the Internet of things in the prior art can be solved.
The purpose of the invention is realized by the following technical scheme:
in a first aspect, the invention provides an intelligent power grid data query method based on the internet of things, which comprises the following steps:
initializing a system;
a user generates an encrypted data query request;
the edge server broadcasts an encrypted data query request;
the smart grid node equipment responds and sends an encrypted data response;
the edge server processes data;
the user generates a query result.
Further, the system initialization includes: the method comprises the steps of determining a data range collected by the intelligent power grid power saving device and distributing session keys to the intelligent power grid power saving device and an inquiring user.
Further, the user generating the encrypted data query request includes:
according to the initialized parameters of the system, carrying out hash operation of adding a key k to all integer values in the data range to obtain corresponding digest values;
carrying out reversible replacement on the abstract value according to a replacement algorithm to obtain a replaced abstract;
and sending the replaced abstract and the counter with the initial value of 0 corresponding to each hash value to the edge server through a secure channel.
Further, the responding by the smart grid node device and sending the encrypted response data includes:
each smart grid node device performs hash operation of adding a key k to the sensing data of the smart grid node device to obtain encrypted data response;
and the smart grid node equipment sends the encrypted data response to the edge server through the secure channel.
Further, the data processing performed by the edge server includes:
the edge server compares each data in the encrypted data response with the encrypted data query request one by one, finds out the corresponding hash value, and adds 1 to the value of the counter corresponding to the hash value;
and the edge server returns the found corresponding hash value and the counter corresponding to the hash value to the user.
Further, the user generating the query result comprises: the user side restores the original sequence according to the inverse permutation algorithm; and summing all the count values in the query interval to obtain the number of the data of the smart grid node equipment sensing data in the query interval.
In a second aspect, the invention provides an internet of things-based smart grid data query system, which comprises a user side, an edge server, a key distribution center and a plurality of smart grid node devices, wherein:
the key distribution center distributes keys to the user side and the smart grid node equipment;
the user side encrypts the data query request according to the key distributed by the key distribution center and then sends the encrypted data query request to the edge server;
the edge server broadcasts the encrypted data query request to the intelligent power grid node equipment, processes the encrypted data query request and the encrypted data response returned by the intelligent power grid node equipment, generates a query result and returns the query result to the user side;
and the smart grid node equipment responds according to the encrypted data query request to generate an encrypted data response.
According to the smart grid data query method and system based on the Internet of things, privacy protection is performed on a large amount of data generated during data interval query by performing encryption and decryption setting on the query request, the data correspondence and the query result.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic step diagram of an internet of things-based smart grid data query method of the invention;
fig. 2 is a schematic structural diagram of the smart grid data query system based on the internet of things;
FIG. 3 is a schematic diagram of an encrypted data query request generation according to the present invention;
FIG. 4 is a schematic diagram of encrypted data response generation of the present invention;
fig. 5 is a schematic diagram of a process of data processing performed by the edge server according to the present invention.
Detailed Description
The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
The embodiments of the present disclosure are described below with specific examples, and other advantages and effects of the present disclosure will be readily apparent to those skilled in the art from the disclosure in the specification. It is to be understood that the described embodiments are merely illustrative of some, and not restrictive, of the embodiments of the disclosure. The disclosure may be embodied or carried out in various other specific embodiments, and various modifications and changes may be made in the details within the description without departing from the spirit of the disclosure. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The invention discloses an intelligent power grid data query method based on the Internet of things, which comprises the following steps:
and step S1, initializing the system.
At this stage, the service provider, i.e. the electric company, deploys the edge servers and the N smart grid node devices within its service scope, and makes a selection of parameters.
And determining the range of data collected by the smart grid power saving equipment as [0, n ], wherein n belongs to Z +, and publishing the range in the open. In real life, the data collected by the smart grid node device is a floating point number, such as 26.88. For this case, 26.88 may be multiplied by 100 to obtain 2688. In this way all the acquired data can be mapped into a limited range of integers.
And distributing a session key k for the smart grid power saving equipment and the inquiry user by the key distribution center. The hash function used in the selection scheme is SHA-256.
Step S2, the user generates an encrypted data query request.
This stage is mainly where the querying user generates a query request for the interval it queries, i.e. the data to be sent to the edge server.
Further, in a preferred embodiment of the present application, the generating of the encrypted data query request by the user includes:
step S201, according to the initialized parameters of the system, the data range [0, n]All the integer values in the key are subjected to hash operation of adding a key k to obtain a corresponding digest value, namely h0=H(k||0),h1=H(k||1),…,hn=H(k||n)。
The data range determined in the initialization stage is [0, n ], and the selected hash function is SHA-256. The key distributed by the key distribution center is k.
Step S202, the inquiry user carries out reversible replacement on the abstract value according to a replacement algorithm to obtain a replaced abstract ha0,ha1,ha2,ha3,…,han
Step S203, the user sends ha0,ha1,ha2,ha3,…,hanAnd a counter C with an initial value of 0 corresponding to each hash valuea0,Ca1,Ca2,Ca3,…,CanSending to edge clothes through secure channelAnd a server.
Step S3, the edge server broadcasts the encrypted data query request.
When the edge server receives the encrypted data query request from the query user, the data request signal is directly broadcast to the smart grid node device.
And step S4, responding by the smart grid node device and sending an encrypted data response.
After receiving the data request signal broadcast by the edge server, all the smart grid node devices prepare for data response.
Specifically, in a preferred embodiment of the present application, the responding and sending the encrypted response data by the smart grid node device includes:
step S401, each smart grid node device carries out hash operation of adding key k to own sensing data di to obtain encrypted data response h'0=H(k||d0),h’1=H(k||d1),…,h’N=H(k||dN)。
And S402, the smart grid node equipment sends the encrypted data response to the edge server through the secure channel.
Step S5, the edge server performs data processing.
And the edge server receives the encrypted data query request from the query user and the encrypted data response from the smart grid node equipment to perform data processing.
Specifically, in a preferred embodiment of the present application, the performing, by the edge server, data processing includes:
step S501, the edge server compares each piece of data in the encrypted data response with the encrypted data query request one by one, finds a corresponding hash value, and adds 1 to a value of a counter corresponding to the hash value.
Step S502, the edge server finds out the corresponding hash value ha0,ha1,ha2,ha3,…,hanAnd its corresponding counter Ca0,Ca1,Ca2,Ca3,…,CanAnd returning the information to the inquiry user.
And step S6, generating a query result by the user.
And the query user receives a query result returned by the edge server.
Further, the user generating the query result comprises: and the user side restores the original sequence according to the inverse replacement algorithm. And summing all the count values in the query interval to obtain the number of the data of the smart grid node equipment sensing data in the query interval. Suppose the interval of the user query is [ L, U ].
The invention also provides an intelligent power grid data query system based on the Internet of things, which comprises a user side, an edge server, a key distribution center and a plurality of intelligent power grid node devices, wherein:
and the key distribution center distributes keys to the user side and the smart grid node equipment.
And the user side encrypts the data query request according to the key distributed by the key distribution center and then sends the encrypted data query request to the edge server.
And the edge server broadcasts the encrypted data query request to the intelligent power grid node equipment, processes the encrypted data query request and the encrypted data response returned by the intelligent power grid node equipment, generates a query result and returns the query result to the user side.
And the smart grid node equipment responds according to the encrypted data query request to generate an encrypted data response.
In the present invention, unless otherwise expressly stated or limited, the first feature may be "on" the second feature in direct contact with the second feature, or the first and second features may be in indirect contact via an intermediate. "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; may be mechanically coupled, may be electrically coupled or may be in communication with each other; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
The above description is for the purpose of illustrating embodiments of the invention and is not intended to limit the invention, and it will be apparent to those skilled in the art that any modification, equivalent replacement, or improvement made without departing from the spirit and principle of the invention shall fall within the protection scope of the invention.

Claims (7)

1. The smart power grid data query method based on the Internet of things is characterized by comprising the following steps:
initializing a system;
a user generates an encrypted data query request;
the edge server broadcasts an encrypted data query request;
the smart grid node equipment responds and sends an encrypted data response;
the edge server processes data;
the user generates a query result.
2. The Internet of things-based smart grid data query method according to claim 1, wherein the system initialization comprises: the method comprises the steps of determining a data range collected by the intelligent power grid power saving device and distributing session keys to the intelligent power grid power saving device and an inquiring user.
3. The Internet of things-based smart grid data query method according to claim 2, wherein the user generating an encrypted data query request comprises:
according to the initialized parameters of the system, carrying out hash operation of adding a key k to all integer values in the data range to obtain corresponding digest values;
carrying out reversible replacement on the abstract value according to a replacement algorithm to obtain a replaced abstract;
and sending the replaced abstract and the counter with the initial value of 0 corresponding to each hash value to the edge server through a secure channel.
4. The Internet of things-based smart grid data query method according to claim 1, wherein the smart grid node device responding and sending encrypted response data comprises:
each smart grid node device performs hash operation of adding a key k to the sensing data of the smart grid node device to obtain encrypted data response;
and the smart grid node equipment sends the encrypted data response to the edge server through the secure channel.
5. The Internet of things-based smart grid data query method according to claim 1, wherein the edge server performs data processing including:
the edge server compares each data in the encrypted data response with the encrypted data query request one by one, finds out the corresponding hash value, and adds 1 to the value of the counter corresponding to the hash value;
and the edge server returns the found corresponding hash value and the counter corresponding to the hash value to the user.
6. The Internet of things-based smart grid data query method according to claim 1, wherein the user generating a query result comprises: the user side restores the original sequence according to the inverse permutation algorithm; and summing all the count values in the query interval to obtain the number of the data of the smart grid node equipment sensing data in the query interval.
7. Smart power grids data query system based on thing networking, its characterized in that includes user, edge server, key distribution center and a plurality of smart power grids node equipment, wherein:
the key distribution center distributes keys to the user side and the smart grid node equipment;
the user side encrypts the data query request according to the key distributed by the key distribution center and then sends the encrypted data query request to the edge server;
the edge server broadcasts the encrypted data query request to the intelligent power grid node equipment, processes the encrypted data query request and the encrypted data response returned by the intelligent power grid node equipment, generates a query result and returns the query result to the user side;
and the smart grid node equipment responds according to the encrypted data query request to generate an encrypted data response.
CN202110510838.5A 2021-05-11 2021-05-11 Intelligent power grid data query method and system based on Internet of things Pending CN113378187A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110510838.5A CN113378187A (en) 2021-05-11 2021-05-11 Intelligent power grid data query method and system based on Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110510838.5A CN113378187A (en) 2021-05-11 2021-05-11 Intelligent power grid data query method and system based on Internet of things

Publications (1)

Publication Number Publication Date
CN113378187A true CN113378187A (en) 2021-09-10

Family

ID=77572685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110510838.5A Pending CN113378187A (en) 2021-05-11 2021-05-11 Intelligent power grid data query method and system based on Internet of things

Country Status (1)

Country Link
CN (1) CN113378187A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180260125A1 (en) * 2017-03-10 2018-09-13 Pure Storage, Inc. Synchronously replicating datasets and other managed objects to cloud-based storage systems
CN109672518A (en) * 2019-03-02 2019-04-23 西安邮电大学 The node data processing of the block chain of anti-quantum attack
CN110213036A (en) * 2019-06-17 2019-09-06 西安电子科技大学 Based on the storage of Internet of Things mist calculating-edge calculations secure data and calculation method
CN110933026A (en) * 2019-10-22 2020-03-27 东北大学 Lightweight privacy protection equivalent query method
CN112733172A (en) * 2021-01-15 2021-04-30 重庆邮电大学 Smart power grid data aggregation scheme based on RSA and differential privacy

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180260125A1 (en) * 2017-03-10 2018-09-13 Pure Storage, Inc. Synchronously replicating datasets and other managed objects to cloud-based storage systems
CN109672518A (en) * 2019-03-02 2019-04-23 西安邮电大学 The node data processing of the block chain of anti-quantum attack
CN110213036A (en) * 2019-06-17 2019-09-06 西安电子科技大学 Based on the storage of Internet of Things mist calculating-edge calculations secure data and calculation method
CN110933026A (en) * 2019-10-22 2020-03-27 东北大学 Lightweight privacy protection equivalent query method
CN112733172A (en) * 2021-01-15 2021-04-30 重庆邮电大学 Smart power grid data aggregation scheme based on RSA and differential privacy

Similar Documents

Publication Publication Date Title
Jiang et al. Energy big data: A survey
Okay et al. A fog computing based smart grid model
Ruj et al. A decentralized security framework for data aggregation and access control in smart grids
Kim et al. Cloud-based demand response for smart grid: Architecture and distributed algorithms
Ma et al. Scalability for smart infrastructure system in smart grid: a survey
Budka et al. Geri-bell labs smart grid research focus: economic modeling, networking, and security & privacy
Ruj et al. A security architecture for data aggregation and access control in smart grids
Alhasnawi et al. A new Internet of Things based optimization scheme of residential demand side management system
Bird et al. Distributed (green) data centers: A new concept for energy, computing, and telecommunications
Bikmetov et al. Infrastructure and applications of Internet of Things in smart grids: A survey
CN111800400A (en) Multi-dimensional multi-angle electricity data aggregation system based on fog
CN110650116A (en) Multi-type multi-dimensional data aggregation method and system for security smart power grid
Xu et al. An efficient blockchain pbft consensus protocol in energy constrained iot applications
Abdallah et al. Security and privacy in smart grid
Hebal et al. Energy routing challenges and protocols in energy internet: a survey
Durairasan et al. System modeling of micro‐grid with hybrid energy sources for optimal energy management—A hybrid elephant herding optimization algorithm‐adaptive neuro fuzzy inference system approach
Kayem et al. A smart micro-grid architecture for resource constrained environments
CN113378187A (en) Intelligent power grid data query method and system based on Internet of things
Wang et al. A compact ciphertext-policy attribute-based encryption scheme for the information-centric Internet of Things
Jayachandran et al. Power-domain NOMA for massive connectivity in smart grid communication networks
Morarji et al. Smart-Grid Monitoring using IoT with Modified Lagranges Key Based Data Transmission.
Liu et al. Decentralizing access control system for data sharing in smart grid
Shapsough et al. Requirements for an IoT middleware for utility-scale distributed solar farms
Ye et al. Identity‐based schemes for a secured big data and cloud ICT framework in smart grid system
Karumba et al. Utilizing Blockchain as a Citizen‐Utility for Future Smart Grids

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210910

RJ01 Rejection of invention patent application after publication