Electric energy meter data reporting method and system

Through WIFI hotspots and MESH network technology, the problems of difficulty in laying and high maintenance costs in the transmission of electricity meter data are solved, and the efficient, reliable and flexible reporting of electricity meter data is achieved, and the scalability and maintainability of the system are improved.

CN119155575AActive Publication Date: 2024-12-17SHENZHEN YINJUN TECH

Patent Information

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

AI Technical Summary

Technical Problem

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

Method used

Using WIFI hotspot and MESH network technology, the communication connection between the concentrator and the power meter is established through the WIFI hotspot, the meter control gateway is used to conduct internal networking, and data is reported to the main station on the device side through the 485 bus, achieving efficient and reliable data transmission. and management.

Benefits of technology

It improves data transmission efficiency and system stability, reduces wiring costs and maintenance complexity, enhances the scalability and maintainability of the system, and realizes efficient, reliable and flexible reporting of power meter data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119155575A_ABST
    Figure CN119155575A_ABST
Patent Text Reader

Abstract

The invention relates to an electric energy meter data reporting method and system, and the method comprises the steps: activating a WIFI hotspot function of a WIFI communication and maintenance device, enabling a concentrator, an electric energy meter and the WIFI communication and maintenance device to establish communication connection through a WIFI hotspot after the WIFI hotspot function is activated, carrying out the networking of the concentrator and the electric energy meter in a WIFI hotspot coverage range through an MESH network, and carrying out the data reporting of the electric energy meter. Internal networking is carried out among the electric energy meters through the meter control gateway, the electric energy meters are connected to the electric energy meter control gateway through the meter control gateway, and the electric energy meter control gateway is connected with a plurality of concentrators through an ad hoc network. Based on communication networking of the MESH network, an interface provided by a meter control gateway is connected to an electric energy meter in the networking, and read electric energy meter data is transferred to the electric energy meter control gateway; and the concentrator receives the electric energy meter data transferred in the electric energy meter control gateway through a link control frame, is connected to the equipment side master station through a built-in 485 interface, and reports the electric energy meter data to the equipment side master station through 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] At present, the main communication and maintenance methods of electric energy meters are RS-485 and power line carrier; the main communication and maintenance methods of concentrators are RS-485\232, Ethernet and 4G. All of the above methods have some disadvantages and shortcomings, such as: Difficult to lay: Due to the physical connection characteristics of RS-485\232, the laying of its lines may be more complicated and difficult. Large amount of data redundancy: Large data redundancy may be generated during data transmission, which may affect the efficiency of data processing. Host failure leads to system paralysis: If the host fails, the entire system may be paralyzed because RS-485 usually adopts a one-master-multiple-slave structure for communication. High maintenance cost: Due to the complexity of RS-485 and the large number of possible failure points, its maintenance cost is relatively high. Signal attenuation and limited number of connected devices: During long-distance transmission, data transmission errors or losses may occur due to reasons such as signal attenuation and noise interference. In addition, due to the use of a bus topology, the more devices connected, the more complex the line, so the number of connected devices is limited. The main disadvantages of Ethernet access include Category 5 wiring problems, difficulty in fault location, cumbersome user isolation methods, and a large number of broadcast packets. These problems have limited the use of Ethernet in certain application scenarios to a certain extent. 4G network communication has problems such as unstable communication and packet loss in areas with unstable signals and no 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] In order to achieve the above-mentioned purpose, a first aspect of an embodiment of the present disclosure provides a method for reporting electric energy meter data, the method comprising: 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 in a built-in manner; 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 are 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, the interface provided by the meter control gateway is connected to the electric energy meter in the networking, 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 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.

[0005] In a possible implementation, in response to the electric energy meter data reporting instruction, activating the WIFI hotspot function of the WIFI communication and maintenance device includes: In the WIFI communication and maintenance device, the WIFI communication and maintenance device wakes up from sleep, wherein the main control board of the WIFI communication and maintenance device adopts a CPU+RAM architecture, the CPU adopts Cora WIFIMCU, supports communication with the concentrator through a 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 condition; When the beacon frame is monitored, the WIFI hotspot function of the WIFI communication and maintenance device is activated.

[0006] In a possible implementation, 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%.

[0007] 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: 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.

[0008] In a possible implementation, establishing a link connection between the concentrator and the electric energy meter control gateway through a link establishment frame of the link control frame includes: 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 to establish 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; Wherein, 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, and 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.

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

[0010] In a possible implementation, the protocol type includes at least one of the following: DL / T 645-2007 protocol type, Q / GDW 376.x series protocol type, 07 / 97 protocol type, MPTL_CJT188 protocol type.

[0011] In a possible implementation, the communication networking based on the MESH network is connected to the electric energy meter in the networking through an 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 network of the MESH network according to a preset time length through a network monitoring instruction; 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; When the meter reading of the electric energy meter data is completed in this polling, the meter reading completion frame is carried to transfer the read electric energy meter data to the electric energy meter control gateway.

[0012] A second aspect of the embodiments of the present disclosure provides an electric energy meter data reporting system, including: WIFI communication and maintenance device, electric energy meter and concentrator, wherein the WIFI communication and maintenance device is connected to the concentrator via USB or is embedded in the electric energy meter; 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 electric energy meter data reporting instruction, 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; The electric energy meter is used to network the concentrators and electric energy meters within the coverage of the WIFI hotspot through the MESH network based on the communication connection established by the WIFI hotspot, wherein the electric energy meters are internally networked through the meter control gateway, and are 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, the interface provided by the meter control gateway is connected to the electric energy meter in the network, and the read electric energy meter data is transferred 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.

[0013] The present invention provides a method and system for reporting electric energy meter data. Compared with the prior art, the method and system have the following beneficial effects: By activating the WIFI hotspot function of the WIFI communication and maintenance device and using the hotspot to establish a communication connection between the concentrator and the electric energy meter, the efficiency and speed of data transmission are significantly improved. Compared with traditional wired communication methods, WIFI wireless transmission reduces wiring costs, avoids problems such as line aging and damage, and improves the reliability and stability of the system. The use of MESH network technology to network the concentrator and electric energy meter within the coverage of the WIFI hotspot can automatically establish and maintain the network topology, realize multi-path transmission, and enhance the coverage and flexibility of the network. Even if a node in the network fails, data can be transmitted through other paths, ensuring the continuity and stability of data transmission. The electric energy meters are internally networked through the meter control gateway and connected to the electric energy meter control gateway through the gateway, realizing centralized management and reading of electric energy meter data. This hierarchical structure makes data reading more efficient and facilitates remote monitoring and management of electric energy meters. The WIFI communication and maintenance device can be connected to the concentrator in USB mode or implanted in the electric energy meter in a built-in way. This flexible access method reduces the complexity and installation cost of the system. At the same time, the existing 485 interface and bus technology are used to realize data reporting between the concentrator and the main station on the device side, without the need to add expensive communication equipment. The introduction of MESH network technology makes the system have good scalability, and new electric energy meters or concentrator nodes can be easily added without large-scale transformation of the entire network. In addition, through the communication connection between the concentrator and the electric energy meter, remote maintenance and fault diagnosis of the system can be realized, which improves the maintainability and operation efficiency of the system. In this way, by combining WIFI hotspots, MESH network technology and flexible access methods, efficient, reliable and flexible reporting of electric energy meter data is achieved, while reducing system costs and improving system scalability and maintainability.

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

[0015] 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 specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings: Figure 1 It is a flow chart of a method for reporting electric energy meter data according to an embodiment of the specification.

[0016] Figure 2 It 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.

[0017] Figure 3 According to the embodiment of the specification, an implementation Figure 1Flowchart of step S11 in FIG.

[0018] Figure 4 According to the embodiment of the specification, an implementation Figure 1 Flowchart of step S14 in FIG.

[0019] Figure 5 According to the embodiment of the specification, an implementation Figure 1 Flowchart of step S13 in FIG. DETAILED DESCRIPTION

[0020] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0021] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.

[0022] In order to achieve the above object, 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 comprises: 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 in a built-in manner; In the embodiment of the present application, in response to the electric energy meter data reporting instruction triggered by the system or user, the built-in WIFI hotspot function of the WIFI communication and maintenance device (hereinafter referred to as the "device") is activated. This process usually involves software logic processing inside the device, including receiving instructions, parsing instructions, calling the WIFI module driver, configuring WIFI hotspot parameters (such as SSID, password, encryption method, etc.), and finally starting the hotspot. Once the hotspot is activated, devices such as concentrators and electric energy meters can search for the hotspot and try to connect.

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

[0024] In one embodiment, the WIFI communication and maintenance device adopts a USB connection mode, which is inserted into the USB interface of the concentrator. After the concentrator automatically recognizes the device insertion, the WIFI hotspot can be selected on the concentrator LCD, and the connection can be made after the verification information is entered. The operation is simple, and the on-site maintenance personnel can operate it conveniently and quickly to connect the concentrator to the network for use.

[0025] After inserting the WIFI communication and maintenance device on the concentrator, the concentrator can connect to the WIFI network and communicate with the main station. When the concentrator enables the WIFI hotspot mode, other devices can connect to the concentrator WIFI hotspot. At the same time, the concentrator can start the WIFI hotspot function, allowing maintenance equipment to connect to the concentrator for information viewing, log analysis and other functions.

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

[0027] For example, if a smart meter management system receives an instruction to report power data regularly, the system will then send a command to activate the WIFI hotspot to all registered WIFI communication and maintenance devices. After receiving the instruction, device A (connected to concentrator C via USB) first checks the status of its WIFI module. If it is not activated, it automatically configures the SSID to "SmartMeter_123456", the password to "password123", selects the WPA2-PSK encryption method, and then starts the hotspot. Concentrator C and nearby power meters (such as power meter B) scan the WIFI signal, enter the password to connect to the "Smart Meter_123456" hotspot, and thus establish a communication connection.

[0028] 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 a meter control gateway, and are connected to an 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; In the embodiment of the present application, the system uses the established WIFI hotspot connection to achieve flexible networking of devices (concentrators, electric energy meters) within the hotspot coverage range through MESH network technology. MESH network is a self-organizing and self-repairing network structure that allows direct communication between devices to form multi-hop paths and improve network reliability and coverage.

[0029] Inside the energy meter, the meter control gateway is used for preliminary internal networking to ensure that the energy meters can communicate with each other. Subsequently, these energy meters are connected to the energy meter control gateway through the meter control gateway. The latter, as a higher-level aggregation point, is responsible for collecting data from multiple energy meters and may establish connections with multiple concentrators through self-organizing network technology. The concentrator serves as the final data collection point and uploads the collected data to the data center or cloud platform.

[0030] Continuing with the example in step S11, if energy meter B and energy meter D (also connected to the "Smart Meter_123456" hotspot) communicate internally through their respective meter control gateways, a small local network is formed. These meter control gateways then establish a connection with the energy meter control gateway E through a specific communication protocol (such as Zigbee, LoRa, etc., depending on the actual deployment). As the core node of the entire network, the energy meter control gateway E not only manages the communication between energy meters, but also establishes a connection with the concentrator C (also connected to the WIFI hotspot) and possible other concentrators (such as concentrator F) through self-organizing network technology to form a wider network. Concentrators C and F then transmit the collected data to the data center through a more stable network channel (such as GPRS, Ethernet, etc.) for subsequent processing and analysis.

[0031] In step S13, based on the communication networking of the MESH network, the electric energy meter in the networking 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; In the embodiment of the present application, the meter control gateway acts as a bridge between the electric energy meter and the electric energy meter control gateway, and is responsible for reading data from the connected electric energy meter and forwarding this data to the electric energy meter control gateway through the interface it provides (such as serial port, Ethernet interface, etc.). This process usually involves data collection, processing (such as format conversion, data encryption, etc.), packaging and sending. The meter control gateway needs to read data from the electric energy meter regularly or according to preset conditions (such as data change threshold, time interval, etc.), and ensure the accuracy and integrity of the data.

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

[0033] In step S14, the concentrator receives the electric energy meter data transferred by the electric energy meter control gateway through a link control frame; In the embodiment of the present application, the concentrator receives the electric energy meter data transferred from the electric energy meter control gateway through a link control frame (such as an HDLC frame, a TCP / IP data packet, etc.). The link control frame is a frame structure used to transmit control information and data on a communication link. It contains key information such as the source address, destination address, and checksum of the data to ensure reliable transmission of the data. The concentrator needs to monitor the data packets from the electric energy meter control gateway and parse them to extract the electric energy meter data.

[0034] For example, concentrator C monitors data packets from electric energy meter control gateway E through its built-in communication module (such as WIFI module, Ethernet interface, etc.). When receiving a link control frame containing electric energy meter data, concentrator C first performs frame header check and address matching to confirm the validity and destination address of the data packet. Then, concentrator C parses the electric energy meter data in the data packet and stores it in the local cache or memory.

[0035] 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.

[0036] In the embodiment of the present application, the concentrator is connected to the device-side master station through its built-in 485 interface, and reports the collected electric energy meter data to the master station through the 485 bus. RS-485 is a widely used serial data communication standard with the advantages of long transmission distance, high transmission rate, and strong anti-interference ability. The concentrator packages the electric energy meter data in the format required by the master station and sends it to the 485 bus through the 485 interface. The device-side master station receives and processes the electric energy meter data from the concentrator by monitoring the data on the 485 bus.

[0037] For example, concentrator C is connected to the device-side master station A through its built-in RS-485 interface. After collecting enough electric energy meter data, concentrator C packages the data according to the data format required by master station A (such as specific message structure, data encoding method, etc.). Then, concentrator C sends the packaged data to the 485 bus through the RS-485 interface. The device-side master station A monitors the data on the bus through its 485 interface. When receiving the data packet from concentrator C, it parses and processes it to obtain the real-time data of the electric energy meter, and performs subsequent analysis, storage or display operations.

[0038] The above technical solution significantly improves the efficiency and speed of data transmission by activating the WIFI hotspot function of the WIFI communication and maintenance device and using the hotspot to establish a communication connection between the concentrator and the electric energy meter. Compared with the traditional wired communication method, WIFI wireless transmission reduces the wiring cost, avoids the problems of line aging and damage, and improves the reliability and stability of the system. The MESH network technology is used to network the concentrator and the electric energy meter within the coverage of the WIFI hotspot, which can automatically establish and maintain the network topology structure, realize multi-path transmission, and enhance the coverage and flexibility of the network. Even if a node in the network fails, the data can be transmitted through other paths, ensuring the continuity and stability of data transmission. The electric energy meters are internally networked through the meter control gateway, and connected to the electric energy meter control gateway through the gateway, realizing the centralized management and reading of the electric energy meter data. This hierarchical structure makes data reading more efficient and facilitates remote monitoring and management of the electric energy meter. The WIFI communication and maintenance device can be connected to the concentrator in USB mode or implanted in the electric energy meter in a built-in way. This flexible access method reduces the complexity and installation cost of the system. At the same time, the existing 485 interface and bus technology are used to realize data reporting between the concentrator and the main station on the device side, without the need to add expensive communication equipment. The introduction of MESH network technology makes the system have good scalability, and new electric energy meters or concentrator nodes can be easily added without large-scale transformation of the entire network. In addition, through the communication connection between the concentrator and the electric energy meter, remote maintenance and fault diagnosis of the system can be realized, which improves the maintainability and operation efficiency of the system. In this way, by combining WIFI hotspots, MESH network technology and flexible access methods, efficient, reliable and flexible reporting of electric energy meter data is achieved, while reducing system costs and improving system scalability and maintainability.

[0039] 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: In step S111, in the WIFI communication and maintenance device, the WIFI communication and maintenance device wakes up from sleep.

[0040] 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; In the embodiment of the present application, the WIFI communication and maintenance device may be in a low-power sleep mode under normal conditions to reduce energy consumption. When the WIFI hotspot needs to be activated, the device needs to be awakened from the sleep state through a certain trigger mechanism (such as an external interrupt, a timer interrupt, etc.). After awakening, the main control board (CPU+RAM architecture) of the device starts to work normally and prepares to perform subsequent operations.

[0041] For example, assume that the main control board of the WIFI communication and maintenance device uses Cora WIFI MCU as the CPU, which supports low power consumption mode. When the system sends a data reporting instruction through the concentrator, the concentrator sends a wake-up signal to the device through the USB protocol. After the USB interface inside the device receives the signal, it triggers the interrupt handler to wake up the device from sleep mode.

[0042] 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; In the embodiment of the present application, in the WIFI network, the beacon frame is broadcast periodically by the access point (AP) to announce its existence and parameters (such as SSID, supported rates, etc.) to other devices (such as client devices) in the network. After waking up, the WIFI communication and maintenance device needs to continuously monitor these beacon frames to determine the status of the current WIFI environment and prepare to activate its own WIFI hotspot.

[0043] For example, after the WIFI communication and maintenance device is awakened, its built-in WIFI module starts working and is configured in monitoring mode. In monitoring mode, the WIFI module continuously scans the surrounding WIFI signals, paying special attention to beacon frames. The software logic inside the device will parse these beacon frames to obtain information such as the SSID list and channel occupancy of the current WIFI environment.

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

[0045] In the embodiment of the present application, after monitoring the beacon frame and confirming that the current WIFI environment is suitable for activating the hotspot, the WIFI communication and maintenance device will configure its WIFI module to access point (AP) mode and start the WIFI hotspot function. This includes setting parameters such as SSID, password, encryption method, and starting hotspot broadcasting so that other devices can search and connect to the hotspot.

[0046] For example, the WIFI communication and maintenance device configures the WIFI module to AP mode through the driver interface of the WIFI module according to the preset hotspot configuration parameters (such as SSID "SmartMeter_XXXX" and password "password123"), and starts hotspot broadcasting. At this time, devices such as concentrators and electric energy meters can search for the hotspot and try to connect to the "Smart Meter_XXXX" hotspot by entering the password, thereby establishing a communication connection.

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

[0048] In a possible implementation, in step S112, when the WIFI communication and maintenance device is in an awake state, continuously monitoring beacon frames includes: In step S1121, when the WIFI communication and maintenance device is in the awake state, determining the signal-to-noise ratio state; Among them, the signal-to-noise ratio (SNR) is an important indicator to measure signal quality. It represents the ratio of signal strength to background noise strength. In WIFI communication, a high signal-to-noise ratio usually means better communication quality and less interference. Therefore, before listening to the beacon frame, you first need to determine the current signal-to-noise ratio status.

[0049] In the embodiment of the present application, the WIFI communication and maintenance device receives wireless signals from the surrounding environment through its built-in WIFI module and antenna. The signal processing unit inside the device analyzes the received signal and calculates the signal-to-noise ratio. According to the preset threshold, the signal-to-noise ratio state is divided into three levels: "high", "medium" and "low". For example, a signal-to-noise ratio higher than 25dBm is considered to be a high signal-to-noise ratio state.

[0050] 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; In the embodiment of the present application, when the signal-to-noise ratio is high, it means that the current WIFI environment is clearer and less interfered. In order to more comprehensively discover available WIFI networks, the device increases the number of searches by incremental method and continuously monitors beacon frames. This means that the device stays on each channel for a longer time or switches channels more frequently to monitor beacon frames.

[0051] In the embodiment of the present application, under the high signal-to-noise ratio state, the WIFI communication and maintenance device sets the number of searches to a relatively high initial value (e.g., each search lasts for 1 second, and a total of 10 searches). Then, the number of searches is gradually increased according to the incremental rule (e.g., adding 0.5 seconds after each search) until the preset maximum value is reached. During each search, the beacon frame on the current channel is monitored and relevant information (e.g., SSID, channel number, etc.) is recorded.

[0052] In step S1123, if it is not in the high signal-to-noise ratio state, randomly search for channel connection, and if the connection is successful on any of the channels, hop to this channel and continuously monitor beacon frames on this channel with a frequency hopping value of 10%.

[0053] In the embodiment of the present application, 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 WIFI environment may have more interference or weaker signals. In order to quickly find an available WIFI network and reduce energy consumption, the device adopts a strategy of randomly searching for channel connections. If a network on any channel is successfully connected, the device hops to this channel and continuously listens to beacon frames on this channel at a lower frequency hopping value.

[0054] For example, in a low signal-to-noise ratio state, the WIFI communication and maintenance device first generates a random channel list (including all available WIFI channels). Then, the device tries to connect to the networks on these channels in a random order. If it successfully connects to any channel (i.e., it can receive the beacon frame on the channel and successfully complete the handshake process), the device will hop to this channel and continue to listen to the beacon frame on this channel at a frequency hopping value of 10% (i.e., switch to the adjacent channel for short-term monitoring at regular intervals). This strategy helps the device to maintain the stability of the connection while also being able to monitor the WIFI network conditions on other channels to a certain extent.

[0055] In this way, by determining the signal-to-noise ratio state, the communication quality of the current WIFI environment can be intelligently judged, which helps to avoid unnecessary searches on low-quality channels, thereby improving communication efficiency. In the high signal-to-noise ratio state, the incremental method is used to increase the number of searches, which can reduce the possibility of omissions. At the same time, due to the high signal-to-noise ratio, the communication quality is guaranteed, so increasing the number of searches will not bring too much energy consumption burden. Random search and frequency hopping under low signal-to-noise ratio, and frequency hopping monitoring at a lower frequency after the connection is successful. It helps to quickly find a relatively stable communication channel and maintain a connection on the channel. At the same time, frequency hopping monitoring can reduce communication interruptions caused by single channel interference and improve the system's anti-interference ability. In other words, whether it is a high signal-to-noise ratio or a low signal-to-noise ratio state, a reasonable monitoring strategy can be used to quickly respond and establish a stable WIFI connection. It provides users with a smoother and more reliable communication experience, reduces waiting time and inconvenience caused by network problems, and can intelligently adapt to different WIFI environments. It improves the communication efficiency and stability that can be maintained in different scenarios, and improves user satisfaction.

[0056] 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: 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; In the embodiment of the present application, the link establishment frame (such as the link establishment request / response in the LLC frame) is used to initialize the communication link and negotiate the communication parameters of both parties (such as baud rate, data bit, stop bit, etc.). The concentrator sends a link establishment request frame to the electric energy meter control gateway, and the frame contains the concentrator's identification, the requested service type (such as data transmission service) and the expected communication parameters.

[0057] Furthermore, after receiving the link establishment request frame, the energy meter control gateway checks whether it can support the service type and communication parameters in the request. If it can, it replies with a link establishment response frame to confirm that the link is successfully established; if it does not, it replies with an error frame to explain the reason. After receiving the link establishment response frame, the concentrator confirms that the link has been successfully established and is ready to receive the energy meter data.

[0058] 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; In the embodiment of the present application, since the concentrator may support multiple communication protocols (such as IEC 61107, DL / T 645-2007, etc.), the electric energy meter control gateway needs to determine the protocol type of the concentrator currently connected to the link before sending data in order to perform correct protocol conversion. After the link is successfully established, the electric energy meter control gateway sends a protocol query request frame to the concentrator, requesting the concentrator to report the protocol types it supports.

[0059] Further, after receiving the protocol query request frame, the concentrator checks the protocol list it supports and replies with a protocol query response frame, which contains the protocol type information used by the current link connection. After receiving the protocol query response frame, the power meter control gateway parses the protocol type information and prepares to convert the power meter data according to the protocol type.

[0060] In step S143, the electric energy meter data transferred by the meter control gateway is converted into a protocol according to the protocol type; In the embodiment of the present application, protocol conversion is the process of converting the original electric energy meter data received by the electric energy meter control gateway into a format that the concentrator can understand. This process usually involves data format adjustment, encoding method conversion, and necessary checksum calculations. The electric energy meter control gateway selects a suitable protocol conversion module to convert the electric energy meter data according to the protocol type information obtained in step S142.

[0061] The conversion process may include repackaging the original data of the energy meter (such as voltage, current, power, etc.) according to the protocol format supported by the concentrator, adding necessary header information (such as frame header, length field, checksum, etc.), and performing necessary encoding conversion (such as ASCII code to hexadecimal conversion). After the conversion is completed, the energy meter control gateway stores the converted data in the buffer and prepares to send it to the concentrator.

[0062] 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.

[0063] In the embodiment of the present application, after the data conversion is completed, the electric energy meter control gateway sends the converted electric energy meter data to the concentrator through the previously established link connection. After the data is sent, in order to release system resources and avoid unnecessary communication overhead, the link connection needs to be disconnected. The link termination frame (such as the link termination request / response in the LLC frame) is used to achieve this purpose.

[0064] Among them, the energy meter control gateway reads the converted energy meter data from the buffer and sends it to the concentrator through the link connection. The transmission process may involve data segmentation, retransmission and other mechanisms to ensure the integrity and reliability of the data. After the data is sent, the energy meter control gateway sends a link termination request frame to the concentrator to request to disconnect the link connection. After receiving the link termination request frame, the concentrator confirms that there is no communication task in progress and replies with a link termination response frame to confirm that the link has been disconnected. After the link is disconnected, the concentrator and the energy meter control gateway release related resources and wait for the arrival of the next communication task.

[0065] In a possible implementation, in step S141, establishing a link connection between the concentrator and the electric energy meter control gateway through a link establishment frame of the link control frame includes: 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 to establish a connection; In the embodiment of the present application, the concentrator, 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 identification (such as address, port number, etc.), the expected communication rate, data format, verification method, etc. The transmission of the link establishment request frame is the first step to start the link establishment process, and provides the necessary initialization information for subsequent communications.

[0066] 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 check mode (such as no check, odd check, even check, etc.) according to the predetermined protocol specification.

[0067] Send link establishment request frame: The concentrator sends the constructed link establishment request frame to the electric energy meter control gateway through its communication interface (such as serial port, Ethernet interface, etc.). During the sending process, the concentrator may need to set appropriate communication parameters (such as baud rate, data bit, stop bit, etc.) to ensure compatibility with the electric energy meter control gateway.

[0068] 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; In the embodiment of the present application, when the electric energy meter control gateway receives the link establishment request frame sent by the concentrator, it will respond to the request according to its own configuration and performance parameters. The response process may include checking whether the parameters in the request are compatible with the configuration of the gateway, evaluating the current load of the gateway to determine whether there are sufficient resources to establish a new link connection, etc. If the request is accepted, the gateway will construct and send a link establishment response frame to the concentrator; if the request is rejected, an error response frame is sent, which may include the reason for the rejection.

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

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

[0071] Assess 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.

[0072] 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.

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

[0074] Wherein, 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, and the link confirmation frame is used to indicate agreement to establish the link connection; In the embodiment of the present application, when the electric energy meter control gateway receives the link establishment request frame from the concentrator and confirms that its configuration and performance parameters can 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 is agreed to be established, as well as possible additional information (such as negotiated communication parameters). After receiving the link confirmation frame, the concentrator will confirm that the link is successfully established and prepare for subsequent data transmission.

[0075] 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.

[0076] 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.

[0077] Constructing a link confirmation frame: If supported, the gateway constructs a link confirmation frame containing confirmation information agreeing to establish a link connection.

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

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

[0080] 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.

[0081] In the embodiment of the present application, when the electric energy meter control gateway finds that its configuration and performance parameters cannot support the basic parameters in the concentrator request, the gateway will feedback its current configuration and performance parameter information to the concentrator. After receiving this information, the concentrator will check whether it supports these parameters. If not, the concentrator may choose to transfer the authority to establish a link to other concentrators (target concentrators) in the ad hoc network. These target concentrators are pre-determined or dynamically discovered to be able to support the configuration and performance parameters of the gateway. The target concentrator will then attempt to establish a link connection with the electric energy meter control gateway.

[0082] 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.

[0083] Configuration and performance do not match: The gateway finds that its configuration and performance parameters cannot support the basic parameters in the request.

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

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

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

[0087] The target concentrator attempts to establish a link: After receiving the notification of handover authority, the target concentrator constructs a link establishment request frame (which may contain negotiated parameters) and sends the link establishment request frame to the energy meter control gateway. The gateway attempts to establish a link connection based on the request of the target concentrator.

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

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

[0090] Among them, in the communication protocol and link establishment process, basic parameters refer to the basic settings used to initialize the communication link and ensure that both parties can exchange data correctly. These parameters are crucial to establish stable and reliable communication.

[0091] In one possible implementation, the basic parameters mentioned include: Communication rate: Also known as baud rate, it indicates the number of bits transmitted per second (bps), which determines the speed of data transmission.

[0092] 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.

[0093] Verification method: A method used to detect whether an error occurs during data transmission, such as parity check, CRC check, etc.

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

[0095] In a possible implementation, the protocol type includes at least one of the following: DL / T 645-2007 protocol type, Q / GDW 376.x series protocol type, 07 / 97 protocol type, MPTL_CJT188 protocol type.

[0096] The protocol type refers to a set of standardized rules for communication between different devices or systems. In the energy meter data acquisition and transmission system, the concentrator and the energy meter control gateway need to follow a specific communication protocol to ensure the correct exchange of data.

[0097] In one possible implementation, the protocol types mentioned include: DL / T 645-2007 protocol type: widely used electric energy meter communication protocol, used to achieve data exchange between electric energy meters and concentrators.

[0098] 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.

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

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

[0101] 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 the link establishment process, the concentrator and the energy meter control gateway need to confirm the protocol types supported by each other in order to select the most appropriate protocol for communication.

[0102] In one possible implementation, see Figure 5 As shown, in step S13, the communication networking based on the MESH network is connected to the electric energy meter in the networking 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: 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 a preset time length through a network monitoring instruction; In an embodiment of the present application, the meter control gateway uses the interface it provides (such as a serial port, Ethernet interface or wireless communication module) to establish a connection with the electric energy meter in the MESH network. Once the connection is established, the meter control gateway will periodically send network monitoring instructions (also called polling instructions) to each electric energy meter in the network according to a preset duration to collect its electric energy meter data. These data may include key parameters such as power consumption, voltage, current, power factor, etc. The introduction of the polling mechanism ensures the real-time and accuracy of the data while avoiding unnecessary communication overhead.

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

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

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

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

[0107] 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; In the embodiment of the present application, in order to ensure the synchronization of meter reading between the concentrator and the electric energy meter control gateway, the meter control gateway continuously reports the meter reading progress to the concentrator in a heartbeat manner. The heartbeat message contains the number of electric energy meters that have been read, the number of electric energy meters that have not been read, and possible error or abnormal information. This mechanism enables the concentrator to grasp the meter reading progress in real time and intervene or adjust when necessary.

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

[0109] 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.).

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

[0111] 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.

[0112] In the embodiment of the present application, when the current polling meter reading task is completed, that is, all preset electric energy meter data have been successfully read, the meter control gateway will construct a meter reading end frame, and package all the read electric energy meter data and transfer it to the electric 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.

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

[0114] 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.).

[0115] 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 with the electricity meter control gateway (such as serial port, Ethernet interface, etc.).

[0116] Confirmation and feedback: After receiving the data, the electric energy meter control gateway performs verification and confirmation, and sends a feedback message of successful reception to the meter control gateway. At this point, this polling meter reading task is completed.

[0117] The embodiment of the present disclosure also provides an electric energy meter data reporting system, including: WIFI communication and maintenance device, electric energy meter and concentrator, wherein the WIFI communication and maintenance device is connected to the concentrator via USB or is embedded in the electric energy meter; 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 electric energy meter data reporting instruction, 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; The electric energy meter is used to network the concentrators and electric energy meters within the coverage of the WIFI hotspot through the MESH network based on the communication connection established by the WIFI hotspot, wherein the electric energy meters are internally networked through the meter control gateway, and are 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, the interface provided by the meter control gateway is connected to the electric energy meter in the network, and the read electric energy meter data is transferred 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.

[0118] 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.

[0119] 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, substitutions and variations may be made to these embodiments, and these changes, modifications, substitutions and variations all fall within the protection scope of the present disclosure.

[0120] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any appropriate manner without contradiction, and they should also be regarded as the contents disclosed in this disclosure. In order 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 in the specification, and its technical scope must be determined according to 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 in a built-in manner; 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 are 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, the interface provided by the meter control gateway is connected to the electric energy meter in the networking, 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 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.

2. The method according to claim 1, characterized in that: 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: In the WIFI communication and maintenance device, the WIFI communication and maintenance device wakes up from sleep, wherein the main control board of the WIFI communication and maintenance device adopts a CPU+RAM architecture, the CPU adopts Cora WIFIMCU, supports communication with the concentrator through a 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 condition; When the beacon frame is monitored, the WIFI hotspot function of the WIFI communication and maintenance device is activated.

3. The method according to claim 2, characterized in that 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%.

4. 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.

5. The method according to claim 4, 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 to establish 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; Wherein, 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, and 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.

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

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

8. The method according to any one of claims 1 to 7, characterized in that The communication networking based on the MESH network is connected to the electric energy meter in the networking 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 network of the MESH network according to a preset time length through a network monitoring instruction; 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; When the meter reading of the electric energy meter data is completed in this polling, the meter reading completion frame is carried to transfer the read electric energy meter data to the electric energy meter control gateway.

9. An electric energy meter data reporting system, characterized in that: include: WIFI communication and maintenance device, electric energy meter and concentrator, wherein the WIFI communication and maintenance device is connected to the concentrator via USB or is embedded in the electric energy meter; 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 electric energy meter data reporting instruction, 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; The electric energy meter is used to network the concentrators and electric energy meters within the coverage of the WIFI hotspot through the MESH network based on the communication connection established by the WIFI hotspot, wherein the electric energy meters are internally networked through the meter control gateway, and are 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, the interface provided by the meter control gateway is connected to the electric energy meter in the network, and the read electric energy meter data is transferred 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.

Citation Information

Patent Citations

  • TD-LTE (time division long term evolution) wireless communication concentrator and electric meter data acquisition method

    CN104408906A

  • Wireless network information collection platform of wireless data access system

    CN104483936A

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

    CN105228267A

  • Meter reading method and system for power grid

    CN108257375A

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

    CN109147299A

Cited By

  • Real-time redundancy fault-tolerant communication system based on double RS-485 links

    CN121770932A

  • A Real-Time Redundant Fault-Tolerant Communication System Based on Dual RS-485 Links

    CN121770932B