CN112365699B - Meter reading method for solving uplink communication timeout of water-gas-heat meter converter - Google Patents
Meter reading method for solving uplink communication timeout of water-gas-heat meter converter Download PDFInfo
- Publication number
- CN112365699B CN112365699B CN202011015275.4A CN202011015275A CN112365699B CN 112365699 B CN112365699 B CN 112365699B CN 202011015275 A CN202011015275 A CN 202011015275A CN 112365699 B CN112365699 B CN 112365699B
- Authority
- CN
- China
- Prior art keywords
- converter
- frame
- command
- task
- uplink
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C19/00—Electric signal transmission systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0078—Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
- H04L1/0083—Formatting with frames or packets; Protocol or part of protocol for error control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/1607—Details of the supervisory signal
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The invention discloses a meter reading method for solving the problem of overtime of uplink communication of a water-gas-heat meter converter, relates to the field of data information acquisition, is used for matching with an uplink acquisition terminal to perfect the interactive flow of the terminal and the converter, and under the condition of meeting the requirements of carrier and 485 serial port communication waiting time specified in DLT-645/2007-multifunctional electric energy meter communication protocol, the converter records an interactive command issued by the uplink acquisition terminal, and solves the problem of time sequence matching with partial meters and partial commands with longer interactive response time through time sequence staggering, so that the converter and the existing electric power information acquisition system are in seamless butt joint, and the stability of data acquisition and control of water, electricity, gas and heat meters is ensured.
Description
Technical Field
The invention belongs to the field of data information acquisition, and particularly relates to a meter reading method for solving the problem of uplink communication timeout of a converter of a water-gas calorimeter.
Background
The four meters are key projects promoted by national grid companies in recent years, and on the basis of automatic acquisition of the existing electric energy meters, information acquisition of three meters, namely water, gas and heat is added, so that integrated remote reading and control of the four meters are realized, and a solid step is taken for comprehensively constructing smart cities. However, the original power information acquisition is standardized and fixed, and it can be found in the meter data acquisition application process that the reply time of part of meters and part of commands is long and exceeds the timeout waiting time of power acquisition, and the reply frame of the meter cannot be reported to the terminal acquisition device within the specified timeout time, which causes the problem of the coordination of the power communication time sequence and the meter interaction time sequence, and further reduces the success rate and efficiency of information acquisition.
Therefore, the invention provides a reasonable and effective solution to the above problems.
Disclosure of Invention
Aiming at the problems and the defects in the application, the invention aims to provide a meter reading method for solving the problem of overtime of uplink communication of a water-gas-heat meter converter, shorten the response time of partial meters and partial commands at present, solve the problem of time sequence matching of the meters and an electric power acquisition system and improve the success rate and the efficiency of information acquisition.
In order to achieve the aim, the invention provides a meter reading method for solving the problem of uplink communication overtime of a water-gas-heat meter converter, which comprises the steps of carrying out iterative recording on an interactive command issued by uplink acquisition terminal equipment; the overtime waiting in the task execution process judges and processes the same command received for multiple times; after receiving a new command, interrupting the current task; and reporting the reply frame immediately and reporting the reply frame for the second time.
The iterative recording enables the converter to record the interactive command issued by the uplink acquisition terminal equipment, and when a new interactive command is issued to the converter, the new interactive command can replace the previously recorded command.
The overtime waiting can ensure that the converter gives a waiting time longer than the overtime time of the uplink carrier or the Rs485 serial port to the task execution serial port when executing the current task, and if the converter receives a command frame which is sent by the uplink acquisition terminal device and is the same as the recording frame again in the task waiting time, the converter does not execute the command, thereby ensuring the integrity of the execution of the current task.
And in the process of executing the current task, when a new command frame different from the recording frame is received by the converter, interrupting the task which is currently executed, and further executing the new task.
After the converter receives the meter reply frame, whether the uplink carrier or the Rs485 serial port is overtime or not, the converter immediately replies to the serial port of the command frame and records the reply frame, if the command frame which is the same as the record frame is received again after the reply, the recorded reply frame is directly reported without re-executing the task, and the recorded reply frame is deleted after the secondary reply.
The invention has the beneficial effects that:
1. the converter can be directly connected to the existing power information acquisition system of the national grid company, and the system does not need to be modified, so that the operation is simple and convenient.
2. The method supports real-time interaction of meters or commands with longer interaction time, adopts staggered execution on time sequence, and effectively solves the problem that the communication overtime of a single-frame command cannot be reported normally.
Drawings
Fig. 1 is a connection diagram of a converter and an uplink acquisition terminal device in the method for solving the problem of timeout of uplink communication of the converter of the water-gas heat meter.
FIG. 2 is a flow chart of a meter reading method for solving the problem of uplink communication timeout of a converter of a water-gas heat meter according to the invention.
Detailed Description
The invention is further described in detail below with reference to the accompanying drawings and examples.
As shown in fig. 1, the converter communicates with the uplink acquisition terminal device through a carrier or Rs485 serial port, and according to the specification of DLT _645 lau 2007 multifunctional electric energy meter communication protocol, the carrier serial port timeout time is 500ms, and the rs485 serial port timeout time is 3s. The converter downlink realizes interaction with the meter through three interfaces of Lora, rs485 and M-Bus, and partial commands cannot be completed within the communication timeout time specified by the uplink, so that communication failure is caused.
As shown in fig. 2, after receiving the real-time interactive command issued from the uplink acquisition terminal device, the converter determines whether the command is the same as the recorded command (the converter only supports recording one command frame at the same time), and the current network router issues the same command frame again after the command frame is overtime, which also provides a prerequisite for the effective implementation of the scheme.
If the command frame received by the converter is different from the recorded command frame, the command frame is recorded, the currently executed task is ended, a new command frame is executed until a meter reply is received or the execution serial port is overtime, and in the serial port waiting time, if the converter receives the command frame the same as the recorded frame, the converter does not execute the command frame and does not reply, so that the integrity of the current task is ensured. And when the execution serial port receives the reply of the meter, processing and reporting the reply frame, and storing the reported reply message.
If the command frame received by the converter is the same as the recorded command frame, whether a task is executed currently or not needs to be judged, if the task which is being executed exists, the command frame is not responded, the current task is not interrupted, if the task is not executed, whether a stored reply frame exists or not is judged, if the reply frame exists, the command frame does not need to be executed again, the stored reply frame is directly reported, the stored reply frame is deleted after the reply, and if the reply frame does not exist, the command is issued, waited, received, processed and stored according to the execution flow.
Through the process, the mode that the odd frames are used for executing storage, the even frames are directly reported, and the command serial port is matched with the execution serial port in time sequence is adopted, so that the problem that the real-time task execution is overtime every time is effectively avoided, and the command interaction process is more perfect after the converter is accessed to the conventional electric power information acquisition system.
Claims (1)
1. A meter reading method for solving uplink communication overtime of a water-gas-heat meter converter is characterized by comprising the following steps:
carrying out iterative recording on an interactive command issued by uplink acquisition terminal equipment;
the overtime waiting in the task execution process judges and processes the same command received for multiple times;
after receiving a new command, interrupting the current task;
reporting the reply frame instantly and reporting for the second time;
the iterative recording can enable the converter to record an interactive command issued by the uplink acquisition terminal equipment, and when a new interactive command is issued to the converter, the new interactive command can replace the previously recorded command;
the overtime waiting can enable the converter to give a waiting time longer than the overtime time of an uplink carrier or an Rs485 serial port to the task execution serial port when executing the current task, if a command frame which is sent by the uplink acquisition terminal equipment and is the same as the recording frame is received again in the task waiting time, the converter does not execute the command, and the completeness of the execution of the current task is ensured;
when the converter receives a new command frame different from the recording frame in the process of executing the current task, interrupting the currently executed task and further executing the new task;
after the converter receives the meter reply frame, whether the uplink carrier or the Rs485 serial port is overtime or not, the converter immediately replies to the serial port of the command frame and records the reply frame, if the command frame which is the same as the record frame is received again after the reply, the recorded reply frame is directly reported without re-executing the task, and the recorded reply frame is deleted after the secondary reply.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011015275.4A CN112365699B (en) | 2020-09-24 | 2020-09-24 | Meter reading method for solving uplink communication timeout of water-gas-heat meter converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011015275.4A CN112365699B (en) | 2020-09-24 | 2020-09-24 | Meter reading method for solving uplink communication timeout of water-gas-heat meter converter |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112365699A CN112365699A (en) | 2021-02-12 |
CN112365699B true CN112365699B (en) | 2022-10-14 |
Family
ID=74506541
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011015275.4A Active CN112365699B (en) | 2020-09-24 | 2020-09-24 | Meter reading method for solving uplink communication timeout of water-gas-heat meter converter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112365699B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108880619A (en) * | 2018-07-26 | 2018-11-23 | 航天亮丽电气有限责任公司 | A kind of automatic meter reading method using bandwidth carrier communication module |
CN109214771A (en) * | 2018-08-01 | 2019-01-15 | 奇酷互联网络科技(深圳)有限公司 | Method, equipment, storage medium and the terminal of everyday tasks management |
CN112960494A (en) * | 2021-02-08 | 2021-06-15 | 深圳市旺龙智能科技有限公司 | Elevator taking control device additionally arranged on elevator and shared elevator cloud charging system |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101576742B (en) * | 2009-06-19 | 2011-06-22 | 西安交通大学 | Remote monitoring and fault diagnosing system for numerical control slitter and method for realizing same |
CN101640931B (en) * | 2009-08-26 | 2012-06-27 | 普天信息技术研究院有限公司 | Method for keeping uplink synchronization |
CN102255309B (en) * | 2011-07-15 | 2014-03-12 | 中国电力科学研究院 | Self-healing control method of centralized distribution network |
CN103236910A (en) * | 2013-03-25 | 2013-08-07 | 北京速通科技有限公司 | Low speed data delay response method for dedicated short-range communication protocol |
JP6398237B2 (en) * | 2014-03-14 | 2018-10-03 | オムロン株式会社 | Radio control terminal, radio control device for control object, emergency stop control program |
CN106652415A (en) * | 2016-12-30 | 2017-05-10 | 武汉盛帆智能科技有限公司 | Processing method and device of protocol for concentrated reading of multiple meters |
US11132376B2 (en) * | 2018-02-28 | 2021-09-28 | Walmart Apollo, Llc | System and method for management of a database system |
-
2020
- 2020-09-24 CN CN202011015275.4A patent/CN112365699B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108880619A (en) * | 2018-07-26 | 2018-11-23 | 航天亮丽电气有限责任公司 | A kind of automatic meter reading method using bandwidth carrier communication module |
CN109214771A (en) * | 2018-08-01 | 2019-01-15 | 奇酷互联网络科技(深圳)有限公司 | Method, equipment, storage medium and the terminal of everyday tasks management |
CN112960494A (en) * | 2021-02-08 | 2021-06-15 | 深圳市旺龙智能科技有限公司 | Elevator taking control device additionally arranged on elevator and shared elevator cloud charging system |
Also Published As
Publication number | Publication date |
---|---|
CN112365699A (en) | 2021-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107146395B (en) | Meter reading system and meter reading method based on broadband carrier communication | |
CN102117537B (en) | Meter reading gateway, meter reading system and meter reading method | |
WO2021103480A1 (en) | Method for acquiring user electricity meter load identification data, and hardware device | |
CN113066276A (en) | Communication fault monitoring method and device for electricity consumption information acquisition system and storage medium | |
CN111435843B (en) | High-speed carrier CCO communication method based on wireless interface | |
CN112309100A (en) | Data acquisition method and device, computer equipment and storage medium | |
CN108123826A (en) | A kind of interactive system and method for transregional data | |
CN111366801A (en) | Method for identifying topology of switch in transformer area | |
CN115833878A (en) | Minute-level data acquisition method based on power line carrier clock synchronization | |
CN112365699B (en) | Meter reading method for solving uplink communication timeout of water-gas-heat meter converter | |
CN107517210B (en) | Multi-interface protocol self-adaptive conversion power distribution network wireless communication device | |
CN112669591A (en) | Meter reading data transmission method, slave device, system and storage medium | |
CN106846781B (en) | Method and system for automatically identifying communication module of centralized meter reading collector | |
CN110992671B (en) | Ammeter address forwarding method, device and system and electronic equipment | |
CN113259919A (en) | Photovoltaic module data communication method and system and photovoltaic module device | |
CN201426043Y (en) | Load control and management system based on GPRS network | |
CN114878908A (en) | Thing networking electric energy meter and have block terminal of this thing networking electric energy meter | |
CN201464583U (en) | Power quality on-line monitoring system based on transparent forwarding technology | |
CN112270822B (en) | Real-time communication method applied to converter and mixed-loading multi-protocol water-gas-heat meter | |
CN112466109A (en) | Self-adaptive meter reading method applied to water-gas heat meter | |
CN211044504U (en) | Meter reading collector based on wireless intelligent meter reading system | |
CN117978829B (en) | Distributed station terminal IEC104 networking method | |
CN211508711U (en) | Power transformation video master station system capable of automatically starting video storage | |
CN220401494U (en) | Feeder terminal system with accurate sampling | |
CN220139589U (en) | Distribution line infrared inspection system based on mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |