A data collection method for meter equipment based on concentrator
Through the data acquisition method of the meter device based on the concentrator, the wireless transmission and transmissive copy reading mechanisms are used to solve the problem of interference from RF communication and low communication quality, and the stability of data transmission and a low-cost re-retrieval method are realized.
Patent Information
- Application Number
- CN202210980605.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-16
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2042-08-16
AI Technical Summary
In the existing power meter reading system, RF communication is susceptible to interference and low communication quality, resulting in frequent data loss, increasing labor costs to supplement data collection.
The data acquisition method of the metering device based on the concentrator is adopted to transmit the data of the metering device to the main station through wireless means, and data storage is performed on the concentrator. If the data is missing, the data is directly communicated with the metering device through the concentrator router using the transmissive copy and reading mechanism, and data re-acquisition is carried out using RF-MESH and LoraWAN communication methods.
It reduces interference to the meter equipment, reduces power consumption, reduces the cost of manual data re-acquisition, and improves the stability of data transmission through switching and retry mechanisms of different communication methods.
Smart Images

Figure CN115442678B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent meter equipment, and in particular to a meter equipment data collection method based on a concentrator. Background Art
[0002] At present, the electric power meter reading system adopts GPRS+PLC / RF / 485 and other communication methods. Generally, a concentrator is used to manage the meter. The concentrator uses GPRS and other communication methods to communicate with the main station for uplink communication, and can choose a variety of communication methods for downlink communication with the meter. The advantage of RF communication is that there is no need to lay special lines, the cost investment is low, and it is easy to use; the disadvantage is that it is easily interfered by other wireless devices in the use environment, the communication quality is not high, and the communication distance is limited by the transmission power. Now the meter industry generally uses RF communication as a backup plan and as an auxiliary communication method for other communications; even when it is used as the main communication method on gas meters and water meters without wired communication, it will often lose data and pay a high labor cost to collect data. Summary of the invention
[0003] In view of the problems existing in the prior art, a meter equipment data collection method based on a concentrator is provided. Through the concentrator, all meter end data is transmitted to the main station in a wireless manner, and the missing data of the concentrator can be transparently transmitted and read according to needs.
[0004] The technical solution adopted by the present invention is as follows: A data collection method for meter equipment based on a concentrator, comprising:
[0005] Every time a meter device generates a piece of data, it immediately sends the data to the concentrator, and the concentrator stores the received data in an internal database;
[0006] The master station reads the data of the relevant metering equipment stored in the concentrator database at regular intervals every day. If the concentrator database does not have the data of the metering equipment required by the master station, the master station reads the data at the metering equipment end through the concentrator transparent transmission reading method;
[0007] During the transparent copying process, the concentrator operates as a router.
[0008] Furthermore, if the master station fails to read data from the same meter device at the same time for two consecutive days, the transparent reading timing of the meter device will be delayed by one hour.
[0009] Furthermore, the specific process of the transparent copying is as follows:
[0010] The concentrator determines whether it is the first communication. If so, the RF-MESH communication method is used. If not, it determines whether the interval between this communication and the last communication exceeds the set time. If not, the last communication method is used. If so, the RF-MESH communication method is used.
[0011] The transparent reading data is sent to the metering device through the adopted communication method. If the reply data is received, the data is sent to the main station to complete the reading; if the reply data is not received, the communication method is switched, and the transparent reading data is sent to the metering device again. If the reply data is received, the data is sent to the main station to complete the reading; if the reply data is not received, it is replied to the main station that the reply data was not received and the reading data failed.
[0012] Furthermore, before switching the communication mode, if no reply data is received, the transparent reading data is sent to the meter device again according to the set retry times, and the communication mode is switched again after the retry times are exhausted.
[0013] Furthermore, after switching the communication mode, if no reply data is received, the transparent reading data is sent to the meter device again according to the set retry times. After the retry times are exhausted, it is replied to the main station that no reply data is received and the data reading fails.
[0014] Furthermore, the switching of the communication mode is specifically: if the communication mode of RF-MESH is currently adopted, it is switched to the communication mode of LoraWAN; if the communication mode of LoraWAN is currently adopted, it is switched to the communication mode of RF-MESH.
[0015] Furthermore, after each communication is completed, the concentrator records the communication mode and the time of sending data, and uses the time of sending data as the communication time.
[0016] Furthermore, if it is not the first communication, determine whether the last communication method is LoraWAN, and whether the difference between the last communication time and the current communication time is greater than or equal to 2 N ×600S, if both conditions are met at the same time, N increases by 1, and RF-MESH is used for reading this time; if any condition is not met, the last communication method is used for reading; among them, the initial value of N is 0, when 2 N ×600>=86400S, 2 N ×600=86400S.
[0017] Furthermore, the meter device actively sends data to the concentrator using LoraWAN.
[0018] Compared with the prior art, the beneficial effects of adopting the above technical solution are:
[0019] 1. The concentrator adopts the main RF-MESH reading method, which reduces the interference to the meter equipment actively sending data;
[0020] 2. The meter equipment uses LoraWAN to actively report, which reduces the active reading of the concentrator and consumes less power for the meter equipment;
[0021] 3. Meter equipment reports via LoraWAN, and the concentrator uses the main MESH supplementary data collection method to reduce the possibility of manual site visits and reduce labor costs;
[0022] 4. The communication methods used, RF-MESH and LoraWAN, are not in the same frequency band, which reduces interference between them. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 This is a flow chart of the concentrator-based meter equipment data collection method proposed by the present invention.
[0024] Figure 2 This is a flow chart of the transparent copying and reading proposed by the present invention.
[0025] Figure 3 It is a specific diagram showing device data collection in one embodiment of the present invention. DETAILED DESCRIPTION
[0026] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar modules or modules with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be construed as limitations on the present application. On the contrary, the embodiments of the present application include all changes, modifications and equivalents that fall within the spirit and connotation of the appended claims.
[0027] In order to solve the defects of the existing data reading method of metering equipment, a new data collection method is proposed, which can effectively ensure the stability of data transmission and provide a low-cost supplementary data collection method. The specific method is as follows:
[0028] like Figure 1 As shown, a data collection method for meter equipment based on a concentrator includes:
[0029] Every time a meter device generates a piece of data, it immediately sends the data to the concentrator, and the concentrator stores the received data in an internal database;
[0030] The master station reads the data of relevant metering equipment stored in the concentrator database at regular intervals every day. If the concentrator database does not have the data of the metering equipment required by the master station, the master station reads the data at the metering equipment end through the concentrator through transparent reading. In the transparent reading process, the concentrator is used as a router, and the master station directly reads the relevant data of the metering equipment through the concentrator.
[0031] During the transparent reading process, there may be a reading failure, that is, no reply data is received from the metering equipment. At this time, if the master station fails to read the data of the same meter equipment at the same time for two consecutive days, the transparent reading timing of the meter equipment will be delayed by one hour.
[0032] like Figure 2 As shown, in this embodiment, a transparent copying process is proposed, which is as follows:
[0033] The concentrator determines whether it is the first communication. If so, the RF-MESH communication method is used. If not, it determines whether the interval between this communication and the last communication exceeds the set time. If not, the last communication method is used. If so, the RF-MESH communication method is used.
[0034] The transparent reading data is sent to the metering device through the adopted communication method. If the reply data is received, the data is sent to the main station to complete the reading; if the reply data is not received, the communication method is switched, and the transparent reading data is sent to the metering device again. If the reply data is received, the data is sent to the main station to complete the reading; if the reply data is not received, it is replied to the main station that the reply data was not received and the reading data failed.
[0035] In order to avoid the concentrator not receiving the reply data from the meter device due to temporary network abnormalities, before switching the communication mode, if no reply data is received, the transparent reading data will be sent to the meter device again according to the set retry times. After the retry times are exhausted, the communication mode will be switched.
[0036] Similarly, after switching the communication mode, if no reply data is received, the transparent reading data is sent to the meter device again according to the set retry times. After the retry times are exhausted, it is replied to the master station that no reply data is received and the data reading fails.
[0037] In this embodiment, the switching of the communication mode is specifically: if the communication mode of RF-MESH is currently adopted, it is switched to the communication mode of LoraWAN; if the communication mode of LoraWAN is currently adopted, it is switched to the communication mode of RF-MESH.
[0038] It should be noted that after each communication, the concentrator records the communication mode and the time of sending data. When confirming the communication mode, if it is not the first communication, it is determined whether the last communication mode is LoraWAN, and whether the difference between the last communication time and the current communication time is greater than or equal to 2. N ×600S, if both conditions are met at the same time, N increases by 1, and RF-MESH is used for reading this time; if any condition is not met, the last communication method is used for reading; among them, the initial value of N is 0, when 2 N ×600>=86400S, 2 N ×600=86400S.
[0039] In this embodiment, the meter device actively sends data to the concentrator using LoraWAN.
[0040] like Figure 3 The figure shows a specific application scenario proposed in this embodiment. The master station reads the data of table A and table B, and the number of retries is set to two.
[0041] The master station reads the data in table A. At this time, the concentrator stores the PUSH (actively sent) data in table A, and the concentrator directly replies with the data in table A.
[0042] The master station reads the data in Table B. In this embodiment, the data in Table B is read at 8 o'clock every day. At this time, the data in Table B is not stored in the concentrator, so transparent transmission reading is required.
[0043] Since the concentrator is communicating with table B for the first time, the MESH communication method is adopted. The MESH reads the table B data for the first time. If there is no reply for the first reading, the second MESH reading of table B is carried out after a timeout. If there is no reply for the second MESH reading after a timeout, the LoraWAN method is switched to read the table B data for the first time through LoraWAN. If there is no reply after a timeout, the second LoraWAN reading of table B is carried out. If there is no reply after a timeout again, the concentrator replies to the master station that the table B reading has timed out.
[0044] According to the timing setting, the B table is read at 8 o'clock the next day. At this time, the time since the last communication has exceeded the set time, that is, it exceeds the set maximum value of 86400S (24 hours), so the reading will be carried out in MESH mode. The concentrator reads the B table data for the first time through MESH. If there is no response after the first reading, the second MESH reading of the B table data will be carried out after the timeout. If there is no response after the second MESH reading, it will switch to LoraWAN mode and read the B table data for the first time through LoraWAN. If there is no response after the timeout, the second LoraWAN reading of the B table data will be carried out. If there is no response after the timeout again, the concentrator will reply that the master station B table reading timeout.
[0045] Since the master station failed to read data from the same meter device at the same time for two consecutive days, the transparent reading timing of the meter device was postponed by one hour, that is, the reading was performed again at 9 o'clock.
[0046] At this time, the time since the last communication has also exceeded the set time (86400 seconds), so the reading will be done in MESH mode. The concentrator reads the data in Table B for the first time through MESH. There is no reply in the first reading. After the timeout, the concentrator reads the data in Table B for the second time through MESH. At this time, Table B replies with data, and the concentrator sends the data in Table B to the master station, completing the reading of Table B. The master station reads another piece of data in Table B again, and the concentrator reads the data in Table B for the first time through MESH. At this time, Table B replies with data, and the concentrator sends the data in Table B to the master station, completing the reading of another piece of data in Table B.
[0047] It should be noted that the above example is only a scenario in actual application, that is, table B successfully completes the reading after a delay of one hour. In actual scenarios, other similar situations are also included in the collection method proposed in the invention.
[0048] It should be noted that in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "setting" and "connection" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a direct connection, or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances; the drawings in the embodiments are used to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings herein can be arranged and designed in various different configurations.
[0049] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A data collection method for metering equipment based on a concentrator, It is characterized in that include: Every time a meter device generates a piece of data, it immediately sends the data to the concentrator, and the concentrator stores the received data in an internal database; The master station reads the data of the relevant metering equipment stored in the concentrator database at regular intervals every day. If the concentrator database does not have the data of the metering equipment required by the master station, the master station reads the data at the metering equipment end through the concentrator transparent reading method; in the transparent reading process, the concentrator operates as a router; If the master station fails to read the data of the same meter device at the same time for two consecutive days, the transparent reading timing of the meter device will be delayed by one hour; The specific process of transparent copying is as follows: The concentrator determines whether it is the first communication. If so, the RF-MESH communication method is used. If not, it determines whether the interval between this communication and the last communication exceeds the set time. If not, the last communication method is used. If so, the RF-MESH communication method is used. The transparent reading data is sent to the metering device through the adopted communication method. If the reply data is received, the data is sent to the master station to complete the reading; if the reply data is not received, the communication method is switched, and the transparent reading data is sent to the metering device again. If the reply data is received, the data is sent to the master station to complete the reading; if the reply data is not received, the master station is replied that the reply data is not received and the reading data fails; If it is not the first communication, determine whether the last communication method is LoraWAN, and whether the difference between the last communication time and the current communication time is greater than or equal to 2 N ×600S, if both conditions are met at the same time, N increases by 1, and RF-MESH is used for reading this time; if any condition is not met, the last communication method is used for reading; among them, the initial value of N is 0, when 2 N ×600>=86400S, 2 N ×600=86400S.
2. The data collection method for metering equipment based on a concentrator according to claim 1, It is characterized in that Before switching the communication mode, if no reply data is received, the transparent reading data will be sent to the meter device again according to the set retry times. After the retry times are exhausted, the communication mode will be switched.
3. The concentrator-based metering device data collection method according to claim 2, It is characterized in that After switching the communication mode, if no reply data is received, the transparent reading data will be sent to the meter device again according to the set retry times. After the retry times are exhausted, it will reply to the master station that no reply data has been received and the data reading has failed.
4. The concentrator-based meter device data collection method according to claim 3, It is characterized in that The switching of the communication mode is specifically: if the communication mode of RF-MESH is currently adopted, it is switched to the communication mode of LoraWAN; if the communication mode of LoraWAN is currently adopted, it is switched to the communication mode of RF-MESH.
5. The concentrator-based meter equipment data collection method according to claim 1, It is characterized in that After each communication is completed, the concentrator records the communication mode and the time when the data is sent, and uses the time when the data is sent as the communication time.
6. The concentrator-based meter equipment data collection method according to claim 1, It is characterized in that The meter device actively sends data to the concentrator using LoraWAN.
Citation Information
Patent Citations
Wireless meter reading method and system
CN106128084A
Electricity consumption information acquisition system and method based on dual-mode communication
CN110930676A
Real-time data supplementary collection equipment and method, computer equipment and storage medium
CN112559505A
Method for efficiently collecting AMI system terminal data
CN113423082A