CN101576854A - File access method, device and system - Google Patents

File access method, device and system Download PDF

Info

Publication number
CN101576854A
CN101576854A CNA200910134025XA CN200910134025A CN101576854A CN 101576854 A CN101576854 A CN 101576854A CN A200910134025X A CNA200910134025X A CN A200910134025XA CN 200910134025 A CN200910134025 A CN 200910134025A CN 101576854 A CN101576854 A CN 101576854A
Authority
CN
China
Prior art keywords
file
positional information
access
nonvolatile memory
server
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
CNA200910134025XA
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.)
Huawei Digital Technologies Chengdu Co Ltd
Original Assignee
Huawei Symantec Technologies 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 Huawei Symantec Technologies Co Ltd filed Critical Huawei Symantec Technologies Co Ltd
Priority to CNA200910134025XA priority Critical patent/CN101576854A/en
Publication of CN101576854A publication Critical patent/CN101576854A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention provides a file access method, device and system, and the method comprises the followings: the position information of the file which is stored in a buffer is captured, and the file is stored in a non-volatile memory; the file which is stored in the non-volatile memory is accessed according to the position information of the file. In the embodiment, the position information of the file is stored in the buffer, and the file can be accessed on a disc according to the position information of the file when a user accesses the file, thereby reducing disc input/output and increasing the read-write speed of the disc.

Description

The method of file access, Apparatus and system
Technical field
The present invention relates to technical field of memory, particularly a kind of file access method, Apparatus and system.
Background technology
Development along with the internet, applications technology, in order to improve the speed of user capture file, solution of the prior art is to make up storage system, this system by the two-level cache network and the file system of rear end constitute, the buffer memory of buffer memory network and remote server is formed the two-level cache network jointly, and document layout system is on storage non-volatile memories.As shown in Figure 1, when user's 101 certain file of visit, arrive first in the buffer memory network 102 and search this document, if this document is present in the buffer memory network 102, the user directly reads this document from buffer memory network 102; If this document is not present in the buffer memory network 102, the user just visits this document by the buffer memory network to the server buffer 104 of remote server 103, if this document is present in the server buffer 104 of remote server, the user can arrive in the server buffer 104 of remote server and read this document; If this document is not present in the buffer memory of remote server, the user just reads file by server to the nonvolatile memory 105 that links to each other with server.
In realizing process of the present invention, the inventor finds prior art, and there are the following problems at least: after the file system of rear end is received user's request of access, to arrive access file on the nonvolatile memory, but when having a large amount of small documents in the file system, if do not know the position of file on nonvolatile memory, may on nonvolatile memory, repeatedly search, cause disk I/O repeatedly, thereby make that the access speed of nonvolatile memory is very slow.
Summary of the invention
Embodiment of the invention purpose is to provide a kind of method, Apparatus and system of realizing the file fast access, to reduce the disk I/O, improves the read or write speed of disk.
To achieve these goals, the embodiment of the invention provides a kind of method that realizes the file fast access, and this method comprises: obtain the positional information of the file of storing in the buffer memory, described file storage is on nonvolatile memory; According to the file of storing in the described nonvolatile memory of the location information access of described file.
To achieve these goals, the embodiment of the invention also provides a kind of device of realizing the file fast access, and this device comprises: location information acquiring unit, be used for obtaining the positional information of the file that buffer memory stores, and described file storage is on nonvolatile memory; The file access unit is used for the file of storing according to the described nonvolatile memory of the location information access of described file.
To achieve these goals, the embodiment of the invention also provides a kind of file access system, described system comprises: client, server and the nonvolatile memory that is connected with server, store file on the described nonvolatile memory, described server is used for the positional information of the file of described nonvolatile memory stores is stored in server buffer; Described client is used for obtaining the positional information of the file that described server buffer stores, and according to the positional information of the described file described file of visit to the described nonvolatile memory.
The useful technique effect of the embodiment of the invention: the embodiment of the invention is stored in the positional information of file in the buffer memory, the user is when access file, can reduce the disk I/O according to the positional information of file access file to the disk, improve the read or write speed of disk.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the Organization Chart of the storage system that is made of front end buffer memory and rear end file system in the prior art;
Fig. 2 is the method flow diagram of the embodiment of the invention one file access;
The method flow diagram of file access when Fig. 3 is stored in Hash table for the embodiment of the invention two with file location information;
Fig. 4 is the structural representation of embodiment of the invention storage file information in Hash table;
Fig. 5 is the mapping relations figure of the block on embodiment of the invention logical address and the disk;
The process flow diagram of file access when Fig. 6 is stored in the indexed sequential table for the embodiment of the invention two with file location information;
Fig. 7 is the structural representation of embodiment of the invention storage file information in the indexed sequential table;
Fig. 8 is the structural representation of embodiment of the invention file access device;
Fig. 9 is the structural representation of another embodiment of the present invention file access device;
Figure 10 is the structural representation of embodiment of the invention file access system;
Figure 11 is the structural representation of embodiment of the invention server.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Fig. 2 realizes the method flow diagram of file fast access for the embodiment of the invention.As shown in Figure 2, this method comprises:
Step S201: obtain the positional information of the file of storing in the buffer memory, described file storage is on nonvolatile memory;
Step S202: according to the file of storing in the described nonvolatile memory of the location information access of described file.
In buffer memory, the corresponding relation of file identification and file location information is stored in the storage list of described buffer memory, described file identification comprises filename or file cryptographic hash, just can obtain the positional information of file in storage list according to the corresponding relation of file identification and file location information.
Nonvolatile memory can be disk, CD etc., and storage list can be Hash table and indexed sequential table etc., and storage list leaves in the buffer memory.
Be Hash table with storage list below, nonvolatile memory is that disk is example explanation the specific embodiment of the present invention.
The method flow diagram of file access when Fig. 3 is stored in Hash table for the embodiment of the invention two with file location information.As shown in Figure 3, described browsing process may further comprise the steps:
Step S301: receive user's file access request.
Step S302: the request of access according to the user judges whether to create new file, if, execution in step S303, if not, execution in step S305.
Step S303: the request of access according to the user is created new file on disk.
Step S304: the filename according to new file calculates cryptographic hash, and the positional information of cryptographic hash and file is added in the Hash table.
There are a plurality of files in the file system of disk, the user can conduct interviews to file as required, the embodiment of the invention is at first according to the filename of the All Files in the disk, calculate the cryptographic hash of file, each cryptographic hash is corresponding to a node in the Hash table, and the positional information with file is stored on the node of each cryptographic hash correspondence then.Positional information comprises the particular location of file storage in disk.Disk is read the positional information of All Files from file system, then these positional informations are stored in the Hash table in the buffer memory.
Server is when the file access request that receives the user, can in buffer memory, create new file according to the file access request, filename according to new file calculates cryptographic hash, according to cryptographic hash the positional information of this new file on disk is stored in the Hash table then.
Suppose the file ABCD-E by name of the new file that will create, according to hash algorithm, calculate 64 cryptographic hash 1 of ABCD-E correspondence, be assumed to be 10,100,011,001,100,110,011,000,101,010,001,101,110,001,101,010,101,010,101 01001110, find the node of this cryptographic hash correspondence in Hash table, as shown in Figure 4, this cryptographic hash is deposited in this node of Hash table 401.Suppose second disk of this new file at disk, its corresponding disk number (disk No.) is 0x02, and this new file is 0x5120 in the logical address (Logic Block Address LBA) of second disk.A block on the corresponding disk of each LBA, as shown in Figure 5, logical address and block corresponding one by one (only showing the part corresponding relation among the figure) on the disk.The new file storage of file ABCD-E by name is being numbered on 2 the block.
Step S305: the cryptographic hash of the file that will visit according to the user and the corresponding relation of file location information are searched this document in Hash table positional information.
The file of the file of the file that will visit such as user ACDE by name, corresponding relation according to the positional information of this document name and this document, in Hash table, search the positional information of this document, as shown in Figure 4, the cryptographic hash of this document correspondence is a cryptographic hash 2, this document is on first disk as can be known from its corresponding disk number 0x01, and the LBA of this document on first disk is 0x5121, can find this document from Fig. 5 and be stored in and be numbered on 3 the block.
Step S306: the positional information according to this document is visited this document to disk.
The user is numbered to first disk on 1 the block just can find this document, and it is conducted interviews.
Step S307: visit finishes.
Be the indexed sequential table with storage list below, nonvolatile memory is that disk is example explanation the specific embodiment of the present invention.
The process flow diagram of file access when Fig. 6 is stored in the indexed sequential table for the embodiment of the invention two with file location information.As shown in Figure 6, file access flow process may further comprise the steps:
Step S601: receive user's file access request.
Step S602: the request of access according to the user judges whether to create new file, if, execution in step S603, if not, execution in step S605.
Step S603: the request of access according to the user is created new file on disk.
Step S604: the filename according to new file adds the positional information of file in the indexed sequential table to.
The embodiment of the invention at first makes up an indexed sequential table,, is stored in the indexed sequential table as index with the filename of each file in the disk, then file is stored on the node of this document in the indexed sequential table in the positional information on the disk.Positional information comprise file in disk which dish and the particular location in the disk.During the installation file system, the positional information of just reading All Files from file system stores these positional informations in the indexed sequential table of creating in the buffer memory into then on disk.
Server can be created new file according to the file access request in buffer memory when the file access request that receives the user, then will this new file and the positional information on disk store in the indexed sequential table.
As shown in Figure 7, supposing the file ABC by name of the new file that will create, is index with filename ABC, and the positional information of this document on disk stored in the indexed sequential table 701 that has built.Suppose this document on first disk of disk, its corresponding disk number (disk No.) is 0x01, and this document is 0x4120 at the LBA of first disk.A block on the corresponding disk of each LBA, as shown in Figure 5, logical address is corresponding one by one with block on the disk, and the file storage that file is called ABC is being numbered on 1 the block.
Step S605: the filename of the file that will visit according to the user is searched this document in the indexed sequential table positional information.
The file of the file of the file that will visit such as user ABD by name, corresponding relation according to the positional information of this document name and this document, in the indexed sequential table, search the positional information of this document, as shown in Figure 7, from its corresponding disk number 0x02 of ABD as can be known this document on second disk, the LBA of this document on second disk is 0x5111, can find this document from Fig. 5 and be stored in and be numbered on 4 the block.
Step S606: the positional information according to this document is visited this document to disk.
Be numbered on user's to the second disk on 4 the block and just can find this document, it is conducted interviews.
Step S607: visit finishes.
The useful technique effect of the embodiment of the invention: the present invention is stored in the positional information of file in the buffer memory, the user is when access file, can reduce the disk I/O according to the positional information of file access file to the disk, improve the read or write speed of disk.
Fig. 8 is the structural representation of embodiment of the invention file access device.Described file access device 800 comprises: location information acquiring unit 801, be used for obtaining the positional information of the file that buffer memory stores, and described file storage is on nonvolatile memory; File access unit 802 is used for the file of storing according to the described nonvolatile memory of the location information access of described file.
In buffer memory, server is stored in the corresponding relation of file identification and file location information in the storage list of described buffer memory, described file identification comprises filename or file cryptographic hash, and location information acquiring unit 801 just can obtain the positional information of file in storage list according to the corresponding relation of file identification and file location information.File access unit 802 conducts interviews to file in disk according to the described positional information of obtaining.
Fig. 9 is the structural representation of embodiment of the invention file access device.As shown in Figure 9, described file access device also comprises solicited message transmitting element 901, be used for sending the file access solicited message to server, make and on nonvolatile memory, create described new file when server is judged needs and created new file according to described file access solicited message, and the positional information of described new file is stored in the described buffer memory.
Nonvolatile memory can be disk, CD etc., and storage list can be Hash table and indexed sequential table etc., and storage list leaves in the buffer memory.
With nonvolatile memory is that disk is example explanation the specific embodiment of the present invention.Storage list can be Hash table, indexed sequential table etc., is that Hash table describes with storage list at first.
The user before server sends the file access request, the positional information that server at first will be stored in the file on the nonvolatile memory is stored in the Hash table, such as the file that has file ABCD-E by name in the disk, according to hash algorithm, calculate 64 cryptographic hash 1 of ABCD-E correspondence, be assumed to be 10,100,011,001,100,110,011,000,101,010 00110111000110101010101010101001110, find the node of this cryptographic hash correspondence in Hash table, as shown in Figure 4, this cryptographic hash is deposited in this node of Hash table 401.Suppose second disk of this new file at disk, its corresponding disk number (disk No.) is 0x02, and this new file is 0x5120 in the logical address (Logic Block AddressLBA) of second disk.A block on the corresponding disk of each LBA, as shown in Figure 5, logical address and block corresponding one by one (only showing the part corresponding relation among the figure) on the disk, the new file storage that file is called ABCD-E is being numbered on 2 the block.According to the method described above, server all stores the positional information of files all on the disk in the Hash table into.
Solicited message transmitting element 901 sends the file access solicited message to server, server receives user's file access request, judge whether that according to user's request of access needs create new file, create new file if desired, request of access according to the user is created new file on disk, and calculate cryptographic hash according to the filename of new file, according to the method described above the positional information of cryptographic hash and file is added in the Hash table.
When the user carries out data access, the cryptographic hash of the file that location information acquiring unit 801 will be visited according to the user and the corresponding relation of file location information are searched this document in Hash table positional information.File access unit 802 is according to the file of storing in the described nonvolatile memory of the location information access of described file.
If the file of the file of the file that the user will visit ACDE by name, corresponding relation according to the positional information of this document name and this document, in Hash table, search the positional information of this document, as shown in Figure 4, the cryptographic hash of this document correspondence is a cryptographic hash 2, this document is on first disk as can be known from its corresponding disk number 0x01, and the LBA of this document on first disk is 0x5121, can find this document from Fig. 5 and be stored in and be numbered on 3 the block.File access unit 802 is visited this document according to this positional information to disk.
Be that the indexed sequential table is that example describes with storage list below.
The user before server sends the file access request, the positional information that server at first will be stored in the file on the nonvolatile memory is stored in the indexed sequential table, such as the file that has file ABC by name in the disk, as shown in Figure 7, with filename ABC is index, and the positional information of this document on disk stored in the indexed sequential table 701 that has built.Suppose this document on first disk of disk, its corresponding disk number (disk No.) is 0x01, and this document is 0x4120 at the LBA of first disk.A block on the corresponding disk of each LBA, as shown in Figure 5, logical address is corresponding one by one with block on the disk, and the file storage that file is called ABC is being numbered on 1 the block.According to the method described above, server all stores the positional information of files all on the disk in the indexed sequential table.
Solicited message transmitting element 901 sends the file access solicited message to server, server receives user's file access request, judge whether that according to user's request of access needs create new file, create new file if desired, request of access according to the user is created new file on disk, and according to the method described above the positional information of cryptographic hash and file is added in the Hash table according to the filename of new file.
When the user carries out data access, the filename of the file that location information acquiring unit 801 will be visited according to the user and the corresponding relation of file location information are searched this document in the indexed sequential table positional information.File access unit 802 is according to the file of storing in the described nonvolatile memory of the location information access of described file.
The file of the file of the file that will visit such as user ABD by name, corresponding relation according to the positional information of this document name and this document, in the indexed sequential table, search the positional information of this document, as shown in Figure 7, from its corresponding disk number 0x02 of ABD as can be known this document on second disk, the LBA of this document on second disk is 0x5111, can find this document from Fig. 5 and be stored in and be numbered on 4 the block.File access unit 802 is visited this document according to this positional information to disk.
The useful technique effect of the embodiment of the invention: the present invention is stored in the positional information of file in the buffer memory, the user is when access file, can reduce the disk I/O according to the positional information of file access file to the disk, improve the read or write speed of disk.
Figure 10 is the structural representation of embodiment of the invention file access system.As shown in figure 10, described system comprises: client 1001, server 1002 and the nonvolatile memory 1003 that is connected with server, store file on the described nonvolatile memory 1003, described server 1002 is used for the positional information of the file of described nonvolatile memory 1003 storages is stored in server buffer 1004; Described client 1001 is used for obtaining the positional information of the file that described server buffer stores, and according to the positional information of the described file described file of visit to the described nonvolatile memory.
Nonvolatile memory can be disk, CD etc., is that disk is an example with nonvolatile memory, and server 1002 is according to the positional information of file on disk, and the corresponding relation of file identification and file location information is stored in the storage list of described buffer memory; Described file identification comprises filename or file cryptographic hash, and client 1001 just can obtain the positional information of file in storage list according to the corresponding relation of file identification and file location information.
Described client 1001 comprises: location information acquiring unit 801 is used for obtaining the positional information of the file that described buffer memory stores; File access unit 802 is used for the file of storing according to the described nonvolatile memory of the location information access of described file.
Figure 11 is the structural representation of this embodiment server.As shown in figure 11, described server 1002 comprises: positional information storage unit 1101, visit information receiving element 1102, judging unit 1103 and document creation unit 1104.Described positional information storage unit 1101, the positional information that is used for being stored in the file on the nonvolatile memory is stored in described server buffer; Described visit information receiving element 1102 is used to receive the file access solicited message; Described judging unit 1103 is used for judging whether that according to described file access solicited message needs create new file on nonvolatile memory, if need create new file on nonvolatile memory, sends document creation to described document creation unit and instructs; Described document creation unit 1104 is used to receive the judged result of described judging unit, creates described new file on described nonvolatile memory.
Storage list can be Hash table, indexed sequential table etc., is that Hash table describes with storage list at first.
The user before server 1002 sends the file access requests, the positional information that positional information storage unit 1101 at first will be stored in the file on the disk is stored in the Hash table, such as the file that has file ABCD-E by name in the disk, according to hash algorithm, calculate 64 cryptographic hash 1 of ABCD-E correspondence, be assumed to be 10,100,011,001,100,110,011,000,101,010 0,011,011,100,011,010,101,010,101,010,100 1110, find the node of this cryptographic hash correspondence in Hash table, as shown in Figure 4, this cryptographic hash is deposited in this node of Hash table 401.Suppose this new file at second disk, its corresponding disk number (disk No.) is 0x02, and this new file is 0x5120 in the logical address (LogicBlock Address LBA) of second disk.A block on the corresponding disk of each LBA, as shown in Figure 5, logical address and block corresponding one by one (only showing the part corresponding relation among the figure) on the disk, the new file storage that file is called ABCD-E is being numbered on 2 the block.According to the method described above, positional information storage unit 1101 all stores the positional information of files all on the disk in the Hash table into.
Solicited message transmitting element 901 sends the file access solicited message to server, when visit information receiving element 1102 receives user's file access request, judging unit 1103 judges whether that according to user's request of access needs create new file, create new file if desired, new file is created according to user's request of access in document creation unit 1104 on disk, and calculate cryptographic hash according to the filename of new file, according to the method described above, utilize positional information storage unit 1101 that the positional information of cryptographic hash and file is added in the Hash table.
When client 1001 is carried out data access, the cryptographic hash of the file that location information acquiring unit 801 will be visited according to the user and the corresponding relation of file location information are searched this document in Hash table positional information.File access unit 802 is according to the file of storing in the described nonvolatile memory of the location information access of described file.
If the file of the file of the file that the user will visit ACDE by name, corresponding relation according to the positional information of this document name and this document, in Hash table, search the positional information of this document, as shown in Figure 4, the cryptographic hash of this document correspondence is a cryptographic hash 2, this document is on first disk as can be known from its corresponding disk number 0x01, and the LBA of this document on first disk is 0x5121, can find this document from Fig. 5 and be stored in and be numbered on 3 the block.File access unit 802 is visited this document according to this positional information to disk.
Be that the indexed sequential table is that example describes with storage list below.
The user before server sends the file access request, the positional information that the positional information storage unit 1101 of server 1002 at first will be stored in the file on the nonvolatile memory is stored in the indexed sequential table, such as the file that has file ABC by name in the disk, as shown in Figure 7, with filename ABC is index, and the positional information of this document on disk stored in the indexed sequential table 701 that has built.Suppose this document on first disk of disk, its corresponding disk number (disk No.) is 0x01, and this document is 0x4120 at the LBA of first disk.A block on the corresponding disk of each LBA, as shown in Figure 5, logical address is corresponding one by one with block on the disk, and the file storage that file is called ABC is being numbered on 1 the block.According to the method described above, positional information storage unit 1101 all stores the positional information of files all on the disk in the indexed sequential table.
Solicited message transmitting element 901 sends the file access solicited message to server, when visit information receiving element 1102 receives user's file access request, judging unit 1103 judges whether that according to user's request of access needs create new file, create new file if desired, creating unit 1104 is created new file according to user's request of access on disk, according to the filename of new file, utilize positional information storage unit 1101 that the positional information of cryptographic hash and file is added in the Hash table.
When client 1001 is carried out data access, the filename of the file that location information acquiring unit 801 will be visited according to the user and the corresponding relation of file location information are searched this document in the indexed sequential table positional information.File access unit 802 is according to the file of storing in the described nonvolatile memory of the location information access of described file.
The file of the file of the file that will visit such as user ABD by name, corresponding relation according to the positional information of this document name and this document, in the indexed sequential table, search the positional information of this document, as shown in Figure 7, from its corresponding disk number 0x02 of ABD as can be known this document on second disk, the LBA of this document on first disk is 0x5111, can find this document from Fig. 5 and be stored in and be numbered on 4 the block.File access unit 802 is visited this document according to this positional information to disk.
The useful technique effect of the embodiment of the invention: the present invention is stored in the positional information of file in the buffer memory, the user is when access file, can reduce the disk I/O according to the positional information of file access file to the disk, improve the read or write speed of disk.
Above-described embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is the specific embodiment of the present invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1. the method for a file access is characterized in that, described method comprises:
Obtain the positional information of the file of storing in the buffer memory, described file storage is on nonvolatile memory;
According to the file of storing in the described nonvolatile memory of the location information access of described file.
2. the method for claim 1, it is characterized in that the described positional information of obtaining the file of storing in the buffer memory comprises: the positional information of obtaining the described file of storing in the described buffer memory according to the corresponding relation of file identification and file location information in the storage list of buffer memory.
3. method as claimed in claim 2 is characterized in that, described file identification comprises filename or file cryptographic hash.
4. the method for claim 1 is characterized in that, described method also comprises:
Send the file access solicited message to server, make and on nonvolatile memory, create described new file when server is judged needs and created new file according to described file access solicited message, and the positional information of described new file is stored in the described buffer memory.
5. the device of a file access is characterized in that, described device comprises:
Location information acquiring unit is used for obtaining the positional information of the file that buffer memory stores, and described file storage is on nonvolatile memory;
The file access unit is used for the file of storing according to the described nonvolatile memory of the location information access of described file.
6. device as claimed in claim 5 is characterized in that,
Described location information acquiring unit specifically is used for obtaining according to the corresponding relation of the storage list file identification of buffer memory and file location information the positional information of the described file of storing in the described buffer memory.
7. device as claimed in claim 6 is characterized in that, described file identification comprises filename or file cryptographic hash.
8. device as claimed in claim 5 is characterized in that, described device also comprises:
The solicited message transmitting element, be used for sending the file access solicited message to server, make and on nonvolatile memory, create described new file when server is judged needs and created new file according to described file access solicited message, and the positional information of described new file is stored in the described buffer memory.
9. file access system, described system comprises: client, server and the nonvolatile memory that is connected with server, store file on the described nonvolatile memory, it is characterized in that,
Described server is used for the positional information of the file of described nonvolatile memory stores is stored in server buffer;
Described client is used for obtaining the positional information of the file that described server buffer stores, and according to the positional information of the described file described file of visit to the described nonvolatile memory.
10. file access as claimed in claim 9 system is characterized in that described server comprises: positional information storage unit, visit information receiving element, judging unit and document creation unit;
Described positional information storage unit, the positional information that is used for being stored in the file on the nonvolatile memory is stored in described server buffer;
Described visit information receiving element is used to receive the file access solicited message;
Described judging unit is used for judging whether that according to described file access solicited message needs create new file on nonvolatile memory, if need create new file on nonvolatile memory, sends document creation to described document creation unit and instructs;
Described document creation unit is used to receive the judged result of described judging unit, creates described new file on described nonvolatile memory.
11. file access as claimed in claim 9 system is characterized in that described client comprises:
Location information acquiring unit is used for obtaining the positional information of the file that described buffer memory stores;
The file access unit is used for the file of storing according to the described nonvolatile memory of the location information access of described file;
The solicited message transmitting element, be used for sending the file access solicited message to server, make and on nonvolatile memory, create described new file when server is judged needs and created new file according to described file access solicited message, and the positional information of described new file is stored in the described buffer memory.
CNA200910134025XA 2009-04-03 2009-04-03 File access method, device and system Pending CN101576854A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA200910134025XA CN101576854A (en) 2009-04-03 2009-04-03 File access method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA200910134025XA CN101576854A (en) 2009-04-03 2009-04-03 File access method, device and system

Publications (1)

Publication Number Publication Date
CN101576854A true CN101576854A (en) 2009-11-11

Family

ID=41271789

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA200910134025XA Pending CN101576854A (en) 2009-04-03 2009-04-03 File access method, device and system

Country Status (1)

Country Link
CN (1) CN101576854A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102420857A (en) * 2011-11-18 2012-04-18 北京蓝汛通信技术有限责任公司 Operation instruction transmission and processing methods, transmission and cache servers and storage system
CN102567490A (en) * 2011-12-21 2012-07-11 华为技术有限公司 Method and apparatus for recovering description information and caching data in database
CN102750324A (en) * 2012-05-28 2012-10-24 华为技术有限公司 File storage system, file storage device and file access method
CN103384256A (en) * 2012-05-02 2013-11-06 天津书生投资有限公司 Cloud storage method and device
CN104038526A (en) * 2013-03-08 2014-09-10 联想(北京)有限公司 Data access method and system
CN104636464A (en) * 2015-02-09 2015-05-20 腾讯科技(深圳)有限公司 Method and device for having access to file
CN106446288A (en) * 2016-11-11 2017-02-22 大唐微电子技术有限公司 File processing method and device for smart card
CN107818111A (en) * 2016-09-13 2018-03-20 腾讯科技(深圳)有限公司 A kind of method, server and the terminal of cache file data

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102420857A (en) * 2011-11-18 2012-04-18 北京蓝汛通信技术有限责任公司 Operation instruction transmission and processing methods, transmission and cache servers and storage system
CN102567490A (en) * 2011-12-21 2012-07-11 华为技术有限公司 Method and apparatus for recovering description information and caching data in database
CN103384256A (en) * 2012-05-02 2013-11-06 天津书生投资有限公司 Cloud storage method and device
WO2013163832A1 (en) * 2012-05-02 2013-11-07 天津书生投资有限公司 Cloud storage method and device
CN102750324A (en) * 2012-05-28 2012-10-24 华为技术有限公司 File storage system, file storage device and file access method
US9405757B2 (en) 2012-05-28 2016-08-02 Huawei Technologies Co., Ltd. File storage system, apparatus, and file access method
CN104038526B (en) * 2013-03-08 2018-10-12 联想(北京)有限公司 Data access method and system
CN104038526A (en) * 2013-03-08 2014-09-10 联想(北京)有限公司 Data access method and system
CN104636464A (en) * 2015-02-09 2015-05-20 腾讯科技(深圳)有限公司 Method and device for having access to file
CN104636464B (en) * 2015-02-09 2019-02-01 腾讯科技(深圳)有限公司 The method and apparatus for accessing file
CN107818111A (en) * 2016-09-13 2018-03-20 腾讯科技(深圳)有限公司 A kind of method, server and the terminal of cache file data
CN107818111B (en) * 2016-09-13 2021-10-15 腾讯科技(深圳)有限公司 Method for caching file data, server and terminal
CN106446288A (en) * 2016-11-11 2017-02-22 大唐微电子技术有限公司 File processing method and device for smart card

Similar Documents

Publication Publication Date Title
CN102542052B (en) Priority hash index
CN101576854A (en) File access method, device and system
US20140223089A1 (en) Method and device for storing data in a flash memory using address mapping for supporting various block sizes
US8396938B2 (en) Providing direct access to distributed managed content
CN105069048A (en) Small file storage method, query method and device
CN103620549A (en) Storage media abstraction for uniform data storage
CN107786638B (en) Data processing method, device and system
CN103399823B (en) The storage means of business datum, equipment and system
US20160364407A1 (en) Method and Device for Responding to Request, and Distributed File System
CN102317926A (en) With the storage system of high-speed storage device as the buffer memory use
US11630767B2 (en) Garbage collection—automatic data placement
CN102841854A (en) Method and system for executing data reading based on dynamic hierarchical memory cache (hmc) awareness
CN103747072A (en) Data reading and writing method and application server
CN104020961A (en) Distributed data storage method, device and system
CN107329704B (en) Cache mirroring method and controller
CN103037004A (en) Implement method and device of cloud storage system operation
US7624091B2 (en) Data prefetch in storage device
US20120191897A1 (en) Non-volatile memory system and management method thereof
CN103425785A (en) Data storage system and user data storage and reading method thereof
CN104616680A (en) Repeating data deleting system based on optical disc storage as well as data operating method and device
US9971520B2 (en) Processing read and write requests
JP2019028954A (en) Storage control apparatus, program, and deduplication method
CN112463055B (en) Method, system, equipment and medium for optimizing and using L2P table of solid state disk
KR20150045073A (en) Data Operating Method And System supporting the same
US11520818B2 (en) Method, apparatus and computer program product for managing metadata of storage object

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20091111