CN1276568A - Multi-protocol unified file lockout - Google Patents
Multi-protocol unified file lockout Download PDFInfo
- Publication number
- CN1276568A CN1276568A CN 99109498 CN99109498A CN1276568A CN 1276568 A CN1276568 A CN 1276568A CN 99109498 CN99109498 CN 99109498 CN 99109498 A CN99109498 A CN 99109498A CN 1276568 A CN1276568 A CN 1276568A
- Authority
- CN
- China
- Prior art keywords
- file
- message
- locking
- agreement
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 claims abstract description 89
- 230000008859 change Effects 0.000 claims abstract description 29
- 230000004044 response Effects 0.000 claims description 14
- 238000012360 testing method Methods 0.000 claims description 12
- 239000011159 matrix material Substances 0.000 claims description 4
- 230000009466 transformation Effects 0.000 claims description 2
- 238000012956 testing procedure Methods 0.000 claims 3
- 238000012544 monitoring process Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 206010000210 abortion Diseases 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明提供了一种使用提议多协议锁定管理系统而使多个不同文件服务器或文件锁定协议正确互用的方法和系统。文件服务器在允许任何客户设备访问数据或获得锁定之前都要确定是否与用于那些现有锁定的始发客户设备和始发文件服务器协议或文件锁定协议无关的现有锁定不一致。CIFS客户设备能够获得对文件系统中的一个目录的“变更监测”锁定。文件服务器记录下CIFS客户设备和非CIFS客户设备对目录的变更,并将变更的“变更监测”锁定通知给CIFS客户设备。
The present invention provides a method and system for correct interoperability of multiple different file servers or file locking protocols using a proposed multi-protocol lock management system. The file server determines whether there are inconsistencies with existing locks regardless of the originating client device and originating file server protocol or file locking protocol for those existing locks before allowing any client device to access data or acquire a lock. CIFS client devices can acquire a "change watch" lock on a directory in the file system. The file server records the change of the directory by the CIFS client device and the non-CIFS client device, and notifies the CIFS client device of the "change monitoring" lock of the change.
Description
本发明涉及多协议文件服务器中的锁定。The present invention relates to locking in multi-protocol file servers.
在一个综合计算机网络中,需要多个客户设备共享文件。一种公知的方法是提供一台用以存储文件的网络文件服务器,它能够接收和响应来自那些客户设备的文件服务器请求。利用一个为文件服务器和客户设备所识别和坚持的文件服务器协议来产生这些文件服务器请求。由于文件被存储在文件服务器中,故多个客户设备具有了同时访问文件的机会。In an integrated computer network, multiple client devices need to share files. One known approach is to provide a network file server for storing files that is capable of receiving and responding to file server requests from those client devices. These file server requests are generated using a file server protocol recognized and adhered to by the file server and the client device. Since the files are stored in the file server, multiple client devices have the opportunity to access the files at the same time.
现有技术中的一个问题是存在多种不同的文件服务器协议,对于文件操作来说,每一种协议都具有不同的语义关系。提供一台能够识别多种文件服务器协议的文件服务器是公知的,但这在很多文件服务器协议在文件锁定和文件共享方面具有不同和不相兼容的语义关系的情况下是非常困难的。不兼容的锁定语义关系在将一个单一的文件系统提供给多个不同的客户设备方面存在困难。如果第一客户设备遵从第一文件服务器协议(具有第一文件锁定语义关系),则利用第二文件服务器协议(具有不同的文件锁定语义关系)的第二客户设备将会导致第一客户设备的应用严重失败。每种文件服务器协议的正确操作依赖于其它所有文件服务器协议与其文件锁定语义关系的兼容性。One problem in the prior art is that there are many different file server protocols, each of which has different semantic relationships for file operations. It is known to provide a file server capable of recognizing multiple file server protocols, but this is very difficult as many file server protocols have different and incompatible semantic relationships with respect to file locking and file sharing. Incompatible locking semantics present difficulties in serving a single file system to multiple different client devices. If the first client device complies with the first file server protocol (with the first file locking semantic relationship), a second client device using the second file server protocol (with different file locking semantic relationship) will cause the first client device's Application failed critically. The correct operation of each file server protocol depends on the compatibility of all other file server protocols with their file locking semantics.
例如,一种通常用于利用了Unix操作系统(或其变型)的设备的协议息NFS(“网络文件系统”)协议。通过实施“PC NFS”,利用Windows操作系统(或其变型)的设备也利用NFS协议。NFS协议被设计成无国籍的,从而不为相对于共享而被锁定或以其它形式被限定于一台客户设备的文件提供任可语义关系。反之,一种通常用于利用了Windows操作系统的设备的协议是CIFS(“公用因特网文件系统”)协议。CIFS协议具有广泛强制性的文件锁定语义关系,这种语义关系是CIFS客户设备所遵从和坚持的。For example, one protocol commonly used on devices utilizing the Unix operating system (or variants thereof) is the NFS ("Network File System") protocol. By implementing "PC NFS", devices utilizing the Windows operating system (or variants thereof) also utilize the NFS protocol. The NFS protocol is designed to be stateless, so as not to provide any semantic relationship for files that are locked or otherwise restricted to a client device relative to a share. Conversely, a protocol commonly used for devices utilizing the Windows operating system is the CIFS ("Common Internet File System") protocol. The CIFS protocol has a broadly mandatory file locking semantic relationship, which is complied with and insisted on by CIFS client devices.
在公知的系统中,NFS协议已被增加了一个附加的文件锁定协议NLM(“网络锁定管理器”),但是NFS协议仅将NLM锁定视为咨询。在这种方法达到了向那些利用它的NFS应用提供文件锁定语义关系的目的的同时,并不会防止NFS应用忽视那些文件锁定语义关系,也不会允许客户设备遵从多种不同文件服务器协议的文件锁定语义关系。In known systems, the NFS protocol has been augmented with an additional file locking protocol NLM ("Network Lock Manager"), but the NFS protocol only considers NLM locking as advisory. While this approach achieves the goal of providing file-locking semantics to NFS applications that utilize it, it does not prevent NFS applications from ignoring those file-locking semantics, nor does it allow client devices to conform to multiple different file server protocols. File locking semantic relationship.
因此,最好提供一种用于在利用多种不同文件服务器协议的客户设备中强制实施文件锁定语义关系的方法和系统。本发明的一个实施例能够实现这种效果,其中一组统一的文件锁定语义关系被装入一个多协议文件服务器的内核并强制利用了该服务器所识别的任一种不同文件服务器协议的客户设备执行。在最佳实施例中,为了在客户访问一个驻留在网络文件服务器中的共享文件系统的过程中保护数据的完整性,执行CIFS协议的特定文件锁定语义关系以便允许NFS客户设备与CIFS客户设备互用。Accordingly, it would be desirable to provide a method and system for enforcing file locking semantics in client devices utilizing a variety of different file server protocols. An embodiment of the present invention enables this effect where a unified set of file locking semantics is loaded into the kernel of a multi-protocol file server and enforced on client devices utilizing any of the different file server protocols recognized by the server implement. In the preferred embodiment, to protect data integrity during client access to a shared file system residing on a network file server, CIFS protocol specific file locking semantics are implemented to allow NFS client devices to interact with CIFS client devices interoperable.
本发明提供了一种多种不同文件服务器协议的正确互用方法和系统。一个识别多种不同文件服务器协议的文件服务器提供了一种强制所有客户设备和所有被识别的文件服务器协议实施的统一多协议锁定管理系统(包括一种统一的文件锁定语义关系)。在最佳实施例中,第一文件服务器协议(如CIFS)强制实施文件打开和文件锁定语义关系和一种机会(opportunistic)文件锁定技术,而第二文件服务器协议(如NFS和附加协议NLM)则缺少文件打开语义关系而只为咨询字节范围(advisory byte-range)提供了文件锁定语义关系。The invention provides a correct interoperability method and system of multiple different file server protocols. A file server that recognizes multiple different file server protocols provides a unified multi-protocol lock management system (including a unified semantic relationship between file locks) that enforces the implementation of all client devices and all recognized file server protocols. In the preferred embodiment, a first file server protocol (such as CIFS) enforces file open and file locking semantics and an opportunistic file locking technique, while a second file server protocol (such as NFS and additional protocol NLM) lacks file-open semantics and provides file-lock semantics only for advisory byte-ranges.
统一文件锁定语义关系使文件服务器在允许任何客户设备读或写数据或获得一个新的文件锁定或字节范围锁定之前确定是否与用于那些现有锁定的始发客户设备和始发文件服务器协议或文件锁定协议无关的现有锁定不一致。在CIFS客户设备试图读或写数据的情况下,当客户设备打开文件时,文件服务器执行该检查。在CIFS客户设备请求一个字节范围锁定的情况下,当客户设备请求字节范围锁定时,文件服务器执行此检查。对于NFS客户设备,当客户设备实际发送读或写请求,或当NFS客户设备请求一个指示读或写该字节范围的NLM字节范围锁定时,文件服务器执行此检查。实施文件锁定语义关系保护文件数据免受NFS客户设备引起的讹误。The unified file lock semantic relationship enables a file server to determine whether to agree with the originating client device and the originating file server for those existing locks before allowing any client device to read or write data or acquire a new file lock or byte range lock. or an existing locking inconsistency independent of the file locking protocol. In the case of a CIFS client device attempting to read or write data, the file server performs this check when the client device opens the file. In the case of a CIFS client device requesting a byte-range lock, the file server performs this check when the client device requests a byte-range lock. For NFS clients, the file server performs this check when the client device actually sends a read or write request, or when the NFS client device requests an NLM byte-range lock indicating the byte range to read or write. Enforces file locking semantics to protect file data from corruption caused by NFS client devices.
在本发明的第二方面,一个CIFS客户设备在打开一个文件的同时,能够获得一个“oplock”(机会锁定),一个只允许一个客户读或写该文件的独占文件锁定。当一个客户设备为被机会锁定的文件发送一个非CIFS(即NFS或NLM)协议请求时,文件服务器向CIFS客户设备发送一个机会锁定中断消息,同时给CIFS客户设备清洗任何被缓存的写操作和可能关闭该文件的机会。允许NFS和NLM请求中断机会锁定确保了在保护文件数据完整性的同时保持文件数据对NFS客户设备的可用性。In a second aspect of the present invention, a CIFS client device, while opening a file, can acquire an "oplock" (opportunistic lock), an exclusive file lock that only allows one client to read or write the file. When a client device sends a non-CIFS (that is, NFS or NLM) protocol request for an opportunistically locked file, the file server sends an opportunistic lock break message to the CIFS client device, and at the same time flushes any cached write operations and Chances of possibly closing the file. Allowing NFS and NLM requests to interrupt opportunistic locking ensures that file data remains available to NFS client devices while protecting file data integrity.
在本发明的第三方面,一个CIFS客户设备能够获得对文件系统中的一个目录的“变更监测”锁定,以便于文件服务器通知何时对该目录进行变更(对一个目录的变更包括在该目录内生成、删除或重命名文件,或将文件移入或移出该目录)。文件服务器记录下CIFS客户设备和非CIFS客户设备对目录的变更,并将那些变更的“变更监测”锁定通知给那些CIFS客户设备。In a third aspect of the present invention, a CIFS client device can acquire a "change detection" lock on a directory in the file system so that the file server notifies when changes are made to the directory (changes to a directory are included in the directory create, delete, or rename files within, or move files into or out of that directory). The file server records changes to the directory by both CIFS client devices and non-CIFS client devices, and notifies those CIFS client devices of the "change watch" locks for those changes.
图1示出了包括一个多协议文件服务器的系统的第一方框图。Figure 1 shows a first block diagram of a system comprising a multi-protocol file server.
图2示出了包括一个多协议文件服务器的系统的第二方框图。Figure 2 shows a second block diagram of a system including a multi-protocol file server.
图3示出了操作一个多协议文件服务器的方法的流程图。Figure 3 shows a flowchart of a method of operating a multi-protocol file server.
图4示出了操作一个多协议文件服务器中的交叉协议锁定管理器的方法的流程图。Figure 4 shows a flowchart of a method of operating a cross-protocol lock manager in a multi-protocol file server.
图5示出了操作一个多协议文件服务器中的机会锁定管理器的方法的流程图。Figure 5 shows a flowchart of a method of operating an opportunistic lock manager in a multi-protocol file server.
图6示出了操作一个多协议文件服务器中的变更通知管理器的方法的流程图。Figure 6 shows a flowchart of a method of operating a change notification manager in a multi-protocol file server.
在下面的说明中,将参照最佳的过程步骤和数据结构来描述本发明的最佳实施例。所属领域的技术人员在研读了本申请之后将认识到利用通用处理器或专用处理器或其它适用于这里所述的特定过程步骤和数据结构的电路即可实施本发明的实施例,并且实施这里所述的过程步骤和数据结构并不需要特殊的实验或进一步的发明。In the following description, preferred embodiments of the invention are described with reference to preferred process steps and data structures. Those skilled in the art, after studying this application, will recognize that embodiments of the invention can be implemented using a general-purpose or special-purpose processor or other circuitry adapted to the specific process steps and data structures described herein, and implementing the The described process steps and data structures do not require special experimentation or further invention.
系统结构(客户/服务器)System structure (client/server)
图1示出了包括一个多协议文件服务器的系统的第一方框图。Figure 1 shows a first block diagram of a system comprising a multi-protocol file server.
一个系统100包括一个文件服务器110,一个计算机网络120和多个客户设备130。A
文件服务器110包括一个处理器111和海量存储器112。海量存储器112能够存储和检索一组具有用于存储和检索的数据的文件113。处理器111能够从网络120接收一系列请求消息121,将那些消息作为命令和数据进行语法分析,处理海量存储器112上的文件113并根据那些命令和数据发送响应消息。The
文件服务器110和客户设备130与网络120连接并利用在网络120上传送的消息121进行通信。消息121包括客户设备130向文件服务器110发送的文件系统请求和文件服务器110向客户设备130发送的文件系统响应。
系统结构(文件锁定语义关系)System structure (file locking semantic relationship)
图2示出了包括一个多协议文件服务器的系统的第二方框图。Figure 2 shows a second block diagram of a system including a multi-protocol file server.
系统100包括一组客户设备130,其中包括Unix客户设备201、PC NFSWindows客户设备202和CIFS Windows客户设备203。Unix客户设备201执行Unix操作系统和利用Unix/NFS文件服务器协议。PC NFS Windows客户设备202执行Windows操作系统和利用PC NFS文件服务器协议。CIFS Windows客户设备203执行Windows操作系统和利用CIFS文件服务器协议。
Unix客户设备201和PC NFS Windows客户设备202利用NFS文件服务器协议与文件服务器110进行通信,在该文件服务器110中由一个NFS文件服务器协议分析程序211来确认该协议。CIFS Windows客户设备203利用CIFS文件服务器协议与文件服务器110进行通言,在该文件服务器110中由一个CIFS文件服务器协议分析程序212来确认该协议。处理器111对利用了NFS文件服务器协议或CIFS文件服务器协议的消息进行语法分析并由一个机会锁定管理器220来进行处理。Unix
机会锁定管理器220访问具有CIFS机会锁定的文件113。以后将参照图3和图5详细描述其操作。机会锁定管理器元件220与一个交叉协议锁定管理器230连接。
交叉协议锁定管理器230管理着文件服务器110的文件锁定语义关系。它处理和记录与下述四种类型的锁定相关的信息——CIFS字节范围锁定241、CIFS文件锁定242、PC NFS(NLM)文件锁定243和NLM字节范围锁定244。以后将参照图3和图4详细描述其操作。The
不同的文件锁定语义关系Different file locking semantics
如图2所示,能够从Unix客户设备201、PC NFS Windows客户设备202或CIFSWindows客户设备203接收文件服务器请求消息140,并能够使用NFS文件服务器协议或CIFS文件服务器协议。除了使用不同的文件服务器协议之外,每种类型的客户设备130还具有由文件服务器110提供的不同文件锁定模型。As shown in Figure 2, can receive file
特别是,NFS文件服务器协议用于执行不具有任何形式的文件打开或文件关闭语义关系的文件系统操作。这些NFS文件系统操作包括对文件数据或文件系统处理的读或写操作(即,对目录的读和写操作)。文件系统处理包括创建文件或目录、重命名文件或目录、将文件从一个目录移到另一个目录或从文件系统中取消(删除)文件或目录。In particular, the NFS file server protocol is used to perform file system operations that do not have any form of file open or file close semantic relationship. These NFS file system operations include read or write operations on file data or file system transactions (ie, read and write operations on directories). File system processing includes creating files or directories, renaming files or directories, moving files from one directory to another, or undoing (deleting) files or directories from the file system.
NLM附加协议用于获得和解除文件的字节范围锁定。这些字节范围锁定可被“读锁定”,它抑制其它随从(compliant)应用程序(例如在其它客户设备130中)向特定的字节范围进行写操作。这些字节范围锁定也可以被“写锁定”,它抑制其它随从应用程序从或向特定的字节范围进行读或写操作。The NLM add-on protocol is used to acquire and release byte-range locks on files. These byte range locks may be "read locks," which inhibit other compliant applications (eg, in other client devices 130) from writing to a particular byte range. These byte range locks can also be "write locked", which inhibits other follower applications from reading or writing to or from a specific byte range.
CIFS文件服务器协议用于在试图对那些文件113中的数据进行任可读或写操作之前,执行文件打开操作并获得关于将被打开的文件113的文件锁定。在打开文件时,一个CIFS客户设备130能够规定所需的访问模式(只读、只写或读-写)以及用以对试图打开同一文件113的其它客户设备130产生影响的所需拒绝模式(不拒绝、读拒绝、写拒绝或全部拒绝)。然后,CIFS文件系统操作只需要对获得的文件打开的访问模式进行检查。一个CIFS客户设备130还能够规定对一个由客户设备130打开的文件中的字节范围的字节范围锁定。字节范围锁定或者是一个也被称为“写锁定”的独占锁定(具有读-写访问模式和全部拒绝拒绝模式),或者是一个也被称为“读锁定”的非独占锁定(具有只读访问模式和写拒绝拒绝模式)。The CIFS file server protocol is used to perform file open operations and acquire file locks on the files 113 to be opened before attempting any read or write operations on the data in those files 113 . When opening a file, a
文件服务器110确定组合了访问模式和拒绝模式的锁定模式。如这里所使用的,短语“锁定模式”是指一种由文件服务器110产生的统一锁定模式,它组合了一种访问模式和一种拒绝模式。The
在打开文件时,CIFS客户设备130还能够获得一个oplock(机会锁定),它使打开文件的CIFS客户设备130具有对该文件的独占访问,只要另一个客户设备130没有试图使用该文件。从客户设备130的需要上说,oplock提供了对该文件更高程度的独占性,并且通过另一个客户设备130的访问,能够中断oplock的独占。When opening a file, a
文件服务器110为利用NFS(具有或不具有附加协议NLM)或CIFS而在客户设备130之间进行正确的互用作准备。为了提供正确的互用,文件服务器110提供了一种统一的文件锁定语义关系。在最佳实施例中,统一的文件锁定语义关系具有下述效果:
文件服务器110防止Unix客户设备201执行将覆盖已被打开和正被具有写拒绝或全部拒绝的拒绝模式的CIFS客户使用的文件113中的数据的NFS写操作。
文件服务器110防止Unix客户设备201和PC NFS Windows客户设备02执行将导致取消或重命名一个已被打开并正被一个CIFS客户使用的文件113的NFS文件系统操作。
当Unix客户设备201或PC NFS Windows客户设备202产生一个对被一个CIFS客户机会锁定的文件113进行取消、重命名或写数据的NFS请求时,文件服务器110将对文件113实行CIFS机会锁定语义关系。文件服务器110向保持机会锁定的客户设备130发送一个机会锁定中断消息140,并从该客户设备130接收一个响应信息。如果该客户设备130关闭了该文件113,则NFS请求能够继续并且得到文件服务器110的允许。When a
当Unix客户设备201或PC NFS Windows客户设备202产生一个从正被一个CIFS客户机会锁定的文件113中读数据的NFS请求时,文件服务器110将对文件113实行CIFS机会锁定语义关系。文件服务器110向保持机会锁定的客户设备130发送一个机会锁定中断消息140,并从该客户设备130接收一个响应信息。如果该客户设备130关闭了该文件113或将其写缓冲区刷新成文件服务器110,则NFS请求能够继续并且得到文件服务器110的允许。When a
文件服务器110测试来自CIFS Windows客户设备203的文件打开请求与来自PCNFS Windows客户设备202的NLM文件锁定请求关于它们特定的锁定模式的相互兼容性。这里用短语NLM“文件锁定”取代公知短语NLM“共享锁定”,该短语在下述文献中予以描述:“X/Open CAE Specification:Protocols for X/OpenInterworking XNFS,Issue 4(X/Open Document Number C218)”,这里将此文献作为参考文献。文件服务器110通过组合所请求的访问模式和拒绝模式来确定特定的锁定模式。The
为了提供这些效果,文件服务器110执行下述锁定管理操作:To provide these effects,
在接收一个CIFS文件打开请求消息140的同时,文件服务器110测试与现有的CIFS和NLM文件锁定冲突以及与现有的NLM字节范围锁定冲突的文件打开请求。为了达到与新请求的文件锁定相比较的目的,文件服务器110将现有的NLM字节范围锁定视为具有非拒绝拒绝模式且具有只读访问模式的非独占锁定和读-写访问模式的独占锁定。While receiving a CIFS file
在接收一个CIFS字节范围锁定请求消息140的同时,文件服务器110测试与现有的CIFS和NLM字节范围锁定冲突的字节范围锁定请求。While receiving a CIFS byte range
在接收一个NLM字节范围锁定请求消息140的同时,文件服务器110测试与现有的CIFS和NLM字节范围锁定冲突以及与现有的CIFS文件锁定冲突的字节范围锁定请求。While receiving an NLM byte-range
在从一个PC NFS客户设备130接收一个NLM文件锁定请求消息140(用于模拟一个文件打开请求消息140)的同时,文件服务器110测试与现有的CIFS和NLM文件锁定冲突以及与现有的NLM字节范围锁定冲突的NLM文件锁定请求。为了达到与新请求的NLM文件锁定相比较的目的,文件服务器110将现有的NLM字节范围锁定视为具有非拒绝拒绝模式且具有只读访问模式的非独占锁定和读-写访问模式的独占锁定。While receiving an NLM file lock request message 140 (for simulating a file open request message 140) from a PC
操作方法(多协议文件服务器)How to operate (multi-protocol file server)
图3示出了操作一个多协议文件服务器的方法流程图。Figure 3 shows a flowchart of a method of operating a multi-protocol file server.
操作一个多协议文件服务器的方法300包括一组由文件服务器110协同至少一个客户设备130执行的过程步骤和流点(flow point)。The method 300 of operating a multi-protocol file server includes a set of process steps and flow points performed by the
在流点310,文件服务器110准备接收文件服务器请求消息140。At flow point 310 ,
在步骤311,文件服务器110接收并分析文件服务器请求消息140。文件服务器110确定文件服务器请求消息140利用了NFS文件服务器协议、NLM文件锁定协议还是CIFS文件服务器协议。如果该文件服务器请求消息140使用了NFS文件服务器协议或NLM文件锁定协议,则方法300继续到步骤312。如果该文件服务器请求消息140使用了CIFS文件服务器协议,则方法300继续到步骤313。At step 311 , the
在步骤312,文件服务器110确定请求消息140是否包括一个用以执行一个文件系统操作(如读或写数据,或修改目录)的NFS文件服务器请求。可替换地,文件服务器110确定请求消息140是否包括一个用以获得一个NLM字节范围锁定的NLM文件锁定请求。在任一种情况下,方法300继续到流点320。In step 312, the
在步骤313,文件服务器110确定文件服务器请求消息140是用于执行一个CIFS读或写操作以获得一个CIFS字节范围锁定,还是用于执行一个CIFS文件打开操作。在文件服务器请求消息140是用于获得一个CIFS字节范围锁定或用于执行一个CIFS文件打开操作的情况下,方法300继续到流点320。如果文件服务器请求消息140用于执行一个CIFS读或写操作,则方法继续到流点330。土改该文件服务器请求消息140是一个CIFS“变更通知”请求,则方法继续到流点350(将参照图6对变更通知请求进行进一步的说明)。In step 313, the
在流点320,文件服务器110准备将文件服务器请求消息140所请求的操作与文件113的文件锁定状态进行比较。文件113的文件锁定状态包括文件113的现有文件锁定和字节范围锁定。At flow point 320 ,
在步骤321,文件服务器110确定文件113是文件服务器请求消息140的主题并确定该文件113是否被机会锁定。如果文件113被机会锁定,则方法300继续到步骤322。如果文件113没有被机会锁定,则方法300继续到步骤323。In step 321, the
在步骤322,文件服务器110中断机会锁定,如这里所述。以后将参照图5进一步描述步骤322的执行。中断机会锁定能够导致文件113的文件锁定状态发生变化。At step 322,
在步骤323,文件服务器110利用一种统一的文件锁定语义关系,将所请求的操作与文件113的文件锁定状态进行比较。在这一步骤中,所请求的操作可能是一个NFS读或写操作、一个NFS或CIFS目录修改操作、一次获得NLM文件锁定或字节范围锁定的尝试或一个CIFS文件打开操作。以后将参照图4进一步描述步骤323的执行和统一的文件锁定语义关系。如果比较结果显示所请求的操作是允许的,则方法300继续到步骤324。如果所请求的操作是不允许的,则方法300继续到步骤325。In step 323,
在步骤324,文件服务器110执行所请求的操作。方法300继续到流点340。In step 324, the
在步骤325,文件服务器110拒绝执行所请求的操作并向客户设备130响应一个错误消息。方法300继续到流点340。At step 325, the
在流点330,文件服务器110准备将文件服务器请求消息140所请求的操作与文件113的文件锁定状态进行比较。At flow point 330 ,
在流点350,文件服务器110准备执行变更通知操作,如这里所述。At flow point 350,
在步骤351,第一CIFS客户设备130为一个目录请求一个文件锁定(利用一个文件系统请求消息140来打开该目录),并将该目录的文件锁定转变为对该目录的变更监视锁定。以后将参照图6进一步描述此步骤351的执行。In step 351, the first
在流点340,文件服务器110已对文件服务器请求消息140作出响应,关于该文件服务器请求消息140的方法300被完成。At flow point 340, the
操作方法(交叉协议锁定管理器)How-To (Cross-Protocol Lock Manager)
图4示出了操作一个多协议文件服务器中的交叉协议锁定管理器的方法流程图。Figure 4 shows a flowchart of a method of operating a cross-protocol lock manager in a multi-protocol file server.
操作一个多协议文件服务器中的交叉协议锁定管理器的方法400包括一组后述的由文件服务器110协同至少一个客户设备130执行的过程步骤和流点。The
在流点410,文件服务器110准备将在文件服务器请求消息140中所请求的操作与文件113的文件锁定状态相比较。At flow point 410 ,
文件服务器110利用一种统一的文件锁定语义关系,以便以同样的方式模拟来自任一种文件服务器协议的任意请求操作的文件锁定。该统一文件锁定语义关系标识了一个统一的文件锁定集,每种文件锁定包括一种用于请求客户设备130的访问模式和一种用于所有其它客户设备130的拒绝模式。
在最佳实施例中,访问模式可以是下列三种可能之——只读、只写或读-写。同样地,在最佳实施例中,拒绝模式可以是下列四种可能之一——非拒绝、读拒绝、写拒绝或全部拒绝。In the preferred embodiment, the access mode can be one of the following three possibilities - read only, write only or read-write. Likewise, in the preferred embodiment, the deny mode can be one of four possibilities - no deny, read deny, write deny or all deny.
在第一客户设备130获得了对一个文件113的文件锁定之后,如果由将被第二客户设备130请求的文件服务器110所确定的锁定模式与文件113的文件锁定状态一致,则第二客户设备130只能够访问该文件113。例如,第一客户设备130获得对一个文件113的拒绝模式为写拒绝的文件锁定。第二NFS客户设备130能够试图对文件113进行写操作或第二CIFS客户设备130能够以一种包括写访问的访问模式来试图打开文件113。在任一种情况下(如果对该文件113的文件锁定不是一个机会锁定,如后所述),文件服务器110将拒绝第二客户设备130的请求。After the
如所述,文件服务器110根据第二客户设备130所使用的文件服务器协议,在不同的时候执行文件锁定与第二客户设备130所请求的访问的比较:As mentioned, the
如果第二客户设备130使用CIFS文件服务器协议来打开文件113,则文件服务器110在打开文件的时候检查文件113的文件锁定状态。If the
如果第二客户设备130使用NFS文件服务器协议来对文件113进行读或写,则文件服务器110在进行实际文件系统操作时检查文件113的文件锁定状态。这也适用于具有从第一客户设备130上消除该文件的效果的文件系统操作,例如移动、消除或重命名文件113的操作。If the
如果第二客户设备130使用CIFS文件服务器协议来请求一个字节范围锁定,则文件服务器110在请求字节范围锁定的时候检查与其它CIFS或NLM字节范围锁定冲突的文件113的文件锁定状态。文件服务器110在请求字节范围锁定的时候不检查与其它CIFS文件锁定的冲突,因为在打开文件的时候进行了检查。If the
如果第二客户设备130使用NLM协议来请求一个字节范围锁定,则文件服务器110在请求字节范围锁定的时候,检查与现有的CIFS或NLM字节范围锁定冲突以及与现有的CIFS文件锁定冲突的文件113的文件锁定状态。If the
在步骤421,文件服务器110确定是否已经存在一种以上与文件113相关的文件锁定。如果是,则方法400继续到步骤422。如果不是,则方法继续到步骤411。In
在步骤422,文件服务器110将已经与文件113相关的文件锁定组合到一个与文件113相关的等效文件锁定中。为了执行此步骤422,文件服务器110在表1中交叉检索一个包括每种先存文件锁定的累积文件锁定,直到所有的先存文件锁定已被累积在一起。In
表1示出了一个具有统一文件锁定语义关系的多协议文件服务器中的锁定变换表。
表1 Table 1
锁定变换矩阵lock transformation matrix
A-访问模式(R=读,W=写,RW=读-写,Any=R或W或RW中的任一种)A - Access Mode (R=Read, W=Write, RW=Read-Write, Any=R or W or RW)
D-拒绝模式(DN=非拒绝,DR=读拒绝,DW=写拒绝,DA=全部拒绝)D-Deny Mode (DN=Non-Deny, DR=Read Deny, DW=Write Deny, DA=Deny All)
在步骤411,文件服务器110确定文件服务器请求消息140中所请求的操作的性质。如果所请求的操作是一个CIFS文件打开操作,则方法400继续到步骤423。如果所请求的操作是一个NFS文件服务器操作,则方法400继续到步骤43 1。如果所请求的操作是一个对字节范围锁定的CIFS请求或NLM请求,则文件系统110继续到步骤441。At
在步骤423,文件服务器110将已经与文件113相关的文件锁定与第二客户设备130所请求的文件打开进行比较。为了执行此步骤423,文件服务器110在表2中交叉检索先存文件锁定和所请求的新访问模式及拒绝模式,并根据表中的相关项来允许或拒绝所请求的新访问模式和拒绝模式。At
如果文件服务器110允许所请求的新访问模式和拒绝模式,则方法400执行步骤424。如果文件服务器110拒绝所请求的新访问模式和拒绝模式,则方法400不执行步骤424。If the
表2示出了在具有统一文件锁定语义关系的多协议文件服务器中的尝试文件锁定的交叉索引。
表2 Table 2
多协议锁定兼容性矩阵Multi-Protocol Lock Compatibility Matrix
A=访问模式 D=拒绝模式A = access mode D = deny mode
√-新请求将被授权 ×-新请求将被拒绝√ - new requests will be authorized × - new requests will be denied
如表2所示,每对先存文件锁定和所请求的新访问模式及拒绝模式具有一种相关的判定关系以允许或拒绝所请求的新访问模式和拒绝模式。As shown in Table 2, each pair of pre-existing file locks and the requested new access mode and denial mode has a related decision relationship to allow or deny the requested new access mode and denial mode.
如果文件服务器110正在检查一个现有CIFS文件锁定与一个执行文件打开操作的新请求之间的冲突,则对在新文件打开请求中所请求的访问模式和拒绝模式交叉检索现有的CIFS文件锁定。If the
如果文件服务器110正在检查现有的文件锁定与一个用以执行文件读或写操作的新NFS请求之间的冲突,则对所请求的访问模式交叉检索合计的锁定模式(现有文件锁定的组合)以执行新的请求。If the
如果文件服务器110正在检查现有的文件锁定或字节范围锁定与一个对NLM字节范围锁定的新请求之间的冲突,则对一种等效于新NLM字节范围锁定请求的锁定模式交叉检索现有的文件锁定和字节范围锁定。为了与现有的文件锁定进行比较,文件服务器110将新请求的NLM字节范围锁定视为非拒绝拒绝模式,并视为具有只读访问模式的非独占锁定(也称为“读锁定”)和具有读-写访问模式的独占锁定(也称为“写锁定”)。为了与现有的字节范围锁定进行比较,文件服务器110将新请求的NLM字节范围锁定视为具有只读访问模式和写拒绝拒绝模式的读锁定,并视为具有读写访问模式和全部拒绝拒绝模式的写锁定。If the
然后方法400继续到流点450。
在步骤431,文件服务器110比较文件113的文件锁定状态和由第二客户设备130请求的操作。为了执行此步骤431,文件服服务器110比较该文件锁定的拒绝模式和所请求的操作,并根据比较结果允许或拒绝所请求的操作。In
然后方法400继续到流点450。
在步骤44l,文件服务器110比较文件113的文件锁定状态和由第二客户设备130请求的NLM字节范围锁定。在最佳实施例中,只对字节范围锁定检查CIFS字节范围锁定请求,因为它们需要一个以前的已经检查过现有文件锁定的CIFS文件打开操作。为了执行此步骤441,文件服务器110在表3中交叉检索先存的文件锁定状态和所请求的字节范围锁定,并根据表中的相关项允许或拒绝所请求的字节范围锁定。At
如果文件服务器110允许所请求的新NLM字节范围锁定,则方法400执行步骤442。如果文件服务器ll0拒绝所请求的新字节范围锁定,则方法400不执行步骤442。If the
表3示出了具有统一文件锁定语义关系的多协议文件服务器中的现有文件锁定和新请求的NLM字节范围锁定的交叉索引。
表3 table 3
新NLM字节范围锁定与现有文件锁定的兼容性Compatibility of new NLM byte range locks with existing file locks
A=访问模式,D=拒绝模式A = access mode, D = deny mode
√=新的NLM字节范围锁定请求将被授权√ = new NLM byte range lock requests will be granted
×=新的NLM字节范围锁定请求将被拒绝× = new NLM byte range lock requests will be denied
如表3所示,每一对现有文件锁定和新请求的NLM字节范围锁定都具有允许或拒绝所请求的新字节范围锁定的相关判定关系。As shown in Table 3, each pair of an existing file lock and a newly requested NLM byte range lock has an associated decision relationship of allowing or denying the requested new byte range lock.
在步骤442,文件服务器110使所请求的新字节范围锁定作为一个新的附加字节范围锁定而与文件113发生联系。In
方法400继续到流点450。
在流点450,文件服务器110比较了文件服务器请求消息140中所请求的操作和文件113的文件锁定状态,并允许或拒绝所请求的操作。At
操作方法(机会锁定管理器)How-To (Opportunistic Lock Manager)
图5示出了操作一个多协议文件服务器中的机会锁定管理器的方法流程图。Fig. 5 shows a flowchart of a method of operating an opportunistic lock manager in a multi-protocol file server.
操作一个多协议文件服务器中的机会锁定管理器的方法500包括一组后述的由文件服务器110协同至少一个客户设备130执行的过程步骤和流点。The
在Windows操作系统环境下的文件锁定领域中,机会锁定是公知技术。该技术在关于包括了例如CIFS IETF规定的“Windows NT 4.0”操作系统的文献中进行了详细描述,可以通过位于主ftp microsoft.com、directory/developr/drg/CIFS、文件cifs6.doc或cifs6.txt中的FTP协议,从位于Washington,Redmond的微软公司得到该文献,本文中将其作为参考文献。In the field of file locking under the Windows operating system environment, opportunistic locking is a known technology. The technology is described in detail in the literature on the "Windows NT 4.0" operating system including, for example, the IETF specification for CIFS, available via the file cifs6.doc or cifs6. txt, obtained from Microsoft Corporation, Washington, Redmond, and used as a reference herein.
在流点510,文件服务器110准备从一个CIFS第一客户设备130接收一个打开文件113的请求。At flow point 510, the
在步骤511,文件服务器110从一个CIFS第一客户设备130接收一个对文件113的文件打开请求。该文件打开请求指定了一种访问模式和一种拒绝模式。In
在步骤512,文件服务器110确定应当允许该请求,并以所指定的访问模式和拒绝模式向第一客户设备130授权一个文件锁定。In
在步骤513,如果该客户设备130已经在文件打开请求中请求了机会锁定,则文件服务器110以高于第一客户设备130实际需要的可能性将机会锁定授权给第一客户设备130。In
例如,当一个CIFS第一客户设备130以只读访问模式和写拒绝拒绝模式打开一个文件113时,文件服务器110使那种类型的文件锁定与文件113发生联系。文件服务器110还使具有读-写访问模式和全部拒绝拒绝模式的机会锁定与文件113发生联系。For example, when a CIFS
在流点520,文件服务器110对来自CIFS第一客户设备130的、对文件113进行文件锁定的请求作出响应。At flow point 520 ,
在流点530,第二客户设备130试图打开文件113。At
在步骤531,文件服务器110或者从第二CIFS客户设备130接收一个文件打开请求,或者从一个PC NFS客户设备130接收一个NLM文件锁定请求。In
作为执行此步骤531的一部分,在由第二客户设备130请求的执行中断了机会锁定并从该机会锁定的占有人、第一客户设备130处得到响应的同时,文件服务器110挂起由第二客户设备130请求的执行。As part of performing this
在步骤532,文件服务器110通过向CIFS第一客户设备130发送一个“机会锁定中断”消息140来中断机会锁定。At
当第二客户设备130是一个CIFS客户设备130时,这已经在意料之中。当第二客户设备130是一个NFS客户设备130时,文件服务器110延迟其对NFS(或NLM)协议请求消息140的响应,直到CIFS第一客户设备130对“机会锁定中断”消息140作出响应为止。This is already expected when the
在步骤533,CIFS第一客户设备130接收“机会锁定中断”消息140并能够以下述两种方式之一对消息140作出响应:In
CIFS第一客户设备130能够关闭文件113(从而取消与文件打开相关的文件锁定):或CIFS
CIFS第一客户设备130能够清洗对文件113的所有未决CIFS写和字节范围锁定请求,这些请求在客户设备130中被局部缓存(即,它能够向文件服务器110传递那些文件系统操作的结果),并删除已经获得的文件113的预读数据。由于第二客户设备130可能接着向文件中写入新的数据而使预读数据无效,因而应当删除预读数据。The CIFS
在步骤534,文件服务器110从CIFS第一客户设备130接收响应。At
在步骤535,文件服务器110确定CIFS第一客户设备130是否保持文件113打开,如果是,则将第二客户设备130所请求的隐含锁定模式与文件113的新的文件锁定状态进行比较。如果文件服务器110确定允许继续进行第二客户设备130的请求,则方法继续到流点540。如果文件服务器110确定不允许继续进行了第二客户设备130的请求,拒绝该请求。In
在流点540,文件服务器110准备允许在步骤531中提及的来自第二客户设备130的请求。At
操作方法(变更通知管理器)How To (Change Notification Manager)
图6示出了操作多协议文件服务器中的一个变更通知管理器的方法流程图。Fig. 6 shows a flowchart of a method of operating a change notification manager in a multi-protocol file server.
操作多协议文件服务器中的一个变更通知管理器的了方法600包括一组由文件服务器110协同至少一个客户设备130执行的过程步骤和流点。The
在流点610,文件服务器110准备接收文件服务器请求消息140。At flow point 610 ,
在步骤611,文件服务器110从第一CIFS客户设备130接收一个文件打开请求消息140,同时在文件服务器110上指定一个目录。文件服务器110确定应当允许该文件打开请求并向第一CIFS客户设备130授权对该目录的CIFS文件锁定。In
在步骤612,文件服务器110从第一CIFS客户设备130接收一个参照被打开的目录的变更通知请求消息以将对打开目录的文件锁定转换成变更监视锁定。In
在步骤613,文件服务器110将对打开目录的文件锁定转换成对指定目录的变更监视锁定。At step 613, the
在流点620,“变更监视”锁定已经与指定目录建立联系,并且准备向第一CIFS客户设备130通知对该目录的变更。At
在步骤621,文件服务器110从第二客户设备130接收一个文件服务器请求消息140,请求对指定目录的变更,从而引发向第一客户设备130通知变更(变更类型包括文件生成、文件删除、文件重命名、目录之间的文件移动、文件属性变更以及文件修改时间变更)。来自第二客户设备130的文件服务器请求消息140可以是CIFS或NFS。第二客户设备130可以是Unix NFS客户设备201、PC NFS客户设备202或CIFS Windows客户设备203中的任一个。In
在步骤622,文件服务器110通知占有对步骤621中所述的变更的“变更监视”锁定的第一客户设备130,可能包括多项,其中每一项都规定了所监视的目录中被变更的文件或子目录的名称和变更类型。如果这样的第一客户设备130存在一个以上,则文件服务器110通知所有的第一客户设备。In
在WindowsNT操作系统环境下的文件锁定领域中,变更通知是公知技术。该技术在关于包括了例如CIFS IETF规定的“Windows NT 4.0”操作系统的文献中进行了详细描述,可以通过位于主ftp microsoft.com、directory/developr/drg/CIFS、文件cifs6.doc或cifs6.txt中的FTP协议,从位于Washington,Redmond的微软公司得到该文献,本文中将其作为参考文献。Change notification is a known technique in the field of file locking under the Windows NT operating system environment. The technology is described in detail in the literature on the "Windows NT 4.0" operating system including, for example, the IETF specification for CIFS, available via the file cifs6.doc or cifs6. txt, obtained from Microsoft Corporation, Washington, Redmond, and used as a reference herein.
在流点630,文件服务器110已经将对指定目录的变更通知了第一CIFS客户设备130并为下一个消息140作准备。At
替换实施例alternative embodiment
尽管公开了最佳实施例,但是作出仍属于本发明范围和构思的各种改进是可能的,并且在研读了本说明书之后,这些改进对于所述技术领域的技术人员来说是清楚易懂的。While a preferred embodiment has been disclosed, various modifications are possible and will become apparent to those skilled in the art upon a study of this specification which remain within the scope and concept of the invention. .
技术附录Technical Appendix
关于本发明的其他和进一步的信息包括在本申请所附的一份技术附录中。该技术附录包括30页(包括附图)并在此作为参考文献而引用。Additional and further information on the present invention is contained in a technical appendix accompanying this application. This technical appendix consists of 30 pages (including figures) and is hereby incorporated by reference.
Claims (38)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB991094980A CN1154054C (en) | 1999-06-04 | 1999-06-04 | Multi-protocol unified file lockout |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB991094980A CN1154054C (en) | 1999-06-04 | 1999-06-04 | Multi-protocol unified file lockout |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1276568A true CN1276568A (en) | 2000-12-13 |
| CN1154054C CN1154054C (en) | 2004-06-16 |
Family
ID=5273946
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB991094980A Expired - Fee Related CN1154054C (en) | 1999-06-04 | 1999-06-04 | Multi-protocol unified file lockout |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1154054C (en) |
Cited By (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100386731C (en) * | 2003-02-28 | 2008-05-07 | 微软公司 | Method of Delay Locking Server Document Editing |
| CN102332016A (en) * | 2010-09-17 | 2012-01-25 | 微软公司 | directory oplock |
| US8346768B2 (en) | 2009-04-30 | 2013-01-01 | Microsoft Corporation | Fast merge support for legacy documents |
| US8352870B2 (en) | 2008-04-28 | 2013-01-08 | Microsoft Corporation | Conflict resolution |
| US8352418B2 (en) | 2007-11-09 | 2013-01-08 | Microsoft Corporation | Client side locking |
| US8417666B2 (en) | 2008-06-25 | 2013-04-09 | Microsoft Corporation | Structured coauthoring |
| US8429753B2 (en) | 2008-05-08 | 2013-04-23 | Microsoft Corporation | Controlling access to documents using file locks |
| CN103631915A (en) * | 2013-11-29 | 2014-03-12 | 华为技术有限公司 | Hybrid system file data processing method and system |
| US8825594B2 (en) | 2008-05-08 | 2014-09-02 | Microsoft Corporation | Caching infrastructure |
| US8825758B2 (en) | 2007-12-14 | 2014-09-02 | Microsoft Corporation | Collaborative authoring modes |
| CN104463010A (en) * | 2014-10-31 | 2015-03-25 | 华为技术有限公司 | File lock implementation method and device |
| CN105897865A (en) * | 2016-03-29 | 2016-08-24 | 北京轻元科技有限公司 | Protocol-independent network file service management system and method |
| CN106095594A (en) * | 2016-06-01 | 2016-11-09 | 新浪网技术(中国)有限公司 | The method of a kind of resource process, Apparatus and system |
| CN103631915B (en) * | 2013-11-29 | 2016-11-30 | 华为技术有限公司 | A kind of hybrid system file data processing method and system |
| CN119848844A (en) * | 2024-12-11 | 2025-04-18 | 安芯网盾(北京)科技有限公司 | Method and device for controlling scanning conflict of antivirus software of windows system |
-
1999
- 1999-06-04 CN CNB991094980A patent/CN1154054C/en not_active Expired - Fee Related
Cited By (29)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100386731C (en) * | 2003-02-28 | 2008-05-07 | 微软公司 | Method of Delay Locking Server Document Editing |
| US10394941B2 (en) | 2007-11-09 | 2019-08-27 | Microsoft Technology Licensing, Llc | Collaborative authoring |
| US8990150B2 (en) | 2007-11-09 | 2015-03-24 | Microsoft Technology Licensing, Llc | Collaborative authoring |
| US8352418B2 (en) | 2007-11-09 | 2013-01-08 | Microsoft Corporation | Client side locking |
| US9547635B2 (en) | 2007-11-09 | 2017-01-17 | Microsoft Technology Licensing, Llc | Collaborative authoring |
| US10057226B2 (en) | 2007-12-14 | 2018-08-21 | Microsoft Technology Licensing, Llc | Collaborative authoring modes |
| US20140373108A1 (en) | 2007-12-14 | 2014-12-18 | Microsoft Corporation | Collaborative authoring modes |
| US8825758B2 (en) | 2007-12-14 | 2014-09-02 | Microsoft Corporation | Collaborative authoring modes |
| US9760862B2 (en) | 2008-04-28 | 2017-09-12 | Microsoft Technology Licensing, Llc | Conflict resolution |
| US8352870B2 (en) | 2008-04-28 | 2013-01-08 | Microsoft Corporation | Conflict resolution |
| US8429753B2 (en) | 2008-05-08 | 2013-04-23 | Microsoft Corporation | Controlling access to documents using file locks |
| CN102016872B (en) * | 2008-05-08 | 2014-04-09 | 微软公司 | Use file locks to control access to documents |
| US8825594B2 (en) | 2008-05-08 | 2014-09-02 | Microsoft Corporation | Caching infrastructure |
| US8417666B2 (en) | 2008-06-25 | 2013-04-09 | Microsoft Corporation | Structured coauthoring |
| US8346768B2 (en) | 2009-04-30 | 2013-01-01 | Microsoft Corporation | Fast merge support for legacy documents |
| CN102332016B (en) * | 2010-09-17 | 2013-08-28 | 微软公司 | directory oplock |
| CN103399899B (en) * | 2010-09-17 | 2017-04-12 | 微软技术许可有限责任公司 | Directory oplock |
| CN102332016A (en) * | 2010-09-17 | 2012-01-25 | 微软公司 | directory oplock |
| CN103399899A (en) * | 2010-09-17 | 2013-11-20 | 微软公司 | Directory oplock |
| CN103631915A (en) * | 2013-11-29 | 2014-03-12 | 华为技术有限公司 | Hybrid system file data processing method and system |
| CN103631915B (en) * | 2013-11-29 | 2016-11-30 | 华为技术有限公司 | A kind of hybrid system file data processing method and system |
| CN104463010A (en) * | 2014-10-31 | 2015-03-25 | 华为技术有限公司 | File lock implementation method and device |
| WO2016065897A1 (en) * | 2014-10-31 | 2016-05-06 | 华为技术有限公司 | File lock implementation method and device |
| CN104463010B (en) * | 2014-10-31 | 2018-06-19 | 华为技术有限公司 | A kind of file lock implementation method and device |
| CN105897865B (en) * | 2016-03-29 | 2019-01-11 | 北京轻元科技有限公司 | Protocol-independent network file service management system and method |
| CN105897865A (en) * | 2016-03-29 | 2016-08-24 | 北京轻元科技有限公司 | Protocol-independent network file service management system and method |
| CN106095594A (en) * | 2016-06-01 | 2016-11-09 | 新浪网技术(中国)有限公司 | The method of a kind of resource process, Apparatus and system |
| CN106095594B (en) * | 2016-06-01 | 2019-09-27 | 新浪网技术(中国)有限公司 | A kind of method, apparatus and system of resource processing |
| CN119848844A (en) * | 2024-12-11 | 2025-04-18 | 安芯网盾(北京)科技有限公司 | Method and device for controlling scanning conflict of antivirus software of windows system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1154054C (en) | 2004-06-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN100338543C (en) | File access control in a multi-protocol file server | |
| CN1096166C (en) | Configurable password integrity servers for use in shared resource environment | |
| CN1110166C (en) | Propagating plain code word for multiple external registrations from one main registration | |
| CN1220953C (en) | Retrieving plain-text passwords from main registry by plurality of foreign registries | |
| CA2312492C (en) | Multi-protocol unified file-locking | |
| JP7402183B2 (en) | Small footprint endpoint data loss prevention (DLP) | |
| CN1154054C (en) | Multi-protocol unified file lockout | |
| CN1300654C (en) | Program and apparatus for blocking information leaks, and storage medium for the program | |
| RU2335796C2 (en) | File system controlled filter model and architecture | |
| US8239954B2 (en) | Access control based on program properties | |
| JP4769304B2 (en) | Operating system independent data management | |
| US8544096B2 (en) | On-access and on-demand distributed virus scanning | |
| US9589131B2 (en) | Method and computer device to control software file downloads | |
| CN1379339A (en) | Distribution type document system having no service apparatus | |
| CN1783038A (en) | Information leakage prevention method and apparatus and program for the same | |
| US20080256625A1 (en) | System and Method for Enhanced Layer of Security to Protect a File System from Malicious Programs | |
| US7308498B1 (en) | System and method for automating a request for access to a restricted computer accessible resource | |
| JP2001504968A (en) | Agent implementation locking mechanism | |
| CN1975678A (en) | Computer readable medium, information processing apparatus that executes program, and program control method for executing program | |
| US20070005961A1 (en) | Providing user on computer operating system with full privileges token and limited privileges token | |
| CN1856784A (en) | System and method for locking and isolation in a storage platform | |
| RU2491623C1 (en) | System and method of verifying trusted files | |
| US20090265353A1 (en) | Method and system for extending role based access control across network file systems | |
| CN1625125A (en) | Method for detecting system environment rule violation of client device | |
| CN1272715C (en) | Data processing system, processor and computer program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CP01 | Change in the name or title of a patent holder |
Address after: American California Patentee after: NETAPP incorporated company Address before: American California Patentee before: Network Appliance Inc. |
|
| CP01 | Change in the name or title of a patent holder | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20040616 Termination date: 20180604 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |