CN114356792B - 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 PDFInfo
- Publication number
- CN114356792B CN114356792B CN202111369103.1A CN202111369103A CN114356792B CN 114356792 B CN114356792 B CN 114356792B CN 202111369103 A CN202111369103 A CN 202111369103A CN 114356792 B CN114356792 B CN 114356792B
- Authority
- CN
- China
- Prior art keywords
- frozen
- erasing
- electric energy
- sector
- 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.)
- Active
Links
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
- Read Only Memory (AREA)
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 freezing 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
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 on the aspect of hardware design so as to meet the new requirements of national networks on freezing functions. 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.
Furthermore, 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 located at the place where the sector starts, 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 erases the FLASH sector in advance through the pre-erasing operation, supports multiple sector erasing failures, can ensure that 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 can ensure the accuracy and fairness of metering;
(2) The invention can also avoid the loss of the frozen record of the FLASH caused by the accidental erasure failure and improve the reliability of the frozen storage.
Drawings
FIG. 1 is a flowchart of a method for calculating a frozen data FLASH memory address 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 schematic diagram of the FLASH pre-erase and data processing logic in 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 positioned at the beginning of the sector according to a set algorithm, and judges whether the frozen indexes are positioned 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 positioned at the beginning of the sector.
The frozen record is a group of data stored according to a fixed period, for example, the minute frozen storage period is 15 minutes, the hour frozen storage period is 1 hour, the day frozen storage period is 1 day, and the month frozen storage period is 1 month, and the data stored in the frozen record is generally: and storing the combination of data such as current voltage, current, active power, power factor, forward active total, reverse active total, zero line current, itemized rate and the like 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 record is stored, e.g., min frozen 35040, day frozen 365, FH _PageSizerefers to 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 _ FrezNum of the current record and the start address g _ FrezAdr recorded in FLASH, wherein the index determines how many pieces of the current data are stored, and the start address g _ FrezAdr determines where the data starts 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 concrete address of the record in FLASH can be determined through steps S0-2 to S0-7, and whether the current data is at the place where the sector starts or not can be judged, if yes, the sector erasing operation is executed, and then the data is written.
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.
The frozen record storage logic based on the 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 the frozen record without judging whether the data is at the beginning of the sector or not.
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:
freez item represents a specific frozen item, 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 reads the frozen index idx of the frozen item again, judges whether the frozen index idx is at the beginning of the sector according to the algorithm pos = idx% (FH _ PageSize/g _ FrezLen), and checks whether all frozen index numbers (index queues including frozen indexes of minute freezing, hour freezing, day freezing, month settlement freezing, year freezing, hour table switching freezing, time table switching freezing, and the like) in the queue are at the beginning of the sector in a traversing manner, and if the frozen index numbers are at the beginning of the sector, the pre-erase operation is performed.
(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 +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, compensation freezing and the like which need to write data immediately under certain conditions, a pre-erasing processing module may not be in time to process, and for the special condition, a compensation 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 for each time. If any data has a value other than 0xFF, the repair erasing operation is carried out immediately, and the module can greatly improve the reliability of the pre-erasing processing logic.
(5) The freezing treatment method comprises the following steps: 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 memory address addr according to the idx index value of the current freezing item, entering a complementary erasing module to judge whether complementary erasing is needed, and finally preparing frozen data according to the associated object list to carry out FLASH frozen data writing operation. 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 _ FreeLen), 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 the 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 only by 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 positioned at the beginning of the sector according to a set algorithm, and judges whether the frozen indexes are positioned 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 positioned 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 a freezing condition is met once every minute under the normal power-on work of the electric energy meter, reading out 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 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. 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 (9)
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 freezing 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, and if the frozen indexes are at the beginning of the sector, the pre-erasing operation is executed;
wherein, the set algorithm is as follows:
pos = idx %(FH_PageSize/g_FrezLen)
the idx represents the storage index of the current data, the FH _ PageSize represents the size of one sector of the Flash memory, the g _ FrezLen represents the length sum of the frozen record related objects,% represents the remainder operation, and the pos represents the sector storage address offset corresponding to the storage index of the current data.
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 shortest remaining 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 fails, the total failure times of the frozen indexes are plus 1, the frozen indexes are 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 failure times 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 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; 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, and if the frozen indexes are at the beginning of the sector, the pre-erasing operation is executed;
wherein, the set algorithm is as follows:
pos = idx %(FH_PageSize/g_FrezLen)
the idx represents the storage index of the current data, the FH _ PageSize represents the size of one sector of the Flash memory, the g _ FrezLen represents the length sum of the frozen record related objects,% represents the remainder operation, and the pos represents the sector storage address offset corresponding to the storage index of the current data.
7. The electric energy meter based on the FLASH pre-erasing technology according to claim 6, further comprising a complementary erasing module, wherein the complementary erasing module 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 complementary erasing operation immediately as long as any data has a value which is not 0 xFF.
8. The electric energy meter based on the FLASH pre-erasing technology according to claim 6, 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.
9. The electric energy meter based on the FLASH pre-erasing technology according to claim 8, 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 or not 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.
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 CN114356792A (en) | 2022-04-15 |
CN114356792B true 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) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116108022B (en) * | 2023-04-12 | 2023-06-13 | 石家庄科林电气股份有限公司 | Electric energy meter data storage method, device, terminal and storage medium |
CN118259921B (en) * | 2024-05-30 | 2024-09-27 | 杭州海浔科技有限公司 | Ammeter freezing data reading method and device, concentrator and storage medium |
Citations (13)
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 |
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 |
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 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8078418B2 (en) * | 2005-01-27 | 2011-12-13 | Electro Industries/Gauge Tech | Intelligent electronic device and method thereof |
US8620608B2 (en) * | 2005-01-27 | 2013-12-31 | Electro Industries/Gauge Tech | Intelligent electronic device and method thereof |
US8239619B2 (en) * | 2010-07-09 | 2012-08-07 | Macronix International Co., Ltd. | Method and apparatus for high-speed byte-access in block-based flash memory |
US9927470B2 (en) * | 2014-05-22 | 2018-03-27 | Electro Industries/Gauge Tech | Intelligent electronic device having a memory structure for preventing data loss upon power loss |
-
2021
- 2021-11-18 CN CN202111369103.1A patent/CN114356792B/en active Active
Patent Citations (13)
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 |
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 |
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)
Title |
---|
基于嵌入式MCU数据Flash的数据存储及;刘源杨等;《电子产品世界》;20131031;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114356792A (en) | 2022-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102081577B (en) | Data storage structure of Flash memory and data manipulation mode thereof | |
CN114356792B (en) | Electric energy meter frozen data storage method based on FLASH pre-erasing technology and electric energy meter | |
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 | |
CN101446921B (en) | Dynamic storage method of Flash memory | |
CN100590606C (en) | Data completeness protection method of flash storage | |
CN101656106B (en) | Method for writing data into EEPROM and device thereof | |
CN104516471B (en) | Method and device for managing power supply of storage system | |
CN106407050A (en) | Data storage method | |
CN103049713B (en) | Method, equipment and the system that data in storage device are patrolled and examined | |
CN105097050B (en) | A kind of storage life test method | |
CN107678420A (en) | A kind of engine data on-line storage method | |
CN103729143A (en) | Data safety method for electric energy data storage of multi-path electricity meter | |
CN106407130A (en) | Method for managing Nandflash memory data | |
CN110083479B (en) | EEPROM data protection method of intelligent electric energy meter | |
CN109445987A (en) | A kind of SSD powered-off fault restoration methods and its system based on block growth record | |
CN109524048A (en) | A kind of the service life method for early warning and relevant apparatus of SSD disk | |
CN112965919B (en) | Electric energy meter data minute freezing method, storage medium and equipment | |
CN104898989A (en) | Large-volume data storage equipment, large-volume data storage method and large-volume data storage device | |
CN108365283A (en) | Device battery and unmanned plane | |
CN106484308A (en) | Data guard method, memorizer control circuit unit and memorizer memory devices | |
CN101661433B (en) | Business processing method based on Flash | |
CN107329912A (en) | A kind of power down process method of NAND FLASH arrays | |
CN112416246B (en) | High-resolution method for storing electric energy data |
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 |