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

Cluster file system permission control method and device

A cluster file system, permission control technology, applied in transmission systems, electrical components, etc., can solve problems such as not meeting diverse permission management needs, and achieve the effect of highlighting substantive features, avoiding misoperation, and reliable design principles

Active Publication Date: 2020-11-27
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In view of the defect that the above-mentioned existing UGO authority management in the prior art does not meet the diverse authority management requirements, the present invention provides a cluster file system authority control method and device to solve the above technical problems

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
  • Cluster file system permission control method and device
  • Cluster file system permission control method and device
  • Cluster file system permission control method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0065] Such as figure 1 As shown, the present invention provides a cluster file system permission control method, comprising the following steps:

[0066] S1. Record the access client IP permission in the cluster server configuration file;

[0067] S2. Set the cluster server to obtain the ACL permission management request of the network file system, convert the ACL access permission management request from the format supported by the network file system to the format supported by the underlying interface, and call the library interface to set ACL attributes for files and directories;

[0068] S3. After setting the cluster server to obtain the access client request, check the IP permission of the client according to the configuration file, and when the IP permission check passes, judge whether to allow access to the client request according to the permission setting of the corresponding file and directory .

Embodiment 2

[0070] Such as figure 2 As shown, the present invention provides a cluster file system permission control method, comprising the following steps:

[0071] S1. Set the access client IP permission in the cluster server configuration file; the specific steps are as follows:

[0072] S11. Obtain an access client that requires IP permission setting, which is defined as a client to be set;

[0073] S12. Set the IP address and corresponding authority of the client to be set in the cluster server configuration file;

[0074] S2. set the cluster service end to obtain the ACL rights management request of the network file system, convert the ACL access rights management request from the network file system support format to the underlying interface support format, and call the library interface to set the ACL attribute for files and directories; the specific steps are as follows:

[0075] S21. Set the cluster server to obtain and record the NFSv4 ACL permission management request of t...

Embodiment 3

[0097] Such as image 3 As shown, the present invention provides a cluster file system permission control device, including:

[0098] The configuration file setting module 1 is used to configure the file on the cluster server to access the client IP authority; the configuration file setting module 1 includes:

[0099] The access client obtaining unit 1.1 is used to obtain the access client that needs IP permission setting, and is defined as the client to be set;

[0100] The configuration file permission setting unit 1.2 is used to record the IP address of the client to be set and the corresponding permission in the cluster server configuration file;

[0101] Authority management module 2, used to set the cluster server to obtain the ACL authority management request of the network file system, convert the ACL access authority management request from the format supported by the network file system to the format supported by the underlying interface, and call the library interf...

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 provides a cluster file system permission control method and device. The method comprises the steps of S1 setting a client IP access permission in a cluster server configuration file; S2setting a cluster server to acquire an ACL permission management request of the network file system, converting the ACL access permission management request from a network file system support formatinto a bottom interface support format, and calling a library interface to set ACL attributes for files and directories; and S3 after the cluster server is set to acquire the request of accessing theclient, carrying out IP permission verification on the client according to the configuration file, and when the IP permission verification is passed, judging whether the request of the client is allowed or not according to permission setting of the corresponding file and the directory. According to the method, permission verification control is flexibly set according to different permission requirements of the client, permission setting of a single file and a directory is carried out on all files of the server, clients of different levels have different permissions, and authority control of acluster file system is perfected.

Description

technical field [0001] The invention belongs to the technical field of cluster authority control, and in particular relates to a cluster file system authority control method and device. Background technique [0002] NFS is the abbreviation of Network File System, network file system. [0003] ACL is the abbreviation of Access Control Lists, access control list. [0004] POSIX is the abbreviation of Portable Operating System Interface of UNIX, Portable Operating System Interface. [0005] Files play a very important role in the Linux system. Each file has its attributes. The Linux system uses UGO authority management. UGO is the abbreviation of U, G, O, that is, the authority can be divided into: User, Group and Other. The user User is the permission of the file owner; the user group Group is the permission of the group to which the file belongs, and Other is the permission of other users. The permission consists of three parts: r is readable, w is writable, and x is execu...

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
IPC IPC(8): H04L29/06H04L29/08
CPCH04L63/101H04L63/105H04L63/10H04L67/30
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