CN113422819A - Mechanism for realizing high-efficiency data acquisition by adopting HDLC protocol - Google Patents

Mechanism for realizing high-efficiency data acquisition by adopting HDLC protocol Download PDF

Info

Publication number
CN113422819A
CN113422819A CN202110682143.5A CN202110682143A CN113422819A CN 113422819 A CN113422819 A CN 113422819A CN 202110682143 A CN202110682143 A CN 202110682143A CN 113422819 A CN113422819 A CN 113422819A
Authority
CN
China
Prior art keywords
searching
meter
task
processing
meter reading
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
CN202110682143.5A
Other languages
Chinese (zh)
Other versions
CN113422819B (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.)
Shenzhen Hongxing Zhilian Technology Co ltd
Original Assignee
Shenzhen Hongxing Zhilian Technology 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 Shenzhen Hongxing Zhilian Technology Co ltd filed Critical Shenzhen Hongxing Zhilian Technology Co ltd
Priority to CN202110682143.5A priority Critical patent/CN113422819B/en
Publication of CN113422819A publication Critical patent/CN113422819A/en
Application granted granted Critical
Publication of CN113422819B publication Critical patent/CN113422819B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/60Arrangements in telecontrol or telemetry systems for transmitting utility meters data, i.e. transmission of data from the reader of the utility meter

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Security & Cryptography (AREA)
  • Cardiology (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)
  • Communication Control (AREA)

Abstract

The invention provides a mechanism for realizing high-efficiency data acquisition by adopting an HDLC protocol, and relates to the field of high-efficiency meter searching, reporting and reading of an acquisition device HDLC protocol. The mechanism for efficiently collecting data by adopting the HDLC protocol comprises the following processes: resetting or powering on the collector, then detecting whether the collector is the meter searching time, and if the collector is the meter searching time; detecting whether a meter reading task is processed or not, and if the meter reading task is processed; detecting whether the time is meter reading time, and if the time is the meter reading time; whether a table needs to be reported is detected, and if the table needs to be reported, the table is reported. The acquisition device HDLC protocol meter searching and reporting mechanism provided by the invention has the advantages of high meter searching speed, support of multi-channel meter searching, large support capacity, long wiring distance, no influence on meter searching and meter reading when the electricity meter is powered on again after power failure, and no loss of meter numbers in the report; in addition, meter searching and meter reading can be avoided, and the condition that meter searching is interrupted during meter searching or meter reading is interrupted during meter searching is avoided.

Description

Mechanism for realizing high-efficiency data acquisition by adopting HDLC protocol
Technical Field
The invention relates to the technical field of efficient meter searching, reporting and reading of a collector HDLC protocol, in particular to a mechanism for realizing efficient data acquisition by adopting the HDLC protocol.
Background
The existing collector has many defects in use, for example, the ammeter is electrified again after power failure to affect meter searching and meter reading, and meanwhile, the report can lose the meter number, and meanwhile, aiming at the existing condition that meter searching is interrupted during meter reading or meter reading is interrupted during meter searching, a mechanism for realizing high-efficiency data acquisition by adopting an HDLC protocol is provided.
Disclosure of Invention
Technical problem to be solved
Aiming at the defects of the prior art, the invention provides a mechanism for realizing high-efficiency data acquisition by adopting an HDLC protocol, and overcomes the defects of the prior acquirer.
(II) technical scheme
In order to achieve the purpose, the invention is realized by the following technical scheme:
a mechanism for enabling efficient data collection using an HDLC protocol, the mechanism comprising the following steps:
in the process 1, a collector is reset or powered on, and then whether the collector is in the table searching time is detected, and if the collector is in the table searching time;
step 2, detecting whether a meter reading task is processed or not, and if the meter reading task is processed;
step 3, detecting whether the meter reading time is the meter reading time, and if the meter reading time is the meter reading time;
in the process 4, whether a table needs to be reported is detected, and if the table needs to be reported, the table is reported;
the flow 5 is to process the report, then detect whether there is a meter reading task, if there is a meter reading task;
step 6, detecting whether a table searching task is processed;
and 7, if the table searching task is processed in the process 6, starting to perform the process 1 task.
Preferably, if no meter searching task is processed in the process 6, a meter reading task is performed, and a process 1 task is started.
Preferably, if the process 1 is a non-table-searching time, detecting whether a table-searching task is in processing, and if no table-searching task is in processing, performing the process 3; and if the table searching task is processed, detecting whether the table number is returned to the frame processing or not, if the table number is returned to the frame processing, performing the table number returned to the frame receiving processing, and performing the step 1.
Preferably, the step 1 detects whether the table number frame returning is completed, and if not, the process 3 is performed; and if the operation is finished, detecting whether the table is searched, if the table is not searched, performing the operation of the flow 3, and if the table is searched, performing the mouth closing processing of the table.
Preferably, the mechanism includes step 2, that is, it is detected whether the table mouth closing processing is completed subsequently, if not, the flow 3 work is performed, if so, the PING table processing is performed, then it is detected whether the current PING table processing is successful, if not, the current search table number and short code processing are cleared and the flow 3 work is performed, if successful, it is detected whether the PING table processor is completed, if not, the flow 3 work is performed, if so, the table number and short code processing of the current search table are saved, and then the flow 3 work is performed.
Preferably, it is detected whether or not the table mouth closing processing is performed if the frame returning processing without the table number is performed, the step 2 task is performed if the table mouth closing processing is performed, the PING table processing in the step 2 is performed if the table mouth closing processing is not performed, and the subsequent task of the PING table processing in the step 2 is completed.
Preferably, in the process 2, if no meter reading task is processed, whether the new table searching operation is performed is detected, if the new table searching operation is not performed, a data frame of a non-new table searching is sent, the table number frame returning receiving processing is performed, and then the work in the step 1 is performed; and if the new table searching operation is carried out, sending a new table searching data frame, carrying out table number frame returning receiving processing, and then carrying out the work in the step 1.
Preferably, it is detected whether a report task is being processed if the time in the process 3 is non-meter reading time, if so, the process 5 is performed, and if not, the process 6 is performed.
(III) advantageous effects
The invention provides a mechanism for realizing high-efficiency data acquisition by adopting an HDLC protocol. The method has the following beneficial effects:
the acquisition device HDLC protocol meter searching and reporting mechanism provided by the invention has the advantages of high meter searching speed, support of multi-channel meter searching, large support capacity, long wiring distance, no influence on meter searching and meter reading when the electricity meter is powered on again after power failure, and no loss of meter numbers in the report; in addition, meter searching and meter reading can be avoided, and the condition that meter searching is interrupted during meter searching or meter reading is interrupted during meter searching is avoided.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example (b):
as shown in fig. 1, an embodiment of the present invention provides a mechanism for implementing efficient data collection using an HDLC protocol, where the mechanism includes the following processes:
in the process 1, a collector is reset or powered on, and then whether the collector is in the table searching time is detected, and if the collector is in the table searching time;
step 2, detecting whether a meter reading task is processed or not, and if the meter reading task is processed;
step 3, detecting whether the meter reading time is the meter reading time, and if the meter reading time is the meter reading time;
in the process 4, whether a table needs to be reported is detected, and if the table needs to be reported, the table is reported;
the flow 5 is to process the report, then detect whether there is a meter reading task, if there is a meter reading task;
step 6, detecting whether a table searching task is processed;
and 7, if the table searching task is processed in the process 6, starting to perform the process 1 task.
And if the flow 6 is not processed by the meter searching task, performing a meter reading task and starting to perform the flow 1 task.
If the flow 1 is the non-table searching time, detecting whether a table searching task is processed, and if the table searching task is not processed, performing the work of the flow 3; and if the table searching task is processed, detecting whether the table number is returned to the frame processing or not, if the table number is returned to the frame processing, performing the table number returned to the frame receiving processing, and performing the step 1.
Step 1, detecting whether the table number return frame is finished or not, and if not, performing the work of the flow 3; and if the operation is finished, detecting whether the table is searched, if the table is not searched, performing the operation of the flow 3, and if the table is searched, performing the mouth closing processing of the table.
The mechanism comprises a step 2, namely detecting whether the mouth closing processing of the table is finished or not, if not, carrying out the working of a flow 3, if so, carrying out the PING table processing, then detecting whether the current PING table processing is successful or not, if not, clearing the current searching table number and short code processing and carrying out the working of the flow 3, if so, detecting whether the PING table processor is finished or not, if not, carrying out the working of the flow 3, if so, saving the table number and short code processing of the current searching table, and then, carrying out the working of the flow 3.
And if no table number is returned to the frame processing, detecting whether the table mouth closing processing is carried out or not, if the table mouth closing processing is carried out, carrying out the step 2 task, if the table mouth closing processing is not carried out, carrying out the PING table processing in the step 2, and finishing the subsequent tasks of the PING table processing in the step 2.
In the process 2, if no meter reading task is processed, whether the operation is a new meter searching operation is detected, if the operation is not carried out, a non-new meter searching data frame is sent, the meter number frame returning receiving processing is carried out, and then the work in the step 1 is carried out; and if the new table searching operation is carried out, sending a new table searching data frame, carrying out table number frame returning receiving processing, and then carrying out the work in the step 1.
And if the time in the process 3 is non-meter reading time, detecting whether a report task is processed, if so, performing a process 5, and if not, performing a process 6.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (8)

1. A mechanism for realizing high-efficiency data acquisition by adopting an HDLC protocol is characterized in that: the mechanism includes the following flows:
in the process 1, a collector is reset or powered on, and then whether the collector is in the table searching time is detected, and if the collector is in the table searching time;
step 2, detecting whether a meter reading task is processed or not, and if the meter reading task is processed;
step 3, detecting whether the meter reading time is the meter reading time, and if the meter reading time is the meter reading time;
in the process 4, whether a table needs to be reported is detected, and if the table needs to be reported, the table is reported;
the flow 5 is to process the report, then detect whether there is a meter reading task, if there is a meter reading task;
step 6, detecting whether a table searching task is processed;
and 7, if the table searching task is processed in the process 6, starting to perform the process 1 task.
2. The mechanism of claim 1 for implementing efficient data collection using HDLC protocol, wherein: and if the flow 6 is not processed by the meter searching task, performing a meter reading task and starting to perform the flow 1 task.
3. The mechanism of claim 1 for implementing efficient data collection using HDLC protocol, wherein: if the flow 1 is the non-table searching time, detecting whether a table searching task is processed, and if the table searching task is not processed, performing the work of the flow 3; and if the table searching task is processed, detecting whether the table number is returned to the frame processing or not, if the table number is returned to the frame processing, performing the table number returned to the frame receiving processing, and performing the step 1.
4. The mechanism of claim 3 for implementing efficient data collection using HDLC protocol, wherein: step 1, detecting whether the table number return frame is finished or not, and if not, performing the work of the flow 3; and if the operation is finished, detecting whether the table is searched, if the table is not searched, performing the operation of the flow 3, and if the table is searched, performing the mouth closing processing of the table.
5. The mechanism of claim 4 for implementing efficient data collection using HDLC protocol, wherein: the mechanism comprises a step 2, namely detecting whether the mouth closing processing of the table is finished or not, if not, carrying out the working of a flow 3, if so, carrying out the PING table processing, then detecting whether the current PING table processing is successful or not, if not, clearing the current searching table number and short code processing and carrying out the working of the flow 3, if so, detecting whether the PING table processor is finished or not, if not, carrying out the working of the flow 3, if so, saving the table number and short code processing of the current searching table, and then, carrying out the working of the flow 3.
6. A mechanism for implementing efficient data collection using HDLC protocol according to claims 1-5, characterized by: and if no table number is returned to the frame processing, detecting whether the table mouth closing processing is carried out or not, if the table mouth closing processing is carried out, carrying out the step 2 task, if the table mouth closing processing is not carried out, carrying out the PING table processing in the step 2, and finishing the subsequent tasks of the PING table processing in the step 2.
7. A mechanism for implementing efficient data collection using HDLC protocol according to claims 1-5, characterized by: in the process 2, if no meter reading task is processed, whether the operation is a new meter searching operation is detected, if the operation is not carried out, a non-new meter searching data frame is sent, the meter number frame returning receiving processing is carried out, and then the work in the step 1 is carried out; and if the new table searching operation is carried out, sending a new table searching data frame, carrying out table number frame returning receiving processing, and then carrying out the work in the step 1.
8. A mechanism for implementing efficient data collection using HDLC protocol according to claims 1-5, characterized by: and if the time in the process 3 is non-meter reading time, detecting whether a report task is processed, if so, performing a process 5, and if not, performing a process 6.
CN202110682143.5A 2021-06-20 2021-06-20 Method for realizing efficient data acquisition by HDLC protocol Active CN113422819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110682143.5A CN113422819B (en) 2021-06-20 2021-06-20 Method for realizing efficient data acquisition by HDLC protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110682143.5A CN113422819B (en) 2021-06-20 2021-06-20 Method for realizing efficient data acquisition by HDLC protocol

Publications (2)

Publication Number Publication Date
CN113422819A true CN113422819A (en) 2021-09-21
CN113422819B CN113422819B (en) 2023-12-19

Family

ID=77789448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110682143.5A Active CN113422819B (en) 2021-06-20 2021-06-20 Method for realizing efficient data acquisition by HDLC protocol

Country Status (1)

Country Link
CN (1) CN113422819B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115065610A (en) * 2022-04-25 2022-09-16 宁波三星医疗电气股份有限公司 Concentrator table searching method, readable storage medium, concentrator and table searching system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010170337A (en) * 2009-01-22 2010-08-05 Hitachi Ltd Meter reading device management method, meter reading device management system, handy terminal, and meter reading device management server
CN102339300A (en) * 2011-06-17 2012-02-01 杭州炬华科技股份有限公司 Automatic meter searching method for intelligent power grid
CN106327847A (en) * 2016-08-19 2017-01-11 深圳市慧联通信技术有限公司 Electricity usage information centralized reading method and system
CN108257375A (en) * 2017-12-29 2018-07-06 南昌市科陆智能电网科技有限公司 A kind of power grid meter register method and system
CN112565351A (en) * 2020-11-02 2021-03-26 珠海中慧微电子有限公司 Mobile meter reading method based on WiSUN protocol
CN112713917A (en) * 2020-12-24 2021-04-27 国网北京市电力公司 Communication method and device based on HPLC, storage medium and electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010170337A (en) * 2009-01-22 2010-08-05 Hitachi Ltd Meter reading device management method, meter reading device management system, handy terminal, and meter reading device management server
CN102339300A (en) * 2011-06-17 2012-02-01 杭州炬华科技股份有限公司 Automatic meter searching method for intelligent power grid
CN106327847A (en) * 2016-08-19 2017-01-11 深圳市慧联通信技术有限公司 Electricity usage information centralized reading method and system
CN108257375A (en) * 2017-12-29 2018-07-06 南昌市科陆智能电网科技有限公司 A kind of power grid meter register method and system
CN112565351A (en) * 2020-11-02 2021-03-26 珠海中慧微电子有限公司 Mobile meter reading method based on WiSUN protocol
CN112713917A (en) * 2020-12-24 2021-04-27 国网北京市电力公司 Communication method and device based on HPLC, storage medium and electronic device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
ZHENCHAO WANG: "Overlapping clustering routing algorithm based on L-PLC meter reading system", 2009 IEEE INTERNATIONAL CONFERENCE ON AUTOMATION AND LOGISTICS *
孙涛;胡佳庆;: "无线电力抄表系统干扰分析与管理思考", 中国无线电, no. 02 *
赵雨婷: "《国网电力采集终端档案自动维护方案研究》", 机电信息 *
郑松松;彭叶飞;蔡明海;: "人工路由路径解决载波集抄信号盲点问题", 湖州师范学院学报, no. 08 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115065610A (en) * 2022-04-25 2022-09-16 宁波三星医疗电气股份有限公司 Concentrator table searching method, readable storage medium, concentrator and table searching system
CN115065610B (en) * 2022-04-25 2024-04-30 宁波三星医疗电气股份有限公司 Concentrator table searching method, readable storage medium, concentrator and table searching system

Also Published As

Publication number Publication date
CN113422819B (en) 2023-12-19

Similar Documents

Publication Publication Date Title
CN110907751B (en) Direct-current power distribution network fault line selection method, device and system based on directional traveling waves
CN101114253A (en) Program crashing information report method and system thereof
CN113422819A (en) Mechanism for realizing high-efficiency data acquisition by adopting HDLC protocol
CN109615723B (en) Automatic analysis method and system for patrol route coverage condition
CN105321039B (en) Online monitoring data management system and method for isolating switch
CN101710863A (en) Method and system for restoring single board alarm
CN110738415A (en) Electricity stealing user analysis method based on electricity utilization acquisition system and outlier algorithm
CN105824749B (en) The analysis method of User space process exception under a kind of Linux system
CN117560712A (en) Test system, wireless log grabbing and analyzing device and method
CN110764711B (en) IO data classification deleting method and device and computer readable storage medium
CN110658478A (en) Testing method and device based on power supply balance signal stability and storage medium
CN115687406B (en) Sampling method, device, equipment and storage medium for call chain data
CN112399365B (en) Welding man-hour calculation data acquisition method and device
CN113676790B (en) Acquisition scheduling method and device for low-voltage centralized meter reading equipment, concentrator and medium
CN110890740A (en) Motor phase loss detection method
CN110749785A (en) Turnout rotation time sequence analysis method and system
CN104424096A (en) Automatic testing system and method for Android platform based device
CN205038593U (en) Data acquisition facility based on cloud computing technology
CN111343018B (en) Method and device for collecting alarm logs of data center switch
CN109960213B (en) Control method of rotary positioning equipment
CN112203315A (en) Iron tower base station abnormity detection method and equipment
CN101945413A (en) Alarm information processing method and device
CN104749508A (en) Online partial discharge detector of power capacitor
CN211293728U (en) Data interaction system between PLC remote modules
CN115065610B (en) Concentrator table searching method, readable storage medium, concentrator and table searching system

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