CN109992566A - A kind of file access method, device, equipment and readable storage medium storing program for executing - Google Patents

A kind of file access method, device, equipment and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109992566A
CN109992566A CN201910288912.6A CN201910288912A CN109992566A CN 109992566 A CN109992566 A CN 109992566A CN 201910288912 A CN201910288912 A CN 201910288912A CN 109992566 A CN109992566 A CN 109992566A
Authority
CN
China
Prior art keywords
access
ganesha
target
file
permission
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
CN201910288912.6A
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.)
Suzhou Wave Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave Intelligent 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 Suzhou Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave Intelligent Technology Co Ltd
Priority to CN201910288912.6A priority Critical patent/CN109992566A/en
Publication of CN109992566A publication Critical patent/CN109992566A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a kind of file access methods, this method comprises: receiving the file access request that target ganesha is sent, and determine the file destination requested access to and access operation;When access operation belongs to exclusive access type, judge whether target ganesha monopolizes;If it is, access authority is distributed to target ganesha, so that target ganesha accesses to file destination;When specified in duration after access without read-write operation, message is recycled to target ganesha sending permission, and revocation of access limits.This method can withdraw the access authority of file destination, in other ganesha request access target file in the form of exclusive, can directly distribute, reduce conflict, the file access efficiency of distributed file system can be improved.The invention also discloses a kind of file access device, equipment and readable storage medium storing program for executing, have corresponding technical effect.

Description

A kind of file access method, device, equipment and readable storage medium storing program for executing
Technical field
The present invention relates to technical field of memory, more particularly to a kind of file access method, device, equipment and readable storage Medium.
Background technique
In a kind of NFS (Network File System) i.e. Network File System (distributed system), it will usually exist Multiple ganesha.Wherein, NFS ganesha is a kind of client for file system, and ganesha is equivalent to nfs client Server-side, that is to say, that ganesha is for being connected client and file system.
When a ganesha accesses to a file, it can apply for the access authority (access authority: member of this document Data server authorizes the access authority of ganesha, is made of a group mark position, each flag bit represents a kind of permission), access After operation terminates, ganesha will not discharge access authority at once, until ganesha caching writes full, can just discharge whole Permission.At this point, if other ganesha applications are written and read this document, since access authority is occupied, so can not obtain Access limit.In addition, mds (meta data server) also will withdraw the buffer permission and cache permission (this of two Ganesha Two permissions are the access authority under exclusive occupying mode, and the ganesha of only exclusive access limit can obtain the two permissions). Withdraw after buffer permission and cache permission, can give the same access limit of two clients, and the access limit without Buffer and cache, i.e. two ganesha cannot write buffer and read cache, and then lead to the access performance of file system It reduces.
In conclusion the problems such as how efficiently solving file access efficiency, is that current those skilled in the art are badly in need of solution Certainly the technical issues of.
Summary of the invention
The object of the present invention is to provide a kind of file access method, device, equipment and readable storage medium storing program for executing, to improve distribution File access efficiency in formula file system.
In order to solve the above technical problems, the invention provides the following technical scheme:
A kind of file access method, comprising:
The file access request that target ganesha is sent is received, and determines the file destination requested access to and access behaviour Make;
When the access operation belongs to exclusive access type, judge whether the target ganesha monopolizes;
If it is, access authority is distributed to the target ganesha, so that the target ganesha is to the mesh Mark file accesses;Wherein, the access authority includes read and write access permission, buffer permission and cache permission;
When specified in duration after access without read-write operation, Xiang Suoshu target ganesha sending permission recycles message, and receives Return the access authority.
Preferably, when specifying after access in duration without read-write operation, the recycling of Xiang Suoshu target ganesha sending permission disappears Breath, and withdraw the access authority, comprising:
Read-write operation is monitored, when no read-write operation duration reaches the specified duration, Xiang Suoshu target Ganesha sending permission recycles message, and withdraws the access authority.
Preferably, when the access authority is distributed to the target ganesha, comprising:
Judge whether the target ganesha has the caching permission of the file destination;
If it is not, then giving the caching authority distribution to the target ganesha.
Preferably, when discharging the access authority, comprising:
Retain the caching permission, so that the target ganesha continues to store the file destination in the buffer.
Preferably, after completing access, comprising:
When caching writes full, the target ganesha is discharged according to file access sequencing to be cached.
A kind of file access device, comprising:
File access request receiving module for receiving the file access request of target ganesha transmission, and determines request The file destination and access operation of access;
Judgment module, for whether judging the target ganesha when the access operation belongs to exclusive access type It is exclusive;
Authority distribution module, for if it is, access authority is distributed to the target ganesha, so as to the mesh Mark ganesha accesses to the file destination;Wherein, the access authority includes read and write access permission, buffer permission With cache permission;
Permission recycling module, when for being specified in duration after access without read-write operation, Xiang Suoshu target ganesha is sent Permission recycles message, and withdraws the access authority.
Preferably, the permission recycling module is up to specifically for being monitored to read-write operation in no read-write operation When to the specified duration, Xiang Suoshu target ganesha sending permission recycles message, and withdraws the access authority.
Preferably, the authority distribution module, specifically for the access authority is being distributed to the target ganesha When, judge whether the target ganesha has the caching permission of the file destination;If it is not, then by the caching permission Distribute to the target ganesha.
A kind of file access equipment, comprising:
Memory, for storing computer program;
Processor, the step of above-mentioned file access method is realized when for executing the computer program.
A kind of readable storage medium storing program for executing is stored with computer program, the computer program quilt on the readable storage medium storing program for executing The step of processor realizes above-mentioned file access method when executing.
Using method provided by the embodiment of the present invention, the file access request that target ganesha is sent is received, and is determined The file destination and access operation requested access to;When access operation belongs to exclusive access type, judge that target ganesha is It is no exclusive;If it is, access authority is distributed to target ganesha, so that target ganesha visits file destination It asks;Wherein, access authority includes read and write access permission, buffer permission and cache permission;It specifies in duration after access without reading When write operation, message is recycled to target ganesha sending permission, and revocation of access limits.
After the file access request for receiving target ganesha transmission, it is first determined the file destination requested access to out And specific access operation.When access operation belongs to exclusive access type, then judge whether target ganesha monopolizes, such as Fruit is that access authority is then distributed to target ganesha.Wherein, access authority include read and write access permission, buffer permission and Cache permission.After target ganesha obtains access authority, access operation can be executed in a manner of exclusive to file destination. When specified in duration after access without read-write operation, that is, message is recycled to target ganesha sending permission when completing access, and receive The access authority is returned, to receive the request of other ganesha transmission with the access of exclusive form access target file The access authority, can be distributed to the ganesha by request.Compared to, when having expired with ganesha caching or needed to delete file, The mode of the access authority of ganesha ability releasing document, method provided by the embodiment of the present invention, can be complete in target ganesha After access operation, the access authority of file destination is withdrawn, in other ganesha request, access target is literary in the form of exclusive It when part, can directly distribute, reduce conflict, the file access efficiency of distributed file system can be improved.
Correspondingly, the embodiment of the invention also provides file access device corresponding with above-mentioned file access method, set Standby and readable storage medium storing program for executing, has above-mentioned technique effect, and details are not described herein.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of implementation flow chart of file access method in the embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of file access device in the embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of file access equipment in the embodiment of the present invention;
Fig. 4 is a kind of concrete structure schematic diagram of file access equipment in the embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description The present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Embodiment one:
Referring to FIG. 1, Fig. 1 is a kind of flow chart of file access method in the embodiment of the present invention, this method includes following Step:
S101, the file access request that target ganesha is sent is received, and determines the file destination requested access to and visit Ask operation.
When the mds in distributed file system receives the file access request of target ganesha transmission, it is first determined The file destination and access operation requested access to out.Wherein, access operation includes but is not limited to buffer write operation, read buffer Operation and checks operation at delete operation, and access operation can be divided into exclusive access type and share and access class according to whether monopolizing Type, exclusive access type include buffering write operation (writing buffer), read buffer operation (reading cache), delete operation, share and access Type includes caching permission.
S102, when access operation belongs to exclusive access type, judge whether target ganesha monopolizes.
When access operation belongs to exclusive access type, such as access operation is that when reading cache or writing buffer, then can sentence Whether disconnected target ganesha monopolizes.Specifically, whether can be assigned by judging the access authority of the exclusive form of file destination Mode, determine whether target ganesha monopolizes.Specifically, being exclusive if unallocated, if having distributed non-exclusive.It is preferred that This document access request can be then inserted into and wait when the access authority of the exclusive type of hard objectives file has been assigned by ground Queue avoids the occurrence of file access request without response to distribute to target ganesha in time after recycling access authority The case where.
If the determination result is YES, then the operation of step S103 can be performed.
S103, access authority is distributed to target ganesha, so that target ganesha accesses to file destination.
Wherein, access authority includes read and write access permission, buffer permission and cache permission.
It, at this time can be by read and write access permission, buffer permission and cache permission when hard objectives ganesha is exclusive Distribute to target ganesha.Target ganesha is allowed to access in exclusive form to file destination.Target ganesha After obtaining read and write access permission, buffer permission and cache permission, exclusive access can be carried out to file destination.
Preferably, when accessing to file destination, specific access process includes:
Step 1: target ganesha judges whether to have cached file destination;
Step 2: if it is, directly executing access operation to the file destination in caching;
Step 3: if it is not, then obtain file destination from meta data server, and after obtaining file destination, it is right File destination executes access operation.
It is illustrated for ease of description, below combining above three step.
For accelerate response speed, can in target ganesha caching of target file, when needing access target file, then The interaction time-consuming that file destination is obtained from mds can be reduced by way of judging whether caching of target file.Specifically, working as When target ganesha has cached file destination, then access operation directly is executed to the file destination in caching, such as to file destination It carries out writing buffer.When the uncached file destination of target ganesha, then need first got from mds file destination and then It accesses operation to file destination.
S104, after access specify duration in without read-write operation when, to target ganesha sending permission recycle message, and Revocation of access limit.
In embodiments of the present invention, read-write operation can be monitored, when no read-write operation duration reaches specified duration, Message is recycled to target ganesha sending permission, and revocation of access limits.Wherein, specified duration can be 60 seconds, may be used also certainly It is set as other durations.It can be monitored for the access operation of target ganesha, when monitoring target ganesha to mesh After the access operation completion for marking file, message is recycled to target ganesha sending permission, then revocation of access limits.Certainly, The information that can be also completed by receiving the operation of target ganesha feedback, learns that access terminates, and is learning access end Afterwards, revocation of access limits, and when requesting access to file destination so as to other ganesha, access authority can be distributed to this ganesha。
Using method provided by the embodiment of the present invention, the file access request that target ganesha is sent is received, and is determined The file destination and access operation requested access to;When access operation belongs to exclusive access type, judge that target ganesha is It is no exclusive;If it is, access authority is distributed to target ganesha, so that target ganesha visits file destination It asks;Wherein, access authority includes read and write access permission, buffer permission and cache permission;It specifies in duration after access without reading When write operation, message is recycled to target ganesha sending permission, and revocation of access limits.
After the file access request for receiving target ganesha transmission, it is first determined the file destination requested access to out And specific access operation.When access operation belongs to exclusive access type, then judge whether target ganesha monopolizes, such as Fruit is that access authority is then distributed to target ganesha.Wherein, access authority include read and write access permission, buffer permission and Cache permission.After target ganesha obtains access authority, access operation can be executed in a manner of exclusive to file destination. When specified in duration after access without read-write operation, that is, message is recycled to target ganesha sending permission when completing access, and receive The access authority is returned, to receive the request of other ganesha transmission with the access of exclusive form access target file The access authority, can be distributed to the ganesha by request.Compared to, when having expired with ganesha caching or needed to delete file, The mode of the access authority of ganesha ability releasing document, method provided by the embodiment of the present invention, can be complete in target ganesha After access operation, the access authority of file destination is withdrawn, in other ganesha request, access target is literary in the form of exclusive It when part, can directly distribute, reduce conflict, the file access efficiency of distributed file system can be improved.
It should be noted that based on the above embodiment, the embodiment of the invention also provides be correspondingly improved scheme.Excellent It can mutually be referred between step or corresponding steps same with the above-mentioned embodiment involved in choosing/improvement embodiment, it is corresponding beneficial Effect can also be cross-referenced, no longer repeats one by one in preferred/improvement embodiment of this paper.
Preferably, it is contemplated that in practical application, the same ganesha within a short period of time, may repeatedly be requested with only The form access same file accounted for.Therefore, to avoid allocation of access rights and recycling access authority past frequent, cause to occupy System resource.It proposes after completing access, the solution of certain interval of time recycling exclusive access request.That is, complete After access, and when interval duration reaches specified duration, message is recycled to target ganesha sending permission, and withdraw visit Ask permission.Wherein, which can be arranged according to practical application request, specifically, if the same ganesha accesses one The interval time of file usually within 3 minutes, then can set specified duration to 3 minutes.Certainly, specify duration also settable For other numerical value, such as specified duration can be 60 seconds, 70 seconds or 100 seconds.Certainly, specified duration here usually may be configured as small The general cycle duration of cache file is removed in target ganesha.Specifically, after completing access, when caching writes full, mesh It marks ganesha and discharges caching according to file access sequencing.It, can be according to caching when target ganesha discharges cache file The deposit sequence of file is discharged, i.e., is first stored in, first discharges;Certainly, it can also be released according to the access temperature of cache file It puts, i.e., the preferential release access lower file of temperature retains the access higher file of temperature, can so reduce and obtain from mds The number of file is taken, overhead is reduced.
Preferably, file destination repeatedly is asked in order to avoid target ganesha is duplicated, can be distributed by access authority When to target ganesha, judge whether target ganesha has the caching permission of file destination;If it is not, then permission will be cached Distribute to target ganesha.That is, giving caching authority distribution to target ganesha, i.e. permission target ganesha caching of target text Part.Correspondingly, when discharging access authority, retain caching permission, so that target ganesha continues to store target text in the buffer Part.That is, mds recycles access authority, and caches permission then by target ganesha when discharging the access authority of file destination Actively discharge.
Embodiment two:
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of file access devices, are described below File access device can correspond to each other reference with above-described file access method.
Shown in Figure 2, which comprises the following modules:
A kind of file access device, comprising:
File access request receiving module 101 for receiving the file access request of target ganesha transmission, and determines The file destination and access operation requested access to;
Judgment module 102, for judging whether target ganesha monopolizes when access operation belongs to exclusive access type;
Authority distribution module 103, for if it is, access authority is distributed to target ganesha, so as to target Ganesha accesses to file destination;Wherein, access authority includes read and write access permission, buffer permission and cache power Limit;
Permission recycling module 104 is sent when for being specified in duration after access without read-write operation to target ganesha Permission recycles message, and revocation of access limits.
Wherein, target ganesha accesses to file destination, and specially target ganesha judges whether to have cached File destination;If it is, directly executing access operation to the file destination in caching;If it is not, then from meta data server Middle acquisition file destination, and after obtaining file destination, access operation is executed to file destination.After completing access, When caching writes full, target ganesha discharges cache file according to file access sequencing.
Using device provided by the embodiment of the present invention, the file access request that target ganesha is sent is received, and is determined The file destination and access operation requested access to;When access operation belongs to exclusive access type, judge that target ganesha is It is no exclusive;If it is, access authority is distributed to target ganesha, so that target ganesha visits file destination It asks;Wherein, access authority includes read and write access permission, buffer permission and cache permission;It specifies in duration after access without reading When write operation, message is recycled to target ganesha sending permission, and revocation of access limits.
After the file access request for receiving target ganesha transmission, it is first determined the file destination requested access to out And specific access operation.When access operation belongs to exclusive access type, then judge whether target ganesha monopolizes, such as Fruit is that access authority is then distributed to target ganesha.Wherein, access authority include read and write access permission, buffer permission and Cache permission.After target ganesha obtains access authority, access operation can be executed in a manner of exclusive to file destination. When specified in duration after access without read-write operation, that is, message is recycled to target ganesha sending permission when completing access, and receive The access authority is returned, to receive the request of other ganesha transmission with the access of exclusive form access target file The access authority, can be distributed to the ganesha by request.Compared to, when having expired with ganesha caching or needed to delete file, The mode of the access authority of ganesha ability releasing document, device provided by the embodiment of the present invention, can be complete in target ganesha After access operation, the access authority of file destination is withdrawn, in other ganesha request, access target is literary in the form of exclusive It when part, can directly distribute, reduce conflict, the file access efficiency of distributed file system can be improved.
In a kind of specific embodiment of the invention, permission recycling module 104, specifically for being supervised to read-write operation It surveys, when no read-write operation duration reaches specified duration, recycles message, and revocation of access to target ganesha sending permission Limit.
In a kind of specific embodiment of the invention, authority distribution module 103, specifically for being distributed by access authority When to target ganesha, judge whether target ganesha has the caching permission of file destination;If it is not, then permission will be cached Distribute to target ganesha.
In a kind of specific embodiment of the invention, permission recycling module 104 is specifically used in release access authority When, retain caching permission, so that target ganesha continues to store file destination in the buffer.
In a kind of specific embodiment of the invention, permission judgment module 102 is specifically used for after completing access, When caching writes full, target ganesha is discharged according to file access sequencing to be cached.
Embodiment three:
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of file access equipment, are described below A kind of file access equipment can correspond to each other reference with a kind of above-described file access method.
Shown in Figure 3, this document access equipment includes:
Memory D1, for storing computer program;
Processor D2, when for executing computer program the step of the file access method of realization above method embodiment.
Specifically, referring to FIG. 4, Fig. 4 be a kind of concrete structure schematic diagram of file access equipment provided in this embodiment, This document access equipment can generate bigger difference because configuration or performance are different, may include one or more processing Device (central processing units, CPU) 322 (for example, one or more processors) and memory 332, one (such as one or more mass memories of storage medium 330 of a or more than one storage application program 342 or data 344 Equipment).Wherein, memory 332 and storage medium 330 can be of short duration storage or persistent storage.It is stored in storage medium 330 Program may include one or more modules (diagram does not mark), and each module may include in data processing equipment Series of instructions operation.Further, central processing unit 322 can be set to communicate with storage medium 330, in file access The series of instructions operation in storage medium 330 is executed in equipment 301.
File access equipment 301 can also include one or more power supplys 326, one or more wired or nothings Wired network interface 350, one or more input/output interfaces 358, and/or, one or more operating systems 341. For example, Windows ServerTM, Mac OSXTM, UnixTM, LinuxTM, FreeBSDTM etc..
Step in file access method as described above can be realized by the structure of file access equipment.
Example IV:
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of readable storage medium storing program for executing, are described below A kind of readable storage medium storing program for executing can correspond to each other reference with a kind of above-described file access method.
A kind of readable storage medium storing program for executing is stored with computer program on readable storage medium storing program for executing, and computer program is held by processor The step of file access method of above method embodiment is realized when row.
The readable storage medium storing program for executing be specifically as follows USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), the various program storage codes such as random access memory (Random AccessMemory, RAM), magnetic or disk Readable storage medium storing program for executing.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.

Claims (10)

1. a kind of file access method characterized by comprising
The file access request that target ganesha is sent is received, and determines the file destination requested access to and access operation;
When the access operation belongs to exclusive access type, judge whether the target ganesha monopolizes;
If it is, access authority is distributed to the target ganesha, so that the target ganesha is to the target text Part accesses;Wherein, the access authority includes read and write access permission, buffer permission and cache permission;
When specified in duration after access without read-write operation, Xiang Suoshu target ganesha sending permission recycles message, and withdraws institute State access authority.
2. file access method according to claim 1, which is characterized in that specify in duration after access without read-write operation When, Xiang Suoshu target ganesha sending permission recycles message, and withdraws the access authority, comprising:
Read-write operation is monitored, when no read-write operation duration reaches the specified duration, Xiang Suoshu target ganesha hair It send permission to recycle message, and withdraws the access authority.
3. file access method according to claim 1, which is characterized in that the access authority is being distributed to the mesh When marking ganesha, comprising:
Judge whether the target ganesha has the caching permission of the file destination;
If it is not, then giving the caching authority distribution to the target ganesha.
4. file access method according to claim 3, which is characterized in that when discharging the access authority, comprising:
Retain the caching permission, so that the target ganesha continues to store the file destination in the buffer.
5. file access method according to claim 1, which is characterized in that after completing access, comprising:
When caching writes full, the target ganesha is discharged according to file access sequencing to be cached.
6. a kind of file access device characterized by comprising
File access request receiving module, for receiving the file access request of target ganesha transmission, and determination requests access to File destination and access operation;
Judgment module, for when the access operation belongs to exclusive access type, judging whether the target ganesha is only It accounts for;
Authority distribution module, for if it is, access authority is distributed to the target ganesha, so as to the target Ganesha accesses to the file destination;Wherein, the access authority include read and write access permission, buffer permission and Cache permission;
Permission recycling module, when for being specified after access in duration without read-write operation, Xiang Suoshu target ganesha sending permission Message is recycled, and withdraws the access authority.
7. file access device according to claim 6, which is characterized in that the permission recycling module, be specifically used for pair Read-write operation is monitored, when no read-write operation duration reaches the specified duration, Xiang Suoshu target ganesha sending permission Message is recycled, and withdraws the access authority.
8. file access device according to claim 6, which is characterized in that the authority distribution module is specifically used for When the access authority is distributed to the target ganesha, judge whether the target ganesha has the file destination Caching permission;If it is not, then giving the caching authority distribution to the target ganesha.
9. a kind of file access equipment characterized by comprising
Memory, for storing computer program;
Processor, realizing the file access method as described in any one of claim 1 to 5 when for executing the computer program Step.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with computer program, the meter on the readable storage medium storing program for executing It is realized when calculation machine program is executed by processor as described in any one of claim 1 to 5 the step of file access method.
CN201910288912.6A 2019-04-12 2019-04-12 A kind of file access method, device, equipment and readable storage medium storing program for executing Pending CN109992566A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910288912.6A CN109992566A (en) 2019-04-12 2019-04-12 A kind of file access method, device, equipment and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910288912.6A CN109992566A (en) 2019-04-12 2019-04-12 A kind of file access method, device, equipment and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN109992566A true CN109992566A (en) 2019-07-09

Family

ID=67133251

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910288912.6A Pending CN109992566A (en) 2019-04-12 2019-04-12 A kind of file access method, device, equipment and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN109992566A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602164A (en) * 2019-08-08 2019-12-20 北京达佳互联信息技术有限公司 File permission processing method and device, electronic equipment and readable storage medium
CN111046351A (en) * 2019-12-13 2020-04-21 支付宝(杭州)信息技术有限公司 Method and device for managing application permission in office network
CN112527205A (en) * 2020-12-16 2021-03-19 江苏国科微电子有限公司 Data security protection method, device, equipment and medium
CN113468127A (en) * 2020-03-30 2021-10-01 同方威视科技江苏有限公司 Data caching method, device, medium and electronic equipment
CN113515777A (en) * 2021-06-30 2021-10-19 中国民航信息网络股份有限公司 Application change permission distribution method and device, storage medium and equipment
CN114996180A (en) * 2022-05-31 2022-09-02 上海阵量智能科技有限公司 Access control method, system, chip, board card and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1510867A (en) * 2002-12-21 2004-07-07 华为技术有限公司 Multiuser access authority controlled realizing method
JP2005293196A (en) * 2004-03-31 2005-10-20 Dainippon Printing Co Ltd Database access controller and control method, customer information database system
CN104573428A (en) * 2013-10-12 2015-04-29 方正宽带网络服务股份有限公司 Method and system for improving resource effectiveness of server cluster
CN107678859A (en) * 2017-10-13 2018-02-09 郑州云海信息技术有限公司 A kind of file access method based on CAP mechanism, device and equipment
CN107688753A (en) * 2017-09-01 2018-02-13 郑州云海信息技术有限公司 A kind of method and apparatus of ACL controls of authority
CN109241021A (en) * 2018-09-04 2019-01-18 郑州云海信息技术有限公司 A kind of file polling method, apparatus, equipment and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1510867A (en) * 2002-12-21 2004-07-07 华为技术有限公司 Multiuser access authority controlled realizing method
JP2005293196A (en) * 2004-03-31 2005-10-20 Dainippon Printing Co Ltd Database access controller and control method, customer information database system
CN104573428A (en) * 2013-10-12 2015-04-29 方正宽带网络服务股份有限公司 Method and system for improving resource effectiveness of server cluster
CN107688753A (en) * 2017-09-01 2018-02-13 郑州云海信息技术有限公司 A kind of method and apparatus of ACL controls of authority
CN107678859A (en) * 2017-10-13 2018-02-09 郑州云海信息技术有限公司 A kind of file access method based on CAP mechanism, device and equipment
CN109241021A (en) * 2018-09-04 2019-01-18 郑州云海信息技术有限公司 A kind of file polling method, apparatus, equipment and computer readable storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602164A (en) * 2019-08-08 2019-12-20 北京达佳互联信息技术有限公司 File permission processing method and device, electronic equipment and readable storage medium
CN110602164B (en) * 2019-08-08 2022-10-11 北京达佳互联信息技术有限公司 File permission processing method and device, electronic equipment and readable storage medium
CN111046351A (en) * 2019-12-13 2020-04-21 支付宝(杭州)信息技术有限公司 Method and device for managing application permission in office network
CN113468127A (en) * 2020-03-30 2021-10-01 同方威视科技江苏有限公司 Data caching method, device, medium and electronic equipment
CN112527205A (en) * 2020-12-16 2021-03-19 江苏国科微电子有限公司 Data security protection method, device, equipment and medium
CN113515777A (en) * 2021-06-30 2021-10-19 中国民航信息网络股份有限公司 Application change permission distribution method and device, storage medium and equipment
CN114996180A (en) * 2022-05-31 2022-09-02 上海阵量智能科技有限公司 Access control method, system, chip, board card and electronic equipment
CN114996180B (en) * 2022-05-31 2024-08-09 上海阵量智能科技有限公司 Access control method, system, chip, board card and electronic equipment

Similar Documents

Publication Publication Date Title
CN109992566A (en) A kind of file access method, device, equipment and readable storage medium storing program for executing
US8788760B2 (en) Adaptive caching of data
CN105205014B (en) A kind of date storage method and device
CN105549905A (en) Method for multiple virtual machines to access distributed object storage system
US20180196603A1 (en) Memory Management Method, Apparatus, and System
CN105659212A (en) Detection of hot pages for partition hibernation
CN107341114B (en) Directory management method, node controller and system
CN106445409A (en) Distributed block storage data writing method and device
KR20130079865A (en) Shared virtual memory management apparatus for securing cache-coherent
CN108347459A (en) A kind of high in the clouds data quick storage method and device
US20170123975A1 (en) Centralized distributed systems and methods for managing operations
EP3384384A1 (en) Methods and devices for acquiring data using virtual machine and host machine
CN106649031A (en) Monitoring data obtaining method and device, and computer
CN116755625A (en) Data processing method, device, equipment and readable storage medium
CN102521163B (en) Method and device for replacing directory
CN105574008B (en) Task scheduling method and device applied to distributed file system
CN107368435A (en) A kind of short list and the method that the monitoring of Cache uniformity is realized using the short list
CN102959529A (en) Broadcast protocol for a network of caches
CN107562648A (en) Without lock FTL access methods and device
CN103209212B (en) Based on the data cache method in the Web network management client of RIA and system
CN104572483A (en) Device and method for management of dynamic memory
CN107295059A (en) The statistical system and method for service propelling amount
CN104679688B (en) Data access method, apparatus and system
CN107704596A (en) A kind of method, apparatus and equipment for reading file
WO2020238748A1 (en) Data synchronization processing method and apparatus, electronic device and computer storage medium

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: 20190709

RJ01 Rejection of invention patent application after publication