CN103078926B - The file access method of distributed memory system and device and system - Google Patents
The file access method of distributed memory system and device and system Download PDFInfo
- Publication number
- CN103078926B CN103078926B CN201210586446.8A CN201210586446A CN103078926B CN 103078926 B CN103078926 B CN 103078926B CN 201210586446 A CN201210586446 A CN 201210586446A CN 103078926 B CN103078926 B CN 103078926B
- Authority
- CN
- China
- Prior art keywords
- file
- access
- user
- flow control
- control entry
- 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.)
- Active
Links
Landscapes
- Storage Device Security (AREA)
Abstract
本发明实施例提供一种分布式存储系统的文件访问方法和装置以及系统。本发明分布式存储系统的文件访问方法,包括:接收用户发起的文件访问请求;根据所述文件访问请求,在所述文件对应的流控表项中查询所述用户的访问权限;根据查询到的访问权限执行所述文件的访问操作。本发明实施例解决了分布式系统中因流控技术控制粒度不够细导致某些用户独占资源,使得分布式系统利用率和吞吐量低的问题。
Embodiments of the present invention provide a file access method, device and system for a distributed storage system. The file access method of the distributed storage system of the present invention includes: receiving a file access request initiated by a user; according to the file access request, querying the user's access authority in the flow control entry corresponding to the file; according to the query access permissions to perform access operations on the file. The embodiment of the present invention solves the problem that some users monopolize resources in a distributed system due to insufficient control granularity of the flow control technology, resulting in low utilization rate and throughput of the distributed system.
Description
技术领域technical field
本发明实施例涉及通信技术,尤其涉及一种分布式存储系统的文件访问方法和装置以及系统。Embodiments of the present invention relate to communication technologies, and in particular to a file access method, device and system for a distributed storage system.
背景技术Background technique
随着计算机网络和信息技术的飞速发展,全球信息存储容量急剧增长,同时网络存储技术也在不断发展,使得分布式存储运用广泛,网络规模不断扩大,访问的节点越来越多,在容量和带宽增长的同时,用户数量也在快速的增长,但是访问用户的增多势必会增加系统的访问时延,对用户使用效果带来不好的影响,这样就使得流控技术成为在保证系统可用度的情况下,尽可能得为大多数用户服务的一种技术趋势。With the rapid development of computer network and information technology, the global information storage capacity has increased rapidly, and network storage technology is also developing continuously, which makes distributed storage widely used, network scale continues to expand, and more and more nodes are accessed. With the increase of bandwidth, the number of users is also increasing rapidly, but the increase of access users will inevitably increase the access delay of the system, which will have a bad impact on the user's use effect, which makes flow control technology an important factor in ensuring system availability. Under the circumstances, it is a technical trend to serve as many users as possible.
现有的流控技术中,通过实时监控系统中外部的访问情况以及系统中各存储节点的物理资源使用情况,自动调节存储节点的带宽资源来限制外部的一些请求,但是现有的流控技术只能通过控制系统中网络和硬件等资源的使用情况来限制外部的一些请求,使得经常会出现有些用户独占资源,分布式系统利用率和吞吐量低的问题。In the existing flow control technology, through real-time monitoring of external access in the system and the physical resource usage of each storage node in the system, the bandwidth resources of the storage nodes are automatically adjusted to limit some external requests, but the existing flow control technology Some external requests can only be limited by controlling the use of resources such as the network and hardware in the system, so that some users often monopolize resources, and the utilization rate and throughput of the distributed system are low.
发明内容Contents of the invention
本发明实施例提供一种分布式存储系统的文件访问方法和装置以及系统,以提高分布式存储系统的利用率和吞吐量。Embodiments of the present invention provide a file access method, device and system of a distributed storage system, so as to improve the utilization rate and throughput of the distributed storage system.
本发明实施例第一方面提供一种分布式存储系统的文件访问方法,包括:The first aspect of the embodiments of the present invention provides a method for accessing files in a distributed storage system, including:
接收用户发起的文件访问请求;Receive file access requests initiated by users;
根据所述文件访问请求,在所述文件对应的流控表项中查询所述用户的访问权限;According to the file access request, query the user's access authority in the flow control entry corresponding to the file;
根据查询到的访问权限执行所述文件的访问操作。Execute the file access operation according to the queried access authority.
结合第一方面,在第一方面的第一种可能的实施方式中,所述根据所述文件访问请求,在所述文件对应的流控表项中查询所述用户的访问权限,包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, the querying the user's access permission in the flow control entry corresponding to the file according to the file access request includes:
根据发起所述文件访问请求的用户,在所述文件对应的流控表项中查询所述用户的访问权限为允许访问或禁止访问;According to the user who initiates the file access request, query whether the user's access permission is allowed or prohibited in the flow control entry corresponding to the file;
根据所述文件访问请求的发起时间,在所述流控表项中查询所述用户的访问权限的访问时间。According to the initiation time of the file access request, the access time of the user's access right is queried in the flow control entry.
结合第一方面的第一种可能的实施方式,在第一方面的第二种可能的实施方式中,所述方法,还包括:With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the method further includes:
当接收到用户访问权限设置指令时,设置流控表项中为各用户设置的访问权限和访问时间。When receiving a user access right setting instruction, set the access right and access time set for each user in the flow control entry.
结合第一方面或第一方面的第一种可能的实施方式或第一方面的第二种可能的实施方式,在第一方面的第三种可能的实施方式中,在根据所述文件访问请求,在所述文件对应的流控表项中查询所述用户的访问权限之后,还包括:With reference to the first aspect or the first possible implementation manner of the first aspect or the second possible implementation manner of the first aspect, in the third possible implementation manner of the first aspect, according to the file access request , after querying the user's access rights in the flow control entry corresponding to the file, it also includes:
根据所述文件访问请求,在所述文件对应的流控表项中识别所述文件的访问模式为独占方式或共享方式;According to the file access request, identify in the flow control entry corresponding to the file that the file access mode is an exclusive mode or a shared mode;
则所述根据查询到的访问权限执行所述文件的访问操作包括:当识别到所述文件的访问模式为独占方式时,禁止所述用户访问所述文件;当识别到所述文件的访问模式为共享方式时,指示所述用户从其他存储位置访问所述文件。Then, performing the access operation of the file according to the queried access authority includes: prohibiting the user from accessing the file when it is identified that the access mode of the file is an exclusive mode; When sharing, instruct the user to access the file from another storage location.
结合第一方面的第三种可能的实施方式,在第一方面的第四种可能的实施方式中,在根据查询到的访问权限执行所述文件的访问操作之后,还包括:With reference to the third possible implementation manner of the first aspect, in the fourth possible implementation manner of the first aspect, after performing the file access operation according to the queried access authority, the method further includes:
根据所述文件访问请求的类型,设置所述文件在流控表项中的访问模式。Set the access mode of the file in the flow control entry according to the type of the file access request.
结合第一方面的第三种可能的实施方式,在第一方面的第五种可能的实施方式中,所述当识别到所述文件的访问模式为共享方式时,指示所述用户从其他存储位置访问所述文件包括:With reference to the third possible implementation manner of the first aspect, in the fifth possible implementation manner of the first aspect, when it is recognized that the access mode of the file is a sharing mode, instruct the user to save Locations to access the files include:
当识别到所述文件的访问模式为共享方式时,在所述流控表项中查询所述文件的重定向存储位置;When it is recognized that the access mode of the file is a sharing mode, query the redirected storage location of the file in the flow control entry;
从所述重定向存储位置执行所述用户对所述文件的访问操作。Execute the user's access operation on the file from the redirected storage location.
结合第一方面的第五种可能的实施方式,在第一方面的第六种可能的实施方式中,所述方法,还包括:With reference to the fifth possible implementation manner of the first aspect, in the sixth possible implementation manner of the first aspect, the method further includes:
根据文件在其他存储节点的分布信息确定其他存储位置;Determine other storage locations according to the distribution information of files on other storage nodes;
根据其他存储位置所在存储节点的负载情况选择重定向存储位置。Select the redirected storage location based on the load of the storage node where the other storage location is located.
结合第一方面,在第一方面的第七种可能的实施方式中,所述方法,还包括:With reference to the first aspect, in a seventh possible implementation manner of the first aspect, the method further includes:
监控所述流控表项的老化时间,当到达老化时间时,删除所述流控表项。The aging time of the flow control entry is monitored, and when the aging time is reached, the flow control entry is deleted.
本发明第二方面提供一种分布式存储系统的文件访问装置,包括:A second aspect of the present invention provides a file access device for a distributed storage system, including:
接收模块,用于接收用户发起的文件访问请求;A receiving module, configured to receive a file access request initiated by a user;
查询模块,用于根据所述文件访问请求,在所述文件对应的流控表项中查询所述用户的访问权限;A query module, configured to query the user's access rights in the flow control entry corresponding to the file according to the file access request;
处理模块,用于根据查询到的访问权限执行所述文件的访问操作。A processing module, configured to perform an access operation on the file according to the queried access authority.
结合第二方面,在第二方面的第一种可能的实施方式中,所述查询模块包括:With reference to the second aspect, in a first possible implementation manner of the second aspect, the query module includes:
权限查询单元,用于根据发起所述文件访问请求的用户,在所述文件对应的流控表项中查询所述用户的访问权限为允许访问或禁止访问;A permission query unit, configured to query whether the user's access permission is allowed or prohibited in the flow control entry corresponding to the file according to the user who initiated the file access request;
时间查询单元,用于根据所述文件访问请求的发起时间,在所述流控表项中查询所述用户的访问权限的访问时间。A time query unit, configured to query the access time of the user's access authority in the flow control entry according to the initiation time of the file access request.
结合第二方面的第一种可能的实施方式,在第二方面的第二种可能的实施方式中,所述装置,还包括:With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the device further includes:
设置模块,用于当接收到所述用户访问权限设置指令时,设置所述流控表项中为各用户设置的访问权限和访问时间。A setting module, configured to set the access authority and access time set for each user in the flow control entry when receiving the user access authority setting instruction.
结合第二方面或第二方面的第一种可能的实施方式或第二方面的第二种可能的实施方式,在第二方面的第三种可能的实施方式中,所述装置,还包括:In combination with the second aspect or the first possible implementation manner of the second aspect or the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the device further includes:
模式识别模块,用于在根据所述文件访问请求,在所述文件对应的流控表项中查询所述用户的访问权限之后,根据所述文件访问请求,在所述文件对应的流控表项中识别所述文件的访问模式为独占方式或共享方式;The pattern recognition module is configured to, after querying the user's access authority in the flow control table entry corresponding to the file according to the file access request, to search the flow control table corresponding to the file according to the file access request. The access mode of the file identified in the item is exclusive or shared;
则所述处理模块包括:Then the processing module includes:
独占禁止单元,用于当识别到所述文件的访问模式为独占方式时,禁止所述用户访问所述文件;an exclusive prohibition unit, configured to prohibit the user from accessing the file when it is identified that the file access mode is exclusive;
共享指示单元,用于当识别到所述文件的访问模式为共享方式时,指示所述用户从其他存储位置访问所述文件。A sharing instruction unit, configured to instruct the user to access the file from another storage location when it is identified that the file access mode is sharing.
结合第二方面的第三种可能的实施方式,在第二方面的第四种可能的实施方式中,所述装置,还包括:模式设置模块,用于在根据查询到的访问权限执行所述文件的访问操作之后,根据所述文件访问请求的类型,设置所述文件在流控表项中的访问模式。With reference to the third possible implementation manner of the second aspect, in the fourth possible implementation manner of the second aspect, the device further includes: a mode setting module, configured to perform the After the file access operation, according to the type of the file access request, the access mode of the file in the flow control entry is set.
结合第二方面的第四种可能的实施方式,在第二方面的第五种可能的实施方式中,所述共享指示单元,包括:With reference to the fourth possible implementation manner of the second aspect, in a fifth possible implementation manner of the second aspect, the sharing indication unit includes:
位置查询子单元,用于当识别到所述文件的访问模式为共享方式时,在所述流控表项中查询所述文件的重定向存储位置;A location query subunit, configured to query the redirected storage location of the file in the flow control entry when it is recognized that the file's access mode is shared;
重定向子单元,用于从所述重定向存储位置执行所述用户对所述文件的访问操作。The redirecting subunit is configured to perform the user's access operation on the file from the redirected storage location.
结合第二方面的第五种可能的实施方式,在第二方面的第六种可能的实施方式中,所述装置,还包括:With reference to the fifth possible implementation manner of the second aspect, in a sixth possible implementation manner of the second aspect, the device further includes:
位置确定模块,用于根据文件在其他存储节点的分布信息确定其他存储位置;A location determining module, configured to determine other storage locations according to distribution information of files in other storage nodes;
位置选择模块,用于根据所述其他存储位置所在存储节点的负载情况选择重定向存储位置。A location selection module, configured to select a redirected storage location according to the load condition of the storage node where the other storage locations are located.
结合第二方面,在第二方面的第七种可能的实施方式中,所述装置,还包括:With reference to the second aspect, in a seventh possible implementation manner of the second aspect, the device further includes:
监控模块,用于监控所述流控表项的老化时间,当到达老化时间时,删除所述流控表项。The monitoring module is configured to monitor the aging time of the flow control entry, and delete the flow control entry when the aging time is reached.
本发明第三方面提供一种分布式存储系统,包括至少两个存储节点,每个所述存储节点包括第二方面至第二方面的第七种可能的实施方式中任一项所述的分布式存储系统的文件访问装置。A third aspect of the present invention provides a distributed storage system, including at least two storage nodes, each of which includes the distributed storage system described in any one of the seventh possible implementation manners from the second aspect to the second aspect. A file access device for storage systems.
本实施例提供的方案中,通过文件对应的流控表项,以用户粒度来控制是否具有访问该文件的权限,通过这种文件流控的限制,使得分布式网络中对节点流量的控制粒度细化到发起访问请求的用户,解决了现有技术中因流控粒度大,造成某些用户独占资源,分布式系统的利用率低的问题。In the solution provided in this embodiment, through the flow control entry corresponding to the file, whether the user has the right to access the file is controlled at the granularity of the user. Through the limitation of the file flow control, the control granularity of the node flow in the distributed network is Refinement to the user who initiates the access request solves the problem in the prior art that due to the large flow control granularity, some users monopolize resources and the utilization rate of the distributed system is low.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1A为本发明提供的分布式存储系统的文件访问方法实施例一的流程示意图;FIG. 1A is a schematic flowchart of Embodiment 1 of the file access method of the distributed storage system provided by the present invention;
图1B本发明实施例所适用的分布式存储系统的架构示意图;FIG. 1B is a schematic diagram of a distributed storage system applicable to an embodiment of the present invention;
图2为本发明提供的分布式存储系统的文件访问方法实施例四的流程示意图;FIG. 2 is a schematic flowchart of Embodiment 4 of the file access method of the distributed storage system provided by the present invention;
图3为本发明提供的分布式存储系统的文件访问装置实施例七的结构示意图;3 is a schematic structural diagram of Embodiment 7 of the file access device of the distributed storage system provided by the present invention;
图4为本发明提供的分布式存储系统的文件访问装置实施例八的结构示意图;FIG. 4 is a schematic structural diagram of Embodiment 8 of the file access device of the distributed storage system provided by the present invention;
图5为本发明提供的分布式存储系统的文件访问装置实施例九的结构示意图。FIG. 5 is a schematic structural diagram of Embodiment 9 of the file access device of the distributed storage system provided by the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
图1A为本发明提供的分布式存储系统的文件访问方法实施例一的流程示意图。图1B为本发明实施例所适用的分布式存储系统的架构示意图,在分布式存储系统中,包括至少两个存储节点,每个文件可存储在一个或多个存储节点上,可单独存储一份,也可以备份存储在多个存储节点中。每个存储节点均可获知整个分布式存储系统中的文件分布位置。FIG. 1A is a schematic flowchart of Embodiment 1 of a file access method in a distributed storage system provided by the present invention. FIG. 1B is a schematic diagram of the architecture of a distributed storage system applicable to the embodiment of the present invention. In the distributed storage system, at least two storage nodes are included, each file can be stored on one or more storage nodes, and a file can be stored separately. Backups can also be stored in multiple storage nodes. Each storage node can learn the distribution location of files in the entire distributed storage system.
本实施例的方法由分布式存储系统的文件访问装置执行,该装置可以集成在存储节点中。本实施例的方法包括如下步骤:The method in this embodiment is executed by a file access device of a distributed storage system, and the device may be integrated in a storage node. The method of the present embodiment comprises the steps:
S101:接收用户发起的文件访问请求。S101: Receive a file access request initiated by a user.
S102:根据所述文件访问请求,在所述文件对应的流控表项中查询所述用户的访问权限。S102: According to the file access request, query the user's access permission in the flow control entry corresponding to the file.
具体的,用户向分布式系统的存储节点发送文件访问的请求,该存储节点接收用户发起的该文件访问的请求,并根据该请求,在上述文件对应的流控表项中查询该用户的是否具有访问该文件的权限。Specifically, the user sends a file access request to the storage node of the distributed system, and the storage node receives the file access request initiated by the user, and according to the request, inquires whether the user's has permission to access the file.
S103:根据查询到的访问权限执行所述文件的访问操作。S103: Execute the file access operation according to the queried access authority.
具体的,上述存储节点在查询到该用户具有访问文件的权限时,则执行该文件对应的相关访问操作,若该存储节点查询到该用户并不具有访问该文件的权限时,则可以返回一个结果给用户,告知该用户该存储节点上的文件禁止被该用户访问。Specifically, when the above-mentioned storage node inquires that the user has the permission to access the file, it executes the relevant access operation corresponding to the file; if the storage node inquires that the user does not have the permission to access the file, it can return a The result is given to the user, and the user is informed that the files on the storage node are prohibited from being accessed by the user.
本实施例提供的方法中,通过根据用户发起的文件访问的请求,在所访问的文件流控表项中查询该用户是否具有访问文件的权限,并根据所查询的访问文件权限的具体内容,执行相应的文件操作,通过文件对应的流控表项,来控制外部用户是否具有访问该节点上文件的权限,通过这种文件流控的限制,使得分布式网络中对节点流量的控制粒度细化到发起访问请求的用户,解决了现有技术中因流控粒度大,造成某些用户独占资源,分布式系统的利用率低的问题。In the method provided in this embodiment, according to the file access request initiated by the user, query whether the user has the permission to access the file in the accessed file flow control entry, and according to the specific content of the queried file access permission, Execute corresponding file operations, and control whether external users have access to files on the node through the flow control entries corresponding to the files. Through this file flow control restriction, the control granularity of node traffic in the distributed network is fine-grained. The user who initiates the access request solves the problem in the prior art that certain users monopolize resources and the utilization rate of the distributed system is low due to the large flow control granularity.
在本发明的实施例二中,在上述图1所示实施例的基础上,根据所述文件访问请求,在所述文件对应的流控表项中查询所述用户的访问权限优选的,可以为:根据发起上述文件访问请求的用户,在该文件对应的流控表项中查询该用户的访问权限为允许访问或禁止访问;并根据该文件访问请求的发起时间,在该流控表项中查询该用户的访问权限的访问时间。In Embodiment 2 of the present invention, on the basis of the above-mentioned embodiment shown in FIG. 1 , according to the file access request, it is preferable to query the user's access authority in the flow control entry corresponding to the file. It is: according to the user who initiates the above file access request, query the user's access permission in the flow control table item corresponding to the file to allow access or prohibit access; and according to the initiation time of the file access request, in the flow control table item Query the access time of the user's access rights in .
具体的,当分布式系统的存储节点接收用户发起的该文件访问的请求之后,根据发起该访问请求的用户,在该文件对应的流控表项中查询该用户是否具有访问权限,以及可进一步识别访问权限的内容,例如,访问权限可以为允许访问或禁止访问。流控表项中还可包括该访问权限的访问时间。Specifically, after the storage node of the distributed system receives the file access request initiated by the user, according to the user who initiated the access request, query whether the user has access rights in the flow control entry corresponding to the file, and further Content that identifies access rights, which can be, for example, allow access or deny access. The access time of the access right may also be included in the flow control entry.
访问权限和访问时间的表示形式可以有多种,例如该文件对应的流控表项中包含了用户标识、禁止位以及时间信息,该用户标识用于表示该用户,禁止位标识允许(Allow)或者禁止(Deny)访问该文件,流控表项中的时间信息,用于指示上述用户标识对应的用户在时间信息所指定的时间里允许或者禁止访问该文件。时间信息的形式多样,例如规定该访问权限的开始执行时间,或规定开始执行的时间段等。There are many ways to express the access rights and access time. For example, the flow control entry corresponding to the file contains user ID, prohibition bit and time information. The user ID is used to represent the user, and the prohibition bit indicates permission Or prohibit (Deny) from accessing the file, and the time information in the flow control entry is used to indicate that the user corresponding to the above user identifier allows or prohibits access to the file within the time specified by the time information. The time information can be in various forms, for example, specifying the start execution time of the access right, or specifying the start execution time period, etc.
本实施例提供的方法中,通过根据用户发起的文件访问的请求,在所访问的文件流控表项中通过查询流控表项中的用户标识、时间信息以及禁止位的值,确定该发起文件访问请求的用户是否具有访问文件的权限,通过这种文件流控的限制,使得分布式网络中对节点流量的控制粒度细化到发起访问请求的用户,解决了现有技术中因流控粒度大,造成某些用户独占资源,分布式系统的利用率低的问题。In the method provided in this embodiment, according to the file access request initiated by the user, in the accessed file flow control entry, by querying the user ID, time information and the value of the prohibition bit in the flow control entry, the file access request initiated by the user is determined. Whether the user of the file access request has the right to access the file, through this file flow control restriction, the control granularity of the node flow in the distributed network is refined to the user who initiates the access request, which solves the problem of flow control in the prior art. Large granularity causes certain users to monopolize resources and the utilization rate of distributed systems is low.
在本发明的实施例三中,在上述实施例一以及实施例二的基础上,根据所述文件访问请求,在所述文件对应的流控表项中查询所述用户的访问权限优选的,还可以为:当接收到用户访问权限设置指令时,设置流控表项中为各用户设置的访问权限和访问时间。In Embodiment 3 of the present invention, on the basis of Embodiment 1 and Embodiment 2 above, according to the file access request, it is preferable to query the user's access authority in the flow control entry corresponding to the file, It may also be: when a user access right setting instruction is received, set the access right and access time set for each user in the flow control entry.
具体的,用户的访问权限和访问时间可以通过用户访问权限设置指令在任意时刻进行设置。通常是分布式存储系统根据需要进行设置。可以是针对某一个特定用户进行设置,也可以是对一组用户进行权限设置,还可以是对满足某个特定条件的所有用户进行统一的权限设置。Specifically, the user's access authority and access time can be set at any time through the user access authority setting instruction. Usually a distributed storage system is set up as needed. It can be set for a specific user, or it can be set for a group of users, or it can be set for all users who meet a certain condition.
例如,可以由管理员向存储节点发送用户访问权限设置指令,该存储节点接收管理员发送的用户访问权限设置指令时,在流控表项中为各访问该存储节点的文件的用户设置访问权限和访问时间,通过设置流控表项里的访问权限和访问时间,对外部发起访问文件的用户进行流控。若在管理员向该存储节点发送用户访问权限设置指令时,该存储节点已经有用户在请求访问文件,则该存储节点直接对该用户进行允许访问文件的操作,直接打开文件;若在管理员向该存储节点发送用户访问权限设置指令之后,该存储节点的文件的流控表项已经设置完成,用户向该存储节点发送文件访问请求,则当该存储节点接收到外部用户发起的访问文件的请求时,即需要通过查询该设置之后的文件流控表项,通过文件流控表项中的用户标识、禁止位和时间信息,判断当前发起访问文件请求的用户的访问权限和访问时间。For example, the administrator may send a user access permission setting instruction to the storage node, and when the storage node receives the user access permission setting instruction sent by the administrator, set the access permission in the flow control entry for each user accessing the file of the storage node And access time, by setting the access rights and access time in the flow control entry, the flow control is performed on the external users who initiate access to the file. If when the administrator sends the user access permission setting instruction to the storage node, the storage node already has a user requesting to access the file, then the storage node directly performs the operation of allowing the user to access the file and directly opens the file; if the administrator After sending the user access permission setting instruction to the storage node, the file flow control entry of the storage node has been set, and the user sends a file access request to the storage node, when the storage node receives the file access request initiated by the external user When requesting, you need to query the file flow control entry after this setting, and judge the access authority and access time of the user who currently requests to access the file through the user ID, prohibition bit, and time information in the file flow control entry.
对流控表项中用户访问权限的设置,不仅可以由人工手动设置,也可以由存储系统按照设定的配置策略自动进行设置。例如,存储节点记录文件访问历史信息,对经常独占访问某个文件的用户,设置其访问权限为禁止访问。本发明对配置策略并不做限制。The setting of user access rights in the traffic control table items can not only be set manually, but also can be set automatically by the storage system according to the set configuration policy. For example, the storage node records file access history information, and for users who often exclusively access a file, set their access permissions to prohibit access. The present invention does not limit the configuration strategy.
本实施例提供的方法中,通过向存储节点发送用户访问权限设置指令,存储节点接收该指令后,根据该指令设置流控表项中各用户的访问权限和访问时间,对外部发起访问文件请求的用户进行流控,即外部用户在访问该存储节点时就需要通过查询该流控表项来获知当前是否具有访问该存储节点的文件的权限,通过这种文件流控的限制,使得分布式网络中对节点流量的控制粒度细化到发起访问请求的用户,解决了现有技术中因流控粒度大,造成某些用户独占资源,分布式系统的利用率低的问题。In the method provided in this embodiment, by sending a user access permission setting instruction to the storage node, after receiving the instruction, the storage node sets the access permission and access time of each user in the flow control entry according to the instruction, and initiates an external file access request The user performs flow control, that is, when the external user accesses the storage node, he needs to query the flow control entry to know whether he currently has the permission to access the file of the storage node. Through this file flow control restriction, the distributed The control granularity of node traffic in the network is refined to the user who initiates the access request, which solves the problem in the prior art that certain users monopolize resources and the utilization rate of the distributed system is low due to the large flow control granularity.
图2为本发明提供的分布式存储系统的文件访问方法实施例四的流程示意图。该方法由分布式存储系统的文件访问装置执行,该装置可以集成在存储节点中。本实施例的方法包括如下步骤:FIG. 2 is a schematic flowchart of Embodiment 4 of the file access method of the distributed storage system provided by the present invention. The method is executed by a file access device of a distributed storage system, and the device can be integrated in a storage node. The method of the present embodiment comprises the steps:
S201:接收用户发起的文件访问请求。S201: Receive a file access request initiated by a user.
S202:根据文件访问请求,在该文件对应的流控表项中查询该用户的访问权限为允许访问或禁止访问,若为禁止访问,则结束此次访问请求,若为允许访问,则继续执行后续步骤。或者,也可以不指示访问权限为禁止或允许,而根据后续文件的访问模式决定是否可访问。S202: According to the file access request, query the user's access permission in the flow control entry corresponding to the file to allow access or prohibit access, if access is prohibited, end the access request, and if access is allowed, continue to execute next steps. Alternatively, it is also possible not to indicate that the access permission is prohibited or permitted, but to determine whether it is accessible according to the access mode of the subsequent file.
S203:根据该文件访问请求,在该文件对应的流控表项中识别该文件的访问模式为独占方式或共享方式;若识别该文件的访问模式为独占模式,则执行步骤204;若识别该文件的访问模式为共享模式,则执行步骤205。S203: According to the file access request, identify the access mode of the file in the flow control entry corresponding to the file as the exclusive mode or the sharing mode; if the access mode of the file is identified as the exclusive mode, perform step 204; If the access mode of the file is the sharing mode, step 205 is performed.
S204:禁止该用户访问该文件,结束此次访问请求。S204: Prohibit the user from accessing the file, and end the access request.
S205:指示该用户从其他存储位置访问该文件。S205: Instruct the user to access the file from another storage location.
具体的指示方式可以向用户返回通知,告知其可以再发送访问请求,从其他位置访问,也可以进一步告知用户该文件的其它副本的存储位置。或者,可将此访问请求直接重定向到其他存储位置。The specific instruction method may return a notification to the user, informing him that he can send an access request to access from another location, and may further inform the user of the storage location of other copies of the file. Alternatively, this access request can be redirected directly to another storage location.
具体的,该存储节点根据当前的文件访问请求,查询到当前发起文件访问请求的用户允许访问该文件,则该存储节点根据该文件访问请求,在该文件对应的流控表项中识别所述文件的访问模式为独占方式或共享方式。其中,独占方式为在一个时刻仅允许一个用户访问该文件,共享方式为允许同一时刻有多个用户访问该文件的多个副本。例如,写文件操作一般为独占方式,读文件一般为共享方式。当然,也可以由其他因素决定该文件采用哪种方式访问。Specifically, according to the current file access request, the storage node finds that the user who currently initiates the file access request is allowed to access the file, then the storage node identifies the file in the flow control entry corresponding to the file according to the file access request. The access mode of the file is exclusive or shared. Among them, the exclusive mode is to allow only one user to access the file at a time, and the shared mode is to allow multiple users to access multiple copies of the file at the same time. For example, the operation of writing a file is generally an exclusive mode, and the operation of reading a file is generally a shared mode. Of course, other factors may also determine which way the file is accessed.
在本实施例中,以文件的访问模式进一步精细化控制用户的文件访问。在访问过程中,在根据查询到的访问权限执行所述文件的访问操作之后,还可以包括:In this embodiment, the user's file access is further finely controlled based on the file access mode. During the access process, after performing the file access operation according to the queried access authority, it may also include:
S206:根据该文件访问请求的类型,设置该文件在流控表项中的访问模式。S206: Set the access mode of the file in the flow control entry according to the type of the file access request.
例如,当文件访问请求为读请求时,设置文件在流控表项中的访问模式为共享方式,当文件访问请求为写请求时,设置在流控表项中的访问模式为独占方式。设置为独占方式的文件,在该用户访问结束之前将不能被其他用户访问,当该用户访问结束后,可更改其访问模式为共享方式。For example, when the file access request is a read request, the access mode of the file in the flow control entry is set as a shared mode, and when the file access request is a write request, the access mode set in the flow control entry is an exclusive mode. Files set as exclusive mode cannot be accessed by other users until the user's access is over. After the user's access is over, the access mode can be changed to shared mode.
当然,访问模式也可以有其它配置方式,例如由管理员通过指令来配置。本发明对此不限制。Of course, the access mode may also be configured in other ways, for example, configured by the administrator through instructions. The present invention is not limited to this.
S207:监控该流控表项的老化时间,当到达老化时间时,删除该流控表项。S207: Monitor the aging time of the flow control entry, and delete the flow control entry when the aging time is reached.
进一步地,在执行上述操作时该存储节点会实时监控该文件流控表项的老化时间,当流控表项中的流控信息到达老化时间,则删除当前的流控表项,取消该节点对文件的流控。Further, when performing the above operations, the storage node will monitor the aging time of the file flow control entry in real time, and when the flow control information in the flow control entry reaches the aging time, the current flow control entry will be deleted and the node will be cancelled. Flow control over files.
本实施例的方法还通过根据用户访问文件请求的类型设置文件访问模式,在文件访问模式为共享模式时,指示访问当前存储节点的下一个用户从文件的其他存储位置访问该文件,通过将用户的访问请求分担到其他存储节点上的网络负载分担的方式,提高了用户的响应时间,也有效的提高了分布式系统的利用率。The method of this embodiment also sets the file access mode according to the type of user access file request, and when the file access mode is a sharing mode, instructs the next user who accesses the current storage node to access the file from other storage locations of the file, and the user The access requests are shared to other storage nodes in a network load sharing manner, which improves the response time of users and effectively improves the utilization rate of the distributed system.
进一步地,在本发明的实施例五中,在上述实施例四的基础上,指示该用户从其他存储位置访问该文件优选的,可以为:当识别到该文件的访问模式为共享方式时,在上述流控表项中查询该文件的重定向存储位置;从该重定向存储位置执行该用户对该文件的访问操作。Further, in Embodiment 5 of the present invention, on the basis of Embodiment 4 above, instructing the user to access the file from other storage locations may preferably be: when it is recognized that the access mode of the file is sharing, Query the redirected storage location of the file in the above flow control entry; execute the user's access operation to the file from the redirected storage location.
具体的,当该存储节点识别到该文件的访问模式为共享模式时,在上述文件流控表项中查询该文件的重定向存储位置。该文件流控表项中还包括了当前文件存储在其他节点的位置信息,则该存储节点通过查询该文件流控表项中当前访问文件的其他存储位置,将该用户访问该文件的请求重定向到该文件的其他存储位置上。更具体的,当该存储节点将该用户访问该文件的请求重定向到该文件的其他存储位置上之后,从文件的其他存储位置上访问该文件。Specifically, when the storage node recognizes that the access mode of the file is the sharing mode, it queries the redirected storage location of the file in the file flow control entry. The file flow control entry also includes the location information of the current file stored on other nodes, then the storage node will repeat the user's request to access the file by querying other storage locations of the currently accessed file in the file flow control entry. to another storage location for the file. More specifically, after the storage node redirects the user's request to access the file to other storage locations of the file, the file is accessed from other storage locations of the file.
在本发明的实施例六中,在上述实施例四和实施例五的基础上,指示该用户从其他存储位置访问该文件优选的,还可以为:根据文件在其他存储节点的分布信息确定其他存储位置;根据其他存储位置所在存储节点的负载情况选择重定向存储位置;从上述重定向存储位置执行该用户对该文件的访问操作。In Embodiment 6 of the present invention, on the basis of Embodiment 4 and Embodiment 5 above, it is preferable to instruct the user to access the file from other storage locations. storage location; select a redirected storage location according to the load condition of the storage node where other storage locations are located; perform the user's access operation on the file from the above redirected storage location.
具体的,当该存储节点识别到该文件的访问模式为共享模式时,在上述文件流控表项中查询该文件的重定向存储位置,进一步地,该文件流控表项中还包括了当前文件存储在其他节点的位置信息,该存储节点的文件在创建时,文件的其他存储位置是当前存储节点所预知的,则当前的存储节点根据文件的其他存储位置所在存储节点的负载情况选择重定向存储位置,即根据文件的其他存储位置所在存储节点用户的访问情况,决定将当前存储节点的当前用户的访问请求定向到负载较轻的文件存储的某一个节点上,从而在重定向的节点上执行该用户对该文件的访问操作。Specifically, when the storage node recognizes that the access mode of the file is the sharing mode, it queries the redirected storage location of the file in the above-mentioned file flow control entry, and further, the file flow control entry also includes the current The location information of the file stored in other nodes. When the file of the storage node is created, the other storage location of the file is predicted by the current storage node. Directed storage location, that is, according to the access situation of the storage node user where the other storage location of the file is located, it is decided to direct the access request of the current user of the current storage node to a node with a lighter load file storage, so that the redirected node Execute the user's access operation on the file.
上述技术方案中,由于存储节点可获知文件的分布信息,所以可从多个存储位置中为用户选择可获取此文件的位置,将访问请求直接重定向到该存储位置的存储节点,以供用户访问,而不必由用户重新发起访问请求,减少了信息交互资源的占用。In the above technical solution, since the storage node can know the distribution information of the file, it can select a location for the user to obtain the file from multiple storage locations, and directly redirect the access request to the storage node of the storage location for the user to Access without re-initiating access requests by users, reducing the occupation of information interaction resources.
若当前存储节点将当前用户的访问请求定向到负载较轻的文件存储的某一个存储节点上,进而在重定向的存储节点上执行该用户对该文件的访问操作,可以与前述执行的过程相同,在重定向的存储节点上根据该文件的流控表项进行流控。If the current storage node directs the current user's access request to a certain storage node of the file storage with a lighter load, and then executes the user's access operation on the file on the redirected storage node, it can be the same as the aforementioned execution process , and perform flow control on the redirected storage node according to the flow control entry of the file.
具体为:重定向的存储节点接收用户发起的访问文件的请求,并根据文件的访问请求,在该文件对应的流控表项中查询该用户的访问权限,若重定向的存储节点的文件流控表项中没有该用户的流控信息,则该重定向的存储节点直接打开该用户所访问的文件,以使用户执行相应的操作,之后,将该用户的流控信息记录到该文件的流控表项中,以使该重定向的存储节点对下一个访问该节点的用户进行流控;若重定向的存储节点的文件流控表项中有该用户的流控信息,则重定向的存储节点会识别当前所访问文件的文件访问模式为独占方式或共享方式,若识别该文件的访问模式为独占模式,则重定向的存储节点仍会返回禁止访问当前文件的结果给用户;若识别该文件的访问模式为共享模式,则重定向的存储节点会如上一个存储节点的处理方式一样,将该用户访问该文件的请求重定向到另外一个文件的存储节点上,进一步地,在执行上述操作时该存储节点会实时监控该文件流控表项的老化时间,当流控表项中的流控信息到达老化时间,则删除当前的流控表项,取消该节点对文件的流控。具体的实施方式参见上述实施例二。Specifically: the redirected storage node receives the file access request initiated by the user, and according to the file access request, queries the user's access permission in the flow control entry corresponding to the file, if the file flow of the redirected storage node If there is no flow control information of the user in the control table item, the redirected storage node directly opens the file accessed by the user so that the user can perform the corresponding operation, and then records the flow control information of the user to the In the flow control entry, so that the redirected storage node performs flow control on the next user who accesses the node; if the file flow control entry of the redirected storage node contains the flow control information of the user, the redirect The storage node will recognize that the file access mode of the currently accessed file is exclusive or shared. If the access mode of the file is identified as the exclusive mode, the redirected storage node will still return the result of prohibiting access to the current file to the user; if If the access mode of the file is identified as shared mode, the redirected storage node will redirect the user's request to access the file to another file storage node in the same way as the previous storage node. Further, when executing During the above operations, the storage node will monitor the aging time of the file flow control entry in real time. When the flow control information in the flow control entry reaches the aging time, the current flow control entry will be deleted, and the node’s flow control on the file will be canceled. . For a specific implementation manner, refer to the second embodiment above.
本实施例的方法在文件访问模式为共享模式时,指示访问当前存储节点的下一个用户从文件的其他存储位置访问该文件,通过将用户的访问请求分担到其他存储节点上的网络负载分担的方式,提高了用户的响应时间,也有效的提高了分布式系统的利用率。In the method of this embodiment, when the file access mode is the sharing mode, instruct the next user who accesses the current storage node to access the file from other storage locations of the file, and share the user's access request to the network load sharing on other storage nodes. This method improves the user's response time and effectively improves the utilization rate of the distributed system.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by program instructions and related hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
图3为本发明提供的分布式存储系统的文件访问装置实施例七的结构示意图,该装置包括:接收模块31、查询模块32以及处理模块33,其中,接收模块31,用于接收用户发起的文件访问请求;查询模块32,用于根据所述文件访问请求,在文件对应的流控表项中查询所述用户的访问权限;处理模块33,用于根据查询到的访问权限执行所述文件的访问操作。FIG. 3 is a schematic structural diagram of Embodiment 7 of the file access device of the distributed storage system provided by the present invention. The device includes: a receiving module 31, a query module 32, and a processing module 33, wherein the receiving module 31 is used to receive user-initiated File access request; query module 32, for querying the user's access authority in the flow control entry corresponding to the file according to the file access request; processing module 33, for executing the file according to the queried access authority access operations.
本实施例的文件访问装置可以执行图1所示方法实施例,其实现原理和技术效果类似,此处不再赘述。The file access device in this embodiment can execute the method embodiment shown in FIG. 1 , and its implementation principles and technical effects are similar, and will not be repeated here.
图4为本发明提供的分布式存储系统的文件访问装置实施例八的结构示意图,在图3所示实施例的基础上,上述查询模块32包括:权限查询单元320,用于根据发起所述文件访问请求的用户,在文件对应的流控表项中查询所述用户的访问权限为允许访问或禁止访问;时间查询单元321,用于根据所述文件访问请求的发起时间,在所述流控表项中查询所述用户的访问权限的访问时间。则在图3所示实施例的基础上,该装置还包括:设置模块34,用于当接收到用户访问权限设置指令时,设置流控表项中为各用户设置的访问权限和访问时间。。FIG. 4 is a schematic structural diagram of Embodiment 8 of a file access device in a distributed storage system provided by the present invention. On the basis of the embodiment shown in FIG. 3 , the query module 32 includes: a permission query unit 320 for The user of the file access request queries the user's access authority in the flow control table item corresponding to the file to allow access or prohibit access; the time query unit 321 is used to, according to the initiation time of the file access request, in the flow Query the access time of the user's access rights in the control table item. Then, on the basis of the embodiment shown in FIG. 3 , the device further includes: a setting module 34 configured to set the access rights and access time set for each user in the flow control entry when a user access right setting instruction is received. .
本实施例的文件访问装置可以执行方法实施例二和方法实施例三,其实现原理和技术效果类似,此处不再赘述。The file access device in this embodiment can execute method embodiment 2 and method embodiment 3, and their implementation principles and technical effects are similar, and will not be repeated here.
进一步地,在上述图4所示实施例的基础上,上述处理模块还可以包括独占禁止单元330和共享指示单元331,其中,独占禁止单元330,用于当识别到所述文件的访问模式为独占方式时,禁止所述用户访问所述文件;共享指示单元331,用于当识别到所述文件的访问模式为共享方式时,指示所述用户从其他存储位置访问所述文件。则在上述图4所示实施例的基础上,该装置还可以包括模式识别模块35,用于在根据所述文件访问请求,在所述文件对应的流控表项中查询所述用户的访问权限之后,根据所述文件访问请求,在文件对应的流控表项中识别所述文件的访问模式为独占方式或共享方式。Further, on the basis of the above-mentioned embodiment shown in FIG. 4 , the above-mentioned processing module may further include an exclusive prohibition unit 330 and a sharing instruction unit 331, wherein the exclusive prohibition unit 330 is configured to recognize that the access mode of the file is In the exclusive mode, the user is prohibited from accessing the file; the sharing instruction unit 331 is configured to instruct the user to access the file from other storage locations when it is recognized that the file access mode is a sharing mode. Then, on the basis of the above-mentioned embodiment shown in FIG. 4 , the device may also include a pattern recognition module 35 for querying the user's access information in the flow control entry corresponding to the file according to the file access request. After authorization, according to the file access request, identify the file access mode in the flow control entry corresponding to the file as the exclusive mode or the shared mode.
本实施例的文件访问装置可以执行方法实施例二和方法实施例三,其实现原理和技术效果类似,此处不再赘述。The file access device in this embodiment can execute method embodiment 2 and method embodiment 3, and their implementation principles and technical effects are similar, and will not be repeated here.
图5为本发明提供的分布式存储系统的文件访问装置实施例九的结构示意图,在图3和图4所示实施例的基础上,上述共享指示单元还可以包括:位置查询子单元401和重定向子单元402,其中,位置查询子单元401,用于当识别到所述文件的访问模式为共享方式时,在所述流控表项中查询所述文件的重定向存储位置;重定向子单元402,用于从所述重定向存储位置执行所述用户对所述文件的访问操作,则上述装置还可以包括模式设置模块,用于在根据查询到的访问权限执行所述文件的访问操作之后,根据所述文件访问请求的类型,设置所述文件在流控表项中的访问模式。Fig. 5 is a schematic structural diagram of Embodiment 9 of the file access device of the distributed storage system provided by the present invention. On the basis of the embodiments shown in Fig. 3 and Fig. 4, the above-mentioned sharing instruction unit may further include: a location query subunit 401 and The redirection subunit 402, wherein the location query subunit 401 is configured to query the redirected storage location of the file in the flow control entry when it is recognized that the access mode of the file is a shared mode; The subunit 402 is configured to execute the user's access operation to the file from the redirected storage location, and the above-mentioned device may further include a mode setting module, configured to execute the file access according to the queried access authority After the operation, according to the type of the file access request, the access mode of the file in the flow control entry is set.
本实施例的文件访问装置可以执行方法实施例四至方法实施例六,其实现原理和技术效果类似,此处不再赘述。The file access device in this embodiment can execute method embodiment 4 to method embodiment 6, and their implementation principles and technical effects are similar, and will not be repeated here.
进一步地,在上述图5所示实施例的基础上,该装置还可以包括:位置确定模块和位置选择模块,其中,位置确定模块,用于根据文件在其他存储节点的分布信息确定其他存储位置;位置选择模块,用于根据所述其他存储位置所在存储节点的负载情况选择重定向存储位置。还可以包括监控模块,用于监控所述流控表项的老化时间,当到达老化时间时,删除所述流控表项。Further, on the basis of the above-mentioned embodiment shown in FIG. 5 , the device may further include: a location determination module and a location selection module, wherein the location determination module is used to determine other storage locations according to the distribution information of files in other storage nodes ; A location selection module, configured to select a redirected storage location according to the load condition of the storage node where the other storage locations are located. It may also include a monitoring module, configured to monitor the aging time of the flow control entry, and delete the flow control entry when the aging time is reached.
本实施例的文件访问装置可以执行方法实施例四至方法实施例六,其实现原理和技术效果类似,此处不再赘述。The file access device in this embodiment can execute method embodiment 4 to method embodiment 6, and their implementation principles and technical effects are similar, and will not be repeated here.
在本发明提供的分布式存储系统实施例中,该分布式存储系统包括至少两个存储节点,每个存储节点包括上述实施例所示的分布式系统的文件访问装置,具体实施方式及技术效果在此不再赘述。In the embodiment of the distributed storage system provided by the present invention, the distributed storage system includes at least two storage nodes, and each storage node includes the file access device of the distributed system shown in the above embodiment, specific implementation methods and technical effects I won't repeat them here.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210586446.8A CN103078926B (en) | 2012-12-28 | 2012-12-28 | The file access method of distributed memory system and device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210586446.8A CN103078926B (en) | 2012-12-28 | 2012-12-28 | The file access method of distributed memory system and device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103078926A CN103078926A (en) | 2013-05-01 |
CN103078926B true CN103078926B (en) | 2016-03-30 |
Family
ID=48155328
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210586446.8A Active CN103078926B (en) | 2012-12-28 | 2012-12-28 | The file access method of distributed memory system and device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103078926B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105072415A (en) * | 2015-08-24 | 2015-11-18 | 国网上海市电力公司 | A substation video surveillance method using distributed storage and unified server management |
CN112989401A (en) * | 2019-12-13 | 2021-06-18 | 北京金山云网络技术有限公司 | Authority management method and device, electronic equipment and storage medium |
US12192205B2 (en) * | 2022-06-24 | 2025-01-07 | Microsoft Technology Licensing, Llc | Utilizing probability data structures to improve access control of documents across geographic regions |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1633084A (en) * | 2004-12-28 | 2005-06-29 | 北京邮电大学 | Token-based fine-grained access control system and method for application server |
CN1996955A (en) * | 2006-12-15 | 2007-07-11 | 华为技术有限公司 | Access method for user data and management server for user archive |
CN101568919A (en) * | 2005-07-12 | 2009-10-28 | 微软公司 | Single view of data in a networked computer system with distributed storage |
CN102118376A (en) * | 2010-01-06 | 2011-07-06 | 中兴通讯股份有限公司 | CDN server and content download method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8296398B2 (en) * | 2008-04-29 | 2012-10-23 | Overland Storage, Inc. | Peer-to-peer redundant file server system and methods |
-
2012
- 2012-12-28 CN CN201210586446.8A patent/CN103078926B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1633084A (en) * | 2004-12-28 | 2005-06-29 | 北京邮电大学 | Token-based fine-grained access control system and method for application server |
CN101568919A (en) * | 2005-07-12 | 2009-10-28 | 微软公司 | Single view of data in a networked computer system with distributed storage |
CN1996955A (en) * | 2006-12-15 | 2007-07-11 | 华为技术有限公司 | Access method for user data and management server for user archive |
CN102118376A (en) * | 2010-01-06 | 2011-07-06 | 中兴通讯股份有限公司 | CDN server and content download method |
Also Published As
Publication number | Publication date |
---|---|
CN103078926A (en) | 2013-05-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9882975B2 (en) | Method and apparatus for buffering and obtaining resources, resource buffering system | |
US8429666B2 (en) | Computing platform with resource constraint negotiation | |
WO2019192103A1 (en) | Concurrent access control method and apparatus, terminal device, and medium | |
CN105579977B (en) | Method, device and storage system for accessing files | |
US20140164544A1 (en) | Enabling a computing device to utilize another computing device | |
US11768706B2 (en) | Method, storage medium storing instructions, and apparatus for implementing hardware resource allocation according to user-requested resource quantity | |
WO2020156135A1 (en) | Method and device for processing access control policy and computer-readable storage medium | |
CN105718474B (en) | Method and device for controlling concurrent operations of MySQL database | |
US11394748B2 (en) | Authentication method for anonymous account and server | |
CN103078926B (en) | The file access method of distributed memory system and device and system | |
WO2017121240A1 (en) | Resource access control method, device and system | |
CN107678859A (en) | A kind of file access method based on CAP mechanism, device and equipment | |
EP2478443A2 (en) | System and method for determining true computer file type identity | |
US20110035499A1 (en) | Discontinuous access management method using waiting ticket for resource allocation control, waiting ticket management method, and resource allocation control method | |
CN105573470A (en) | Method and device for closing GPS positioning request of background program according to access time | |
US20110113474A1 (en) | Network system security managment | |
US10445289B1 (en) | Method and apparatus for automatic cleanup of disfavored content | |
KR101072612B1 (en) | Wating number ticket management method | |
US8621557B2 (en) | Information processing system judging whether manipulation is possible or not based on access control policy and method of operation thereof | |
US9781130B1 (en) | Managing policies | |
JP5673294B2 (en) | Communication management device | |
KR102134905B1 (en) | Method and Apparatus for Processing Data Using Non-Volatile Memory | |
JP2016224709A (en) | File management system, file management method, and file management program | |
US20100287564A1 (en) | Providing Access Control For a Destination in a Messaging System | |
CN107944297B (en) | A control method and device for accessing files |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220606 Address after: No. 1899 Xiyuan Avenue, high tech Zone (West District), Chengdu, Sichuan 610041 Patentee after: Chengdu Huawei Technologies Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
TR01 | Transfer of patent right |