CN105652051A - Method for rapidly resetting data of electric energy meter - Google Patents
Method for rapidly resetting data of electric energy meter Download PDFInfo
- Publication number
- CN105652051A CN105652051A CN201511025955.3A CN201511025955A CN105652051A CN 105652051 A CN105652051 A CN 105652051A CN 201511025955 A CN201511025955 A CN 201511025955A CN 105652051 A CN105652051 A CN 105652051A
- Authority
- CN
- China
- Prior art keywords
- data
- electric energy
- energy table
- table data
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R11/00—Electromechanical arrangements for measuring time integral of electric power or current, e.g. of consumption
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/06—Auxiliary circuits, e.g. for writing into memory
- G11C16/10—Programming or data input circuits
- G11C16/20—Initialising; Data preset; Chip identification
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Read Only Memory (AREA)
Abstract
The invention relates to a method for rapidly resetting data of an electric energy meter. The method comprises the following steps: setting a corresponding index for data of the electric energy meter, wherein the index comprises an index number and a space counter; when the data of the electric energy meter is increased, correspondingly increasing the index number and the space counter; when the data of the electric energy meter needs to be reset, carrying out zero-return operation on the index number and the space counter. Through the method for rapidly resetting the data of the electric energy meter, the data does not need to return to zero; and only the index needs to return to zero, so that the resetting speed of the electric energy meter can be greatly improved; and the work efficiency is improved.
Description
[technical field]
The present invention relates to a kind of method that electric energy table data reset fast.
[background technology]
Intelligent electric energy meter data are divided into several big class: load curve data, electric quantity data, requirement data, event log data, freezing data, statistic data and other data, and these data are stored in storage chip DATAFLASH chip AT45DB161 and eeprom chip AT24C512. It is intelligent electric energy meter extremely important function that ammeter resets, and needs to be carried out by ammeter ammeter and remove relevant data and reach factory state in production process. The way that existing ammeter resets is stored in EEPROM by electric quantity data, requirement data, event log data, freezing data, statistic data and other data, probably there are 200Kbyte data, other data have a few about Kbyte, Various types of data is continuous print in the distribution of storer, when ammeter resets, needing EEPROM each byte of these data is write 0 operation, such clearing time is then very long.
For above problem, it is desirable to provide a kind of method that intelligent electric meter is reset fast.
[summary of the invention]
The present invention provides a kind of method that intelligent electric energy meter data reset fast, substantially reduces the time that intelligent electric energy meter resets, it is to increase efficiency.
For solving the problems of the technologies described above, the present invention provides following technical scheme:
The method that electric energy table data reset fast, comprising: for described electric energy table data arrange corresponding index; When electric energy table data increase, the corresponding increase of index; When needs are to electric energy table zeros data, zero operation is write in described index.
Preferably, described index comprises call number and space counter.
Preferably, described when electric energy table data increase, the corresponding increase of call number, space counter is corresponding increase also.
Preferably, when electric energy table storage number of times reaches maximum storage times, call number assignment is zero, and space counter is then maximum value.
Preferably, when needs are to electric energy table zeros data, call number and space counter are all set to zero.
Preferably, described electric energy table data comprise load curve data, electric quantity data, requirement data, event log data, freezing data, statistic data.
Preferably, described electric energy table data are stored in storage chip Dataflash and EEPROM.
The useful effect of the present invention is, compared to prior art, it is not necessary to all data are write zero, it is only necessary to call number and space counter to this file write 0, thus can greatly accelerate the speed that electric energy table resets. After using above-mentioned intelligent electric energy meter data clearing method fast, improve production efficiency, decrease the waiting time that client is unnecessary, in addition must carry out under power-up state owing to electric energy table resets, if power-off in clearing process, can cause to reset and interrupt, it is possible to produce the data that cannot estimate chaotic, adopt ammeter fast the method for resetting can reduce the probability that ammeter data affects by unexpected power-off.
[accompanying drawing explanation]
Fig. 1 is that one provided by the invention is based on low power-consumption intelligent watch endowment system configuration diagram.
[embodiment]
In order to make the object of the present invention, technical scheme and advantage clearly understand, below in conjunction with embodiment, the present invention is further elaborated. It is to be understood that specific embodiment described herein is only in order to explain the present invention, it is not intended to limit the present invention.
It should be noted that, intelligent electric energy meter data are divided into several big class: load curve data, electric quantity data, requirement data, event log data, freezing data, statistic data and other data, above-mentioned data are stored in storage chip Dataflash (Large Copacity serial Flash storer product) and EEPROM (ElectricallyErasableProgrammableRead-OnlyMemory, electric erazable programmable read-only storage), EEPROM belong to a kind of fall the storage chip do not lost of data after electricity.
Above-mentioned data are that circulation stores at storage chip, and the data that every class stores both increase corresponding index. Described index includes call number and space counter, and the storage file form of described call number and space counter is as follows:
Ammeter data is made up of above-mentioned tens files. Described index includes call number (i.e. Index in storage file) and space counter (i.e. SpaceCnt in storage file), the recording interval of call number Index and space counter SpaceCnt to maximum storage numerical value (i.e. TimeNum in storage file), have recorded call number and space counter from 0 in described storage chip.
The initialize value of call number and space counter is 0, when certain class data needs record, call number adds 1, add 1 with time space counter, when the storage number of times of certain class data reaches maximum storage times, call number again assignment be 0, space counter then always assignment be maximum storage numerical value and TimeNum. Therefore just can be found out the corresponding address of corresponding stored data by the value of call number and space counter, thus find the data of needs. Only several of the index data that every class data are corresponding or tens bytes, when ammeter data removed by needs, it is only necessary to call number and space counter to this file write 0, thus can accelerate the speed that electric energy table resets greatly.
After using above-mentioned intelligent electric energy meter data clearing method fast, improve production efficiency, decrease the waiting time that client is unnecessary, in addition must carry out under power-up state owing to electric energy table resets, if power-off in clearing process, can cause to reset and interrupt, it is possible to produce the data that cannot estimate chaotic, adopt ammeter fast the method for resetting can reduce the probability that ammeter data affects by unexpected power-off.
The foregoing is only the better embodiment of the present invention, not in order to limit the present invention, all any amendment, equivalent replacement and improvement etc. done within the spirit and principles in the present invention, all should be included within protection scope of the present invention.
Claims (7)
1. the method that electric energy table data reset fast, it is characterised in that, comprising:
For described electric energy table data arrange corresponding index;
When electric energy table data increase, the corresponding increase of index;
When needs are to electric energy table zeros data, zero operation is write in described index.
2. the method that electric energy table data as claimed in claim 1 reset fast, it is characterised in that, described index comprises call number and space counter.
3. the method that electric energy table data as claimed in claim 2 reset fast, it is characterised in that, described when electric energy table data increase, the corresponding increase of call number, space counter is corresponding increase also.
4. the method that electric energy table data as claimed in claim 3 reset fast, it is characterised in that, when electric energy table storage number of times reaches maximum storage times, call number assignment is zero, and space counter is then maximum value.
5. the method that electric energy table data as claimed in claim 1 reset fast, it is characterised in that, when needs are to electric energy table zeros data, call number and space counter are all set to zero.
6. the method that electric energy table data as claimed in claim 1 reset fast, it is characterised in that, described electric energy table data comprise load curve data, electric quantity data, requirement data, event log data, freezing data, statistic data.
7. the method that electric energy table data as claimed in claim 6 reset fast, it is characterised in that, described electric energy table data are stored in storage chip Dataflash and EEPROM.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511025955.3A CN105652051A (en) | 2015-12-30 | 2015-12-30 | Method for rapidly resetting data of electric energy meter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511025955.3A CN105652051A (en) | 2015-12-30 | 2015-12-30 | Method for rapidly resetting data of electric energy meter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105652051A true CN105652051A (en) | 2016-06-08 |
Family
ID=56490904
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511025955.3A Pending CN105652051A (en) | 2015-12-30 | 2015-12-30 | Method for rapidly resetting data of electric energy meter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105652051A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116108022A (en) * | 2023-04-12 | 2023-05-12 | 石家庄科林电气股份有限公司 | Electric energy meter data storage method, device, terminal and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101858966A (en) * | 2010-05-10 | 2010-10-13 | 珠海市科荟电器有限公司 | Simulation detection system of electric energy meter data acquisition device |
WO2011074925A2 (en) * | 2009-12-18 | 2011-06-23 | 에스케이 텔레콤주식회사 | Demand response system and method using a smart portal |
CN104035882A (en) * | 2014-06-21 | 2014-09-10 | 宁波三星电气股份有限公司 | Method for reading and storing imported electric energy meter data by adopting small-memory power concentrator |
CN104077395A (en) * | 2014-07-01 | 2014-10-01 | 贵州电网公司信息通信分公司 | Method for equivalently simplifying and regenerating memory bank indexes for electrical power system |
CN104268178A (en) * | 2014-09-16 | 2015-01-07 | 积成电子股份有限公司 | Electric energy database writing method for power consumer electricity utilization information acquisition system |
CN104778203A (en) * | 2015-02-10 | 2015-07-15 | 武汉阿迪克电子股份有限公司 | Load record blocked index storage and inquiry method in cost controlled intelligent electric energy meter |
-
2015
- 2015-12-30 CN CN201511025955.3A patent/CN105652051A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011074925A2 (en) * | 2009-12-18 | 2011-06-23 | 에스케이 텔레콤주식회사 | Demand response system and method using a smart portal |
CN101858966A (en) * | 2010-05-10 | 2010-10-13 | 珠海市科荟电器有限公司 | Simulation detection system of electric energy meter data acquisition device |
CN104035882A (en) * | 2014-06-21 | 2014-09-10 | 宁波三星电气股份有限公司 | Method for reading and storing imported electric energy meter data by adopting small-memory power concentrator |
CN104077395A (en) * | 2014-07-01 | 2014-10-01 | 贵州电网公司信息通信分公司 | Method for equivalently simplifying and regenerating memory bank indexes for electrical power system |
CN104268178A (en) * | 2014-09-16 | 2015-01-07 | 积成电子股份有限公司 | Electric energy database writing method for power consumer electricity utilization information acquisition system |
CN104778203A (en) * | 2015-02-10 | 2015-07-15 | 武汉阿迪克电子股份有限公司 | Load record blocked index storage and inquiry method in cost controlled intelligent electric energy meter |
Non-Patent Citations (2)
Title |
---|
丁毓山: "《电子式电能表与抄表系统》", 31 May 2005 * |
杨立 等: "《微型计算机原理与接口技术》", 31 August 2009 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116108022A (en) * | 2023-04-12 | 2023-05-12 | 石家庄科林电气股份有限公司 | Electric energy meter data storage method, device, terminal and storage medium |
CN116108022B (en) * | 2023-04-12 | 2023-06-13 | 石家庄科林电气股份有限公司 | Electric energy meter data storage method, device, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107870981A (en) | Electronic installation, the method and storage medium of tables of data filing processing | |
CN102426544A (en) | Task allocating method and system | |
CN104346264A (en) | System and method for processing system event logs | |
CN111813805A (en) | Data processing method and device | |
CN103559301A (en) | Method of data update, database trigger and SE (search engine) | |
CN103995855A (en) | Method and device for storing data | |
CN103020545B (en) | A kind of excess temperature protection method based on Loongson processor | |
CN104731799A (en) | Memory database management device | |
CN104077420A (en) | Method and device for importing data into HBase database | |
CN101499313B (en) | Method, equipment and memory system for guaranteeing data security | |
CN103218416A (en) | Method, device and system for loading database | |
CN102915344B (en) | SQL (structured query language) statement processing method and device | |
CN105574032A (en) | Rule matching operation method and device | |
CN104461737A (en) | Memory management method and device thereof | |
CN105243027A (en) | Method for storing data in storage device and memory controller | |
CN111008183B (en) | Storage method and system for business wind control log data | |
CN108399175B (en) | Data storage and query method and device | |
CN105224418A (en) | A kind of data back up method and device | |
CN102937956A (en) | Method and device for storing real-time messages in intelligent substation | |
US9575540B1 (en) | Power consumption management device, system and method thereof | |
CN105652051A (en) | Method for rapidly resetting data of electric energy meter | |
CN105260140A (en) | Disk size monitoring method and apparatus | |
CN103678041A (en) | Incremental backup method and system | |
CN104317735A (en) | High-capacity cache and method for data storage and readout as well as memory allocation and recovery | |
CN109062515A (en) | A kind of disk management method, system and associated component |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160608 |