CN107491535A - A kind of method and device of file mount - Google Patents

A kind of method and device of file mount Download PDF

Info

Publication number
CN107491535A
CN107491535A CN201710724742.2A CN201710724742A CN107491535A CN 107491535 A CN107491535 A CN 107491535A CN 201710724742 A CN201710724742 A CN 201710724742A CN 107491535 A CN107491535 A CN 107491535A
Authority
CN
China
Prior art keywords
client
storage
protocol information
agreement
catalogue
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
CN201710724742.2A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710724742.2A priority Critical patent/CN107491535A/en
Publication of CN107491535A publication Critical patent/CN107491535A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/122File system administration, e.g. details of archiving or snapshots using management policies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of method of file mount, utilize the protocol information for storing acquisition request client, within the storage system agreement storage catalogue is created according to protocol information, that is different agreement storage catalogues is created to different protocol informations, make the root for the client that agreement storage catalogue stores as current request, again by storage content storage into corresponding agreement storage catalogue, so the user of different agreement may only access the content of the root of oneself the namely agreement storage catalogue of oneself, therefore just the content that the client of different agreement stores is isolated, therefore be not in the phenomenon of the file maloperation to other agreements, the safety of other document of agreement is ensured.The invention also discloses a kind of device of file mount, above-mentioned technique effect can be equally realized.

Description

A kind of method and device of file mount
Technical field
The present invention relates to technical field of distributed memory, more specifically to a kind of method and device of file mount.
Background technology
Distributed unified storage system refers to a variety of storage agreement sides such as a set of offer file storage, block storage, object storage The storage system of formula.
At this stage, increasing distributed storage product tends to provide unified storage, that is, passes through a set of storage Storage content, the user stored using different agreement, can be stored to a set of deposit by the different storage agreement of system docking In storage system.But in a set of storage system, the content stored by different agreement can not accomplish the number between different agreement According to completely isolated.Under the storage system of Linux environment, if user has super keepe authority (root), and use When super keepe authority carries out the access of data to the storage content under a kind of agreement, it is easy to the number of other agreements storage According to maloperation, the data for storing other agreements are dangerous, bring many inconvenience.
Therefore, the data storage between different agreement how is distinguished, is that those skilled in the art need to solve the problems, such as.
The content of the invention
It is an object of the invention to provide a kind of method and device of file mount, to distinguish the storage between different agreement Data.
To achieve the above object, the embodiments of the invention provide following technical scheme:
A kind of method of file mount, including:
Client is received to ask to the storage that storage system is sent;
Utilize the storage acquisition request client protocol information;
Agreement storage catalogue corresponding with the client protocol information is obtained using the client protocol information;It is described Agreement storage catalogue is that the agreement created using the client protocol information under the root of the storage system stores mesh Record;
By the storage content carry in the storage request into the agreement storage catalogue.
Wherein, agreement storage catalogue corresponding with the client protocol information is obtained using the client protocol information Before, in addition to:
Judge whether storage system has agreement storage catalogue corresponding with the client protocol information;
If it is not, agreement storage mesh is then created under the root of the storage system using the client protocol information Record;
If so, then continuing executing with association corresponding with the client protocol information is obtained using the client protocol information The step of discussing storage catalogue.
Wherein, after using the storage acquisition request client protocol information, in addition to:
Utilize the identification information of client described in the storage acquisition request;
Agreement storage catalogue corresponding with the client protocol information then is obtained using the client protocol information, is wrapped Include:
Obtained and the client and the visitor using the identification information of the client protocol information and the client Client protocol storage catalogue corresponding to the protocol information of family end;The client protocol storage catalogue is to be assisted using the client The identification information of view information and the client created under the root of the storage system with the client and described Client protocol storage catalogue corresponding to client protocol information.
Wherein, obtained and the client and institute using the identification information of the client protocol information and the client Before stating client protocol storage catalogue corresponding to client protocol information, in addition to:
Judge whether storage system has the visitor corresponding with the identification information of the client protocol information and the client Family end agreement storage catalogue;
If it is not, the identification information of the client protocol information and the client is then utilized in the root of the storage system The client protocol storage catalogue corresponding with the client and the client protocol information created under catalogue;
If so, then continue executing with the identification information using the client protocol information and the client obtain with Corresponding to the client and the client protocol information the step of client protocol storage catalogue.
A kind of device of file mount, including:
Request receiving module is stored, is asked for receiving client to the storage that storage system is sent;
Protocol information acquisition module, for utilizing the storage acquisition request client protocol information;
Storage catalogue acquisition module, for being obtained and the client protocol information pair using the client protocol information The agreement storage catalogue answered;The agreement storage catalogue is the root mesh in the storage system using the client protocol information The lower agreement storage catalogue created of record;
Carry module, for the storage content carry during the storage is asked into the agreement storage catalogue.
Wherein, in addition to:
First judge module, for being obtained using the client protocol information corresponding to the client protocol information Before agreement storage catalogue, judge whether storage system has agreement storage catalogue corresponding with the client protocol information;If It is to continue to call the storage catalogue acquisition module;
First storage catalogue creation module, it is agreement not corresponding with the client protocol information for storage system During storage catalogue, agreement storage catalogue is created under the root of the storage system using the client protocol information.
Wherein, in addition to:
Identification information acquisition module, utilize the identification information of client described in the storage acquisition request;
The then storage catalogue acquisition module, is specifically used for:
The client and the client are obtained using the identification information of the client protocol information and the client Hold client protocol storage catalogue corresponding to protocol information;The client protocol storage catalogue is to utilize the client protocol The identification information of information and the client created under the root of the storage system with the client and the visitor Client protocol storage catalogue corresponding to the protocol information of family end.
Wherein, in addition to:
Second judge module, for judging whether storage system has and the client protocol information and the client Client protocol storage catalogue corresponding to identification information;If so, then call the storage catalogue acquisition module;
Second storage catalogue creation module, for storage system be not with the client protocol information and the client During client protocol storage catalogue corresponding to the identification information at end, the mark of the client protocol information and the client is utilized Know information and client corresponding with the client and the client protocol information is created under the root of the storage system Hold agreement storage catalogue.
By above scheme, a kind of method of file mount provided in an embodiment of the present invention, obtained using request is stored The protocol information of client is taken, creates agreement storage catalogue according to protocol information within the storage system, that is to say, that to different Protocol information creates different agreement storage catalogue, makes the root mesh for the client that agreement storage catalogue stores as current request Record, then by storage content storage into corresponding agreement storage catalogue, the user of such different agreement may only access oneself The content of the root namely agreement storage catalogue of oneself, therefore just carry out the content that the client of different agreement stores Isolation, therefore be not in the phenomenon of the file maloperation to other agreements, ensure the safety of other document of agreement.The present invention A kind of device of file mount is also disclosed, can equally realize above-mentioned technique effect.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of method flow diagram of file mount disclosed in the embodiment of the present invention;
Fig. 2 is a kind of distributed storage schematic diagram of adaptive mount point disclosed in the embodiment of the present invention;
Fig. 3 is a kind of method flow diagram of specific file mount disclosed in the embodiment of the present invention;
Fig. 4 is a kind of method flow diagram of specific file mount disclosed in the embodiment of the present invention;
Fig. 5 is a kind of method flow diagram of specific file mount disclosed in the embodiment of the present invention;
Fig. 6 is a kind of apparatus structure schematic diagram of file mount disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of method and device of file mount, to distinguish the storage number between different agreement According to.
Referring to Fig. 1 and Fig. 2, a kind of method of file mount provided in an embodiment of the present invention, specifically include:
S101, receive client and asked to the storage that storage system is sent.
Specifically, receive client to ask to the storage that storage system is sent, client can be carried out using NFS protocol The client of data storage or other agreements of utilization such as CIFS, SAMBA, FUSE etc..
S102, utilize the storage acquisition request client protocol information.
After receiving storage request, the protocol information that client utilizes is obtained, for example get user and use NFS to assist View.
S103, obtain agreement corresponding with the client protocol information using the client protocol information and store mesh Record;The agreement storage catalogue is the agreement created using the client protocol information under the root of the storage system Storage catalogue.
Specifically, after receiving request, not immediately by client content carry to be stored under the root directory, but first exist Created a directory under the root of storage system using protocol information for this agreement, such as/data/nfs.Need what is illustrated It is that subdirectory/data/nfs under root in storage system, is the root as client, then have the client of different agreement End request storage, what it is all according to agreement is not all that it creates different subdirectories, but corresponding agreement in the root of storage system Subdirectory in client be the root as client.Therefore in same storage system, the data between different agreement are done Isolation, and for client, data are equally to deposit under the root directory, so while do not influence client normal operating, The problem of avoiding to other protocol data maloperations.
S104, by the storage content carry in the storage request into the agreement storage catalogue.
Specifically, the root for this agreement, that is, storage system are arrived into the content storage of client request storage The subdirectory for agreement, complete storage process.
As can be seen here, the method for a kind of file mount provided in an embodiment of the present invention, using storing acquisition request client Protocol information, within the storage system according to protocol information create agreement storage catalogue, that is to say, that to different protocol informations Different agreement storage catalogues is created, makes the root for the client that agreement storage catalogue stores as current request, then will be deposited Content storage is stored up into corresponding agreement storage catalogue, the user of such different agreement may only access the root of oneself also just It is the content of the agreement storage catalogue of oneself, therefore is just isolated the content that the client of different agreement stores, therefore Be not in the phenomenon of the file maloperation to other agreements, ensured the safety of other document of agreement.
The embodiment of the present invention provides a kind of method of specific file mount, and referring to Fig. 3, the embodiment of the present invention is specifically wrapped Include:
S201, receive client and asked to the storage that storage system is sent.
S202, utilize the storage acquisition request client protocol information.
S203, judges whether storage system has agreement storage catalogue corresponding with the client protocol information.
Specifically, after getting protocol information, to judge whether this corresponding agreement be present within the storage system Catalogue, such as client use NFS protocol, then first to judge whether there has been NFS catalogue within the storage system, Such as/data/nfs.
S204, deposited if it is not, then creating agreement under the root of the storage system using the client protocol information Store up catalogue.
If it is not, need first to create the specific item of a corresponding agreement under the root directory for the agreement that client uses Record, when reusing the client of same agreement and being stored, all store in this subdirectory, and this subdirectory is for visitor It is root for the end of family.
S205, deposited if so, obtaining agreement corresponding with the client protocol information using the client protocol information Store up catalogue.
Specifically, if subdirectory corresponding to the agreement that existing client has used, then obtain after subdirectory information directly The content that client request stores is hung in corresponding subdirectory.
S206, by the storage content carry in the storage request into the agreement storage catalogue.
After determining the catalogue that client should store, storage content is stored into this storage catalogue.
The embodiment of the present invention provides a kind of specific file mount method, and referring to Fig. 4, the embodiment of the present invention specifically includes:
S301, receive client and asked to the storage that storage system is sent.
S302, utilize the storage acquisition request client protocol information.
S303, utilize the identification information of client described in the storage acquisition request.
For further isolated data, be directed in this programme be same as an agreement different clients also carried out every From.Specifically, ask to obtain the protocol information and identification information of the client of request storage using storage, that is, determine which is One client, and use any agreement.
S304, obtained and the client and institute using the identification information of the client protocol information and the client State client protocol storage catalogue corresponding to client protocol information;The client protocol storage catalogue is to utilize the client The identification information of end protocol information and the client created under the root of the storage system with the client and Client protocol storage catalogue corresponding to the client protocol information.
Specifically, according to agreement and the information of client, a subdirectory is created for client, so as to same protocol The data storage isolation of different clients.
S305, by the storage content carry in the storage request into the agreement storage catalogue.
Specifically, the content carry of client request storage is completed into storage into corresponding storage catalogue.
The embodiment of the present invention provides a kind of method of specific file mount, and referring to Fig. 5, the embodiment of the present invention is specifically wrapped Include:
S401, receive client and asked to the storage that storage system is sent.
S402, utilize the storage acquisition request client protocol information.
S403, utilize the identification information of client described in the storage acquisition request.
S404, it is corresponding with the identification information of the client protocol information and the client to judge whether storage system has Client protocol storage catalogue.
Specifically, judge whether to be using this association first with the identification information of client and the protocol information of client This client of view creates corresponding catalogue.Such as A client applications NFS protocol request storage, then first determine whether to store Whether the storage catalogue of the A client of NFS protocol is had in system.
S405, if it is not, being in the storage using the identification information of the client protocol information and the client then The client protocol storage catalogue corresponding with the client and the client protocol information created under the root of system.
If storage catalogue not corresponding with this client and this agreement, identification information and association using client View information is that this client creates a directory under the root of storage system.
S406, if so, being obtained and the client using the identification information of the client protocol information and the client Client protocol storage catalogue corresponding to end and the client protocol information;The client protocol storage catalogue is utilizes institute The identification information for stating client protocol information and the client creating with the visitor under the root of the storage system Client protocol storage catalogue corresponding to family end and the client protocol information.
Specifically, according to agreement and the information of client, a subdirectory is created for client, so as to same protocol The data storage isolation of different clients.
S407, by the storage content carry in the storage request into the agreement storage catalogue.
Specifically, the content carry of client request storage is completed into storage into corresponding storage catalogue.
As can be seen here, a kind of specific file mount method provided in an embodiment of the present invention, can isolate different agreement again Data on the basis of the data of different clients are also isolated, the problem of further avoid maloperation.
A kind of device of file mount provided in an embodiment of the present invention is introduced below, a kind of file described below The device of carry can be with cross-referenced with a kind of above-described method of file mount.
Referring to Fig. 6, a kind of device of file mount provided in an embodiment of the present invention specifically includes:
Request receiving module 501 is stored, is asked for receiving client to the storage that storage system is sent.
Specifically, store request receiving module 501 and receive the storage request that client is sent to storage system, client can To be to carry out the client of data storage using NFS protocol or utilize other agreements such as CIFS, SAMBA, FUSE Deng.
Protocol information acquisition module 502, for utilizing the storage acquisition request client protocol information.
After receiving storage request, protocol information acquisition module 502 obtains the protocol information that client utilizes, for example obtains NFS protocol is used to user.
Storage catalogue acquisition module 503, for obtaining believing with the client protocol using the client protocol information Agreement storage catalogue corresponding to breath.
Specifically, after receiving request, not immediately by client content carry to be stored under the root directory, but pass through Storage catalogue acquisition module 503 is that this agreement creates a directory using protocol information under the root of storage system, example Such as/data/nfs.It should be noted that subdirectory/data/nfs under root in storage system, is the root mesh as client Record, then the client request for having different agreement store, and what it is all according to agreement is not all that it is created not in the root of storage system Same subdirectory, but the subdirectory of corresponding agreement is the root as client in client.Therefore in same storage system In, the data between different agreement are isolated, and for client, data are equally to deposit under the root directory, so not influenceing While client normal operating, the problem of avoiding to other protocol data maloperations.
Carry module 504, for the storage content carry during the storage is asked into the agreement storage catalogue.
Specifically, the root for this agreement is arrived in the content storage that carry module 504 stores client request, also It is the subdirectory for agreement of storage system, completes the process of storage.
As can be seen here, a kind of method of file mount provided in an embodiment of the present invention, protocol information acquisition module 502 utilize The protocol information of acquisition request client is stored, creates agreement storage catalogue according to protocol information within the storage system, that is, Say and different agreement storage catalogues, the client for making agreement storage catalogue be stored as current request are created to different protocol informations The root at end, then storage catalogue acquisition module 503 store storage content into corresponding agreement storage catalogue, so different The user of agreement may only access the content of the root of oneself the namely agreement storage catalogue of oneself, therefore just by different associations The content of the client storage of view is isolated, therefore is not in the phenomenon of the file maloperation to other agreements, is ensured The safety of other document of agreement.
Based on above-described embodiment, the embodiment of the present invention provides a kind of device of specific file mount, the embodiment of the present invention Specifically include:
Request receiving module 501 is stored, is asked for receiving client to the storage that storage system is sent.
Specifically, store request receiving module 501 and receive the storage request that client is sent to storage system, client can To be to carry out the client of data storage using NFS protocol or utilize other agreements such as CIFS, SAMBA, FUSE Deng.
Protocol information acquisition module 502, for utilizing the storage acquisition request client protocol information.
After receiving storage request, protocol information acquisition module 502 obtains the protocol information that client utilizes, for example obtains NFS protocol is used to user.
First judge module 601, for obtaining the client protocol information pair using the client protocol information Before the agreement storage catalogue answered, judge whether storage system has agreement storage mesh corresponding with the client protocol information Record;If then continue to call the storage catalogue acquisition module 503.
Specifically, after the first judge module 601 gets protocol information, to judge whether existed within the storage system Whether the catalogue of this corresponding agreement, such as client use NFS protocol, then first to judge within the storage system Through having NFS catalogue, such as/data/nfs.
First storage catalogue creation module 602, it is not corresponding with the client protocol information for storage system During agreement storage catalogue, agreement storage mesh is created under the root of the storage system using the client protocol information Record.
If not during agreement storage catalogue corresponding with the client protocol information, the first storage catalogue creates mould Block 602 needs first to create the subdirectory of a corresponding agreement under the root directory for the agreement that client uses, and reuses same When the client of agreement is stored, all store in this subdirectory, and this subdirectory is root mesh for client Record.
Storage catalogue acquisition module 503, for obtaining believing with the client protocol using the client protocol information Agreement storage catalogue corresponding to breath.
Carry module 504, for the storage content carry during the storage is asked into the agreement storage catalogue.
Specifically, the root for this agreement is arrived in the content storage that carry module 504 stores client request, also It is the subdirectory for agreement of storage system, completes the process of storage.
Based on above-described embodiment, the embodiment of the present invention provides a kind of device of specific file mount, specifically:
Request receiving module 501 is stored, is asked for receiving client to the storage that storage system is sent.
Protocol information acquisition module 502, for utilizing the storage acquisition request client protocol information.
Identification information acquisition module 701, utilize the identification information of client described in the storage acquisition request.
For further isolated data, be directed in this programme be same as an agreement different clients also carried out every From.Specifically, identification information acquisition module 701 obtains the protocol information and mark of the client of request storage using storage request Information, that is, which client determines is, and use any agreement.
The then storage catalogue acquisition module 503, is specifically used for:
The client and the client are obtained using the identification information of the client protocol information and the client Hold client protocol storage catalogue corresponding to protocol information;The client protocol storage catalogue is to utilize the client protocol The identification information of information and the client created under the root of the storage system with the client and the visitor Client protocol storage catalogue corresponding to the protocol information of family end.
Specifically, according to agreement and the information of client, a subdirectory is created for client, so as to same protocol The data storage isolation of different clients.
Carry module 504, for the storage content carry during the storage is asked into the agreement storage catalogue.
Based on above-described embodiment, the embodiment of the present invention provides a kind of device of specific file mount, specifically:
Request receiving module 501 is stored, is asked for receiving client to the storage that storage system is sent.
Protocol information acquisition module 502, for utilizing the storage acquisition request client protocol information.
Identification information acquisition module 701, utilize the identification information of client described in the storage acquisition request.
For further isolated data, be directed in this programme be same as an agreement different clients also carried out every From.Specifically, identification information acquisition module 701 obtains the protocol information and mark of the client of request storage using storage request Information, that is, which client determines is, and use any agreement.
Second judge module 801, for judging whether storage system has and the client protocol information and the client Client protocol storage catalogue corresponding to the identification information at end;If so, then call the storage catalogue acquisition module 503;
Specifically, the second judge module 801 first is judged using the identification information of client and the protocol information of client Whether it has been to create corresponding catalogue using this client of this agreement.Such as the request storage of A client applications NFS protocol, So first determine whether have the storage catalogue of the A clients of NFS protocol in storage system.
Second storage catalogue creation module 802, for storage system be not with the client protocol information and described During client protocol storage catalogue corresponding to the identification information of client, the client protocol information and the client are utilized Identification information created under the root of the storage system it is corresponding with the client and the client protocol information Client protocol storage catalogue.
Specifically, storage system is not corresponding with the identification information of the client protocol information and the client During client protocol storage catalogue, the second storage catalogue creation module 802 utilizes the client protocol information and the client The identification information at end created under the root of the storage system with the client and the client protocol information pair The client protocol storage catalogue answered.
Storage catalogue acquisition module 503, is specifically used in this programme:
The client and the client are obtained using the identification information of the client protocol information and the client Hold client protocol storage catalogue corresponding to protocol information;The client protocol storage catalogue is to utilize the client protocol The identification information of information and the client created under the root of the storage system with the client and the visitor Client protocol storage catalogue corresponding to the protocol information of family end.
Specifically, according to agreement and the information of client, a subdirectory is created for client, so as to same protocol The data storage isolation of different clients.
Carry module 504, for the storage content carry during the storage is asked into the agreement storage catalogue.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (8)

  1. A kind of 1. method of file mount, it is characterised in that including:
    Client is received to ask to the storage that storage system is sent;
    Utilize the storage acquisition request client protocol information;
    Agreement storage catalogue corresponding with the client protocol information is obtained using the client protocol information;The agreement Storage catalogue is the agreement storage catalogue created using the client protocol information under the root of the storage system;
    By the storage content carry in the storage request into the agreement storage catalogue.
  2. 2. according to the method for claim 1, it is characterised in that obtained and the client using the client protocol information Before holding agreement storage catalogue corresponding to protocol information, in addition to:
    Judge whether storage system has agreement storage catalogue corresponding with the client protocol information;
    If it is not, agreement storage catalogue is then created under the root of the storage system using the client protocol information;
    Deposited if so, then continuing executing with and obtaining agreement corresponding with the client protocol information using the client protocol information The step of storing up catalogue.
  3. 3. according to the method for claim 1, it is characterised in that using the storage acquisition request client protocol information it Afterwards, in addition to:
    Utilize the identification information of client described in the storage acquisition request;
    Agreement storage catalogue corresponding with the client protocol information then is obtained using the client protocol information, including:
    Obtained and the client and the client using the identification information of the client protocol information and the client Client protocol storage catalogue corresponding to protocol information;The client protocol storage catalogue is to be believed using the client protocol Breath created with the identification information of the client under the root of the storage system with the client and the client Hold client protocol storage catalogue corresponding to protocol information.
  4. 4. according to the method for claim 3, it is characterised in that utilize the client protocol information and the client Before identification information obtains client protocol storage catalogue corresponding with the client and the client protocol information, also wrap Include:
    Judge whether storage system has the client corresponding with the identification information of the client protocol information and the client Agreement storage catalogue;
    If it is not, the identification information of the client protocol information and the client is then utilized in the root of the storage system The client protocol storage catalogue corresponding with the client and the client protocol information of lower establishment;
    If so, then continue executing with the identification information using the client protocol information and the client obtain with it is described Corresponding to client and the client protocol information the step of client protocol storage catalogue.
  5. A kind of 5. device of file mount, it is characterised in that including:
    Request receiving module is stored, is asked for receiving client to the storage that storage system is sent;
    Protocol information acquisition module, for utilizing the storage acquisition request client protocol information;
    Storage catalogue acquisition module, it is corresponding with the client protocol information for being obtained using the client protocol information Agreement storage catalogue;The agreement storage catalogue is to utilize the client protocol information under the root of the storage system The agreement storage catalogue of establishment;
    Carry module, for the storage content carry during the storage is asked into the agreement storage catalogue.
  6. 6. device according to claim 5, it is characterised in that also include:
    First judge module, for obtaining agreement corresponding to the client protocol information using the client protocol information Before storage catalogue, judge whether storage system has agreement storage catalogue corresponding with the client protocol information;If then Continue to call the storage catalogue acquisition module;
    First storage catalogue creation module, it is agreement storage not corresponding with the client protocol information for storage system During catalogue, agreement storage catalogue is created under the root of the storage system using the client protocol information.
  7. 7. device according to claim 5, it is characterised in that also include:
    Identification information acquisition module, utilize the identification information of client described in the storage acquisition request;
    The then storage catalogue acquisition module, is specifically used for:
    The client is obtained using the identification information of the client protocol information and the client and the client is assisted Discuss client protocol storage catalogue corresponding to information;The client protocol storage catalogue is to utilize the client protocol information Created with the identification information of the client under the root of the storage system with the client and the client Client protocol storage catalogue corresponding to protocol information.
  8. 8. device according to claim 7, it is characterised in that also include:
    Second judge module, for judging whether storage system has the mark with the client protocol information and the client Client protocol storage catalogue corresponding to information;If so, then call the storage catalogue acquisition module;
    Second storage catalogue creation module, for storage system be not with the client protocol information and the client During client protocol storage catalogue corresponding to identification information, the mark of the client protocol information and the client is utilized to believe Breath creates client association corresponding with the client and the client protocol information under the root of the storage system Discuss storage catalogue.
CN201710724742.2A 2017-08-22 2017-08-22 A kind of method and device of file mount Pending CN107491535A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710724742.2A CN107491535A (en) 2017-08-22 2017-08-22 A kind of method and device of file mount

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710724742.2A CN107491535A (en) 2017-08-22 2017-08-22 A kind of method and device of file mount

Publications (1)

Publication Number Publication Date
CN107491535A true CN107491535A (en) 2017-12-19

Family

ID=60645898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710724742.2A Pending CN107491535A (en) 2017-08-22 2017-08-22 A kind of method and device of file mount

Country Status (1)

Country Link
CN (1) CN107491535A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080183802A1 (en) * 2007-01-30 2008-07-31 Microsoft Corporation Network recycle bin
CN103685579A (en) * 2014-01-13 2014-03-26 浪潮(北京)电子信息产业有限公司 Shared access method of cluster NAS (network attached storage) system
CN103747064A (en) * 2013-12-26 2014-04-23 广东中科遥感技术有限公司 Mounting method, client and system based on MooseFS distributed file system
CN105141581A (en) * 2015-07-27 2015-12-09 浪潮(北京)电子信息产业有限公司 Method and device for providing shared service
CN105592162A (en) * 2016-01-20 2016-05-18 歌尔声学股份有限公司 Uploading method and system based on multi-type files

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080183802A1 (en) * 2007-01-30 2008-07-31 Microsoft Corporation Network recycle bin
CN103747064A (en) * 2013-12-26 2014-04-23 广东中科遥感技术有限公司 Mounting method, client and system based on MooseFS distributed file system
CN103685579A (en) * 2014-01-13 2014-03-26 浪潮(北京)电子信息产业有限公司 Shared access method of cluster NAS (network attached storage) system
CN105141581A (en) * 2015-07-27 2015-12-09 浪潮(北京)电子信息产业有限公司 Method and device for providing shared service
CN105592162A (en) * 2016-01-20 2016-05-18 歌尔声学股份有限公司 Uploading method and system based on multi-type files

Similar Documents

Publication Publication Date Title
CN103617209B (en) A kind of file management method and device of mobile terminal
US9043312B2 (en) Identifying symbolic links
WO2017166791A1 (en) Application backup method and apparatus
CN104092758B (en) A kind of read method of distributed type high speed cloud storage service device group system
CN105095103B (en) For the storage device management method and apparatus under cloud environment
CN109818934A (en) A kind of method, apparatus and calculating equipment of automation daily record processing
CN104462500B (en) Determination method, the control processing method and processing device of control liveness
CN109767245A (en) Consumption information checking method, equipment and storage medium
CN107172061A (en) It is a kind of to realize shared method and system
CN105933374A (en) Mobile terminal data backup method, system and mobile terminal
CN107770146A (en) A kind of user data authority control method and device
CN104426868A (en) Request processing method and processing apparatus
CN103685341B (en) The offer method of cloud storage data center and cloud storage data
CN103491092A (en) Method and system for separating and binding of application platform and databank
CN103973747B (en) A kind of method and apparatus for obtaining content
CN103533563B (en) The restoration methods of a kind of WLAN account and terminal
CN103401706B (en) A kind of method and device for configuring port security
CN110417741A (en) A kind of method and apparatus of filtering safe group
CN112637281B (en) Terminal equipment data access method and device, electronic equipment and storage medium
CN104410679B (en) Share extracting method, client, server and the system of file/folder
CN105897865A (en) Protocol-independent network file service management system and method
CN109656614A (en) The processing method of file, apparatus and system
CN104053132A (en) Method and apparatus for information number identification
CN107491535A (en) A kind of method and device of file mount
CN109582829A (en) A kind of processing method, device, equipment and readable storage medium storing program for executing

Legal Events

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

Application publication date: 20171219

RJ01 Rejection of invention patent application after publication