Rapid positioning method and system for intelligent electric energy meter
Through the quick positioning method of smart power meter, the APP and Gaode Map SDK are used to realize the visual display of the power meter position, and the positioning accuracy is improved through the deviation correction algorithm, which solves the problem of the lack of positioning function of the power meter and improves operation and maintenance efficiency and asset safety.
Patent Information
- Application Number
- CN202411532794.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-03-28
AI Technical Summary
The lack of positioning function of existing power meters makes it difficult for operation and maintenance personnel to quickly and accurately find the installation location of the power meters, especially when the power meters are stolen, resulting in asset loss.
The smart energy meter fast positioning method is adopted, and the positioning APP is developed by collecting the power meter location data and transmitting it to the server. The HBuilderX and uni-app frameworks are used to develop the positioning APP, integrating the Gaode Map SDK to realize the visual display of the power meter location, and improving the positioning accuracy through a bias correction algorithm.
It greatly improves the work efficiency of operation and maintenance personnel, shortens the time for position search of electricity meters, realizes rapid positioning of stolen electricity meters, effectively recovers economic losses, and reduces maintenance costs.
Smart Images

Figure CN119716908A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric meter positioning, and in particular to a method and system for quickly positioning an intelligent electric energy meter. Background Art
[0002] The operating environment of electric energy meters is characterized by diverse geographical distribution and complex operating environment, which makes the operation and maintenance of electric energy meters face many difficulties. At present, electric energy meters do not have positioning functions. For electric energy meters that do not require frequent maintenance, it is difficult for operation and maintenance personnel to quickly and accurately find their installation locations. When electric energy meters are stolen, operation and maintenance personnel will not be able to find the stolen electric energy meters, resulting in asset loss. Summary of the invention
[0003] In view of the above-mentioned problems, the present invention is proposed.
[0004] Therefore, the technical problem solved by the present invention is: currently there are problems such as the electric energy meter has no positioning function and cannot quickly find the installation location, and the electric energy meter cannot be located if it is stolen.
[0005] In order to solve the above technical problems, the present invention provides the following technical solutions: a method for quickly locating a smart electric energy meter, comprising: collecting the electric meter location data and transmitting it to a server.
[0006] Use HBuilderX and uni-app framework to develop positioning APP.
[0007] The positioning data is corrected through the correction algorithm to display accurate positioning.
[0008] As a preferred solution of the method for quickly locating a smart electric energy meter described in the present invention, the collecting of the electric meter location data and transmitting it to the server includes remotely transmitting the location data to the server via a 4G communication method.
[0009] As a preferred solution of the smart electric energy meter rapid positioning method described in the present invention, the use of HBuilderX and uni-app framework to develop a positioning APP includes using HBuilderX development tools and uni-app framework to develop a positioning APP, and integrating Amap SDK to realize the visualization display of the electric energy meter location.
[0010] Configure device access information on the OneNet IoT platform and implement data transmission and storage through the MQTT protocol.
[0011] As a preferred solution of the method for rapid positioning of a smart electric energy meter described in the present invention, the correcting of the positioning data by a correction algorithm includes using the WGS-84 coordinate system for the positioning data and correcting the positioning data by a hidden Markov model positioning correction algorithm.
[0012] As a preferred solution of the method for rapid positioning of smart electric energy meters described in the present invention, wherein: the accurate positioning display includes: the positioning implementation process includes: the user first enters the asset number of the electric energy meter to be positioned in the positioning app. The system sends the required positioning electric energy meter data through 4G communication. GPS is used preferentially, combined with precise single-point real-time dynamic positioning technology, to provide WSS-84 coordinate data.
[0013] As a preferred solution of the method for rapid positioning of smart electric energy meters described in the present invention, the positioning implementation process also includes, if there is no GPS signal, using a base station and WiFi fusion method, combined with precise single-point real-time dynamic positioning technology, to provide WGS-84 coordinate data.
[0014] As a preferred solution of the smart electric energy meter rapid positioning method described in the present invention, the positioning implementation process also includes: if the WGS-84 positioning coordinate data is within the allowable deviation range, the positioning data is uploaded to the server through 4G communication, otherwise the position correction instruction is adjusted, and the hidden Markov model positioning correction method is used to perform cyclic positioning to improve the positioning accuracy.
[0015] Register an account on the official website of Amap to apply for permission information, import the SDK package of Amap in uniapp, and call Amap for visual positioning.
[0016] The end user enters the meter device number through the APP to view the location information of a specific electricity meter.
[0017] A smart electric energy meter rapid positioning system, characterized in that: it includes:
[0018] The transmission module collects the meter location data and transmits it to the server.
[0019] Development module, using HBuilderX and uni-app framework to develop positioning APP.
[0020] The positioning module corrects the positioning data through the correction algorithm and displays the accurate positioning.
[0021] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0022] A computer-readable storage medium stores a computer program, which implements the steps of the method described above when executed by a processor.
[0023] The beneficial effects of the present invention are as follows: It solves the positioning function that the existing electric energy meters do not have, greatly improves the work efficiency of the operation and maintenance personnel, and shortens the time for finding the location of the electric energy meter. The overall performance of the electric energy meter management system is significantly improved by combining real-time positioning with the energy storage module. The electric energy meter has an energy storage module, which can still ensure that the location information is sent within a certain period of time after the external power supply is cut off, so as to realize the rapid positioning of the stolen electric energy meter and effectively recover the economic losses. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0025] Figure 1 The present invention provides an overall flow chart of a method and system for quickly locating a smart electric energy meter according to the first embodiment of the present invention. DETAILED DESCRIPTION
[0026] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0027] Example 1, reference Figure 1 , is an embodiment of the present invention, and provides a method for quickly locating a smart electric energy meter, comprising:
[0028] It should be noted that the remote transmission of the research and development data of the electric energy meter module with rapid positioning function uses 4G communication method. The positioning is based on three methods (GPS satellite positioning, base station positioning, WiFi positioning), combined with precise single-point real-time dynamic positioning (PPP-RTK) technology, and the data instructions use the DTU library.
[0029] The device is developed and integrated into the carrier module, converting the 12V voltage in the carrier to 4.2V. The TP5100 lithium battery charging module is selected. The red light flashes in the charging state, and the blue light indicates full and no-load state.
[0030] The device debugging uses CH340G, and the step-down module uses the SY8120I / SM8102H chip.
[0031] To save power consumption, the Lua scripting language is used to put the device into ultra-low power mode using the relevant API interface, and the device is woken up once every 10 minutes to transmit positioning data. After being called in the task, it automatically enters low power mode and executes a series of low power requests. Then it automatically goes to sleep. After sleeping, the entire program stops running. When the timer or input wakes up, the program is re-executed. It is generally used in the timed wake-up acquisition function or external trigger monitoring scene. After testing the 3.7V / 500mah battery, the ultra-low power sleep is automatically awakened for 10 minutes, positioning once, uploading GPS information and base station information, and under normal network conditions, it works for about 50 seconds after waking up once, with an average current of 2.0ma, and the estimated usable time is about 250 hours to 10 days. The battery uses a 3.7V 1000mah rechargeable lithium battery, and the battery voltage is collected using AD.
[0032] S1: Collect meter location data and transmit it to the server.
[0033] The location data is remotely transmitted to the server via 4G communication.
[0034] S2: Use HBuilderX and uni-app framework to develop positioning APP.
[0035] The positioning APP is developed using the HBuilderX development tool and the uni-app framework, and the Amap SDK is integrated to realize the visualization of the location of the electricity meter.
[0036] Configure device access information on the OneNet IoT platform and implement data transmission and storage through the MQTT protocol.
[0037] S3: Correct the positioning data through the correction algorithm to display accurate positioning.
[0038] The positioning data uses the WGS-84 coordinate system and is corrected by the hidden Markov model positioning correction algorithm.
[0039] The positioning implementation process includes: the user first enters the asset number of the electric energy meter to be located in the positioning app. The system sends the required positioning electric energy meter data through 4G communication. GPS is used first, combined with precise single-point real-time dynamic positioning technology, to provide WSS-84 coordinate data.
[0040] If there is no GPS signal, the base station and WiFi fusion method is used, combined with precise single-point real-time dynamic positioning technology, to provide WGS-84 coordinate data.
[0041] If the WGS-84 positioning coordinate data is within the allowable deviation range, the positioning data is uploaded to the server through 4G communication. Otherwise, the position correction instruction is adjusted, and the hidden Markov model positioning correction method is used to perform cyclic positioning to improve the positioning accuracy.
[0042] Register an account on the official website of Amap to apply for permission information, import the SDK package of Amap in uniapp, and call Amap for visual positioning.
[0043] The end user enters the meter device number through the APP to view the location information of a specific electricity meter.
[0044] The above embodiments also include a smart electric energy meter rapid positioning system, specifically:
[0045] The transmission module collects the meter location data and transmits it to the server.
[0046] Development module, using HBuilderX and uni-app framework to develop positioning APP.
[0047] The positioning module corrects the positioning data through the correction algorithm and displays the accurate positioning.
[0048] The computer device may be a server. The computer device includes a processor, a memory, an input / output interface (I / O for short) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data cluster data of a power monitoring system. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method is implemented.
[0049] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0050] Embodiment 2 is an embodiment of the present invention, which provides a method and system for quickly locating a smart electric energy meter. In order to verify the beneficial effects of the present invention, a scientific demonstration is carried out through simulation experiments.
[0051] In order to verify the actual effect of a smart electric energy meter fast positioning method, the experiment will be based on the power company's existing electric energy meter management system for comparative research. The existing technology mainly relies on manual records and paper maps to locate the geographical location of the electric energy meter, while the present invention uses intelligent positioning technology to achieve accurate positioning of the electric energy meter through 4G communication, correction algorithm and APP display.
[0052] Existing technology: Manual recording of the location of the electric meter is used, and the dispatcher is relied upon to conduct on-site surveys and positioning. When the electric energy meter is lost, it is difficult to quickly find the exact location.
[0053] The present invention: a smart electric energy meter rapid positioning system, uses 4G communication to remotely transmit the electric energy meter location data to a server, integrates the AutoNavi map SDK through the positioning APP developed by HBuilderX to achieve visual positioning of the electric energy meter, and corrects the positioning data through the hidden Markov model to improve the positioning accuracy.
[0054] Experimental steps:
[0055] Collecting meter location data: In the prior art, meter location data relies on manual on-site recording, which is less accurate and not updated in a timely manner. The present invention automatically collects the geographical location data of the meter through the installed sensors and transmits it remotely to the server through 4G communication.
[0056] Positioning APP development and data display: The existing system does not have similar APP tools, and operation and maintenance personnel need to rely on traditional paper maps and manual on-site inquiries. The present invention uses HBuilderX to develop a positioning APP and integrates the AutoNavi Map SDK to achieve a visual display of the meter location. The operation and maintenance personnel can enter the meter number through the APP to quickly view the geographical location of the meter.
[0057] Application of correction algorithm: The manual recording accuracy in the prior art is low, especially in areas with complex geographical locations, which makes it more difficult to accurately locate. The present invention uses the hidden Markov model positioning correction algorithm to correct the WGS-84 coordinate data of the meter. Especially when the GPS signal is unstable or there is no signal, the system will automatically enable the base station and WiFi fusion method for positioning, correct errors, and improve positioning accuracy.
[0058] Positioning and data upload: In the experiment, by comparing the positioning efficiency of the old and new technologies after the electric meter was stolen, the existing technology requires a long time for manual search, while the present invention can assist in positioning through base stations and WiFi when there is no GPS signal, and upload the data to the server after correction. The experimenter can quickly find the location of the electric meter through the APP. The experimental results are shown in Table 1.
[0059] Table 1 Experimental results
[0060]
[0061]
[0062] It can be clearly seen from the table data that the intelligent electric energy meter positioning method of the present invention shows significant advantages in multiple important technical parameters. The existing technology relies on manual search for the location of the electric meter, which takes a long time and the average positioning time is 120 minutes. The present invention shortens the positioning time to 5 minutes through an intelligent positioning system, and the time efficiency is improved by 95.83%. The positioning error of the traditional manual method is large, usually around 100 meters, especially in areas with complex geographical environments. The present invention combines the correction algorithm and the WGS-84 coordinate system to greatly reduce the positioning error to 5 meters, and the accuracy is improved by 95%. Since the existing technology relies on manual positioning, the success rate is low, only 60%. Through automatic collection and correction by the intelligent system, the positioning success rate of the present invention is as high as 98%, which is significantly improved by 63.33%. In the traditional method, when the electric meter is lost, it usually takes more than 4 hours to find the time, while the present invention shortens the search time of the lost electric meter to 0.5 hours through the intelligent positioning system, and the search efficiency is improved by 87.5%. The electric meter location data of the prior art is usually updated once a year, and the update cycle is long. The present invention can update the meter location data every month through automatic data collection and remote transmission, and the annual update frequency is increased by 1100%. There is no similar mobile application tool in the prior art, and operation and maintenance personnel rely on paper documents to find the location. The positioning APP response time of the present invention is only 1.5 seconds, which greatly improves the convenience and efficiency of meter search. The maintenance cost of the traditional manual system is relatively high, about 50,000 yuan per year. The intelligent positioning system of the present invention reduces the maintenance cost to 30,000 yuan through automated processing, saving 40% of the cost.
[0063] In summary, the experimental data fully proves that the rapid positioning method of smart electric energy meters has significant advantages in positioning efficiency, positioning accuracy, data update frequency, etc., especially in the case of electric meter loss, it can quickly locate and reduce asset losses. The system not only reduces the labor intensity of operation and maintenance personnel, but also reduces the maintenance cost of the system and improves the intelligent level of electric energy meter management.
[0064] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A method for quickly locating a smart electric energy meter, characterized in that: include: Collect meter location data and transmit it to the server; Use HBuilderX and uni-app framework to develop positioning APP; The positioning data is corrected through the correction algorithm to display accurate positioning.
2. The method for quickly locating a smart electric energy meter according to claim 1, characterized in that: The collecting of the electric meter location data and transmitting it to the server includes remotely transmitting the location data to the server via a 4G communication method.
3. The method for quickly locating a smart electric energy meter according to claim 2, characterized in that: The use of HBuilderX and uni-app framework to develop a positioning APP includes using HBuilderX development tools and uni-app framework to develop a positioning APP, and integrating Amap SDK to realize visual display of the location of the electric energy meter; Configure device access information on the OneNet IoT platform and implement data transmission and storage through the MQTT protocol.
4. The method for quickly locating a smart electric energy meter according to claim 3, characterized in that: The correcting of the positioning data by using a correction algorithm includes: using the WGS-84 coordinate system for the positioning data, and correcting the positioning data by using a hidden Markov model positioning correction algorithm.
5. The method for quickly locating a smart electric energy meter according to claim 4, characterized in that: The display of accurate positioning includes: the positioning implementation process includes: the user first enters the asset number of the electric energy meter to be positioned in the positioning app; The system sends the required positioning electric energy meter data through 4G communication; GPS is used preferentially, combined with precise single-point real-time dynamic positioning technology, to provide WSS-84 coordinate data.
6. The method for quickly locating a smart electric energy meter according to claim 5, characterized in that: The positioning implementation process also includes: If there is no GPS signal, the base station and WiFi fusion method is used, combined with precise single-point real-time dynamic positioning technology, to provide WGS-84 coordinate data.
7. The method for quickly locating a smart electric energy meter according to claim 6, characterized in that: The positioning implementation process also includes uploading the positioning data to the server through 4G communication if the WGS-84 positioning coordinate data is within the allowable deviation range, otherwise adjusting the position correction instruction, using the hidden Markov model positioning correction method, cyclic positioning, and improving the positioning accuracy; Register an account on the Amap official website to apply for permission information, import the Amap SDK package in uniapp, and call Amap for visual positioning; The end user enters the meter device number through the APP to view the location information of a specific electricity meter.
8. A smart electric energy meter rapid positioning system using the method according to any one of claims 1 to 7, characterized in that: Transmission module, collects meter location data and transmits it to the server; Development module, using HBuilderX and uni-app framework to develop positioning APP; The positioning module corrects the positioning data through the correction algorithm and displays the accurate positioning.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.