CN114449024B - Power equipment control method, device, equipment and storage medium based on Internet of things - Google Patents

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

Info

Publication number
CN114449024B
CN114449024B CN202210374488.9A CN202210374488A CN114449024B CN 114449024 B CN114449024 B CN 114449024B CN 202210374488 A CN202210374488 A CN 202210374488A CN 114449024 B CN114449024 B CN 114449024B
Authority
CN
China
Prior art keywords
power equipment
equipment
public key
electric power
information
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
CN202210374488.9A
Other languages
Chinese (zh)
Other versions
CN114449024A (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 CN202210374488.9A priority Critical patent/CN114449024B/en
Publication of CN114449024A publication Critical patent/CN114449024A/en
Application granted granted Critical
Publication of CN114449024B publication Critical patent/CN114449024B/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
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • 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

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 through the construction of equipment sharing, users with control authority send control instructions to the power equipment through the server in cooperation with the key, so that efficient and safe power equipment control service is provided for residential related users such as owners and tenants, and the residential related users can conveniently manage the power use of the residential. 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 more efficient and safe residential power control service.

Description

Power equipment control 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 equipment control method, a power equipment control device, power equipment and a 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 residential power control often requires field operation, requires owners or residents to arrive at the residential site in person, and cannot provide efficient control service for operators;
2. 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 data of residential power equipment acquired by residential tenants generally needs to be provided by an owner, so that the convenience of the tenants for acquiring the residential power information is poor, and as the tenants cannot acquire first-hand information, disputes often occur between the owner and the tenants due to reliability disputes of the information.
Disclosure of Invention
The power equipment control 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 more efficient and safe residential power control service.
The first embodiment of the invention provides an electric power equipment control 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 equipment sharing to a target user according to at least one piece of electric equipment in the owner user information; wherein the device sharing comprises a device identification and a sharing right;
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; sending the plaintext data set to a target user shared by the owner user and the equipment;
and receiving a control instruction sent by the owner user or a target user shared by the equipment with the control authority, and sending the control instruction encrypted by the second private key to the electric power equipment.
As an improvement of the above, the determining whether the electric 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 sharing permission is used for determining the permission that a target user shared by the devices has; the sharing authority comprises a control authority and a read-only authority;
the control instruction comprises equipment initialization, equipment switching on and switching off and electric charge payment.
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 scheme, the method further comprises the following steps:
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 equipment sharing joined by the user.
As an improvement of the above scheme, the device 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 equipment.
A third embodiment of the present invention provides an electric power equipment control device based on the internet of things, 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 sharing system is also used for initiating equipment sharing to a target user according to at least one piece of power equipment in the owner user information; wherein the device sharing comprises a device identification and a sharing right;
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 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; sending the plaintext data set to the owner user and a target user shared by the equipment;
and the control module is used for receiving a control instruction sent by the owner user or the target user shared by the equipment with the control authority, and sending the control instruction encrypted by the second private key to the electric power equipment.
A third embodiment of the present invention provides an internet-of-things-based power control device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor, when executing the computer program, implements the internet-of-things-based power control method as described in any one of the above.
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 device control method based on the internet of things as described in any one of the above.
According to the power equipment control 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 through the construction of equipment sharing, users with control authority send control instructions to the power equipment through the server in cooperation with the key, so that efficient and safe power equipment control service is provided for residential related users such as owners and tenants, and the residential related users can conveniently manage the power use of the residential.
Drawings
Fig. 1 is a schematic flow chart of a power equipment control 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 electric power equipment control device based on the internet of things 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 equipment control method based on the Internet of things. Referring to fig. 1, the power device control method includes steps S11 to S17.
And 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.
S12, initiating equipment sharing to a target user according to at least one piece of electric equipment in the owner user information; wherein the device sharing comprises a device identification and a sharing right.
And determining the power equipment related to the equipment sharing through the equipment identification, and determining the authority of a target user shared by the equipment through the sharing authority. The sharing authority comprises a control authority and a read-only authority. The read-only permission only allows the user to acquire the parameter information acquired by the power equipment, and the control permission further allows the user to send a control instruction to the power equipment on the basis of the read-only permission.
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 of the electric power devices needs to upload information to the server, the data upload request is first sent to the server, so as to trigger the judgment of the communication condition by the server, and whether the asymmetric key updating steps of steps S22 to S23 need to be executed is determined according to the judgment result.
Specifically, step S13 may include steps S13-1 through 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 recorded 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 period of validity may be calculated 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; if the time does not exceed 2h, the ammeter A is judged to meet the communication condition.
S14, 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; 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 a second public key and a 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 electric power equipment according to the communication confirmation information; the encryption parameter set is an encryption data set obtained by encrypting with a first private key based on the electric power information collected by the electric power equipment.
The power equipment converts the collected target parameters into Json format data by collecting 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 collected 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 equipment.
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 plaintext data set of the electric power equipment for the user according to the query instruction and the equipment sharing joined by the user.
Specifically, the user process subscribes to the topics published by the APP or WEB in real time, and the data format is binary. Data content such as TDS value, PH value, temperature, residual chlorine, voltage, current, temperature, smoke volume, positioning, switching on and off (manual, automatic) information. 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, sending safety alarm information to the owner user and a target user shared by the equipment.
Furthermore, an equipment scene can be created by an owner user or a user with the control authority of the electric equipment, one or more electric equipment is added in the equipment scene to form binding of the equipment scene and the equipment, and an alarm threshold value of each parameter of each electric equipment is set in the equipment scene. And sending corresponding safety warning information under the condition that a certain parameter of any electric power equipment exceeds the warning threshold value.
And the device scene can also initiate device sharing to different friends through tools such as a chat platform, for example, chat platform tools such as WeChat or intelligent chat. And sharing the device management authority to different users according to the devices. After the sharees receive sharing, equipment friends are formed, the system automatically constructs AI group chat of the equipment, and after the AI group chat is created, rights can be recovered, sharing of new users can be added, and the equipment can be managed conveniently. If the device fails and cannot be solved, target users of the device sharing can discuss relevant solutions in the device group. And after the device parameters are set, if the device exceeds a pre-alarm threshold value, the system generates pre-alarm information and pushes the pre-alarm information to AI group chat and intelligent service of the device.
And S18, receiving a control instruction sent by the owner user or the target user shared by the equipment with the control authority, and sending the control instruction encrypted by the second private key to the electric power equipment.
The control instruction may include device initialization, device switching on and off, and electric charge payment.
For example, the owner user or the target user shared by the devices with the control authority may send a device switching instruction to the server through the app, specifically, the device switching instruction may be set to switch on and off at regular time by hardware, the device switching may be automatically started after the server arrives, and a message of switching on and off is intelligently pushed to the user
According to the power equipment control 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 through the construction of equipment sharing, users with control authority send control instructions to the power equipment through the server in cooperation with the key, so that efficient and safe power equipment control service is provided for residential related users such as owners and tenants, and the residential related users can conveniently manage the power use of the residential.
The second embodiment of the invention provides an electric power equipment control device based on the internet of things, which is suitable for a server communicating with a plurality of electric power equipment. Referring to fig. 2, the power equipment control device 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 sharing system is also used for initiating equipment sharing to a target user according to at least one piece of power equipment in the owner user information; wherein the device sharing comprises a device identification and a sharing right;
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 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 equipment.
The control module 240 is configured to receive a control instruction sent by the owner user or a target user shared by the devices with control authority, and send the control instruction encrypted by the second private key to the power device.
The working process of the power device control apparatus 200 is the power device control method according to the first embodiment, and is not described herein again.
According to the power equipment control device 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 through the construction of equipment sharing, users with control authority send control instructions to the power equipment through the server in cooperation with the key, so that efficient and safe power equipment control service is provided for residential related users such as owners and tenants, and the residential related users can conveniently manage the power use of the residential.
Referring to fig. 3, a schematic diagram of an internet-of-things-based power equipment control device 300 according to a third embodiment of the present invention is provided. The power device control apparatus 300 based on the internet of things 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 above-described power equipment control method based on the internet of things, for example, the steps of the power equipment control 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 device embodiments, for example, the functions of the modules in the power equipment control device based on the internet of things according to 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, an information processing module, and a control 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 sharing system is also used for initiating equipment sharing to a target user according to at least one piece of power equipment in the owner user information; wherein the device sharing comprises a device identification and a sharing right; 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; sending the plaintext data set to the owner user and a target user shared by the equipment; and the control module is used for receiving a control instruction sent by the owner user or the target user shared by the equipment with the control authority, and sending the control instruction encrypted by the second private key to the electric power equipment.
The power equipment control 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 power device control device 300 based on the internet of things may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the schematic diagram is merely an example of the internet-of-things-based power device control device 300, and does not constitute a limitation of the internet-of-things-based power device control device 300, and may include more or fewer components than those shown, or combine some of the components, or different components, for example, the internet-of-things-based power device control device 300 may further include an input-output device, a network access device, a bus, and the like.
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 device control 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 equipment control 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 described above 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 therebetween, 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 equipment control 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 through the construction of equipment sharing, users with control authority send control instructions to the power equipment through the server in cooperation with the key, so that efficient and safe power equipment control service is provided for residential related users such as owners and tenants, and the residential related users can conveniently manage the power use of the residential.
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 equipment control 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 equipment sharing to a target user according to at least one piece of electric equipment in the owner user information; wherein the device sharing comprises a device identification and a sharing right;
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; sending the plaintext data set to the owner user and a target user shared by the equipment;
receiving a control instruction sent by the owner user or a target user shared by the equipment with the control authority, and sending the control instruction encrypted by the second private key to the electric power equipment; 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 electric power device control method according to claim 1, wherein the sharing authority is used to determine an authority that a target user shared by the devices has; the sharing authority comprises a control authority and a read-only authority;
the control instruction comprises equipment initialization, equipment switching on and switching off and electric charge payment.
3. The electric power equipment control 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 devices bound with the owner user.
4. The power equipment control method according to claim 1, characterized by 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 equipment sharing joined by the user.
5. The electrical device control method according to claim 1, wherein the device 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 electrical device.
6. The power equipment control method according to claim 1, characterized by 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 equipment.
7. The utility model provides a power equipment controlling means 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 sharing system is also used for initiating equipment sharing to a target user according to at least one piece of power equipment in the owner user information; wherein the device sharing comprises a device identification and a sharing right;
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 power equipment management module judges whether the power equipment meets preset communication conditions or not, and the judgment comprises the following steps:
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;
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; sending the plaintext data set to the owner user and a target user shared by the equipment;
and the control module is used for receiving a control instruction sent by the owner user or the target user shared by the equipment with the control authority, and sending the control instruction encrypted by the second private key to the electric power equipment.
8. An internet of things-based power control 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 control method as claimed in any one of claims 1-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; the method for controlling the power equipment based on the Internet of things is characterized in that the equipment on which the computer readable storage medium is controlled when the computer program is executed realizes the method for controlling the power equipment based on the Internet of things according to any one of claims 1-6.
CN202210374488.9A 2022-04-11 2022-04-11 Power equipment control method, device, equipment and storage medium based on Internet of things Active CN114449024B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210374488.9A CN114449024B (en) 2022-04-11 2022-04-11 Power equipment control method, device, equipment and storage medium based on Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210374488.9A CN114449024B (en) 2022-04-11 2022-04-11 Power equipment control method, device, equipment and storage medium based on Internet of things

Publications (2)

Publication Number Publication Date
CN114449024A CN114449024A (en) 2022-05-06
CN114449024B true CN114449024B (en) 2022-06-21

Family

ID=81360438

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210374488.9A Active CN114449024B (en) 2022-04-11 2022-04-11 Power equipment control method, device, equipment and storage medium based on Internet of things

Country Status (1)

Country Link
CN (1) CN114449024B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277101A (en) * 2022-06-30 2022-11-01 广州三晶电气股份有限公司 Distributed Internet of things equipment connection method and device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112417519A (en) * 2020-11-25 2021-02-26 重庆邮电大学 Supply chain logistics data secure sharing method based on block chain
CN113541943A (en) * 2021-07-14 2021-10-22 广州有网网络科技有限公司 Network security defense system, method, equipment and storage medium for smart home
CN113904818A (en) * 2021-09-27 2022-01-07 九江学院 Lightweight fine-grained access control method supporting ciphertext sharing and aggregation

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10992187B2 (en) * 2012-07-06 2021-04-27 Energous Corporation System and methods of using electromagnetic waves to wirelessly deliver power to electronic devices
CN105281912A (en) * 2015-09-14 2016-01-27 国家电网公司 Power grid operation scheduling system based on mobile network
JP2019102970A (en) * 2017-12-01 2019-06-24 日本電信電話株式会社 Data sharing server device, key generation server device, communication terminal, and program
CN108632293B (en) * 2018-05-16 2021-08-06 山东建筑大学 Building equipment Internet of things system and method based on block chain technology
CN112214544A (en) * 2020-08-28 2021-01-12 国网江西省电力有限公司信息通信分公司 Ubiquitous power Internet of things edge data safe storage method based on permission block chain
CN114092089A (en) * 2021-11-17 2022-02-25 绍兴建元电力集团有限公司 Energy storage interaction intelligent terminal based on block chain technology

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112417519A (en) * 2020-11-25 2021-02-26 重庆邮电大学 Supply chain logistics data secure sharing method based on block chain
CN113541943A (en) * 2021-07-14 2021-10-22 广州有网网络科技有限公司 Network security defense system, method, equipment and storage medium for smart home
CN113904818A (en) * 2021-09-27 2022-01-07 九江学院 Lightweight fine-grained access control method supporting ciphertext sharing and aggregation

Also Published As

Publication number Publication date
CN114449024A (en) 2022-05-06

Similar Documents

Publication Publication Date Title
CN109034840B (en) Green certificate transaction method and system based on clean energy generation
TWI683593B (en) Systems, methods, and/or apparatus for enabling communication between devices using different communication protocols
CN106842991B (en) Remote control method and device for intelligent electric meter
CN105100708A (en) Request processing method and device
CN103049968A (en) Electric vehicle charging services
KR102468114B1 (en) System and method of charging electric car using gateway having platform
CN114449024B (en) Power equipment control method, device, equipment and storage medium based on Internet of things
CN111507696A (en) Block chain-based power transaction method and device and storage medium
CN104394366A (en) Distributed video streaming media transcoding access control method and system
CN110768842B (en) Intelligent home communication safety management and control method, system and storage medium
CN104599086A (en) Online storage cabinet grid inventory management and grid resource reservation method
CN101977237B (en) Configurable wireless application design and development method
CN109308419B (en) Cloud computing agricultural information classified encryption management system
CN109086628A (en) A kind of order processing method and relevant apparatus
CN110244573A (en) Storage system and intelligent appliance based on intelligent appliance
CN108492086A (en) Books print distribution method, device, terminal and computer readable storage medium
CN113420195B (en) Method and system for determining fault type of intelligent electric meter
CN113541943A (en) Network security defense system, method, equipment and storage medium for smart home
CN106341463A (en) A mobile internet audio/video management and control system based on an internet of things
CN114785822B (en) Power information sharing method, device, equipment and storage medium based on Internet of things
CN113505260A (en) Face recognition method and device, computer readable medium and electronic equipment
CN110505210B (en) Intelligent household data asset safe transaction method and device based on block chain
Edmonds et al. Blockchain-enabled transactive home energy management systems in distribution networks
KR102174594B1 (en) Smart gateway system
CN107360071B (en) Information sending method of intelligent home network, mobile client and intelligent home gateway

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