CN104035882A - Method for reading and storing imported electric energy meter data by adopting small-memory power concentrator - Google Patents

Method for reading and storing imported electric energy meter data by adopting small-memory power concentrator Download PDF

Info

Publication number
CN104035882A
CN104035882A CN201410278744.XA CN201410278744A CN104035882A CN 104035882 A CN104035882 A CN 104035882A CN 201410278744 A CN201410278744 A CN 201410278744A CN 104035882 A CN104035882 A CN 104035882A
Authority
CN
China
Prior art keywords
data
measurement point
index area
electric energy
energy meter
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
CN201410278744.XA
Other languages
Chinese (zh)
Other versions
CN104035882B (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 Electric Power Research Institute Co Ltd CEPRI
Ningbo Sanxing Electric Co Ltd
Original Assignee
China Electric Power Research Institute Co Ltd CEPRI
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 China Electric Power Research Institute Co Ltd CEPRI, Ningbo Sanxing Electric Co Ltd filed Critical China Electric Power Research Institute Co Ltd CEPRI
Priority to CN201410278744.XA priority Critical patent/CN104035882B/en
Publication of CN104035882A publication Critical patent/CN104035882A/en
Application granted granted Critical
Publication of CN104035882B publication Critical patent/CN104035882B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the field of power systems, in particular to a method for reading and storing imported electric energy meter data by adopting a small-memory power concentrator. The method includes eight steps. By adopting the method, the small-memory power concentrator can be well used for reading and storing the imported electric energy meter data.

Description

A kind of power concentrator copy reading of little internal memory and method of storage import electric energy meter data of adopting
Technical field
The present invention relates to field of power, relate in particular to a kind of power concentrator copy reading of little internal memory and method of storage import electric energy meter data of adopting.
Background technology
Power concentrator be by 485 or carrier communication the measuring apparatus of moving in various electrical networks is carried out to the equipment of data acquisition, and possess GPRS or optical fiber uploading channel returns data upload to main station system.Electric power acquisition has substituted craft in China most areas and has checked meter.But owing to there are a lot of import electric energy meters (Elst, Charles Rangel etc.) in China's electrical network at present, these electric energy meters have communication protocol separately, and the interactive mode of these stipulations is all generally disposable mutual all continuous datas.Want this electric energy meter of copy reading conventionally need to consume a large amount of internal memories and remove to preserve ephemeral data, and power equipment Market competition, because the needs of cost, so power concentrator can only be equipped less internal memory conventionally for guaranteeing substantially can gather the ammeter of domestic stipulations, but this little internal memory power concentrator does not have good method to the copy reading of import table and storage.
Summary of the invention
Technical matters to be solved by this invention is: a kind of power concentrator copy reading of little internal memory and method of storage import electric energy meter data of adopting is provided, adopt in this way, the power concentrator of little internal memory just can well copy reading with the data of storage import electric energy meter.
The technical solution adopted in the present invention is: a kind of power concentrator copy reading of little internal memory and method of storage import electric energy meter data of adopting, described power concentrator comprises flash memory and random access memory, and in described flash memory, be provided with for storing the global storage district of all measurement point data and for the Data Identification mapping table of data-switching, it comprises the following steps:
(1) when, power concentrator starts first, in the flash memory of power concentrator, set up in addition Yi Ge separate, stored district, and in described memory block, be provided with measurement point index area, Data Identification index area and data field, and described measurement point index area, Data Identification index area and data field are corresponding successively;
(2), after power concentrator starts, according to the task of checking meter, carry out the copy reading of various electric energy meters,, when copy reading is during to the measurement point of import electric energy meter type, this measurement point and import table sign are deposited in the measurement point index area in separate, stored district;
(3), then the Data Identification of this measurement point is deposited into corresponding Data Identification index area, the Data Identification index area of described correspondence refers to, Data Identification index area corresponding to measurement point index area that this measurement point deposits in;
(4), again the data of this measurement point are deposited into corresponding data field, the data field of described correspondence refers to, data field corresponding to Data Identification index area that the Data Identification of this measurement point deposits in,
And when the data of originally depositing in reading corresponding data field and the data consistent that need to deposit in, directly carry out depositing in of next data, if it is inconsistent with the data that need to deposit in to read the data of originally depositing in corresponding data field, the data that deposit in, then carry out depositing in of next data;
(5), after all data of this measurement point all deposit separate, stored district in, according to this measurement point, find the position of the measurement point index area at this measurement point place, according to the position of the measurement point index area at this measurement point place, find the Data Identification of this measurement point in the position of Data Identification index area again, finally according to the position of Data Identification index area, find the position of data field of the data storage of this measurement point;
(6), then according to the import table sign in measurement point index area and the Data Identification mapping table being arranged in flash memory, find corresponding data layout;
(7) data of this measurement point that the corresponding data form, finding according to step (6) again finds step (5) are converted into the data layout of actual needs;
(8), finally deposit the data after transforming in global storage district appointed area, and then jump to step (2) and proceed copy reading according to the task of checking meter.
Adopt above method compared with prior art, the present invention has the following advantages: because the random access memory (RAM) in power concentrator is just equivalent to the internal memory in computer, flash memory in power concentrator (FLASH) is just equivalent to the hard disk in computer, and random access memory is to need transmission speed faster, so cost is higher, so for cost consideration generally do less, only have even several K of tens K, generally not enough, and flash memory is a large amount of measurement point information of storage, so itself be enough large, and first the application by depositing the disposable mutual mass data of import electric energy meter in the Yi Kuai separate, stored district that again opens up out in flash memory, then corresponding stored is good, and then the data that these are stored are carried out corresponding data conversion, store into more afterwards in the global storage district storing for measurement point data in flash memory, copy reading and the storage of an import electric energy meter have so just been completed, and do not need mass data to store in random access memory, greatly reduce the load of random access memory, make the power concentrator that random access memory is less also can copy reading and storage import electric energy meter, and because the read-write of flash memory has number of times restriction, so when reading the data of changing data field, if data are identical, do not do change and can better reduce read-write number of times, increased the serviceable life of flash memory.
As preferably, the separate, stored district in described step (1) can store for the measurement point data of N import electric energy meter type, can automatically cover the data of first measurement point when the data of N+1 measurement point deposit in.Flash memory is set so does not just need to divide very large capacity to separate, stored district, does not need to increase the capacity of flash memory, can in the situation that not increasing hardware cost, realize the object that the present invention will reach like this.
Embodiment
Below in conjunction with embodiment, the present invention is described further, but the present invention is not limited only to following embodiment.
A kind of power concentrator copy reading of little internal memory and method of storage import electric energy meter data of adopting, described power concentrator comprises flash memory and random access memory, and in described flash memory, be provided with for storing the global storage district of all measurement point data and for the Data Identification mapping table of data-switching, it comprises the following steps:
(1) when, power concentrator starts first, in the flash memory of power concentrator, set up in addition Yi Ge separate, stored district, and in described memory block, be provided with measurement point index area, Data Identification index area and data field, and described measurement point index area, Data Identification index area and data field are corresponding successively;
(2), after power concentrator starts, according to the task of checking meter, carry out the copy reading of various electric energy meters,, when copy reading is during to the measurement point of import electric energy meter type, this measurement point and import table sign are deposited in the measurement point index area in separate, stored district;
(3), then the Data Identification of this measurement point is deposited into corresponding Data Identification index area, the Data Identification index area of described correspondence refers to, Data Identification index area corresponding to measurement point index area that this measurement point deposits in;
(4), again the data of this measurement point are deposited into corresponding data field, the data field of described correspondence refers to, data field corresponding to Data Identification index area that the Data Identification of this measurement point deposits in,
And when the data of originally depositing in reading corresponding data field and the data consistent that need to deposit in, directly carry out depositing in of next data, if it is inconsistent with the data that need to deposit in to read the data of originally depositing in corresponding data field, the data that deposit in, then carry out depositing in of next data;
(5), after all data of this measurement point all deposit separate, stored district in, according to this measurement point, find the position of the measurement point index area at this measurement point place, according to the position of the measurement point index area at this measurement point place, find the Data Identification of this measurement point in the position of Data Identification index area again, finally according to the position of Data Identification index area, find the position of data field of the data storage of this measurement point;
(6), then according to the import table sign in measurement point index area and the Data Identification mapping table being arranged in flash memory, find corresponding data layout;
(7) data of this measurement point that the corresponding data form, finding according to step (6) again finds step (5) are converted into the data layout of actual needs;
(8), finally deposit the data after transforming in global storage district appointed area, and then jump to step (2) and proceed copy reading according to the task of checking meter.
Separate, stored district in described step (1) can, for the measurement point data storage of N import electric energy meter type, can automatically cover the data of first measurement point when the data of N+1 measurement point deposit in.
Described electricity meter-reading device is always at copy reading electric energy meter, only have and just can adopt method of the present invention during to import electric energy meter when copy reading, and during the common domestic electric energy meter of copy reading, because data are returned one by one and are returned, the random access memory of so little internal memory can be competent at this work completely, do not need to adopt method of the present invention
When import electric energy meter is arrived in copy reading, first exactly the sign of measurement point corresponding to this import electric energy meter and this import electric energy meter to be deposited in flash memory and divide in addition in the measurement point index area in separate, stored district out, this measurement point can be a numerical coding, can be also the numerical coding with alpha code; Then the Data Identification of this import electric energy meter is deposited into corresponding Data Identification index area, whether this also needs first to read in original Data Identification index area meaningful and whether this content is consistent with the content that need to write, if inconsistent, with the Data Identification of the import electric energy meter that need to write, cover original content, if unanimously do not make an amendment, described Data Identification is the information such as electric current, voltage; And then all data based Data Identification that in this import electric energy meter, disposable copy reading is come is deposited in corresponding data field, and also to first read in original data field, whether have data and this content whether consistent with the data that need to write, if the inconsistent original data of data cover of using the import electric energy meter that need to write, if unanimously do not make an amendment.Be equivalent to so the whole copy readings of the data of import electric energy meter come, but also need to carry out data processing and last storage, first need to find according to measuring period the raw data that is just now stored in separate, stored district, and then from Data Identification mapping table, find according to import electric energy meter sign the data layout needing, and then these raw data are converted into needed data, again the data that transformed are deposited into afterwards to the position of corresponding this measurement point in global storage district, now power concentrator has completed the copy reading of an import electric energy meter, when copy reading is during to the N+1 time, because can only store the data message of N measurement point in separate, stored district, now can cover the data of the measurement point depositing in for the 1st time.

Claims (2)

1. one kind adopts the power concentrator copy reading of little internal memory and the method for storage import electric energy meter data, described power concentrator comprises flash memory and random access memory, and in described flash memory, be provided with for storing the global storage district of all measurement point data and for the Data Identification mapping table of data-switching, it is characterized in that: it comprises the following steps:
(1) when, power concentrator starts first, in the flash memory of power concentrator, set up in addition Yi Ge separate, stored district, and in described memory block, be provided with measurement point index area, Data Identification index area and data field, and described measurement point index area, Data Identification index area and data field are corresponding successively;
(2), after power concentrator starts, according to the task of checking meter, carry out the copy reading of various electric energy meters,, when copy reading is during to the measurement point of import electric energy meter type, this measurement point and import table sign are deposited in the measurement point index area in separate, stored district;
(3), then the Data Identification of this measurement point is deposited into corresponding Data Identification index area, the Data Identification index area of described correspondence refers to, Data Identification index area corresponding to measurement point index area that this measurement point deposits in;
(4), again the data of this measurement point are deposited into corresponding data field, the data field of described correspondence refers to, data field corresponding to Data Identification index area that the Data Identification of this measurement point deposits in,
And when the data of originally depositing in reading corresponding data field and the data consistent that need to deposit in, directly carry out depositing in of next data, if it is inconsistent with the data that need to deposit in to read the data of originally depositing in corresponding data field, the data that deposit in, then carry out depositing in of next data;
(5), after all data of this measurement point all deposit separate, stored district in, according to this measurement point, find the position of the measurement point index area at this measurement point place, according to the position of the measurement point index area at this measurement point place, find the Data Identification of this measurement point in the position of Data Identification index area again, finally according to the position of Data Identification index area, find the position of data field of the data storage of this measurement point;
(6), then according to the import table sign in measurement point index area and the Data Identification mapping table being arranged in flash memory, find corresponding data layout;
(7) data of this measurement point that the corresponding data form, finding according to step (6) again finds step (5) are converted into the data layout of actual needs;
(8), finally deposit the data after transforming in global storage district appointed area, and then jump to step (2) and proceed copy reading according to the task of checking meter.
2. a kind of power concentrator copy reading and the method for storing import electric energy meter data that adopts little internal memory according to claim 1, it is characterized in that: the separate, stored district in described step (1) can, for the measurement point data storage of N import electric energy meter type, can automatically cover the data of first measurement point when the data of N+1 measurement point deposit in.
CN201410278744.XA 2014-06-21 2014-06-21 A kind of power concentrator copy reading using little internal memory and the method for storage import electric energy meter data Active CN104035882B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410278744.XA CN104035882B (en) 2014-06-21 2014-06-21 A kind of power concentrator copy reading using little internal memory and the method for storage import electric energy meter data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410278744.XA CN104035882B (en) 2014-06-21 2014-06-21 A kind of power concentrator copy reading using little internal memory and the method for storage import electric energy meter data

Publications (2)

Publication Number Publication Date
CN104035882A true CN104035882A (en) 2014-09-10
CN104035882B CN104035882B (en) 2017-01-04

Family

ID=51466654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410278744.XA Active CN104035882B (en) 2014-06-21 2014-06-21 A kind of power concentrator copy reading using little internal memory and the method for storage import electric energy meter data

Country Status (1)

Country Link
CN (1) CN104035882B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778203A (en) * 2015-02-10 2015-07-15 武汉阿迪克电子股份有限公司 Load record blocked index storage and inquiry method in cost controlled intelligent electric energy meter
CN105334383A (en) * 2015-10-21 2016-02-17 宁波三星医疗电气股份有限公司 Electric quantity data storage method for electric energy meter
CN105652051A (en) * 2015-12-30 2016-06-08 深圳市科陆电子科技股份有限公司 Method for rapidly resetting data of electric energy meter
CN110134323A (en) * 2018-02-02 2019-08-16 河南许继仪表有限公司 A kind of FLASH memory

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1351350A (en) * 2000-10-27 2002-05-29 岳京星 Method for partitioning memory block and identifying R/W information in flash memory
CN101154312A (en) * 2006-09-29 2008-04-02 华立仪表集团股份有限公司 Automatic meter reading system based on ZigBee technology
KR100980289B1 (en) * 2009-12-09 2010-09-06 (주)이노비드 Automatic meter reading system equipped dlms using binary cdma technology
CN102014118A (en) * 2010-08-13 2011-04-13 深圳市科陆电子科技股份有限公司 Method for reading multiple electric energy meters generally

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1351350A (en) * 2000-10-27 2002-05-29 岳京星 Method for partitioning memory block and identifying R/W information in flash memory
CN101154312A (en) * 2006-09-29 2008-04-02 华立仪表集团股份有限公司 Automatic meter reading system based on ZigBee technology
KR100980289B1 (en) * 2009-12-09 2010-09-06 (주)이노비드 Automatic meter reading system equipped dlms using binary cdma technology
CN102014118A (en) * 2010-08-13 2011-04-13 深圳市科陆电子科技股份有限公司 Method for reading multiple electric energy meters generally

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778203A (en) * 2015-02-10 2015-07-15 武汉阿迪克电子股份有限公司 Load record blocked index storage and inquiry method in cost controlled intelligent electric energy meter
CN104778203B (en) * 2015-02-10 2017-12-15 武汉阿迪克电子股份有限公司 Take the storage of load record block index and querying method in control intelligent electric energy meter
CN105334383A (en) * 2015-10-21 2016-02-17 宁波三星医疗电气股份有限公司 Electric quantity data storage method for electric energy meter
CN105652051A (en) * 2015-12-30 2016-06-08 深圳市科陆电子科技股份有限公司 Method for rapidly resetting data of electric energy meter
CN110134323A (en) * 2018-02-02 2019-08-16 河南许继仪表有限公司 A kind of FLASH memory

Also Published As

Publication number Publication date
CN104035882B (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN102214228B (en) Large-grid distributed real-time database system and data management method thereof
CN102750406B (en) Multi-version management method for model set and difference model-based power grid model
CN104035882A (en) Method for reading and storing imported electric energy meter data by adopting small-memory power concentrator
CN107730394A (en) The polynary isomeric data fusion method of panorama power network based on big data
CN102254024A (en) Mass data processing system and method
CN202615415U (en) Full lifecycle management system of electric automobile power cell and based on Internet of Things
CN107909512A (en) A kind of equipment operating data matching of combination power system operating mode and extended method
CN107784098A (en) Real-time data warehouse platform
CN103955510A (en) Massive electricity marketing data integration method uploaded by ETL cloud platform
CN108595523A (en) device data retrieval model construction method, device and computer equipment
CN104035956A (en) Time-series data storage method based on distributive column storage
CN201859537U (en) Multifunctional bandwidth power carrier concentrator
CN109772753B (en) Power battery sorting system and method
CN102253269A (en) Integrated processing system for real-time data of electric power based on cloud computing and designing method
CN104166627B (en) A kind of SCM Based NAND FLASH write operation methods
CN109086331B (en) Method and device for updating data of main network and distribution network and computer readable storage medium
CN103226794A (en) Data processing method of power transmission and distribution line
CN111124313A (en) Data reading and writing method and device for power acquisition terminal and electronic equipment
CN103078946A (en) Mass real-time data distributing method and mass real-time data access method
CN104077395A (en) Method for equivalently simplifying and regenerating memory bank indexes for electrical power system
CN107016066A (en) Measuring point matching process and device in a kind of electric network model modeling process
CN109959842A (en) A kind of method, apparatus and distribution terminal of fault detection
CN111859585B (en) Transmission and distribution cooperative equipment bearing capacity calculation method and system
CN105224471B (en) The method of power information acquisition terminal storage data based on built-in Linux
CN103605759A (en) Power grid history state data sharing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 315191 Yinzhou Industrial Park, Zhejiang, Ningbo, Yinzhou District, Ningbo

Applicant after: NINGBO SANXING MEDICAL ELECTRIC CO., LTD.

Applicant after: China Electric Power Research Institute

Address before: 315131, AUX Industrial Park, Mingguang North Road, Jiangshan Town, Ningbo, Yinzhou District, Zhejiang 1166, China

Applicant before: Ningbo Sanxing Electric Co., Ltd.

Applicant before: China Electric Power Research Institute

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant