CN101281214A - Remote meter reading system heart-throb frame real-time detection method - Google Patents

Remote meter reading system heart-throb frame real-time detection method Download PDF

Info

Publication number
CN101281214A
CN101281214A CNA2007100868885A CN200710086888A CN101281214A CN 101281214 A CN101281214 A CN 101281214A CN A2007100868885 A CNA2007100868885 A CN A2007100868885A CN 200710086888 A CN200710086888 A CN 200710086888A CN 101281214 A CN101281214 A CN 101281214A
Authority
CN
China
Prior art keywords
concentrator
collector
heartbeat frame
frame
heartbeat
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
CNA2007100868885A
Other languages
Chinese (zh)
Other versions
CN101281214B (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.)
China Gridcom Co Ltd
Original Assignee
China Gridcom 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 China Gridcom Co Ltd filed Critical China Gridcom Co Ltd
Priority to CN200710086888A priority Critical patent/CN101281214B/en
Publication of CN101281214A publication Critical patent/CN101281214A/en
Application granted granted Critical
Publication of CN101281214B publication Critical patent/CN101281214B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02B90/20Smart grids as enabling technology in buildings sector

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a remote meter reading system heartbeat frame real-time detection method, which applies in a remote meter reading system composed of a main station server, a concentrator and a collector, wherein, the concentrator will timely transmit heartbeat frame commands to the collector for detecting whether the communication between the concentrator and the collector is unobstructed, the collector processes the received heartbeat frame commands and transmits heartbeat frame answers to the concentrator, if the concentrator receives the heartbeat frame answers, the normal communication between the collector and the concentrator is indicated; if the process can not proceeded normally, the communication is judged to be off-normal, certain disposal is made to improve the communication. After using the invention, the communication transmission between the collector and the concentrator is executed under the instance that the communication is normal, thereby the phenomenon of producing invalidation sending data between the collector and the concentrator is avoided.

Description

Remote meter reading system heart-throb frame real-time detection method
Technical field
The invention belongs to the power technology field, particularly a kind of remote meter reading system heart-throb frame real-time detection method.
Background technology
Remote meter reading is the important component part of modern estate management, long-distance meter-reading system is made up of main website server, concentrator and collector, the main website server is the operation platform that the main website collection is copied software, and as database server stores kilowatt meter reading-out system data and subscriber's meter code value, collector is connected with each user's ammeter, collector is transferred to concentrator with the ammeter data that collects, and concentrator is issued the main website server after data parsing is recombinated again.The heartbeat frame technique has been introduced in the long-distance meter-reading system now, regularly sends, and is used for the flow of regular reporting or maintenance equipment room data link, prevents broken string.But do not have a kind of technology to be used to detect signal intelligence between each equipment of long-distance meter-reading system at present, can have influence on the operate as normal between each equipment of long-distance meter-reading system like this.
Summary of the invention
Purpose of the present invention is exactly at the existing in prior technology deficiency, and a kind of heart-throb frame real-time detection method of communicating by letter between long-distance meter-reading system concentrator and the collector that is used for detecting is provided.
The object of the present invention is achieved like this, it be applied in one by the main website server, be under the jurisdiction of a plurality of concentrators of main website server and be under the jurisdiction of in the long-distance meter-reading system that a large amount of collectors of each concentrator form, its step is as follows:
1, concentrator is set up TCP and is connected by the power communication module in its inner power communication module and each collector between concentrator and collector;
2, the connection state between concentrator judgement and the collector gets nowhere if connect, and the collector number of the connection failure that adds up surpasses setting value, restarts communication board, gets back to step 1;
If 3 successful connections, concentrator is created the heartbeat frame timer;
4, the heartbeat frame timer arrives setting-up time, and concentrator is created the heartbeat frame ordering;
5, concentrator sends the heartbeat frame ordering to collector, gets nowhere if send, and concentrator disconnects TCP and connects, and gets back to step 1;
If 6 send successfully, concentrator is created the heartbeat frame timer again;
7, collector receives the heartbeat frame ordering, gets nowhere if receive, and collector disconnects TCP and connects, and gets back to step 1;
If 8 collectors receive the success of heartbeat frame ordering, collector sends the heartbeat frame and replys;
9, the heartbeat frame of concentrator reception collector is replied, and gets nowhere if receive, and adds up to take defeat number of times above setting value, get back to step 4, adding up takes defeat number of times above setting value, and concentrator disconnects TCP and connects, get back to step 1,, get back to step 4 if receive successfully;
In the above-mentioned detection method, it all is network packet that heartbeat frame ordering and heartbeat frame are replied, and comprises frame head, frame identification, collector number, data field length, heartbeat order control code, check code, end mark in the heartbeat frame ordering;
In the above-mentioned detection method, after concentrator received that heartbeat frame that collector sends is replied, when not having other command frames between concentrator and the collector, the heartbeat frame timer arrived setting-up time, and concentrator sends heartbeat frame ordering next time to collector again.
In sum, the present invention is because whether the communication of having adopted heart-throb frame real-time detection method to detect between them between concentrator and collector is unobstructed, if obstructedly also will do corresponding recovery communication process, communication between concentrator and the collector just can normally be carried out like this, can not produce the phenomenon of invalid transmission data between concentrator and the collector.
Description of drawings
Below in conjunction with accompanying drawing in detail concrete condition of the present invention is described in detail
Fig. 1 is the composition synoptic diagram of long-distance meter-reading system
Fig. 2 is a process flow diagram of the present invention
Embodiment
As shown in Figure 1, long-distance meter-reading system by main website server 1, be under the jurisdiction of a plurality of concentrators 2 of main website server and be under the jurisdiction of each concentrator a large amount of collectors 3 form, main website server 1 is that collection is destroyed the platform that software function realizes, and as database server stores kilowatt meter reading-out system data and subscriber's meter code value, it is positioned at power supply administration management of power use center, communicates by letter with concentrator 2 by medium voltage power line.
Concentrator 2 Yi Tai district transformers are the unit setting, and " making progress " connects main website, and " downwards " communicates by letter with collector by low-voltage power line, is the project planning of native system.
Collector connects ammeter 43 times, gathers ammeter data by the RS-485 line and returns to concentrator 2.Simultaneously, collector also can be used as the transponder (Repeater) of broadband access, data transfer signal of relaying.
As shown in Figure 2, concentrator is by the power communication module in its inner power communication module and each collector during beginning, trial is set up TCP and is connected between concentrator and collector, as the passage that sends order to collector and accept to reply, if connect unsuccessfully, then think this collector communication abnormality, the collector quantity of the connection failure that adds up surpasses setting value, restart communication board, rebulid TCP and connect;
After setting up the TCP connection between concentrator and the collector, concentrator is created the heartbeat frame timer, the heartbeat frame timer arrives setting-up time, concentrator is created the heartbeat frame ordering, the heartbeat frame ordering is a network packet, and it comprises frame head, frame identification, collector number, data field length, heartbeat order control code, check code, end mark;
Concentrator sends the heartbeat frame ordering to collector, gets nowhere if send, and concentrator disconnects TCP and connects, and rebulids TCP and connects;
If concentrator sends the success of heartbeat frame ordering to collector, concentrator is created the heartbeat frame timer again;
Collector receives the heartbeat frame ordering, gets nowhere if receive, and means that network service is unusual, and collector disconnects TCP and connects, and rebulids TCP and connects;
Collector receives the success of heartbeat frame ordering, and after the order of concentrator was received in processing, collector sent the heartbeat frame and replys to concentrator, and the heartbeat frame is replied and promptly replied network packet;
Concentrator receives the heartbeat frame and replys, if receive unsuccessful, add up and take defeat number of times above setting value, concentrator waits for that again the heartbeat frame timer arrives setting-up time, and adding up takes defeat number of times above setting value, and concentrator disconnects TCP and connects, rebuliding TCP connects, if receive successfully, the communication of then thinking is normal, and concentrator waits for that again the heartbeat frame timer arrives setting-up time.

Claims (3)

1. remote meter reading system heart-throb frame real-time detection method, it be applied in one by the main website server, be under the jurisdiction of a plurality of concentrators of main website server and be under the jurisdiction of in the long-distance meter-reading system that a large amount of collectors of each concentrator form, it is characterized in that may further comprise the steps:
(1) concentrator is set up TCP and is connected by the power communication module in its inner power communication module and each collector between concentrator and collector;
(2) connection state between concentrator judgement and the collector gets nowhere if connect, and the collector number of the connection failure that adds up surpasses setting value, restarts communication board, gets back to step (1);
(3) if successful connection, concentrator is created the heartbeat frame timer;
(4) the heartbeat frame timer arrives setting-up time, and concentrator is created the heartbeat frame ordering;
(5) concentrator sends the heartbeat frame ordering to collector, gets nowhere if send, and concentrator disconnects TCP and connects, and gets back to step (1);
(6) if send successfully, concentrator is created the heartbeat frame timer again;
(7) collector receives the heartbeat frame ordering, gets nowhere if receive, and collector disconnects TCP and connects, and gets back to step (1);
(8) if collector receives the success of heartbeat frame ordering, collector sends the heartbeat frame and replys;
(9) the heartbeat frame of concentrator reception collector is replied, and gets nowhere if receive, and adds up to take defeat number of times above setting value, get back to step (4), adding up takes defeat number of times above setting value, and concentrator disconnects TCP and connects, get back to step (1),, get back to step (4) if receive successfully.
2. remote meter reading system heart-throb frame real-time detection method according to claim 1, it is characterized in that: it all is network packet that heartbeat frame ordering and heartbeat frame are replied, and comprises frame head, frame identification, collector number, data field length, heartbeat order control code, check code, end mark in the heartbeat frame ordering.
3. remote meter reading system heart-throb frame real-time detection method according to claim 1, it is characterized in that: after concentrator receives that heartbeat frame that collector sends is replied, when not having other command frames between concentrator and the collector, the heartbeat frame timer arrives setting-up time, and concentrator sends heartbeat frame ordering next time to collector again.
CN200710086888A 2007-04-02 2007-04-02 Remote meter reading system heart-throb frame real-time detection method Active CN101281214B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710086888A CN101281214B (en) 2007-04-02 2007-04-02 Remote meter reading system heart-throb frame real-time detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710086888A CN101281214B (en) 2007-04-02 2007-04-02 Remote meter reading system heart-throb frame real-time detection method

Publications (2)

Publication Number Publication Date
CN101281214A true CN101281214A (en) 2008-10-08
CN101281214B CN101281214B (en) 2010-05-26

Family

ID=40013772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710086888A Active CN101281214B (en) 2007-04-02 2007-04-02 Remote meter reading system heart-throb frame real-time detection method

Country Status (1)

Country Link
CN (1) CN101281214B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102354498A (en) * 2011-08-17 2012-02-15 深圳市茁壮网络股份有限公司 Method, device and system for processing mixed sound
CN102855743A (en) * 2011-06-30 2013-01-02 北京新媒传信科技有限公司 Meter reading system and method
CN105915398A (en) * 2016-06-24 2016-08-31 广西电网有限责任公司南宁供电局 Rapid fault detection and power recovery system based on rural power network, and concentrator detection method thereof
CN106162583A (en) * 2016-09-07 2016-11-23 深圳市中兴物联科技股份有限公司 A kind of kilowatt meter reading-out system and processing method thereof
CN107085934A (en) * 2017-04-10 2017-08-22 中国电力科学研究院 A kind of power information collecting device method for testing performance and system
CN108696509A (en) * 2018-04-11 2018-10-23 海信集团有限公司 A kind of access processing method and device of terminal
CN108919714A (en) * 2018-07-16 2018-11-30 华立科技股份有限公司 A kind of control method and system of the external on-load switch of electric energy meter
CN109660428A (en) * 2018-12-24 2019-04-19 航天信息股份有限公司 High availability cluster system
CN112055083A (en) * 2020-09-08 2020-12-08 工银科技有限公司 Request processing method and device, electronic equipment and medium
CN112118149A (en) * 2020-08-14 2020-12-22 深圳市科陆电子科技股份有限公司 Device testing method, electronic device, and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911525B (en) * 2015-12-17 2020-05-08 华为技术有限公司 State detection method and DCU

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100490346C (en) * 2003-07-18 2009-05-20 广东浩迪创新科技有限公司 Communication method of remote meter transcribing system and communication conversion module used therefor
CN1815146A (en) * 2005-02-05 2006-08-09 上海自来水市北科技有限公司 Wireless long-distance meter-reading system
CN101090308B (en) * 2007-07-06 2012-03-07 华为技术有限公司 Heartbeat communication method and system

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855743A (en) * 2011-06-30 2013-01-02 北京新媒传信科技有限公司 Meter reading system and method
CN102354498A (en) * 2011-08-17 2012-02-15 深圳市茁壮网络股份有限公司 Method, device and system for processing mixed sound
CN105915398A (en) * 2016-06-24 2016-08-31 广西电网有限责任公司南宁供电局 Rapid fault detection and power recovery system based on rural power network, and concentrator detection method thereof
CN106162583A (en) * 2016-09-07 2016-11-23 深圳市中兴物联科技股份有限公司 A kind of kilowatt meter reading-out system and processing method thereof
CN107085934B (en) * 2017-04-10 2020-09-11 中国电力科学研究院 Performance detection method and system for electricity consumption information acquisition equipment
CN107085934A (en) * 2017-04-10 2017-08-22 中国电力科学研究院 A kind of power information collecting device method for testing performance and system
CN108696509B (en) * 2018-04-11 2020-09-11 海信集团有限公司 Access processing method and device for terminal
CN108696509A (en) * 2018-04-11 2018-10-23 海信集团有限公司 A kind of access processing method and device of terminal
CN108919714A (en) * 2018-07-16 2018-11-30 华立科技股份有限公司 A kind of control method and system of the external on-load switch of electric energy meter
CN109660428A (en) * 2018-12-24 2019-04-19 航天信息股份有限公司 High availability cluster system
CN112118149A (en) * 2020-08-14 2020-12-22 深圳市科陆电子科技股份有限公司 Device testing method, electronic device, and storage medium
CN112055083A (en) * 2020-09-08 2020-12-08 工银科技有限公司 Request processing method and device, electronic equipment and medium
CN112055083B (en) * 2020-09-08 2022-06-10 中国工商银行股份有限公司 Request processing method and device, electronic equipment and medium

Also Published As

Publication number Publication date
CN101281214B (en) 2010-05-26

Similar Documents

Publication Publication Date Title
CN101281214B (en) Remote meter reading system heart-throb frame real-time detection method
CN100427719C (en) Oil-well realtime monitoring system and its controlling method
CN107967801A (en) A kind of energy measurement data online acquisition and monitoring method and system
CN106447236A (en) Electric energy meter file management method and system of power utilization information acquisition system
CN102354175B (en) Remote I/O (input/output) control system of Modbus fieldbus DI-16-route monitor
CN102299977A (en) Method for automatic register of electric energy meter by collector and collector
CN104064006B (en) Communication method of centralized meter reading system
CN106483262A (en) A kind of online water quality monitoring system based on mobile terminal
CN104580245A (en) Power distribution terminal 104 message parsing system and parsing method thereof
CN102841293A (en) Fault positioning system for 10kV power distribution network circuit
CN103578251A (en) Micropower wireless networking method based on flooding
CN101609168A (en) Vehicle detecting system and method based on wireless earth induction
CN103067237A (en) Controller area network (CAN) communication protocol and application used for electric-bag or cloth-bag type dust collector control system
CN101626318B (en) Multilevel communication system and communication detection method thereof
CN113812167B (en) Method for reading a fluid table
CN209088949U (en) Bimodulus communication intelligent concentrator
CN104483936A (en) Wireless network information collection platform of wireless data access system
CN205070602U (en) Electric wire netting intelligent monitoring system based on networking of super -ZigBee thing
CN209166518U (en) A kind of substation's building environment online monitoring system based on wireless sensor technology
CN111369777A (en) Maintenance method and maintenance system for low-voltage user electricity consumption information acquisition system
CN207233185U (en) A kind of collaborative kilowatt meter reading-out system
CN103023895A (en) Data transformation method between GOOSE (Generic Object Oriented Substation Event) protocol and Zigbee protocol in small hydro-electric IED (Intelligent Electronic Device) net
CN207594999U (en) Railway track broken rail monitors system
CN202141778U (en) Line fault positioner used for 10kV power distribution network
CN203759860U (en) Intelligent GPRS server concentrator

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant