A method of improving flash erasing and writing life

A life and write operation technology, applied in the direction of input/output to record carrier, etc., can solve the problems of increased software complexity, low reliability, and reduced product reliability, so as to reduce hardware complexity, improve work efficiency, and erasure The effect of the number of times up

Active Publication Date: 2018-12-07
HEXING ELECTRICAL
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because the storage address of the same variable is always changing, it brings troubles, and the read and write operations of application software have high complexity, low reliability, and poor maintainability
This will sharply increase software complexity, make software development difficult, and reduce product reliability.
Moreover, such software has poor portability, often causes duplication of labor, high coupling, and maintenance is also a problem

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method of improving flash erasing and writing life

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be described in detail below in conjunction with accompanying drawing,

[0027] Such as figure 1 Shown, a kind of method of improving Flash erasing life in the present embodiment comprises:

[0028] Divide each Flash sector into 128 sub-blocks, and establish corresponding bit offset addressing information and erasing times information (total erasing times of a single, independent FLASH sector) according to the current reading and writing status of each sub-block. The bit offset addressing information and the number of times of erasing information are stored in the last sub-block of the Flash sector, and are updated in real time;

[0029] The bit offset addressing information occupies 16 bytes, each byte has 8 bits, and each bit corresponds to the state of a sub-block of the current Flash sector: in the bit offset addressing information, a certain bit If the value is 1, it means that the sub-block corresponding to this bit is not written or h...

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 method for improving the erasing and writing life of Flash. The purpose is to provide a method capable of improving the erasing and writing life of the Flash medium. Solution: Divide each Flash sector into 128 sub-blocks, establish corresponding bit offset addressing information and erasing times information according to the current reading and writing status of each sub-block, and store the bit offset addressing information and erasing times information in any sub-block, and update it in real time; bit offset addressing information occupies 16 bytes, each byte is 8 bits, and each bit corresponds to the state of a sub-block of the current Flash sector; read / Obtain the bit offset addressing information and erasure times information in the current state during the write operation, and read / write each sub-block according to the bit offset addressing information; the read / write rule is, for data that has been written but not The erased sub-block is no longer written; for the sub-block that has not been written or has not been written after erasing, the read operation is not performed. Inventions are mainly used in smart electronics.

Description

technical field [0001] The patent of the present invention relates to a method for improving the lifespan of flash erasing and writing, which is mainly used in smart electronic products, mobile Internet devices, mobile Internet of Things devices, and smart grid devices. Background technique [0002] In Internet of Things devices, smart grid devices, and smart electronic products, it is often necessary to save data frequently, quickly, and reliably. The current solution is to write software to different addresses of Flash to complete data storage. [0003] To store information in Flash, due to the "erase and write" feature of Flash, to save the same variable (such as voltage, motor speed, etc.) frequently and quickly, you must first erase and then write to different addresses of Flash Finish. Because the storage address of the same variable always changes, it brings troubles, and the read and write operations of the application software have high complexity, low reliability,...

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 Patents(China)
IPC IPC(8): G06F3/06
Inventor 周良璋汪烈华侯培民程波张明舒元康
Owner HEXING ELECTRICAL
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products