Electricity meter data reporting method and system

Through WIFI hotspots and MESH network technology, the efficient, reliable and flexible reporting of power meter data is achieved, and the problems of laying difficulties, data redundancy, signal attenuation and other problems in existing power meter communication methods are solved, improving the scalability and maintainability of the system.

CN119155575BActive Publication Date: 2025-09-02SHENZHEN YINJUN TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411620603.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-14
Publication Date
2025-09-02
Estimated Expiration
2044-11-14

AI Technical Summary

Technical Problem

The existing power meter communication methods have problems such as difficulty in laying, large data redundancy, system paralysis caused by host failure, signal attenuation, limited number of connected devices, high maintenance costs and signal instability, which limits the scalability and maintainability of the system.

Method used

Using WIFI hotspot and MESH network technology, the hotspot function is activated through WIFI communication and maintenance devices, wireless connection between the concentrator and the power meter is established, networking is formed using the MESH network, and data transfer is carried out through the meter control gateway and the power meter control gateway, and finally data is reported through the 485 interface.

Benefits of technology

It improves data transmission efficiency and reliability, reduces system costs, enhances network coverage and flexibility, realizes efficient, reliable and flexible reporting of power meter data, and improves the scalability and maintainability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119155575B_ABST
    Figure CN119155575B_ABST
Patent Text Reader

Abstract

The present invention relates to an electric energy meter data reporting method and system, comprising activating a WIFI hotspot function of a WIFI communication and maintenance device. After activation, a concentrator, an electric energy meter and the WIFI communication and maintenance device establish a communication connection via the WIFI hotspot. The concentrator and the electric energy meters within the coverage of the WIFI hotspot are networked via a MESH network. The electric energy meters are networked internally via a meter control gateway and connected to an electric energy meter control gateway via the meter control gateway. The electric energy meter control gateway is connected to multiple concentrators via an ad hoc network. Based on the communication networking of the MESH network, the concentrator is connected to the electric energy meters in the network via an interface provided by the meter control gateway, and the read electric energy meter data is transferred to the electric energy meter control gateway. The concentrator receives the electric energy meter data transferred by the electric energy meter control gateway via a link control frame, is connected to a device-side master station via a built-in 485 interface, and reports the electric energy meter data to the device-side master station via a 485 bus.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of power systems, and in particular to a method and system for reporting electric energy meter data. Background Art

[0002] Currently, the primary communication and maintenance methods for electricity meters are RS-485 and power line carrier (PLC); the primary communication and maintenance methods for concentrators are RS-485 / 232, Ethernet, and 4G. Each of these methods has drawbacks and limitations, such as: Difficulty in installation: Due to the physical connection characteristics of RS-485 / 232, laying wiring can be complex and difficult. High data redundancy: Data redundancy can occur during data transmission, impacting data processing efficiency. Host failure can lead to system failure: A host failure can paralyze the entire system, as RS-485 typically utilizes a one-master, multiple-slave architecture for communication. High maintenance costs: Due to the complexity and numerous potential failure points of RS-485, maintenance costs are relatively high. Signal attenuation and a limited number of connected devices: Over long distances, data transmission errors or loss can occur due to signal attenuation and noise interference. Furthermore, due to its bus-like topology, the number of connected devices increases as the number of connected devices increases, thus limiting the number of connected devices. The main drawbacks of Ethernet access include Category 5 cabling issues, difficulty locating faults, cumbersome user isolation methods, and a high number of broadcast packets. These issues have limited Ethernet's use in certain application scenarios. 4G network communications also suffer from unstable communication and packet loss in areas with unstable signals and lack of coverage. Summary of the Invention

[0003] The purpose of the present invention is to provide a method and system for reporting electric energy meter data, aiming to achieve efficient, reliable and flexible reporting of electric energy meter data, while reducing system costs and improving system scalability and maintainability.

[0004] To achieve the above-mentioned objectives, a first aspect of an embodiment of the present disclosure provides a method for reporting electric energy meter data, the method comprising:

[0005] In response to the electric energy meter data reporting instruction, a WIFI hotspot function of the WIFI communication and maintenance device is activated, and after the WIFI hotspot function is activated, a communication connection is established between the concentrator, the electric energy meter, and the WIFI communication and maintenance device via the WIFI hotspot, wherein the WIFI communication and maintenance device is connected to the concentrator in a USB manner or is embedded in the electric energy meter;

[0006] Based on the communication connection established by the WIFI hotspot, the concentrators and electric energy meters within the coverage of the WIFI hotspot are networked through the MESH network, wherein the electric energy meters are internally networked through the meter control gateway and connected to the electric energy meter control gateway through the meter control gateway, and the electric energy meter control gateway is connected to multiple concentrators through an ad hoc network;

[0007] Based on the communication networking of the MESH network, the electric energy meter in the network is connected through the interface provided by the meter control gateway, and the read electric energy meter data is transferred to the electric energy meter control gateway;

[0008] The concentrator receives the electric energy meter data transferred by the electric energy meter control gateway through a link control frame;

[0009] The concentrator is connected to the device-side master station via a built-in 485 interface, and reports the electric energy meter data to the device-side master station via a 485 bus.

[0010] In one possible implementation, activating the WIFI hotspot function of the WIFI communication and maintenance device in response to the electric energy meter data reporting instruction includes:

[0011] The WIFI communication and maintenance device wakes up from sleep mode, wherein the main control board of the WIFI communication and maintenance device adopts a CPU+RAM architecture, the CPU adopts a Cora WIFI MCU, supports communication with the concentrator through a USB protocol, or supports processing and maintenance;

[0012] When the WIFI communication and maintenance device is in an awake state, continuously monitoring beacon frames according to the WIFI hotspot function monitoring conditions;

[0013] When the beacon frame is monitored, the WIFI hotspot function of the WIFI communication and maintenance device is activated.

[0014] In a possible implementation, when the WIFI communication and maintenance device is in an awake state, continuously monitoring beacon frames includes:

[0015] When the WIFI communication and maintenance device is in an awake state, determining a signal-to-noise ratio state;

[0016] If the signal-to-noise ratio is high, the number of searches is increased incrementally to continuously monitor beacon frames.

[0017] If it is not in the high signal-to-noise ratio state, it randomly searches for a channel connection. If the connection is successful on any of the channels, it hops to this channel and continuously monitors beacon frames on this channel at a frequency hopping value of 10%.

[0018] In a possible implementation, the concentrator receives the electric energy meter data transferred by the electric energy meter control gateway through a link control frame, including:

[0019] Establishing a link connection between the concentrator and the electric energy meter control gateway through a link establishment frame of the link control frame;

[0020] In the case where the link connection is successfully established, the electric energy meter control gateway obtains the protocol type of the concentrator currently connected to the link, wherein the concentrator includes different protocol types;

[0021] Performing protocol conversion on the electric energy meter data transferred by the meter control gateway according to the protocol type;

[0022] The electric energy meter data after protocol conversion is sent to the concentrator through the link connection, and the link connection between the concentrator and the electric energy meter control gateway is disconnected through the link termination frame of the link control frame.

[0023] In a possible implementation, establishing a link connection between the concentrator and the electric energy meter control gateway through the link establishment frame of the link control frame includes:

[0024] Sending a link establishment request frame to the electric energy meter control gateway through the concentrator, wherein the link establishment request frame includes basic parameters required for establishing a connection;

[0025] When the electric energy meter control gateway receives the link establishment request frame, responding according to the configuration and performance parameters of the electric energy meter control gateway;

[0026] If the configuration and performance parameters of the electric energy meter control gateway support the basic parameters, a link confirmation frame is fed back to the concentrator to establish a link connection between the concentrator and the electric energy meter control gateway. The link confirmation frame is used to indicate agreement to establish the link connection.

[0027] If the configuration and performance parameters of the electric energy meter control gateway do not support the basic parameters, the configuration and performance parameters of the electric energy meter control gateway are fed back to the concentrator, so that if the concentrator does not support the configuration and the performance parameters, the authority is transferred to the target concentrator in the self-organizing network to establish a link connection between the target concentrator and the electric energy meter control gateway, and the target concentrator is a concentrator that supports the configuration and the performance parameters.

[0028] In a possible implementation, the basic parameters include at least one of a communication rate, a frame format, and a check method.

[0029] In a possible implementation, the protocol type includes at least one of the following:

[0030] DL / T 645-2007 protocol type, Q / GDW 376.x series protocol type, 07 / 97 protocol type, MPTL_CJT188 protocol type.

[0031] In one possible implementation, the communication network based on the MESH network is connected to the electric energy meter in the network through the interface provided by the meter control gateway, and the read electric energy meter data is transferred to the electric energy meter control gateway, including:

[0032] Connecting to the electric energy meter in the network through the interface provided by the meter control gateway, and polling the electric energy meter data of each electric energy meter in the communication network of the MESH network according to the preset time length through the network monitoring instruction;

[0033] Continuously reporting the meter reading progress of the electric energy meter data to the concentrator in a heartbeat manner, so that the concentrator and the electric energy meter control gateway can achieve meter reading synchronization;

[0034] When the current polling meter reading of the electric energy meter data is completed, the meter reading completion frame is carried to transfer the read electric energy meter data to the electric energy meter control gateway.

[0035] A second aspect of the embodiments of the present disclosure provides an electric energy meter data reporting system, comprising:

[0036] A WIFI communication and maintenance device, an electric energy meter, and a concentrator, wherein the WIFI communication and maintenance device is connected to the concentrator via USB or is embedded in the electric energy meter;

[0037] The WIFI communication and maintenance device is used to activate the WIFI hotspot function of the WIFI communication and maintenance device in response to the power meter data reporting instruction, and after the WIFI hotspot function is activated, the concentrator, the power meter and the WIFI communication and maintenance device establish a communication connection through the WIFI hotspot;

[0038] The electric energy meter is used to, based on the communication connection established by the WIFI hotspot, network the concentrator and the electric energy meter within the coverage range of the WIFI hotspot through the MESH network, wherein the electric energy meters are internally networked through the meter control gateway and connected to the electric energy meter control gateway through the meter control gateway, and the electric energy meter control gateway is connected to multiple concentrators through an ad hoc network; based on the communication networking of the MESH network, it is connected to the electric energy meter in the network through the interface provided by the meter control gateway, and the read electric energy meter data is transferred to the electric energy meter control gateway;

[0039] The concentrator is used to receive the electric energy meter data transferred by the electric energy meter control gateway through a link control frame, connect to the device side master station through a built-in 485 interface, and report the electric energy meter data to the device side master station through a 485 bus.

[0040] The present invention provides a method and system for reporting electric energy meter data. Compared with the prior art, it has the following advantages:

[0041] By activating the Wi-Fi hotspot function of the Wi-Fi communication and maintenance device and using it to establish a communication connection between the concentrator and the energy meter, data transmission efficiency and speed are significantly improved. Compared to traditional wired communication methods, Wi-Fi wireless transmission reduces wiring costs and avoids problems such as line aging and damage, thereby improving system reliability and stability. Using mesh networking technology to network the concentrator and energy meters within the Wi-Fi hotspot's coverage area, the device automatically establishes and maintains the network topology, enabling multi-path transmission and enhancing network coverage and flexibility. Even if a node in the network fails, data can be transmitted through alternative paths, ensuring continuous and stable data transmission. Energy meters are internally networked through a meter control gateway and connected to the meter control gateway through this gateway, enabling centralized management and access of energy meter data. This hierarchical structure makes data access more efficient and facilitates remote monitoring and management of energy meters. The Wi-Fi communication and maintenance device can be connected to the concentrator via USB or embedded in the energy meter. This flexible access method reduces system complexity and installation costs. At the same time, the existing 485 interface and bus technology enable data reporting between the concentrator and the device-side master station, eliminating the need for expensive additional communication equipment. The introduction of MESH network technology enhances system scalability, allowing for the easy addition of new energy meters or concentrator nodes without requiring a major overhaul of the entire network. Furthermore, the communication connection between the concentrator and energy meters enables remote maintenance and fault diagnosis, improving system maintainability and operational efficiency. Thus, by combining Wi-Fi hotspots, MESH network technology, and flexible access methods, efficient, reliable, and flexible reporting of energy meter data is achieved, while reducing system costs and improving scalability and maintainability.

[0042] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following detailed description, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:

[0044] Figure 1 This is a flow chart of a method for reporting electric energy meter data according to an embodiment of the specification.

[0045] Figure 2 This is a schematic diagram of coupling a WIFI communication and maintenance device with a concentrator or an electric energy meter according to an embodiment of the specification.

[0046] Figure 3 This is an implementation shown in the embodiment of the specification. Figure 1 Flowchart of step S11 in FIG.

[0047] Figure 4 This is an implementation shown in the embodiment of the specification. Figure 1 Flowchart of step S14 in FIG.

[0048] Figure 5 This is an implementation shown in the embodiment of the specification. Figure 1 Flowchart of step S13 in FIG. DETAILED DESCRIPTION

[0049] The following will provide a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0050] The following describes the specific embodiments of the present disclosure in detail with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present disclosure and are not intended to limit the present disclosure.

[0051] In order to achieve the above objectives, the present disclosure provides a method for reporting electric energy meter data. Figure 1 This is a flow chart of a method for reporting electric energy meter data according to an embodiment. The method includes:

[0052] In step S11, in response to the electric energy meter data reporting instruction, the WIFI hotspot function of the WIFI communication and maintenance device is activated, and after the WIFI hotspot function is activated, the concentrator, the electric energy meter, and the WIFI communication and maintenance device establish a communication connection through the WIFI hotspot, wherein the WIFI communication and maintenance device is connected to the concentrator in a USB manner or is embedded in the electric energy meter;

[0053] In this embodiment, the Wi-Fi hotspot function within a Wi-Fi communication and maintenance device (hereinafter referred to as the "device") is activated in response to a system- or user-triggered command to report meter data. This process typically involves software logic processing within the device, including receiving and parsing the command, invoking the Wi-Fi module driver, configuring Wi-Fi hotspot parameters (such as SSID, password, encryption method, etc.), and ultimately activating the hotspot. Once the hotspot is activated, devices such as concentrators and energy meters can search for it and attempt to connect.

[0054] For device access methods, see Figure 2 As shown, if the device is a USB-connected concentrator, data transmission and power supply are carried out through the USB interface. The device acts as a peripheral of the concentrator and is managed and controlled by the concentrator's operating system or specific software. If the device is a built-in energy meter, the device is directly integrated into the energy meter's hardware design, sharing the energy meter's power supply and communicating through the energy meter's internal bus or specific interface.

[0055] In one embodiment, the Wi-Fi communication and maintenance device uses a USB connection. It plugs into the concentrator's USB port. The concentrator automatically recognizes the device and connects to the Wi-Fi hotspot by selecting it on the concentrator's LCD screen and entering verification information. This simple operation allows on-site maintenance personnel to quickly and easily connect the concentrator to the network.

[0056] After inserting the Wi-Fi communication and maintenance device into the concentrator, the concentrator can connect to the Wi-Fi network and communicate with the master station. When the concentrator is in Wi-Fi hotspot mode, other devices can connect to the concentrator's Wi-Fi hotspot. The concentrator can also enable the Wi-Fi hotspot function, allowing maintenance equipment to connect to the concentrator for information viewing, log analysis, and other functions.

[0057] In another embodiment, the Wi-Fi communication and maintenance device can also be built into the energy meter. The concentrator can communicate with the energy meter via Wi-Fi. The energy meter activates the Wi-Fi point function, allowing maintenance equipment to connect to the energy meter for data reading, event viewing, log analysis, and other functions.

[0058] For example, suppose a smart meter management system receives a command to periodically report energy data. The system then sends a command to all registered Wi-Fi communication and maintenance devices to activate the Wi-Fi hotspot. Upon receiving the command, Device A (connected to Concentrator C via USB) first checks the status of its Wi-Fi module. If it is not activated, it automatically configures the SSID to "SmartMeter_123456," the password to "password123," and selects WPA2-PSK encryption before activating the hotspot. Concentrator C and nearby energy meters (such as Meter B) then scan for Wi-Fi signals, enter the password, and connect to the "SmartMeter_123456" hotspot, establishing a communication connection.

[0059] In step S12, based on the communication connection established by the WIFI hotspot, the concentrators and electric energy meters within the coverage of the WIFI hotspot are networked through the MESH network, wherein the electric energy meters are internally networked through the meter control gateway and connected to the electric energy meter control gateway through the meter control gateway, and the electric energy meter control gateway is connected to multiple concentrators through an ad hoc network;

[0060] In this embodiment, the system leverages an established Wi-Fi hotspot connection and uses mesh networking technology to flexibly connect devices (concentrators, energy meters) within the hotspot's coverage area. A mesh network is a self-organizing, self-healing network structure that allows direct communication between devices, forming multi-hop paths and improving network reliability and coverage.

[0061] Within the energy meter, a meter control gateway establishes a preliminary internal network to ensure intercommunication between meters. These meters are then connected to the meter control gateway. The meter control gateway acts as a higher-level aggregation point, collecting data from multiple meters and potentially connecting to multiple concentrators using ad hoc networking technologies. The concentrator, in turn, serves as the final data collection point, uploading the collected data to a data center or cloud platform.

[0062] Continuing with the example in step S11, if energy meters B and D (also connected to the "Smart Meter_123456" hotspot) communicate internally through their respective meter control gateways, forming a small local network, these meter control gateways then establish a connection with energy meter control gateway E using a specific communication protocol (such as Zigbee or LoRa, depending on the actual deployment). As the core node of the entire network, energy meter control gateway E not only manages communication between energy meters but also uses ad hoc networking technology to connect with concentrator C (also connected to the Wi-Fi hotspot) and possibly other concentrators (such as concentrator F), forming a wider network. Concentrators C and F then transmit the collected data to the data center via more stable network channels (such as GPRS or Ethernet) for subsequent processing and analysis.

[0063] In step S13, based on the communication networking of the MESH network, the electric energy meter in the network is connected through the interface provided by the meter control gateway, and the read electric energy meter data is transferred to the electric energy meter control gateway;

[0064] In this embodiment of the present application, the meter control gateway acts as a bridge between the energy meter and the energy meter control gateway. It is responsible for reading data from the connected energy meter and forwarding this data to the energy meter control gateway via its provided interfaces (such as serial ports and Ethernet interfaces). This process typically involves data collection, processing (such as format conversion and data encryption), packaging, and transmission. The meter control gateway needs to read data from the energy meter periodically or according to preset conditions (such as data change thresholds and time intervals) and ensure the accuracy and integrity of the data.

[0065] Taking energy meter B as an example, meter control gateway G communicates with meter B through its built-in serial port, regularly reading real-time data from meter B (such as energy consumption, voltage, and current). After being processed by meter control gateway G, the data is packaged into a specific data format and sent to energy meter control gateway E via an Ethernet interface. Upon receiving the data, meter control gateway E performs further verification and analysis to ensure data accuracy, and then stores the data locally or forwards it to other system components.

[0066] In step S14, the concentrator receives the electric energy meter data transferred by the electric energy meter control gateway through a link control frame;

[0067] In this embodiment, the concentrator receives meter data from the meter control gateway via link control frames (e.g., HDLC frames, TCP / IP packets, etc.). Link control frames are a frame structure used to transmit control information and data over a communication link. They contain key information such as the source address, destination address, and checksum to ensure reliable data transmission. The concentrator monitors and parses the data packets from the meter control gateway to extract the meter data.

[0068] For example, concentrator C uses its built-in communication module (such as a Wi-Fi module or Ethernet interface) to monitor data packets from meter control gateway E. Upon receiving a link control frame containing meter data, concentrator C first performs a header check and address match to confirm the packet's validity and destination address. Concentrator C then parses the meter data contained in the packet and stores it in a local cache or memory.

[0069] In step S15, the concentrator is connected to the device-side master station via the built-in 485 interface, and reports the electric energy meter data to the device-side master station via the 485 bus.

[0070] In this embodiment, the concentrator connects to the device-side master station via its built-in RS-485 interface and reports collected energy meter data to the master station via the RS-485 bus. RS-485 is a widely used serial data communication standard with advantages such as long transmission distance, high transmission rate, and strong anti-interference capabilities. The concentrator packages the energy meter data in the format required by the master station and transmits it to the 485 bus via the RS-485 interface. The device-side master station receives and processes the energy meter data from the concentrator by monitoring the data on the RS-485 bus.

[0071] For example, concentrator C is connected to master station A on the device side via its built-in RS-485 interface. After collecting sufficient energy meter data, concentrator C packages the data according to the data format required by master station A (such as a specific message structure and data encoding method). Concentrator C then transmits the packaged data to the 485 bus via the RS-485 interface. Master station A on the device side monitors the bus data through its 485 interface. Upon receiving the data packet from concentrator C, it parses and processes it to obtain real-time energy meter data for subsequent analysis, storage, or display.

[0072] The above technical solution significantly improves data transmission efficiency and speed by activating the Wi-Fi hotspot function of the Wi-Fi communication and maintenance device and using this hotspot to establish a communication connection between the concentrator and the energy meter. Compared to traditional wired communication methods, Wi-Fi wireless transmission reduces wiring costs and avoids problems such as line aging and damage, thereby improving system reliability and stability. Using mesh networking technology to network the concentrator and energy meters within the Wi-Fi hotspot's coverage area, it automatically establishes and maintains the network topology, enabling multi-path transmission and enhancing network coverage and flexibility. Even if a node in the network fails, data can be transmitted through alternative paths, ensuring continuous and stable data transmission. Energy meters are internally networked through a meter control gateway and connected to the meter control gateway through this gateway, enabling centralized management and access of energy meter data. This hierarchical structure makes data access more efficient and facilitates remote monitoring and management of energy meters. The Wi-Fi communication and maintenance device can be connected to the concentrator via USB or embedded in the energy meter. This flexible access method reduces system complexity and installation costs. At the same time, the existing 485 interface and bus technology enable data reporting between the concentrator and the device-side master station, eliminating the need for expensive additional communication equipment. The introduction of MESH network technology enhances system scalability, allowing for the easy addition of new energy meters or concentrator nodes without requiring a major overhaul of the entire network. Furthermore, the communication connection between the concentrator and energy meters enables remote maintenance and fault diagnosis, improving system maintainability and operational efficiency. Thus, by combining Wi-Fi hotspots, MESH network technology, and flexible access methods, efficient, reliable, and flexible reporting of energy meter data is achieved, while reducing system costs and improving scalability and maintainability.

[0073] In one possible implementation, see Figure 3 As shown, in step S11, in response to the electric energy meter data reporting instruction, activating the WIFI hotspot function of the WIFI communication and maintenance device includes:

[0074] In step S111, the WIFI communication and maintenance device wakes up from sleep mode.

[0075] Among them, the main control board of the WIFI communication and maintenance device adopts a CPU+RAM architecture, the CPU adopts CoraWIFIMCU, supports communication with the concentrator through the USB protocol, or supports processing and maintenance;

[0076] In the embodiments of the present application, the Wi-Fi communication and maintenance device may normally be in a low-power sleep mode to reduce energy consumption. When the Wi-Fi hotspot needs to be activated, the device must first be awakened from sleep mode via a trigger mechanism (such as an external interrupt or timer interrupt). After awakening, the device's main control board (CPU + RAM architecture) begins normal operation, preparing for subsequent operations.

[0077] For example, suppose the main control board of a Wi-Fi communication and maintenance device uses a Cora Wi-Fi MCU as its CPU, which supports low-power modes. When the system sends a data reporting command through the concentrator, the concentrator sends a wake-up signal to the device via the USB protocol. Upon receiving the signal, the device's internal USB interface triggers an interrupt handler, waking the device from sleep mode.

[0078] In step S112, when the WIFI communication and maintenance device is in the awake state, the beacon frame is continuously monitored according to the WIFI hotspot function monitoring condition;

[0079] In the embodiments of the present application, in a Wi-Fi network, beacon frames are broadcast periodically by the access point (AP) to announce its presence and parameters (such as SSID, supported speeds, etc.) to other devices (such as client devices) in the network. After waking up, the Wi-Fi communication and maintenance device needs to continuously monitor these beacon frames to determine the current state of the Wi-Fi environment and prepare to activate its own Wi-Fi hotspot.

[0080] For example, after a Wi-Fi communication and maintenance device is awakened, its built-in Wi-Fi module begins operating and is configured in monitoring mode. In monitoring mode, the Wi-Fi module continuously scans for Wi-Fi signals in the surrounding area, paying particular attention to beacon frames. Software logic within the device parses these beacon frames to obtain information such as the current Wi-Fi environment's SSID list and channel occupancy.

[0081] In step S113 , when a beacon frame is monitored, the WIFI hotspot function of the WIFI communication and maintenance device is activated.

[0082] In this embodiment of the present application, after monitoring a beacon frame and confirming that the current Wi-Fi environment is suitable for hotspot activation, the Wi-Fi communication and maintenance device configures its Wi-Fi module to access point (AP) mode and activates the Wi-Fi hotspot function. This includes setting parameters such as the SSID, password, and encryption method, and enabling hotspot broadcasting so that other devices can search for and connect to the hotspot.

[0083] For example, the Wi-Fi communication and maintenance device configures the Wi-Fi module to AP mode through its driver interface based on preset hotspot configuration parameters (e.g., SSID "SmartMeter_XXXX" and password "password123") and starts hotspot broadcasting. Devices like concentrators and energy meters can then search for the hotspot and attempt to connect to the "Smart Meter_XXXX" hotspot by entering the password, thereby establishing a communication connection.

[0084] In this way, the WIFI communication and maintenance device successfully responded to the data reporting instruction of the electricity meter and activated the WIFI hotspot function. The WIFI communication and maintenance device enables the concentrator to connect to the WIFI hotspot like an ordinary mobile phone and communicate with the main station. The WIFI communication and maintenance device enables the electricity meter and concentrator to quickly connect to WIFI for communication, which is convenient, fast, and stable, and can increase the connection and communication methods between the electricity meter and concentrator and the outside world.

[0085] In a possible implementation, in step S112, when the WIFI communication and maintenance device is in an awake state, continuously monitoring beacon frames includes:

[0086] In step S1121, when the WIFI communication and maintenance device is in the awake state, determining the signal-to-noise ratio state;

[0087] The signal-to-noise ratio (SNR) is a key indicator of signal quality. It represents the ratio of signal strength to background noise. In Wi-Fi communications, a high SNR generally means better communication quality and less interference. Therefore, before listening for beacon frames, it is necessary to first determine the current SNR status.

[0088] In the embodiments of the present application, the Wi-Fi communication and maintenance device receives wireless signals from the surrounding environment via its built-in Wi-Fi module and antenna. A signal processing unit within the device analyzes the received signals and calculates the signal-to-noise ratio (SNR). Based on preset thresholds, the SNR is classified into three levels: "high," "medium," and "low." For example, a SNR above 25dBm is considered a high SNR.

[0089] In step S1122, if the signal-to-noise ratio is high, the number of searches is increased in an incremental manner, and beacon frames are continuously monitored.

[0090] In the embodiment of the present application, when the signal-to-noise ratio is high, it indicates that the current Wi-Fi environment is relatively clear and has less interference. To more comprehensively discover available Wi-Fi networks, the device uses an incremental method to increase the number of searches and continuously listen for beacon frames. This means that the device will stay on each channel longer or switch channels more frequently to listen for beacon frames.

[0091] In this embodiment of the present application, under high signal-to-noise ratio conditions, the Wi-Fi communication and maintenance device sets the number of searches to a high initial value (e.g., each search lasts 1 second, for a total of 10 searches). The number of searches is then gradually increased according to an incremental rule (e.g., adding 0.5 seconds after each search) until a preset maximum value is reached. During each search, the device monitors beacon frames on the current channel and records relevant information (e.g., SSID, channel number, etc.).

[0092] In step S1123, if the system is not in the high signal-to-noise ratio state, it randomly searches for a channel connection. If the connection is successful on any of the channels, it hops to this channel and continuously monitors beacon frames on this channel at a frequency hopping value of 10%.

[0093] In this embodiment, when the signal-to-noise ratio is not high (i.e., the signal-to-noise ratio is medium or low), it indicates that the current Wi-Fi environment may be subject to significant interference or a weak signal. To quickly locate an available Wi-Fi network and reduce energy consumption, the device adopts a random channel search strategy. If a connection is successfully made to a network on any channel, the device frequency-hops to that channel and continuously listens for beacon frames on that channel at a lower frequency.

[0094] For example, in low signal-to-noise ratio conditions, the Wi-Fi communication and maintenance device first generates a random channel list (consisting of all available Wi-Fi channels). It then attempts to connect to networks on these channels in a random order. If it successfully connects to any channel (i.e., it receives a beacon frame on that channel and successfully completes the handshake process), it hops to that channel and continuously listens for beacon frames on that channel at a 10% frequency hopping rate (i.e., periodically switching to an adjacent channel for brief monitoring). This strategy helps the device maintain a stable connection while also enabling a certain degree of monitoring of Wi-Fi networks on other channels.

[0095] By determining the signal-to-noise ratio (SNR), the system intelligently determines the communication quality of the current Wi-Fi environment, helping to avoid unnecessary searches on low-quality channels and thus improving communication efficiency. In high SNR conditions, the system incrementally increases the number of searches to reduce the possibility of missed connections. Furthermore, because the high SNR ensures communication quality, increasing the number of searches does not incur excessive energy consumption. Random search and frequency hopping in low SNR conditions, followed by frequency hopping monitoring at a lower frequency after a successful connection, help quickly find a relatively stable communication channel and maintain a connection on that channel. Frequency hopping monitoring also reduces communication interruptions caused by interference on a single channel, improving the system's anti-interference capabilities. In other words, regardless of high or low SNR conditions, the system can quickly respond and establish a stable Wi-Fi connection through a rational monitoring strategy. This provides users with a smoother and more reliable communication experience, reduces wait time and inconvenience caused by network issues, and intelligently adapts to different Wi-Fi environments. This ensures high communication efficiency and stability in various scenarios, increasing user satisfaction.

[0096] In one possible implementation, see Figure 4 As shown, in step S14, the concentrator receives the electric energy meter data transferred by the electric energy meter control gateway through a link control frame, including:

[0097] In step S141, a link connection between the concentrator and the electric energy meter control gateway is established through a link establishment frame of the link control frame;

[0098] In this embodiment of the present application, a link establishment frame (such as a link establishment request / response in an LLC frame) is used to initialize the communication link and negotiate communication parameters (such as baud rate, data bits, stop bits, etc.) between the two parties. The concentrator sends a link establishment request frame to the energy meter control gateway. The frame contains the concentrator's identifier, the requested service type (such as data transmission service), and the desired communication parameters.

[0099] After receiving the link establishment request frame, the meter control gateway checks whether it supports the service type and communication parameters in the request. If so, it responds with a link establishment response frame to confirm successful link establishment. If not, it responds with an error frame explaining the reason. After receiving the link establishment response frame, the concentrator confirms the link is established and prepares to receive meter data.

[0100] In step S142, when the link connection is successfully established, the electric energy meter control gateway obtains the protocol type of the concentrator currently connected to the link, wherein the concentrator includes different protocol types;

[0101] In this embodiment, because the concentrator may support multiple communication protocols (such as IEC 61107 and DL / T 645-2007), the energy meter control gateway needs to determine the protocol type of the concentrator to which it is currently connected before sending data to facilitate proper protocol conversion. After the link is successfully established, the energy meter control gateway sends a protocol query request frame to the concentrator, requesting the concentrator to report the protocol types it supports.

[0102] Further down, after receiving the protocol query request frame, the concentrator checks its supported protocol list and replies with a protocol query response frame containing the protocol type used by the current link. After receiving the protocol query response frame, the energy meter control gateway parses the protocol type information and prepares to convert the energy meter data based on the protocol type.

[0103] In step S143, the electric energy meter data transferred by the meter control gateway is converted into a protocol according to the protocol type;

[0104] In this embodiment of the present application, protocol conversion is the process of converting the raw meter data received by the meter control gateway into a format understandable by the concentrator. This process typically involves adjusting the data format, converting the encoding method, and performing necessary checksum calculations. Based on the protocol type information obtained in step S142, the meter control gateway selects an appropriate protocol conversion module to convert the meter data.

[0105] The conversion process may include repackaging the meter's raw data (such as voltage, current, and power) into a protocol format supported by the concentrator, adding necessary header information (such as a frame header, length field, and checksum), and performing necessary encoding conversions (such as ASCII to hexadecimal conversion). Once the conversion is complete, the meter control gateway stores the converted data in a buffer, ready to send to the concentrator.

[0106] In step S144, the electric energy meter data after protocol conversion is sent to the concentrator through the link connection, and the link connection between the concentrator and the electric energy meter control gateway is disconnected through the link termination frame of the link control frame.

[0107] In this embodiment of the present application, after data conversion is complete, the meter control gateway sends the converted meter data to the concentrator via the previously established link connection. After data transmission is complete, the link connection needs to be disconnected to free up system resources and avoid unnecessary communication overhead. Link termination frames (such as the Link Termination Request / Response in LLC frames) are used to achieve this purpose.

[0108] The meter control gateway reads the converted meter data from the buffer and sends it to the concentrator via a link connection. This transmission process may involve data segmentation and retransmission to ensure data integrity and reliability. After completing the data transmission, the meter control gateway sends a link termination request frame to the concentrator, requesting the link be disconnected. Upon receiving the link termination request frame, the concentrator confirms that no communication tasks are currently in progress and responds with a link termination response frame, confirming the link has been disconnected. After the link is disconnected, the concentrator and meter control gateway release relevant resources and await the next communication task.

[0109] In a possible implementation, in step S141, establishing a link connection between the concentrator and the electric energy meter control gateway through the link establishment frame of the link control frame includes:

[0110] In step S1411, a link establishment request frame is sent to the electric energy meter control gateway through the concentrator, and the link establishment request frame includes basic parameters required for establishing a connection;

[0111] In this embodiment of the present application, the concentrator, acting as the initiator of communication, first constructs a link establishment request frame, which contains the basic parameters required to establish a connection. These parameters may include the concentrator's identifier (such as its address and port number), the desired communication rate, the data format, and the verification method. Sending the link establishment request frame is the first step in initiating the link establishment process, providing the necessary initialization information for subsequent communication.

[0112] Specifically, construct a link establishment request frame: the concentrator constructs a link establishment request frame containing basic parameters such as its identification, expected communication rate (such as 9600bps), data bits (such as 8 bits), stop bits (such as 1 bit), and parity mode (such as no parity, odd parity, even parity, etc.) according to the predetermined protocol specification.

[0113] Sending a link establishment request frame: The concentrator sends the constructed link establishment request frame to the energy meter control gateway through its communication interface (such as a serial port or Ethernet interface). During this process, the concentrator may need to set appropriate communication parameters (such as baud rate, data bits, and stop bits) to ensure compatibility with the energy meter control gateway.

[0114] In step S1412, when the electric energy meter control gateway receives the link establishment request frame, it responds according to the configuration and performance parameters of the electric energy meter control gateway;

[0115] In this embodiment of the present application, when the energy meter control gateway receives a link establishment request frame from the concentrator, it responds to the request based on its own configuration and performance parameters. This response process may include checking whether the parameters in the request are compatible with the gateway's configuration, evaluating the gateway's current load to determine whether there are sufficient resources to establish a new link connection, and so on. If the request is accepted, the gateway constructs and sends a link establishment response frame to the concentrator. If the request is rejected, it sends an error response frame, which may include the reason for the rejection.

[0116] Specifically, receiving the link establishment request frame: the electric energy meter control gateway receives the link establishment request frame sent by the concentrator through its communication interface.

[0117] Check parameter compatibility: The gateway parses the parameters in the request frame and compares them with its own configuration. It checks whether parameters such as communication rate and data format are compatible with the gateway configuration.

[0118] Assessing resource availability: The gateway evaluates the current CPU usage, memory usage, and communication interface load to determine whether there are sufficient resources to support the new link connection.

[0119] Construct and send a response frame: If the request is accepted, the gateway constructs a link establishment response frame to confirm that the link is successfully established and may contain some additional information (such as negotiated communication parameters). The gateway then sends the response frame to the concentrator.

[0120] If the request is rejected, the gateway constructs an error response frame containing the reason for rejection (e.g., incompatible parameters, insufficient resources, etc.) and sends the frame to the concentrator.

[0121] If the configuration and performance parameters of the electric energy meter control gateway support the basic parameters, a link confirmation frame is fed back to the concentrator to establish a link connection between the concentrator and the electric energy meter control gateway. The link confirmation frame is used to indicate agreement to establish the link connection.

[0122] In this embodiment of the present application, when the energy meter control gateway receives a link establishment request frame from the concentrator and confirms that its configuration and performance parameters support the basic parameters in the request, the gateway constructs a link confirmation frame (also called a link establishment response frame) and sends it to the concentrator. The link confirmation frame contains confirmation information indicating that the link connection has been established, as well as possible additional information (such as negotiated communication parameters). After receiving the link confirmation frame, the concentrator confirms that the link has been established successfully and prepares for subsequent data transmission.

[0123] Specifically, receiving and checking the request: after receiving the link establishment request frame from the concentrator, the electric energy meter control gateway parses the basic parameters therein.

[0124] Configuration and performance matching: The gateway compares its configuration and performance parameters with the basic parameters in the request to confirm whether they are supported.

[0125] Construct a link confirmation frame: If supported, the gateway constructs a link confirmation frame containing confirmation information that it agrees to establish a link connection.

[0126] Send link confirmation frame: The gateway sends the link confirmation frame to the concentrator.

[0127] Concentrator confirmation: After receiving the link confirmation frame, the concentrator confirms that the link is successfully established.

[0128] If the configuration and performance parameters of the electric energy meter control gateway do not support the basic parameters, the configuration and performance parameters of the electric energy meter control gateway are fed back to the concentrator, so that if the concentrator does not support the configuration and the performance parameters, the authority is transferred to the target concentrator in the self-organizing network to establish a link connection between the target concentrator and the electric energy meter control gateway, and the target concentrator is a concentrator that supports the configuration and the performance parameters.

[0129] In this embodiment of the present application, when the energy meter control gateway discovers that its configuration and performance parameters cannot support the basic parameters requested by the concentrator, the gateway will provide the concentrator with feedback on its current configuration and performance parameters. Upon receiving this information, the concentrator will check whether it supports these parameters. If not, the concentrator may choose to transfer link establishment authority to another concentrator in the ad hoc network (target concentrator). These target concentrators are pre-determined or dynamically discovered to support the gateway's configuration and performance parameters. The target concentrator will then attempt to establish a link with the energy meter control gateway.

[0130] Specifically, receiving and checking the request: after receiving the link establishment request frame from the concentrator, the electric energy meter control gateway parses the basic parameters therein.

[0131] Configuration and performance mismatch: The gateway finds that its configuration and performance parameters cannot support the basic parameters in the request.

[0132] Feedback configuration and performance parameters: The gateway constructs a response frame containing its current configuration and performance parameters and sends it to the concentrator.

[0133] Concentrator inspection and decision-making: After receiving the response frame, the concentrator parses the configuration and performance parameters of the gateway.

[0134] The concentrator checks whether it supports these parameters. If not, it may query other concentrators (target concentrators) in the ad hoc network. If a target concentrator that supports them is found, the concentrator transfers the link establishment authority to the target concentrator.

[0135] The target concentrator attempts to establish a link: After receiving the transfer authority notification, the target concentrator constructs a link establishment request frame (which may include negotiated parameters) and sends it to the energy meter control gateway. The gateway attempts to establish a link connection based on the target concentrator's request.

[0136] Link establishment is successful: If the request of the target concentrator is accepted by the gateway, the link is established successfully and the two parties carry out subsequent data transmission.

[0137] In a possible implementation, the basic parameters include at least one of a communication rate, a frame format, and a check method.

[0138] In the communication protocol and link establishment process, basic parameters refer to the fundamental settings used to initialize the communication link and ensure that both parties can exchange data correctly. These parameters are crucial for establishing stable and reliable communication.

[0139] In one possible implementation, the basic parameters mentioned include:

[0140] Communication rate: Also known as baud rate, it indicates the number of bits transmitted per second (bps), which determines the speed of data transmission.

[0141] Frame format: defines the structure of the data frame, including the frame header, data field, checksum, etc., to ensure the integrity and identifiability of the data.

[0142] Check method: A method used to detect whether errors occur during data transmission, such as parity check and CRC check.

[0143] These basic parameters are specified in the link establishment request frame so that the receiver (such as the electricity meter control gateway) can evaluate whether it supports these parameters and decide whether to establish a link connection accordingly.

[0144] In a possible implementation, the protocol type includes at least one of the following:

[0145] DL / T 645-2007 protocol type, Q / GDW 376.x series protocol type, 07 / 97 protocol type, MPTL_CJT188 protocol type.

[0146] A protocol type refers to a standardized set of rules for communication between different devices or systems. In an energy meter data collection and transmission system, a specific communication protocol must be followed between the concentrator and the energy meter control gateway to ensure correct data exchange.

[0147] In one possible implementation, the protocol types mentioned include:

[0148] DL / T 645-2007 protocol type: A widely used electricity meter communication protocol used to implement data exchange between electricity meters and concentrators.

[0149] Q / GDW 376.x series protocol type: A series of standards covering communication protocols for smart meters, electricity consumption information collection systems, and other aspects.

[0150] 07 / 97 protocol type: Electricity meter communication protocol.

[0151] MPTL_CJT188 protocol type: A communication protocol specific to a region or industry, used to meet specific data transmission requirements.

[0152] These protocol types define how data is formatted, transmitted, and parsed, as well as how both parties identify and process different types of messages. During link establishment, the concentrator and the energy meter control gateway need to confirm the protocol types supported by each other so that they can select the most appropriate protocol for communication.

[0153] In one possible implementation, see Figure 5 As shown, in step S13, the communication network based on the MESH network is connected to the electric energy meter in the network through the interface provided by the meter control gateway, and the read electric energy meter data is transferred to the electric energy meter control gateway, including:

[0154] In step S131, the interface provided by the meter control gateway is used to connect to the electric energy meter in the network, and the electric energy meter data of each electric energy meter in the communication network of the MESH network is polled according to the preset time length through the network monitoring instruction;

[0155] In this embodiment of the present application, the meter control gateway uses its provided interfaces (such as serial ports, Ethernet interfaces, or wireless communication modules) to establish connections with electricity meters within the MESH network. Once the connection is established, the meter control gateway periodically sends network monitoring commands (also known as polling commands) to each electricity meter in the network at a preset interval to collect its meter data. This data may include key parameters such as power consumption, voltage, current, and power factor. The introduction of a polling mechanism ensures the real-time and accuracy of data while avoiding unnecessary communication overhead.

[0156] Specifically, interface connection: the meter control gateway establishes a wireless connection with the electricity meter in the MESH network through its built-in wireless communication module (such as Zigbee, LoRa, etc.).

[0157] Preset duration setting: In the system configuration, the preset polling duration is once every 5 minutes to ensure timely update of data.

[0158] Send polling instructions: The meter control gateway sends polling instructions to each electricity meter in the MESH network in turn according to the preset duration, requesting its current electricity meter data.

[0159] Data collection: After receiving the polling instruction, the electric energy meter responds and returns its current electric energy meter data to the meter control gateway.

[0160] In step S132, the meter reading progress of the electric energy meter data is continuously reported to the concentrator in a heartbeat manner, so that the concentrator and the electric energy meter control gateway can achieve meter reading synchronization;

[0161] In this embodiment, to ensure meter reading synchronization between the concentrator and the energy meter control gateway, the meter control gateway continuously reports meter reading progress to the concentrator using a heartbeat mechanism. Heartbeat messages include the number of meters currently read, the number of remaining meters, and any possible errors or exceptions. This mechanism enables the concentrator to monitor meter reading progress in real time and make interventions or adjustments as necessary.

[0162] Specifically, the heartbeat message is constructed as follows: after each successful reading of the data of an energy meter, the meter control gateway constructs a heartbeat message, which includes the number of energy meters that have been read, the number of energy meters that remain to be read, and the current timestamp.

[0163] Reporting heartbeat messages: The meter control gateway sends heartbeat messages to the concentrator through its communication link with the concentrator (such as Ethernet, wireless private network, etc.).

[0164] Concentrator processing: After receiving the heartbeat message, the concentrator parses and updates its internal meter reading progress record, and checks whether there are any errors or abnormal information that need to be processed.

[0165] In step S133, when the current polling meter reading of the electric energy meter data is completed, the read electric energy meter data is transferred to the electric energy meter control gateway with a meter reading completion frame.

[0166] In this embodiment of the present application, when the current polling meter reading task is completed, that is, all preset energy meter data has been successfully read, the meter control gateway constructs a meter reading end frame, packages all read energy meter data, and transmits it to the energy meter control gateway. The transmission of the meter reading end frame marks the end of the current polling cycle and also prepares for the start of the next polling cycle.

[0167] Specifically, the meter reading completion judgment: the meter control gateway checks its internal meter reading records to confirm that all preset electricity meter data have been successfully read without omissions or errors.

[0168] Constructing a meter reading end frame: The meter control gateway constructs a meter reading end frame containing a meter reading end identifier, a current timestamp, and possible summary information (such as total power consumption, average power, etc.).

[0169] Data transfer: All the read electricity meter data (which may be compressed or encrypted) are packaged together with the meter reading end frame, and transferred to the electricity meter control gateway through its communication interface (such as serial port, Ethernet interface, etc.) with the electricity meter control gateway.

[0170] Confirmation and Feedback: After receiving the data, the energy meter control gateway verifies and confirms it, and sends a successful reception feedback message to the meter control gateway. This completes the polling meter reading task.

[0171] The present disclosure also provides an electric energy meter data reporting system, including:

[0172] A WIFI communication and maintenance device, an electric energy meter, and a concentrator, wherein the WIFI communication and maintenance device is connected to the concentrator via USB or is embedded in the electric energy meter;

[0173] The WIFI communication and maintenance device is used to activate the WIFI hotspot function of the WIFI communication and maintenance device in response to the power meter data reporting instruction, and after the WIFI hotspot function is activated, the concentrator, the power meter and the WIFI communication and maintenance device establish a communication connection through the WIFI hotspot;

[0174] The electric energy meter is used to, based on the communication connection established by the WIFI hotspot, network the concentrator and the electric energy meter within the coverage range of the WIFI hotspot through the MESH network, wherein the electric energy meters are internally networked through the meter control gateway and connected to the electric energy meter control gateway through the meter control gateway, and the electric energy meter control gateway is connected to multiple concentrators through an ad hoc network; based on the communication networking of the MESH network, it is connected to the electric energy meter in the network through the interface provided by the meter control gateway, and the read electric energy meter data is transferred to the electric energy meter control gateway;

[0175] The concentrator is used to receive the electric energy meter data transferred by the electric energy meter control gateway through a link control frame, connect to the device side master station through a built-in 485 interface, and report the electric energy meter data to the device side master station through a 485 bus.

[0176] For the description of the embodiments in the above system, please refer to the explanation and description of the embodiments in the method in the above embodiments, which will not be repeated here.

[0177] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings. However, the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, various changes, modifications, replacements and variations can be made to these embodiments, and these changes, modifications, replacements and variations all fall within the scope of protection of the present disclosure.

[0178] It should also be noted that the various specific technical features described in the above specific embodiments may be combined in any suitable manner, unless there is any contradiction, and these combinations shall also be considered as the contents disclosed in this disclosure. To avoid unnecessary repetition, this disclosure will not further describe various possible combinations. The technical scope of this application is not limited to the contents of the specification and must be determined based on the scope of the claims.

Claims

1. A method for reporting electric energy meter data, characterized in that: The method comprises: In response to the electric energy meter data reporting instruction, the WIFI hotspot function of the WIFI communication and maintenance device is activated, and after the WIFI hotspot function is activated, the concentrator, the electric energy meter, and the WIFI communication and maintenance device establish a communication connection through the WIFI hotspot, wherein the WIFI communication and maintenance device is connected to the concentrator in a USB manner or is embedded in the electric energy meter, wherein the WIFI communication and maintenance device performs data transmission and power supply through the USB interface, and the WIFI communication and maintenance device serves as a peripheral device of the concentrator and is managed and controlled by the operating system or specific software of the concentrator; Based on the communication connection established by the WIFI hotspot, the concentrators and electric energy meters within the coverage of the WIFI hotspot are networked through the MESH network, wherein the electric energy meters are internally networked through the meter control gateway and connected to the electric energy meter control gateway through the meter control gateway, and the electric energy meter control gateway is connected to multiple concentrators through an ad hoc network; A communication network based on a MESH network, connecting to the electric energy meter in the network through an interface provided by the meter control gateway, and forwarding the read electric energy meter data to the electric energy meter control gateway, including: connecting to the electric energy meter in the network through an interface provided by the meter control gateway, and polling the electric energy meter data of each electric energy meter in the communication network of the MESH network according to a preset time length through a network monitoring instruction, and continuously reporting the meter reading progress of the electric energy meter data to the concentrator in a heartbeat manner, so that the concentrator and the electric energy meter control gateway can achieve meter reading synchronization, and when the electric energy meter data of this polling is completed, the electric energy meter data read is forwarded to the electric energy meter control gateway with a meter reading end frame; The concentrator receives the electric energy meter data transferred by the electric energy meter control gateway through a link control frame; The concentrator is connected to the device-side master station via a built-in 485 interface, and reports the electric energy meter data to the device-side master station via a 485 bus; The method of activating the WIFI hotspot function of the WIFI communication and maintenance device in response to the electric energy meter data reporting instruction includes: When the WIFI communication and maintenance device successfully establishes USB communication with the concentrator, the WIFI communication and maintenance device wakes up from sleep mode, wherein the main control board of the WIFI communication and maintenance device adopts a CPU+RAM architecture, the CPU adopts a Cora WIFI MCU, supports communication with the concentrator through the USB protocol, or supports processing and maintenance; When the WIFI communication and maintenance device is in an awake state, continuously monitoring beacon frames according to the WIFI hotspot function monitoring conditions; When a beacon frame is monitored, the WIFI hotspot function of the WIFI communication and maintenance device is activated; Wherein, when the WIFI communication and maintenance device is in an awake state, continuously monitoring beacon frames includes: When the WIFI communication and maintenance device is in an awake state, determining a signal-to-noise ratio state; If the signal-to-noise ratio is high, the number of searches is increased incrementally to continuously monitor beacon frames. If it is not in the high signal-to-noise ratio state, it randomly searches for a channel connection. If the connection is successful on any of the channels, it hops to this channel and continuously monitors beacon frames on this channel at a frequency hopping value of 10%.

2. The method according to claim 1, characterized in that The concentrator receives the electric energy meter data transferred by the electric energy meter control gateway through a link control frame, including: Establishing a link connection between the concentrator and the electric energy meter control gateway through a link establishment frame of the link control frame; In the case where the link connection is successfully established, the electric energy meter control gateway obtains the protocol type of the concentrator currently connected to the link, wherein the concentrator includes different protocol types; Performing protocol conversion on the electric energy meter data transferred by the meter control gateway according to the protocol type; The electric energy meter data after protocol conversion is sent to the concentrator through the link connection, and the link connection between the concentrator and the electric energy meter control gateway is disconnected through the link termination frame of the link control frame.

3. The method according to claim 2, characterized in that The link establishment frame of the link control frame is used to establish a link connection between the concentrator and the electric energy meter control gateway, including: Sending a link establishment request frame to the electric energy meter control gateway through the concentrator, wherein the link establishment request frame includes basic parameters required for establishing a connection; When the electric energy meter control gateway receives the link establishment request frame, responding according to the configuration and performance parameters of the electric energy meter control gateway; If the configuration and performance parameters of the electric energy meter control gateway support the basic parameters, a link confirmation frame is fed back to the concentrator to establish a link connection between the concentrator and the electric energy meter control gateway. The link confirmation frame is used to indicate agreement to establish the link connection. If the configuration and performance parameters of the electric energy meter control gateway do not support the basic parameters, the configuration and performance parameters of the electric energy meter control gateway are fed back to the concentrator, so that if the concentrator does not support the configuration and the performance parameters, the authority is transferred to the target concentrator in the self-organizing network to establish a link connection between the target concentrator and the electric energy meter control gateway, and the target concentrator is a concentrator that supports the configuration and the performance parameters.

4. The method according to claim 3, characterized in that The basic parameters include at least one of a communication rate, a frame format, and a check method.

5. The method according to claim 2, characterized in that The protocol type includes at least one of the following: DL / T 645 protocol type, Q / GDW 376.x series protocol type, 07 / 97 protocol type, and MPTL_CJT188 protocol type.

6. An electric energy meter data reporting system, characterized in that: include: A WIFI communication and maintenance device, an electric energy meter, and a concentrator, wherein the WIFI communication and maintenance device is connected to the concentrator via USB, performs data transmission and power supply through the USB interface, and serves as a peripheral device of the concentrator, and is managed and controlled by the concentrator's operating system or specific software; The WIFI communication and maintenance device is used to activate the WIFI hotspot function of the WIFI communication and maintenance device in response to the power meter data reporting instruction, and after the WIFI hotspot function is activated, the concentrator, the power meter and the WIFI communication and maintenance device establish a communication connection through the WIFI hotspot; The electric energy meter is used to, based on the communication connection established by the WIFI hotspot, network the concentrator and the electric energy meter within the coverage range of the WIFI hotspot through the MESH network, wherein the electric energy meters are internally networked through the meter control gateway and connected to the electric energy meter control gateway through the meter control gateway, and the electric energy meter control gateway is connected to multiple concentrators through a self-organizing network; based on the communication networking of the MESH network, it is connected to the electric energy meter in the network through the interface provided by the meter control gateway, and the read electric energy meter data is transferred to the electric energy meter control gateway, including: connecting to the electric energy meter in the network through the interface provided by the meter control gateway, and polling the electric energy meter data of each electric energy meter in the communication networking of the MESH network according to a preset time length through a network monitoring instruction, and continuously reporting the meter reading progress of the electric energy meter data to the concentrator in a heartbeat manner, so that the concentrator and the electric energy meter control gateway can achieve meter reading synchronization, and when the meter reading of the electric energy meter data in this polling is completed, the meter reading end frame is carried to transfer the read electric energy meter data to the electric energy meter control gateway; The concentrator is used to receive the electric energy meter data transferred by the electric energy meter control gateway through a link control frame, connect to the device side master station through a built-in 485 interface, and report the electric energy meter data to the device side master station through a 485 bus; The method of activating the WIFI hotspot function of the WIFI communication and maintenance device in response to the electric energy meter data reporting instruction includes: When the WIFI communication and maintenance device successfully establishes USB communication with the concentrator, the WIFI communication and maintenance device wakes up from sleep mode, wherein the main control board of the WIFI communication and maintenance device adopts a CPU+RAM architecture, the CPU adopts a Cora WIFI MCU, supports communication with the concentrator through the USB protocol, or supports processing and maintenance; When the WIFI communication and maintenance device is in an awake state, continuously monitoring beacon frames according to the WIFI hotspot function monitoring conditions; When a beacon frame is monitored, the WIFI hotspot function of the WIFI communication and maintenance device is activated; Wherein, when the WIFI communication and maintenance device is in an awake state, continuously monitoring beacon frames includes: When the WIFI communication and maintenance device is in an awake state, determining a signal-to-noise ratio state; If the signal-to-noise ratio is high, the number of searches is increased incrementally to continuously monitor beacon frames. If it is not in the high signal-to-noise ratio state, it randomly searches for a channel connection. If the connection is successful on any of the channels, it hops to this channel and continuously monitors beacon frames on this channel at a frequency hopping value of 10%.

Citation Information

Patent Citations

  • Wireless network information collection platform of wireless data access system

    CN104483936A

  • WiFi communication method and WiFi communication module of electric energy meter

    CN105228267A

  • Collecting method and system integrating electricity, water, gas and heat energy metering

    CN109147299A

  • control method for remote control device for air-conditioner

    KR1020100048735A