CN114785822B - Power information sharing method, device, equipment and storage medium based on Internet of things - Google Patents

Power information sharing method, device, equipment and storage medium based on Internet of things Download PDF

Info

Publication number
CN114785822B
CN114785822B CN202210336479.0A CN202210336479A CN114785822B CN 114785822 B CN114785822 B CN 114785822B CN 202210336479 A CN202210336479 A CN 202210336479A CN 114785822 B CN114785822 B CN 114785822B
Authority
CN
China
Prior art keywords
power equipment
power
public key
information
user
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
CN202210336479.0A
Other languages
Chinese (zh)
Other versions
CN114785822A (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.)
Guangdong Xinbang Zhilian Technology Co ltd
Original Assignee
Guangdong Xinbang Zhilian 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 Guangdong Xinbang Zhilian Technology Co ltd filed Critical Guangdong Xinbang Zhilian Technology Co ltd
Priority to CN202210336479.0A priority Critical patent/CN114785822B/en
Publication of CN114785822A publication Critical patent/CN114785822A/en
Application granted granted Critical
Publication of CN114785822B publication Critical patent/CN114785822B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Medical Informatics (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an electric power equipment management method based on the Internet of things, and relates to the field of electric power equipment control. Whether the power equipment meets the communication condition is judged through the validity of the key of the power equipment, so that the authenticity and the reliability of the data uploaded by the power equipment are improved; and by constructing power information sharing, convenience is provided for home owners, tenants and other home-related users to acquire home power information, and the home-related users can conveniently manage the power use of the homes. The invention also provides a corresponding power equipment management device, equipment and a storage medium, which can improve the authenticity and reliability of the data uploaded by the power equipment and provide convenience conditions for residential related users to manage the power use of the residential.

Description

Power information sharing method, device, equipment and storage medium based on Internet of things
Technical Field
The invention relates to the field of power equipment control, in particular to a power information sharing method, device, equipment and storage medium based on the Internet of things.
Background
For residential power information sharing, the prior art only generally relates to collecting and metering power consumption data by combining internet of things and using a smart meter. It is difficult to adapt to the diversified residential utilization scenes such as renting, closing and the like which are widely existed at present.
The inventor finds that the prior art has at least the following problems through the research on the prior art:
1. the data of the power equipment can only be provided for owners, but the acquired data cannot be provided for relevant personnel such as tenants of the residence and the like at the same time; the method comprises the steps that a resident of a house obtains data of residential power equipment, which generally needs to be provided by an owner, so that the convenience of the resident for obtaining residential power information is poor, and the owner and the tenant are prone to dispute due to reliability disputes of the information because the tenant cannot obtain first-hand information;
2. when an owner has a plurality of houses, the power information of each house is often provided to the owner, which makes it inconvenient for the owner to control and manage.
Disclosure of Invention
The power information sharing method, device, equipment and storage medium based on the Internet of things can improve the authenticity and reliability of data uploaded by the power equipment and provide convenience conditions for residential related users to manage the power use of the residential.
The first embodiment of the invention provides an electric power information sharing method based on the Internet of things, which comprises the following steps:
acquiring owner user information, wherein the owner user information comprises at least one electric power device bound with an owner user;
initiating power information sharing to a target user according to at least one power device in the owner user information;
when a data uploading request of the power equipment is acquired, judging whether the power equipment meets a preset communication condition;
if the power equipment does not meet the communication condition, sending a key updating signal to the power equipment to acquire a first public key returned by the power equipment; generating a second public key and a second private key, encrypting the second public key according to the first public key to obtain a public key ciphertext, and sending the public key ciphertext to the power equipment; re-judging whether the power equipment meets the communication condition;
if the power equipment meets the communication condition, returning communication confirmation information;
acquiring an encryption parameter set sent by the power equipment according to the communication confirmation information; the encryption parameter set is an encryption data set obtained by encrypting with the first private key based on the electric power information acquired by the electric power equipment;
decrypting the encrypted data set according to the first public key to obtain a plaintext data set; and sending the plaintext data set to the owner user and the target user shared by the power information.
As an improvement of the above solution, the determining whether the power device satisfies a preset communication condition includes:
acquiring a data uploading request of the power equipment, and inquiring the first public key of the power equipment;
if the first public key of the power equipment is inquired and the first public key is in a preset validity period, judging that the power equipment meets the communication condition; if the first public key of the electric power equipment in the validity period is not inquired, judging that the electric power equipment does not meet the communication condition.
As an improvement of the above scheme, the owner user is a user bound with at least one house identifier; each said home identification being associated with at least one said power device; the owner user binds with all the power equipment associated with the house identification by binding the house identification; the owner user information records all the electric power equipment bound with the owner user.
As an improvement of the above solution, the plaintext data set of all the bound electric power devices is provided to the owner user according to the owner user information.
As an improvement of the scheme, the method further comprises the following steps:
acquiring a query instruction input by a user;
and providing a plain text data set of the electric power equipment for the user according to the query instruction and the electric power information sharing joined by the user.
As an improvement of the above scheme, the power information sharing further includes a charging contract, and a payment reminder is sent to the target user according to the charging contract and a plaintext data set of the power device.
As an improvement of the scheme, the method further comprises the following steps:
and according to a preset alarm threshold value of the power equipment, when the power information of the plaintext data set is judged to exceed the alarm threshold value, sending safety alarm information to the owner user and a target user shared by the power information.
A third embodiment of the present invention provides an internet-of-things-based power information sharing apparatus, including:
the system comprises a user information management module, a service information management module and a service information management module, wherein the user information management module is used for acquiring owner user information which comprises at least one electric power device bound with an owner user; the power equipment is also used for initiating power information sharing to a target user according to at least one piece of power equipment in the owner user information;
the power equipment management module is used for judging whether the power equipment meets a preset communication condition or not when the data uploading request of the power equipment is acquired; if the power equipment does not meet the communication condition, sending a key updating signal to the power equipment to acquire a first public key returned by the power equipment; generating a second public key and a second private key, encrypting the second public key according to the first public key to obtain a public key ciphertext, and sending the public key ciphertext to the power equipment; re-judging whether the power equipment meets the communication condition; if the power equipment meets the communication condition, returning communication confirmation information;
the information processing module is used for acquiring an encryption parameter set sent by the electric power equipment according to the communication confirmation information; the encryption parameter set is an encryption data set obtained by encrypting with the first private key based on the electric power information acquired by the electric power equipment; the encryption device is also used for decrypting the encrypted data set according to the first public key to obtain a plaintext data set; and sending the plaintext data set to the owner user and the target user shared by the power information.
A third embodiment of the present invention provides an internet-of-things-based power information sharing device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the internet-of-things-based power information sharing method as described in any one of the above is implemented.
A fourth embodiment of the present invention provides a computer-readable storage medium including a stored computer program; when the computer program runs, the device where the computer-readable storage medium is located is controlled to implement the power information sharing method based on the internet of things as described in any one of the above.
According to the power information sharing method, device, equipment and storage medium based on the Internet of things, provided by the embodiment of the invention, whether the power equipment meets the communication condition is judged through the validity of the key of the power equipment, so that the authenticity and reliability of the received data uploaded by the power equipment are improved; and by constructing power information sharing, convenience is provided for home power information acquisition of home related users such as owners and tenants, and the like, and the home related users can conveniently manage the power use of the home.
Drawings
Fig. 1 is a schematic flowchart of a power information sharing method based on the internet of things according to a first embodiment of the present invention.
Fig. 2 is a schematic structural diagram of an internet-of-things-based power information sharing device according to a second embodiment of the present invention.
Fig. 3 is a schematic structural diagram of an internet-of-things-based power information sharing device according to a third embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a power information sharing method based on the Internet of things. Referring to fig. 1, the power information sharing method includes steps S11 to S17.
S11, acquiring owner user information, wherein the owner user information comprises at least one electric power device bound with an owner user.
Specifically, the owner user is a user bound with at least one house identifier, and each house identifier is associated with at least one electric power device. For example, the power device may be a smart meter installed in a house, and may collect power consumption data and implement a control function, such as limiting power consumption, powering off, and the like, by receiving a control instruction of a user. The owner user binds with all the power equipment associated with the house identification by binding the house identification; the owner user information records all the electric power equipment bound with the owner user.
And S12, initiating power information sharing to a target user according to at least one power device in the owner user information.
Specifically, the power information sharing further includes a charging contract, and a payment reminder is sent to the target user according to the charging contract and a plaintext data set of the power device.
For example, the system publishes the information of the power equipment to the internet of things big data platform through the mqtt technology and the internet of things. And the house renting information is issued to the Internet of things big data platform by the owner through the equipment information. The tenants search the houses through the Internet of things platform, and place orders, sign contracts, pay for refuge house rents, pay for water and electricity charges and various miscellaneous charges are carried out. The big data platform of the Internet of things manages information of tenants in a unified mode, and the tenants can check electricity utilization conditions in real time after obtaining authorization. The user carries out the full transaction process of intelligent renting rooms through the platform, and information is completely shared. The Internet of things big data platform monitors the electricity utilization safety of the house through equipment, and feeds back the electricity utilization safety to users and tenants through socket pushing in time. Through the automatically generated equipment information sharing group, the equipment is shared, and a user obtains the control right of the house renting breaker. Sharing the conditions of real-time house renting and electricity utilization.
And S13, acquiring a data uploading request of the electric power equipment, and judging whether the electric power equipment meets a preset communication condition.
When any one of the electric power devices needs to upload information to the server, the data upload request is firstly sent to the server, so that the judgment of the communication condition by the server is triggered, and whether the asymmetric key updating steps of the steps S22 to S23 need to be executed or not is determined according to the judgment result.
Specifically, step S13 may include step S13-1 to step S13-2.
S13-1, acquiring a data uploading request of the electric power equipment, and inquiring a first public key of the electric power equipment.
Preferably, the server stores a mapping table describing a correspondence between the electric power device and the first public key, and updates the correspondence in the mapping table after receiving the first public key returned by the electric power device each time. Referring to step S13, a second asymmetric key including a second public key and a second private key is generated by the server for each of the electric devices, and the correspondence relationship between the second asymmetric key and the electric device is also described in the mapping table. Therefore, the server can determine the corresponding first public key by inquiring the mapping table according to the terminal identification information of the power equipment in the data uploading request.
S13-2, if the first public key of the power equipment is inquired and the first public key is in a preset valid period, judging that the power equipment meets the communication condition; if the first public key of the electric power equipment in the validity period is not inquired, judging that the electric power equipment does not meet the communication condition.
Specifically, the valid period may be set separately for each of the power devices, or the valid period may be set uniformly for a plurality of the power devices. The term calculation of the validity period may be from the time of generation of the first public key or from the time of reception of the first public key by the server.
The process of obtaining the first public key is referred to step S14. It is to be understood that, in the case where the flow shown in steps S11 to S17 is executed for the first time, the electric power device does not have the first public key yet, and it is determined that the electric power device does not satisfy the communication condition.
For example, it is assumed that the electric power devices include four electric power devices of electric meters a to D, in which the key validity period of the electric meter a is set to two hours (2 h). The method comprises the steps that an ammeter A sends a data uploading request to a server, the server inquires a first public key corresponding to the ammeter A in a mapping table according to an identification of the ammeter A in the data uploading request, and whether the service life of the first public key exceeds 2h or not is determined. If the time exceeds 2h, judging that the ammeter A does not meet the communication condition; and if the time does not exceed 2h, judging that the ammeter A meets the communication condition.
S14, if the power equipment does not meet the communication condition, sending a key updating signal to the power equipment to obtain a first public key returned by the power equipment; generating a second public key and a second private key, encrypting the second public key according to the first public key to obtain a public key ciphertext, and sending the public key ciphertext to the power equipment; and re-judging whether the power equipment meets the communication condition.
The power device locally generates a first asymmetric key including the first public key and a first private key after receiving the key update signal, and transmits the first public key to the server.
And after receiving the first public key, the server locally generates a second asymmetric key comprising the second public key and the second private key, encrypts the second public key by adopting the first public key to obtain a public key ciphertext and sends the public key ciphertext to the server. Preferably, each set of the second asymmetric key corresponds to a communication process of the server and one of the power devices. The asymmetric keys adopted when the server communicates with each electric power device are mutually independent, so that under the condition that a user purchases a new electric power device, the corresponding relation between the electric power device and the asymmetric keys recorded in the server can be updated by the new electric power device only needing to perform a communication process with the server once, the keys are matched without updating the asymmetric keys between the server and other electric power devices, and the access flow of the new electric power device is simplified on the basis of protecting the communication safety.
And S15, if the power equipment meets the communication condition, returning communication confirmation information.
And the communication confirmation information is used for enabling the power equipment to determine the monitoring parameters needing to be acquired according to the incidence relation so as to serve as the target parameters of the monitoring parameters needing to be acquired.
S16, acquiring an encryption parameter set sent by the power equipment according to the communication confirmation information; the encryption parameter set is an encryption data set obtained by encrypting with the first private key based on the electric power information collected by the electric power equipment.
The power equipment converts the acquired target parameters into Json format data by acquiring the target parameters, and encrypts the data by adopting the first private key to obtain the encryption parameter set.
The encrypted data set is ciphertext information obtained by encrypting each acquired target parameter by the power equipment according to a first private key corresponding to the first public key.
S17, decrypting the encrypted data set according to the first public key to obtain a plaintext data set; and sending the plaintext data set to the owner user and the target user shared by the power information.
And providing the plaintext data sets of all the bound electric equipment for the owner user according to all the electric equipment bound in the owner user information.
Specifically, the method can further include a query process of the power information, including acquiring a query instruction input by a user; and providing a plain text data set of the electric power equipment for the user according to the query instruction and the electric power information sharing joined by the user.
Specifically, the user-side process subscribes to the topics published by the APP side or the WEB side in a shared or real-time manner, and the data format is binary. Data content, such as information of TDS value, PH value, temperature, residual chlorine, voltage, current, temperature, smoke volume, positioning, opening and closing brake (manual and automatic). And after receiving the subscription information, analyzing the subscribed binary data format, and applying to the instruction of the hardware chip, so as to obtain the information of the corresponding power equipment according to the authority of the user.
Specifically, according to a preset alarm threshold of the power equipment, when the power information of the plaintext data set is judged to exceed the alarm threshold, safety alarm information is sent to the owner user and a target user shared by the power information.
According to the power information sharing method based on the Internet of things, provided by the first embodiment of the invention, whether the power equipment meets the communication condition is judged through the validity of the key of the power equipment, so that the authenticity and the reliability of the received data uploaded by the power equipment are improved; and by constructing power information sharing, convenience is provided for home owners, tenants and other home-related users to acquire home power information, and the home-related users can conveniently manage the power use of the homes.
The second embodiment of the invention provides an electric power information sharing device based on the Internet of things, which is suitable for a server communicating with a plurality of electric power devices. Referring to fig. 2, the power information sharing apparatus 200 includes:
a user information management module 210, configured to obtain owner user information, where the owner user information includes at least one power device bound to an owner user; the power equipment is also used for initiating power information sharing to a target user according to at least one piece of power equipment in the owner user information;
the power equipment management module 220 is configured to, when a data upload request of the power equipment is acquired, determine whether the power equipment meets a preset communication condition; if the power equipment does not meet the communication condition, sending a key updating signal to the power equipment to acquire a first public key returned by the power equipment; generating a second public key and a second private key, encrypting the second public key according to the first public key to obtain a public key ciphertext, and sending the public key ciphertext to the power equipment; re-judging whether the power equipment meets the communication condition; if the power equipment meets the communication condition, returning communication confirmation information;
an information processing module 230, configured to obtain an encryption parameter set sent by the power device according to the communication confirmation information; the encryption parameter set is an encryption data set obtained by encrypting with the first private key based on the electric power information acquired by the electric power equipment; the first public key is also used for decrypting the encrypted data set according to the first public key to obtain a plaintext data set; and sending the plaintext data set to the owner user and the target user shared by the power information.
The working process of the power information sharing apparatus 200 is the power information sharing method according to the first embodiment, and is not described herein again.
According to the power information sharing method based on the Internet of things, provided by the second embodiment of the invention, whether the power equipment meets the communication condition is judged through the validity of the key of the power equipment, so that the authenticity and the reliability of the received data uploaded by the power equipment are improved; and by constructing power information sharing, convenience is provided for home power information acquisition of home related users such as owners and tenants, and the like, and the home related users can conveniently manage the power use of the home.
Referring to fig. 3, a schematic diagram of an internet-of-things-based power information sharing device 300 according to a third embodiment of the present invention is shown. The internet-of-things-based power information sharing apparatus 300 includes: a processor 310, a memory 320, and a computer program, such as a power information sharing program, stored in the memory and operable on the processor. The processor, when executing the computer program, implements the steps in the embodiment of the power information sharing method based on the internet of things, for example, the steps of the power information sharing method based on the internet of things shown in fig. 1. Alternatively, the processor, when executing the computer program, implements the functions of the modules in the foregoing device embodiments, for example, the functions of the modules in the power information sharing device based on the internet of things in the second embodiment.
Illustratively, the computer program may be partitioned into one or more modules that are stored in the memory 320 and executed by the processor 310 to implement the present invention. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used for describing the execution process of the computer program in the power information sharing terminal device. For example, the terminal device may include a user information management module, a power device management module, and an information processing module. The functions of the modules are specifically as follows: the system comprises a user information management module, a service information management module and a service information management module, wherein the user information management module is used for acquiring owner user information which comprises at least one electric power device bound with an owner user; the power equipment is also used for initiating power information sharing to a target user according to at least one piece of power equipment in the owner user information; the power equipment management module is used for judging whether the power equipment meets a preset communication condition or not when the data uploading request of the power equipment is acquired; if the power equipment does not meet the communication condition, sending a key updating signal to the power equipment to acquire a first public key returned by the power equipment; generating a second public key and a second private key, encrypting the second public key according to the first public key to obtain a public key ciphertext, and sending the public key ciphertext to the power equipment; re-judging whether the power equipment meets the communication condition; if the power equipment meets the communication condition, returning communication confirmation information; the information processing module is used for acquiring an encryption parameter set sent by the electric power equipment according to the communication confirmation information; the encryption parameter set is an encryption data set obtained by encrypting with the first private key based on the electric power information acquired by the electric power equipment; the encryption device is also used for decrypting the encrypted data set according to the first public key to obtain a plaintext data set; and sending the plaintext data set to the owner user and the target user shared by the power information.
The power information sharing device 300 based on the internet of things may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The internet of things-based power information sharing device 300 may include, but is not limited to, a processor, a memory. Those skilled in the art will appreciate that the schematic diagram is merely an example of the internet of things based power information sharing device 300, and does not constitute a limitation of the internet of things based power information sharing device 300, and may include more or fewer components than those shown, or some components may be combined, or different components, for example, the internet of things based power information sharing device 300 may further include an input-output device, a network access device, a bus, etc.
The Processor 310 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, and the processor 310 is a server of the power information sharing device 300 based on the internet of things, and various interfaces and lines are used to connect various parts of the whole power information sharing terminal device.
The memory 320 may be used to store the computer program or module, and the processor 310 may implement various functions of the power information sharing terminal device by executing or executing the computer program or module stored in the memory and calling data stored in the memory. The memory 320 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 320 may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein, the modules or units integrated by the power information sharing device 300 based on the internet of things can be stored in a computer readable storage medium if they are implemented in the form of software functional units and sold or used as independent products. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
According to the power information sharing device and the storage medium based on the Internet of things, provided by the third embodiment of the invention, whether the power equipment meets the communication condition is judged through the validity of the key of the power equipment, so that the authenticity and the reliability of the received data uploaded by the power equipment are improved; and by constructing power information sharing, convenience is provided for home owners, tenants and other home-related users to acquire home power information, and the home-related users can conveniently manage the power use of the homes.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (9)

1. A power information sharing method based on the Internet of things is characterized by comprising the following steps:
acquiring owner user information, wherein the owner user information comprises at least one electric power device bound with an owner user;
initiating power information sharing to a target user according to at least one power device in the owner user information;
when a data uploading request of the power equipment is acquired, judging whether the power equipment meets a preset communication condition;
if the power equipment does not meet the communication condition, sending a key updating signal to the power equipment to acquire a first public key returned by the power equipment; generating a second public key and a second private key, encrypting the second public key according to the first public key to obtain a public key ciphertext, and sending the public key ciphertext to the power equipment; re-judging whether the power equipment meets the communication condition;
if the power equipment meets the communication condition, returning communication confirmation information;
acquiring an encryption parameter set sent by the power equipment according to the communication confirmation information; the encryption parameter set is an encryption data set obtained by encrypting by adopting a first private key based on the electric power information acquired by the electric power equipment;
decrypting the encrypted data set according to the first public key to obtain a plaintext data set; transmitting the plaintext data set to the owner user and the target user of the power information sharing;
the judging whether the power equipment meets the preset communication condition includes:
acquiring a data uploading request of the power equipment, and inquiring the first public key of the power equipment;
if the first public key of the power equipment is inquired and the first public key is in a preset validity period, judging that the power equipment meets the communication condition; if the first public key of the electric power equipment in the validity period is not inquired, judging that the electric power equipment does not meet the communication condition.
2. The power information sharing method according to claim 1, wherein the owner user is a user to which at least one house identification is bound; each said home identification being associated with at least one said power device; the owner user binds with all the power equipment associated with the house identification by binding the house identification; the owner user information records all the electric power equipment bound with the owner user.
3. The power information sharing method according to claim 2, wherein the clear text data set of all the power devices bound is provided to the owner user based on the owner user information.
4. The power information sharing method according to claim 1, further comprising the steps of:
acquiring a query instruction input by a user;
and providing a plaintext data set of the electric power equipment for the user according to the query instruction and the electric power information sharing joined by the user.
5. The power information sharing method according to claim 1, wherein the power information sharing further includes a charging contract, and a payment reminder is sent to the target user according to the charging contract and a plaintext data set of the power device.
6. The power information sharing method according to claim 1, further comprising the steps of:
and according to a preset alarm threshold value of the power equipment, when the power information of the plaintext data set is judged to exceed the alarm threshold value, sending safety alarm information to the owner user and a target user shared by the power information.
7. The utility model provides a power information sharing device based on thing networking which characterized in that includes:
the system comprises a user information management module, a service information management module and a service information management module, wherein the user information management module is used for acquiring owner user information which comprises at least one electric power device bound with an owner user; the power equipment is also used for initiating power information sharing to a target user according to at least one piece of power equipment in the owner user information;
the power equipment management module is used for judging whether the power equipment meets a preset communication condition or not when the data uploading request of the power equipment is acquired; acquiring a data uploading request of the power equipment, and inquiring a first public key of the power equipment; if the first public key of the power equipment is inquired and the first public key is in a preset validity period, judging that the power equipment meets the communication condition; if the first public key of the electric power equipment in the validity period is not inquired, judging that the electric power equipment does not meet the communication condition; if the power equipment does not meet the communication condition, sending a key updating signal to the power equipment to acquire a first public key returned by the power equipment; generating a second public key and a second private key, encrypting the second public key according to the first public key to obtain a public key ciphertext, and sending the public key ciphertext to the power equipment; re-judging whether the power equipment meets the communication condition; if the power equipment meets the communication condition, returning communication confirmation information;
the information processing module is used for acquiring an encryption parameter set sent by the electric power equipment according to the communication confirmation information; the encryption parameter set is an encryption data set obtained by encrypting by adopting a first private key based on the electric power information acquired by the electric power equipment; the encryption device is also used for decrypting the encrypted data set according to the first public key to obtain a plaintext data set; and sending the plaintext data set to the owner user and the target user shared by the power information.
8. An internet of things-based power information sharing device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the internet of things-based power information sharing method according to any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored computer program; wherein the computer program controls the device where the computer readable storage medium is located to implement the method for sharing power information based on the internet of things according to any one of claims 1 to 6 when running.
CN202210336479.0A 2022-04-01 2022-04-01 Power information sharing method, device, equipment and storage medium based on Internet of things Active CN114785822B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210336479.0A CN114785822B (en) 2022-04-01 2022-04-01 Power information sharing method, device, equipment and storage medium based on Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210336479.0A CN114785822B (en) 2022-04-01 2022-04-01 Power information sharing method, device, equipment and storage medium based on Internet of things

Publications (2)

Publication Number Publication Date
CN114785822A CN114785822A (en) 2022-07-22
CN114785822B true CN114785822B (en) 2022-11-04

Family

ID=82427015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210336479.0A Active CN114785822B (en) 2022-04-01 2022-04-01 Power information sharing method, device, equipment and storage medium based on Internet of things

Country Status (1)

Country Link
CN (1) CN114785822B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010048451A (en) * 2008-08-20 2010-03-04 Daikin Ind Ltd Electric power information reporting system and electric power information reporting device
CN109800595A (en) * 2018-12-26 2019-05-24 全球能源互联网研究院有限公司 A kind of electric power data sharing method and system
CN112487046A (en) * 2020-10-30 2021-03-12 深圳供电局有限公司 Power utilization information analysis method, device, system, computer equipment and storage medium
CN113114713A (en) * 2020-10-30 2021-07-13 吉林省电力科学研究院有限公司 Electric power information interaction method based on cloud platform mobile interconnection technology
CN113609113A (en) * 2021-08-02 2021-11-05 国家电网有限公司客户服务中心 User information generation method and device based on power data and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106340176B (en) * 2015-07-09 2020-01-17 中国电力科学研究院 Information sharing method of intelligent electric meter, intelligent electric meter and acquisition router

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010048451A (en) * 2008-08-20 2010-03-04 Daikin Ind Ltd Electric power information reporting system and electric power information reporting device
CN109800595A (en) * 2018-12-26 2019-05-24 全球能源互联网研究院有限公司 A kind of electric power data sharing method and system
CN112487046A (en) * 2020-10-30 2021-03-12 深圳供电局有限公司 Power utilization information analysis method, device, system, computer equipment and storage medium
CN113114713A (en) * 2020-10-30 2021-07-13 吉林省电力科学研究院有限公司 Electric power information interaction method based on cloud platform mobile interconnection technology
CN113609113A (en) * 2021-08-02 2021-11-05 国家电网有限公司客户服务中心 User information generation method and device based on power data and electronic equipment

Also Published As

Publication number Publication date
CN114785822A (en) 2022-07-22

Similar Documents

Publication Publication Date Title
CN114449024B (en) Power equipment control method, device, equipment and storage medium based on Internet of things
CA2949521C (en) Device, method and system for autonomous selection of a commodity supplier through a blockchain distributed database
CN107423945B (en) Intelligent energy transaction management system and method based on block chain technology
TWI683593B (en) Systems, methods, and/or apparatus for enabling communication between devices using different communication protocols
CN111553767B (en) Shared house leasing system, method and storage medium based on block chain
CN111008839A (en) Resource transfer data management method, device and storage medium
US20210247426A1 (en) Resource management and control method and system
CN106846176B (en) Electricity charge accounting system
KR102468114B1 (en) System and method of charging electric car using gateway having platform
CN103049968B (en) Electric vehicle charging is served
CN114866576B (en) Power equipment management method, device, equipment and storage medium based on Internet of things
CN109086628A (en) A kind of order processing method and relevant apparatus
CN101977237B (en) Configurable wireless application design development method
CN110244573A (en) Storage system and intelligent appliance based on intelligent appliance
CN114785822B (en) Power information sharing method, device, equipment and storage medium based on Internet of things
US11770644B2 (en) Modular data concentrator device for public utility metering systems and method for gathering and managing information
KR102174594B1 (en) Smart gateway system
KR20170117794A (en) Apparatus for integrated metering based on international standard protocol and method for the same
CN216437219U (en) Data acquisition device for smart city and electronic equipment
CN216287048U (en) Smart city intelligent monitoring system and electronic equipment
JP4507435B2 (en) Authentication number acquisition system for communication
CN110519227B (en) Intelligent household data tamper-proofing method and device based on block chain
Lokre et al. Implementation of IoT Based Electricity Controlled Prepaid Energy Meter Monitoring and Bill Payment System
CN108520062B (en) Power utilization information sharing method and device and computer readable storage medium
CN113344657B (en) Channel management method and system

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