CN109086165A - A kind of data back up method based on single-chip microcontroller Flash, device and storage medium - Google Patents
A kind of data back up method based on single-chip microcontroller Flash, device and storage medium Download PDFInfo
- Publication number
- CN109086165A CN109086165A CN201810738332.8A CN201810738332A CN109086165A CN 109086165 A CN109086165 A CN 109086165A CN 201810738332 A CN201810738332 A CN 201810738332A CN 109086165 A CN109086165 A CN 109086165A
- Authority
- CN
- China
- Prior art keywords
- data
- area
- chip microcontroller
- backup
- backup area
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
- G06F11/1451—Management of the data involved in backup or backup restore by selection of backup contents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1438—Restarting or rejuvenating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1441—Resetting or repowering
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
The present invention discloses a kind of data back up method based on single-chip microcontroller Flash, device and storage medium, is related to singlechip technology field, comprising steps of be arranged data in the different sectors of single-chip microcontroller Flash uses area and backup area;Single-chip microcontroller power down leads to the damaged condition using area and backup area when detection data is written for the first time, is repaired according to different damaged conditions to data;Single-chip microcontroller power down leads to the damaged condition using area and backup area when detection data is modified, and is repaired according to different damaged conditions to data;It effectively prevent loss of data;The lower cost solution of increase storage chip is not needed.
Description
Technical field
The present invention relates to singlechip technology field more particularly to a kind of data back up method based on single-chip microcontroller Flash, dress
It sets and storage medium.
Background technique
Currently, the step of single-chip microcontroller Flash modification saves data, Flash data is read RAM and then modified by the first step,
Second step wipes sector, and sector is written in modified data by third step.Inside this process, most time consuming is erasing
Sector, and it is most dangerous when 51 single-chip microcontrollers of STC (need 21 milliseconds) because if the unexpected power down of single-chip microcontroller, RAM's
Data have not had, and the data of FLASH are wiped free of again, this data is just damaged;This directly affects the quality of product.
Therefore, it is badly in need of a kind of backup method of mode loss of data.
Summary of the invention
The polishing problem that the present invention is directed to complicated die casting provide a kind of data back up method based on single-chip microcontroller Flash,
Device and storage medium, to solve or at least partly alleviate the above-mentioned problems in the prior art.
To achieve the goals above, the present invention proposes a kind of data back up method based on single-chip microcontroller Flash, including following
Step:
S10, setting data uses area and backup area in the different sectors of single-chip microcontroller Flash;
Single-chip microcontroller power down leads to the damaged condition using area and backup area when S20, detection data are written for the first time, according to different damages
Bad situation repairs data;
Single-chip microcontroller power down leads to the damaged condition using area and backup area when S30, detection data modification, according to different damage feelings
Condition repairs data.
Preferably, single-chip microcontroller power down causes using area and backup area when detection data described in step S20 is written for the first time
Damaged condition is repaired data according to different damaged conditions, is included the following steps:
S201, the single-chip microcontroller power down when first write-in is using area, detection is sky using area's corrupted data and backup area after restarting, then
Area's data will be used to wipe out and re-write sector data again;
S202, the single-chip microcontroller power down after the completion of using area's write-in, it is sky that backup area is detected after restarting, then area's data will be used to replicate
Into backup area;
S203, the single-chip microcontroller power down after the completion of backup area write-in, detect backup area corrupted data, then by backup area number after restarting
Area's data will be used to copy in backup area again again according to erasing.
Preferably, single-chip microcontroller power down leads to the damage using area and backup area when detection data described in step S30 is modified
Situation is repaired data according to different damaged conditions, is included the following steps:
S301, the single-chip microcontroller power down when modifying data write-in using area, detection uses area's corrupted data, backup area data after restarting
Completely, then area's data will be used to wipe out and restore backup area data;
S302, single-chip microcontroller power down after modifying data write-in using area, detecting after restarting using the data ID of area and backup area is
It is no identical, if it is different, will then area's data be used to copy in backup area.
Preferably, whether detection is identical using the data ID of area and backup area after restarting described in step S302, if they are the same,
Then it can be used using area and backup area data.
Preferably, modification data write-in uses area, specifically comprises the following steps:
S3001, area's reading data will be used into the RAM of single-chip microcontroller;
S3002, modification data;
S3003, data ID is subtracted one;
S3004, it writes data into using area;
S3005, data are copied to backup area.
The present invention also proposes a kind of processing unit, comprising:
Single-chip microcontroller;
Memory;And
Data backup program, the data backup program are stored in the memory, and single-chip microcontroller is standby for executing data
Part program, the data backup program realize the data back up method as mentioned based on single-chip microcontroller Flash.
The present invention also proposes that a kind of computer-readable storage medium, the computer-readable storage medium are stored with base
In the data backup program of single-chip microcontroller Flash, the data backup program realization based on single-chip microcontroller Flash is based on as mentioned
The step of data back up method of single-chip microcontroller Flash.
The present invention proposes a kind of data back up method based on single-chip microcontroller Flash, device and storage medium, in single-chip microcontroller
Data are arranged in the different sectors of Flash uses area and backup area;Single-chip microcontroller power down causes to make when detection data is written for the first time
With area and the damaged condition of backup area, data are repaired according to different damaged conditions;Single-chip microcontroller when detection data is modified
Power down leads to the damaged condition using area and backup area, is repaired according to different damaged conditions to data;It effectively prevent counting
According to loss;The lower cost solution of increase storage chip is not needed.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
The structure shown according to these attached drawings obtains other attached drawings.
Fig. 1 is the data back up method flow chart based on single-chip microcontroller Flash in an embodiment of the present invention;
Fig. 2 is that area and backup area schematic diagram are used in an embodiment of the present invention, wherein figure (a) is to use area's schematic diagram;Figure
It (b) is backup area schematic diagram;
Fig. 3 is step S20 flow chart in an embodiment of the present invention;
Fig. 4 is step S30 flow chart in an embodiment of the present invention;
Fig. 5 is that the write-in of modification data uses area's method flow diagram in an embodiment of the present invention;
Fig. 6 is processing device structure diagram in an embodiment of the present invention;
Fig. 7 is computer-readable storage medium structural schematic diagram in an embodiment of the present invention;
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiment is only a part of the embodiments of the present invention, instead of all the embodiments.Base
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its
His embodiment, shall fall within the protection scope of the present invention.
It is to be appreciated that if relating to directionality instruction (such as up, down, left, right, before and after ...) in the embodiment of the present invention,
Then directionality instruction be only used for explain under a certain particular pose (as shown in the picture) between each component relative positional relationship,
Motion conditions etc., if the particular pose changes, directionality instruction is also correspondingly changed correspondingly.
In addition, being somebody's turn to do " first ", " second " etc. if relating to the description of " first ", " second " etc. in the embodiment of the present invention
Description be used for description purposes only, be not understood to indicate or imply its relative importance or implicitly indicate indicated skill
The quantity of art feature." first " is defined as a result, the feature of " second " can explicitly or implicitly include at least one spy
Sign.It in addition, the technical solution between each embodiment can be combined with each other, but must be with those of ordinary skill in the art's energy
It is enough realize based on, will be understood that the knot of this technical solution when conflicting or cannot achieve when occurs in the combination of technical solution
Conjunction is not present, also not the present invention claims protection scope within.
The present invention proposes a kind of data back up method based on single-chip microcontroller Flash;
In a kind of preferred embodiment of the present invention, as shown in Figure 1, comprising the following steps:
S10, setting data uses area and backup area in the different sectors of single-chip microcontroller Flash;
In the embodiment of the present invention, such as schemed shown in (a) and figure (b) in Fig. 2, store data using two sectors, one be using area,
One is backup area;Sector auxiliary information: there are address, data ID and CRC check in header data and tail data, the inside;
Flash: flash memory is the one kind for belonging to memory devices, is a kind of non-volatile (Non-Volatile) memory, is not having
Data also can be muchly kept under conditions of electric current supply, storage characteristics is equivalent to hard disk.
Single-chip microcontroller power down leads to the damaged condition using area and backup area when S20, detection data are written for the first time, according to difference
Damaged condition data are repaired;
In a kind of preferred embodiment of the present invention, as shown in figure 3, specifically comprising the following steps:
S201, the single-chip microcontroller power down when first write-in is using area, detection is sky using area's corrupted data and backup area after restarting, then
Area's data will be used to wipe out and re-write sector data again;
In the embodiment of the present invention, single-chip microcontroller is first powered up initialization: when first time use when, sector be all it is empty, upper
The information of sector will be written in electricity initialization the inside;After single-chip microcontroller power down phenomenon occurs, single-chip microcontroller is restarted, judges number
Completely whether according to, partial data judgment mode: header data and tail data are equal, and it is complete for being considered as this data;It is no
Then it is considered damage;
The single-chip microcontroller power down when first time, write-in was using area, system restarting are later empty or sector auxiliary information using area's data
Damage, backup area is also empty at this time, then demonstrates write-in data failure for the first time, at this moment just it is emptied;
S202, the single-chip microcontroller power down after the completion of using area's write-in, it is sky that backup area is detected after restarting, then area's data will be used to replicate
Into backup area;
In the embodiment of the present invention, the power down after the completion of using area's write-in, backup area does not complete the movement of replicate data also at this time, because
This, after restarting system, directly carries out being copied to backup area by what is be written before using area's data;
S203, the single-chip microcontroller power down after the completion of backup area write-in, detect backup area corrupted data, then by backup area number after restarting
Area's data will be used to copy in backup area again again according to erasing.
In the embodiment of the present invention, single-chip microcontroller power down after backup area is completed to be written, then the data of backup area will be damaged, this
When just backup area is wiped, then using area to copy to backup area.
Single-chip microcontroller power down leads to the damaged condition using area and backup area when S30, detection data modification, according to different damages
Bad situation repairs data.
In a kind of preferred embodiment of the present invention, as shown in figure 4, including the following steps:
S301, the single-chip microcontroller power down when modifying data write-in using area, detection uses area's corrupted data, backup area data after restarting
Completely, then area's data will be used to wipe out and restore backup area data;
In the embodiment of the present invention, using there are complete data before area and backup area, fall when modifying data write-in using area
Electricity, after turning back on, system can be detected to be damaged using area's sector auxiliary information, and backup area has complete data, at this moment just
The information for restoring backup area is wiped out using area.Since application is that numerical value is added up and recorded, so losing a unit pair
Systematic influence is little.
S302, single-chip microcontroller power down after modifying data write-in using area, detection uses the data in area and backup area after restarting
Whether ID is identical, if it is different, will then area's data be used to copy in backup area;If they are the same, then equal using area and backup area data
It can be used.
In the embodiment of the present invention, using there are complete data before area and backup area, area is used in modification data write-in
Power down afterwards, after turning back on, system can detect it is different using the data ID of area and backup area because modification data manipulation be
First write using area, thus using the data in area be certainly it is newest, at this moment just the data backup for using area.
In a kind of preferred embodiment of the present invention, the modification data write-in uses area, as shown in figure 5, specifically include as
Lower step:
S3001, area's reading data will be used into the RAM of single-chip microcontroller;
RAM: random access memory, this memory will lose its storage content when power is off.
S3002, modification data;
S3003, data ID is subtracted one;
In the embodiment of the present invention, this is to discriminate between latest data, this situation be if I am using area's data to write rear power down,
The data in that area Liang Ge are all completely, why to subtract one, because data are all 1 after sector erasing.
S3004, it writes data into using area;
S3005, data are copied to backup area.
The present invention also proposes a kind of processing unit, as shown in Figure 6, comprising: single-chip microcontroller, memory and data backup journey
Sequence, the data backup program are stored in the memory, and single-chip microcontroller is for executing data backup program, the number
The data back up method as mentioned based on single-chip microcontroller Flash is realized according to stand-by program, for example,
S10, setting data uses area and backup area in the different sectors of single-chip microcontroller Flash;
Single-chip microcontroller power down leads to the damaged condition using area and backup area when S20, detection data are written for the first time, according to different damages
Bad situation repairs data;Specifically comprise the following steps:
S201, the single-chip microcontroller power down when first write-in is using area, detection is sky using area's corrupted data and backup area after restarting, then
Area's data will be used to wipe out and re-write sector data again;
S202, the single-chip microcontroller power down after the completion of using area's write-in, it is sky that backup area is detected after restarting, then area's data will be used to replicate
Into backup area;
S203, the single-chip microcontroller power down after the completion of backup area write-in, detect backup area corrupted data, then by backup area number after restarting
Area's data will be used to copy in backup area again again according to erasing.
Single-chip microcontroller power down leads to the damaged condition using area and backup area when S30, detection data modification, according to different damages
Bad situation repairs data.Specifically comprise the following steps:
S301, the single-chip microcontroller power down when modifying data write-in using area, detection uses area's corrupted data, backup area data after restarting
Completely, then area's data will be used to wipe out and restore backup area data;
S302, single-chip microcontroller power down after modifying data write-in using area, detecting after restarting using the data ID of area and backup area is
It is no identical, if it is different, will then area's data be used to copy in backup area;If they are the same, then can be made using area and backup area data
With.
Single-chip microcontroller: the single-chip microcontroller that can be programmed repeatedly of IAP is supported.(such as: STC15W408AS etc.)
Memory is mounted in processing unit for storing program code and various data, and realize in the process of running high speed,
It is automatically completed the access of program or data.The memory includes NOR Flash.
The present invention also proposes a kind of computer-readable storage medium, as shown in Fig. 7;The computer-readable storage
Media storage has the data backup program based on single-chip microcontroller Flash, and the data backup program based on single-chip microcontroller Flash is realized
The step of data back up method as mentioned based on single-chip microcontroller Flash, for example,
S10, setting data uses area and backup area in the different sectors of single-chip microcontroller Flash;
Single-chip microcontroller power down leads to the damaged condition using area and backup area when S20, detection data are written for the first time, according to different damages
Bad situation repairs data;Specifically comprise the following steps:
S201, the single-chip microcontroller power down when first write-in is using area, detection is sky using area's corrupted data and backup area after restarting, then
Area's data will be used to wipe out and re-write sector data again;
S202, the single-chip microcontroller power down after the completion of using area's write-in, it is sky that backup area is detected after restarting, then area's data will be used to replicate
Into backup area;
S203, the single-chip microcontroller power down after the completion of backup area write-in, detect backup area corrupted data, then by backup area number after restarting
Area's data will be used to copy in backup area again again according to erasing.
Single-chip microcontroller power down leads to the damaged condition using area and backup area when S30, detection data modification, according to different damages
Bad situation repairs data.Specifically comprise the following steps:
S301, the single-chip microcontroller power down when modifying data write-in using area, detection uses area's corrupted data, backup area data after restarting
Completely, then area's data will be used to wipe out and restore backup area data;
S302, single-chip microcontroller power down after modifying data write-in using area, detecting after restarting using the data ID of area and backup area is
It is no identical, if it is different, will then area's data be used to copy in backup area;If they are the same, then can be made using area and backup area data
With.
In the description of embodiments of the present invention, it should be noted that in flow chart or described otherwise above herein
Any process or method description be construed as, indicate to include one or more for realizing specific logical function or mistake
Module, segment or the part of the code of the executable instruction of the step of journey, and the range packet of the preferred embodiment of the present invention
Include other realization, wherein sequence shown or discussed can not be pressed, including according to related function by it is basic simultaneously
Mode or in the opposite order, to execute function, this should be managed by the embodiment of the present invention person of ordinary skill in the field
Solution.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processing module or other can be from instruction
Execute system, device or equipment instruction fetch and the system that executes instruction) use, or combine these instruction execution systems, device or
Equipment and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, store, communicating, propagating
Or transfer program uses for instruction execution system, device or equipment or in conjunction with these instruction execution systems, device or equipment
Device.The more specific example (non-exhaustive list) of computer-readable medium include the following: there are one or more wirings
Electrical connection section (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium because can then be edited for example by carrying out optical scanner to paper or other media, interpret or when necessary with
Other suitable methods are handled electronically to obtain described program, are then stored in computer storage.
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all at this
Under the inventive concept of invention, using equivalent structure transformation made by description of the invention and accompanying drawing content, or directly/use indirectly
It is included in other related technical areas in scope of patent protection of the invention.
Claims (7)
1. a kind of data back up method based on single-chip microcontroller Flash, which comprises the following steps:
S10, setting data uses area and backup area in the different sectors of single-chip microcontroller Flash;
Single-chip microcontroller power down leads to the damaged condition using area and backup area when S20, detection data are written for the first time, according to different damages
Bad situation repairs data;
Single-chip microcontroller power down leads to the damaged condition using area and backup area when S30, detection data modification, according to different damage feelings
Condition repairs data.
2. the data back up method according to claim 1 based on single-chip microcontroller Flash, which is characterized in that described in step S20
Detection data when being written for the first time single-chip microcontroller power down lead to the damaged condition using area and backup area, according to different damaged conditions
Data are repaired, are included the following steps:
S201, the single-chip microcontroller power down when first write-in is using area, detection is sky using area's corrupted data and backup area after restarting, then
Area's data will be used to wipe out and re-write sector data again;
S202, the single-chip microcontroller power down after the completion of using area's write-in, it is sky that backup area is detected after restarting, then area's data will be used to replicate
Into backup area;
S203, the single-chip microcontroller power down after the completion of backup area write-in, detect backup area corrupted data, then by backup area number after restarting
Area's data will be used to copy in backup area again again according to erasing.
3. the data back up method according to claim 1 based on single-chip microcontroller Flash, which is characterized in that described in step S30
Detection data modification when single-chip microcontroller power down lead to the damaged condition using area and backup area, according to different damaged condition logarithms
According to being repaired, include the following steps:
S301, the single-chip microcontroller power down when modifying data write-in using area, detection uses area's corrupted data, backup area data after restarting
Completely, then area's data will be used to wipe out and restore backup area data;
S302, single-chip microcontroller power down after modifying data write-in using area, detecting after restarting using the data ID of area and backup area is
It is no identical, if it is different, will then area's data be used to copy in backup area.
4. the data back up method according to claim 3 based on single-chip microcontroller Flash, which is characterized in that step S302 institute
Whether detection is identical using the data ID of area and backup area after that states restart, and if they are the same, then uses area and backup area data
It uses.
5. the data back up method according to claim 3 based on single-chip microcontroller Flash, which is characterized in that the modification
Data write-in uses area, specifically comprises the following steps:
S3001, area's reading data will be used into the RAM of single-chip microcontroller;
S3002, modification data;
S3003, data ID is subtracted one;
S3004, it writes data into using area;
S3005, data are copied to backup area.
6. a kind of processing unit characterized by comprising
Single-chip microcontroller;
Memory;And
Data backup program, the data backup program are stored in the memory, and single-chip microcontroller is standby for executing data
Part program, the data backup program realize the number based on single-chip microcontroller Flash as described in any one of claims 1 to 5
According to backup method.
7. a kind of computer-readable storage medium, which is characterized in that the computer-readable storage medium, which is stored with, to be based on
The data backup program of single-chip microcontroller Flash, the data backup program based on single-chip microcontroller Flash realize such as claim 1 to 5
Any one of described in the data back up method based on single-chip microcontroller Flash the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810738332.8A CN109086165A (en) | 2018-07-06 | 2018-07-06 | A kind of data back up method based on single-chip microcontroller Flash, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810738332.8A CN109086165A (en) | 2018-07-06 | 2018-07-06 | A kind of data back up method based on single-chip microcontroller Flash, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109086165A true CN109086165A (en) | 2018-12-25 |
Family
ID=64837181
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810738332.8A Pending CN109086165A (en) | 2018-07-06 | 2018-07-06 | A kind of data back up method based on single-chip microcontroller Flash, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109086165A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111284139A (en) * | 2020-01-16 | 2020-06-16 | 珠海艾派克微电子有限公司 | Consumable chip repairing method and consumable chip |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103176859A (en) * | 2011-12-21 | 2013-06-26 | 北京普源精电科技有限公司 | Flash data backup/recovery method, equipment and signal source |
CN103531234A (en) * | 2012-07-06 | 2014-01-22 | 河南思维自动化设备股份有限公司 | Power-down protection method in write operation process of NandFlash memory |
US20140189420A1 (en) * | 2008-03-01 | 2014-07-03 | Kabushiki Kaisha Toshiba | Memory system |
CN104166627A (en) * | 2014-09-02 | 2014-11-26 | 科大智能电气技术有限公司 | NAND-FLASH writing operation method based on single-chip microcomputer |
-
2018
- 2018-07-06 CN CN201810738332.8A patent/CN109086165A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140189420A1 (en) * | 2008-03-01 | 2014-07-03 | Kabushiki Kaisha Toshiba | Memory system |
CN103176859A (en) * | 2011-12-21 | 2013-06-26 | 北京普源精电科技有限公司 | Flash data backup/recovery method, equipment and signal source |
CN103531234A (en) * | 2012-07-06 | 2014-01-22 | 河南思维自动化设备股份有限公司 | Power-down protection method in write operation process of NandFlash memory |
CN104166627A (en) * | 2014-09-02 | 2014-11-26 | 科大智能电气技术有限公司 | NAND-FLASH writing operation method based on single-chip microcomputer |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111284139A (en) * | 2020-01-16 | 2020-06-16 | 珠海艾派克微电子有限公司 | Consumable chip repairing method and consumable chip |
CN111284139B (en) * | 2020-01-16 | 2021-06-22 | 珠海艾派克微电子有限公司 | Consumable chip repairing method and consumable chip |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TW392173B (en) | Method for controlling non volatile semiconductor memory | |
US8046528B2 (en) | Data writing method for flash memory, and flash memory controller and storage device thereof | |
US7911840B2 (en) | Logged-based flash memory system and logged-based method for recovering a flash memory system | |
CN111752487B (en) | Data recovery method and device and solid state disk | |
US10061655B2 (en) | Volatile cache reconstruction after power failure | |
US20100180065A1 (en) | Systems And Methods For Non-Volatile Cache Control | |
US9690642B2 (en) | Salvaging event trace information in power loss interruption scenarios | |
TWI443513B (en) | Memory storage device, memory controller thereof, and method for programming data thereof | |
CN103914407B (en) | A kind of SD card power down protection, restoration methods and the SD card with power down protection | |
CN101567217A (en) | Flash memory safely writing method and data writing method | |
CN107678420B (en) | engine data online storage method | |
US20130166934A1 (en) | Memory storage device, memory controller and controlling method | |
CN111143132B (en) | BIOS recovery method, device, equipment and readable storage medium | |
CN111984365B (en) | Virtual machine virtual disk dual-live implementation method and system | |
CN102541690A (en) | Intelligent card and method for recovering data | |
CN107239411A (en) | A kind of Vehicle Controller EMS memory management process and system | |
CN105786545B (en) | Breakpoint recovery method and system based on heterogeneous hybrid memory | |
CN108874574B (en) | Garbage recycling method and related device | |
CN104461791A (en) | Information processing method and device | |
CN104115116A (en) | Systems and methods for managing data in a device for hibernation states | |
US20220214817A1 (en) | Memory system and operating method thereof | |
CN109086165A (en) | A kind of data back up method based on single-chip microcontroller Flash, device and storage medium | |
CN117931091B (en) | Abnormal power failure processing method, device, equipment, medium and product | |
JP3028055B2 (en) | PC card system and program rewriting method | |
CN111142792B (en) | Power-down protection method of storage device |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181225 |