CN101887461A - File access method and electronic device thereof - Google Patents

File access method and electronic device thereof Download PDF

Info

Publication number
CN101887461A
CN101887461A CN 201010228148 CN201010228148A CN101887461A CN 101887461 A CN101887461 A CN 101887461A CN 201010228148 CN201010228148 CN 201010228148 CN 201010228148 A CN201010228148 A CN 201010228148A CN 101887461 A CN101887461 A CN 101887461A
Authority
CN
China
Prior art keywords
volatile memory
archives
memory cells
stored
store information
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
CN 201010228148
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.)
Qisda Suzhou Co Ltd
Qisda Corp
Original Assignee
Qisda Suzhou Co Ltd
Qisda Corp
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 Qisda Suzhou Co Ltd, Qisda Corp filed Critical Qisda Suzhou Co Ltd
Priority to CN 201010228148 priority Critical patent/CN101887461A/en
Publication of CN101887461A publication Critical patent/CN101887461A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention relates to a file access method and an electronic device thereof. The file access method comprises the following steps of: acquiring a file through network connection; determining the storage information according to the file and the non-volatile storage unit; storing the storage information in the volatile internal storage; and storing the file into the non-volatile storage unit according to the storage information. By using the file access method and the electronic device thereof, the user can more quickly look through the read network files and easily eliminate the temporary network files to enhance the user convenience. Thus, the invention has high market competitive power.

Description

File access method and electronic installation thereof
Technical field
The present invention relates to a kind of file access method and electronic installation thereof, and particularly relevant for a kind of file access method and electronic installation thereof that sees through the archives that network connections obtains.
Background technology
Portable electronic product now often has the function of network communication.Yet for portable electronic product, because system resource is comparatively limited, so its network download speed also can be restricted.In order to speed the stand-by period that the user browses the network archives of access and reduces the user, portable electronic product can store the network archives of having browsed earlier.So, when the user browses identical network address, can show apace that this is stored in the network archives in the system, to accelerate user's network browsing speed.
The mode of the network archives that general storage had at present been browsed has two kinds, and first kind is to utilize Dram to store this network archives, and second kind is to utilize internal storage to store.In first kind of practice, because the finite capacity of the Dram of general portable electronic product, if therefore when storing too many network archives, remaining Dram space may be too little and have influence on the executive capability of application program.And in second kind of practice, the network archives that is temporary in the internal storage can not eliminated because of the portable electronic product shutdown, and can remain in the internal storage always.This temporary network archives that is difficult for deletion also is a kind of puzzlement for the user.
Summary of the invention
The present invention is relevant for a kind of file access method and electronic installation thereof, and the network archives that had read that can allow the user browse more quickly can be eliminated this temporary network archives again easily, to increase user's convenience.
According to an aspect of the present invention, propose a kind of file access method, comprise the following steps.See through network connections and obtain archives.According to archives and non-volatile memory cells decision store information.Store store information in volatile memory.According to store information archives are stored in the non-volatile memory cells.
As optional technical scheme, this store information comprises these archives is stored in the required address information of this non-volatile memory cells.
As optional technical scheme, this address information is stored in this volatile memory with a string at least row, this at least one serial comprises head node (Header node) and at least one back end (Data node), this head node stores the binding information of this at least one back end, and this at least one back end stores the address that corresponds in this non-volatile memory cells.
As optional technical scheme, this file access method more comprises: if receive reading command, then see through this store information that is stored in this volatile memory and read this archives from this non-volatile memory cells.
As optional technical scheme, this method is applied in the embedded electronic device, this non-volatile memory cells is non-voltile memory (Non-Volatile Memory) or hard disk, and this volatile memory is Dram (Dynamic Random Access Memory).
According to a further aspect in the invention, propose a kind of electronic installation, comprise volatile memory, non-volatile memory cells and processing unit.Processing unit is obtained archives in order to see through network connections, according to these archives and non-volatile memory cells decision store information, store information is stored in the volatile memory, and according to store information archives is stored in the non-volatile memory cells.
As optional technical scheme, this store information comprises these archives is stored in the required address information of this non-volatile memory cells.
As optional technical scheme, this address information is stored in this volatile memory with a string at least row, this at least one serial comprises head node (Header node) and at least one back end (Data node), this head node stores the binding information of this at least one back end, and this at least one back end stores the address that corresponds in this non-volatile memory cells.
As optional technical scheme, this processing unit more sees through this store information that is stored in this volatile memory and read this archives from this non-volatile memory cells when receiving reading command.
As optional technical scheme, this electronic installation is an embedded electronic device, this non-volatile memory cells is non-voltile memory (Non-Volatile Memory) or hard disk, and this volatile memory is Dram (Dynamic Random Access Memory).
File access method of the present invention and electronic installation thereof, the network archives that had read that can allow the user browse more quickly can be eliminated this temporary network archives again, easily to increase user's convenience, so quite have the market competitiveness.
Can be further understood by following description of drawings and embodiment detailed description in the advantages and spirit of the present invention.
Description of drawings
Fig. 1 is the process flow diagram according to a kind of file access method of an embodiment of the present invention.
Fig. 2 is the calcspar in order to an embodiment of the electronic installation of the file access method of execution graph 1.
Fig. 3 is the synoptic diagram of an embodiment of the data structure of address information.
Embodiment
Please refer to Fig. 1, it illustrates is process flow diagram according to a kind of file access method of an embodiment of the present invention.The method comprises the following steps.At first, execution in step 102 sees through network connections and obtains archives.Then, enter step 104, according to these archives and non-volatile memory cells decision store information.Afterwards, execution in step 106 stores this store information in volatile memory.Then, enter step 108, archives are stored in the non-volatile memory cells according to this store information.
Please refer to Fig. 2, it illustrates is calcspar in order to an embodiment of the electronic installation of the file access method of execution graph 1.Electronic installation 200 comprises volatile memory 202, non-volatile memory cells 204, reaches processing unit 206.Processing unit 206 is obtained archives in order to see through network connections 208, and according to these archives and non-volatile memory cells 204 decision store informations.Processing unit 206 more is stored in this store information in the volatile memory 202, and according to this store information these archives is stored so far in the non-volatile memory cells 204.
When processing unit 206 when receiving reading command, processing unit 206 more sees through the store information that is stored in volatile memory 202 and read this archives from non-volatile memory cells 204.Above-mentioned store information comprises these archives is stored in the required address information of non-volatile memory cells 204.
Thus, when seeing through network connections 208, processing unit 206 obtains archives, and these archives are stored in after the non-volatile memory cells 204, processing unit 206 can read archives to see through the store information that is stored in volatile memory 202 in response to this reading command from non-volatile memory cells 204.
After losing power supply, data stored in the volatile memory 202 also can disappear along with the disappearance of power supply usually.So, the store information that is stored in the volatile memory 202 also can disappear along with the disappearance of power supply.So, after user's shutdown, store information also can lose thereupon, and processing unit 206 can't see through this store information again and read this archives from non-volatile memory cells 204.Even these archives still are stored in the non-volatile memory cells 204, still can't be read again.This situation will be equal to these archives and eliminate.Therefore, above-mentioned read method can reach can eliminate this temporary network archives easily, with the effect of the convenience that increases the user.
Above-mentioned method for example is applied in the embedded electronic device.Non-volatile memory cells 204 for example is non-voltile memory (Non-Volatile Memory) or hard disk, and volatile memory 202 then for example is Dram (Dynamic Random Access Memory).
Now the embodiment for store information is described as follows.Please refer to Fig. 3, it illustrates the synoptic diagram of an embodiment of the data structure that is store information.Store information is stored in volatile memory 202 with a plurality of serials, and these a plurality of serials for example comprise serial 302,304, reach 306.Each serial comprises head node (Header node) 312 and at least one back end (Data node) 316.Head node 312 stores the binding information of at least one back end 316, and points to the head node 312 of next serial according to circumstances.This at least one back end 316 stores the address that corresponds in the non-volatile memory cells 204.
So, when user's given network address, processing unit 206 is obtained through network connections 208 after the network archives of corresponding this network address, and processing unit 206 is cooked up the storage section (cluster) of the non-volatile memory cells 204 that will store this network archives and the sector number of these storage sections according to the use situation of present non-volatile memory cells 204.The use situation of non-volatile memory cells 204 for example can be with reference to FAT (the File Allocation Table of non-volatile memory cells 204 at present, FAT) learn which stores section is spendable storage section, with as can be in order to store the storage section of this network archives.
After selecting the storage section that will store this network archives, a network archives can use a serial to store, as: serial 302.The starting point of this serial is a head node 312, in order to point to first back end 316.316 of back end have stored the address of first storage section of this network archives, and point to next back end.Next back end has then stored the address of the next one storage section of this network archives, and the rest may be inferred.The number of employed back end is relevant with the number of employed storage section.
Specify another network address and work as the user, processing unit 206 is obtained after another network archives of corresponding this another network address through network connections 208, this another network archives can use another serial to store, as: serial 304.At this moment, the data storing mode of the similar aforementioned serial 302 of data storing mode of serial 304, and the head node 312 of the head node 312 sensing serials 304 of serial 302 link so that produce between each serial.Above-mentioned store information can be the store information that corresponds to one or more network archives.
So, when the user reassigns a network address, and this network address is the words of the network address of once browsing, processing unit 206 will see through the store information that is stored in volatile memory 202, from non-volatile memory cells 204, read the network archives of the corresponding network address of so far reassigning, and show, and do not need again to see through the function of the network communication of electronic installation 200, download this network archives again.So, can save user's stand-by period, and allow the user can browse the content of this network address apace.
And after user's shutdown, the store information that is stored in the volatile memory 202 also can disappear along with the disappearance of power supply.Processing unit 206 can't see through this store information again and read the one or more network archives that are stored in the non-volatile memory cells 204 from non-volatile memory cells 204.At this moment, the pairing one or more network archives of store information will can be considered and be eliminated, and the storage area that stores these one or more network archives will can be considered and be released and can reuse.So, as long as in the power supply disappearance, the pairing one or more network archives of store information will can be considered and can automatically be eliminated.Can reside in the practice of internal storage constantly compared to the temporary network archives of conventional practice, this embodiment can allow the user not need the action that temporary network archives is manually removed, and can eliminate automatically.Except the storage area that can save non-volatile memory cells 204, for user's file administration, also has the convenience of height.
In addition, because the FAT of non-volatile memory cells 204 is not modified, the out that FAT write down that therefore is stored in non-volatile memory cells 204 still can be retained.
File access method of the present invention and electronic installation thereof, the network archives that had read that can allow the user browse more quickly can be eliminated this temporary network archives again, easily to increase user's convenience, so quite have the market competitiveness.
According to the detailed description of above embodiment, hope can be known description feature of the present invention and spirit more, and is not to come the present invention is limited with above-mentioned disclosed embodiment.

Claims (10)

1. file access method is characterized in that comprising:
See through network connections and obtain archives;
According to these archives and non-volatile memory cells decision store information;
Store this store information in volatile memory; And
According to this store information these archives are stored in this non-volatile memory cells.
2. file access method according to claim 1 is characterized in that: this store information comprises these archives is stored in the required address information of this non-volatile memory cells.
3. file access method according to claim 2, it is characterized in that: this address information is stored in this volatile memory with a string at least row, this at least one serial comprises head node and at least one back end, this head node stores the binding information of this at least one back end, and this at least one back end stores the address that corresponds in this non-volatile memory cells.
4. file access method according to claim 1 is characterized in that this file access method more comprises:
If receive reading command, then see through this store information that is stored in this volatile memory and from this non-volatile memory cells, read this archives.
5. file access method according to claim 1 is characterized in that: this method is applied in the embedded electronic device, and this non-volatile memory cells is non-voltile memory or hard disk, and this volatile memory is a Dram.
6. electronic installation is characterized in that comprising:
Volatile memory;
Non-volatile memory cells; And
Processing unit, obtain archives in order to see through network connections, according to these archives and this non-volatile memory cells decision store information, this store information is stored in this volatile memory, and these archives is stored in this non-volatile memory cells according to this store information.
7. electronic installation according to claim 6 is characterized in that: this store information comprises these archives is stored in the required address information of this non-volatile memory cells.
8. electronic installation according to claim 7, it is characterized in that: this address information is stored in this volatile memory with a string at least row, this at least one serial comprises head node and at least one back end, this head node stores the binding information of this at least one back end, and this at least one back end stores the address that corresponds in this non-volatile memory cells.
9. electronic installation according to claim 6 is characterized in that: this processing unit more sees through this store information that is stored in this volatile memory and read this archives from this non-volatile memory cells when receiving reading command.
10. electronic installation according to claim 6 is characterized in that: this electronic installation is an embedded electronic device, and this non-volatile memory cells is non-voltile memory or hard disk, and this volatile memory is a Dram.
CN 201010228148 2010-06-29 2010-06-29 File access method and electronic device thereof Pending CN101887461A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010228148 CN101887461A (en) 2010-06-29 2010-06-29 File access method and electronic device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010228148 CN101887461A (en) 2010-06-29 2010-06-29 File access method and electronic device thereof

Publications (1)

Publication Number Publication Date
CN101887461A true CN101887461A (en) 2010-11-17

Family

ID=43073383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010228148 Pending CN101887461A (en) 2010-06-29 2010-06-29 File access method and electronic device thereof

Country Status (1)

Country Link
CN (1) CN101887461A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114518835A (en) * 2020-11-19 2022-05-20 瑞昱半导体股份有限公司 Archive reading method and non-transitory computer-readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588315A (en) * 2004-09-23 2005-03-02 倚天资讯股份有限公司 Method for down loading mounting software
CN101681313A (en) * 2008-02-29 2010-03-24 株式会社东芝 Memory system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588315A (en) * 2004-09-23 2005-03-02 倚天资讯股份有限公司 Method for down loading mounting software
CN101681313A (en) * 2008-02-29 2010-03-24 株式会社东芝 Memory system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114518835A (en) * 2020-11-19 2022-05-20 瑞昱半导体股份有限公司 Archive reading method and non-transitory computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN102855193B (en) Go during the carry of untapped logical address in Nonvolatile memory system to map
CN101416165B (en) Describing and querying discrete regions of flash storage
US20090240750A1 (en) Memory system and data access method
US20180189174A1 (en) Method for creating multi-namespace and method for accessing data therein
US8332584B2 (en) Method of combining and managing file systems for memory space and a computer system
US7633799B2 (en) Method combining lower-endurance/performance and higher-endurance/performance information storage to support data processing
CN102479250A (en) Disk caching method for embedded browser
WO2006014748A1 (en) Method and device to improve usb flash write performance
CN102821111A (en) Real-time synchronizing method for file cloud storage
CN102541969B (en) File protection method and system based on file allocation table (FAT) file system, and memory
CN103942009A (en) Apparatus and method for extending memory in terminal
US10275187B2 (en) Memory device and data read method thereof
US20080244203A1 (en) Apparatus combining lower-endurance/performance and higher-endurance/performance information storage to support data processing
CN102117184A (en) Controller for multimemory, terminal equipment and starting and access method thereof
CN104484460A (en) Metadata heat degree statistical method of distributed file system
CN107870739B (en) Disk file storage method and system
TWI622890B (en) Method for creating multi-namespaces and method for accessing data stored therein
TWM528459U (en) Data storage systems and electronic device
CN101887461A (en) File access method and electronic device thereof
US20170269834A1 (en) Data storage device and data management method thereof
CN108877856B (en) Storage device, recording method and preloading method
US20170052708A1 (en) Method for accessing flash memory and associated memory controller and electronic device
CN104133640A (en) Quick recovery from dormancy
US10282106B2 (en) Data storage device and operating method of memory controller
CN103324445B (en) Method and system, USB storage device that USB storage device is run

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20101117