CN100341000C - Method for using flash memory as buffer area, and electronic devices - Google Patents
Method for using flash memory as buffer area, and electronic devices Download PDFInfo
- Publication number
- CN100341000C CN100341000C CNB2004100586917A CN200410058691A CN100341000C CN 100341000 C CN100341000 C CN 100341000C CN B2004100586917 A CNB2004100586917 A CN B2004100586917A CN 200410058691 A CN200410058691 A CN 200410058691A CN 100341000 C CN100341000 C CN 100341000C
- Authority
- CN
- China
- Prior art keywords
- flash memory
- buffer zone
- address
- microcontroller
- archives
- 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.)
- Active
Links
Images
Landscapes
- Read Only Memory (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention relates to a method utilizing a flash memory as a buffer area and an electronic device. A microcontroller and a flash memory are arranged in the electronic device, the microcontroller can receive or execute commands of users, and the flash Memory is connected with the microcontroller. A file configuration table which can be used for recording file addresses and a data interval which can be used for recording data or programs are arranged in the flash memory, and the flash memory can divide local space to be used as a buffer area. As a result, the cost of additional random access memories can be eliminated effectively, and an output/input connecting pin needed when the microprocessor is externally connected with a random access memory can be omitted.
Description
Technical field
The present invention relates to a kind of method of utilizing flash memory as buffer zone, this method is divided local space with flash memory and is used as buffer zone, and effectively save cost that extra random access memory is used and the required output/input pin of the external random access memory of microprocessor.
Background technology
Because making rapid progress of electronics technology, electronic product are extensively used by popular, as: computing machine, mobile phone, digital camera ... Deng, and its function of this series products also day by day increases, also more crescendo is big for peripheral additional function.In recent years, the performance of computing machine and peripheral product thereof constantly promotes, various software is also constantly weeded out the old and bring forth the new thereupon, and than cheaper in the past price, it is universal day by day to make computing machine and peripheral product thereof be able in our routine work, study, life, and people to the demand of computing machine also thereby be able to quick growth, the manufacturer of each computation machine and peripheral product thereof, in the face of this vast and emerging consumption market, there is not the full power in the uneven fourth of the twelve Earthly Branches, strive for all strength.
Yet, because the processing speed of the microprocessor in the electronic product much larger than output unit (for example: printer, display etc.) accessible speed, so microprocessor must consider whether output unit has handled data when the data of transmission, cause the usefulness of microprocessor greatly to reduce, therefore, all all be provided with random-access memory (ram) in many electronic products and be used as buffer zone (buffer), microcontroller in the electronic product can be stored data or instruction so far so that take backward, and random access memory also can initiatively be delivered to output unit to data, and allow the usefulness of microprocessor bring into play fully, but this kind random-access memory (ram) price height very, so the dealer can not use too many memory span when doing relevant configuration, in order to avoid cause the product price higher, and then reduction consumer's purchase intention, and because of the memory span of random-access memory (ram) little, and when microprocessor had a large amount of data or program to handle, the situation that causes microprocessor to produce delay easily took place.
Moreover, flash memory since coming out just because of low power consuming, non-volatile, shatter-proof, the characteristic that high storage density etc. are charming, in many portable devices, gradually replace EEPROM or battery powered storer, more owing to present semiconductor technology progresses greatly day by day, the storage density of flash memory and transmission speed have the growth of advancing by leaps and bounds especially, therefore flash memory more can replace traditional Storage Medias such as hard drives in many application, because flash memory has above-mentioned all multi-functional and characteristic, its relevant dealer utilizes flash memory then and develops storage devices such as carry-on dish and memory card, and since coming out, promptly be subjected to consumers in general's favor with carry-on dish and memory card, and become a kind of indispensable tool using that is almost, and the cost of flash memory is far below random-access memory (ram), if can utilize flash memory to replace the setting of random-access memory (ram), then just can use more amount of memory to be used as buffer zone, and allow the product price reduce, and then promote consumer's purchase intention.
Thus, how to use flash memory to become the interior buffer zone of electronic product, be the relevant manufacturer that is engaged in the industry and desire most ardently the direction place that research improves.
The present invention is because above-mentioned problem and defective, be to collect related data, via assessing in many ways and consider, and to engage in the many years of experience of the industry accumulation, via constantly studying and revising, the beginning is designed this kind and utilizes method and the electronic installation of flash memory as buffer zone.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of method of utilizing flash memory as buffer zone, this method is utilized the flash memory of lower cost to divide local space and is used as buffer zone, and effectively save cost that extra random access memory is used and the required output/input pin of the external random access memory of microprocessor.
For reaching above-mentioned purpose, the method of utilizing flash memory as buffer zone of the present invention, its technical characterictic is, be provided with microcontroller and flash memory in the electronic installation that this method is used, this microcontroller is for receiving or carry out the microcontroller of instruction that the user assigns, this flash memory is connected in microcontroller, and has the FAT that can write down the archives address in the flash memory, but and between the information data area of record material or program, store data or during the instruction of program, this method follows these steps to carry out and flash memory is assigned when microprocessor:
(A) whether have the archives address of using between the information data area of inspection flash memory, if yes, then carry out step (C) as buffer zone;
(C) go out as the employed archives of buffer zone address according to the address computation that is write down in the FAT, and between this address, divide a block storage;
(D) will keep in data or program is stored in the storer of being divided as the archives address of buffer zone use.
Wherein, above-mentioned steps (A) is not if, then carry out step (B) between the information data area of flash memory in a newly-increased archives address, and modification archival location table, execution in step (C) again.
For reaching above-mentioned purpose and effect, the technology used in the present invention means and structure thereof will further specify with specific embodiment in conjunction with the accompanying drawings.
Description of drawings
Fig. 1 is a calcspar of the present invention.
Fig. 2 is an action flow chart of the present invention.
Symbol description among the figure:
10 electronic installations
110 microcontrollers
120 flash memories
1210 FATs
1220 data information intervals
Embodiment
See also Fig. 1, Figure 2 shows that calcspar of the present invention and action flow chart, find out by knowing among the figure, the flash memory that utilizes of the present invention is provided with microcontroller 110 and flash memory 120 as the electronic installation 10 of buffer zone, wherein;
This microcontroller 110 is a kind of microcontroller that receives or carry out the instruction that the user assigns;
This flash memory 120 is connected in microcontroller 110, and in the flash memory 120 for having the FAT 1210 that can write down the archives address, but and between the information data area of record material or program 1220;
Assign to store data or during the instruction of program when 110 pairs of flash memories 120 of microprocessor, this flash memory 120 is for can carrying out according to the following step, as shown in Figure 2:
Step 200 (A) checks between the information data area of flash memory 120 in 1220 whether have the archives address of using as buffer zone, if having, then carries out step 220 (C); If do not have, then carry out step 210 (B);
Step 210 (B), a newly-increased archives address in 1220 between the information data area of flash memory 120, and revise archival location table 1210, execution in step 220 (C) again;
Step 220 (C) goes out as the employed archives of buffer zone address according to the address computation that is write down in the FAT 1210, and divides a block storage between this address;
Step 230 (D) is stored in data or program in the storer of the archives address of using as buffer zone being divided.
So, can utilize the flash memory 120 division local spaces of lower cost to use, and effectively save cost that random access memory is used and the required output/input pin of microprocessor 110 external random access memory as buffer zone.
Moreover the flash memory that utilizes of the present invention can be display card, sound card or is the made media apparatus of flash memory 120 as the electronic installation 10 of buffer zone, as: audio-visual multimedia player (AUDIO/VIDEO PLAYER), MP3 player, memory card or dish with oneself.
In sum, the flash memory that utilizes of the present invention is as the key that the method and the electronic installation of buffer zone can improve known technology, utilize the flash memory 120 of lower cost, and 1220 local spaces use as buffer zone between the information data area in the division flash memory 120, and the address of using FAT 1210 these local spaces of record, and make data or program can store local space so far, the usefulness of microprocessor can be brought into play fully, and effectively save the cost that random access memory is used, and the required output/input pin of microprocessor 110 external random access memory.
Above-mentioned detailed description is the explanation of carrying out at a kind of preferable possible embodiments of the present invention, this embodiment is not in order to limit to claim of the present invention, all other do not break away from the equalization finished under the disclosed skill spirit to be changed and modifies change, all should be contained in the claim that the present invention contains.
The above, the present invention utilizes flash memory to have the obvious effect enhancement as the method and the electronic installation of buffer zone when using, and really meets the patent requirement of novelty, invention and progressive, files an application in accordance with the law.
Claims (6)
1, a kind of method of utilizing flash memory as buffer zone, it is characterized in that, be provided with microcontroller and flash memory in the electronic installation that this method adopts, this microcontroller is reception or the microcontroller of carrying out instruction that the user assigns, this flash memory is connected in microcontroller, and has the FAT that can write down the archives address in the flash memory, but and between the information data area of record material or program, when microprocessor flash memory is assigned and to be stored data or during the instruction of program, this method is carried out according to the following step:
(A) whether have the archives address of using between the information data area of inspection flash memory, if then carry out step (C) as buffer zone;
(C) go out as the employed archives of buffer zone address according to the address computation that is write down in the FAT, and between this address, divide a block storage;
(D) will keep in data or program is stored in the storer of being divided as the archives address of buffer zone use.
2, the method for utilizing flash memory as buffer zone as claimed in claim 1, wherein this step (A) is not if, then carry out step (B) between the information data area of flash memory in a newly-increased archives address, and modification archival location table, execution in step (C) again.
3, the method for utilizing flash memory as buffer zone as claimed in claim 1, wherein said electronic installation is a display card.
4, the method for utilizing flash memory as buffer zone as claimed in claim 1, wherein said electronic installation is a sound card.
5, the method for utilizing flash memory as buffer zone as claimed in claim 1, wherein said flash memory is the memory card pattern.
6, the method for utilizing flash memory as buffer zone as claimed in claim 1, wherein said flash memory is carry-on dish-like formula.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100586917A CN100341000C (en) | 2004-07-28 | 2004-07-28 | Method for using flash memory as buffer area, and electronic devices |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100586917A CN100341000C (en) | 2004-07-28 | 2004-07-28 | Method for using flash memory as buffer area, and electronic devices |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1728108A CN1728108A (en) | 2006-02-01 |
CN100341000C true CN100341000C (en) | 2007-10-03 |
Family
ID=35927396
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100586917A Active CN100341000C (en) | 2004-07-28 | 2004-07-28 | Method for using flash memory as buffer area, and electronic devices |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100341000C (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102231137B (en) * | 2011-05-26 | 2014-04-02 | 浪潮(北京)电子信息产业有限公司 | Data memory system and method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07319744A (en) * | 1994-05-24 | 1995-12-08 | Nec Corp | File system using flush memory |
JPH0869697A (en) * | 1994-08-31 | 1996-03-12 | Hitachi Ltd | Semiconductor file storage |
JP2000057039A (en) * | 1998-08-03 | 2000-02-25 | Canon Inc | Method and device for controlling access, file system and information processor |
CN1308337A (en) * | 2000-11-27 | 2001-08-15 | 英业达集团(南京)电子技术有限公司 | Simultaneous program code and data storing method in flash memory |
-
2004
- 2004-07-28 CN CNB2004100586917A patent/CN100341000C/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07319744A (en) * | 1994-05-24 | 1995-12-08 | Nec Corp | File system using flush memory |
JPH0869697A (en) * | 1994-08-31 | 1996-03-12 | Hitachi Ltd | Semiconductor file storage |
JP2000057039A (en) * | 1998-08-03 | 2000-02-25 | Canon Inc | Method and device for controlling access, file system and information processor |
CN1308337A (en) * | 2000-11-27 | 2001-08-15 | 英业达集团(南京)电子技术有限公司 | Simultaneous program code and data storing method in flash memory |
Also Published As
Publication number | Publication date |
---|---|
CN1728108A (en) | 2006-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9952769B2 (en) | Data storage system with data storage devices operative to manage storage device functions specific to a particular data storage device | |
JP2011524063A5 (en) | ||
CN103677653A (en) | Data processing method and electronic device based on solid state disk (SSD) | |
CN1855100A (en) | Hierarchical storage management apparatus, method, and program | |
CN100341000C (en) | Method for using flash memory as buffer area, and electronic devices | |
CN1260629C (en) | Electronic perepheral card with dynamic memory | |
CN1567476A (en) | High speed big block data writing method for flash memory | |
CN2418520Y (en) | Portable digital music-player | |
US20080172502A1 (en) | Portable computer | |
CN2773795Y (en) | Card reader with host terminal | |
CN1991759A (en) | Computer framework rapidly activating system program | |
US20060075183A1 (en) | [method of applying flash memory as buffer in electrical appliance] | |
CN1725375A (en) | Effect of improving flash memory at low step format | |
KR20080029906A (en) | Multiplier product generation based on encoded data from addressable location | |
CN1947196A (en) | Record reproducing device, simultaneous record reproduction control method and simultaneous record reproduction control program | |
CN1892906A (en) | Flash memory device with data displaying function | |
CN2713543Y (en) | Card reader and computer mainframe having the same | |
CN1207531A (en) | Microcomputer | |
CN2572473Y (en) | Device for playing music in standard access interface | |
CN2842656Y (en) | Has the CD player that transfers the mp3 file function to | |
CN2819312Y (en) | Automatic executive cholest liquid-crystal device | |
CN100342319C (en) | Magnetic disk array instruction processing method | |
CN2699369Y (en) | Music player | |
CN101052236A (en) | Earphone for playing audio frequency file | |
TWI488107B (en) | Method for enhancing fast backward performance and associated electronic device |
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 |