CN112365699A - Meter reading method for solving problem of uplink communication timeout of water-gas-heat meter converter - Google Patents

Meter reading method for solving problem of uplink communication timeout of water-gas-heat meter converter Download PDF

Info

Publication number
CN112365699A
CN112365699A CN202011015275.4A CN202011015275A CN112365699A CN 112365699 A CN112365699 A CN 112365699A CN 202011015275 A CN202011015275 A CN 202011015275A CN 112365699 A CN112365699 A CN 112365699A
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.)
Granted
Application number
CN202011015275.4A
Other languages
Chinese (zh)
Other versions
CN112365699B (en
Inventor
石潇龙
陈维广
徐军然
朱文亚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Topscomm Communication Co Ltd
Original Assignee
Qingdao Topscomm Communication Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Qingdao Topscomm Communication Co Ltd filed Critical Qingdao Topscomm Communication Co Ltd
Priority to CN202011015275.4A priority Critical patent/CN112365699B/en
Publication of CN112365699A publication Critical patent/CN112365699A/en
Application granted granted Critical
Publication of CN112365699B publication Critical patent/CN112365699B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0083Formatting with frames or packets; Protocol or part of protocol for error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements 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/1607Details 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 wave 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

Meter reading method for solving problem of uplink communication timeout of water-gas-heat meter converter
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 in the meter data acquisition application process, it is found 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 equipment within the specified timeout time, so that the matching problem of the power communication time sequence and the meter interaction time sequence is caused, and the success rate and the efficiency of information acquisition are further reduced.
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 uplink communication timeout of a water-gas-heat meter converter, shortens the response time of partial meters and partial commands at present, solves the problem of time sequence matching of the meters and an electric power acquisition system, and improves 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 timeout 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; overtime waiting in the task execution process, and judging and processing 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 of the meter reading method for solving the problem of uplink communication timeout 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 and the uplink acquisition terminal device communicate with each other through a carrier or Rs485 serial port, and according to the specification of DLT _645_2007_ multifunctional electric energy meter communication protocol, the carrier serial port timeout time is 500ms, and the Rs485 serial port timeout time is 3 s. 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 task currently being executed 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 same as the recorded frame, the command frame is not executed or replied, 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 each real-time task execution is overtime is effectively avoided, and the command interaction process after the converter is accessed into the conventional power information acquisition system is more perfect.

Claims (5)

1. A meter reading method for solving uplink communication timeout of a water-gas-heat meter converter is characterized by comprising the following steps:
carrying out iterative recording on an interactive command issued by an uplink acquisition terminal device;
overtime waiting in the task execution process, and judging and processing 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.
2. The method of claim 1, wherein the iterative recording enables the converter to record the interactive command issued by the upstream acquisition terminal device, and when a new interactive command is issued to the converter, the new interactive command replaces the previously recorded command.
3. The method for solving the problem of the timeout of the uplink communication of the water-gas-heat meter converter according to claim 1, wherein the timeout waiting enables the converter to give a waiting time longer than the timeout time of the uplink carrier or Rs485 serial port to the task execution serial port when executing the current task, and if the command frame which is sent by the uplink acquisition terminal device and is the same as the record frame is received again within the waiting time of the task, the command is not executed, so that the integrity of the execution of the current task is ensured.
4. The method as claimed in claim 1, wherein the converter interrupts a currently executed task and executes the new task when receiving a new command frame different from the recording frame during the execution of the current task.
5. The method for solving the problem of the timeout of the uplink communication of the water-gas-heat meter converter according to claim 1, wherein after receiving the meter reply frame, the converter immediately replies to the serial port of the command frame and records the reply frame no matter whether the uplink carrier or the Rs485 serial port is timeout, and if receiving the command frame which is the same as the recorded frame again after replying, the converter directly reports the recorded reply frame without re-executing the task, and deletes the recorded reply frame after the secondary reply.
CN202011015275.4A 2020-09-24 2020-09-24 Meter reading method for solving uplink communication timeout of water-gas-heat meter converter Active CN112365699B (en)

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 true CN112365699A (en) 2021-02-12
CN112365699B 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 (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101576742A (en) * 2009-06-19 2009-11-11 西安交通大学 Remote monitoring and fault diagnosing system for numerical control slitter and method for realizing same
CN101640931A (en) * 2009-08-26 2010-02-03 普天信息技术研究院有限公司 Method for keeping uplink synchronization
CN102255309A (en) * 2011-07-15 2011-11-23 中国电力科学研究院 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
US20160379482A1 (en) * 2014-03-14 2016-12-29 Omron Corporation Wireless control terminal, wireless control apparatus for controlling control target, and emergency stop control program
CN106652415A (en) * 2016-12-30 2017-05-10 武汉盛帆智能科技有限公司 Processing method and device of protocol for concentrated reading of multiple meters
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
US20190266169A1 (en) * 2018-02-28 2019-08-29 Walmart Apollo, Llc System and method for management of a database system
CN112960494A (en) * 2021-02-08 2021-06-15 深圳市旺龙智能科技有限公司 Elevator taking control device additionally arranged on elevator and shared elevator cloud charging system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101576742A (en) * 2009-06-19 2009-11-11 西安交通大学 Remote monitoring and fault diagnosing system for numerical control slitter and method for realizing same
CN101640931A (en) * 2009-08-26 2010-02-03 普天信息技术研究院有限公司 Method for keeping uplink synchronization
CN102255309A (en) * 2011-07-15 2011-11-23 中国电力科学研究院 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
US20160379482A1 (en) * 2014-03-14 2016-12-29 Omron Corporation Wireless control terminal, wireless control apparatus for controlling control target, and emergency stop control program
CN106652415A (en) * 2016-12-30 2017-05-10 武汉盛帆智能科技有限公司 Processing method and device of protocol for concentrated reading of multiple meters
US20190266169A1 (en) * 2018-02-28 2019-08-29 Walmart Apollo, Llc System and method for management of a database system
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
CN112365699B (en) 2022-10-14

Similar Documents

Publication Publication Date Title
CN107146395B (en) Meter reading system and meter reading method based on broadband carrier communication
CN110324880B (en) Power utilization information acquisition system based on NB-IoT (NB-IoT) narrowband Internet of things and working method thereof
WO2021103480A1 (en) Method for acquiring user electricity meter load identification data, and hardware device
CN102868552B (en) Data transmission method for uplink
CN102881143B (en) Method for reading electric energy meter event records in AMI (Advanced Metering Infrastructure) system
CN112235250A (en) Method and system for acquiring data of distribution room in minute-level same frequency
CN111366801A (en) Method for identifying topology of switch in transformer area
CN111402569A (en) Power consumption information acquisition method and power consumption information acquisition device
CN112365699B (en) Meter reading method for solving uplink communication timeout of water-gas-heat meter converter
CN106846781B (en) Method and system for automatically identifying communication module of centralized meter reading collector
CN112669591A (en) Meter reading data transmission method, slave device, system and storage medium
CN102882980B (en) Advanced material information (AMI) collection system file synchronization method
CN111435843B (en) High-speed carrier CCO communication method based on wireless interface
CN201426043Y (en) Load control and management system based on GPRS network
CN112270822B (en) Real-time communication method applied to converter and mixed-loading multi-protocol water-gas-heat meter
CN201464583U (en) Power quality on-line monitoring system based on transparent forwarding technology
CN110992671B (en) Ammeter address forwarding method, device and system and electronic equipment
CN114977494A (en) Batch remote control checking device and method for substation in-service equipment without power outage
CN112466109A (en) Self-adaptive meter reading method applied to water-gas heat meter
CN112583928B (en) Meter reading system and method adopting universal remote meter reading gateway
CN110545126B (en) Method for power line carrier communication learning and fuzzy flooding communication
CN113709595B (en) Concentrator remote meter reading data transmission method based on DLMS protocol
CN220139589U (en) Distribution line infrared inspection system based on mobile terminal
CN112510825B (en) Real-time power failure active reporting and de-duplication method and system for high-speed power line carrier communication
CN117978829B (en) Distributed station terminal IEC104 networking method

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