Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Flash data storage method for intelligent electric energy meter

A smart energy meter and data storage technology, applied in the direction of memory address/allocation/relocation, etc., can solve problems such as insufficient life, single AT45DB series FLASH manufacturer, and insufficient space for 4K content, etc., to improve product competitiveness, cost reduction effect

Inactive Publication Date: 2012-02-01
HANGZHOU SUNRISE TECH
View PDF2 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The AT45DB series FLASH has a single manufacturer, which cannot meet the large-volume supply, and the price is exactly double that of the AT25DF series FLASH without internal RAM.
AT25DF series FLASH does not contain RAM inside, when data is written, it can be written byte by byte, but when data is erased, 4KB bytes are erased together. Obviously, the MCU does not have enough space to read all 4K content into the MCU. After modification Write again. Moreover, the erasure life of FLASH is only 100,000 times. If you erase the entire page in order to modify a few bytes, the life is definitely not enough

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention is described in detail below:

[0023] The FLASH data storage method for smart electric energy meter comprises the following steps:

[0024] 1), calculate the storage space N*m required for the electricity meter record or load curve to be stored, m is the minimum storage unit;

[0025] 2) Allocate data space (N+1)*m for the electricity meter records or load curves to be stored;

[0026] 3) Write data sequentially according to the first-in-first-out principle:

[0027] (3.1), the storage pointer points to the current storage unit, and in the initial state, the first storage unit is the current storage unit;

[0028] (3.2), the storage pointer points to the next storage unit, and this next storage unit becomes the current storage unit; delete the data in the current storage unit, write the data to be stored into the current storage unit, until the space of the current storage unit is exhausted;

[0029] (3.3), judge whether the current storage uni...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a flash data storage method for an intelligent electric energy meter, which comprises the following steps of: calculating an electric meter record to be stored or a storage space N*m required by a load curve, wherein m is a minimum storage unit; allocating a data space (N+1)*m to the electric meter record to be stored or the load curve; writing data according to a first in first out (FIFO) principle sequence; and reading data through reverse lookup of a reading pointer. The invention has the advantages that: the method is reasonably operated, the precious memory of a singlechip is not excessively occupied, and the requirement of the erasing life of a flash chip can be effectively met.

Description

technical field [0001] The invention relates to a FLASH data storage method for an intelligent electric energy meter. technical background [0002] For a long time, traditional AT45DB series FLASH memory chips such as AT45DB161 and AT45DB321 have been used to store large-capacity data such as load curves in electric meters. There are two 512-byte RAM areas inside this series of chips. When the single-chip microcomputer writes to the FLASH, it first reads the entire page of the FLASH page to be operated into the internal RAM of the FLASH. The single-chip microcomputer only modifies a few bits in the RAM. After that, the data is kept in the FLASH RAM until the page is changed, the entire page of the FLASH content is erased, and the data in the RAM is written into the corresponding FLASH page. It is not necessary to read all the FLASH pages (512 bytes) where the byte is located into the RAM of the single-chip microcomputer, and then write after modification. Due to cost consi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F12/02
Inventor 高宜华刘峥嵘郭援越张喜春王蕾
Owner HANGZHOU SUNRISE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products