CN114866576B - Power equipment management method, device, equipment and storage medium based on Internet of things - Google Patents
Power equipment management method, device, equipment and storage medium based on Internet of things Download PDFInfo
- Publication number
- CN114866576B CN114866576B CN202210340591.1A CN202210340591A CN114866576B CN 114866576 B CN114866576 B CN 114866576B CN 202210340591 A CN202210340591 A CN 202210340591A CN 114866576 B CN114866576 B CN 114866576B
- Authority
- CN
- China
- Prior art keywords
- power equipment
- public key
- parameter
- equipment
- parameter set
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y10/00—Economic sectors
- G16Y10/35—Utilities, e.g. electricity, gas or water
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y30/00—IoT infrastructure
- G16Y30/10—Security thereof
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y40/00—IoT characterised by the purpose of the information processing
- G16Y40/50—Safety; Security of things, users, data or systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network 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/0442—Network 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)
- Accounting & Taxation (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Hardware Design (AREA)
- Development Economics (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Remote Monitoring And Control Of Power-Distribution Networks (AREA)
Abstract
The invention discloses a power equipment management method, a power equipment management device, power equipment management equipment and a storage medium based on the Internet of things, and relates to the field of 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 association of the application scene and the power equipment, the data can be processed more accurately, more accurate power equipment information can be provided for users, and the data management efficiency and the equipment safety of the power equipment are effectively improved. The invention also discloses a corresponding power equipment management device, equipment and a storage medium, which can improve the authenticity and reliability of the data uploading of the power equipment, and simultaneously, the data is processed by combining scenes, so that the data management efficiency and the equipment safety of the power equipment are effectively improved.
Description
Technical Field
The invention relates to the field of power equipment control, in particular to a power equipment management method, a power equipment management device, power equipment and a storage medium based on the Internet of things.
Background
The current equipment management system of the internet of things only relates to the registration and login of equipment and the simple addition, deletion, modification and check of the authority, and is difficult to adapt to the requirements of flexible control of users and the equipment of the internet of things, such as the management of the related authority of each user and each type of equipment. The management of the user on the equipment of the Internet of things is always lack of the management on the equipment service, and the intelligent service on the equipment is not well solved.
The inventor finds that the prior related art for power equipment management has at least the following problems through research on the prior art:
1. most hardware devices directly adopt a cs architecture structure, and the data flow acquisition of the internet of things devices lacks high availability, expansibility, high concurrency and low decoupling;
2. in the data acquisition process, the validity, accuracy and the like of the data are not discriminated, so that the acquired data is too fat and the bandwidth is wasted;
3. lack timely effectual processing to the data after gathering, lead to the problem that can't in time discover power equipment exists to often can't in time remind the user to handle after discovering the problem.
The invention has a very good solution to the pre-alarm of the equipment, the state of the equipment when the pre-alarm occurs and the real reason of the equipment fault. Such as overvoltage, overcurrent, temperature, etc.
Disclosure of Invention
The power equipment management method, device, equipment and storage medium based on the Internet of things can improve the authenticity and reliability of data uploading of power equipment, and meanwhile, data are processed by combining scenes, so that the data management efficiency and the equipment safety of the power equipment are effectively improved.
The first embodiment of the invention provides an electric power equipment management method based on the Internet of things, which comprises the following steps:
acquiring a preset incidence relation between an application scene and the power equipment; the incidence relation records the power equipment bound to the application scene, monitoring parameters of the bound power equipment in the application scene, and an alarm threshold value of each monitoring parameter;
for any one electric power device, acquiring a data uploading request of the electric power device, and judging whether the electric power device 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; 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 to serve as the target parameters of the monitoring parameters needing to be acquired;
acquiring an encryption parameter set sent by the electric power equipment; the encryption parameter set is an encryption data set obtained by encrypting by adopting the first private key based on a set of each target parameter collected by the power equipment;
decrypting the encrypted parameter set according to the first public key to obtain a plaintext parameter set; and judging whether each target parameter of the plaintext parameter set exceeds an alarm threshold value in the association relationship, and sending corresponding alarm information of the electric power equipment to a user under the condition that any target parameter exceeds the alarm threshold value in the association relationship.
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 power device sends the encryption parameter set through a hardware gateway; the power device transmitting the set of encryption parameters, including:
the power device sending the encryption parameter set to the hardware gateway;
the hardware gateway acquires the plaintext parameter set of the encryption parameter set according to the first public key;
the hardware gateway judges whether each target parameter of the plaintext parameter set meets the parameter screening condition or not according to the preset parameter screening condition;
if any target parameter of the plaintext parameter set meets the parameter screening condition, the hardware gateway forwards the encryption parameter set;
and if each target parameter of the plaintext parameter set does not accord with the parameter screening condition, the hardware gateway intercepts the encryption parameter set.
As an improvement of the above scheme, the parameter screening conditions include:
the interval length between the acquisition time of the encrypted data set and the acquisition time of the previous encrypted data set meets a time threshold, or the variation amplitude of the target parameter in the encrypted data set compared with the previous encrypted data set exceeds an amplitude threshold, or the target parameter in the encrypted data set exceeds a corresponding alarm threshold.
As an improvement of the above solution, the step of presetting the association relationship includes:
creating an application scene, and inputting a device identifier of the power device needing to be added into the application scene;
determining target power equipment according to the equipment identification, and binding the target power equipment to an application scene;
and inputting monitoring parameters of the target power equipment and an alarm threshold value of each monitoring parameter.
As an improvement of the above solution, the step of presetting the association relationship is executed by an app at a user side, and the step of inputting a device identifier of an electrical device that needs to join in an application scenario includes:
scanning the two-dimensional code of the power equipment or inputting the gateway SN code of the power equipment.
As an improvement of the above scheme, the power device converts the acquired target parameters into Json format data by acquiring the target parameters, and encrypts the data by using the first private key to obtain the encrypted parameter set.
A second embodiment of the present invention provides an electric power equipment management apparatus based on the internet of things, including:
the association management module is used for acquiring the association relation between the preset application scene and the electric power equipment; the incidence relation records the power equipment bound to the application scene, monitoring parameters of the bound power equipment in the application scene, and an alarm threshold value of each monitoring parameter;
the communication judgment module is used for acquiring a data uploading request of the power equipment for any power equipment and judging whether the power equipment meets a preset communication condition;
the key configuration module is used for sending a key updating signal to the electric power equipment to acquire a first public key returned by the electric power equipment if the electric power equipment does not meet the communication condition; 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;
the communication confirmation module is used for returning communication confirmation information if the power equipment meets the communication condition; 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 to serve as the target parameters of the monitoring parameters needing to be acquired;
the communication confirmation module is further used for enabling the encryption parameter set to be an encryption data set obtained by adopting the first private key for encryption on the basis of the set of each target parameter collected by the power equipment;
the communication processing module is used for decrypting the encrypted parameter set according to the first public key to obtain a plaintext parameter set; and judging whether each target parameter of the plaintext parameter set exceeds an alarm threshold value in the association relationship, and sending corresponding alarm information of the electric power equipment to a user under the condition that any target parameter exceeds the alarm threshold value in the association relationship.
A third embodiment of the present invention provides an internet of things-based power equipment management 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 equipment management 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 device management method based on the internet of things as described in any one of the above.
According to the power equipment management 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 association of the application scene and the power equipment, the data can be processed more accurately, more accurate power equipment information can be provided for users, and the data management efficiency and the equipment safety of the power equipment are effectively improved.
Drawings
Fig. 1 is a schematic flowchart of a power equipment management 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 management apparatus based on the internet of things according to a second embodiment of the present invention.
Fig. 3 is a schematic structural diagram of an electric power equipment management device based on the internet of things 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 first embodiment of the invention provides an electric power equipment management method based on the Internet of things, which is suitable for a server communicating with a plurality of electric power equipment. Referring to fig. 1, the power device management method includes steps S11 to S16.
S11, acquiring a preset incidence relation between an application scene and the power equipment; the incidence relation records the power equipment bound to the application scene, monitoring parameters of the bound power equipment in the application scene, and alarm thresholds of each monitoring parameter.
Preferably, the association relationship may be set in advance through the process as shown in step S00-1 to step S00-3.
S00-1, creating an application scene, and inputting the device identification of the power device needing to be added into the application scene.
For example, in one application scenario, there may be multiple switchboards, and one switchboard has multiple power devices. Specifically, the method may be, for example, scanning a two-dimensional code of the power device, or manually inputting a gateway SN code of the power device.
S00-2, determining target electric power equipment according to the equipment identification, and binding the target electric power equipment to an application scene.
And S00-3, inputting the monitoring parameters of the target power equipment and the alarm threshold value of each monitoring parameter.
Editing one of the power devices. Specifically, the set alarm threshold may further include a pre-alarm threshold and an alarm threshold.
And setting an alarm threshold value. Including voltage, current, temperature. Three attribute values are required to set a lower limit and an upper limit, respectively. Setting a lower alarm limit value which must be smaller than an early warning threshold value; the upper alarm threshold must be set to be greater than the early warning threshold. And setting an early warning threshold value. Including voltage, current, temperature. Three attribute values are required to set a lower limit and an upper limit, respectively. For example: the lower voltage limit 196v and the upper limit 250v indicate that if the current voltage is greater than 250v and smaller than the alarm upper limit threshold (270), an upper limit early warning signal occurs; less than 196v and greater than the lower alarm threshold (180), a lower alarm warning signal is generated.
And repeatedly setting each power device, and saving the settings after the power devices to be configured are configured. Persisting in a database; the data format of the data after the power equipment is set is a binary system. A block terminal a set of data, and generate MQTT.
The process shown in steps S00-1 to S00-3 may be specifically executed by the user through an app of the user end device. More preferably, the presetting process of the association relationship may further include selecting a user sharing the information of the electrical equipment, and sharing the application scenario to the user a and the user B after creating the application scenario, so that the user a and the user B may receive the data and the alarm information uploaded by each electrical equipment in the application scenario. Furthermore, the authority of each user can be configured when the application scene is created, for example, the user a has all the management authorities of the user and the device of the application scene, including the authorities of viewing, increasing and decreasing, and the like; the user B has only viewing rights and does not have modification rights such as addition or subtraction.
S12, for any one of the electric power equipment, 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 server on the communication condition is triggered, and whether the asymmetric key updating steps from the step S22 to the step S23 need to be executed or not is determined according to the judgment result.
Specifically, step S12 may include steps S12-1 through S12-2.
S12-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.
S12-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 validity period may be set separately for each of the electrical devices, or may be set to be uniform for a plurality of electrical 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 S13. It is to be understood that, in the case where the present method flow is executed for the first time, the electric power device does not already have the first public key, and then it is determined that the electric power device does not satisfy the communication condition.
For example, assume that the electric power devices include four electric power devices of the 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.
S13, 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 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.
S14, 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.
S15, acquiring an encryption parameter set sent by the power equipment; the encryption parameter set is an encryption data set obtained by encrypting with the first private key based on a set of target parameters acquired by the 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 collected target parameter by the power equipment according to a first private key corresponding to the first public key.
Preferably, the power device sends the encryption parameter set to the server through a hardware gateway. The encryption parameter set sent by the power equipment to the server is further subjected to screening by the hardware gateway, and comprises a step S15-1 to a step S15-5.
S15-1, the power equipment sends the encryption parameter set to the hardware gateway.
S15-2, the hardware gateway obtains the plaintext parameter set of the encryption parameter set according to the first public key.
S15-3, the hardware gateway judges whether each target parameter of the plaintext parameter set meets the parameter screening condition according to the preset parameter screening condition.
Specifically, the parameter screening conditions include: the interval length between the acquisition time of the encrypted data set and the acquisition time of the previous encrypted data set meets a time threshold, or the variation amplitude of the target parameter in the encrypted data set compared with the previous encrypted data set exceeds an amplitude threshold, or the target parameter in the encrypted data set exceeds a corresponding alarm threshold.
S15-4, if any target parameter of the plaintext parameter set meets the parameter screening condition, the hardware gateway forwards the encryption parameter set.
And S15-5, if each target parameter of the plaintext parameter set does not accord with the parameter screening condition, the hardware gateway intercepts the encryption parameter set.
More preferably, the data collected by the power equipment may be divided into the equipment data of the power equipment and the collected power data, and the encryption parameter sets may be constructed separately. And for the equipment data, performing the screening process shown in the step S15-1 to the step S15-5, and performing intelligent data screening on the hardware gateway before the equipment data is uploaded to the server, so that when the data changes and reaches a threshold value of pre-warning and warning set by the hardware equipment, the data is uploaded to the server, and the power data is uploaded to the cloud server at intervals, so that the screening of the data usefulness and accuracy is realized, the data uploaded to the server is simplified, and the utilization efficiency of the broadband is improved.
S16, decrypting the encrypted parameter set according to the first public key to obtain a plaintext parameter set; and judging whether each target parameter of the plaintext parameter set exceeds an alarm threshold value in the association relationship, and sending corresponding alarm information of the electric power equipment to a user under the condition that any target parameter exceeds the alarm threshold value in the association relationship.
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.
Furthermore, the alarm information can send out corresponding early warning signals or alarm signals according to the difference of alarm threshold values exceeded by the target parameters, the alarm signals are displayed on the web end in a graphic and text mode, the specific position of the electric power equipment is obtained by combining the geographical longitude and latitude of a map and hardware, and the reason of specific alarm is displayed so that a user can process the specific position in time.
According to the power equipment management 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 association of the application scene and the power equipment, the data can be processed more accurately, more accurate power equipment information can be provided for users, and the data management efficiency and the equipment safety of the power equipment are effectively improved.
The second embodiment of the invention provides an electric power equipment management device based on the Internet of things. Referring to fig. 2, the power device management apparatus 200 includes:
the association management module 210 is configured to acquire an association relationship between a preset application scenario and an electrical device; the incidence relation records the power equipment bound to the application scene, monitoring parameters of the bound power equipment in the application scene, and an alarm threshold value of each monitoring parameter;
the communication judgment module 220 is configured to acquire a data uploading request of the power equipment for any one of the power equipment, and judge whether the power equipment meets a preset communication condition;
a key configuration module 230, configured to send a key update signal to the electrical device if the electrical device does not satisfy the communication condition, and obtain a first public key returned by the electrical device; 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;
a communication confirmation module 240, configured to return communication confirmation information if the power device meets the communication condition; 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 to serve as the target parameters of the monitoring parameters needing to be acquired;
the communication confirmation module 240 is further configured to encrypt the encryption parameter set to an encryption data set obtained by encrypting with the first private key based on a set of target parameters acquired by the power equipment;
a communication processing module 250, configured to decrypt the encrypted parameter set according to the first public key to obtain a plaintext parameter set; and judging whether each target parameter of the plaintext parameter set exceeds an alarm threshold value in the association relationship, and sending corresponding alarm information of the electric power equipment to a user under the condition that any target parameter exceeds the alarm threshold value in the association relationship.
The working process of the electrical equipment management apparatus 200 is the electrical equipment management method according to the first embodiment, and is not described herein again.
According to the power equipment management 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 association of the application scene and the power equipment, the data can be processed more accurately, more accurate power equipment information can be provided for users, and the data management efficiency and the equipment safety of the power equipment are effectively improved.
Referring to fig. 3, a schematic diagram of an electrical equipment management device 300 based on the internet of things according to a third embodiment of the present invention is shown. The power equipment management device 300 based on the internet of things includes: a processor 310, a memory 320, and a computer program, such as a power device management 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 device management method based on the internet of things, for example, the steps of the power device management 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 equipment management 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 instruction segments of a computer program capable of performing specific functions, and the instruction segments are used for describing the execution process of the computer program in the power equipment management terminal device. For example, the power device management terminal device may include an association management module, a communication determination module, a key configuration module, a communication confirmation module, and a communication processing module. The functions of the modules are specifically as follows: the association management module is used for acquiring the association relation between the preset application scene and the electric power equipment; the incidence relation records the power equipment bound to the application scene, monitoring parameters of the bound power equipment in the application scene, and an alarm threshold value of each monitoring parameter; the communication judgment module is used for acquiring a data uploading request of the electric power equipment for any electric power equipment and judging whether the electric power equipment meets a preset communication condition; the key configuration module is used for sending a key updating signal to the electric power equipment to acquire a first public key returned by the electric power equipment if the electric power equipment does not meet the communication condition; 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; the communication confirmation module is used for returning communication confirmation information if the power equipment meets the communication condition; 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 to serve as the target parameters of the monitoring parameters needing to be acquired; the communication confirmation module is further used for enabling the encryption parameter set to be an encryption data set obtained by adopting the first private key for encryption on the basis of the set of each target parameter collected by the power equipment; the communication processing module is used for decrypting the encrypted parameter set according to the first public key to obtain a plaintext parameter set; and judging whether each target parameter of the plaintext parameter set exceeds an alarm threshold value in the association relationship, and sending corresponding alarm information of the electric power equipment to a user under the condition that any target parameter exceeds the alarm threshold value in the association relationship.
The power device management apparatus 300 based on the internet of things may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing apparatus. The power device management apparatus 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 electrical device management apparatus 300, and does not constitute a limitation on the internet-of-things-based electrical device management apparatus 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 electrical device management apparatus 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 internet-of-things-based power device management device 300, and various interfaces and lines are used to connect various parts of the whole power device management terminal device.
The memory 320 may be configured to store the computer program or module, and the processor 310 implements various functions of the electrical equipment management terminal device by running 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.
The modules or units integrated by the power equipment management 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 this 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 equipment management 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 association of the application scene and the power equipment, the data can be processed more accurately, more accurate power equipment information can be provided for users, and the data management efficiency and the equipment safety of the power equipment are effectively improved.
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 (10)
1. A power equipment management method based on the Internet of things is characterized by comprising the following steps:
acquiring a preset incidence relation between an application scene and the power equipment; the incidence relation records the power equipment bound to the application scene, monitoring parameters of the bound power equipment in the application scene, and an alarm threshold value of each monitoring parameter;
for any one electric power device, acquiring a data uploading request of the electric power device, and judging whether the electric power device 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; the communication confirmation information is used for enabling the power equipment to determine the monitoring parameters needing to be acquired according to the association relation so as to serve as the target parameters of the monitoring parameters needing to be acquired;
acquiring an encryption parameter set sent by the electric power equipment; the encryption parameter set is an encryption data set obtained by encrypting by adopting a first private key based on a set of each target parameter collected by the power equipment;
decrypting the encryption parameter set according to the first public key to obtain a plaintext parameter set; and judging whether each target parameter of the plaintext parameter set exceeds an alarm threshold value in the association relationship, and sending corresponding alarm information of the electric power equipment to a user under the condition that any target parameter exceeds the alarm threshold value in the association relationship.
2. The electrical device management method according to claim 1, wherein the determining whether the electrical 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.
3. The electrical device management method according to claim 1, wherein the electrical device transmits the encryption parameter set through a hardware gateway; the power device transmitting the set of encryption parameters, including:
the power device sending the encryption parameter set to the hardware gateway;
the hardware gateway acquires the plaintext parameter set of the encryption parameter set according to the first public key;
the hardware gateway judges whether each target parameter of the plaintext parameter set meets the parameter screening condition or not according to the preset parameter screening condition;
if any target parameter of the plaintext parameter set meets the parameter screening condition, the hardware gateway forwards the encryption parameter set;
and if each target parameter of the plaintext parameter set does not accord with the parameter screening condition, the hardware gateway intercepts the encryption parameter set.
4. The power device management method according to claim 3, wherein the parameter filtering condition includes:
the interval length between the acquisition time of the encrypted data set and the acquisition time of the previous encrypted data set meets a time threshold, or the variation amplitude of the target parameter in the encrypted data set compared with the previous encrypted data set exceeds an amplitude threshold, or the target parameter in the encrypted data set exceeds a corresponding alarm threshold.
5. The power device management method according to claim 3, wherein the presetting of the association relationship includes:
creating an application scene, and inputting a device identifier of the power device needing to be added into the application scene;
determining target power equipment according to the equipment identification, and binding the target power equipment to an application scene;
and inputting monitoring parameters of the target power equipment and an alarm threshold value of each monitoring parameter.
6. The power device management method according to claim 5, wherein the step of presetting the association relationship is performed by an app on a user side, and the step of inputting a device identifier of the power device that needs to join an application scenario includes:
scanning the two-dimensional code of the power equipment or inputting the gateway SN code of the power equipment.
7. The electrical equipment management method according to claim 1, wherein the electrical equipment acquires target parameters, converts the acquired target parameters into data in a Json format, and encrypts the data with the first private key to obtain the encrypted parameter set.
8. The utility model provides an electrical equipment management device based on thing networking which characterized in that includes:
the association management module is used for acquiring the association relation between a preset application scene and the electric power equipment; the incidence relation records the power equipment bound to the application scene, monitoring parameters of the bound power equipment in the application scene, and an alarm threshold value of each monitoring parameter;
the communication judgment module is used for acquiring a data uploading request of the electric power equipment for any electric power equipment and judging whether the electric power equipment meets a preset communication condition;
the key configuration module is used for sending a key updating signal to the electric power equipment to acquire a first public key returned by the electric power equipment if the electric power equipment does not meet the communication condition; 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;
the communication confirmation module is used for returning communication confirmation information if the power equipment meets the communication condition; the communication confirmation information is used for enabling the power equipment to determine the monitoring parameters needing to be acquired according to the association relation so as to serve as the target parameters of the monitoring parameters needing to be acquired;
the communication confirmation module is further used for acquiring an encryption parameter set sent by the power equipment; the encryption parameter set is an encryption data set obtained by encrypting by adopting a first private key based on a set of each target parameter collected by the power equipment;
the communication processing module is used for decrypting the encrypted parameter set according to the first public key to obtain a plaintext parameter set; and judging whether each target parameter of the plaintext parameter set exceeds an alarm threshold value in the association relationship, and sending corresponding alarm information of the electric power equipment to a user under the condition that any target parameter exceeds the alarm threshold value in the association relationship.
9. An internet of things-based power device management apparatus 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 device management method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored computer program; the power equipment management method based on the Internet of things is characterized in that when the computer program runs, the equipment of the computer readable storage medium is controlled to realize the power equipment management method based on the Internet of things according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210340591.1A CN114866576B (en) | 2022-04-02 | 2022-04-02 | Power equipment management method, device, equipment and storage medium based on Internet of things |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210340591.1A CN114866576B (en) | 2022-04-02 | 2022-04-02 | Power equipment management method, device, equipment and storage medium based on Internet of things |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114866576A CN114866576A (en) | 2022-08-05 |
CN114866576B true CN114866576B (en) | 2022-12-27 |
Family
ID=82630187
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210340591.1A Active CN114866576B (en) | 2022-04-02 | 2022-04-02 | Power equipment management method, device, equipment and storage medium based on Internet of things |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114866576B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115550083A (en) * | 2022-10-12 | 2022-12-30 | 云南电网有限责任公司楚雄供电局 | Continuous power supply device for metering monitoring terminal |
CN115460018B (en) * | 2022-11-09 | 2023-03-24 | 国网山东省电力公司阳信县供电公司 | Electric power data preprocessing method and system |
CN116032977B (en) * | 2023-03-24 | 2023-05-30 | 中国电力工程顾问集团西南电力设计院有限公司 | Intelligent power plant intelligent monitoring early warning maintenance management system based on Internet of things |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107612909B (en) * | 2017-09-18 | 2020-09-08 | 阿里巴巴集团控股有限公司 | Information interaction method, device and equipment about Internet of things equipment |
CN113365269B (en) * | 2021-06-15 | 2022-02-11 | 珠海市鸿瑞信息技术股份有限公司 | Power distribution 5G communication encryption system and communication encryption method based on Internet of things |
CN113938532A (en) * | 2021-09-23 | 2022-01-14 | 国网浙江省电力有限公司电力科学研究院 | Multi-protocol fusion networking method and gateway structure for power system |
CN114244727A (en) * | 2021-12-15 | 2022-03-25 | 国网辽宁省电力有限公司沈阳供电公司 | Instant generation method and system for power Internet of things communication panorama |
-
2022
- 2022-04-02 CN CN202210340591.1A patent/CN114866576B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN114866576A (en) | 2022-08-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114866576B (en) | Power equipment management method, device, equipment and storage medium based on Internet of things | |
CN103229479B (en) | A kind of website identification method, device and network system | |
CN109308419B (en) | Cloud computing agricultural information classified encryption management system | |
CN110636075A (en) | Operation and maintenance management and control and operation and maintenance analysis method and device | |
CN103684803A (en) | Flow collecting device and system and method for directional flow accounting | |
CN102624700A (en) | Method and system for user identification based on specific information | |
CN112039799B (en) | Network bandwidth management method, server, system, equipment and medium | |
CN113225339B (en) | Network security monitoring method and device, computer equipment and storage medium | |
CN113259375B (en) | Video service response method and electronic equipment | |
KR101073235B1 (en) | Procedure for monitoring the usage of a broadcasted content | |
CN113507691A (en) | Information pushing system and method based on power distribution network cross-region service | |
EP3172926B1 (en) | Method and entity in a li system for positioning of a target connected to a wi-fi network | |
CN107306200A (en) | Network failure method for early warning and the gateway for network failure early warning | |
CN113541943A (en) | Network security defense system, method, equipment and storage medium for smart home | |
CN111316600B (en) | Method and device for data transmission in a substation | |
CN113905081A (en) | Data gateway system and data intercommunication method | |
CN107527508B (en) | Road condition information acquisition method and device | |
CN115802499A (en) | Multi-channel electricity consumption data transmission method and device and communication module | |
CN111277552A (en) | Method, device and storage medium for identifying direct signaling security threat | |
CN108390912A (en) | A kind of method and apparatus of multiport test data acquisition | |
CN110830935B (en) | Policy control method, system and related equipment | |
CN109842627B (en) | Method and device for determining service request frequency | |
US10687212B2 (en) | Mobile network core component for managing security keys | |
CN108391283B (en) | Mobile phone traffic monitoring system based on Internet | |
CN112034802A (en) | Data acquisition system applied to cloud data computing |
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 |