CN114356792A - Electric energy meter frozen data storage method based on FLASH pre-erasing technology and electric energy meter - Google Patents

Electric energy meter frozen data storage method based on FLASH pre-erasing technology and electric energy meter Download PDF

Info

Publication number
CN114356792A
CN114356792A CN202111369103.1A CN202111369103A CN114356792A CN 114356792 A CN114356792 A CN 114356792A CN 202111369103 A CN202111369103 A CN 202111369103A CN 114356792 A CN114356792 A CN 114356792A
Authority
CN
China
Prior art keywords
frozen
erasing
electric energy
energy meter
sector
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
CN202111369103.1A
Other languages
Chinese (zh)
Other versions
CN114356792B (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.)
Nari Sanneng Power Meter Nanjing Co ltd
Original Assignee
Nari Sanneng Power Meter Nanjing 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 Nari Sanneng Power Meter Nanjing Co ltd filed Critical Nari Sanneng Power Meter Nanjing Co ltd
Priority to CN202111369103.1A priority Critical patent/CN114356792B/en
Publication of CN114356792A publication Critical patent/CN114356792A/en
Application granted granted Critical
Publication of CN114356792B publication Critical patent/CN114356792B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses an electric energy meter frozen data storage method based on a FLASH pre-erasing technology and an electric energy meter, belonging to the technical field of intelligent electric meters, wherein the method comprises the following steps: after the electric energy meter is electrified and zero clearing operation of the electric energy meter is executed, all the frozen indexes are added into a pre-erasing queue; the pre-erasing queue reads the frozen indexes of the frozen items again, judges whether the frozen indexes are at the beginning of the sector according to a set algorithm, and traverses and checks the sequence numbers of all the frozen indexes in the queue to judge whether the frozen indexes are at the beginning of the sector, if the frozen indexes are at the beginning of the sector, the pre-erasing operation is executed according to the shortest remaining time principle, when the electric energy meter is powered down, important metering data can not be lost due to the fact that FLASH is being erased even if an external power supply is powered down, and metering accuracy and fairness can be guaranteed.

Description

Electric energy meter frozen data storage method based on FLASH pre-erasing technology and electric energy meter
Technical Field
The invention belongs to the technical field of intelligent electric meters, and particularly relates to an electric energy meter frozen data storage method based on a FLASH pre-erasing technology and an electric energy meter.
Background
When an electric energy meter enterprise designs an electric energy meter, a FLASH memory is introduced in the hardware design so as to meet the new requirements of national network on the freezing function. Different from storage media such as EEPROM (electrically erasable programmable read-only memory), ferroelectric FRAM (ferroelectric frame) and the like, the FLASH memory erases sectors before writing data each time, the maximum erasing time required by different FLASH memories during erasing is different but basically not less than 300 milliseconds, and the maximum erasing time can reach as long as 600ms even if the data is large, and different from metering devices such as water meters, gas meters and the like, the electric energy meter is used as electric energy metering equipment, has higher requirements on metering instantaneity, metering accuracy and the like, and can keep the metering accuracy under any condition without phenomena of missing, multiple recording and the like. The electric energy meter is likely to lose effectiveness (battery under-voltage, farad capacitor leakage and the like) of external energy storage equipment in long-term work, the electric energy meter can only maintain dozens of milliseconds and then enter a reset state once the electric energy meter is powered down, if the electric energy meter just touches a FLASH sector erasing operation before writing frozen data before the power down, some important data can not be stored in the power down mode, if the pulse mantissa of the electric energy can not be stored in time at the moment of the power down, the power consumption of a client is less recorded, and the accuracy of measurement and assessment is seriously influenced.
Disclosure of Invention
In order to solve the defects in the prior art, the invention provides the electric energy meter frozen data storage method based on the FLASH pre-erasing technology and the electric energy meter, so that important metering loss caused by the fact that FLASH is erased can be avoided even if an external power supply loses power when the electric energy meter is powered off, and the metering accuracy and fairness can be ensured.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
in a first aspect, a method for storing frozen data of an electric energy meter based on a FLASH pre-erasing technology is provided, which includes: after the electric energy meter is electrified and zero clearing operation of the electric energy meter is executed, all the frozen indexes are added into a pre-erasing queue; and the pre-erasing queue reads the frozen indexes of the frozen items again, judges whether the frozen indexes are at the beginning of the sector according to a set algorithm, and judges whether the frozen indexes are at the beginning of the sector by traversing and checking the sequence numbers of all the frozen indexes in the queue, and executes pre-erasing operation if the frozen indexes are at the beginning of the sector.
Further, the pre-erase queue works on the principle of the shortest remaining time, i.e. the last time the work takes.
Further, the pre-erase queue only checks and erases one sector per second, and the next second performs the erase operation of the next frozen entry of the pre-erase queue.
Further, when the pre-erasing operation is executed, if the erasing fails, the total failure times of the index is +1, the frozen index is moved from the head of the queue to the tail of the queue, and the failed sector is re-erased after the rest of the queue is erased; and if the number of all pre-erasing failures reaches a set value, reporting a fault error of the memory.
Further, when the freezing needs to be processed, the sequence number of the freezing index is read, the data in the sector is read for multiple times according to the set times at the starting address of the sector, the set byte number is read for each time, and the erasing operation is immediately carried out as long as any data has a value which is not 0 xFF.
Further, the set algorithm is as follows:
pos = (idx %(FH_PageSize/g_FrezLen)
the idx represents the storage index of the current data, FH _ PageSize represents the size of one sector of the Flash memory, g _ FrezLen represents the length sum of the frozen record related objects,% represents the remainder operation, and pos represents the storage address offset of the sector corresponding to the idx index.
The second aspect provides an electric energy meter based on a FLASH pre-erasing technology, which comprises a FLASH pre-erasing processing module, a pre-erasing queue and a freezing index queue, wherein the FLASH pre-erasing processing module is used for adding all freezing indexes into the pre-erasing queue after the electric energy meter is powered on and the electric energy meter is reset; and the pre-erasing queue reads the frozen indexes of the frozen items again, judges whether the frozen indexes are at the beginning of the sector according to a set algorithm, and judges whether the frozen indexes are at the beginning of the sector by traversing and checking the sequence numbers of all the frozen indexes in the queue, and executes pre-erasing operation if the frozen indexes are at the beginning of the sector.
The device further comprises a complementary erasing module which is used for reading the serial number of the frozen index when the freezing needs to be processed, reading the data in the sector for multiple times according to the set times at the starting address of the sector each time, and performing complementary erasing operation immediately as long as any data has a value which is not 0 xFF.
And the freezing module is used for checking whether the freezing condition is met once every minute when the electric energy meter is electrified and normally works, reading the index value of the freezing item from the EEPROM once the freezing condition is met, calculating the corresponding FLASH space storage address according to the index value of the current freezing item, entering the complementary erasing module to judge whether complementary erasing is needed, and finally preparing the freezing data according to the associated object list to write the FLASH freezing data.
Further, after the writing operation of the FLASH frozen data is completed, adding 1 to the index value of the current frozen item, judging whether the address corresponding to the next record is located at the beginning of the sector, and if so, adding the current frozen item to the pre-erasing queue.
Compared with the prior art, the invention has the following beneficial effects:
(1) the method has the advantages that the FLASH sector is erased in advance through the pre-erasing operation, multiple sector erasing failures are supported, important metering data cannot be lost due to the fact that FLASH is erased even if an external power supply loses power when the electric energy meter is powered down, and the metering accuracy and fairness can be guaranteed;
(2) the invention can also avoid the loss of the frozen record of the FLASH caused by accidental erasure failure and improve the reliability of the frozen storage.
Drawings
FIG. 1 is a flow chart of a method for calculating a storage address of frozen data FLASH according to an embodiment of the present invention;
FIG. 2 is a diagram of a pre-erase queue according to an embodiment of the present invention;
FIG. 3 is a logic diagram of FLASH pre-erase and data processing according to an embodiment of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
The first embodiment is as follows:
as shown in fig. 1 to fig. 3, the electric energy meter frozen data storage method based on the FLASH pre-erase technology includes: after the electric energy meter is electrified and zero clearing operation of the electric energy meter is executed, all the frozen indexes are added into a pre-erasing queue; and the pre-erasing queue reads the frozen indexes of the frozen items again, judges whether the frozen indexes are at the beginning of the sector according to a set algorithm, and judges whether the frozen indexes are at the beginning of the sector by traversing and checking the sequence numbers of all the frozen indexes in the queue, and executes pre-erasing operation if the frozen indexes are at the beginning of the sector.
The frozen records are a group of data stored according to a fixed period, for example, a minute frozen storage period is 15 minutes, an hour frozen storage period is 1 hour, a day frozen storage period is 1 day, and a month frozen storage period is 1 month, and the data stored in the frozen records are generally: and storing the combination of the current voltage, current, active power, power factor, forward active total, reverse active total, zero line current, itemized rate and other data at the moment. When the freezing time is reached, the related data items of the freezing items are written into the storage device and provide an interface for inquiry, so that the national grid company can analyze the power utilization condition.
Each frozen record is a set of spatially contiguous storage regions in the storage space, and the number of sectors occupied by each frozen record can be determined by the formula ((NUM _ X-1)/(FH _ PageSize/LEN _ X) +2), where NUM _ X represents the actual number of times the frozen record is stored, e.g., min frozen 35040, day frozen 365, FH _ PageSize represents a sector size of Flash memory (e.g., 4096 Byte), and LEN _ X represents the storage length of the frozen record. I.e. each frozen record can be allocated a certain number of sectors of contiguous space by the above formula.
The storage address addr of the current frozen record can be determined by the length of the object associated with the frozen object and g _ FrezLen, the storage index idx of the current data, the storage depth g _ frezznum of the current record, and the start address g _ frezzadr recorded in FLASH, wherein the index determines how many pieces of the current data are stored, and the start address g _ frezzadr determines where the data start to be stored in FLASH, as shown in fig. 1.
S0-1: the default configuration parameters of each frozen object are stored in the EEPROM, and the parameters need to be read out before data freezing is carried out so as to calculate the subsequent Flash storage address. The main read parameters are:
g _ FrezNum: freezing the record storage depth, wherein the freezing time is 35040 times per minute, 365 times per day and 254 times per hour;
g _ FrezLen: the length sum of the frozen record associated objects is different, different frozen records have different associated objects, the storage lengths of the different associated objects are also different, and the value is updated after the electric energy meter initializes or configures the associated objects;
g _ FrezAdr: the starting address of the frozen record is different in number of Flash sectors occupied by the frozen record and different in starting address, and the value is updated after the electric energy meter is initialized or associated objects are configured.
The specific address of the record currently in FLASH can be determined through steps S0-2 to S0-7, and it can be determined whether the current data is at the beginning of the sector, if so, a sector erase operation is performed, and the data is written again.
Conventional freeze record storage logic: according to the calculation method of the storage address addr shown in fig. 1, if the storage address addr% FH _ PageSize is equal to 0, it indicates that the idx index data to be stored is just at the sector start place of the sector, a sector erasing operation is required, 50-600ms of sector erasing time is executed according to different chips, and as the erasing time is increased and the erasing time is closer to the maximum erasing time, the erasing process continuously reads the erasing completion flag of the status register of the FLASH, waits for the FLASH erasing completion, a subsequent writing operation can be performed after the erasing is completed, otherwise, the data cannot be written.
A frozen record storage logic based on a FLASH pre-erasing technology is shown in figure 3, wherein a dotted line box is a newly added processing logic, and the core idea is that data of a sector is erased in advance through a set of pre-erasing algorithm, and then the data can be directly written in without judging whether the data is at the beginning of the sector or not when the frozen record is written.
The FLASH pre-erasing processing method comprises the following steps:
(1) the electric energy meter is powered on for the first time, zero clearing operation of the electric energy meter is executed, all frozen record indexes are emptied, all frozen record indexes are added into a pre-erasing queue, the pre-erasing queue is shown in fig. 2, and the pre-erasing queue comprises the following data:
FreeItem, which represents specific frozen items, such as minute frozen, hour frozen, day frozen;
repcnt: the number of sector erasure failures, which represents the current frozen item, cannot exceed 5 at most, and the frozen item is deleted from the pre-erasure queue after exceeding 5. In order to ensure that the erasing efficiency of the queue is highest, if the pre-erasing of a certain sector fails, the item is removed from the queue to the tail of the queue, and the other items are executed completely and then are re-executed;
CRC: in order to ensure the reliability of the pre-erased data, the data in the queue is subjected to CRC check.
(2) The pre-erase queue will re-read the frozen index idx of the frozen item, determine whether it is at the beginning of the sector according to the algorithm pos = (idx% (FH _ PageSize/g _ FrezLen), and go through and check whether all frozen index numbers in the queue (index queue includes frozen indexes of minute frozen, hour frozen, day frozen, month frozen, year frozen, time table switch frozen, etc.) are at the beginning of the sector, and if so, perform the pre-erase operation.
(3) In order to ensure the working instantaneity of the electric energy meter, the pre-erasing queue works according to the principle of the shortest remaining time, namely the last working time is spent. The erasing operation only checks and erases one sector per second, the erasing operation of the next frozen item of the pre-erasing queue is executed next second, the pre-erasing logic supports the erasing failure re-erasing function and supports 5 times of erasing failures at most, if the erasing is successful, the frozen index is removed from the pre-erasing queue, and the frozen index is not checked subsequently. And if the erasure fails, the total failure times of the index is plus 1, the frozen index is moved from the head of the queue to the tail of the queue, and the failed sector is erased again after the rest of the queue is erased. And if the 5 pre-erasures fail, reporting a memory fault error.
(4) The method for processing the supplementary erasing comprises the following steps: in order to ensure the working real-time performance of the electric energy meter, the pre-erasing module erases one sector every second and needs queuing processing. For the operations of time correction, supplementary freezing and the like which need to write data immediately under certain conditions, the pre-erasing processing module may not be in time to process, and for the special conditions, the supplementary erasing module is designed, and the data in the sector is read for 8 times according to a certain rule at the starting address of the sector each time, and 8 bytes are read each time. If any data has a value other than 0xFF, the repair erasing operation is immediately carried out, and the module can greatly improve the reliability of the pre-erasing processing logic.
(5) The freezing treatment method comprises the following steps: and under the normal work of the electric energy meter, checking whether the freezing condition is met once every minute, reading out the idx index value of the freezing item from the EEPROM once the freezing condition is met, calculating the corresponding FLASH space storage address addr according to the index value idx of the current freezing item, entering an erasure supplementing module to judge whether the erasure supplementing is needed, and finally preparing the frozen data according to the associated object list to write the FLASH frozen data. The writing time consumption of FLASH is short, the writing operation of a frozen record can be completed within 10 milliseconds, after the writing operation is completed, 1 is added to the index value idx of the current frozen item to represent the index number corresponding to the next record to be written, according to the algorithm pos = (idx% (FH _ PageSize/g _ FrezLen), whether the address corresponding to the next record is located at the beginning of the sector can be judged, and if the address is located at the beginning of the sector, the current frozen item is added to the pre-erasing queue.
(6) And (3) power-on re-detection of the pre-erasing queue: when the power failure occurs in the extreme case erasing, namely the power failure occurs when the sector does not successfully erase the electric energy meter, and the data in the erasing queue may be lost together. For the situation, the electric energy meter polls all the frozen items after being electrified, if the current idx is positioned at the boundary of the sector, the frozen items are added into the pre-erasing queue again, and the pre-erasing processing module is responsible for completing the pre-erasing operation of the FLASH sector.
The embodiment erases the FLASH sector in advance through the pre-erasing operation, supports 5 times of sector erasing failures at most, can ensure that important metering related data cannot be not stored due to the fact that FLASH is being erased even if an external power supply loses power when the electric energy meter is powered down, and can ensure the metering accuracy and fairness; meanwhile, the method can also avoid the loss of the frozen records of the FLASH due to accidental erasure failure and improve the reliability of the frozen storage.
The pre-erase technique mentioned in this embodiment pre-erases 1 sector (sector) in advance, and in practical use, pre-erases one Block (Block) in advance.
The core idea of the embodiment is to avoid the phenomenon that the EEPROM is just erased in FLASH at the moment of power failure through a pre-erasing technology, and the problem mentioned in the embodiment can be solved by writing the frozen record into the EEPROM in a normal state and synchronizing the EEPROM data to the FLASH and only executing the erasing operation without waiting when the sector start address is encountered.
The embodiment mainly exemplifies the application of the frozen record in the FLASH, and the pre-erasing concept can be applied to other data stored in the FLASH, such as event records and the like.
Example two:
based on the electric energy meter frozen data storage method and the electric energy meter based on the FLASH pre-erasing technology in the first embodiment, the embodiment provides the electric energy meter based on the FLASH pre-erasing technology, which comprises a FLASH pre-erasing processing module, a pre-erasing queue and a storage module, wherein the FLASH pre-erasing processing module is used for adding all frozen indexes into the pre-erasing queue after the electric energy meter is powered on and the electric energy meter is subjected to zero clearing operation; and the pre-erasing queue reads the frozen indexes of the frozen items again, judges whether the frozen indexes are at the beginning of the sector according to a set algorithm, and judges whether the frozen indexes are at the beginning of the sector by traversing and checking the sequence numbers of all the frozen indexes in the queue, and executes pre-erasing operation if the frozen indexes are at the beginning of the sector.
The electric energy meter based on the FLASH pre-erasing technology also comprises an erasing supplementing module which is used for reading the serial number of the frozen index when the freezing needs to be processed, reading the data in the sector for multiple times according to the set times at the starting address of the sector each time, and immediately performing erasing supplementing operation as long as any data has a value which is not 0 xFF.
The electric energy meter based on the FLASH pre-erasing technology also comprises a freezing module, wherein the freezing module is used for checking whether the freezing condition is met once every minute when the electric energy meter is electrified and normally works, reading the index value of the freezing item from the EEPROM once the freezing condition is met, calculating the corresponding FLASH space storage address according to the index value of the current freezing item, entering the complementary erasing module to judge whether complementary erasing is needed, and finally preparing the frozen data according to the associated object list to write the FLASH frozen data. After the writing operation of the FLASH frozen data is finished, adding 1 to the index value of the current frozen item, judging whether the address corresponding to the next record is positioned at the position where the sector starts, and if so, adding the current frozen item into the pre-erasing queue.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A method for storing frozen data of an electric energy meter based on a FLASH pre-erasing technology is characterized by comprising the following steps:
after the electric energy meter is electrified and zero clearing operation of the electric energy meter is executed, all the frozen indexes are added into a pre-erasing queue;
and the pre-erasing queue reads the frozen indexes of the frozen items again, judges whether the frozen indexes are at the beginning of the sector according to a set algorithm, and judges whether the frozen indexes are at the beginning of the sector by traversing and checking the sequence numbers of all the frozen indexes in the queue, and executes pre-erasing operation if the frozen indexes are at the beginning of the sector.
2. The electric energy meter frozen data storage method based on the FLASH pre-erasing technology is characterized in that the pre-erasing queue works according to the principle of the shortest remaining time, namely the last working time.
3. The method for storing frozen data of an electric energy meter based on the FLASH pre-erasing technology is characterized in that the pre-erasing queue only checks and erases one sector per second, and the next second is used for executing the erasing operation of the next frozen item of the pre-erasing queue.
4. The electric energy meter frozen data storage method based on the FLASH pre-erasing technology is characterized in that when the pre-erasing operation is executed, if the erasing is failed, the total number of the failed times of the index is plus 1, the frozen index is moved from the head of the queue to the tail of the queue, and the failed sectors are re-erased after the rest of the queue is erased; and if the number of all pre-erasing failures reaches a set value, reporting a fault error of the memory.
5. The electric energy meter frozen data storage method based on the FLASH pre-erasing technology is characterized in that when freezing needs to be processed, the serial number of a frozen index is read, the data in the sector is read for multiple times according to the set times at the starting address of the sector each time, the set byte number is read each time, and the erasing operation is immediately carried out as long as any data has a value which is not 0 xFF.
6. The electric energy meter frozen data storage method based on the FLASH pre-erasing technology according to claim 1, wherein the set algorithm is as follows:
pos = (idx %(FH_PageSize/g_FrezLen)
the idx represents the storage index of the current data, FH _ PageSize represents the size of one sector of the Flash memory, g _ FrezLen represents the length sum of the frozen record related objects,% represents the remainder operation, and pos represents the storage address offset of the sector corresponding to the idx index.
7. The electric energy meter based on the FLASH pre-erasing technology is characterized by comprising a FLASH pre-erasing processing module, a pre-erasing queue and a pre-erasing processing module, wherein the FLASH pre-erasing processing module is used for adding all freezing indexes into the pre-erasing queue after the electric energy meter is powered on and the zero clearing operation of the electric energy meter is executed; and the pre-erasing queue reads the frozen indexes of the frozen items again, judges whether the frozen indexes are at the beginning of the sector according to a set algorithm, and judges whether the frozen indexes are at the beginning of the sector by traversing and checking the sequence numbers of all the frozen indexes in the queue, and executes pre-erasing operation if the frozen indexes are at the beginning of the sector.
8. The electric energy meter based on the FLASH pre-erasing technology according to claim 7, further comprising a complementary erasing module, which is used for reading the serial number of the frozen index when the freezing needs to be processed, reading the data in the sector for a plurality of times according to the set times at the starting address of the sector each time, and performing the complementary erasing operation immediately as long as any data has a value other than 0 xFF.
9. The electric energy meter based on the FLASH pre-erasing technology according to claim 7, further comprising a freezing module, wherein the freezing module is used for checking whether the freezing condition is met every minute when the electric energy meter is powered on and works normally, reading the index value of the frozen item from the EEPROM once the freezing condition is met, calculating the corresponding FLASH space storage address according to the index value of the current frozen item, entering the complementary erasing module to judge whether complementary erasing is needed, and finally preparing the frozen data according to the associated object list to perform writing operation on the frozen data.
10. The electric energy meter based on the FLASH pre-erasing technology according to claim 9, wherein after the writing operation of the FLASH frozen data is completed, 1 is added to the index value of the current frozen item, whether the address corresponding to the next record is located at the beginning of the sector is judged, and if the address corresponding to the next record is located at the beginning of the sector, the current frozen item is added to the pre-erasing queue.
CN202111369103.1A 2021-11-18 2021-11-18 Electric energy meter frozen data storage method based on FLASH pre-erasing technology and electric energy meter Active CN114356792B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111369103.1A CN114356792B (en) 2021-11-18 2021-11-18 Electric energy meter frozen data storage method based on FLASH pre-erasing technology and electric energy meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111369103.1A CN114356792B (en) 2021-11-18 2021-11-18 Electric energy meter frozen data storage method based on FLASH pre-erasing technology and electric energy meter

Publications (2)

Publication Number Publication Date
CN114356792A true CN114356792A (en) 2022-04-15
CN114356792B CN114356792B (en) 2023-03-10

Family

ID=81096367

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111369103.1A Active CN114356792B (en) 2021-11-18 2021-11-18 Electric energy meter frozen data storage method based on FLASH pre-erasing technology and electric energy meter

Country Status (1)

Country Link
CN (1) CN114356792B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
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 (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1776817A (en) * 2004-11-19 2006-05-24 三星电子株式会社 Method for accessing data sectors and processing an access failure in a hard disk drive
WO2006064498A2 (en) * 2004-12-16 2006-06-22 Ramot At Tel-Aviv University Ltd. Transactional flash file system for microcontrollers and embedded systems
CN101184155A (en) * 2007-12-18 2008-05-21 中国电子科技集团公司第五十四研究所 Method for storing station name of security receiving chip
US20080234957A1 (en) * 2005-01-27 2008-09-25 Electro Industries/Gauge Tech. Intelligent Electronic Device and Method Thereof
US20120011300A1 (en) * 2010-07-09 2012-01-12 Macronix International Co., Ltd. Method and apparatus for high-speed byte-access in block-based flash memory
US20120078555A1 (en) * 2005-01-27 2012-03-29 Electro Industries/Gauge Tech Intelligent Electronic Device and Method Thereof
CN103729143A (en) * 2012-10-12 2014-04-16 苏州工业园区新宏博通讯科技有限公司 Data safety method for electric energy data storage of multi-path electricity meter
CN104778203A (en) * 2015-02-10 2015-07-15 武汉阿迪克电子股份有限公司 Load record blocked index storage and inquiry method in cost controlled intelligent electric energy meter
US20150338446A1 (en) * 2014-05-22 2015-11-26 Electro Industries/Gauge Tech Intelligent electronic device having a memory structure for preventing data loss upon power loss
CN106293532A (en) * 2016-08-10 2017-01-04 广东佳禾声学科技有限公司 A kind of Flash data storage method
CN107615249A (en) * 2015-05-14 2018-01-19 爱德斯托科技有限公司 Concurrent read operation in storage arrangement and the write operation reconfigured
CN108228095A (en) * 2017-12-15 2018-06-29 中国航空工业集团公司西安飞行自动控制研究所 A kind of method that real time information record is carried out based on Flash
CN108255981A (en) * 2017-12-28 2018-07-06 国网江苏省电力有限公司电力科学研究院 The storage and lookup method that section timestamp serial number index minute continuous time freezes
CN109254878A (en) * 2018-09-27 2019-01-22 北京中电华大电子设计有限责任公司 A kind of intelligent card power failure backup method write based on word and data structure
CN111737058A (en) * 2020-06-29 2020-10-02 江苏恒宝智能系统技术有限公司 IC card and power-down prevention data backup method or data recovery method thereof
CN112684987A (en) * 2021-01-07 2021-04-20 南方电网数字电网研究院有限公司 Data classification storage method and device based on double-core intelligent electric meter
CN112965919A (en) * 2021-03-24 2021-06-15 深圳友讯达科技股份有限公司 Electric energy meter data minute freezing method, storage medium and equipment

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1776817A (en) * 2004-11-19 2006-05-24 三星电子株式会社 Method for accessing data sectors and processing an access failure in a hard disk drive
WO2006064498A2 (en) * 2004-12-16 2006-06-22 Ramot At Tel-Aviv University Ltd. Transactional flash file system for microcontrollers and embedded systems
US20080234957A1 (en) * 2005-01-27 2008-09-25 Electro Industries/Gauge Tech. Intelligent Electronic Device and Method Thereof
US20120078555A1 (en) * 2005-01-27 2012-03-29 Electro Industries/Gauge Tech Intelligent Electronic Device and Method Thereof
CN101184155A (en) * 2007-12-18 2008-05-21 中国电子科技集团公司第五十四研究所 Method for storing station name of security receiving chip
US20120011300A1 (en) * 2010-07-09 2012-01-12 Macronix International Co., Ltd. Method and apparatus for high-speed byte-access in block-based flash memory
CN103729143A (en) * 2012-10-12 2014-04-16 苏州工业园区新宏博通讯科技有限公司 Data safety method for electric energy data storage of multi-path electricity meter
US20150338446A1 (en) * 2014-05-22 2015-11-26 Electro Industries/Gauge Tech Intelligent electronic device having a memory structure for preventing data loss upon power loss
CN104778203A (en) * 2015-02-10 2015-07-15 武汉阿迪克电子股份有限公司 Load record blocked index storage and inquiry method in cost controlled intelligent electric energy meter
CN107615249A (en) * 2015-05-14 2018-01-19 爱德斯托科技有限公司 Concurrent read operation in storage arrangement and the write operation reconfigured
CN106293532A (en) * 2016-08-10 2017-01-04 广东佳禾声学科技有限公司 A kind of Flash data storage method
CN108228095A (en) * 2017-12-15 2018-06-29 中国航空工业集团公司西安飞行自动控制研究所 A kind of method that real time information record is carried out based on Flash
CN108255981A (en) * 2017-12-28 2018-07-06 国网江苏省电力有限公司电力科学研究院 The storage and lookup method that section timestamp serial number index minute continuous time freezes
CN109254878A (en) * 2018-09-27 2019-01-22 北京中电华大电子设计有限责任公司 A kind of intelligent card power failure backup method write based on word and data structure
CN111737058A (en) * 2020-06-29 2020-10-02 江苏恒宝智能系统技术有限公司 IC card and power-down prevention data backup method or data recovery method thereof
CN112684987A (en) * 2021-01-07 2021-04-20 南方电网数字电网研究院有限公司 Data classification storage method and device based on double-core intelligent electric meter
CN112965919A (en) * 2021-03-24 2021-06-15 深圳友讯达科技股份有限公司 Electric energy meter data minute freezing method, storage medium and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘源杨等: "基于嵌入式MCU数据Flash的数据存储及", 《电子产品世界》 *

Cited By (2)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN114356792B (en) 2023-03-10

Similar Documents

Publication Publication Date Title
CN102081577B (en) Data storage structure of Flash memory and data manipulation mode thereof
CN100590606C (en) Data completeness protection method of flash storage
CN102890657B (en) The method that the reading and writing data of a kind of EEPROM of minimizing is made mistakes
CN106227680B (en) A kind of data processing and power fail preventing data guard method
CN103455449B (en) Non-volatile memory medium access method, data-updating method and equipment
CN104516471B (en) Method and device for managing power supply of storage system
CN105843749B (en) A kind of NAND Flash fault-tolerance approach based on FPGA
CN106407050A (en) Data storage method
CN101446921A (en) Dynamic storage method of Flash memory
CN103049713B (en) Method, equipment and the system that data in storage device are patrolled and examined
WO2017161795A1 (en) Method and system for processing chronological file
CN107678420B (en) engine data online storage method
CN105097050B (en) A kind of storage life test method
CN114356792B (en) Electric energy meter frozen data storage method based on FLASH pre-erasing technology and electric energy meter
CN101546294A (en) Method for storing data in Flash memory
CN103729143A (en) Data safety method for electric energy data storage of multi-path electricity meter
CN110083479B (en) EEPROM data protection method of intelligent electric energy meter
CN111737162A (en) Solid state disk using method for quickly recovering data and computer readable storage medium
CN101661433B (en) Business processing method based on Flash
CN109144832A (en) A kind of power supply power-fail processing method and processing device
CN107329912A (en) A kind of power down process method of NAND FLASH arrays
CN112416246B (en) High-resolution method for storing electric energy data
CN112965919B (en) Electric energy meter data minute freezing method, storage medium and equipment
CN109947364A (en) A kind of method for storing real-time data in FLASH/EEPROM
CN112511156B (en) Pulse metering and storing method

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