Unlock instant, AI-driven research and patent intelligence for your innovation.

A method for improving the service life of flash used in fire alarm system

A fire alarm system, life-span technology, applied in the direction of memory address/allocation/relocation, etc., can solve problems such as life-span limitation, device failure, unsuitable for long-term operation of the system, etc., and achieve the effect of prolonging the service life and improving the service life of FLASH.

Active Publication Date: 2015-08-19
蚌埠依爱消防电子有限责任公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

FLASH devices have a feature that when a certain space is 0, it cannot be written as 1 by writing operation, but if a certain bit is 1, it can be written as 0 by writing operation. If a certain space needs to be written from 0 to 1, it must be erased. Remove the entire sector (write the entire sector as 1), and generally a sector is often relatively large, so in order to write a certain byte, it is often necessary to back up other data first, then erase the entire sector, and then write the backup As well as the data that needs to be written, the FLASH device has a service life limit. Generally, the device will fail after the number of erasing and writing exceeds 10,000 times.
Generally, the storage method of conventional historical records is to open up an area for storing historical records, and record the current writing location. When a piece of information is written, write data in the current writing location, and then write the current writing location ( Pointer) moves down, repeating this continuously. When the writing position reaches the end position of the buffer, it needs to write from the head of the buffer. At this time, the buffer at the head already has written data, so it must be read first The data of the entire sector, then erase the FLASH chip sector, and then write the new data and the original data. Therefore, after all the data is written in the buffer, each time a piece of data is written, the FLASH sector needs to be erased Once, using this method, the service life of FLASH is about 10,000 times, which is not suitable for long-term operation of the system

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 for improving the service life of flash used in fire alarm system
  • A method for improving the service life of flash used in fire alarm system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] see figure 1 , a method for improving the service life of FLASH used in a fire alarm system, wherein the quantity M of data stored in the reserved FLASH buffer is greater than the quantity N of data actually required to be stored;

[0018] The data writing process includes the following steps:

[0019] a) Each time a record is written, first determine the position of the last non-empty record, and then write a record at the position next to the position of the last non-empty record;

[0020] b) If it is found that all the buffers are non-empty after writing a piece of data, it means that the physical buffer has been written and the FLASH needs to be erased again;

[0021] c) Before erasing the sector, read the last N pieces of information temporarily stored, then erase the entire sector where the M pieces of information are located, and rewrite the N pieces of information temporarily stored just now; at this time, there are M-N pieces of information in the system The ...

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 discloses a method for prolonging the service life of a FLASH in a fire alarm system. In the method, the quantity M of data stored in the preserved FLASH buffer zone is greater than the quantity N of data which is actually required to be stored, therefore, (a), when a record is written in, the location of the last nonempty record is judged at first, then a record is written in on the next location; (b), if all the buffer zones are found to be in a nonempty state after a record is written in, the FLASH is required to be erased again; (c), before the erasure of a section, the last stored N records are read, then the whole section in which M records are stored is erased, and N messages which are stored temporally are rewritten in; (d), data is written in one by one in the space from the Mth to the Nth items until the Mth to the Nth items are written up; and (e), the steps of (b), (c) and (d) are repeated. The method for prolonging the service life of a FLASH in a fire alarm system, disclosed by the invention, can be used for adjusting the service life prolonging multiple.

Description

technical field [0001] The invention relates to a method for improving the service life of FLASH used in a fire alarm system. Background technique [0002] In the fire alarm system, a large amount of historical record information needs to be stored, and the historical records are generally stored in the FLASH device. FLASH devices have a feature that when a certain space is 0, it cannot be written as 1 by writing operation, but if a certain bit is 1, it can be written as 0 by writing operation. If a certain space needs to be written from 0 to 1, it must be erased. Remove the entire sector (write the entire sector as 1), and generally a sector is often relatively large, so in order to write a certain byte, it is often necessary to back up other data first, then erase the entire sector, and then write the backup As well as the data that needs to be written, the FLASH device has a service life limit. Generally, the device will fail after the number of erasing and writing excee...

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): G06F12/02
Inventor 冯勇石险峰翁斌李连葆黄岭赵本清汪礼苗张庆庆
Owner 蚌埠依爱消防电子有限责任公司