Search

CN-122021683-A - Code scanning and table allocation method and system based on energy consumption management

CN122021683ACN 122021683 ACN122021683 ACN 122021683ACN-122021683-A

Abstract

The invention discloses a code scanning and table allocation method and a code scanning and table allocation system based on energy consumption management, wherein the code scanning and table allocation method comprises the following steps of creating an energy consumption management project; inputting electric power instrument information, outputting point position table files, importing an energy consumption management system, pairing the electric power instrument with a gateway, debugging, monitoring and analyzing. The code scanning and meter matching method and the code scanning and meter matching system based on energy consumption management can automatically identify the number of the electric power instrument, shorten the information input time, stop input errors, simplify the debugging process, reduce the field operation complexity, reduce the technical threshold, and realize abnormal early warning by deeply analyzing the energy consumption characteristics.

Inventors

  • PANG HAO
  • Su jiao

Assignees

  • 中讯博尔智能技术(无锡)有限公司

Dates

Publication Date
20260512
Application Date
20251231

Claims (10)

  1. 1. The code scanning and table allocation method based on energy consumption management is characterized by comprising the following steps of: s10, creating an energy consumption management project through a debugging assistant APP, and adding a data acquisition gateway into the energy consumption management project; S20, sequentially inputting information of each electric power instrument for the energy consumption management project, namely selecting a gateway to which the electric power instrument belongs, inputting a physical number of the electric power instrument, and simultaneously inputting a loop name and model information of the electric power instrument; S30, exporting information of each electric power instrument into a point position table file; s40, importing the point location table file into an energy consumption management system; s50, transmitting the configuration information of the electric instrument in the point position table to a corresponding data acquisition gateway through the energy consumption management system by one key so as to complete pairing of the electric instrument and the gateway; s60, debugging the electric power instrument to ensure the integrity and stability of data transmission and communication; s70, the energy consumption management system receives monitoring data of each electric power instrument acquired by the data acquisition gateway, and monitors and analyzes the behavior characteristics of the electric power user to which each electric power instrument belongs; In step S20, the physical number of the electric power meter may be input by any one of scanning a two-dimensional code identifier on the electric power meter, acquiring a panel image by a camera, and then performing image data processing and manual input.
  2. 2. The method for scanning and matching the table based on the energy consumption management of claim 1, wherein in the step 20, after the panel image is collected by the camera, preprocessing and coarse positioning are sequentially performed, and the preprocessing comprises the following steps: s211, denoising the image, namely eliminating noise interference in the shooting process; s212, converting the color image into a gray image so as to simplify the subsequent processing; s213, binarization, namely converting the gray level image into a black-white binary image so as to improve the character recognition accuracy; s214, normalizing, namely adjusting the size of the black-and-white binary image to be uniform, and ensuring the comparability of the images under different angles; s215, enhancing the contrast ratio, namely enhancing the character edge characteristics to obtain a preprocessed image, so as to facilitate the subsequent characteristic extraction; The coarse positioning comprises the following steps: s221, extracting edge features of the preprocessed image by using a canny edge feature extraction algorithm; s222, performing morphological treatment on the extracted edge features, including corrosion and expansion; s223, primarily screening the processed contour, and removing undersize contour features; S224, calculating the minimum circumscribed rectangle of the residual features, and calculating the rectangle degree rect by using the Area of the minimum circumscribed rectangle and the Area of the outline features, wherein the mathematical expression of the rectangle degree rect is rect=area ol /Area rect , wherein Area ol is the Area of the outline, and Area rect is the Area of the minimum circumscribed rectangle; s225, taking the contour features with the rectangle degree larger than the set threshold value as panel features, and extracting the ROI area in the panel contour; s226, redrawing the outline characteristics of the ROI area into a blank image, and inputting the outline characteristics of the ROI area into the identification model as an input image to obtain the physical number of the electric power instrument.
  3. 3. The method for code-scanning and table allocation based on energy consumption management according to claim 1, wherein said step S60 comprises the steps of: s61, sending a test instruction to each electric power instrument, and recording the sending time t s ; S62, receiving a network test packet returned by each electric power instrument after receiving a test instruction, recording the current receiving time t R , calculating the time difference Deltat=t R -t s , obtaining the reaction time of the current test round, analyzing and verifying a character string of the network test packet, judging whether data are complete, and if the data are incomplete, sending alarm information to a manager and ending debugging; S63, repeatedly executing the step S62 for N times, calculating the average reaction time length and the variance of the reaction time length, and constructing the two-dimensional reaction characteristics of each electric power instrument; S64, comparing the two-dimensional response characteristics of each electric power instrument with a characteristic template, wherein the characteristic template comprises a response time length reference range and a variance range which are constructed based on a 3sigma principle, if the average response time length and the variance of the response time length of the two-dimensional response characteristics are respectively larger than the upper limit values of the response time length reference range and the variance range, judging that the response time length is overlong or the network fluctuates, and sending alarm information to a manager and ending debugging.
  4. 4. The method for code-scanning and table allocation based on energy consumption management according to claim 1, wherein said step S70 comprises the steps of: s71, when each electric power instrument collects and updates data, historical energy consumption data of rotation updating of at least M days at the current time point is intercepted, the energy consumption data comprises ammeter reading numbers of a plurality of time collection points, and the electric power instrument periodically transmits data to a gateway; S72, extracting characteristics of the historical energy consumption data to reflect behavior characteristics of a user, wherein the behavior characteristics comprise energy consumption level characteristics and trend characteristics; S73, constructing a two-dimensional data set of time points and energy consumption values according to the energy consumption data of each power user, and performing density clustering on a plurality of data points of the two-dimensional data set according to the energy consumption values to obtain a data point cluster with similar energy consumption values; S74, carrying out similarity analysis on time points of each data point cluster, and carrying out clustering again to obtain a plurality of secondary clustering clusters so as to obtain electricity utilization rules of power users; And S75, monitoring whether the current electricity utilization behavior of the power consumer accords with the obtained electricity utilization rule, and giving an early warning to the power consumer after the abnormality is found.
  5. 5. The method for code-scanning and table allocation based on energy consumption management according to claim 4, wherein said step S72 comprises the steps of: s721, extracting the daily power consumption; S722, data cleaning, namely removing abnormal values and processing missing data; S723, data normalization, namely converting energy consumption data with different dimensions into a unified range, so as to facilitate subsequent analysis; s724, aligning time sequences, ensuring alignment of acquisition time points of all power meters, and eliminating deviation caused by different acquisition frequencies.
  6. 6. The utility model provides a sweep sign indicating number and join in marriage table system based on energy consumption management which characterized in that includes: the electric power instrument is provided with a two-dimensional code identifier, and the content of the two-dimensional code identifier is a unique physical number of the electric power instrument; The debugging assistant APP is used for inputting information of the electric power instrument and exporting the information into a point position table file, wherein the information comprises gateway data, a physical number, a loop name and model information, and the debugging assistant APP is internally provided with a two-dimensional code scanning identification module and an image identification module which are used for identifying the physical number; The energy consumption management system is used for receiving the point position table file, debugging the electric power instrument and analyzing the energy consumption data characteristics; The data acquisition gateway is used for receiving the instrument configuration information issued by the energy consumption management system and acquiring monitoring data of a corresponding electric power instrument according to the instrument configuration information; and the scanning device is used for scanning the two-dimensional code identifier of the electric power instrument so as to identify the physical number and input the physical number into the debugging assistant APP.
  7. 7. The code scanning and table allocation system based on energy consumption management according to claim 6, wherein the image recognition module comprises a preprocessing unit and a coarse positioning unit, and the preprocessing unit comprises: The image denoising module is used for eliminating noise interference of the scanned image; the graying processing module is used for converting the color image into a gray image; The binarization module is used for converting the gray level image into a black-and-white binary image so as to improve the character recognition accuracy; the normalization module is used for adjusting the size of the black-and-white binary image to be uniform, so as to ensure the image comparability under different angles; The contrast enhancement module is used for enhancing character edge characteristics to obtain a preprocessed image so as to facilitate subsequent characteristic extraction; the coarse positioning unit includes: The edge extraction module is used for extracting edge characteristics of the preprocessed image by using a canny edge characteristic extraction algorithm; The morphological processing module is used for performing morphological processing on the extracted edge features, including corrosion and expansion; The profile screening module is used for carrying out preliminary screening on the processed profile, and after undersize profile features are removed, carrying out preliminary screening on the processed profile, and removing undersize profile features; And the ROI extraction module is used for taking the contour features with the rectangle degree larger than the set threshold value as panel features, extracting the ROI region in the panel contour, redrawing the contour features of the ROI region into a blank image, and inputting the blank image into the identification model as an input image to obtain the physical number of the electric power instrument.
  8. 8. The code scanning and meter matching system based on energy consumption management according to claim 6, wherein the energy consumption management system is provided with a built-in meter debugging module, and the meter debugging module comprises: the instruction sending unit is used for sending a test instruction to the computer and recording the sending time t s ; The data receiving unit is used for receiving network test packets returned by each electric power instrument after receiving the test instruction, and recording the receiving time t R ; The characteristic calculation unit is used for calculating the reaction time delta t=t R -t s of each round of test, and calculating the average reaction time and the variance of the reaction time after N rounds of test so as to construct a two-dimensional reaction characteristic; The threshold value comparison unit is used for comparing the two-dimensional reaction characteristics with a characteristic template constructed based on a 3sigma principle, wherein the characteristic template comprises a reaction duration reference range and a variance range; the data verification unit is used for analyzing the character string data of the network test packet and verifying the data integrity; And the alarm unit is used for triggering an alarm and pushing the alarm to a manager terminal when the average reaction time length of the two-dimensional reaction characteristics is larger than the upper limit of the reaction time length reference range and the variance of the reaction time length is larger than the upper limit of the variance reference range or the character string data of the network test packet is incomplete.
  9. 9. The code scanning and table allocation system based on energy consumption management according to claim 6, wherein the energy consumption management system is internally provided with an energy consumption characteristic extraction module, and the energy consumption characteristic extraction module comprises: The historical data intercepting unit is used for intercepting historical energy consumption data of wheel movement update of at least M days at the current time point when the electric power instrument collects and updates data, wherein the energy consumption data comprises ammeter reading numbers of a plurality of time collection points; The behavior feature construction unit is used for carrying out feature extraction on the historical energy consumption data so as to reflect the behavior features of the user, wherein the behavior features comprise energy consumption level features and trend features; The primary clustering unit is used for constructing a two-dimensional data set of time points and energy consumption values according to the energy consumption data of each power user, and performing density clustering on a plurality of data points of the two-dimensional data set according to the energy consumption values to obtain a data point cluster with similar energy consumption values; The secondary clustering unit is used for carrying out similarity analysis on the time points of each data point cluster, and carrying out clustering again to obtain a plurality of secondary clustering clusters so as to obtain the electricity utilization rule of the power user; the alarm unit is also used for giving an early warning to the power consumer after the current power consumption behavior of the power consumer is not in accordance with the obtained power consumption rule.
  10. 10. The energy consumption management-based code scanning and meter matching system according to claim 9, wherein the behavior feature construction unit includes: the solar power consumption calculation module is used for calculating solar power consumption; The data cleaning module is used for removing abnormal values and processing missing data; the data normalization module is used for converting the energy consumption data with different dimensions into a unified range; and the time sequence alignment module is used for aligning the time sequence and ensuring the alignment of the acquisition time points of all the electric power meters so as to eliminate deviation caused by different acquisition frequencies.

Description

Code scanning and table allocation method and system based on energy consumption management Technical Field The invention relates to the technical field of Internet of things and energy consumption management, in particular to a code scanning and table allocation method and a code scanning and table allocation system based on energy consumption management. Background In the scenes of modern buildings, industrial facilities, commercial complexes and the like, an energy consumption management system becomes a core infrastructure for realizing energy fine management and control and reducing energy consumption cost, and the system collects energy consumption data through electric power metering instruments deployed in each power distribution loop, and transmits the energy consumption data to a background management platform after being collected through a data collection gateway so as to carry out energy consumption detection, analysis and optimization decision. The stable operation of the whole system depends on two important links, namely, the accurate pairing of the instrument and the gateway, namely, the "table allocation", and the deep analysis and efficient management of data, namely, the "energy consumption management". The traditional distribution flow is mainly realized through a plurality of steps of manual recording, information arrangement, data entry, field debugging and the like, the manual dependency is high, the entry error rate is high, a higher technical threshold exists, and the defects of the distribution flow are more remarkable along with the expansion of application projects of a management system. In the aspect of the energy consumption management system, the energy consumption management system in the prior art generally stays on the data acquisition and simple display level, cannot realize deep mining and efficient application of data, has insufficient data processing capacity and missing feature extraction, and has the defects of abnormal early warning lag and insufficient data analysis depth. Accordingly, there is a need for improvements in the prior art for energy consumption management methods and systems. Disclosure of Invention The invention aims to overcome the defects in the prior art and provide a code scanning and table allocation method and a code scanning and table allocation system based on energy consumption management, which are used for reducing workload, reducing errors, improving efficiency, lowering thresholds to simplify table allocation flow, realizing deep mining of energy consumption data to improve configuration accuracy and improving overall performance and application value. In order to solve the technical problems, the invention provides a code scanning and table allocation method based on energy consumption management, which comprises the following steps: s10, creating an energy consumption management project through a debugging assistant APP, and adding a data acquisition gateway into the energy consumption management project; S20, sequentially inputting information of each electric power instrument for the energy consumption management project, namely selecting a gateway to which the electric power instrument belongs, inputting a physical number of the electric power instrument, and simultaneously inputting a loop name and model information of the electric power instrument; S30, exporting information of each electric power instrument into a point position table file; s40, importing the point location table file into an energy consumption management system; s50, transmitting the configuration information of the electric instrument in the point position table to a corresponding data acquisition gateway through the energy consumption management system by one key so as to complete pairing of the electric instrument and the gateway; s60, debugging the electric power instrument to ensure the integrity and stability of data transmission and communication; s70, the energy consumption management system receives monitoring data of each electric power instrument acquired by the data acquisition gateway, and monitors and analyzes the behavior characteristics of the electric power user to which each electric power instrument belongs; In step S20, the physical number of the electric power meter may be input by any one of scanning a two-dimensional code identifier on the electric power meter, acquiring a panel image by a camera, and then performing image data processing and manual input. Preferably, in step 20, after the panel image is collected by the camera, the preprocessing and coarse positioning are sequentially performed, and the preprocessing includes the following steps: s211, denoising the image, namely eliminating noise interference in the shooting process; s212, converting the color image into a gray image so as to simplify the subsequent processing; s213, binarization, namely converting the gray level image into a black-white binary image so as to improve the