Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Authority setting method and system based on distributed file system

A technology of distributed files and permissions, applied in the field of distributed systems, can solve the problems of slow execution and long time-consuming recursive setting process, and achieve the effect of increasing the speed of recursive setting, reducing setting time, and quickly setting user access rights

Active Publication Date: 2018-02-09
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF8 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The recursive setting process is slow, and it takes a long time to return the setting result to the user

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Authority setting method and system based on distributed file system
  • Authority setting method and system based on distributed file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The core of the present invention is to provide a permission setting method and system based on a distributed file system, which reduces the setting time of access permissions and realizes rapid setting of user access permissions.

[0035] In order to make the above objects, features and advantages of the present invention more comprehensible, the specific implementation manners of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0036] In the following description, specific details are set forth in order to provide a thorough understanding of the present invention. However, the present invention can be implemented in many other ways than those described here, and those skilled in the art can make similar extensions without departing from the connotation of the present invention. Accordingly, the invention is not limited to the specific implementations disclosed below.

[0037] Please refer to figure 1 , figure ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an authority setting method and system based on a distributed file system. The method includes: correspondingly and recursively setting a top-layer directory access control list (ACL) of the target file system according to identities of users; and setting a recursive mark bit V of a top-layer directory of the target file system to 1, and recording a setting timestamp to enable a user to start querying from a root path, find recursively set ACL authority of an upper-level directory in sequence and use a latest ACL as an authority querying result according to timestamps when ACL authority of a lower-level directory or a file of the top-layer directory is acquired. Therefore, consumed time of setting ACLs of directories and subdirectories and files thereof is decomposed into consumed time in ACL querying of the single file or directory, then a recursive setting speed is increased, setting time of the access authority is reduced, and quickly setting the user accessauthority is realized.

Description

technical field [0001] The invention relates to the technical field of distributed systems, in particular to a permission setting method and system based on a distributed file system. Background technique [0002] In many industries, it is necessary to set different permissions for different users to access some data. For example, in the cultural media industry, it is necessary to set different permissions for different employees to access film and television media materials. Due to the high mobility of personnel, it needs to be changed and reset frequently after the setting is completed. The permissions are recursively set for one user each time. Due to the deep directory hierarchy and the large number of files stored in the file data, it takes a long time. [0003] When the directory level is deep and the number of files is large, when using the recursive setting ACL (Access Control List) permission command setxacl-R to set the ACL, it is necessary to traverse all subdire...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/62G06F17/30
CPCG06F21/6218G06F21/6227G06F2221/2141G06F2221/2151G06F16/1824
Inventor 杨文浩
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products