CN102594852A - Data access method, node and system - Google Patents
Data access method, node and system Download PDFInfo
- Publication number
- CN102594852A CN102594852A CN2011100050990A CN201110005099A CN102594852A CN 102594852 A CN102594852 A CN 102594852A CN 2011100050990 A CN2011100050990 A CN 2011100050990A CN 201110005099 A CN201110005099 A CN 201110005099A CN 102594852 A CN102594852 A CN 102594852A
- Authority
- CN
- China
- Prior art keywords
- data
- node
- blocks
- storage
- memory node
- 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
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明公开了一种数据访问方法、装置及系统,其中,该方法包括:接收包含块编号标识的访问请求;预建立的本地块单元根据块编号标识查找本地块单元的块编号与提供存储服务的存储节点资源信息的对应关系,获得块编号标识对应的存储节点位置以及块数据标识;本地块单元根据块编号标识对应的存储节点位置以及块数据标识,向存储节点发送块数据访问请求;其中,存储节点资源信息包括提供存储服务的存储节点位置信息及存储节点的块数据标识。本发明可以解决现有分布式文件系统每次访问需要通过元数据服务器进行寻址,元数据服务器成为系统的瓶颈,访问效率低的缺陷。
The invention discloses a data access method, device and system, wherein the method includes: receiving an access request including a block number identifier; a pre-established local block unit searches for the block number of the local block unit according to the block number identifier and provides The corresponding relationship of the storage node resource information of the storage service obtains the location of the storage node corresponding to the block number identification and the block data identification; the local block unit sends the block data access to the storage node according to the storage node location and the block data identification corresponding to the block number identification request; wherein, the storage node resource information includes the location information of the storage node providing the storage service and the block data identifier of the storage node. The present invention can solve the defect that each access of the existing distributed file system needs to be addressed through the metadata server, the metadata server becomes the bottleneck of the system, and the access efficiency is low.
Description
技术领域 technical field
本发明涉及通信领域中数据业务技术,具体地,涉及数据访问方法、节点及系统。The present invention relates to data service technology in the communication field, in particular, to a data access method, node and system.
背景技术 Background technique
数据存储系统最常用的使用方式是文件系统,例如,图1中文件系统通过路径名,如/home/myname/novel/novell.txt访问文件,路径名处于一个命名空间中,路径处于一个树状空间中,树状空间表征一定的逻辑关系,对用户比较友好。数据库系统是另一类存储系统的使用方式,它不依赖于文件系统路径来体现逻辑关系,以“表”或其他结构来表征逻辑,如图1中数据库系统以“表”表征逻辑。The most commonly used method of data storage system is the file system. For example, the file system in Figure 1 accesses files through path names, such as /home/myname/novel/novell.txt. The path name is in a namespace, and the path is in a tree In the space, the tree-like space represents a certain logical relationship, which is more user-friendly. The database system is another way of using the storage system. It does not rely on the path of the file system to reflect the logical relationship, and uses "tables" or other structures to represent the logic. In Figure 1, the database system uses "tables" to represent the logic.
如图1,所有需要随机访问的数据存储系统(文件系统和数据库系统)的底层均构建于块设备之上。所谓块设备,是可以通过指定一个块编号,来访问设备中的一个指定区域,块的编号可以在一个很大的寻址空间内进行随机寻址,但是块编号本身没有逻辑含义,用户需要借助上层的文件系统或数据库系统等有用户逻辑的系统。As shown in Figure 1, the bottom layers of all data storage systems (file systems and database systems) that require random access are built on block devices. The so-called block device can access a specified area in the device by specifying a block number. The block number can be randomly addressed in a large addressing space, but the block number itself has no logical meaning. Users need to use A system with user logic such as the upper file system or database system.
文件系统的访问具有更好的逻辑结构,但是块访问可以支持各种文件系统和其他存储系统,如数据库系统,灵活性更高。针对图1的文件读写流程如图2和图3所示,读写均由客户端发起,送到文件系统层,文件系统客户对应用提供了文件打开、定位、读写等操作接口,成功的文件打开操作会返回一个文件的描述符,该描述符为序号或指针,对应用来说是唯一的表征要操作文件的标识,对应用程序的文件访问操作,文件系统层要分一次或多次去块设备访问一些块来读取信息或写入数据。有些块中存储着管理和组织文件用的元数据,有些块存储着用户数据,不同的文件系统实现采用不同的方式来存放和读取这些块,文件系统转化为的多个块操作,送达块设备层,最终到达磁盘进行操作,这里省略了缓存等优化措施。使用块设备服务的客户端以磁盘等形式获得一块存储区域,通过小型计算机系统接口(SCSI)或先进技术附件接口(ATA)块操作指令来存放、读取、更新以及删除存储块。一般使用者会在磁盘上建立文件系统来使用。File system access has a better logical structure, but block access can support various file systems and other storage systems, such as database systems, with greater flexibility. The file reading and writing process in Figure 1 is shown in Figure 2 and Figure 3. Both reading and writing are initiated by the client and sent to the file system layer. The file system client provides the application with operation interfaces such as file opening, positioning, and reading and writing. The file open operation will return a file descriptor, which is a serial number or a pointer, which is a unique identifier for the application to represent the file to be operated. For the file access operation of the application, the file system layer needs to be divided into one or more A deblocking device accesses some blocks at a time to read information or write data. Some blocks store metadata for managing and organizing files, and some blocks store user data. Different file system implementations use different methods to store and read these blocks. The file system translates into multiple block operations. The block device layer finally reaches the disk for operation, and optimization measures such as caching are omitted here. The client using the block device service obtains a storage area in the form of a disk, etc., and stores, reads, updates, and deletes storage blocks through Small Computer System Interface (SCSI) or Advanced Technology Attachment Interface (ATA) block operation instructions. Generally, users will create a file system on the disk for use.
随着云计算的发展,存储系统的挑战是容量和成本,既需要大容量的存储空间,又需要降低存储系统的成本。面对这种需求,需要使用大量的普通服务器构建大容量的存储系统,图1-图3的块访问不适于分布式访问。With the development of cloud computing, the challenges of storage systems are capacity and cost, which requires both large-capacity storage space and lower storage system costs. Faced with this requirement, a large number of ordinary servers need to be used to build a large-capacity storage system, and the block access shown in Figures 1-3 is not suitable for distributed access.
上述图1-图3为通过文件系统或数据系统访问块设备,下面的图4-6为针对云计算的大容量低成本需求提供的一种并行网络文件系统(pNFS),即用户以文件系统接口的方式访问pNFS元数据服务器获取元数据,然后再从分布存储的设备(文件存储服务器)以块接口或文件系统接口访问数据,以利用分布化的资源提高系统的可扩展性和性能。其他如LustreFS等分布式文件系统也都使用了类似的架构。The above Figures 1-3 are for accessing block devices through the file system or data system. The following Figures 4-6 are a parallel network file system (pNFS) provided for the large-capacity and low-cost requirements of cloud computing, that is, the user uses the file system Access the pNFS metadata server through the interface to obtain metadata, and then access the data from the distributed storage device (file storage server) through the block interface or file system interface, so as to improve the scalability and performance of the system by using distributed resources. Other distributed file systems such as LustreFS also use a similar architecture.
在图4中,元数据服务器的文件系统层存储文件描述符和数据位置信息(块编号)的对应表,其中,图4的分布式系统中,不是特别强调块的概念,数据位置信息需有文件存储节点信息和端口号,用户根据数据位置信息去访问对应的文件存储节点,文件存储节点根据文件名或块ID找到文件或数据块,图5和图6为图4所示系统对应的读写访问控制流程图。In Fig. 4, the file system layer of the metadata server stores the corresponding table of file descriptors and data location information (block numbers). In the distributed system in Fig. 4, the concept of blocks is not particularly emphasized, and the data location information needs to have The file storage node information and port number, the user accesses the corresponding file storage node according to the data location information, and the file storage node finds the file or data block according to the file name or block ID. Write access control flowchart.
图5和图6中分布式文件系统的客户端采用与图1-图3的文件系统不同的操作,它可以感知文件系统的分布式,并至少有元数据服务器的访问方式,关于文件创建、打开、关闭等操作,都是通过元数据服务器进行的操作,它承担的功能基本可以类比本机文件系统的文件系统层,两者之间是通过网络传送的操作消息。如图5,客户应用以文件系统接口方式向元数据服务器发送文件打开访问请求,元数据服务器的文件系统根据访问请求中的文件描述符找到对应的数据位置信息,并返回客户应用,客户应用即可根据数据位置信息读取对应的文件存储节点。如图6,客户应用以文件系统接口方式向元数据服务器发送创建文件请求,元数据服务器的文件系统创建对应的文件描述符,当客户应用写操作访问时,根据写操作访问中文件描述符分配指定的存储空间返回客户应用,分配空间时包括指定存储节点及数据描述标识。客户应用根据指定分配空间找到对应的存储节点,并对文件存储节点进行写入操作。The client of the distributed file system in Figure 5 and Figure 6 adopts different operations from the file system in Figure 1-3, it can perceive the distribution of the file system, and at least has the access method of the metadata server, regarding file creation, Operations such as opening and closing are all performed through the metadata server. The functions it undertakes can basically be compared to the file system layer of the local file system, and the operation messages are transmitted through the network between the two. As shown in Figure 5, the client application sends a file open access request to the metadata server through the file system interface. The file system of the metadata server finds the corresponding data location information according to the file descriptor in the access request and returns the information to the client application. The client application immediately The corresponding file storage node can be read according to the data location information. As shown in Figure 6, the client application sends a file creation request to the metadata server through the file system interface, and the file system of the metadata server creates a corresponding file descriptor. The specified storage space is returned to the client application, and the specified storage node and data description identifier are included when the space is allocated. The client application finds the corresponding storage node according to the specified allocated space, and writes to the file storage node.
元数据服务器节点在分配空间或返回数据位置信息时,会指定用户数据的存储节点,和数据的描述标识,其中数据描述标识通常是一个数据位置的地址或者是数据编号。具体的用户数据读写操作是发生在存储节点上的,这些具体的分块的数据类似于单机文件系统的块,但在不同的实现中可能是存储节点上的一些文件或某些集中块存储设备上的块。When the metadata server node allocates space or returns data location information, it specifies the storage node for user data and the data description identifier, where the data description identifier is usually an address of a data location or a data number. The specific user data read and write operations occur on the storage node. These specific block data are similar to the blocks of the stand-alone file system, but in different implementations, they may be some files on the storage node or some centralized block storage. block on the device.
在实现本发明过程中,发明人发现现有分布式文件系统每次访问需要一次或多次通过元数据服务器进行寻址,然后访问存储节点,元数据服务器成为系统的瓶颈。In the process of implementing the present invention, the inventors found that each access of the existing distributed file system needs to be addressed through the metadata server one or more times, and then access the storage nodes, and the metadata server becomes the bottleneck of the system.
发明内容 Contents of the invention
本发明的第一目的是提出一种数据访问方法,以减少现有技术通过元数据服务器寻址的访问开销。The first purpose of the present invention is to propose a data access method to reduce the access overhead of the prior art through metadata server addressing.
本发明的第二目的是提出一种客户节点,以减少现有技术通过元数据服务器寻址的访问开销。The second object of the present invention is to propose a client node to reduce the access overhead of addressing through the metadata server in the prior art.
本发明的第三目的是提出一种存储控制节点,以减少现有技术通过元数据服务器寻址的访问开销。The third object of the present invention is to propose a storage control node, so as to reduce the access overhead of addressing through the metadata server in the prior art.
本发明的第四目的是提出一种数据存储系统,以实现提高访问效率。The fourth object of the present invention is to propose a data storage system to improve access efficiency.
为实现上述第一目的,根据本发明的一个方面,提供了一种数据访问方法,包括:接收包含块编号标识的访问请求;In order to achieve the first purpose above, according to one aspect of the present invention, a data access method is provided, including: receiving an access request including a block number identifier;
预建立的本地块单元根据块编号标识查找本地块单元的块编号与提供存储服务的存储节点资源信息的对应关系,获得块编号标识对应的存储节点位置以及块数据标识;The pre-established local block unit searches for the corresponding relationship between the block number of the local block unit and the resource information of the storage node providing the storage service according to the block number identifier, and obtains the storage node location corresponding to the block number identifier and the block data identifier;
本地块单元根据块编号标识对应的存储节点位置以及块数据标识,向存储节点发送块数据访问请求;The local block unit sends a block data access request to the storage node according to the location of the corresponding storage node identified by the block number and the block data identifier;
其中,存储节点资源信息包括提供存储服务的存储节点位置信息及存储节点的块数据标识。Wherein, the storage node resource information includes the location information of the storage node providing the storage service and the block data identifier of the storage node.
优选地,接收包含块编号标识的访问请求之前还可以包括:向控制节点发送包含存储容量大小的块数据开通请求;接收控制节点根据存储节点的存储资源状态信息和/或发送块数据开通请求的客户节点位置信息,分配存储容量大小对应的存储节点资源信息;根据存储节点资源信息建立本地块设备单元。Preferably, before receiving the access request containing the block number identification, it may also include: sending a block data opening request containing the storage capacity to the control node; Customer node location information, allocation of storage node resource information corresponding to the size of the storage capacity; establishment of a local block device unit based on the storage node resource information.
优选地,接收包含块编号标识的访问请求之前还可以包括:通过块设备接口接收直接的包含块编号标识的访问请求和/或通过文件/数据库系统接口接收文件名/表数据访问请求,解析文件名或表数据对应的块编号标识。Preferably, before receiving the access request containing the block number identification, it may also include: receiving a direct access request containing the block number identification through the block device interface and/or receiving the file name/table data access request through the file/database system interface, and parsing the file Name or the block number identifier corresponding to the table data.
优选地。本地块单元为提供分布式存储服务的虚拟本地块设备驱动或者为提供应用服务的虚拟机。Preferably. The local block unit is a virtual local block device driver that provides distributed storage services or a virtual machine that provides application services.
为实现上述第二目的,根据本发明的另一个方面,提供了一种客户节点,包括:一至多个本地块单元,其中,本地块单元包括:接口模块,用于接收包含块编号标识的访问请求;存储模块,用于存储本地块单元的块编号与提供存储服务的存储节点资源信息的对应关系;存储节点资源信息包括提供存储服务的存储节点信息、存储节点的块数据标识;处理模块,用于根据块编号标识查找存储单元,获得块编号标识对应的存储节点位置以及块数据标识,通过接口模块向存储节点发送块数据访问请求。In order to achieve the above-mentioned second purpose, according to another aspect of the present invention, a client node is provided, including: one or more local block units, wherein the local block unit includes: an interface module, used to receive access request; the storage module is used to store the corresponding relationship between the block number of the local block unit and the resource information of the storage node providing the storage service; the resource information of the storage node includes the information of the storage node providing the storage service and the block data identification of the storage node; The processing module is used to search the storage unit according to the block ID, obtain the location of the storage node corresponding to the block ID and the block data ID, and send a block data access request to the storage node through the interface module.
为实现上述第三目的,根据本发明的另一个方面,提供了一种存储控制节点,包括:接口模块,用于接收块数据开通/释放请求;In order to achieve the above third objective, according to another aspect of the present invention, a storage control node is provided, including: an interface module, configured to receive a block data activation/release request;
控制模块,用于根据一至多个存储节点的存储资源状态信息和/或接收的块数据开通请求的客户节点位置信息,分配对应的存储节点资源信息;或者根据块数据释放请求释放对应的存储节点资源信息;The control module is configured to allocate corresponding storage node resource information according to the storage resource status information of one or more storage nodes and/or the received client node location information of the block data activation request; or release the corresponding storage node according to the block data release request resource information;
存储模块,用于存储一至多个存储节点已分配的存储节点资源信息;A storage module, configured to store resource information of storage nodes allocated by one or more storage nodes;
其中,存储节点资源信息包括存储节点信息及存储节点的块数据标识。Wherein, the storage node resource information includes storage node information and a block data identifier of the storage node.
为实现上述第四目的,根据本发明的另一个方面,提供了一种数据存储系统,包括第二目的的客户节点以及第三目的的存储控制节点。To achieve the above fourth objective, according to another aspect of the present invention, a data storage system is provided, including a second-purpose client node and a third-purpose storage control node.
本发明各实施例的数据访问方法、装置和系统,由于提供更底层的本地块单元,由本地块单元存储块编号与预先分配的存储节点资源信息的对应关系,因此在进行数据访问时,不需要通过现有技术中的元数据服务器等进行寻址,因此不存在性能瓶颈,可以大大减少访问开销,提高了访问效率。The data access method, device, and system of each embodiment of the present invention provide a lower-level local block unit, and the local block unit stores the corresponding relationship between the block number and the pre-allocated storage node resource information. Therefore, when performing data access, It does not need to be addressed through the metadata server in the prior art, so there is no performance bottleneck, the access overhead can be greatly reduced, and the access efficiency is improved.
本发明还有些实施例在使用时可以自己根据应用选择直接使用块设备接口或创建自己的文件系统接口访问本地块单元,因此具有更好的系统可扩展性。本发明中的本地块单元可以应用到虚拟机,用户只能访问分配的存储资源,对于公共服务的多租户隔离能力更强,安全性更高。Some embodiments of the present invention can directly use the block device interface or create its own file system interface to access the local block unit according to the application, so it has better system scalability. The local block unit in the present invention can be applied to a virtual machine, and users can only access allocated storage resources, and the multi-tenant isolation capability for public services is stronger and the security is higher.
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments.
附图说明 Description of drawings
附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例一起用于解释本发明,并不构成对本发明的限制。在附图中:The accompanying drawings are used to provide a further understanding of the present invention, and constitute a part of the description, and are used together with the embodiments of the present invention to explain the present invention, and do not constitute a limitation to the present invention. In the attached picture:
图1为根据现有技术中的块设备和文件系统、数据库系统的逻辑关系图;Fig. 1 is according to the block device in the prior art and file system, the logical relationship diagram of database system;
图2为针对图1的读访问操作流程图;Fig. 2 is the flow chart of read access operation for Fig. 1;
图3为针对图1的写访问操作流程图;Fig. 3 is a flow chart of the write access operation for Fig. 1;
图4为根据现有技术中的并行网络文件系统(pNFS)的逻辑关系图;Fig. 4 is a logic diagram according to the parallel network file system (pNFS) in the prior art;
图5为针对图4的读访问操作流程图;Fig. 5 is the flow chart of read access operation for Fig. 4;
图6为针对图4的写访问操作流程图;Fig. 6 is a flow chart of the write access operation for Fig. 4;
图7为根据本发明数据访问方法实施例一流程图;FIG. 7 is a flowchart of Embodiment 1 of a data access method according to the present invention;
图8为根据本发明数据访问方法实施例二流程图;FIG. 8 is a flow chart of Embodiment 2 of the data access method according to the present invention;
图9为根据本发明数据访问方法的解析示意图,以及本发明的数据存储系统结构示意图;FIG. 9 is a schematic diagram of the analysis of the data access method according to the present invention, and a schematic structural diagram of the data storage system of the present invention;
图10为针对图9的数据资源申请开通/释放流程示意图;FIG. 10 is a schematic diagram of the data resource application opening/release process for FIG. 9;
图11为本发明数据访问方法中访问过程实施例示意图;Fig. 11 is a schematic diagram of an embodiment of the access process in the data access method of the present invention;
图12为针对图11的读访问操作流程图;Fig. 12 is a flow chart of the read access operation for Fig. 11;
图13为针对图11的写访问操作流程图;Fig. 13 is a flow chart of the write access operation for Fig. 11;
图14为根据本发明存储控制装置实施例示意图;Fig. 14 is a schematic diagram of an embodiment of a storage control device according to the present invention;
图15为根据本发明客户节点实施例示意图。Fig. 15 is a schematic diagram of an embodiment of a client node according to the present invention.
具体实施方式 Detailed ways
以下结合附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.
方法实施例method embodiment
图7为根据本发明数据访问方法实施例一流程图,如图7所示,本实施例包括:FIG. 7 is a flow chart of Embodiment 1 of the data access method according to the present invention. As shown in FIG. 7, this embodiment includes:
步骤S102:接收包含块编号标识的访问请求;Step S102: receiving an access request including a block number identifier;
步骤S104:预建立的本地块单元根据块编号标识查找本地块单元的块编号与提供存储服务的存储节点资源信息的对应关系,获得块编号标识对应的存储节点位置以及块数据标识;其中,存储节点资源信息包括提供存储服务的存储节点位置信息及该存储节点的块数据标识;Step S104: The pre-established local block unit searches for the corresponding relationship between the block number of the local block unit and the resource information of the storage node providing the storage service according to the block number identifier, and obtains the storage node location corresponding to the block number identifier and the block data identifier; where , the storage node resource information includes the location information of the storage node providing the storage service and the block data identifier of the storage node;
本实施例中的本地块单元可以通过向一控制节点申请块数据,从而获得能提供服务器的存储节点资源信息,并预先根据申请的块数据建立一个本地块单元,如提供分布式存储服务的虚拟本地块设备驱动提供给应用程序使用,应用程序根据该单元可以进行后续的数据访问;The local block unit in this embodiment can obtain the storage node resource information that can provide the server by applying for block data from a control node, and establish a local block unit in advance based on the applied block data, such as providing distributed storage services The virtual local block device driver is provided to the application program, and the application program can perform subsequent data access according to the unit;
步骤S106:本地块单元根据块编号标识对应的存储节点位置以及块数据标识,向该存储节点发送块数据访问请求。Step S106: The local block unit sends a block data access request to the storage node according to the location of the storage node identified by the block number and the block data identifier.
由于本地块单元存储有一至多个存储节点资源信息,则可以根据各存储资源信息中的存储节点位置和块数据标识进行数据访问,存储节点也可以根据块数据标识区分来自不同客户节点的访问,具体可参见后续的图9实施例。本实施例由于提供更底层的本地块单元,由本地块单元存储块编号与预先分配的存储节点资源信息的对应关系,因此在进行数据访问时,不需要通过现有技术中的元数据服务器等进行寻址,因此不存在性能瓶颈,可以大大减少访问开销,提高了访问效率。Since the local block unit stores one or more storage node resource information, data access can be performed according to the storage node location and block data identifier in each storage resource information, and the storage node can also distinguish access from different client nodes according to the block data identifier. For details, refer to the subsequent embodiment in FIG. 9 . Since this embodiment provides a lower-level local block unit, which stores the corresponding relationship between the block number and the pre-allocated storage node resource information, it does not need to pass through the metadata server in the prior art when performing data access. etc. for addressing, so there is no performance bottleneck, which can greatly reduce access overhead and improve access efficiency.
图8为根据本发明数据访问方法实施例二流程图,如图8所示,本实施例包括:FIG. 8 is a flow chart of Embodiment 2 of the data access method according to the present invention. As shown in FIG. 8, this embodiment includes:
步骤S202:如图9所示,客户节点向控制节点发送包含存储容量大小的块数据开通/释放请求;Step S202: As shown in Figure 9, the client node sends a block data activation/release request including the size of the storage capacity to the control node;
步骤S204:存储控制节点(也称管理节点或控制节点)监控各存储节点的资源使用状态,根据客户节点申请的分配空间,以及各存储节点的资源状态信息,分配给客户节点一至多个存储节点的资源,包括存储节点位置信息(地址/端口号)、块数据标识等;Step S204: The storage control node (also called management node or control node) monitors the resource usage status of each storage node, and allocates one or more storage nodes to the client node according to the allocated space requested by the client node and the resource status information of each storage node Resources, including storage node location information (address/port number), block data identification, etc.;
管理节点还可以进一步根据发送该请求的客户节点的位置,分配较近的存储节点资源信息给客户节点;The management node can further assign the resource information of the storage node closer to the client node according to the location of the client node sending the request;
管理节点也可以结合客户节点位置以及存储节点的资源状态,分配一至多个存储节点资源给客户节点;The management node can also allocate one or more storage node resources to the client node in combination with the location of the client node and the resource status of the storage node;
步骤S206:客户节点获取存储节点资源信息;Step S206: the client node acquires storage node resource information;
步骤S208:根据存储节点资源信息创建为一个本地块设备驱动;Step S208: Create a local block device driver according to the storage node resource information;
步骤S210:客户节点可以直接通过标准的块设备接口访问指令对本地块设备驱动访问,并映射成对存储节点的访问;还可以自己创建文件系统或数据库系统,并通过文件系统接口或者数据库系统接口将文件名或表数据进行解析,获得本地块设备驱动对应的块编号标识,进一步由本地块设备驱动映射成对某个存储节点的访问。Step S210: The client node can directly access the local block device driver through the standard block device interface access command, and map it to access to the storage node; it can also create a file system or database system by itself, and use the file system interface or database system interface The file name or table data is parsed to obtain the block number identification corresponding to the local block device driver, which is further mapped into an access to a certain storage node by the local block device driver.
本实施例综合了集中式访问和分布式访问的优点,能访问到块数据且访问容量大,客户节点通过控制节点获得的分配空间并对应增加本地块设备驱动,用户在使用时可以根据应用选择直接使用块设备或创建自己的本地文件系统,因此具有更好的系统可扩展性。本实施例采用增加的本地块设备驱动,不用到元数据服务器中查找,因此不存在性能瓶颈。本实施例还可以应用到虚拟机,用户只能访问分配的存储资源,对于公共服务的多租户隔离能力更强,安全性更高。This embodiment combines the advantages of centralized access and distributed access. It can access block data and has a large access capacity. The client node obtains the allocation space through the control node and correspondingly increases the local block device driver. Users can use it according to the application Choose to use block devices directly or create your own local file system, so you have better system scalability. This embodiment adopts the added local block device driver, and does not need to search in the metadata server, so there is no performance bottleneck. This embodiment can also be applied to virtual machines, users can only access allocated storage resources, and the multi-tenant isolation capability for public services is stronger and the security is higher.
图9为根据本发明数据访问方法的解析示意图,以及本发明的数据存储系统结构示意图。FIG. 9 is a schematic diagram of the analysis of the data access method according to the present invention, and a schematic structural diagram of the data storage system of the present invention.
如图9所示的数据存储系统包括存储控制节点和客户节点,控制节点是逻辑上的集中管理节点,对外提供一个可以用于申请、释放块数据的接口,并可以进行全局的、集中的、可靠的管理控制,提供与客户节点的应用接口,控制各存储节点的存储资源状态;存储节点(也可以称为服务节点),主要用于进行具体的块数据的分配和提供存储服务,当控制节点将某个存储节点的存储资源分配给客户节点后,存储节点可以不经过控制节点直接将该节点上的存储资源提供给用户使用。The data storage system shown in Figure 9 includes a storage control node and a client node. The control node is a logical centralized management node, which provides an interface for applying for and releasing block data, and can perform global, centralized, Reliable management and control, providing an application interface with client nodes, and controlling the storage resource status of each storage node; storage nodes (also called service nodes) are mainly used to allocate specific block data and provide storage services. After the node allocates the storage resource of a storage node to the client node, the storage node can directly provide the storage resource on the node to the user without going through the control node.
如图9,物理部署上,控制节点不一定是一个单一的或独立的节点,可以是一个集群,甚至复用部分存储节点,位于存储节点内执行存储管理控制的功能。而存储节点对应于每一个提供块设备服务的拥有磁盘空间的物理服务器。控制节点接收并处理用户申请、释放块设备、调整块设备大小的操作;存储节点存储用户数据,执行数据块的增加、删除、获取、修改等操作。As shown in Figure 9, in terms of physical deployment, the control node is not necessarily a single or independent node, but can be a cluster, or even reuse some storage nodes, which are located in the storage nodes to perform storage management and control functions. The storage node corresponds to each physical server with disk space that provides block device services. The control node receives and processes user applications, releases block devices, and adjusts the size of block devices; the storage node stores user data and performs operations such as adding, deleting, obtaining, and modifying data blocks.
下面通过图10-13对数据分配、访问过程进行详细说明。The data allocation and access process will be described in detail below with reference to Figures 10-13.
图10为针对图9的数据资源申请开通/释放流程示意图,如图10所示,数据存储资源申请/释放流程发生在客户节点和控制节点之间,包括:Figure 10 is a schematic diagram of the data resource application opening/release process for Figure 9, as shown in Figure 10, the data storage resource application/release process occurs between the client node and the control node, including:
步骤1:客户节点可以申请指定大小的块设备,如向控制节点发送包含指定存储容量的块数据开通请求;Step 1: The client node can apply for a block device of a specified size, such as sending a block data activation request with a specified storage capacity to the control node;
步骤2:控制节点接收到开通请求之前会检查各存储节点的可用空间以及有效状态等资源使用情况,可以主动监测或各存储节点上报;Step 2: Before the control node receives the activation request, it will check the resource usage such as the available space and effective status of each storage node, which can be actively monitored or reported by each storage node;
步骤3:控制节点由于已经存储各节点的资源使用情况,根据存储节点的存储资源状态以及客户节点的位置、请求的存储容量空间大小等信息,在存储节点上分配空间,将分配的存储空间提供给客户节点使用,为了达到高可用性,控制节点可以分配多个存储节点的资源给同一个客户作为冗余。为了避免后续空间被占用,控制节点可以在分配后预先发送存储节点,使其预留相应的空间大小;Step 3: Since the control node has stored the resource usage of each node, it allocates space on the storage node according to the storage resource status of the storage node, the location of the customer node, and the size of the requested storage capacity space, and provides the allocated storage space to For customer nodes, in order to achieve high availability, the control node can allocate resources of multiple storage nodes to the same customer as redundancy. In order to avoid the subsequent space being occupied, the control node can send the storage node in advance after allocation to reserve the corresponding space size;
如客户节点请求2G的空间,管理节点根据各存储节点资源使用情况,分配:If the client node requests 2G space, the management node allocates according to the resource usage of each storage node:
存储节点1,端口号5,分配块数据标识lv0(对应存储节点1上的块数据1-10000);Storage node 1, port number 5, allocated block data identifier lv0 (corresponding to block data 1-10000 on storage node 1);
存储节点2,端口号4,分配块数据标识lv1(对应存储节点2上的数据2000-12000);...Storage node 2, port number 4, allocation block data identifier lv1 (corresponding to data 2000-12000 on storage node 2);...
具体分配时可以根据情况分配多个冗余的存储节点给同一个客户节点。In the specific allocation, multiple redundant storage nodes can be allocated to the same client node according to the situation.
步骤4:控制节点将分配后的存储节点资源信息发送给客户节点,并且控制节点存储已分配给该客户节点的存储节点资源信息,例如存储节点标识、位置信息、空间大小、块数据区域标识等等;Step 4: The control node sends the allocated storage node resource information to the client node, and the control node stores the storage node resource information allocated to the client node, such as storage node ID, location information, space size, block data area ID, etc. wait;
步骤5:客户节点根据返回的结果,包括存储节点地址、指定的具体服务的存储区域的标识,例如步骤3中分配的块数据对应的区域标识lv0、lv1等,依据这些信息,服务的存储节点可以区分来自不同客户节点的访问,客户节点随后将这些存储节点的资源信息建立一个本地块设备驱动提供给应用程序使用,至此申请流程完成。控制节点管理每个存储节点确定可以存储的空间大小。Step 5: According to the returned results, the client node includes the address of the storage node and the identification of the storage area specified for the specific service, such as the area identification lv0, lv1, etc. corresponding to the block data allocated in step 3. Based on these information, the storage node of the service Accesses from different client nodes can be distinguished, and the client node then builds a local block device driver for the resource information of these storage nodes and provides it to the application program, and the application process is completed. The control node manages each storage node to determine the size of the space that can be stored.
本实施例仅以申请流程为例说明,具体地,在客户节点主动发起释放流程之前,这些存储资源对于用户来说始终是可以使用的。释放流程与申请类似,不再举例说明。This embodiment only uses the application process as an example to illustrate, specifically, before the client node actively initiates the release process, these storage resources are always available to the user. The release process is similar to the application, so no examples are given here.
图10构建成的本地块设备使用的架构如图11所示。在图9和图10申请开通了存储资源后,后续的资源的使用流程,如读和写等只发生在客户节点和提供服务的存储节点(服务节点)之间,与现有技术必须每次到元数据服务器中查找块设备所在的位置不同,本实施例不存在性能瓶颈。Figure 11 shows the architecture used by the local block device constructed in Figure 10 . After the storage resource is applied for in Figure 9 and Figure 10, the subsequent resource usage process, such as reading and writing, only occurs between the client node and the storage node (service node) that provides the service, which is different from the existing technology that must Depending on where the block device is located in the metadata server, there is no performance bottleneck in this embodiment.
如图8实施例所描述的,图11中,客户节点在建立本地块单元后可以作为本地一块设备驱动,提供给应用程序使用,并可以直接对该本地块设备通过标准的块设备接口进行块编号访问或者通过创建文件系统、数据库系统等进行文件访问,因此具有更好的系统可扩展性。其中图11的本地块单元与上层之间可以是标准的块设备接口。本地块设备接收到块访问指令后可以进行排队等处理以提高访问效率,具体可参见后续图12,处理后的块访问指令由本地块单元映射为对应的存储节点访问,并发送到对应的存储节点。As described in the embodiment of Figure 8, in Figure 11, after the client node establishes a local block unit, it can be used as a local block device driver, provided to the application program, and can directly pass the standard block device interface to the local block device For block number access or file access by creating a file system, database system, etc., it has better system scalability. A standard block device interface can be used between the local block unit in FIG. 11 and the upper layer. After the local block device receives the block access command, it can perform queuing and other processing to improve the access efficiency. For details, refer to the following figure 12. The processed block access command is mapped by the local block unit to the corresponding storage node access and sent to the corresponding Storage nodes.
本实施例采用增加的本地块设备驱动进行映射访问,可以应用到虚拟机技术,如图11所示的系统可以为大云弹性计算服务的虚拟机提供可以永久存储、具有高可用性的块设备服务。This embodiment uses the added local block device driver for mapping access, which can be applied to virtual machine technology. The system shown in Figure 11 can provide a block device with permanent storage and high availability for the virtual machine of the big cloud elastic computing service. Serve.
现有技术中分布式文件系统的方式用户可以看到全局的其他资源,安全性和可靠性存在隐患。本发明提供的数据存储访问服务,用户只能访问分配的存储资源,无法看到全局的其他的存储资源状态,对于公共服务的多租户隔离能力更强,安全性和可靠性更高。In the way of distributed file system in the prior art, users can see other global resources, and there are hidden dangers in security and reliability. In the data storage access service provided by the present invention, users can only access allocated storage resources, and cannot see the status of other global storage resources. The multi-tenant isolation capability for public services is stronger, and the security and reliability are higher.
现有技术虚拟机使用情况下,每个客户端虚拟机都只有一个磁盘,这个磁盘实际来自于“虚拟机镜像”文件,运行着客户操作系统,当虚拟机被实例销毁之后,所有存在磁盘上的数据就都不存在了。本发明提供数据存储服务后,虚拟机可以有若干个映射的本地块设备来使用,本发明提供的本地块设备与虚拟机镜像是独立的,与客户端实际运行的操作系统没有关系,即使虚拟机销毁后也会存在,并可以通过管理节点重新获得该块设备被用户的其他的虚拟机使用,甚至一个本地块设备可以被多个虚拟机同时使用,极大提高了服务质量。服务的本地块设备安装在提供虚拟机服务的主机(Host)或服务器上,将这个块设备直接提供给用户指定的虚拟机使用,虚拟机本身不需要任何变化、不需要安装驱动,就可以使用这个“本地”磁盘。本发明各实施例分配给用户的本地块设备可以允许用户充分自主定制,具有更好的灵活性。In the use of virtual machines in the prior art, each client virtual machine has only one disk. This disk actually comes from the "virtual machine image" file and runs the guest operating system. When the virtual machine is destroyed by the instance, all disks stored on the disk data no longer exists. After the present invention provides data storage services, the virtual machine can have several mapped local block devices to use. The local block device provided by the present invention is independent of the virtual machine image and has nothing to do with the actual operating system of the client. Even after the virtual machine is destroyed, it will still exist, and the block device can be re-acquired by the management node to be used by other virtual machines of the user. Even a local block device can be used by multiple virtual machines at the same time, which greatly improves the quality of service. The local block device of the service is installed on the host (Host) or server that provides the virtual machine service, and this block device is directly provided to the virtual machine specified by the user for use. The virtual machine itself does not need any changes or drivers to be installed. Use this "local" disk. The local block device allocated to the user by each embodiment of the present invention can allow the user to fully customize independently, and has better flexibility.
对于图11中如果客户节点对本地块单元不创建文件系统或数据库系统,直接进行块数据访问,则根据块编号标识根据本地块单元存储的块编号与存储节点资源信息的对应关系,映射为对某存储节点的块数据的访问,并返回访问结果,过程比较简单,在此不画图举例说明。For Figure 11, if the client node does not create a file system or database system for the local block unit and directly accesses the block data, then according to the corresponding relationship between the block number stored in the local block unit and the storage node resource information according to the block number identification, the mapping is as follows: The process of accessing the block data of a certain storage node and returning the access result is relatively simple, so we will not draw an example here.
为了与现有技术中的集中式和分布式文件系统访问进行对比,下面通过图12、图13中使用本发明的本地块设备进行文件访问的过程。In order to compare with the centralized and distributed file system access in the prior art, the process of using the local block device of the present invention for file access is shown below in FIG. 12 and FIG. 13 .
图12为针对图11的读访问操作流程图,图13为针对图11的写访问操作流程图。FIG. 12 is a flow chart of the read access operation of FIG. 11 , and FIG. 13 is a flow chart of the write access operation of FIG. 11 .
如图12和图13实施例中,客户节点创建的文件系统存有文件描述符对应的块编号。通过文件系统进行数据访问时,客户节点的应用通过文件系统的文件名(描述符),获得对应的块编号,进而向本地块设备进行块数据访问,本地块设备驱动将此块数据映射为对应存储节点的块数据访问,从而返回数据结果。In the embodiment shown in Figure 12 and Figure 13, the file system created by the client node stores the block number corresponding to the file descriptor. When accessing data through the file system, the application of the client node obtains the corresponding block number through the file name (descriptor) of the file system, and then accesses the block data to the local block device, and the local block device driver maps the block data For the block data access of the corresponding storage node, the data result is returned.
下面解释下文件描述符对应的块编号和本地块设备驱动映射的块数据标识的含义,文件描述符对应的块编号是本地块设备上的例如0x0500001这样的编号;块数据标识是存储节点上的其中某个块设备对应的标识,如lv0、lv1、lv2。The following explains the meaning of the block number corresponding to the file descriptor and the block data identifier mapped by the local block device driver. The block number corresponding to the file descriptor is a number such as 0x0500001 on the local block device; the block data identifier is the storage node The identifier corresponding to one of the block devices on the network, such as lv0, lv1, and lv2.
例如,用户通过文件描述符访问自己本地块设备上的0x0500001块编号时,根据本地块设备驱动存储的块编号与存储节点资源信息的对应关系,实际映射成访问存储节点,例如主机host07(地址)上的lv1(块数据区域标识)上的0x50001。For example, when a user accesses the block number 0x0500001 on his local block device through a file descriptor, according to the corresponding relationship between the block number stored by the local block device driver and the resource information of the storage node, the actual mapping is to access the storage node, such as host host07( 0x50001 on lv1 (block data area identifier) on address).
在进行写操作时,本地块设备驱动可以根据块编号发给所有分配给用户的存储节点,进行并行写操作。在读操作时,可以仅发给块编号对应的存储节点。When performing write operations, the local block device driver can send them to all storage nodes allocated to the user according to the block number for parallel write operations. During the read operation, it can only be sent to the storage node corresponding to the block number.
相对比现有技术中,图12和图13客户应用在访问本地块设备驱动时,流程到达本地块设备驱动之前与图2和图3中的非分布式应用的场景类似,因此与传统应用兼容,但后续访问流程有所区别:本地块设备驱动根据申请时得到的存储节点资源信息,将访问本地块设备映射到访问提供服务的存储节点,如图12和图13,本地块设备驱动接收到块数据访问后可以进行下面的处理,包括:Compared with the prior art, when the client application in Figure 12 and Figure 13 accesses the local block device driver, the process before reaching the local block device driver is similar to the scenario of the non-distributed application in Figure 2 and Figure 3, so it is similar to the traditional The application is compatible, but the subsequent access process is different: the local block device driver maps the access to the local block device to the storage node that provides the service according to the storage node resource information obtained at the time of application, as shown in Figure 12 and Figure 13, the local After the block device driver receives block data access, it can perform the following processing, including:
1.在到达预设访问数量或时间阈值前缓存块设备数据访问;1. Cache block device data access before reaching the preset access number or time threshold;
2.对于缓存的块设备访问进行排序(如按照访问的块数据标识进行排序,便于提高访问相同存储节点的访问效率);2. Sort the cached block device access (such as sorting according to the accessed block data identifier, which is convenient to improve the access efficiency of accessing the same storage node);
3.根据用户访问的特点,判断是否需要预读部分用户未请求数据;如,根据用户访问历史获知进行连续性访问,则可以进行预读;用户访问如果是非连续性的,可以不预读数据;3. According to the characteristics of user access, determine whether it is necessary to pre-read some of the user's unrequested data; for example, according to the user's access history, the continuous access can be pre-read; if the user access is non-continuous, the pre-read data is not required ;
4.打包压缩块访问操作指令,根据申请时得到的信息,发送到对应到存储服务节点(读操作选择一个,写操作并发到多个服务节点)。4. Pack and compress block access operation instructions, and send them to the corresponding storage service nodes according to the information obtained during the application (select one for the read operation, and send the write operation to multiple service nodes concurrently).
本发明上述实施例相对于现有技术中的集中式文件,可以分布式的提供存储节点,本地块设备驱动根据预先的资源申请找到对应的存储节点;若存储节点仅为一个,则与客户节点的文件系统和本地块设备类似于现有集中式文件系统的功能,此时,客户节点本地块设备相当于一个转发器,转发到存储节点。Compared with the centralized file in the prior art, the above embodiments of the present invention can provide storage nodes in a distributed manner, and the local block device driver finds the corresponding storage node according to the pre-resource application; The file system and local block device of the node are similar to the functions of the existing centralized file system. At this time, the local block device of the client node is equivalent to a forwarder and forwarded to the storage node.
上述各方法实施例具有如下优点:The above method embodiments have the following advantages:
1.与现有技术中分布式文件系统类的存储系统相比,现有技术分布式文件系统的文件系统层多了一个元数据服务器节点的网络访问过程,本发明却可以提供更底层的本地块设备访问接口,用户在使用时可以自己根据应用选择直接使用本地块设备驱动或创建自己的本地文件系统,提供灵活性的同时,也减少了文件系统层的开销。1. Compared with the storage system of the distributed file system in the prior art, the file system layer of the distributed file system of the prior art has one more network access process of the metadata server node, but the present invention can provide a lower-level native Block device access interface, users can choose to directly use the local block device driver or create their own local file system according to the application, which provides flexibility and reduces the overhead of the file system layer.
2.通过客户节点的映射,客户节点将块数据访问映射到一个或多个存储节点的物理存储资源上,访问过程中无需请求控制节点;控制节点的调度管理仅在分配资源和出现故障时发挥作用,因此,不存在性能瓶颈。2. Through the mapping of the client node, the client node maps the block data access to the physical storage resources of one or more storage nodes, and there is no need to request the control node during the access process; the scheduling management of the control node only plays a role in the allocation of resources and failures role, therefore, there is no performance bottleneck.
3.与集中式的块设备相比,分布式体系架构具有更好的系统可扩展性,由于可以集中利用集群中闲置的存储空间,具有更好的资源利用率和更高的性价比。3. Compared with the centralized block device, the distributed architecture has better system scalability, and because it can centrally utilize the idle storage space in the cluster, it has better resource utilization and higher cost performance.
4.由于用户在使用存储资源时仅访问分配给用户的资源,其他4. Since the user only accesses the resources assigned to the user when using storage resources, other
存储资源的对用户来说不可见,对于多租户的隔离能力更强。Storage resources are invisible to users and have stronger isolation capabilities for multi-tenants.
如果控制节点分配多个存储节点资源信息给同一个客户节点作为冗余,通过映射得到的多个存储节点的的存储数据是一致的,存储节点中的若干个发生突然失效(故障)时,剩余有效存储节点的信息仍然是完整的可以提供服务。控制节点监测到存储节点失效后,可以根据之前已存储的各存储节点的资源使用情况,通知剩余有效节点,将相同存储数据的信息复制到新增的存储节点上,并将客户节点上的映射指向新的存储节点进行重新配置,达到高可用性。If the control node assigns multiple storage node resource information to the same client node as redundancy, the storage data of multiple storage nodes obtained through mapping is consistent, and when several of the storage nodes suddenly fail (failure), the remaining The information of valid storage nodes is still complete and can provide services. After the control node detects the failure of the storage node, it can notify the remaining valid nodes according to the resource usage of each storage node that has been stored before, and copy the information of the same storage data to the newly added storage node, and the mapping on the client node Point to the new storage node for reconfiguration to achieve high availability.
例如,控制节点存储的各客户节点的用户与存储节点的映射关系可如下表1所示:For example, the mapping relationship between users and storage nodes of each client node stored by the control node can be shown in Table 1 below:
表1用户与存储节点(服务节点)的映射关系表Table 1 Mapping relationship between users and storage nodes (service nodes)
具体地,某存储节点失效后的处理过程可以包括:Specifically, the processing process after a certain storage node fails may include:
步骤1:去除故障失效存储节点、添加新的存储节点,控制节点在新增存储节点上分配同样大小的分区;并且控制节点通知与失效节点存有相同数据的有效节点,以使进行后续数据恢复;Step 1: Remove the failed storage node, add a new storage node, and the control node allocates the same size partition on the newly added storage node; and the control node notifies the valid node with the same data as the failed node, so that subsequent data recovery can be performed ;
步骤2:仍服务的有效节点,接收到控制节点的通知后,对要求的块数据进行完全快照,并利用快照数据在新增节点中恢复数据;Step 2: After receiving the notification from the control node, the active node still serving takes a complete snapshot of the required block data, and uses the snapshot data to restore the data in the newly added node;
步骤3:由于在执行步骤2过程中,数据可能进行更新,因此,对步骤2中的有效节点中的要求恢复的数据进行增量快照(执行步骤2过程中的更新数据),并将快照数据在新增节点中恢复数据,如果增量快照尺寸较大,大于预设的阈值,重复步骤3,否则进入步骤4;Step 3: Since the data may be updated during the execution of step 2, an incremental snapshot is taken of the data required to be restored in the effective node in step 2 (updated data during the execution of step 2), and the snapshot data Restore data in the newly added node. If the size of the incremental snapshot is larger than the preset threshold, repeat step 3, otherwise go to step 4;
步骤4:如果最后一次增量快照的尺寸小于阈值,但仍不为0,则可以锁定,快速恢复最后一次增量快照数据,使得新存储节点与进行快照的存储节点数据完全一致,锁定期间,可以利用客户节点本地块设备驱动缓存数据改动;Step 4: If the size of the last incremental snapshot is smaller than the threshold but still not 0, you can lock and quickly recover the data of the last incremental snapshot so that the new storage node is completely consistent with the data of the storage node taking the snapshot. During the locking period, Can use the client node's local block device driver to cache data changes;
步骤5:解除步骤4中存储节点锁定,恢复正常服务。Step 5: Unlock the storage node in step 4 and restore normal services.
本实施例在使用多个存储节点的情况下,当部分存储节点发生故障时,可以利用剩余节点继续提供连续的服务,并将数据自动复制到其他存储节点上,以维持服务的可用性,控制节点的调度管理仅在分配资源和出现故障时发挥作用,不存在性能瓶颈。In the case of using multiple storage nodes in this embodiment, when some storage nodes fail, the remaining nodes can be used to continue to provide continuous services, and the data can be automatically copied to other storage nodes to maintain service availability. The scheduling management only plays a role in the allocation of resources and failures, and there is no performance bottleneck.
图14为根据本发明客户节点实施例示意图。如图14所示,本实施例客户节点包括一至多个本地块单元,其中,本地块单元包括:Fig. 14 is a schematic diagram of an embodiment of a client node according to the present invention. As shown in Figure 14, the client node in this embodiment includes one or more local block units, where the local block units include:
接口模块,用于接收包含块编号标识的访问请求;an interface module, configured to receive an access request including a block number identifier;
存储模块,用于存储本地块单元的块编号与提供存储服务的存储节点资源信息的对应关系;存储节点资源信息包括提供存储服务的存储节点信息、存储节点的块数据标识;The storage module is used to store the corresponding relationship between the block number of the local block unit and the resource information of the storage node providing the storage service; the resource information of the storage node includes the information of the storage node providing the storage service and the block data identification of the storage node;
处理模块,用于根据块编号标识查找存储模块,获得块编号标识对应的存储节点位置以及块数据标识,向存储节点发送该块数据访问请求The processing module is used to search the storage module according to the block number identifier, obtain the storage node location corresponding to the block number identifier and the block data identifier, and send the block data access request to the storage node
其中,通信模块为客户节点本地块单元外的一模块,用于通过网络向控制节点申请块数据开通请求,并接收控制节点分配的存储节点资源信息,本地块单元为根据该存储节点资源信息建立的一本地块设备驱动,当本地块单元的接口模块接收到数据访问请求时,经过处理模块处理后将对应的存储节点块数据访问请求发送通信模块,通过通信模块返回访问结果。Among them, the communication module is a module outside the local block unit of the client node, which is used to apply for a block data activation request to the control node through the network, and receive the storage node resource information allocated by the control node. The local block unit is based on the storage node resource information. A local block device driver is established by information. When the interface module of the local block unit receives a data access request, the corresponding storage node block data access request is sent to the communication module after processing by the processing module, and the access result is returned through the communication module.
其中本地块单元的接口模块可以包括:The interface modules of the local block unit may include:
直接访问子模块,用于通过块设备接口接收直接包含块编号标识的访问请求;和/或a direct access sub-module for receiving access requests directly including block number identification via a block device interface; and/or
系统访问子模块,用于通过文件/数据库系统接口接收文件名/表数据访问请求,解析文件名/表数据对应的块编号标识,向处理模块发送包含块编号标识的访问请求。The system access sub-module is used to receive the file name/table data access request through the file/database system interface, analyze the block number identification corresponding to the file name/table data, and send the access request including the block number identification to the processing module.
处理模块还可以包括:Processing modules may also include:
块访问处理子模块,用于对块数据访问进行预处理,以提高访问效率,预处理包括以下任意组合:在块数据访问不大于预设访问数量或时间阈值时,缓存块数据访问;对块数据访问进行缓存及排序;根据块数据访问特点,确定是否预读未请求访问的块数据;打包压缩块数据访问。The block access processing sub-module is used to pre-process block data access to improve access efficiency. The pre-processing includes any combination of the following: when block data access is not greater than the preset access number or time threshold, cache block data access; Data access is cached and sorted; according to the characteristics of block data access, it is determined whether to pre-read block data that is not requested to be accessed; package and compress block data access.
本实施例的客户端具体访问过程可以参见上述方法实施例相关说明,在此不再对相同或相似内容进行重复描述。For the specific access process of the client in this embodiment, reference may be made to the relevant descriptions of the above method embodiments, and the same or similar content will not be described repeatedly here.
图15为根据本发明存储控制节点实施例示意图。如图15,本实施例具体功能可参见上述方法实施例中的控制节点功能,如图,本实施例包括:Fig. 15 is a schematic diagram of an embodiment of a storage control node according to the present invention. As shown in Figure 15, the specific functions of this embodiment can refer to the control node functions in the above method embodiments, as shown in the figure, this embodiment includes:
接口模块,用于接收客户节点的块数据开通/释放请求;The interface module is used to receive the block data activation/release request of the client node;
控制模块,用于根据一至多个存储节点的存储资源状态信息和/或接收的块数据开通请求的客户节点位置信息,分配对应的存储节点资源信息;或者根据块数据释放请求释放对应的存储节点资源信息;The control module is configured to allocate corresponding storage node resource information according to the storage resource status information of one or more storage nodes and/or the received client node location information of the block data activation request; or release the corresponding storage node according to the block data release request resource information;
存储模块,用于存储一至多个存储节点已分配的存储节点资源信息;A storage module, configured to store resource information of storage nodes allocated by one or more storage nodes;
其中,存储节点资源信息包括存储节点位置信息、及存储节点的块数据标识。Wherein, the resource information of the storage node includes location information of the storage node and a block data identifier of the storage node.
该节点装置还可以包括:The node device may also include:
监测模块,用于监测到存储节点失效后,查找存储模块中与失效的存储节点有相同存储数据的有效存储节点,将有效存储节点的存储数据复制到新建立的存储节点。The monitoring module is used to find an effective storage node in the storage module that has the same storage data as the failed storage node after detecting the failure of the storage node, and copy the storage data of the effective storage node to the newly established storage node.
优选地,存储模块还存储客户节点与已分配的存储节点资源信息的对应关系,如表1所示;接口模块进一步接收包含客户节点标识的获取请求;控制模块进一步根据客户节点标识从存储模块查找对以的存储节点资源信息,并返回接口模块。Preferably, the storage module also stores the corresponding relationship between the client node and the allocated storage node resource information, as shown in Table 1; the interface module further receives an acquisition request including the client node identifier; the control module further searches the storage module according to the client node identifier To store node resource information and return the interface module.
本实施例的存储控制节点,可以位于客户节点和一至多个存储节点之间,或者位于复合在存储节点上。具体控制过程可以参见上述方法实施例相关说明,在此不再对相同或相似内容进行重复描述。The storage control node in this embodiment may be located between the client node and one or more storage nodes, or located on a storage node. For the specific control process, reference may be made to relevant descriptions of the foregoing method embodiments, and repeated descriptions of the same or similar content will not be repeated here.
可通过各种手段实施本文描述的技术。举例来说,这些技术可实施在硬件、固件、软件或其组合中。对于硬件实施方案,图15控制模块以及土14处理模块可实施在一个或一个以上专用集成电路(ASIC)、数字信号处理器(DSP)、可编程逻辑装置(PLD)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器、电子装置、其它经设计以执行本文所描述的功能的电子单元或其组合内。The techniques described herein may be implemented by various means. For example, these techniques may be implemented in hardware, firmware, software, or a combination thereof. For hardware implementation, the control module of FIG. 15 and the processing module of ±14 can be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), programmable logic devices (PLDs), field programmable gate arrays ( FPGA), processor, controller, microcontroller, microprocessor, electronic device, other electronic unit designed to perform the functions described herein, or a combination thereof.
对于固件和/或软件实施方案,可用执行本文描述的功能的模块(例如,过程、步骤、流程等)来实施所述技术。固件和/或软件代码可存储在存储器中并由处理器执行。存储器可实施在处理器内或处理器外部。For a firmware and/or software implementation, the techniques may be implemented with modules (eg, procedures, steps, flows, and so on) that perform the functions described herein. Firmware and/or software codes may be stored in memory and executed by processors. Memory can be implemented within the processor or external to the processor.
本发明能有多种不同形式的具体实施方式,上面以图7-图15为例结合附图对本发明的技术方案作举例说明,这并不意味着本发明所应用的具体实例只能局限在特定的流程或实施例结构中,本领域的普通技术人员应当了解,上文所提供的具体实施方案只是多种优选用法中的一些示例,任何通过将存储节点资源映射为本地块设备,并将对本地块设备的访问映射为对应存储节点访问的实施方式均应在本发明技术方案所要求保护的范围之内。The present invention can have a variety of specific implementations in different forms. The technical solution of the present invention is illustrated by taking Fig. 7-Fig. 15 as an example in conjunction with the accompanying drawings. In a specific process or embodiment structure, those of ordinary skill in the art should understand that the specific implementation solutions provided above are just some examples of various preferred usages, any storage node resources are mapped to local block devices, and Implementations of mapping the access to the local block device to the access to the corresponding storage node shall fall within the protection scope of the technical solution of the present invention.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
最后应说明的是:以上所述仅为本发明的优选实施例而已,并不用于限制本发明,尽管参照前述实施例对本发明进行了详细的说明,对于本领域的技术人员来说,其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。Finally, it should be noted that: the above is only a preferred embodiment of the present invention, and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, for those skilled in the art, it still The technical solutions recorded in the foregoing embodiments may be modified, or some technical features thereof may be equivalently replaced. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110005099.0A CN102594852B (en) | 2011-01-04 | 2011-01-04 | Data access method, node and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110005099.0A CN102594852B (en) | 2011-01-04 | 2011-01-04 | Data access method, node and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102594852A true CN102594852A (en) | 2012-07-18 |
CN102594852B CN102594852B (en) | 2016-03-30 |
Family
ID=46483053
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110005099.0A Active CN102594852B (en) | 2011-01-04 | 2011-01-04 | Data access method, node and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102594852B (en) |
Cited By (43)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024053A (en) * | 2012-12-18 | 2013-04-03 | 华为技术有限公司 | Cloud storage method, resource scheduling system and cloud storage node and system |
CN103366573A (en) * | 2013-07-10 | 2013-10-23 | 中兴智能交通(无锡)有限公司 | Vehicle running information tracking method and system based on cloud computing |
WO2014101240A1 (en) * | 2012-12-31 | 2014-07-03 | 华为技术有限公司 | Data storage method and apparatus, data operation method and system, and access server |
CN104184812A (en) * | 2014-08-20 | 2014-12-03 | 四川九成信息技术有限公司 | Multi-point data transmission method based on private cloud |
CN104239517A (en) * | 2014-09-17 | 2014-12-24 | 杭州华三通信技术有限公司 | Storage object access method and device for distributed storage system |
CN104360915A (en) * | 2014-10-31 | 2015-02-18 | 北京思特奇信息技术股份有限公司 | Data recovery method and device on basis of distributed storage |
CN104461736A (en) * | 2014-12-08 | 2015-03-25 | 畅捷通信息技术股份有限公司 | Resource allocation and search method and system and cloud server |
CN104484236A (en) * | 2014-11-28 | 2015-04-01 | 曙光云计算技术有限公司 | HA (high availability) access adaptation method |
CN104517067A (en) * | 2014-12-30 | 2015-04-15 | 华为技术有限公司 | Method, device and system for data access |
CN104754021A (en) * | 2013-12-31 | 2015-07-01 | 伊姆西公司 | Device and method for promoting access of data in distributed storage system |
CN105187555A (en) * | 2015-09-29 | 2015-12-23 | 北京奇艺世纪科技有限公司 | Method, device and system for message processing |
CN105446794A (en) * | 2014-09-30 | 2016-03-30 | 北京金山云网络技术有限公司 | Disc operation method, apparatus and system based on virtual machine |
WO2016065613A1 (en) * | 2014-10-31 | 2016-05-06 | 华为技术有限公司 | File access method, distributed storage system and network device |
CN105704218A (en) * | 2016-01-19 | 2016-06-22 | 国家电网公司 | Data storage and management method in cloud computing platform |
CN106302607A (en) * | 2015-06-05 | 2017-01-04 | 腾讯科技(深圳)有限公司 | It is applied to block storage system and the method for cloud computing |
CN106503058A (en) * | 2016-09-27 | 2017-03-15 | 华为技术有限公司 | A kind of data load method, terminal and computing cluster |
CN106850827A (en) * | 2017-02-24 | 2017-06-13 | 深圳市中博睿存信息技术有限公司 | A kind of metadata of distributed type file system treating method and apparatus |
CN106993022A (en) * | 2016-12-30 | 2017-07-28 | 中国银联股份有限公司 | For the mark management method of cluster, identification server and corresponding system |
CN107092437A (en) * | 2016-02-17 | 2017-08-25 | 杭州海康威视数字技术股份有限公司 | Data write-in, read method and device, cloud storage system |
CN107346341A (en) * | 2017-07-11 | 2017-11-14 | 王焱华 | A kind of management method of big data |
CN107562376A (en) * | 2017-08-23 | 2018-01-09 | 北京小米移动软件有限公司 | Data method for deleting and device |
CN108156187A (en) * | 2016-12-02 | 2018-06-12 | 航天星图科技(北京)有限公司 | A kind of cloud service system |
CN108197159A (en) * | 2017-12-11 | 2018-06-22 | 厦门集微科技有限公司 | Digital independent, wiring method and device based on distributed file system |
CN109120709A (en) * | 2018-09-03 | 2019-01-01 | 杭州云创共享网络科技有限公司 | A kind of caching method, device, equipment and medium |
CN109495568A (en) * | 2018-11-19 | 2019-03-19 | 北京金山云网络技术有限公司 | A kind of data capture method, data acquisition facility, server and storage medium |
CN109831540A (en) * | 2019-04-12 | 2019-05-31 | 成都四方伟业软件股份有限公司 | Distributed storage method, device, electronic equipment and storage medium |
CN109977092A (en) * | 2019-03-26 | 2019-07-05 | 武汉深之度科技有限公司 | A kind of method and calculating equipment of duplication file |
CN110365719A (en) * | 2018-03-26 | 2019-10-22 | 华为技术有限公司 | A data processing method and related equipment |
CN110413694A (en) * | 2019-08-01 | 2019-11-05 | 重庆紫光华山智安科技有限公司 | Metadata management method and relevant apparatus |
CN110889121A (en) * | 2019-10-12 | 2020-03-17 | 中国平安财产保险股份有限公司 | Method, server and storage medium for preventing data leakage |
WO2020183311A1 (en) * | 2019-03-08 | 2020-09-17 | International Business Machines Corporation | Secure storage query and donation |
CN111881470A (en) * | 2020-07-20 | 2020-11-03 | 易通星云(北京)科技发展有限公司 | Data access method and device and computer readable storage medium |
CN112015696A (en) * | 2020-08-21 | 2020-12-01 | 北京奇艺世纪科技有限公司 | Data access method, data relationship setting method, data access device, data relationship setting device and storage medium |
CN112597173A (en) * | 2021-03-08 | 2021-04-02 | 成都虚谷伟业科技有限公司 | Distributed database cluster system peer-to-peer processing system and processing method |
CN113419671A (en) * | 2021-05-20 | 2021-09-21 | 佛山市禅城区政务服务数据管理局 | Personal data space access control method and system |
WO2021189306A1 (en) * | 2020-03-25 | 2021-09-30 | Beijing Didi Infinity Technology And Development Co., Ltd. | Write operation in object storage system using enhanced meta structure |
US11176054B2 (en) | 2019-03-08 | 2021-11-16 | International Business Machines Corporation | Host virtual address space for secure interface control storage |
US11182192B2 (en) | 2019-03-08 | 2021-11-23 | International Business Machines Corporation | Controlling access to secure storage of a virtual machine |
US11283800B2 (en) | 2019-03-08 | 2022-03-22 | International Business Machines Corporation | Secure interface control secure storage hardware tagging |
CN114647559A (en) * | 2022-03-21 | 2022-06-21 | 北京百度网讯科技有限公司 | A statistical method, device, electronic device and storage medium for storage usage |
US11455398B2 (en) | 2019-03-08 | 2022-09-27 | International Business Machines Corporation | Testing storage protection hardware in a secure virtual machine environment |
CN115712660A (en) * | 2022-01-29 | 2023-02-24 | 杭州宇信数字科技有限公司 | Data storage method, device, server and storage medium |
WO2024139946A1 (en) * | 2022-12-28 | 2024-07-04 | International Business Machines Corporation | Increasing resource utilization in cloud computing clusters |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1858748A (en) * | 2006-05-22 | 2006-11-08 | 上海怀瑾计算机科技有限公司 | Method for realizing directly access USB master facility end file from slave facility end at USB |
US20070276838A1 (en) * | 2006-05-23 | 2007-11-29 | Samy Khalil Abushanab | Distributed storage |
CN101094129A (en) * | 2006-06-20 | 2007-12-26 | 腾讯科技(深圳)有限公司 | Method for accessing domain name, and client terminal |
US20090177860A1 (en) * | 2005-02-23 | 2009-07-09 | Yaolong Zhu | Data management method for network storage system and the network storage system built thereof |
CN101510219A (en) * | 2009-03-31 | 2009-08-19 | 成都市华为赛门铁克科技有限公司 | File data accessing method, apparatus and system |
CN101751233A (en) * | 2009-12-31 | 2010-06-23 | 成都索贝数码科技股份有限公司 | Method and system for expanding capacity of memory device |
-
2011
- 2011-01-04 CN CN201110005099.0A patent/CN102594852B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090177860A1 (en) * | 2005-02-23 | 2009-07-09 | Yaolong Zhu | Data management method for network storage system and the network storage system built thereof |
CN1858748A (en) * | 2006-05-22 | 2006-11-08 | 上海怀瑾计算机科技有限公司 | Method for realizing directly access USB master facility end file from slave facility end at USB |
US20070276838A1 (en) * | 2006-05-23 | 2007-11-29 | Samy Khalil Abushanab | Distributed storage |
CN101094129A (en) * | 2006-06-20 | 2007-12-26 | 腾讯科技(深圳)有限公司 | Method for accessing domain name, and client terminal |
CN101510219A (en) * | 2009-03-31 | 2009-08-19 | 成都市华为赛门铁克科技有限公司 | File data accessing method, apparatus and system |
CN101751233A (en) * | 2009-12-31 | 2010-06-23 | 成都索贝数码科技股份有限公司 | Method and system for expanding capacity of memory device |
Cited By (74)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024053A (en) * | 2012-12-18 | 2013-04-03 | 华为技术有限公司 | Cloud storage method, resource scheduling system and cloud storage node and system |
CN103024053B (en) * | 2012-12-18 | 2015-11-25 | 华为技术有限公司 | Cloud storage means, resource scheduling system, cloud memory node and system |
WO2014101240A1 (en) * | 2012-12-31 | 2014-07-03 | 华为技术有限公司 | Data storage method and apparatus, data operation method and system, and access server |
CN103366573A (en) * | 2013-07-10 | 2013-10-23 | 中兴智能交通(无锡)有限公司 | Vehicle running information tracking method and system based on cloud computing |
CN104754021B (en) * | 2013-12-31 | 2018-04-13 | 伊姆西公司 | Apparatus and method for promoting the access to the data in distributed memory system |
CN104754021A (en) * | 2013-12-31 | 2015-07-01 | 伊姆西公司 | Device and method for promoting access of data in distributed storage system |
CN104184812A (en) * | 2014-08-20 | 2014-12-03 | 四川九成信息技术有限公司 | Multi-point data transmission method based on private cloud |
CN104184812B (en) * | 2014-08-20 | 2017-08-11 | 霍尔果斯智融未来信息科技有限公司 | A kind of multipoint data transmission method based on private clound |
CN104239517A (en) * | 2014-09-17 | 2014-12-24 | 杭州华三通信技术有限公司 | Storage object access method and device for distributed storage system |
CN104239517B (en) * | 2014-09-17 | 2018-05-15 | 新华三技术有限公司 | The storage object access method and device of a kind of distributed memory system |
CN105446794A (en) * | 2014-09-30 | 2016-03-30 | 北京金山云网络技术有限公司 | Disc operation method, apparatus and system based on virtual machine |
CN104360915A (en) * | 2014-10-31 | 2015-02-18 | 北京思特奇信息技术股份有限公司 | Data recovery method and device on basis of distributed storage |
WO2016065613A1 (en) * | 2014-10-31 | 2016-05-06 | 华为技术有限公司 | File access method, distributed storage system and network device |
CN104360915B (en) * | 2014-10-31 | 2017-08-01 | 北京思特奇信息技术股份有限公司 | A kind of data reconstruction method and device based on distributed storage |
CN104484236A (en) * | 2014-11-28 | 2015-04-01 | 曙光云计算技术有限公司 | HA (high availability) access adaptation method |
CN104484236B (en) * | 2014-11-28 | 2017-11-03 | 曙光云计算集团有限公司 | A kind of HA accesses adaptive method |
CN104461736A (en) * | 2014-12-08 | 2015-03-25 | 畅捷通信息技术股份有限公司 | Resource allocation and search method and system and cloud server |
CN104517067A (en) * | 2014-12-30 | 2015-04-15 | 华为技术有限公司 | Method, device and system for data access |
CN104517067B (en) * | 2014-12-30 | 2017-12-15 | 华为技术有限公司 | Access the method, apparatus and system of data |
CN106302607B (en) * | 2015-06-05 | 2019-08-16 | 腾讯科技(深圳)有限公司 | Block storage system and method applied to cloud computing |
CN106302607A (en) * | 2015-06-05 | 2017-01-04 | 腾讯科技(深圳)有限公司 | It is applied to block storage system and the method for cloud computing |
CN105187555A (en) * | 2015-09-29 | 2015-12-23 | 北京奇艺世纪科技有限公司 | Method, device and system for message processing |
CN105704218B (en) * | 2016-01-19 | 2019-04-05 | 国家电网公司 | Data storage and management method in cloud computing platform |
CN105704218A (en) * | 2016-01-19 | 2016-06-22 | 国家电网公司 | Data storage and management method in cloud computing platform |
CN107092437A (en) * | 2016-02-17 | 2017-08-25 | 杭州海康威视数字技术股份有限公司 | Data write-in, read method and device, cloud storage system |
US11586673B2 (en) | 2016-02-17 | 2023-02-21 | Hangzhou Hikvision Digital Technology Co., Ltd. | Data writing and reading method and apparatus, and cloud storage system |
WO2018058998A1 (en) * | 2016-09-27 | 2018-04-05 | 华为技术有限公司 | Data loading method, terminal and computing cluster |
CN106503058A (en) * | 2016-09-27 | 2017-03-15 | 华为技术有限公司 | A kind of data load method, terminal and computing cluster |
CN106503058B (en) * | 2016-09-27 | 2019-01-18 | 华为技术有限公司 | A kind of data load method, terminal and computing cluster |
CN108156187A (en) * | 2016-12-02 | 2018-06-12 | 航天星图科技(北京)有限公司 | A kind of cloud service system |
CN108156187B (en) * | 2016-12-02 | 2019-04-09 | 中科星图股份有限公司 | A kind of cloud service system |
CN106993022B (en) * | 2016-12-30 | 2020-03-31 | 中国银联股份有限公司 | Identification management method for cluster, identification server and corresponding system |
CN106993022A (en) * | 2016-12-30 | 2017-07-28 | 中国银联股份有限公司 | For the mark management method of cluster, identification server and corresponding system |
CN106850827A (en) * | 2017-02-24 | 2017-06-13 | 深圳市中博睿存信息技术有限公司 | A kind of metadata of distributed type file system treating method and apparatus |
CN107346341A (en) * | 2017-07-11 | 2017-11-14 | 王焱华 | A kind of management method of big data |
CN107562376A (en) * | 2017-08-23 | 2018-01-09 | 北京小米移动软件有限公司 | Data method for deleting and device |
CN108197159A (en) * | 2017-12-11 | 2018-06-22 | 厦门集微科技有限公司 | Digital independent, wiring method and device based on distributed file system |
CN108197159B (en) * | 2017-12-11 | 2020-07-10 | 厦门集微科技有限公司 | Data reading and writing method and device based on distributed file system |
US11477067B2 (en) | 2018-03-26 | 2022-10-18 | Huawei Technologies Co., Ltd. | Packet transmission method and apparatus |
CN110365719A (en) * | 2018-03-26 | 2019-10-22 | 华为技术有限公司 | A data processing method and related equipment |
CN110365719B (en) * | 2018-03-26 | 2021-10-01 | 华为技术有限公司 | A data processing method and related equipment |
CN109120709A (en) * | 2018-09-03 | 2019-01-01 | 杭州云创共享网络科技有限公司 | A kind of caching method, device, equipment and medium |
CN109495568A (en) * | 2018-11-19 | 2019-03-19 | 北京金山云网络技术有限公司 | A kind of data capture method, data acquisition facility, server and storage medium |
CN109495568B (en) * | 2018-11-19 | 2021-06-18 | 北京金山云网络技术有限公司 | Data acquisition method, data acquisition device, server and storage medium |
CN113544642A (en) * | 2019-03-08 | 2021-10-22 | 国际商业机器公司 | Secure storage query and donation |
GB2596024A (en) * | 2019-03-08 | 2021-12-15 | Ibm | Secure storage query and donation |
JP7531509B2 (en) | 2019-03-08 | 2024-08-09 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Method, system, and program for querying and providing secure storage |
US11669462B2 (en) | 2019-03-08 | 2023-06-06 | International Business Machines Corporation | Host virtual address space for secure interface control storage |
GB2596024B (en) * | 2019-03-08 | 2022-04-27 | Ibm | Secure storage query and donation |
WO2020183311A1 (en) * | 2019-03-08 | 2020-09-17 | International Business Machines Corporation | Secure storage query and donation |
US11068310B2 (en) | 2019-03-08 | 2021-07-20 | International Business Machines Corporation | Secure storage query and donation |
US11635991B2 (en) | 2019-03-08 | 2023-04-25 | International Business Machines Corporation | Secure storage query and donation |
JP2022522499A (en) * | 2019-03-08 | 2022-04-19 | インターナショナル・ビジネス・マシーンズ・コーポレーション | How to query and deliver secure storage, systems, programs |
US11283800B2 (en) | 2019-03-08 | 2022-03-22 | International Business Machines Corporation | Secure interface control secure storage hardware tagging |
US11455398B2 (en) | 2019-03-08 | 2022-09-27 | International Business Machines Corporation | Testing storage protection hardware in a secure virtual machine environment |
US11176054B2 (en) | 2019-03-08 | 2021-11-16 | International Business Machines Corporation | Host virtual address space for secure interface control storage |
US11182192B2 (en) | 2019-03-08 | 2021-11-23 | International Business Machines Corporation | Controlling access to secure storage of a virtual machine |
CN109977092A (en) * | 2019-03-26 | 2019-07-05 | 武汉深之度科技有限公司 | A kind of method and calculating equipment of duplication file |
CN109977092B (en) * | 2019-03-26 | 2021-06-08 | 武汉深之度科技有限公司 | Method and computing device for copying files |
CN109831540A (en) * | 2019-04-12 | 2019-05-31 | 成都四方伟业软件股份有限公司 | Distributed storage method, device, electronic equipment and storage medium |
CN110413694A (en) * | 2019-08-01 | 2019-11-05 | 重庆紫光华山智安科技有限公司 | Metadata management method and relevant apparatus |
CN110889121A (en) * | 2019-10-12 | 2020-03-17 | 中国平安财产保险股份有限公司 | Method, server and storage medium for preventing data leakage |
WO2021189306A1 (en) * | 2020-03-25 | 2021-09-30 | Beijing Didi Infinity Technology And Development Co., Ltd. | Write operation in object storage system using enhanced meta structure |
CN111881470A (en) * | 2020-07-20 | 2020-11-03 | 易通星云(北京)科技发展有限公司 | Data access method and device and computer readable storage medium |
CN111881470B (en) * | 2020-07-20 | 2024-07-12 | 易通星云(北京)科技发展有限公司 | Data access method and device and computer readable storage medium |
CN112015696A (en) * | 2020-08-21 | 2020-12-01 | 北京奇艺世纪科技有限公司 | Data access method, data relationship setting method, data access device, data relationship setting device and storage medium |
CN112597173A (en) * | 2021-03-08 | 2021-04-02 | 成都虚谷伟业科技有限公司 | Distributed database cluster system peer-to-peer processing system and processing method |
CN113419671B (en) * | 2021-05-20 | 2022-02-18 | 佛山市禅城区政务服务数据管理局 | Personal data space access control method |
CN113419671A (en) * | 2021-05-20 | 2021-09-21 | 佛山市禅城区政务服务数据管理局 | Personal data space access control method and system |
CN115712660A (en) * | 2022-01-29 | 2023-02-24 | 杭州宇信数字科技有限公司 | Data storage method, device, server and storage medium |
CN115712660B (en) * | 2022-01-29 | 2023-05-30 | 杭州宇信数字科技有限公司 | Data storage method, device, server and storage medium |
CN114647559A (en) * | 2022-03-21 | 2022-06-21 | 北京百度网讯科技有限公司 | A statistical method, device, electronic device and storage medium for storage usage |
WO2024139946A1 (en) * | 2022-12-28 | 2024-07-04 | International Business Machines Corporation | Increasing resource utilization in cloud computing clusters |
US12182076B2 (en) | 2022-12-28 | 2024-12-31 | International Business Machines Corporation | Increasing resource utilization in cloud computing clusters |
Also Published As
Publication number | Publication date |
---|---|
CN102594852B (en) | 2016-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102594852B (en) | Data access method, node and system | |
US10782880B2 (en) | Apparatus and method for providing storage for providing cloud services | |
JP6607901B2 (en) | Scalable distributed storage architecture | |
US11675499B2 (en) | Synchronous discovery logs in a fabric storage system | |
CN104111804B (en) | A kind of distributed file system | |
JP6208207B2 (en) | A computer system that accesses an object storage system | |
US8601220B1 (en) | Transparent data migration in a storage system environment | |
US10516645B1 (en) | Address resolution broadcasting in a networked device | |
US20220083247A1 (en) | Composite aggregate architecture | |
JP2017228323A (en) | Virtual disk blueprint for virtualized storage area networks | |
US8171064B2 (en) | Methods and systems for concurrently reading direct and indirect data blocks | |
US10944671B2 (en) | Efficient data forwarding in a networked device | |
US10230544B1 (en) | Efficient data forwarding in a networked device | |
CN103034684A (en) | Optimizing method for storing virtual machine mirror images based on CAS (content addressable storage) | |
JP5352490B2 (en) | Server image capacity optimization | |
CN104023058B (en) | Method and system for managing and allocating storage resources | |
US8386741B2 (en) | Method and apparatus for optimizing data allocation | |
CN115955581A (en) | A real-time video processing method, device, equipment and storage medium | |
CN111831423A (en) | A method and system for implementing Redis in-memory database on non-volatile memory | |
US8868970B2 (en) | Object based storage system and method of operating thereof | |
KR101470857B1 (en) | Network distributed file system and method using iSCSI storage system | |
US20240020278A1 (en) | Dynamic storage journaling partitions for efficient resource use and improved system throughput | |
US11782885B2 (en) | Accessing S3 objects in a multi-protocol filesystem | |
CN110134662A (en) | SDN distributed storage system, data processing method and storage medium | |
CN120233954A (en) | Data storage method, device, system, equipment, medium and program product |
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 |