CN104038526A - Data access method and system - Google Patents

Data access method and system Download PDF

Info

Publication number
CN104038526A
CN104038526A CN201310074040.6A CN201310074040A CN104038526A CN 104038526 A CN104038526 A CN 104038526A CN 201310074040 A CN201310074040 A CN 201310074040A CN 104038526 A CN104038526 A CN 104038526A
Authority
CN
China
Prior art keywords
data
metadata
file
real
target data
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.)
Granted
Application number
CN201310074040.6A
Other languages
Chinese (zh)
Other versions
CN104038526B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310074040.6A priority Critical patent/CN104038526B/en
Publication of CN104038526A publication Critical patent/CN104038526A/en
Application granted granted Critical
Publication of CN104038526B publication Critical patent/CN104038526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The application provides a data access method and system. The method comprises: obtaining a data access request; according to the data access request, determining target data requested for access; making a request for obtaining metadata of each level file catalog of file data corresponding to the target data or metadata of actual data and storing the metadata; and obtaining the target data according to the metadata of each level file catalog or the metadata of actual data. According to the embodiment of the application, the network access frequency is reduced and the data access efficiency is improved.

Description

Data access method and system
Technical field
The application relates to technical field of data processing, relates in particular a kind of data access method and system.
Background technology
Network hard disc is a kind of online storage service, to user provide file storage, access, backup, the file management facilities such as share, along with the rapid growth of data and the continuous prosperity of internet device, network hard disc becomes the main development direction of Future Data storage gradually.
The data of storing in network hard disc comprise file data and metadata, and metadata is for managing the data with constituent act data.When the data of accesses network hard-disc storage, need to first obtain metadata, and then obtain corresponding file data according to metadata.
And file data generally comprises file directory and real data, conventionally there is certain layer depth, be to have subdirectory under the master catalogue of file data, have again the subdirectory of lower one deck under subdirectory, corresponding under master catalogue or each subdirectory may be next straton catalogue or real data.In prior art, when carrying out data access, need to conduct interviews to file data layering, determine successively the metadata of every first class catalogue and the metadata of real data, thereby could be according to the metadata of catalogue and the metadata of real data, and then could get target data according to metadata.And often obtain a secondary data, and all need through primary network access, therefore existing data access method need to be through repeatedly access to netwoks, and when catalogue level is darker, access times are more, make resource occupying more, and affected the efficiency of data access.
Summary of the invention
In view of this, the application provides a kind of data access method and system, solves in prior art access to netwoks often, the technical problem of image data access efficiency.
For achieving the above object, the application provides following technical scheme:
The application's one side provides a kind of data access method, comprising:
Obtain data access request;
According to described data access request, determine the target data of request access;
To the metadata of each level file directory or the metadata of real data of file data corresponding to target data described in network hard disc acquisition request, and storage;
According to the metadata of the metadata of described each level file directory or real data, obtain described target data.
Preferably, described before the metadata of each level file directory or the metadata of real data of file data corresponding to target data described in network hard disc acquisition request, described method also comprises:
The metadata of each level file directory or the metadata of real data that whether inquiry stores file data corresponding to described target data;
If not, then carry out the described metadata of each level file directory to file data corresponding to target data described in network hard disc acquisition request or the step of the metadata of real data;
If so,, according to the metadata of the metadata of described each level file directory or real data, obtain described target data.
Preferably, described each level file directory to file data corresponding to target data described in network hard disc acquisition request or the metadata of real data, and storage comprises:
The metadata of each level file directory or the metadata of real data to file data corresponding to target data described in network hard disc acquisition request;
By the metadata of the metadata of described each level file directory or real data, according to the storage organization of different level file directorys or real data, store.
Preferably, described each level file directory to file data corresponding to target data described in network hard disc acquisition request or the metadata of real data, and storage comprises:
The metadata of each level file directory or the metadata of real data to file data corresponding to target data described in network hard disc request;
Receive that network hard disc sends according to the different file directorys of the storage organization tissue of different level file directorys or real data or the metadata of real data;
Store the metadata of described different file directorys or the metadata of real data.
Preferably, according to the metadata of the metadata of described each level file directory or real data, obtain described target data and comprise:
Determine the file destination catalogue that described target data is corresponding;
According to the metadata of described each level file directory, determine the document directory structure of described file data;
According to described document directory structure, and described file destination catalogue, described target data obtained.
Preferably, described reception data access request comprises:
Obtain the data access request that Virtual File System sends.
Preferably, described metadata comprises target data attribute.
The application provides a kind of data access system on the other hand, comprising:
Acquisition request module, for obtaining data access request;
Data determination module, for according to described data access request, determines the target data of request access;
The first data acquisition module, for the metadata of each level file directory or the metadata of real data to file data corresponding to target data described in network hard disc acquisition request, and storage;
The second data acquisition module, for according to the metadata of the metadata of described each level file directory or real data, obtains described target data.
Preferably, described system also comprises:
Data query module, for inquiring about the metadata of each level file directory or the metadata of real data of whether storing file data corresponding to described target data, if not, trigger described the first data acquisition module, if so, trigger described the second data module.
Preferably, described the first data acquisition module comprises:
Data acquisition submodule, for each the level file directory to file data corresponding to target data described in network hard disc acquisition request or the metadata of real data;
The first memory module, for by the metadata of described each level file directory or real data, stores according to the storage organization of different level file directorys or real data.
Preferably, described the first acquisition module comprises:
Request sending module, for the metadata of each level file directory or the metadata of real data to file data corresponding to target data described in network hard disc request;
Data reception module: receive that network hard disc sends according to the metadata of different file directorys of the storage organization tissue of different level file directorys or real data or the metadata of real data;
The second memory module, for storing the metadata of described different file directorys or the metadata of real data.
Preferably, described the second data acquisition module comprises:
Catalogue determination module, for determining file destination catalogue corresponding to described target data;
Structure determination module, for the metadata according to described each level file directory, determines the document directory structure of described file data;
The second data acquisition submodule, for the described document directory structure of foundation, and described file destination catalogue, obtain described target data.
Known via above-mentioned technical scheme, compared with prior art, the application provides a kind of data access method and system, when getting the data access request that target data is conducted interviews, to network hard disc, once ask to obtain the metadata of file directory or the metadata of the real data under file directory of each level of file data corresponding to target data, and storage, thereby the metadata of the file directory of each level of obtaining according to this or the metadata of real data, can determine the information such as metadata of target data, thereby can get this target data through primary network access, without successively accessing successively, access times have been reduced, thereby improved the efficiency of data access.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only the application's embodiment, for those of ordinary skills, do not paying under the prerequisite of creative work, other accompanying drawing can also be provided according to the accompanying drawing providing.
Fig. 1 is the flow chart of a kind of data access method embodiment 1 of the application;
Fig. 2 is the flow chart of a kind of data access method embodiment 2 of the application;
Fig. 3 is the structural representation of a kind of DAA embodiment 1 of the application;
Fig. 4 is the structural representation of a kind of DAA embodiment 2 of the application;
Fig. 5 is the structural representation of a kind of implementation of the first data acquisition module in a kind of DAA embodiment 2 of the application;
Fig. 6 is the structural representation of the another kind of implementation of the first data acquisition module in a kind of DAA embodiment 2 of the application.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only the application's part embodiment, rather than whole embodiment.Embodiment based in the application, those of ordinary skills are not making the every other embodiment obtaining under creative work prerequisite, all belong to the scope of the application's protection.
One of main thought of the application can comprise: when data access system gets the data access request that target data is conducted interviews, to network hard disc, once ask to obtain the metadata of file directory or the metadata of the real data under file directory of each level of file data corresponding to target data, and storage, thereby the metadata of the file directory of each level of obtaining according to this or the metadata of real data, can determine the information such as metadata of target data, thereby can get this target data through primary network access, without successively accessing successively, access times have been reduced, thereby improved the efficiency of data access.
Below in conjunction with accompanying drawing, the application's embodiment is described in detail.
Fig. 1 is the flow chart of a kind of data access method embodiment 1 of the application, can comprise following step:
Step 101: obtain data access request.
Step 102: according to described data access request, determine the target data of request access.
The file of storing in network hard disc comprises file data and metadata, by file system, data is managed.File data and metadata are two kinds of storage data modes that file system is managed, file data comprises file directory and real data, metadata is for managing the data with constituent act data, metadata can comprise the data attribute of file data, for example title, size, type etc.
In the embodiment of the present application, the data of network hard disc storage have certain layer depth, and file data comprises file directory, and file directory comprises master catalogue and subdirectory, has again the subdirectory of lower one deck under subdirectory.Under master catalogue or subdirectory, correspondence is next straton catalogue or real data.
When carrying out data access, this data access request can be carried the title of target data, thereby can, according to this data access request, determine the target data of wanting access.
Wherein, the data access request of the virtual file access system that this data access request can specifically receive, can be according to this data access request request access network hard disc of virtual file access system.
Step 103: to the metadata of each level file directory or the metadata of real data the storage of file data corresponding to target data described in network hard disc acquisition request.
Because the storage of file data in network hard disc has certain layer depth, be to store according to certain bibliographic structure.In prior art, while obtaining target data to network hard disc, need to file data, layering conduct interviews successively, need to send repeatedly network request to network hard disc.And in the embodiment of the present application, after getting network access request, while carrying out access to netwoks to network hard disc, the metadata of each level file directory or the metadata of real data of this target data place file data of acquisition request, and can store, rather than only access the metadata of one deck file directory or the metadata of real data.
Step 104: according to the metadata of the metadata of described each level file directory or real data, obtain described target data.
The metadata of each level file destination of obtaining or the metadata of real data, can obtain described target data according to metadata, for example, according to metadata can determine target data memory location and size etc. attribute information, thereby can, according to these attribute informations, obtain corresponding target data.
Wherein, a kind of possible implementation of this step 104 can be specifically:
First, determine the file destination catalogue that described target data is corresponding.
Secondly, according to the metadata of described each level file directory, determine the document directory structure of described file data.
Then, according to described document directory structure, and described file destination catalogue, can obtain described target data.
According to the metadata of target data, can determine the corresponding file destination catalogue of target data.According to the metadata of the file directory of each obtained level, can obtain the document directory structure of file data corresponding to target data; According to document directory structure, and file destination catalogue, thereby can determine the position of file destination catalogue in document directory structure, and then accordingly can be to acquisition request of network hard disc to this target data.
In the present embodiment, while getting the data access request that target data is conducted interviews, to network hard disc, once ask to obtain the metadata of file directory or the metadata of the real data under file directory of each level of file data corresponding to target data, and storage, thereby the metadata of the file directory of each level of obtaining according to this or the metadata of real data, can determine the information such as metadata of target data, thereby can get this target data through primary network access, without successively accessing successively, access times have been reduced, thereby improved the efficiency of data access.
Fig. 2 is the flow chart of a kind of data access method embodiment 2 of the application, and the method can comprise following step:
Step 201: obtain data access request:.
Step 202: according to described data access request, determine the target data of request access.
Step 201~step 202 is similar to step 101~step 102 of embodiment 1, and this is no longer going to repeat them.
Step 203: the metadata of each level file directory or the metadata of real data that whether inquiry stores file data corresponding to described target data, if not, enter step 204, if so, enter step 205.
In the present embodiment, get data access request, determine after the target data of request access, first whether inquiry stores the metadata of each level file directory or the metadata of real data of file data corresponding to this target data.
Step 204: to the metadata of each level file directory or the metadata of real data of file data corresponding to target data described in network hard disc acquisition request, and storage, and enter step 205.
If inquiry does not exist the metadata of each level file directory or the metadata of real data of file data corresponding to this target data, to network hard disc, initiate access to netwoks, the metadata of each level file directory of acquisition request or the metadata of real data.
Wherein, to the metadata of each level file directory or the metadata of real data of file data corresponding to target data described in network hard disc acquisition request, a kind of possible implementation is:
The metadata of each level file directory or the metadata of real data to file data corresponding to target data described in network hard disc acquisition request.
By the metadata of the metadata of described each level file directory or real data, according to the storage organization of different level file directorys or real data, store.
After sending request to network hard disc, each level file directory of the file data that described target data that network hard disc is returned is corresponding or the metadata of real data, according to the storage organization of different level file directorys or real data, store, the metadata of soon obtaining is stored according to the storage organization of data in network hard disc, be the metadata of each file directory or the metadata of real data, respective stored is on the memory location of its corresponding file directory or real data.
Wherein, this storage organization also can be with the metadata of a described level file directory or real data together to network hard disc acquisition request.
Another kind of possible implementation is:
To each level file directory of file data corresponding to target data described in network hard disc request or the metadata of real data;
Receive that network hard disc sends according to the metadata of different file directorys of the storage organization tissue of different level file directorys or real data or the metadata of real data;
Store the metadata of described different file directorys or the metadata of real data.
After sending request to network hard disc, network hard disc is determined each level file directory of the file data that bid data are corresponding or the metadata of real data, and according to the storage organization of different level file directorys or real data, organizes the metadata of different file directorys or real data.
Thereby the metadata of each level file directory or the metadata of real data of the network hard disc feedback of obtaining are to organize according to storage organization, thereby directly store the metadata of different file directorys or the metadata of real data.
Step 205: according to the metadata of the metadata of described each level file directory or real data, obtain described target data.
Store the metadata of each level file directory or the metadata of real data inquiring, or to network hard disc acquisition request the metadata of this each level file directory or the metadata of real data, can be according to these metadata, to network hard disc acquisition request target data.
Due to the metadata of each level file directory or the metadata of real data corresponding good according to storage organization, can therefrom find the memory location in the file data of target data in network hard disc according to this storage organization, thereby can only access accordingly primary network hard disk, can correspondence get target data.
Wherein, a kind of possible implementation of this step 205 can be specifically:
First, determine the file destination catalogue that described target data is corresponding.
Secondly, according to the metadata of described each level file directory, determine the document directory structure of described file data.
Then, according to described document directory structure, and described file destination catalogue, can obtain described target data.
According to the metadata of target data, can determine the corresponding file destination catalogue of target data.According to the metadata of the file directory of each obtained level, can obtain the document directory structure of file data corresponding to target data, wherein, because metadata is all stored according to the storage organization of various level file directory or real data, therefore can directly determine the document directory structure of file data; According to document directory structure, and file destination catalogue, thereby can determine the position of file destination catalogue in document directory structure, and then accordingly can be to acquisition request of network hard disc to this target data.
In the present embodiment, while getting the data access request that target data is conducted interviews, whether inquiry stores the metadata of file directory or the metadata of the real data under file directory of each level of file data corresponding to target data, if do not have, to network hard disc, once ask to obtain the metadata of file directory or the metadata of the real data under file directory the storage of each level of file data corresponding to target data, thereby the metadata of the file directory of each level of obtaining according to this or the metadata of real data, can determine the information such as metadata of target data, when the data in this document data are accessed again, can directly inquire about the metadata of having stored, without acquisition request, further reduced access to netwoks number of times, improved the efficiency of data access.
Fig. 3 is the structural representation of a kind of data-acquisition system embodiment 1 of the application, and this system can comprise:
Acquisition request module 301, for obtaining data access request.
Data determination module 302, for according to described data access request, determines the target data of request access.
The file of storing in network hard disc comprises file data and metadata.File data and metadata are two kinds of storage data modes that file system is managed, file data comprises file directory and real data, metadata is for managing the data with constituent act data, metadata can comprise the data attribute of file data, for example title, size, type etc.
When carrying out data access, this data access request can be carried the title of target data, thereby can, according to this data access request, determine the target data of wanting access.
The data access request of the virtual file access system that this data access request can specifically receive, can be according to this data access request request access network hard disc of virtual file access system.
The first data acquisition module 303, for the metadata of each level file directory or the metadata of real data to file data corresponding to target data described in network hard disc acquisition request, and storage.
The storage of file data in network hard disc has certain layer depth, is to store according to certain bibliographic structure.In the embodiment of the present application, after getting network access request, while carrying out access to netwoks to network hard disc, the metadata of each level file directory or the metadata of real data of this target data place file data of acquisition request, and can store, rather than only access the metadata of one deck file directory or the metadata of real data.
The second data acquisition module 304, for according to the metadata of the metadata of described each level file directory or real data, obtains described target data.
Wherein, in a kind of possible implementation, described the second data acquisition module 304 can comprise:
Catalogue determination module 3041, for determining file destination catalogue corresponding to described target data;
Structure determination module 3042, for the metadata according to described each level file directory, determines the document directory structure of described file data;
The second data acquisition submodule 3043, for the described document directory structure of foundation, and the metadata of described target data, obtain described target data.
According to the metadata of target data, can determine the corresponding file destination catalogue of target data.According to the metadata of the file directory of each obtained level, can obtain the document directory structure of file data corresponding to target data; According to document directory structure, and file destination catalogue, thereby can determine the position of file destination catalogue in document directory structure, and then accordingly can be to acquisition request of network hard disc to this target data.
In the present embodiment, when data access system gets the data access request that target data is conducted interviews, to network hard disc, once ask to obtain the metadata of file directory or the metadata of the real data under file directory of each level of file data corresponding to target data, and storage, thereby the metadata of the file directory of each level of obtaining according to this or the metadata of real data, can determine the information such as metadata of target data, thereby can get this target data through primary network access, without successively accessing successively, access times have been reduced, thereby improved the efficiency of data access.
Fig. 4 is the structural representation of a kind of data access system embodiment 2 of the application, this system can comprise acquisition request module 401, data determination module 402, data query module 403, the first data acquisition module 404 and the second data acquisition module 405, wherein
Described request acquisition module 401, for obtaining data access request;
Described data determination module 402, for according to described data access request, determines the target data of request access;
Described data query module 403, for inquiring about the metadata of each level file directory or the metadata of real data of whether storing file data corresponding to described target data, if not, trigger described the first data acquisition module 405, if so, trigger described the second data acquisition module 406.
The first data acquisition module 405, for the metadata of each level file directory to file data corresponding to target data described in network hard disc acquisition request or the metadata of real data storage.
Wherein, a kind of possible implementation, referring to Fig. 5, described the first data acquisition module can comprise:
Data acquisition submodule 501, for each the level file directory to file data corresponding to target data described in network hard disc acquisition request or the metadata of real data.
The first memory module 502, for by the metadata of described each level file directory or real data, stores according to the storage organization of different level file directorys or real data.
After sending request to network hard disc, each level file directory of the file data that described target data that network hard disc is returned is corresponding or the metadata of real data, according to the storage organization of different level file directorys or real data, store, the metadata of soon obtaining is stored according to the storage organization of data in network hard disc, be the metadata of each file directory or the metadata of real data, respective stored is on the memory location of its corresponding file directory or real data.
Wherein, this storage organization also can be with the metadata of a described level file directory or real data together to network hard disc acquisition request.
Another kind of possible implementation, referring to Fig. 6, described the second data acquisition module can comprise:
Request sending module 601, for each the level file directory to file data corresponding to target data described in network hard disc request or the metadata of real data;
Data reception module 602, receive that network hard disc sends according to the different file directorys of the storage organization tissue of different level file directorys or real data or the metadata of real data;
The second memory module 603, for storing the metadata of described different file directory or real data.
After sending request to network hard disc, network hard disc is determined each level file directory of the file data that bid data are corresponding or the metadata of real data, and according to the storage organization of different level file directorys or real data, organizes the metadata of different file directorys or real data.
Thereby the metadata of each level file directory or the metadata of real data of the network hard disc feedback that system is obtained are to organize according to storage organization, thereby directly store the metadata of different file directorys or the metadata of real data.
The second data acquisition module 405, for according to the metadata of the metadata of described each level file directory or real data, obtains described target data.
Store the metadata of each level file directory or the metadata of real data inquiring, or to network hard disc acquisition request the metadata of this each level file directory or the metadata of real data, can be according to these metadata, to network hard disc acquisition request target data.
Due to the metadata of each level file directory or the metadata of real data corresponding good according to storage organization, can therefrom find the memory location in the file data of target data in network hard disc according to this storage organization, thereby can only access accordingly primary network hard disk, can correspondence get target data.
Wherein, as a kind of possible implementation, described the second data acquisition module 405 can comprise:
Catalogue determination module 4051, for determining file destination catalogue corresponding to described target data.
Structure determination module 4052, for the metadata according to described each level file directory, determines the document directory structure of described file data.
Because metadata is all stored according to the storage organization of various level file directory or real data, therefore can directly determine according to this storage organization the document directory structure of file data.
The second data acquisition submodule 4053, for the described document directory structure of foundation, and the metadata of described target data, obtain described target data.
In the present embodiment, when data access system gets the data access request that target data is conducted interviews, whether inquiry stores the metadata of file directory or the metadata of the real data under file directory of each level of file data corresponding to target data, if do not have, to network hard disc, once ask to obtain the metadata of file directory or the metadata of the real data under file directory the storage of each level of file data corresponding to target data, thereby the metadata of the file directory of each level of obtaining according to this or the metadata of real data, can determine the information such as metadata of target data, when the data in this document data are accessed again, can directly inquire about the metadata of having stored, without acquisition request, further reduced access to netwoks number of times, improved the efficiency of data access.
Data access system described in the embodiment of the present application, in actual applications, can be integrated in virtual file access system, can be used as independent entity and is connected with network hard disc with virtual file access system.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed device of embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part partly illustrates referring to method.
Above-mentioned explanation to the disclosed embodiments, makes professional and technical personnel in the field can realize or use the application.To the multiple modification of these embodiment, will be apparent for those skilled in the art, General Principle as defined herein can be in the situation that do not depart from the application's spirit or scope, realization in other embodiments.Therefore, the application will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (12)

1. a data access method, is characterized in that, comprising:
Obtain data access request;
According to described data access request, determine the target data of request access;
To the metadata of each level file directory or the metadata of real data of file data corresponding to target data described in network hard disc acquisition request, and storage;
According to the metadata of the metadata of described each level file directory or real data, obtain described target data.
2. method according to claim 1, is characterized in that, described before the metadata of each level file directory or the metadata of real data of file data corresponding to target data described in network hard disc acquisition request, described method also comprises:
The metadata of each level file directory or the metadata of real data that whether inquiry stores file data corresponding to described target data;
If not, then carry out the described metadata of each level file directory to file data corresponding to target data described in network hard disc acquisition request or the step of the metadata of real data;
If so,, according to the metadata of the metadata of described each level file directory or real data, obtain described target data.
3. method according to claim 1, is characterized in that, described each level file directory to file data corresponding to target data described in network hard disc acquisition request or the metadata of real data, and storage comprises:
The metadata of each level file directory or the metadata of real data to file data corresponding to target data described in network hard disc acquisition request;
By the metadata of the metadata of described each level file directory or real data, according to the storage organization of different level file directorys or real data, store.
4. method according to claim 1, is characterized in that, described each level file directory to file data corresponding to target data described in network hard disc acquisition request or the metadata of real data, and storage comprises:
The metadata of each level file directory or the metadata of real data to file data corresponding to target data described in network hard disc request;
Receive that network hard disc sends according to the different file directorys of the storage organization tissue of different level file directorys or real data or the metadata of real data;
Store the metadata of described different file directorys or the metadata of real data.
5. method according to claim 1, is characterized in that, according to the metadata of the metadata of described each level file directory or real data, obtains described target data and comprises:
Determine the file destination catalogue that described target data is corresponding;
According to the metadata of described each level file directory, determine the document directory structure of described file data;
According to described document directory structure, and described file destination catalogue, described target data obtained.
6. method according to claim 1, is characterized in that, described reception data access request comprises:
Obtain the data access request that Virtual File System sends.
7. method according to claim 1, is characterized in that, described metadata comprises target data attribute.
8. a data access system, is characterized in that, comprising:
Acquisition request module, for obtaining data access request;
Data determination module, for according to described data access request, determines the target data of request access;
The first data acquisition module, for the metadata of each level file directory or the metadata of real data to file data corresponding to target data described in network hard disc acquisition request, and storage;
The second data acquisition module, for according to the metadata of the metadata of described each level file directory or real data, obtains described target data.
9. system according to claim 8, is characterized in that, also comprises:
Data query module, for inquiring about the metadata of each level file directory or the metadata of real data of whether storing file data corresponding to described target data, if not, trigger described the first data acquisition module, if so, trigger described the second data module.
10. system according to claim 8, is characterized in that, described the first data acquisition module comprises:
Data acquisition submodule, for each the level file directory to file data corresponding to target data described in network hard disc acquisition request or the metadata of real data;
The first memory module, for by the metadata of described each level file directory or real data, stores according to the storage organization of different level file directorys or real data.
11. systems according to claim 8, is characterized in that, described the first acquisition module comprises:
Request sending module, for the metadata of each level file directory or the metadata of real data to file data corresponding to target data described in network hard disc request;
Data reception module: receive that network hard disc sends according to the metadata of different file directorys of the storage organization tissue of different level file directorys or real data or the metadata of real data;
The second memory module, for storing the metadata of described different file directorys or the metadata of real data.
12. systems according to claim 8, is characterized in that, described the second data acquisition module comprises:
Catalogue determination module, for determining file destination catalogue corresponding to described target data;
Structure determination module, for the metadata according to described each level file directory, determines the document directory structure of described file data;
The second data acquisition submodule, for the described document directory structure of foundation, and described file destination catalogue, obtain described target data.
CN201310074040.6A 2013-03-08 2013-03-08 Data access method and system Active CN104038526B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310074040.6A CN104038526B (en) 2013-03-08 2013-03-08 Data access method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310074040.6A CN104038526B (en) 2013-03-08 2013-03-08 Data access method and system

Publications (2)

Publication Number Publication Date
CN104038526A true CN104038526A (en) 2014-09-10
CN104038526B CN104038526B (en) 2018-10-12

Family

ID=51469115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310074040.6A Active CN104038526B (en) 2013-03-08 2013-03-08 Data access method and system

Country Status (1)

Country Link
CN (1) CN104038526B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101076031A (en) * 2006-12-06 2007-11-21 腾讯科技(深圳)有限公司 Method for applying network hard disk
CN101510219A (en) * 2009-03-31 2009-08-19 成都市华为赛门铁克科技有限公司 File data accessing method, apparatus and system
CN101576854A (en) * 2009-04-03 2009-11-11 成都市华为赛门铁克科技有限公司 File access method, device and system
CN102419770A (en) * 2011-11-23 2012-04-18 中兴通讯股份有限公司 File sharing system, method for realizing file sharing, and file index service equipment
CN102523301A (en) * 2011-12-26 2012-06-27 深圳市创新科信息技术有限公司 Method for caching data on client in cloud storage

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101076031A (en) * 2006-12-06 2007-11-21 腾讯科技(深圳)有限公司 Method for applying network hard disk
CN101510219A (en) * 2009-03-31 2009-08-19 成都市华为赛门铁克科技有限公司 File data accessing method, apparatus and system
CN101576854A (en) * 2009-04-03 2009-11-11 成都市华为赛门铁克科技有限公司 File access method, device and system
CN102419770A (en) * 2011-11-23 2012-04-18 中兴通讯股份有限公司 File sharing system, method for realizing file sharing, and file index service equipment
CN102523301A (en) * 2011-12-26 2012-06-27 深圳市创新科信息技术有限公司 Method for caching data on client in cloud storage

Also Published As

Publication number Publication date
CN104038526B (en) 2018-10-12

Similar Documents

Publication Publication Date Title
US11734125B2 (en) Tiered cloud storage for different availability and performance requirements
CN103067461B (en) A kind of metadata management system of file and metadata management method
CN103870202B (en) A kind of distributed storage method and system of block device
KR100825721B1 (en) System and method of time-based cache coherency maintenance in user file manager of object-based storage system
CN107026876B (en) A kind of file data access system and method
US10901619B2 (en) Selecting pages implementing leaf nodes and internal nodes of a data set index for reuse
CN103761275B (en) The management method of metadata in a kind of distributed file system
CN102136003A (en) Large-scale distributed storage system
CN104536903B (en) A kind of mixing storage method and system stored classifiedly by data attribute
CN104516974B (en) A kind of management method and device of file system directories item
EP2710477B1 (en) Distributed caching and cache analysis
JP2003030012A5 (en)
CN103116552A (en) Method and device for distributing storage space in distributed type storage system
US9940020B2 (en) Memory management method, apparatus, and system
CN103024053A (en) Cloud storage method, resource scheduling system and cloud storage node and system
CN102012981A (en) Distributing and matching method and system of general permission grade
CN104660643A (en) Request response method and device and distributed file system
US11496476B2 (en) Access permissions management system and method
US9380127B2 (en) Distributed caching and cache analysis
CN109542861A (en) File management method, device and system
CN102891872A (en) Method and system for storing and searching data in peer to peer (P2P) network
CN106940712A (en) Sequence generating method and equipment
CN109783462A (en) A kind of data access method and device based on distributed file system
CN109002260A (en) A kind of data cached processing method and processing system
CN103412860A (en) Method and device for extending database and database system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant