CN112116802A - Method for collecting and reporting real-time data of power collection system - Google Patents

Method for collecting and reporting real-time data of power collection system Download PDF

Info

Publication number
CN112116802A
CN112116802A CN202010896425.0A CN202010896425A CN112116802A CN 112116802 A CN112116802 A CN 112116802A CN 202010896425 A CN202010896425 A CN 202010896425A CN 112116802 A CN112116802 A CN 112116802A
Authority
CN
China
Prior art keywords
data
concentrator
collector
task
steps
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.)
Pending
Application number
CN202010896425.0A
Other languages
Chinese (zh)
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.)
Ningbo Sanxing Electric Co Ltd
Original Assignee
Ningbo Sanxing Electric 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 Ningbo Sanxing Electric Co Ltd filed Critical Ningbo Sanxing Electric Co Ltd
Priority to CN202010896425.0A priority Critical patent/CN112116802A/en
Publication of CN112116802A publication Critical patent/CN112116802A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method for collecting and reporting data of a power collection system, which is characterized by comprising the following steps: the method comprises the following steps: 1) at least two collectors periodically collect data and store the data after collecting the data; 2) the concentrator periodically polls the collector, and the collector uploads the collected data to the concentrator after the roll call of the concentrator is obtained. Compared with the prior art, the invention has the advantages that: the method for acquiring data by the collectors is not controlled by the concentrator, the collected data is stored, the collected data is uploaded to the concentrator immediately when the roll call opportunity is obtained, the data processing advantages of the acquisition terminal are fully utilized, the collectors can work simultaneously, the operation mode of the collectors is not controlled by the concentrator, the concentrator is only responsible for periodically polling the collectors, the passive mode is changed into the active mode, the real-time data acquisition and storage are realized to the greatest extent, the calculation is carried out according to the maximum baud rate 9600, and the real-time data acquisition can be accurate to the second.

Description

Method for collecting and reporting real-time data of power collection system
Technical Field
The invention relates to an electric power acquisition system, in particular to a method for acquiring and reporting real-time data of the electric power acquisition system.
Background
With the continuous and deep development of intelligent power acquisition systems, the performance requirements of users on power acquisition equipment are continuously improved. The real-time performance and the effectiveness of data acquisition play a crucial role in analyzing the operation quality of a power grid and the accuracy of electric energy metering. The current meter reading mode commonly used in the industry is as follows: the concentrator actively collects the data of the electric meter or the collector and transmits the data to the master station in an active reporting or master station calling mode.
Although the current power equipment acquisition terminal also has the concept of real-time data acquisition, the real-time data loses the real-time concept due to the low acquisition speed and low acquisition frequency caused by the limitation of the prior art conditions, so that an immeasurable system error is generated in the analysis of the operation quality of a power grid, the power utilization habits of users and the line loss calculation.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method for collecting and reporting real-time data of an electric power collection system, aiming at the defects existing in the prior art, so as to improve the resource utilization rate and improve the data collection and reading amount.
The first technical solution adopted by the present invention to solve the above technical problems is: a method for collecting and reporting data of a power collection system is characterized by comprising the following steps: the method comprises the following steps:
1) at least two collectors periodically collect data and store the data after collecting the data;
2) the concentrator periodically polls the collector, and the collector uploads the collected data to the concentrator after the roll call of the concentrator is obtained.
The second technical solution adopted by the present invention to solve the above technical problems is: a method for collecting and reporting data of a power collection system is characterized by comprising the following steps: the method comprises the following steps:
1) starting, the master station sends a task to the concentrator;
2) the concentrator receives the tasks issued by the master station, and the four meter reading tasks under one process are respectively completed:
2.1) concentrator first task: each collector periodically collects data, stores the collected data after collecting the data, and uploads the collected data to the concentrator when the roll call of the concentrator is obtained;
2.2) concentrator second task: when data uploaded by a collector is obtained, the received data is stored in a first-level cache;
2.3) concentrator third task: processing data in the first-level cache, and storing the processed data in an internal storage module;
2.4) concentrator fourth task: and processing data retrieval work issued by the master station.
Further, in step 2.1), the concentrator first task comprises the steps of:
2.1.1) the concentrator synchronizes the file address and the system clock to the first collector, the second collector and the third collector so that each collector can periodically collect data;
2.1.2) waiting for starting file management of each collector according to a set waiting interval after the synchronization is finished;
2.1.3) after the waiting period is over, each collector collects data, stores the collected data and continuously checks the meter.
Further, in step 2.1.3), while each collector collects data, the first task of the concentrator starts roll call work, and then the next step is carried out;
2.1.4) each collector judges whether the stored meter reading data and the obtained roll call exist, if the roll call is obtained and the data is stored, the corresponding collector reports the stored meter reading data to the concentrator; if the roll call is obtained and no data is stored, replying that the roll call management unit of the concentrator does not collect data, and then returning to the step 2.1.3), and realizing the periodical polling of the concentrator.
Further, the first task of the concentrator is responsible for maintenance work of the roll call management unit that performs roll call work.
Further, in step 2.2), the data content of the level one cache includes: raw data + data length, data length leading, received raw data following, and level one cache as a high speed content memory.
Further, in step 2.2), the concentrator second task comprises the following steps:
2.2.1) starting data interception;
2.2.2) judging whether data input from the collector exists or not, and if so, entering the next step;
2.2.3) add data to the level one cache.
Further, in step 2.3), the concentrator third task comprises the following steps:
2.3.1) data extraction: the third task of the concentrator is responsible for extracting the data in the first-level cache; after one period is finished, continuing to read the cache;
2.3.2) data processing: the third task of the concentrator is responsible for analyzing the data in the first-level cache, judging the validity of the data, and directly throwing away unqualified data; execution continues as long as the data is legitimate;
2.3.3) filtering the repeated data.
Further, in step 2.3), step 2.3.4) depth management is also included: managing the data depth, reserving four identifications such as storage time, maximum depth limit value, current storage position, rolling operation position and the like for each piece of data, and putting the four identifications into an internal storage module of the concentrator.
Further, in step 2.4), the concentrator fourth task comprises the following steps:
2.4.1) data retrieval: the concentrator fourth task retrieves data from the internal storage module;
2.4.2) the fourth task of the concentrator is responsible for analyzing all data in the previous day into file formats and storing the file formats in a memory inside the concentrator, wherein the stored data correspond to data IDs one by one and are matched in a data ID table and bit operation mode;
2.4.3) compressing the report to the master station; after the data retrieval of one electric meter is finished, the data is analyzed into a protocol standard format and is compressed and reported to the master station.
Compared with the prior art, the invention has the advantages that: the method for acquiring data by the collector is not controlled by the concentrator, the data is acquired and received by the ammeter in a period of the greatest effort, the acquired data is stored, the data is uploaded to the concentrator immediately when the roll call opportunity is obtained, the data processing advantages of the acquisition terminal are fully utilized, the original point reading mode (the concentrator > the collector > the ammeter) is changed into a task parallel mode to be executed, namely a plurality of collectors can work simultaneously, the operation mode of the collectors is not controlled by the concentrator, the concentrator is only responsible for periodically polling the collectors, the passive mode is changed into the active mode, the acquisition and the storage of real-time data are realized to the greatest extent, the calculation is carried out according to the maximum baud rate 9600, and the acquisition of the real-time data can be accurate; the concentrator polls the collector, receives data, analyzes the data, stores the data, reports the data to the master station and executes the data by 4 different tasks, the 4 tasks belong to one collecting process and independently run without interference, so that the resource advantage of the concentrator can be fully utilized, and the maximum collecting is realized; the data storage adopts a mode of 1 cache +1 internal storage, so that the data receiving port is not blocked; the data judging and repeating mechanism is arranged in the data processing, is irrelevant to meter reading service, does not influence data receiving and transmitting, and is arranged in the memory of the concentrator for processing; the data retrieval adopts a mode of cache and an ammeter to split the data, so that the retrieval efficiency can be improved, and the resource occupancy rate can be reduced; the data ID + bit band operation mode ensures data to be matched one by one, and the occupied resource is small.
Drawings
Fig. 1 is a flowchart of a real-time data acquisition and reporting method according to the present invention.
Detailed Description
The invention is described in further detail below with reference to the accompanying examples.
Referring to fig. 1, the present invention provides an efficient method for data acquisition and reporting of a power acquisition system, which can realize multipoint uninterrupted acquisition for a power utilization system in a full time period.
The method comprises the following steps:
1) starting, the master station sends a task to the concentrator;
2) the concentrator receives a task issued by a master station, the task is usually a periodic meter reading service, and the four meter reading tasks under one process are respectively completed:
2.1) concentrator first task:
2.1.1) the concentrator is responsible for synchronizing the file address and the system clock to each collector during system initialization, for example, in the embodiment, three collectors are provided, and the concentrator synchronizes the file address and the system clock to the first collector, the second collector and the third collector so that each collector can periodically collect data; the number of the collectors is at least two;
2.1.2) waiting for starting file management of each collector according to a set waiting interval after the synchronization is finished;
2.1.3) after the waiting period is over, each collector executes meter reading (data collection) and stores the collected data at the same time, and continuously collects the data; meanwhile, the first task of the concentrator starts roll call work (i.e. periodically polling), and in addition, the first task of the concentrator needs to be responsible for maintenance work of the roll call management unit, and the main maintenance contents include: failure alarm, abnormal retransmission, uniform distribution and the like;
2.1.4) each collector judges whether there is stored meter reading data and a roll name, if the roll name is obtained and the data is stored, the corresponding collector reports the stored data to the concentrator, and the following step 2.2.2) is carried out; and if the collector obtains the roll call and has no stored data, replying that the roll call management unit of the concentrator has no collected data, and then returning to the step 2.1.3) to realize the periodical polling of the concentrator.
2.2) concentrator second task: the data processing method is in charge of downlink data interception, only in charge of data reception, and without judging data validity, when data is input, the data is cached in a first-level cache, and the data content of the first-level cache comprises the following steps: original data + data length, the data length is first, and the received original data is immediately followed; the first-level cache is a high-speed content memory, and can ensure that all data on a channel is put into the cache without errors; specifically, the method comprises the following steps:
2.2.1) starting data interception;
2.2.2) judging whether data input from the collector exists or not, and if so, entering the next step;
2.2.3) adding data to the first-level cache;
2.3) concentrator third task:
2.3.1) data extraction: the third task of the concentrator is responsible for extracting the data in the first-level cache; after one period is finished, continuing to read the cache;
2.3.2) data processing: the third task of the concentrator is responsible for analyzing the data in the first-level cache, judging the validity of the data, and directly throwing away unqualified data; execution continues as long as the data is legitimate;
2.3.3) filtering the repeated data;
2.3.4) depth management: another task of the concentrator is to manage the data depth, because the data freezing time of the dynamic data can be any value, the management of the data depth is very complex, in order to save the system resource overhead caused by the depth management, each piece of data stored in the memory in the concentrator is reserved with four identifications of the storage time, the maximum depth limit value, the current storage position, the rolling operation position and the like, and is put into the internal storage module; therefore, the uniqueness of the data can be determined according to the form of the task number plus the table number after the system is reset every time, and the deep recovery operation is realized; therefore, the operation of dividing the deep recovery work into a plurality of sporadic operations can be executed by the third task of the concentrator, and a user cannot perceive the operation;
2.4) concentrator fourth task: only the data retrieval work issued by the master station is processed;
2.4.1) data retrieval: the concentrator fourth task retrieves data from the internal storage module;
2.4.2) the fourth task of the concentrator in the future is responsible for analyzing all data in the previous day into file formats and storing the file formats in a memory inside the concentrator, and the other important work of the data retrieval module is data matching;
2.4.3) compressing the report to the master station; the random property of the dynamic data storage time and the huge data volume can not know the data volume before retrieval, so the algorithm of data retrieval is realized by adopting a dynamic + cache mode, the current data is inserted into a dynamic linked list of the retrieved data in each retrieval, the dynamic linked list realizes the chaining by taking an electric meter as a unit, the data of the electric meter is analyzed into a protocol standard format after the data retrieval of one electric meter is finished, and the data is compressed and reported to a main station for a user to analyze.

Claims (10)

1. A method for collecting and reporting data of a power collection system is characterized by comprising the following steps: the method comprises the following steps:
1) at least two collectors periodically collect data and store the data after collecting the data;
2) the concentrator periodically polls the collector, and the collector uploads the collected data to the concentrator after the roll call of the concentrator is obtained.
2. A method for collecting and reporting data of a power collection system is characterized by comprising the following steps: the method comprises the following steps:
1) starting, the master station sends a task to the concentrator;
2) the concentrator receives the tasks issued by the master station, and the four meter reading tasks under one process are respectively completed:
2.1) concentrator first task: each collector periodically collects data, stores the collected data after collecting the data, and uploads the collected data to the concentrator when the roll call of the concentrator is obtained;
2.2) concentrator second task: when data uploaded by a collector is obtained, the received data is stored in a first-level cache;
2.3) concentrator third task: processing data in the first-level cache, and storing the processed data in an internal storage module;
2.4) concentrator fourth task: and processing data retrieval work issued by the master station.
3. The method for data collection and reporting for a power collection system of claim 1, wherein: in step 2.1), the concentrator first task comprises the following steps:
2.1.1) the concentrator synchronizes the file address and the system clock to the first collector, the second collector and the third collector so that each collector can periodically collect data;
2.1.2) waiting for starting file management of each collector according to a set waiting interval after the synchronization is finished;
2.1.3) after the waiting period is over, each collector collects data, stores the collected data and continuously checks the meter.
4. The method of claim 3, wherein the method comprises: in the step 2.1.3), when the data are collected by each collector, the first task of the concentrator starts roll calling work, and then the next step is carried out;
2.1.4) each collector judges whether the stored meter reading data and the obtained roll call exist, if the roll call is obtained and the data is stored, the corresponding collector reports the stored meter reading data to the concentrator; if the roll call is obtained and no data is stored, replying that the roll call management unit of the concentrator does not collect data, and then returning to the step 2.1.3), and realizing the periodical polling of the concentrator.
5. The method of claim 4, wherein the method comprises: the first task of the concentrator is responsible for the maintenance work of the roll call management unit which executes the roll call work.
6. The method for data collection and reporting for a power collection system of claim 1, wherein: in step 2.2), the data content of the first-level cache includes: raw data + data length, data length leading, received raw data following, and level one cache as a high speed content memory.
7. The method of claim 6, wherein the method comprises: in step 2.2), the concentrator second task comprises the following steps:
2.2.1) starting data interception;
2.2.2) judging whether data input from the collector exists or not, and if so, entering the next step;
2.2.3) add data to the level one cache.
8. The method for data collection and reporting for a power collection system of claim 1, wherein: in step 2.3), the third task of the concentrator comprises the following steps:
2.3.1) data extraction: the third task of the concentrator is responsible for extracting the data in the first-level cache; after one period is finished, continuing to read the cache;
2.3.2) data processing: the third task of the concentrator is responsible for analyzing the data in the first-level cache, judging the validity of the data, and directly throwing away unqualified data; execution continues as long as the data is legitimate;
2.3.3) filtering the repeated data.
9. The method of claim 8, wherein the method comprises: in step 2.3), further comprising step 2.3.4) depth management: managing the data depth, reserving four identifications such as storage time, maximum depth limit value, current storage position, rolling operation position and the like for each piece of data, and putting the four identifications into an internal storage module of the concentrator.
10. The method for data collection and reporting for a power collection system of claim 1, wherein: in step 2.4), the concentrator fourth task comprises the following steps:
2.4.1) data retrieval: the concentrator fourth task retrieves data from the internal storage module;
2.4.2) the fourth task of the concentrator is responsible for analyzing all data in the previous day into file formats and storing the file formats in a memory inside the concentrator, wherein the stored data correspond to data IDs one by one and are matched in a data ID table and bit operation mode;
2.4.3) compressing the report to the master station; after the data retrieval of one electric meter is finished, the data is analyzed into a protocol standard format and is compressed and reported to the master station.
CN202010896425.0A 2020-08-31 2020-08-31 Method for collecting and reporting real-time data of power collection system Pending CN112116802A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010896425.0A CN112116802A (en) 2020-08-31 2020-08-31 Method for collecting and reporting real-time data of power collection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010896425.0A CN112116802A (en) 2020-08-31 2020-08-31 Method for collecting and reporting real-time data of power collection system

Publications (1)

Publication Number Publication Date
CN112116802A true CN112116802A (en) 2020-12-22

Family

ID=73804968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010896425.0A Pending CN112116802A (en) 2020-08-31 2020-08-31 Method for collecting and reporting real-time data of power collection system

Country Status (1)

Country Link
CN (1) CN112116802A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113034884A (en) * 2020-12-28 2021-06-25 国家电网有限公司 Electric power data acquisition method based on HPLC

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090102681A1 (en) * 2006-06-05 2009-04-23 Neptune Technology Group, Inc. Fixed network for an automatic utility meter reading system
CN101615338A (en) * 2009-07-23 2009-12-30 宁波三星电气股份有限公司 The electric data transmission method of long-distance meter-reading system
CN103997760A (en) * 2014-06-03 2014-08-20 洛阳愿景科技有限公司 Data packing and collecting method for user electricity information collecting system
CN104008638A (en) * 2014-06-06 2014-08-27 杭州燃网智能科技有限公司 Image pick-up and meter reading system for gas metering based on internet of things and meter reading method
KR20140104219A (en) * 2013-02-20 2014-08-28 주식회사 레오테크 Installation state checking, read and maintenance method of remote meter rerading system using smart device and installer dongle
CN105321332A (en) * 2015-10-31 2016-02-10 国网安徽省电力公司六安供电公司 Attribution debugging system for electricity consumption information collector and concentrator in transformer area and debugging method
CN106327832A (en) * 2016-08-31 2017-01-11 成都前锋电子仪器有限责任公司 Real-time meter reading method adopting wireless concentrator
CN106383693A (en) * 2016-08-30 2017-02-08 武汉阿迪克电子股份有限公司 Intelligent concentrator and data processing method taking measurement point as tag
CN106781391A (en) * 2016-12-29 2017-05-31 天津铁研智能技术有限公司 A kind of remote wireless meter recording and transmission method
CN106875662A (en) * 2017-04-07 2017-06-20 广东电网有限责任公司电力科学研究院 A kind of data acquisition for electric energy method and device
CN109656913A (en) * 2018-12-20 2019-04-19 江苏昂内斯电力科技股份有限公司 Data acquisition abnormity based on Internet of Things mends trick method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090102681A1 (en) * 2006-06-05 2009-04-23 Neptune Technology Group, Inc. Fixed network for an automatic utility meter reading system
CN101615338A (en) * 2009-07-23 2009-12-30 宁波三星电气股份有限公司 The electric data transmission method of long-distance meter-reading system
KR20140104219A (en) * 2013-02-20 2014-08-28 주식회사 레오테크 Installation state checking, read and maintenance method of remote meter rerading system using smart device and installer dongle
CN103997760A (en) * 2014-06-03 2014-08-20 洛阳愿景科技有限公司 Data packing and collecting method for user electricity information collecting system
CN104008638A (en) * 2014-06-06 2014-08-27 杭州燃网智能科技有限公司 Image pick-up and meter reading system for gas metering based on internet of things and meter reading method
CN105321332A (en) * 2015-10-31 2016-02-10 国网安徽省电力公司六安供电公司 Attribution debugging system for electricity consumption information collector and concentrator in transformer area and debugging method
CN106383693A (en) * 2016-08-30 2017-02-08 武汉阿迪克电子股份有限公司 Intelligent concentrator and data processing method taking measurement point as tag
CN106327832A (en) * 2016-08-31 2017-01-11 成都前锋电子仪器有限责任公司 Real-time meter reading method adopting wireless concentrator
CN106781391A (en) * 2016-12-29 2017-05-31 天津铁研智能技术有限公司 A kind of remote wireless meter recording and transmission method
CN106875662A (en) * 2017-04-07 2017-06-20 广东电网有限责任公司电力科学研究院 A kind of data acquisition for electric energy method and device
CN109656913A (en) * 2018-12-20 2019-04-19 江苏昂内斯电力科技股份有限公司 Data acquisition abnormity based on Internet of Things mends trick method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113034884A (en) * 2020-12-28 2021-06-25 国家电网有限公司 Electric power data acquisition method based on HPLC

Similar Documents

Publication Publication Date Title
CN110943450B (en) Platform area automatic topology line loss analysis method based on Internet of things
CN110212518B (en) Method for identifying distribution area and computer readable storage medium
CN112235250B (en) Method and system for acquiring data of distribution room in minute-level same frequency
CN111446988A (en) Low-voltage transformer area line-changing user topology identification edge calculation method based on HP L C carrier communication
CN101883014B (en) Method and system for acquiring performance statistical data
CN105718748A (en) Online monitoring data processing method
CN112235249B (en) District data minute-level common-frequency acquisition method and system based on II-type concentrator
CN112116802A (en) Method for collecting and reporting real-time data of power collection system
CN111768607A (en) Multi-table counting data acquisition method, device, equipment and medium
CN115940429A (en) Data acquisition and line loss analysis method based on broadband carrier
CN102404760A (en) Method and device for real-time measurement of system performance
CN102082677B (en) Alarm information processing method, device and system
CN109963292B (en) Complaint prediction method, complaint prediction device, electronic apparatus, and storage medium
CN112308731A (en) Cloud computing method and system for multitask concurrent processing of acquisition system
CN116600329A (en) Message error identification code delimitation method and device
CN101631330B (en) Method and device for collecting and processing performance data
CN104835313A (en) Electricity consumption information acquisition device data transmission performance analysis method
CN115037421A (en) Remote monitoring method, device and system for electricity consumption information acquisition equipment
CN109189791B (en) Electric quantity data acquisition and processing method suitable for ammeter to move easily
CN107395460B (en) Stability detection method of terminal, and statistical method and system of terminal heartbeat frequency
CN111145037A (en) Big data analysis system
CN117665476B (en) Processing system for analyzing line loss faults of transformer area
CN110297145B (en) Voltage sag detection method based on multi-user electric energy data deep analysis
CN114158029A (en) Power acquisition terminal network flow monitoring method based on big data analysis
CN102076011A (en) Measurement information acquiring method and device

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