CN109408477A - A kind of method, system and associated component that setting group document is locked - Google Patents

A kind of method, system and associated component that setting group document is locked Download PDF

Info

Publication number
CN109408477A
CN109408477A CN201811172473.4A CN201811172473A CN109408477A CN 109408477 A CN109408477 A CN 109408477A CN 201811172473 A CN201811172473 A CN 201811172473A CN 109408477 A CN109408477 A CN 109408477A
Authority
CN
China
Prior art keywords
file
variable
file lock
pid
lock
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
CN201811172473.4A
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 CN201811172473.4A priority Critical patent/CN109408477A/en
Publication of CN109408477A publication Critical patent/CN109408477A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This application discloses a kind of methods that setting group document is locked, and the method includes the file lock variable in the Fuse file system is arranged when introducing Fuse file system in NAS group system;When the target process for detecting destination node obtains file lock by the Fuse file system, judge whether the PID of the target process is equal to the file lock variable;If it is not, then using the PID as the value of the file lock variable, and authorize the file lock to the target process, so that the group document lock of the NAS group system is arranged in the target process.This method can realize group document lock under the premise of reducing the complexity of NAS group system.Disclosed herein as well is a kind of system, a kind of computer readable storage medium and a kind of NAS devices that setting group document is locked, and have the above beneficial effect.

Description

A kind of method, system and associated component that setting group document is locked
Technical field
The present invention relates to technical field of data storage, in particular to a kind of method, system, one kind that setting group document is locked Computer readable storage medium and a kind of NAS device.
Background technique
In NAS (Network Attached Storage, network attached storage) system, file is usually managed by CTDB Shared agreement.When having offline on node, CTDB can execute recovery operation, the node shape of synchronous current cluster on all the nodes The information such as state, file, session.CTDB can elect a recovery host node to execute the operation at this time.
In the prior art, CTDB by obtain group document write lock determine present node whether be restore host node, by File can be got in any moment only one node and writes lock, therefore this method can guarantee to restore the uniqueness of host node. Group document lock is usually by distributed file system or the realization of shared file system, therefore the recovery in order to determine CTDB Host node, it usually needs introduce distributed or shared file system, system complexity is caused to improve.
Particularly, for some systems for being configured with cluster management software, cluster management software itself can elect DC Which node node is operated on by DC node administration resource.Therefore the attribute for how passing through DC node, does not depend on cluster text Part system realizes group document lock, particularly important for system reliability and reduction complexity to improving.
Therefore, how to realize that group document lock is art technology under the premise of reducing the complexity of NAS group system The current technical issues that need to address of personnel.
Summary of the invention
The purpose of the application is to provide a kind of method, system, a kind of computer-readable storage medium that setting group document is locked Matter and a kind of NAS device can realize group document lock under the premise of reducing the complexity of NAS group system.
In order to solve the above technical problems, the application provides a kind of method that setting group document is locked, this method comprises:
When introducing Fuse file system in NAS group system, the file lock variable in the Fuse file system is set; Wherein, the file lock variable is global variable or static variable, and the file lock variable obtains file lock process for recording PID;
When the target process for detecting destination node obtains file lock by the Fuse file system, the mesh is judged Whether the PID of mark process is equal to the file lock variable;
If it is not, then using the PID as the value of the file lock variable, and by the file lock authorize the target into Journey, so that the group document lock of the NAS group system is arranged in the target process.
Optionally, include: using the PID as the value of the file lock variable
Judge whether there is the process that PID is the file lock variable;
If it is not, then using the PID as the value of the file lock variable.
Optionally, the file lock variable being arranged in the Fuse file system includes:
The file lock variable being arranged in the Fuse file system is preset initial value;Wherein, the preset initial value is 0。
Optionally, authorizing the file lock to the target process includes:
Inquire whether the destination node is DC node;
If so, authorizing the file lock to the target process.
Optionally, further includes:
Flock interface function is added in the file_operations of the Fuse file system;
Correspondingly, judging whether the PID of the target process is equal to the file lock variable and includes:
Judge whether the PID of the target process is equal to the file lock variable using the flock interface function.
Present invention also provides a kind of system that setting group document is locked, which includes:
Variable setup module, for Fuse file system to be arranged when introducing Fuse file system in NAS group system File lock variable in system;Wherein, the file lock variable is global variable or static variable, and the file lock variable is for remembering Record obtains the PID of file lock process;
PID judgment module, for obtaining text by the Fuse file system when the target process for detecting destination node When part is locked, judge whether the PID of the target process is equal to the file lock variable;
File lock setup module then will be described for when the PID of the target process is not equal to the file lock variable Value of the PID as the file lock variable, and authorize the file lock to the target process, so as to target process setting The group document of the NAS group system is locked.
Optionally, file lock setup module includes:
First judging unit, for judging whether there is the process that PID is the file lock variable;If it is not, then will be described Value of the PID as the file lock variable;
Lock unit is write, for authorizing the file lock to the target process, so that the NAS is arranged in the target process The group document of group system is locked.
Optionally, variable setup module be specially when adding the Fuse file system in the NAS group system, if Set the module that the file lock variable in the Fuse file system is preset initial value;Wherein, the preset initial value is 0.
Present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the computer The step of program realizes above-mentioned setting group document lock method when executing executes.
Present invention also provides a kind of NAS device, including memory and processor, computer is stored in the memory Program, the processor realizes above-mentioned setting group document lock method when calling the computer program in the memory execute The step of.
The present invention provides a kind of methods that setting group document is locked, including when introducing Fuse file in NAS group system When system, the file lock variable in the Fuse file system is set;Wherein, the file lock variable is global variable or static state Variable, the file lock variable are used to record the PID for obtaining file lock process;When the target process for detecting destination node passes through When the Fuse file system obtains file lock, judge whether the PID of the target process is equal to the file lock variable;If It is no, then using the PID as the value of the file lock variable, and the file lock is authorized to the target process, so as to described The group document lock of the NAS group system is arranged in target process.
The application realizes that group document is locked by introducing Fuse file system in NAS group system, compared to existing It is introduced in technology for heavy distributed file system or shared-file system, due to the file that Fuse file system is User space System, can be with self defined interface, therefore introduces Fuse file system in NAS group system and realize that group document lock can be significantly The complexity of reduction system.Further, the application passes through the file lock preset for recording the PID for obtaining file lock process Variable, to determine whether group document lock is already provided with, only in the PID of target process not equal to the file lock variable In the case of file lock just can be set.Therefore, the application can realize collection under the premise of reducing the complexity of NAS group system Group's file lock.The application simultaneously additionally provide it is a kind of setting group document lock system, a kind of computer readable storage medium and A kind of NAS device has above-mentioned beneficial effect, and details are not described herein.
Detailed description of the invention
In ord to more clearly illustrate embodiments of the present application, attached drawing needed in the embodiment will be done simply below It introduces, it should be apparent that, the drawings in the following description are only some examples of the present application, for ordinary skill people For member, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart for the method that setting group document is locked provided by the embodiment of the present application;
Fig. 2 is a kind of method stream that the parameter verification during group document is locked is arranged provided by the embodiment of the present application Cheng Tu;
Fig. 3 is a kind of structural schematic diagram for the system that setting group document is locked provided by the embodiment of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Below referring to Figure 1, Fig. 1 is a kind of process for the method that setting group document is locked provided by the embodiment of the present application Figure.
Specific steps may include:
S101: when introducing Fuse file system in NAS group system, the file lock in the Fuse file system is set Variable;Wherein, the file lock variable is global variable or static variable, and the file lock variable obtains file lock for recording The PID of process;
Wherein, NAS (Network Attached Storage, network attached storage) is a kind of by distribution, independent number According to the data center for being integrated into large-scale, centralized management, in order to the technology to access to different hosts and application server. Heavy distributed file system or shared-file system are added in NAS group system in compared with the existing technology, the application is in NAS Fuse (Filesystem in Userspace, user's space file system) file system, Fuse file are introduced in group system System effect played in NAS group system and heavy distributed file system or shared-file system are substantially similar, but It is, can be with self defined interface since NAS group system is a kind of User space file system, therefore introduce Fuse system and realize collection Group's file lock can reduce the complexity of NAS group system entirety.The present embodiment default exists before executing this step draws Enter the operation of Fuse file system, the present embodiment does not limit the detailed process for introducing Fuse file system, in a distribution The technological means that Fuse file system is a comparative maturity is introduced in cluster.
It should be noted that being provided with Fuse file system when this step introduces Fuse file system in NAS group system The effect of file lock variable in system, this document lock variable is: carrying out setting for group document lock when there is process to obtain file lock When setting operation, the PID (process ID, process identification (PID)) by file lock variable update for the process is needed.That is, whenever When thering is process to obtain file lock and be arranged accordingly, can all there be the operation for updating file lock variable.Specifically, this step In the file lock variable mentioned can be any one in global variable or static variable, this step can be in the first setting text When part locks variable, preset initial value 0 is set by file lock variable.
S102: when the target process for detecting destination node obtains file lock by the Fuse file system, judgement Whether the PID of the target process is equal to the file lock variable;If so, terminating process;If it is not, then entering S103;
Wherein, may exist multiple nodes in NAS group system, but there can only be a DC node.DC node is NAS Specified expeditor (Designated Co-ordinator) in group system, the main decision section of all nodes elections in cluster Point is known as DC node.If elected DC node delay machine, cluster can re-elect a new DC node in remaining node, this The setting operation that embodiment default only has DC node that group document lock just may be implemented, the file lock that otherwise will be will lead in system Chaotic situation is set.
Can have multiple processes in each of NAS group system node, the target being previously mentioned in this step into Journey is the process locked about setting group document, and target process needs first to obtain group document lock in order to which group document lock is arranged, Group document latch is among Fuse file system.
First determine whether the PID of target process is equal to file lock variable in this step, it is therefore intended that judge the process Whether obtained file writes lock (i.e. group document lock).Since file lock cannot repeat to obtain, if target process PID be equal to file lock variable, then return to mistake and exit process;If the PID of target process is not equal to file lock variable, return Successfully continue that the operating process that group document is locked is arranged.
S103: using the PID as the value of the file lock variable, and authorizing the file lock to the target process, So that the group document lock of the NAS group system is arranged in the target process.
Wherein, when the PID for judging target process is not equal to file lock variable, illustrate target process before this not Obtained the lock of writing of file, available group document lock.This step, will while authorizing file lock to the target process The value of file lock variable is changed to the PID of target process, to avoid repeating to obtain file lock when target process.
The present embodiment realizes that group document is locked by introducing Fuse file system in NAS group system, compared to existing Have and introduced in technology for heavy distributed file system or shared-file system, due to the text that Fuse file system is User space Part system, can be with self defined interface, therefore introduces Fuse file system in NAS group system and realize that group document lock can be big The big complexity for reducing system.Further, the present embodiment passes through the text preset for recording the PID for obtaining file lock process Part locks variable, to determine whether being already provided with group document lock, only becomes in the PID of target process not equal to the file lock File lock just can be set in the case where amount.Therefore, the present embodiment can be under the premise of reducing the complexity of NAS group system Realize group document lock.
As a preferred embodiment, can check whether to have existed setting cluster text in S102 and S103 increase The operation of other processes of part lock, can also include check destination node whether be DC node operation, specific steps refer to Fig. 2, Fig. 2 are a kind of method flow that the parameter verification during group document is locked is arranged provided by the embodiment of the present application Figure, the corresponding embodiment of Fig. 2 can embodiment corresponding with Fig. 1 be combined to obtain a kind of embodiment for more having choosing, Specific steps may include:
S201: judge whether the PID of the target process is equal to the file lock variable;If so, terminating process;If It is no, then enter S202;
S202: the process that PID is the file lock variable is judged whether there is;If so, terminating process;If it is not, then into Enter S203;
Wherein, the judgement of this step can be used to judge to obtain whether process obtained by file exits extremely, and PID is if it exists The process of the file lock variable then illustrates to have existed the process for obtaining file lock, needs to terminate process;PID is if it does not exist The process of the file lock variable then illustrates that the process for obtaining file lock or the process exception, which has been not present, to be exited, and can use Target process continues to execute the operation that setting group document is locked.
S203: using the PID as the value of the file lock variable, inquire whether the destination node is DC node;If It is then to enter S204;If it is not, then terminating process;
S204: the file lock is authorized to the target process.
S205: target process executes the setting operation of group document lock.
In the above-described embodiments, it successively performs and judges whether target process has obtained file lock, judged in addition to target Whether it is DC node to decide whether to authorize target that whether other processes except process obtain file lock, judge destination node Process file lock.The meaning that target process file lock is authorized in the present embodiment, which is equivalent to, assigns what target process setting group document was locked Permission.Also there is the table for recording DC node in default in the present embodiment, can determine target section according to the nodal information of destination node Whether point is DC node.Certainly, how to judge that some node whether be DC node is technology very common in the prior art, this Place is not defined its detailed process.
As a preferred embodiment, can be after introducing Fuse file system, in the Fuse file system File_operations in add flock interface function;
It can be with correspondingly, judging whether the PID of the target process is equal to the file lock variable are as follows:
Judge whether the PID of the target process is equal to the file lock variable using the flock interface function.
It can be with correspondingly, judging whether there is process that PID is the file lock variable are as follows:
Judge to become in the Fuse file system with the presence or absence of PID for the file lock using the flock interface function Amount.
Correspondingly, inquiring whether the destination node is that DC node can using the PID as the value of the file lock variable Being executed using the flock interface function.
Illustrate the process of above-described embodiment description below by embodiment in practical applications.
Step 1: newly-increased Fuse file system increases the overall situation or static variable g_lock_pid of Fuse file system newly, just Initial value is 0.
Step 2: flock interface function is added in the file_operations of Fuse file system, in flock function It is middle to execute following logic.
Step 3: judging whether current process pid is equal to g_lock_pid, if so, illustrating that the process had obtained file Write lock, cannot repeat obtain, return mistake;Otherwise it continues to execute.
Step 4: judging that system whether there is pid as the process of g_lock_pid, if so, returning to mistake;Otherwise, explanation It gets this document and writes the process of lock and exit extremely, continue to execute.
Step 5: whether being DC node in inquiry present node, if so, returning successfully;Otherwise mistake is returned.
Fig. 3 is referred to, Fig. 3 is a kind of structural representation for the system that setting group document is locked provided by the embodiment of the present application Figure;
The system may include:
Variable setup module 100, for the Fuse text when introducing Fuse file system in NAS group system, to be arranged File lock variable in part system;Wherein, the file lock variable is global variable or static variable, and the file lock variable is used The PID of file lock process is obtained in record;
PID judgment module 200, for being obtained when the target process for detecting destination node by the Fuse file system When file lock, judge whether the PID of the target process is equal to the file lock variable;
File lock setup module 300, for when the PID of the target process is not equal to the file lock variable, then will Value of the PID as the file lock variable, and authorize the file lock to the target process, so as to the target process The group document lock of the NAS group system is set.
The present embodiment realizes that group document is locked by introducing Fuse file system in NAS group system, compared to existing Have and introduced in technology for heavy distributed file system or shared-file system, due to the text that Fuse file system is User space Part system, can be with self defined interface, therefore introduces Fuse file system in NAS group system and realize that group document lock can be big The big complexity for reducing system.Further, the present embodiment passes through the text preset for recording the PID for obtaining file lock process Part locks variable, to determine whether being already provided with group document lock, only becomes in the PID of target process not equal to the file lock File lock just can be set in the case where amount.Therefore, the present embodiment can be under the premise of reducing the complexity of NAS group system Realize group document lock.
Further, the file lock setup module 300 includes:
First judging unit, for judging whether there is the process that PID is the file lock variable;If it is not, then will be described Value of the PID as the file lock variable;
Lock unit is write, for authorizing the file lock to the target process, so that the NAS is arranged in the target process The group document of group system is locked.
Further, the variable setup module 100 is specially and works as in the NAS group system to add the Fuse file When system, the file lock variable being arranged in the Fuse file system is the module of preset initial value;Wherein, described default initial Value is 0.
Since the embodiment of components of system as directed is corresponded to each other with the embodiment of method part, the embodiment of components of system as directed is asked Referring to the description of the embodiment of method part, wouldn't repeat here.
Present invention also provides a kind of computer readable storage mediums, have computer program thereon, the computer program It is performed and step provided by above-described embodiment may be implemented.The storage medium may include: USB flash disk, mobile hard disk, read-only deposit Reservoir (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or The various media that can store program code such as CD.
Present invention also provides a kind of NAS devices, may include memory and processor, have calculating in the memory When the processor calls the computer program in the memory, step provided by above-described embodiment is may be implemented in machine program Suddenly.Certain NAS device can also include various network interfaces, the components such as power supply.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For system disclosed in embodiment Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration ?.It should be pointed out that for those skilled in the art, under the premise of not departing from the application principle, also Can to the application, some improvement and modification can also be carried out, these improvement and modification also fall into the protection scope of the claim of this application It is interior.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.Under the situation not limited more, the element limited by sentence "including a ..." is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.

Claims (10)

1. a kind of method that setting group document is locked characterized by comprising
When introducing Fuse file system in NAS group system, the file lock variable in the Fuse file system is set;Its In, the file lock variable is global variable or static variable, and the file lock variable, which is used to record, obtains file lock process PID;
When detecting that the target process of destination node obtains file lock by the Fuse file system, judge the target into Whether the PID of journey is equal to the file lock variable;
If it is not, then using the PID as the value of the file lock variable, and authorize the file lock to the target process, with Toilet states the group document lock that the NAS group system is arranged in target process.
2. method according to claim 1, which is characterized in that include: using the PID as the value of the file lock variable
Judge whether there is the process that PID is the file lock variable;
If it is not, then using the PID as the value of the file lock variable.
3. method according to claim 1, which is characterized in that the file lock variable packet in the Fuse file system is arranged It includes:
The file lock variable being arranged in the Fuse file system is preset initial value;Wherein, the preset initial value is 0.
4. method according to claim 1, which is characterized in that authorizing the file lock to the target process includes:
Inquire whether the destination node is DC node;
If so, authorizing the file lock to the target process.
5. method according to claim 1, which is characterized in that further include:
Flock interface function is added in the file_operations of the Fuse file system;
Correspondingly, judging whether the PID of the target process is equal to the file lock variable and includes:
Judge whether the PID of the target process is equal to the file lock variable using the flock interface function.
6. a kind of system that setting group document is locked characterized by comprising
Variable setup module, for being arranged in the Fuse file system when introducing Fuse file system in NAS group system File lock variable;Wherein, the file lock variable is global variable or static variable, and the file lock variable is obtained for recording Take the PID of file lock process;
PID judgment module, for obtaining file lock by the Fuse file system when the target process for detecting destination node When, judge whether the PID of the target process is equal to the file lock variable;
File lock setup module, for when the PID of the target process be not equal to the file lock variable when, then by the PID The target process is authorized as the value of the file lock variable, and by the file lock, so that institute is arranged in the target process State the group document lock of NAS group system.
7. system according to claim 6, which is characterized in that the file lock setup module includes:
First judging unit, for judging whether there is the process that PID is the file lock variable;If it is not, then the PID is made For the value of the file lock variable;
Lock unit is write, for authorizing the file lock to the target process, so that the NAS cluster is arranged in the target process The group document of system is locked.
8. system according to claim 6, which is characterized in that the variable setup module is specially to work as NAS cluster system When adding the Fuse file system in system, the file lock variable being arranged in the Fuse file system is the mould of preset initial value Block;Wherein, the preset initial value is 0.
9. a kind of NAS device characterized by comprising
Memory, for storing computer program;
Processor realizes that group document is arranged as described in any one of claim 1 to 5 to be locked when for executing the computer program Method the step of.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program, realizing that group document is arranged as described in any one of claim 1 to 5 to be locked when the computer program is executed by processor The step of method.
CN201811172473.4A 2018-10-09 2018-10-09 A kind of method, system and associated component that setting group document is locked Pending CN109408477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811172473.4A CN109408477A (en) 2018-10-09 2018-10-09 A kind of method, system and associated component that setting group document is locked

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811172473.4A CN109408477A (en) 2018-10-09 2018-10-09 A kind of method, system and associated component that setting group document is locked

Publications (1)

Publication Number Publication Date
CN109408477A true CN109408477A (en) 2019-03-01

Family

ID=65466152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811172473.4A Pending CN109408477A (en) 2018-10-09 2018-10-09 A kind of method, system and associated component that setting group document is locked

Country Status (1)

Country Link
CN (1) CN109408477A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704386A (en) * 2019-09-05 2020-01-17 苏州浪潮智能科技有限公司 Distributed lock implementation method, device, equipment and readable storage medium
WO2021102849A1 (en) * 2019-11-28 2021-06-03 深圳市欢太科技有限公司 Resource acquisition method and apparatus, and electronic device
CN114116639A (en) * 2022-01-27 2022-03-01 苏州浪潮智能科技有限公司 Method, device, equipment and medium for setting cluster file lock

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514298A (en) * 2013-10-16 2014-01-15 浪潮(北京)电子信息产业有限公司 Method for achieving file lock and metadata server
CN104639658A (en) * 2015-03-12 2015-05-20 浪潮集团有限公司 Method for realizing object storage by mounting and accessing file system
CN104820622A (en) * 2015-05-22 2015-08-05 上海斐讯数据通信技术有限公司 Method and system for shared memory lock management control
CN105760519A (en) * 2016-02-26 2016-07-13 北京鲸鲨软件科技有限公司 Cluster file system and file lock allocation method thereof
CN107423403A (en) * 2017-07-27 2017-12-01 郑州云海信息技术有限公司 A kind of fusion lock management method and system based on distributed file system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514298A (en) * 2013-10-16 2014-01-15 浪潮(北京)电子信息产业有限公司 Method for achieving file lock and metadata server
CN104639658A (en) * 2015-03-12 2015-05-20 浪潮集团有限公司 Method for realizing object storage by mounting and accessing file system
CN104820622A (en) * 2015-05-22 2015-08-05 上海斐讯数据通信技术有限公司 Method and system for shared memory lock management control
CN105760519A (en) * 2016-02-26 2016-07-13 北京鲸鲨软件科技有限公司 Cluster file system and file lock allocation method thereof
CN107423403A (en) * 2017-07-27 2017-12-01 郑州云海信息技术有限公司 A kind of fusion lock management method and system based on distributed file system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704386A (en) * 2019-09-05 2020-01-17 苏州浪潮智能科技有限公司 Distributed lock implementation method, device, equipment and readable storage medium
WO2021102849A1 (en) * 2019-11-28 2021-06-03 深圳市欢太科技有限公司 Resource acquisition method and apparatus, and electronic device
CN114116639A (en) * 2022-01-27 2022-03-01 苏州浪潮智能科技有限公司 Method, device, equipment and medium for setting cluster file lock

Similar Documents

Publication Publication Date Title
US9471577B2 (en) Hierarchical multi-tenancy management of system resources in resource groups
US11586673B2 (en) Data writing and reading method and apparatus, and cloud storage system
EP2695083B1 (en) Cluster unique identifier
CN101730099B (en) Terminal management method based on authority control and device
EP2863310B1 (en) Data processing method and apparatus, and shared storage device
CN107911249B (en) Method, device and equipment for sending command line of network equipment
CN109408477A (en) A kind of method, system and associated component that setting group document is locked
CN105635311A (en) Method for synchronizing resource pool information in cloud management platform
WO2017143957A1 (en) Data redistribution method and device
JP5848339B2 (en) Leader arbitration for provisioning services
CN108319618B (en) Data distribution control method, system and device of distributed storage system
US11507474B2 (en) System and method for a backup and recovery of application using containerized backups comprising application data and application dependency information
CN110018989A (en) A kind of method and apparatus that snapshot compares
US10656852B2 (en) Performing preprocessing operations in anticipation of log file writes
CN107580032B (en) Data processing method, device and equipment
CN110022315A (en) Weight management method, device and equipment in a kind of piece of chain type account book
CN105278985A (en) Method and system for deploying file system
CN104793981B (en) A kind of online snapshot management method and device of cluster virtual machine
CN104216759A (en) Method and device for generating logical disk of virtual machine
JP2016510918A (en) Identifying workloads and sizing buffers for volume replication purposes
WO2020177601A1 (en) Group-based blockchain system, and group management method and device
CN107547512B (en) User authentication method and device in multi-level cloud platform
CN106326014A (en) Resource access method and device
US9160705B2 (en) Identifier management
CN110765094A (en) File creation method, device, system and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190301