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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 