CN1228716C - Non-volatile storage access system and access method thereof - Google Patents

Non-volatile storage access system and access method thereof Download PDF

Info

Publication number
CN1228716C
CN1228716C CNB031531865A CN03153186A CN1228716C CN 1228716 C CN1228716 C CN 1228716C CN B031531865 A CNB031531865 A CN B031531865A CN 03153186 A CN03153186 A CN 03153186A CN 1228716 C CN1228716 C CN 1228716C
Authority
CN
China
Prior art keywords
data
page number
block
central processing
processing unit
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.)
Expired - Fee Related
Application number
CNB031531865A
Other languages
Chinese (zh)
Other versions
CN1485745A (en
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.)
E Ten Information Systems Co Ltd
Original Assignee
E Ten Information Systems 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 E Ten Information Systems Co Ltd filed Critical E Ten Information Systems Co Ltd
Priority to CNB031531865A priority Critical patent/CN1228716C/en
Publication of CN1485745A publication Critical patent/CN1485745A/en
Application granted granted Critical
Publication of CN1228716C publication Critical patent/CN1228716C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to a non-volatile storage access system and an access method thereof. The system comprises a non-volatile storage device, a storage unit, and a central processing unit, wherein the non-volatile storage device comprises a first area used for storing program codes, and a second area used for accessing date and forming a plurality of storing area blocks through formatting processing. Each storing area block is provided with a plurality of page numberings, and each page numbering is provided with at least one byte. Then, the page numberings are used as basic processing units for reading and writing, and the area blocks are used as basic processing units for erasing. The storing unit is provided with a plurality of temporary storage area sections. The central processing unit reads and writes the page numberings of the storage area blocks through temporary storage area blocks. When data is written in, the central processing unit writes the date on the page numberings of the storage area blocks in batches and in sequence for at least one time, interruption requirements are turned off in the process of writing every time, and the interruption requirements are turned on after writing is completed every time. The non-volatile storage device can be simultaneously used for storing data and program codes, and can improve the access efficiency of storing data and programs.

Description

Non-volatility memorizer access system and access method thereof
Technical field
The present invention relates to the technical field of non-volatile storage, refer to a kind of non-volatility memorizer access system and access method thereof especially.
Background technology
Along with being in fashion of portable electronic product, flash memory (Flash Memory) has been widely used in portable electronic product and the relevant miniature storage device thereof.In existing commercial product, modal flash memory is mainly and non-type (NAND Type) flash memory AOI type (NOR Type) flash memory.It is reading (Read), writing (Write) and is erasing (Erase) when action with NOT-AND flash, be as base conditioning unit with block (Block), and low price based on this specific character, makes the type flash memory be applied in large quantities on the Storage Media (Storage Medium).The price of or/no type flash memory is then comparatively expensive, it the time is to be base conditioning unit with byte (Byte) writing and read action, erase when action then with block as base conditioning unit, so the or/no type flash memory is fit to be used for the stored routine actuating code, and be not suitable for being applied to general portable memory device (for example: dish) with oneself.
Yet the or/no type flash memory is to have certain specification when dispatching from the factory, for example: 16 megabyte (MB), 32MB or 64MB etc. if the program actuating code of desiring to deposit only needs 25MB, must use the module of 32MB, and the space that therefore will have 7MB can't effectively utilize.If or/no type flash memory rest parts as Storage Media (promptly being used for storing general data or archives economy), then can effectively utilize storer.But, it is to be base conditioning unit with the byte that the or/no type flash memory data is write fashionable, and the action of erasing is to be base conditioning unit with the block, and can not read simultaneously and write activity the or/no type flash memory simultaneously, make that when the or/no type flash memory was used for store program code and archives economy simultaneously, its operational effectiveness will be very low.
Summary of the invention
Fundamental purpose of the present invention is that a kind of non-volatility memorizer access system and access method thereof are being provided, and makes non-volatility memorizer to be used for simultaneously storing data and program code.
Another object of the present invention is that a kind of non-volatility memorizer access system and access method thereof are being provided, and enables to improve the access efficiency that is used for simultaneously storing data with the non-volatility memorizer of program.
Above-mentioned purpose of the present invention is realized by following technical scheme.
A kind of non-volatility memorizer access system, be framework in a portable electronic devices, comprising:
One or non-memory storage, it comprises a first area and a second area, this first area is in order to store program code, this second area is in order to the access data, and this second area is to handle via a format, to form a plurality of storage blocks, each stores block and has a plurality of page numbers, each page number has at least one byte, and making with page number is the base conditioning unit that reads and write, and is the base conditioning unit of erasing with block;
One storage unit has a plurality of temporary sections; And
One CPU (central processing unit), before the access second area, judge earlier and read action or write activity at present, if read action, then this CPU (central processing unit) can opens interrupters require action, and begins that the described storage block in the second area is carried out data and read; If write activity, this CPU (central processing unit) can be closed the interrupt request action earlier, and wherein at least one section of a plurality of temporary sections that the temporary transient write storage unit of data to be written is comprised, begin that again the data in the storage unit are at least once write data in order in batches and store the page number of block in these, and writing fashionable its interrupt request of closing at every turn, write at every turn and open its interrupt request after finishing.
This second area is to comprise access section and redundant district.
The storage area number of blocks in this access section and these redundant districts is two-to-one.
When this CPU (central processing unit) writes data in the page number in this redundant district, then trigger the action of erasing.
When this CPU (central processing unit) writes data when one stores the page number of block,, then represent this second area insufficient space if this stores the existing data of page number of block.
The data that at every turn writes is the sign during the page number annotation one that writes is used after these store the page number of block.
When this CPU (central processing unit) writes a modification data when one stores the page number of block, should the modification data the continue page number of the storage block that is written into other no datat of this CPU (central processing unit), and write finish after, sign during this page number annotation that writes used, and this is revised the script page number annotation one obsolete sign of data.
Behind the storage block of erasing, be sign to each page number annotation one sky of this storage block of having erased.
This CPU (central processing unit) is to erase so that page number is carried out background, and it is to handle other computing or handle other when moving that this background is erased, and simultaneously this block is erased, to reclaim these blocks.
This CPU (central processing unit) has a buffer, and this buffer has a control mark, to require or to close interrupt request by this control mark opens interrupters.
This portable electronic devices is a personal digital assistant.
This portable electronic devices is an Espresso.
The present invention also provides a kind of non-volatility memorizer access method that is used for above-mentioned access system.
A kind of non-volatility memorizer access method, be to cooperate one to have when reading with byte as base conditioning unit with write activity, and is characteristic or the non-memory storage of base conditioning unit in when action of erasing with the block, this or non-memory storage comprise a first area and a second area, this first area is in order to store program code, this second area is in order to the access data, and the feature of this non-volatility memorizer access method is to comprise the steps:
One formatting step is in order to formaing this second area, and to form a plurality of storage blocks, each stores block and has a plurality of page numbers, and each page number has at least one byte, makes for storing the data of this second area of page number access of blocks by these;
One data write step, it is wherein at least one section of a plurality of temporary sections of the temporary transient write storage unit of data to be written being comprised with a CPU (central processing unit), begin again and will via a storage unit data be write the page number that these store blocks in the storage unit, wherein, write data at every turn and store the page number of block in these, be to write the page number that these store block in regular turn, and this CPU (central processing unit) is closed all interrupt requests; And
One data read step requires action with this CPU (central processing unit) opens interrupters, and begins the data in the page number of described storage block is read.
In this data write step, this CPU (central processing unit) is to store the page number of block via at least once write data in batches in these, and after the data that at every turn writes was finished, this CPU (central processing unit) was opened its interrupt request.
In this data write step,,, then represent this second area insufficient space if this stores the existing data of page number of block when writing data when one stores the page number of block.
In this data write step, write data after these store the page number of block at every turn, be the sign during the page number annotation one that writes is used.
In this data write step, when this CPU (central processing unit) writes a modification data when one stores the page number of block, should the modification data the continue page number of the storage block that is written into other no datat of this CPU (central processing unit), and write finish after, sign during this page number annotation that writes used, and this is revised the script page number annotation one obsolete sign of data.
Behind the storage block of erasing, be sign to each page number annotation one sky of this storage block of having erased.
In this formatting step, this second area comprises access section and redundant district.
The quantity of the storage block in this access section and this redundant district is two-to-one.
When this CPU (central processing unit) writes data in the page number in a redundant district, then trigger the action of erasing.
This CPU (central processing unit) is carried out background to page number and is erased, and when promptly handling other computing or handling other action, simultaneously this block is erased, to reclaim these blocks.
This CPU (central processing unit) has a buffer, and this buffer has a control mark, to require or to close interrupt request by this control mark opens interrupters.
According to a characteristic of the present invention, the non-volatility memorizer access system that is provided, be that framework is in a portable electronic devices, this non-volatility memorizer access system mainly comprises: one or non-memory storage, it is to read and write for base conditioning unit with the byte, and erase for base conditioning unit with the block, it comprises a first area and a second area, this first area is in order to store program code, this second area is in order to the access data, this second area is to handle via a format, to form a plurality of storage blocks, each stores block and has a plurality of page numbers, and each page number has at least one byte, makes for storing the data of this second area of page number access of block by these; One storage unit has a plurality of temporary sections; An and CPU (central processing unit), it is the page number by these storage blocks of these temporary section read-write non-volatility memorizers of storage unit, wherein, when writing data, this CPU (central processing unit) is to store the page number of block via at least once write data in order in batches in these, and writing fashionable its interrupt request of closing at every turn, write at every turn and open its interrupt request after finishing.
According to another characteristic of the present invention, the non-volatility memorizer access method that is provided, be to cooperate one to have when reading with byte as base conditioning unit with write activity, and is characteristic or the non-memory storage of base conditioning unit in when action of erasing with the block, this or non-memory storage comprise a first area and a second area, this first area is in order to store program code, this second area is in order to the access data, this non-volatility memorizer access method mainly comprises the steps: a formatting step, be in order to format this second area, to form a plurality of storage blocks, each stores block and has a plurality of page numbers, and each page number has at least one byte, makes for storing the page number access data of block by these; One data write step, be via a storage unit data to be write the page number that these store block, wherein, write data at every turn and store the page number of block in these with a CPU (central processing unit), be to write the page number that these store block in regular turn, and this CPU (central processing unit) is closed all interrupt requests; And a data read step, be to read data in these page numbers that store blocks by this storage unit.
The invention has the advantages that:
The present invention utilizes the method that in batches writes data and temporary close interrupt request, reaches to store data simultaneously and program code, and improves the access efficiency be used for simultaneously storing data with the non-volatility memorizer of program.Be that storage unit, block are the characteristic of the unit of erasing with the byte for effectively utilizing the or/no type non-volatility memorizer and solving the or/no type non-volatility memorizer simultaneously, in the space of storage data file is to handle through format earlier, at first, take the page number as access unit, design writes pattern in regular turn, even if also do not write direct covering during the data of modification, therefore can guarantee that the page number in the second area of non-performance storer can not be repeated to write data, and cause the situation of data mistake to produce, and utilize the annotation mode to understand the state of data in each page number; Moreover, planning has access section and redundant district, enter the redundant district with write activity and be the trigger point of not using (invalid) page number as the activation recovery data state of erasing, utilize the redundant district as a cushion space, make and to guarantee the recovery block of under the state that no data is lost, erasing, reach and store data simultaneously and program code, and improve the access efficiency that is used for simultaneously storing data with the non-volatility memorizer of program.
For structure of the present invention, feature and effect are had further understanding, enumerate specific embodiment now and be described with reference to the accompanying drawings as follows:
Description of drawings
Fig. 1 is the system architecture synoptic diagram of a preferred embodiment of the present invention.
Fig. 2 a is reading of a preferred embodiment of the present invention and writes data flowchart.
Fig. 2 b is that the modification data of a preferred embodiment of the present invention writes process flow diagram.
Fig. 3 is the synoptic diagram that writes of a preferred embodiment of the present invention.
Fig. 4 is the data of a preferred embodiment of the present invention process flow diagram of erasing.
Embodiment
Relevant preferred embodiment of the present invention is to illustrate with the non-volatility memorizer access system in the portable electronic devices, and in present embodiment, portable electronic devices is preferably PDA(Personal Digital Assistant) or Espresso (Pocket PC).
Fig. 1 shows system architecture synoptic diagram of the present invention, it mainly comprises CPU (central processing unit) (CPU) 1, storage unit 2 and or non-memory storage 3, wherein, CPU (central processing unit) 1 has at least one buffer 11, it is to be used for temporary a plurality of interrupt requests (for example: can keep in 32 interrupt requests) and an interrupt request control mark 111, or non-memory storage 3 is divided into first area 31 and second area 32 at least, first area 31 is in order to the executive routine code of the operating system of storage portable electronic devices, second area 32 is in order to as Storage Media, to store general data file.Certainly, or non-memory storage 3 more can comprise the 3rd zone, to be used for stocking system boot program or test procedure.
In present embodiment, or non-memory storage 3 to have reading and write fashionable be base conditioning unit with the byte for a kind of, and when erasing (Erase), be the characteristic of base conditioning unit with the block, or non-memory storage 3 is preferably or/no type (NOR Type) flash memory, and storage unit 2 is preferably random-access memory (ram).Above-mentioned CPU (central processing unit) 1 write data in the second area 32 of non-memory storage 3 or by or the second area 32 of non-memory storage 3 when reading data all by storage unit 2.
Relevant CPU (central processing unit) 1 writes or reads the detailed description of data, the process flow diagram and the synoptic diagram that please be in the lump show with reference to Fig. 1, Fig. 2 a and Fig. 3.At first, or the second area 32 of non-memory storage 3 as Storage Media before (when for example PDA starts shooting for the first time), must format processing (step S201) to second area 32 earlier, make for forming a plurality of storage blocks 321 at second area 32, wherein, each stores block 321 and all has a plurality of page numbers (Page), and these a plurality of storage blocks and planning region are divided into general access section 322 and redundant district 323, access section 322 is two-to-one with the number of blocks in redundant district 323 than preferably, in present embodiment, the number of the page number of each block 321 is preferably four and (is numbered 3211 as shown in Figure 3,3212,3213,3214), each page number is made up of a plurality of bytes 331 certainly.And CPU (central processing unit) 1 is as basic access unit with page number when reading or writing the data of second area 32.
Finish after the format, CPU (central processing unit) 1 just can be carried out data access to second area 32.Action or write activity are read in CPU (central processing unit) 1 judgement earlier before access second area 32 at present, if read action, then CPU (central processing unit) 1 is set at high-end trim with the interrupt request control mark 111 of its buffer 11, require action with opens interrupters, that is other device can send interrupt request (step S202) to CPU (central processing unit) 1, then, CPU (central processing unit) 1 begins that in the second area 32 these are stored blocks 321 and carries out data and read (step S203).
If write activity, then wherein at least one section (step 204) of CPU (central processing unit) 1 a plurality of access sections (Sections) 21 that the temporary transient write storage unit 2 of data to be written is comprised.In present embodiment, be to write data in order in the page number of second area 32, that is the initial page number that at every turn writes data is the page number after last time writing data and finishing of continuing, for example: the data that last time write is to the page number 3211 and 3212 that stores block 321, when then write data next time, just begin to write data by the next page number 3213 that stores block 321 page numbers 3212.In addition, when last page number data of second area 32 writes when finishing, and continue to write data by first page number of second area 32 again.The mode that interrelated data writes will be in following explanation.
Before writing data, CPU (central processing unit) 1 can judge whether earlier to foundation writes new data, then is the action of modification data if not, and the back explanation is held in relevant its action.Write new data if set up, judge again then whether the target page number of desiring to write has data to exist, because in this enforcement profit is to adopt the mode that writes in regular turn, therefore if the existing data of this page number, represent that then data quantity has surpassed the memory span of second area 32, stops write activity and warns user's (step 209).
If this page number and no data exist, then CPU (central processing unit) 1 is set at low-end trim with the interrupt request control mark 111 of its buffer 11, with closeall interrupt request action, that is CPU (central processing unit) 1 is not is not accepted the interrupt request (step S205) of other device at this moment, and begin the data in the storage unit 2 is write second area 32.
Since write or the speed of non-memory storage 3 slow, and the interrupt request of temporary close CPU (central processing unit) again 1, therefore if once all data are write or non-memory storage 3 will make the total system resource reduce, so it is based at least one section 21 in the storage unit in non-volatility memorizer 3 that CPU (central processing unit) 1 writes data at every turn, write the target page number of data in second area 32 in batches, wherein, the size of each section 21 of storage unit 2 equals each the page number size in these blocks.
CPU (central processing unit) 1 and write finish after, this page number is given annotation for " in the use " (step S206).
Then, CPU (central processing unit) 1 is judged whether data to be written has write and is finished, if data to be written has write and finished, then finishes this write activity.If still have many documents not write as yet, then CPU (central processing unit) 1 is opened interrupt request (interrupt request control mark 111 is set at high-end trim) (step S207), to receive the interrupt request of other device, if other device there is no the request interrupt request, then CPU (central processing unit) 1 continues to write next record data (step S208), and continue repeated execution of steps S205, step S206, step S207 and step S208, write up to data and finish.
Sometimes the user can be after reading data, revise the data that it reads, the situation of data modification then takes place this moment, relevant CPU (central processing unit) 1 is revised the detailed description of data, would like to ask in the lump with reference to Fig. 1, process flow diagram and synoptic diagram that Fig. 2 b and Fig. 3 show, CPU (central processing unit) 1 with data write storage unit 2 to be written after, be to judge earlier whether target page number to be written has data to exist, wherein, target page number to be written at this indication is to continue last time to write the page number of data action, produce with the situation of avoiding the data mistake, that is, the data that desire is revised its address originally of not writing direct, but data that will be to be revised writes according to the aforementioned data mode that writes.
If the existing data of target page number to be written exists, then stop write activity and warn user's storage space deficiency (step S214).If target page number no data to be written exists, then CPU (central processing unit) 1 is closed its interrupt request (step S210), to begin the data that writes in the target page number, CPU (central processing unit) 1 in the data that writes when this target page number is finished, and be " in the use ", and the page number annotation that the script legacy data is deposited is " not using " (step S211) to this target page number annotation.
Afterwards, whether the data that CPU (central processing unit) 1 judgement is revised all writes is finished, and finishes if all write, and then finishes this modification data action.If still have other modification data not write second area 32 as yet, then CPU (central processing unit) 1 is opened interrupt request, to serve the device that other sends interrupt request, then begin to write the next record data in next target page number (step S213), and continue repeated execution of steps S210, step S211, step S212 and step S213, write up to the modification data and finish.
Begin to write the redundant block 323 of second area when data to be written, that is last page number of access block 321 is written into data, and write activity be must enter redundant block 323 time, will trigger the action of erasing, and this action of erasing is that second area 32 is erased.
The relevant action of erasing, would like to ask in the lump the synoptic diagram and the process flow diagram that show with reference to Fig. 1, Fig. 3 and Fig. 4, because or non-memory storage 3 is or/no type flash memories, action the time is to be unit with a block so it is erased, yet, in these access blocks 321 or these redundant blocks 323, its part page number must keep (promptly this part page number is that annotation is " in the use "), and some page number data then can be deleted (being obsolete data because of modification by annotation as described above).
Therefore when erasing action, be to begin to read by first access block 321, annotation is the page number of " in the use " in this access block 321 to read, and with the data write storage unit 2 (step S401) in this page number, then this document is continued and write the page number that last time, write activity was finished, its writing mode and above-mentioned modification data mode are similar, be repeated execution of steps S402, step S403, step S404 and step S405 or step S406, annotation is moved till the page number that exists to other no datat for the page number of " in the use " in the block of this being desired erase, and is " not using " to moving data money page number annotation.
When all page numbers in this block of desiring to erase when all annotation is not for " using ", then begin this block is erased, and the page number annotation of back to this block is " sky " (step S407) erasing, then proceed the action of erasing of next block, all erased to reclaim all obsolete page numbers up to all blocks of second area.
Owing to erase or the data in non-memory storage 3 blocks need the long time, therefore, 1 pair of above-mentioned these page number of CPU (central processing unit) all annotation are that obsolete block carries out background and erases, that is CPU (central processing unit) 1 is when handling other computing or handle other action (comprise the non-volatility memorizer second area is carried out data reading-writing), simultaneously this block is erased, to reclaim these blocks.
The annotation of above-mentioned page number can be set up an annotation table 4 in storage unit 2, it is to comprise a plurality of fields 41, be used for annotation do not use, use in or empty, certainly, also direct annotation in non-volatility memorizer.
The foregoing description only is to give an example for convenience of description, and the interest field that the present invention advocated should be as the criterion so that claims scope is described certainly, but not only limits to the foregoing description.

Claims (23)

1, a kind of non-volatility memorizer access system, be framework in a portable electronic devices, it is characterized in that comprising:
One or non-memory storage, it comprises a first area and a second area, this first area is in order to store program code, this second area is in order to the access data, and this second area is to handle via a format, to form a plurality of storage blocks, each stores block and has a plurality of page numbers, each page number has at least one byte, and making with page number is the base conditioning unit that reads and write, and is the base conditioning unit of erasing with block;
One storage unit has a plurality of temporary sections; And
One CPU (central processing unit), before the access second area, judge earlier and read action or write activity at present, if read action, then this CPU (central processing unit) can opens interrupters require action, and begins that the described storage block in the second area is carried out data and read; If write activity, this CPU (central processing unit) can be closed the interrupt request action earlier, and wherein at least one section of a plurality of temporary sections that the temporary transient write storage unit of data to be written is comprised, begin that again the data in the storage unit are at least once write data in order in batches and store the page number of block in these, and writing fashionable its interrupt request of closing at every turn, write at every turn and open its interrupt request after finishing.
2, non-volatility memorizer access system according to claim 1 is characterized in that: this second area is to comprise access section and redundant district.
3, non-volatility memorizer access system according to claim 2 is characterized in that: the storage area number of blocks in this access section and these redundant districts is two-to-one.
4, non-volatility memorizer access system according to claim 2 is characterized in that: when this CPU (central processing unit) writes data in the page number in this redundant district, then trigger the action of erasing.
5, non-volatility memorizer access system according to claim 1 is characterized in that: when this CPU (central processing unit) writes data when one stores the page number of block, if this stores the existing data of page number of block, then represent this second area insufficient space.
6, non-volatility memorizer access system according to claim 1 is characterized in that: the data that at every turn writes is the sign during the page number annotation one that writes is used after these store the page number of block.
7, non-volatility memorizer access system according to claim 1, it is characterized in that: when this CPU (central processing unit) writes a modification data when one stores the page number of block, should the modification data the continue page number of the storage block that is written into other no datat of this CPU (central processing unit), and write finish after, sign during this page number annotation that writes used, and this is revised the script page number annotation one obsolete sign of data.
8, non-volatility memorizer access system according to claim 1 is characterized in that: behind the storage block of erasing, be the sign to each page number annotation one sky of this storage block of having erased.
9, non-volatility memorizer access system according to claim 1, it is characterized in that: this CPU (central processing unit) is to erase so that page number is carried out background, it is to handle other computing or handle other when moving that this background is erased, and simultaneously this block is erased, to reclaim described block.
10, non-volatility memorizer access system according to claim 1, it is characterized in that: this CPU (central processing unit) has a buffer, and this buffer has a control mark, to require or to close interrupt request by this control mark opens interrupters.
11, non-volatility memorizer access system according to claim 1, it is characterized in that: this portable electronic devices is a personal digital assistant.
12, non-volatility memorizer access system according to claim 1, it is characterized in that: this portable electronic devices is an Espresso.
13, a kind of non-volatility memorizer access method, be to cooperate one to have when reading with byte as base conditioning unit with write activity, and is characteristic or the non-memory storage of base conditioning unit in when action of erasing with the block, this or non-memory storage comprise a first area and a second area, this first area is in order to store program code, this second area is in order to the access data, and the feature of this non-volatility memorizer access method is to comprise the steps:
One formatting step is in order to formaing this second area, and to form a plurality of storage blocks, each stores block and has a plurality of page numbers, and each page number has at least one byte and makes for storing the data of this second area of page number access of blocks by these;
One data write step, it is wherein at least one section of a plurality of temporary sections of the temporary transient write storage unit of data to be written being comprised with a CPU (central processing unit), begin again the data in the storage unit is write the page number that these store block, wherein, write data at every turn and store the page number of block in these, be to write the page number that these store block in regular turn, and this CPU (central processing unit) is closed all interrupt requests; And
One data read step requires action with this CPU (central processing unit) opens interrupters, and begins the data in the page number of described storage block is read.
14, non-volatility memorizer access method according to claim 13, it is characterized in that: in this data write step, this CPU (central processing unit) is to store the page number of block via at least once write data in batches in these, and after the data that at every turn writes was finished, this CPU (central processing unit) was opened its interrupt request.
15, non-volatility memorizer access method according to claim 13, it is characterized in that: in this data write step, when writing data when one stores the page number of block,, then represent this second area insufficient space if this stores the existing data of page number of block.
16, non-volatility memorizer access method according to claim 13 is characterized in that: in this data write step, write data after these store the page number of block, be the sign during the page number annotation one that writes is used at every turn.
17, non-volatility memorizer access method according to claim 13, it is characterized in that: in this data write step, when this CPU (central processing unit) writes a modification data when one stores the page number of block, should the modification data the continue page number of the storage block that is written into other no datat of this CPU (central processing unit), and write finish after, sign during this page number annotation that writes used, and this is revised the script page number annotation one obsolete sign of data.
18, non-volatility memorizer access method according to claim 13 is characterized in that: behind the storage block of erasing, be the sign to each page number annotation one sky of this storage block of having erased.
19, non-volatility memorizer access method according to claim 13 is characterized in that: in this formatting step, this second area comprises access section and redundant district.
20, non-volatility memorizer access method according to claim 19 is characterized in that: the quantity of the storage block in this access section and this redundant district is two-to-one.
21, non-volatility memorizer access method according to claim 19 is characterized in that: when this CPU (central processing unit) writes data in the page number in a redundant district, then trigger the action of erasing.
22, non-volatility memorizer access method according to claim 19, it is characterized in that: this CPU (central processing unit) is carried out background to page number and is erased, when promptly handling other computing or handling other action, simultaneously this block is erased, to reclaim described block.
23, non-volatility memorizer access method according to claim 13, it is characterized in that: this CPU (central processing unit) has a buffer, and this buffer has a control mark, to require or to close interrupt request by this control mark opens interrupters.
CNB031531865A 2003-08-08 2003-08-08 Non-volatile storage access system and access method thereof Expired - Fee Related CN1228716C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031531865A CN1228716C (en) 2003-08-08 2003-08-08 Non-volatile storage access system and access method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031531865A CN1228716C (en) 2003-08-08 2003-08-08 Non-volatile storage access system and access method thereof

Publications (2)

Publication Number Publication Date
CN1485745A CN1485745A (en) 2004-03-31
CN1228716C true CN1228716C (en) 2005-11-23

Family

ID=34156640

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031531865A Expired - Fee Related CN1228716C (en) 2003-08-08 2003-08-08 Non-volatile storage access system and access method thereof

Country Status (1)

Country Link
CN (1) CN1228716C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294570B (en) * 2012-02-23 2015-11-04 深圳市腾讯计算机系统有限公司 A kind of backup method of internal storage data and device
US9858997B2 (en) * 2015-07-14 2018-01-02 Nanya Technology Corp. Electronic apparatus applying unified non-volatile memory and unified non-volatile memory controlling method
CN107346288B (en) * 2016-05-05 2020-08-28 中国科学院微电子研究所 Data writing method and device
US10235299B2 (en) * 2016-11-07 2019-03-19 Samsung Electronics Co., Ltd. Method and device for processing data
CN109213692B (en) * 2017-07-06 2022-10-21 慧荣科技股份有限公司 Storage device management system and storage device management method
CN109828794B (en) * 2017-11-23 2021-09-17 建兴储存科技(广州)有限公司 Solid state storage device and loading method of related program thereof
CN108763101B (en) * 2018-05-30 2021-11-09 郑州云海信息技术有限公司 Data carrying method and system

Also Published As

Publication number Publication date
CN1485745A (en) 2004-03-31

Similar Documents

Publication Publication Date Title
US7689761B2 (en) Data storage system with complex memory and method of operating the same
US10831734B2 (en) Update-insert for key-value storage interface
KR101369996B1 (en) Method and system for dual mode access for storage devices
CN1223945C (en) Improved flash file system
KR101453264B1 (en) Method and system for storage address re-mapping for a memory device
US8171203B2 (en) Faster write operations to nonvolatile memory using FSInfo sector manipulation
US8209516B2 (en) Method and system for dual mode access for storage devices
US6678785B2 (en) Flash management system using only sequential write
JP4362549B1 (en) Gradual garbage collection
CN110806984B (en) Apparatus and method for searching for valid data in memory system
US20170060448A1 (en) Systems, solid-state mass storage devices, and methods for host-assisted garbage collection
CN109697170B (en) Method for accessing flash memory module, related flash memory controller and electronic device
US11138104B2 (en) Selection of mass storage device streams for garbage collection based on logical saturation
CN1228716C (en) Non-volatile storage access system and access method thereof
WO2007019175A2 (en) Indexing of file data in reprogrammable non-volatile memories that directly store data files
CN111966281A (en) Data storage device and data processing method
CN111338562B (en) Data storage device and data processing method
CN1447243A (en) Calculation method executed in quick flash memory fast and not caused abnormal power breakdown as well as its control system
CN1534509A (en) Flash memory calculating method possessing quick and preventing improper operation function and its control system
CN100349138C (en) Non-volatility memory access system and its cycling usage method of access space
Han Fast erase algorithm using flash translation layer in NAND-type flash memory
TWI695264B (en) A data storage device and a data processing method
Shasha et al. Storing a persistent transactional object heap on flash memory
CN1533575A (en) Method for correcting data on storage card during chip card transaction
US20050273547A1 (en) Method for balancing data access to non-volatile memory

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20051123

Termination date: 20150808

EXPY Termination of patent right or utility model