CN104978154A - Cache operation-based flash rapid read-write method and system - Google Patents

Cache operation-based flash rapid read-write method and system Download PDF

Info

Publication number
CN104978154A
CN104978154A CN201510444228.4A CN201510444228A CN104978154A CN 104978154 A CN104978154 A CN 104978154A CN 201510444228 A CN201510444228 A CN 201510444228A CN 104978154 A CN104978154 A CN 104978154A
Authority
CN
China
Prior art keywords
log
flash
data
buffer zone
address
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
Application number
CN201510444228.4A
Other languages
Chinese (zh)
Inventor
丁峰
江俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Tianyu Information Industry Co Ltd
Original Assignee
Wuhan Tianyu Information Industry Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Wuhan Tianyu Information Industry Co Ltd filed Critical Wuhan Tianyu Information Industry Co Ltd
Priority to CN201510444228.4A priority Critical patent/CN104978154A/en
Publication of CN104978154A publication Critical patent/CN104978154A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a cache operation-based flash rapid read-write method and a system, and relates to the field of Java cards. The read-write method comprises steps of establishing a flash cache area in a Java card; performing flash writing operation and forming the flash writing operation of every time into a log and storing the logs into the flash cache area; when the cache area is full or the Java card is abnormal, data in the flash cache area is updated into a target flash at a time; performing flash reading operation, judging where there is corresponding log in the flash cache area according to address data of the target flash, and reading the corresponding data of the log if there is or reading from the address data of the target flash if there is not. According to the invention, read-write operation of the flash operation is simplified; read-write efficiency of the Java card is increased; and application performance of Java cards based on flash technology is further improved.

Description

A kind of flash rapid read-write method based on caching and system
Technical field
The present invention relates to Java card field, is specifically a kind of flash rapid read-write method based on caching and system.
Background technology
Java card is member minimum in Java platform, and execution environment of its setting is chip on smart card or the environment having strict hardware constraints.The appearance of Java card, the application level in order to the Java that expands on the one hand, also be in order to the characteristic of Java platform and the benefit of Java are taken on smart card on the one hand, due to the platform-neutral of Application and Development and security on Java card, Java card has been used in multiple fields such as finance and communication.
In Java card system, based on the Java card of flash technique, Code section and user's space are all in flash; For flash, during write operation, each bit position can only be updated to 0 from 1, and can not be updated to 1 from 0, and minimum r/w cell is 1 byte, and when wiping operation, the whole bit position of one page or a sector can be updated to 1, minimum wiping unit is one page.If the address original value write is not full 0 xFF, so needs first destination address place page to be wiped, and then carry out write operation; And the erasing of flash must be whole page, whole sector (multipage) erasing, even if so upgrade a byte, also can cause needing whole page to wipe, then more new data, cause read-write efficiency low, reduce the application performance of the Java card based on flash technique.
Based on the Java card of flash technique, time due to upgating object, also need the page backup considering flash, so an assignment to object, need dual backup and upgating object territory, at least need the flash of three times to operate, flash product renewing Nonvolatile data, operate more loaded down with trivial details, performance can be greatly affected.
Summary of the invention
For the defect existed in prior art, the object of the present invention is to provide a kind of flash rapid read-write method based on caching and system, simplify flash and operate read-write operation, improve the read-write efficiency of Java card, and then improve the application performance based on the Java card of flash technique.
For reaching above object, the present invention takes a kind of flash rapid read-write method based on caching, comprising: in the Java card based on flash technique, set up a flash buffer zone; Write flash operation, operate formation log by writing flash at every turn, be saved in flash buffer zone; When buffer zone is filled with or Java card is abnormal, be updated in object flash disposable for the data in flash buffer zone; Read flash operation, according to the address date of object flash, judge whether there is corresponding log in described flash buffer zone, if so, read the data that this log is corresponding, if not, read from the address date of object flash.
On the basis of technique scheme, described Java card comprises Java card virtual machine and Java card application programming interface, write flash operation, comprise and renewal rewards theory is carried out to object, array, static object in Java card virtual machine, and the copy function in Java card application programming interface.
On the basis of technique scheme, described in read flash operation in, the data basis for estimation of corresponding log is, judge whether flash buffer zone exists effective log, if had, judge that whether the data of a log are consistent with the address date of object flash, if, illustrate to there is corresponding log, access the data of this log, if not, continue to search next log, until all log of poll, if do not had, directly read from the address date of object flash.
On the basis of technique scheme, described flash buffer zone initial value is full 0 xFF, ensures as full wiping state, the corresponding significant notation relevant information of each log, when significant notation relevant information is full FF, then log from record.
On the basis of technique scheme, when re-writing a flash operation, judge whether the address date of object flash intersects or overlap with the data of existing log in flash buffer zone, if not, in flash buffer zone, if so, the data of former log and the address date of object flash are got intersection by a newly-increased log, newly-increased for a described intersection log is recorded in flash buffer zone, and it is invalid to arrange former log.
On the basis of technique scheme, when re-writing a flash operation, from log start address, judge that it starts and mark whether that effectively if not, then the start address of flash buffer zone is the address of this log, if, according to the information in log, search the start address of this log, described startup is labeled as the significant notation of Article 1 log.
On the basis of technique scheme, judge that whether the address date of object flash intersects with the data of existing log in flash buffer zone or before overlap, first judge whether residue log space, flash buffer zone enough stores the data of this log, if, then recalculate actual address and the length of this log, continue to judge that whether residue log space, flash buffer zone is enough; If not, be updated in object flash disposable for the data in flash buffer zone, and the log data before emptying, using this log as Article 1 log record; The data of described existing log intersect or overlapping, be judge before effective log whether have with the address of this log and to intersect or overlapping.
On the basis of technique scheme, be describedly updated to disposable for the data in flash buffer zone in object flash, be specially, the Physical Page corresponding to every bar log carries out actual renewal rewards theory.
The present invention also provides a kind of flash fast reading and writing system based on caching, comprise flash buffer zone and fast reading and writing manager, flash buffer zone comprises transaction tag storer and data logging memory, transaction tag memory size is one page or multipage, for preserving the affairs backup mark header of every bar log, comprise the effective, invalid, abnormal of log, and whole piece affairs terminate, offset; Described data logging memory comprises significant notation, destination address, data length, data record and log check information, and significant notation is used for indicating that whether this log is effective, and destination address, data length, data record are used for showing flash information; Fast reading and writing manager comprises fast fast reading manager and fast literary sketch manager, and fast fast reading manager, for judging that whether every bar log is effective, effective basis judges whether this log address is consistent with object flash address, and does alignment processing; Fast literary sketch manager for judging the start address of every bar log, whether flash buffer zone remains log space, effectively log whether have with this operation address and intersect, and alignment processing is made to judgement, record data to data logging memory, recording mark is to transaction tag storer.
Beneficial effect of the present invention is: in the Java card based on flash technique, the repeatedly write operation of object is put into flash buffer zone to preserve, directly read from flash buffer area during subsequent access, expire at flash buffer area or carry out unified submission when detecting in process of exchange and have power down, to reach the effect of erasable flash least number of times, compare and directly write object, decrease the process writing backup area and erasable object district, do not using extra RAM (randomaccess memory, random access memory) resource prerequisite under, improve the efficiency of flash read-write significantly, improve travelling speed and the application performance of described Java card, therefore the serviceable life of flash product can be saved.
Accompanying drawing explanation
Fig. 1 is transaction tag storer schematic diagram in the embodiment of the present invention;
Fig. 2 is data logging memory schematic diagram in the embodiment of the present invention;
Fig. 3 is the embodiment of the present invention fast literary sketch flash operational flowchart;
Fig. 4 is the process flow diagram of the log stored before embodiment of the present invention system is submitted to.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.
The present invention is based on the flash rapid read-write method of caching, comprising:
In the Java card based on flash technique, set up a flash buffer zone, flash buffer zone initial value is full 0 xFF, ensures as full wiping state.Described Java card comprises JCVM (JavaCard Virtual Machine, Java card virtual machine) and Java card API (ApplicationProgramming Interface, application programming interface).
Write flash operation, comprise and renewal rewards theory (putfield_x, x_astore, putstatic_x) is carried out to object, array, static object in Java card virtual machine, and the copy function in Java card API application.Operate formation log by writing flash at every turn, be saved in flash buffer zone, each log is a corresponding extra significant notation relevant information simultaneously, when extra significant notation relevant information is full FF, then and log record from.When buffer zone is filled with or Java card is abnormal, be updated to disposable for the data in flash buffer zone in object flash, it is invalid that extra significant notation relevant information is set to.Describedly be updated to disposable for the data in flash buffer zone in object flash, be specially, the Physical Page corresponding to every bar log backs up, and then wipes, and finally writes flash operation to every bar log.
When re-writing a flash operation, judge whether the address date of object flash intersects or overlap with the data of existing log in flash buffer zone, if not, a newly-increased log in flash buffer zone, if, the data of former log and the address date of object flash are got intersection, newly-increased for a described intersection log is recorded in flash buffer zone, and it is invalid to arrange former log; Ensure all exist intersect or overlap log in only have a log to be effective
Read flash operation, judge whether flash buffer zone exists effective log, then according to the address date of object flash, judge whether flash buffer zone exists corresponding log, from this log data field, if so, read corresponding data, if not, read from the address date of object flash.Judge whether to there is corresponding log, more specifically, comprise step as follows:
Step 1: judge whether flash buffer zone exists effective log, if so, enter step 2; If not, step 6 is entered.
Step 2: judged whether non-poll log, if so, entered step 3; If not, step 6 is entered.
Step 3: judge that whether the data of a log are consistent with the address date of object flash, if so, enter step 4; If not, step 5 is entered.
Step 4: illustrate to there is corresponding log, accesses the data of this log, terminates.
Step 5: continue to search next log, proceed to step 2.
Step 6: directly read from the address date of object flash.
The present invention is based on the flash fast reading and writing system of caching, comprise flash buffer zone and fast reading and writing manager, flash buffer zone comprises transaction tag storer and data logging memory.
As shown in Figure 1, transaction tag memory size is one page or multipage, for preserving the affairs backup mark header of every bar log, comprise the effective, invalid, abnormal of log, and whole piece affairs terminates, offsets.In the present embodiment, significant notation relevant information (affairs backup mark head) DFLAG (as DFLAG1, DFLAG2 ... DFLAGn), size is 4 bytes, initial value is FFFFFFFF, significant notation index DFLAG.ActiveFLAG is 0xA5C3, representing that log is effective, is that 0 expression log is invalid, for other values are that log is abnormal; Transaction tag DFLAG.logEndFlag is that 1 expression whole piece affairs terminate, otherwise represent that these affairs are follow-up and also have log, time affairs are submitted to, putting the last item DFLAG.logEndFlag is 1, and the value of other all DFLAG.logEndFlag of these affairs is write as 0; Offset marker DFLAG.logOffset represents the offset address of this log, for easy-to-look-up log data, time affairs are submitted to, writes together with DFLAG.logEndFlag.
As shown in Figure 2, described data logging memory comprises significant notation ActiveFLAG, destination address ADDR, data length DATALEN, data record DATA and log check information checkvalue, significant notation ActiveFLAG is used for indicating that whether this log is effective, for secondary verification, in all effective log records there is not overlap or intersection in destination address.Destination address ADDR, record log store the destination address of data; Data length DATALEN, record log store the length of data; Data record DATA, stores data; Log check information checkvalue, stores redundancy check and (check sum except significant notation) of log information.When significant notation ActiveFLAG is 0xA55AC369 effectively, for invalid during non-zero xA55AC369; ADDR, DATALEN and DATA etc. show concrete flash information, and School Affairs is distorted for detecting data.
Fast reading and writing manager comprises fast fast reading manager and fast literary sketch manager, and fast fast reading manager, for judging that whether every bar log is effective, effective basis judges whether this log address is consistent with object flash address, and does alignment processing; Fast literary sketch manager for judging the start address of every bar log, whether flash buffer zone remains log space, effectively log whether have with this operation address and intersect or overlap, and alignment processing is made to judgement, record data to data logging memory, recording mark is to transaction tag storer.
Below to re-write flash operation, write assigned address address, DATA data instance that length is length, the present invention will be further described.
S101. transaction tag storer starts to judge Article 1 log most.
S102. judge that whether the significant notation index DFLAG.ActiveFlag of this log is effective, that is, whether DFLAG.ActiveFlag is 0xFFFF, if fruit enters S107; If not, S103 is entered.
S103. according to the information of log record, search the start address of this log, that is, from affairs mark memory, read log relevant information, enter S104.
S104. judge whether residue log space, flash buffer zone enough stores the data of this log, if so, enters S105; If not, S106 is entered.
S105. transaction tag storer judges that whether the significant notation index DFLAG.ActiveFlag of this log is effective, that is, whether this DFLAG.ActiveFlag is 0xFFFF, if fruit enters S108; If not, S109 is entered.
S106. the log stored before system submission, is updated in object flash disposable for the data in flash buffer zone, and the log data before emptying, enter S107.
The start address of S107.flash buffer zone is the address of this log, that is, logaddr=log start address, enters S108.
S108. judge whether residue log space, flash buffer zone enough stores the data of this log, that is, whether the storage area needed for this log is enough, if so, enters S114; If not, S117 is entered.
S109. judge that whether this log is effective, namely whether DFLAG.ActiveFlag equals 0xA5C3, if so, enters S110; If not, S113 is entered.
S110. from affairs mark memory, in the log of skew DFLAG.logOffset, read relevant information, enter S111.
S111. judge whether the address date of object flash intersects or overlap with the data of existing log in flash buffer zone, if so, enters S112; If not, S113 is entered.
S112. assigned address address supplements the data of intersection or overlap, and the corresponding increase of length length, enters S113.
S113. search next transaction tag, enter S105.
S114. record data to the log in data logging memory, write original address address, the length length of log, DATA data and checkvalue, ActiveFlag respectively.
S115. this transaction tag memory data puts DFLAG.ActiveFlag is 0xA5C3.
S116. the log before searching successively, intersect having with this log or overlapping log, arranging DFLAG.ActiveFlag is invalid flag 0x0000, terminates.
S117. judge whether this log is Article 1 log, if so, enters S118; If not, S106 is entered.
S118. illustrate that whole flash buffer zone is all not enough to store this log, directly upgrade destination data, do not record log, terminate.
In above-mentioned steps S106, the concrete steps of the log that system stores before submitting to are:
A101. from Article 1 log.
A102. according to transaction tag DFLAG.logEndFlag attribute, judge whether to find and carry the log that transaction tag DFLAG.logEndFlag is 1, if so, enter A104; If not, A103 is entered;
A103. representing that whole piece affairs do not terminate, and without the need to recovering data to object district, enter A109, terminating.
A104. record this n-th log (n >=1), judge in data logging memory, whether the significant notation ActiveFlag of this log is effective, if so, enters A105; If not, A109 is entered.
A105. directly call page backup to write, carry out the renewal of destination address data.
A106. according to the structure of transaction tag storer, continue to search next log;
A107. whether this log is after described n-th log, if not, enters A104; If so, A108 is entered;
A108. whether the DFLAG.ActiveFlag of this log is 0xFFFF, if so, enters A109; If not, A102 is entered.
A109. represent that log has inquired about, empty transaction tag storer, empty data logging memory, log off submission flow process, terminates.
The present invention is not limited to above-mentioned embodiment, and for those skilled in the art, under the premise without departing from the principles of the invention, can also make some improvements and modifications, these improvements and modifications are also considered as within protection scope of the present invention.The content be not described in detail in this instructions belongs to the known prior art of professional and technical personnel in the field.

Claims (9)

1. based on a flash rapid read-write method for caching, it is characterized in that, comprising: in the Java card based on flash technique, set up a flash buffer zone;
Write flash operation, operate formation log by writing flash at every turn, be saved in flash buffer zone; When buffer zone is filled with or Java card is abnormal, be updated in object flash disposable for the data in flash buffer zone;
Read flash operation, according to the address date of object flash, judge whether there is corresponding log in described flash buffer zone, if so, read the data that this log is corresponding, if not, read from the address date of object flash.
2. as claimed in claim 1 based on the flash rapid read-write method of caching, it is characterized in that: described Java card comprises Java card virtual machine and Java card application programming interface, write flash operation, comprise and renewal rewards theory is carried out to object, array, static object in Java card virtual machine, and the copy function in Java card application programming interface.
3. as claimed in claim 1 based on the flash rapid read-write method of caching, it is characterized in that: described in read flash operation in, the data basis for estimation of corresponding log is, judge whether flash buffer zone exists effective log, if had, judge that whether the data of a log are consistent with the address date of object flash, if, illustrate to there is corresponding log, access the data of this log, if not, continue to search next log, until all log of poll, if do not had, directly read from the address date of object flash.
4. as claimed in claim 1 based on the flash rapid read-write method of caching, it is characterized in that: described flash buffer zone initial value is full 0 xFF, ensure as entirely to wipe state, the corresponding significant notation relevant information of each log, when significant notation relevant information is full FF, then log from record.
5. as claimed in claim 1 based on the flash rapid read-write method of caching, it is characterized in that: when re-writing a flash operation, judge whether the address date of object flash intersects or overlap with the data of existing log in flash buffer zone, if not, in flash buffer zone, if so, the data of former log and the address date of object flash are got intersection by a newly-increased log, newly-increased for a described intersection log is recorded in flash buffer zone, and it is invalid to arrange former log.
6. as claimed in claim 5 based on the flash rapid read-write method of caching, it is characterized in that: when re-writing a flash operation, from log start address, judge that it starts and mark whether that effectively if not, then the start address of flash buffer zone is the address of this log, if, according to the information in log, search the start address of this log, described startup is labeled as the significant notation of Article 1 log.
7. as claimed in claim 5 based on the flash rapid read-write method of caching, it is characterized in that: judge that whether the address date of object flash intersects with the data of existing log in flash buffer zone or before overlap, first judge whether residue log space, flash buffer zone enough stores the data of this log, if, then recalculate actual address and the length of this log, continue to judge that whether residue log space, flash buffer zone is enough; If not, be updated in object flash disposable for the data in flash buffer zone, and the log data before emptying, using this log as Article 1 log record; The data of described existing log intersect or overlapping, be judge before effective log whether have with the address of this log and to intersect or overlapping.
8. the flash rapid read-write method based on caching as described in claim 1 or 7, be it is characterized in that: be describedly updated in object flash disposable for the data in flash buffer zone, be specially, the Physical Page corresponding to every bar log carries out actual renewal rewards theory.
9., based on the flash fast reading and writing system based on caching of method described in claim 1, it is characterized in that, comprise flash buffer zone and fast reading and writing manager,
Flash buffer zone comprises transaction tag storer and data logging memory, transaction tag memory size is one page or multipage, for preserving the affairs backup mark header of every bar log, comprise the effective, invalid, abnormal of log, and whole piece affairs terminate, offset; Described data logging memory comprises significant notation, destination address, data length, data record and log check information, and significant notation is used for indicating that whether this log is effective, and destination address, data length, data record are used for showing flash information;
Fast reading and writing manager comprises fast fast reading manager and fast literary sketch manager, and fast fast reading manager, for judging that whether every bar log is effective, effective basis judges whether this log address is consistent with object flash address, and does alignment processing; Fast literary sketch manager for judging the start address of every bar log, whether flash buffer zone remains log space, effectively log whether have with this operation address and intersect, and alignment processing is made to judgement, record data to data logging memory, recording mark is to transaction tag storer.
CN201510444228.4A 2015-07-27 2015-07-27 Cache operation-based flash rapid read-write method and system Pending CN104978154A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510444228.4A CN104978154A (en) 2015-07-27 2015-07-27 Cache operation-based flash rapid read-write method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510444228.4A CN104978154A (en) 2015-07-27 2015-07-27 Cache operation-based flash rapid read-write method and system

Publications (1)

Publication Number Publication Date
CN104978154A true CN104978154A (en) 2015-10-14

Family

ID=54274700

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510444228.4A Pending CN104978154A (en) 2015-07-27 2015-07-27 Cache operation-based flash rapid read-write method and system

Country Status (1)

Country Link
CN (1) CN104978154A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107515808A (en) * 2017-08-08 2017-12-26 百富计算机技术(深圳)有限公司 Log recording method, device, computer equipment and computer-readable recording medium
CN108108271A (en) * 2017-12-25 2018-06-01 飞天诚信科技股份有限公司 It is a kind of to realize affairs and the method and device of power down protection unified management
CN110471626A (en) * 2019-08-15 2019-11-19 深圳融卡智能科技有限公司 Nor Flash management level and method applied to Java Card
CN111158607A (en) * 2019-12-31 2020-05-15 潍柴动力股份有限公司 Data erasing and writing operation processing method and system, electronic equipment and storage medium
CN112579004A (en) * 2020-12-17 2021-03-30 杭州艾芯智能科技有限公司 Method, system, computer equipment and storage medium for quickly deleting flash data
CN112948172A (en) * 2021-02-01 2021-06-11 北京中电华大电子设计有限责任公司 Mirror image protection method and data structure based on FLASH chip with page atomicity

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070169043A1 (en) * 2006-01-09 2007-07-19 Sun Microsystems, Inc. Supporting applets on a high end platform
CN101075241A (en) * 2006-12-26 2007-11-21 腾讯科技(深圳)有限公司 Method and system for processing buffer
CN102063384A (en) * 2009-11-13 2011-05-18 恒宝股份有限公司 Method for performing read-write operation on programmable read-only memory with cache by JAVA card
CN102681866A (en) * 2011-11-22 2012-09-19 飞天诚信科技股份有限公司 Method and device for running Java programs

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070169043A1 (en) * 2006-01-09 2007-07-19 Sun Microsystems, Inc. Supporting applets on a high end platform
CN101075241A (en) * 2006-12-26 2007-11-21 腾讯科技(深圳)有限公司 Method and system for processing buffer
CN102063384A (en) * 2009-11-13 2011-05-18 恒宝股份有限公司 Method for performing read-write operation on programmable read-only memory with cache by JAVA card
CN102681866A (en) * 2011-11-22 2012-09-19 飞天诚信科技股份有限公司 Method and device for running Java programs

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107515808A (en) * 2017-08-08 2017-12-26 百富计算机技术(深圳)有限公司 Log recording method, device, computer equipment and computer-readable recording medium
CN107515808B (en) * 2017-08-08 2020-09-11 百富计算机技术(深圳)有限公司 Log recording method, apparatus, computer device and computer readable storage medium
CN108108271A (en) * 2017-12-25 2018-06-01 飞天诚信科技股份有限公司 It is a kind of to realize affairs and the method and device of power down protection unified management
CN108108271B (en) * 2017-12-25 2020-11-03 飞天诚信科技股份有限公司 Method and device for realizing unified management of affairs and power failure protection
CN110471626A (en) * 2019-08-15 2019-11-19 深圳融卡智能科技有限公司 Nor Flash management level and method applied to Java Card
CN110471626B (en) * 2019-08-15 2023-04-25 无锡融卡科技有限公司 Nor Flash management layer and method applied to Java Card
CN111158607A (en) * 2019-12-31 2020-05-15 潍柴动力股份有限公司 Data erasing and writing operation processing method and system, electronic equipment and storage medium
CN111158607B (en) * 2019-12-31 2023-11-17 潍柴动力股份有限公司 Data erasing operation processing method, system, electronic equipment and storage medium
CN112579004A (en) * 2020-12-17 2021-03-30 杭州艾芯智能科技有限公司 Method, system, computer equipment and storage medium for quickly deleting flash data
CN112948172A (en) * 2021-02-01 2021-06-11 北京中电华大电子设计有限责任公司 Mirror image protection method and data structure based on FLASH chip with page atomicity

Similar Documents

Publication Publication Date Title
CN104978154A (en) Cache operation-based flash rapid read-write method and system
JP5329884B2 (en) Portable electronic device and data processing method in portable electronic device
CN103270500A (en) Transaction log recovery
US20070150645A1 (en) Method, system and apparatus for power loss recovery to enable fast erase time
US9772937B2 (en) Data processing method, memory controller and memory storage apparatus
US20090037646A1 (en) Method of using a flash memory for a circular buffer
CN103996412A (en) Power-fail protection method applied to intelligent-card nonvolatile memories
CN110673789B (en) Metadata storage management method, device, equipment and storage medium of solid state disk
CN109685190B (en) Power-down protection method and device for IC card
CN109117383A (en) Method for managing flash memory module and flash memory controller
CN109669889B (en) Light Nor Flash control method and device
CN101699476A (en) Data processing method and device of smart cards
CN101702139A (en) Method and device for accessing data of Nand flash memory
CN101241469B (en) Method and device for storing and reading data in embedded system
US20070005929A1 (en) Method, system, and article of manufacture for sector mapping in a flash device
CN107341049B (en) Transaction optimization processing method and device
WO2019062147A1 (en) Reading and writing method and apparatus for counter, device, and storage medium
CN106502584B (en) A method of improving the utilization rate of solid state hard disk write buffer
CN105677244B (en) A method of reducing the solid state disk write amplification of TLC flash memory
CN102521146A (en) Data addressing storage method of flash memory block subdivision
JP5104653B2 (en) IC card and IC card program
CN113918485B (en) Method, device, equipment and storage medium for preventing flash memory data from being lost
CN111142792B (en) Power-down protection method of storage device
CN111008159B (en) Data protection method, device, equipment and storage medium for storage equipment
CN103824101B (en) Logic card reading/writing method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20151014