Movatterモバイル変換


[0]ホーム

URL:


CN108509152A - A kind of method and device for realizing the storage of container runtime data - Google Patents

A kind of method and device for realizing the storage of container runtime data
Download PDF

Info

Publication number
CN108509152A
CN108509152ACN201810229418.8ACN201810229418ACN108509152ACN 108509152 ACN108509152 ACN 108509152ACN 201810229418 ACN201810229418 ACN 201810229418ACN 108509152 ACN108509152 ACN 108509152A
Authority
CN
China
Prior art keywords
storage
target data
container
memory
data volume
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810229418.8A
Other languages
Chinese (zh)
Inventor
杜辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Cloud Technologies Co Ltd
Original Assignee
New H3C Cloud Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Cloud Technologies Co LtdfiledCriticalNew H3C Cloud Technologies Co Ltd
Priority to CN201810229418.8ApriorityCriticalpatent/CN108509152A/en
Publication of CN108509152ApublicationCriticalpatent/CN108509152A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本申请实施例提供了一种实现容器运行时数据存储的方法及装置,其中,该方法包括:获取用户端定义的目标数据卷的属性信息;所述目标数据卷的属性信息包括存储空间大小以及存储性能;从多种存储资源池中查找到满足所述存储性能的存储资源池,并申请一块在该存储资源池中的、与所述存储空间大小对应的存储空间;其中,不同存储资源池对应的存储性能不同;将与申请的所述存储空间对应的目标数据卷挂载到待运行容器上。本申请实施例提高了容器运行时数据存储的效率。

The embodiment of the present application provides a method and device for implementing container runtime data storage, wherein the method includes: obtaining the attribute information of the target data volume defined by the client; the attribute information of the target data volume includes the size of the storage space and Storage performance; find a storage resource pool that satisfies the storage performance from various storage resource pools, and apply for a piece of storage space in the storage resource pool corresponding to the size of the storage space; wherein, different storage resource pools The corresponding storage performance is different; mount the target data volume corresponding to the requested storage space to the container to be run. The embodiment of the present application improves the efficiency of data storage during container runtime.

Description

Translated fromChinese
一种实现容器运行时数据存储的方法及装置A method and device for implementing container runtime data storage

技术领域technical field

本申请涉及计算机技术领域,具体而言,涉及一种实现容器运行时数据存储的方法及装置。The present application relates to the field of computer technology, in particular, to a method and device for implementing data storage during container runtime.

背景技术Background technique

在当今云计算迅猛发展的大背景下,虚拟化技术是构建云架构的关键技术之一,保证了云计算平台的高可靠性和高性能,最大化提升云计算平台的硬件资源利用率。容器就是一种轻量级虚拟化技术,通过封装软件的运行环境,实现基于运行平台的虚拟化。虽然容器和传统虚拟化技术相比,具备轻量级,高效,易移植等特点,但每个容器应用单元退出后,对应的运行时环境也相应释放,无法对容器运行期间的数据进行保存。因此,容器需要挂载数据卷来对容器运行期间的数据进行保存,配合容器应用,即实现容器数据持久化。Against the backdrop of the rapid development of cloud computing today, virtualization technology is one of the key technologies for building a cloud architecture, which ensures the high reliability and performance of the cloud computing platform and maximizes the utilization of hardware resources of the cloud computing platform. A container is a lightweight virtualization technology, which realizes virtualization based on the operating platform by encapsulating the operating environment of the software. Although containers are lightweight, efficient, and easy to transplant compared with traditional virtualization technologies, after each container application unit exits, the corresponding runtime environment is also released accordingly, making it impossible to save data during container operation. Therefore, the container needs to mount a data volume to save the data during the running of the container, and cooperate with the container application to achieve container data persistence.

现有技术中,当虚拟机上的容器应用管控模块需要维护大规模容器的编排和管理时,通常需要管理员根据经验预先在虚拟机上定义好大量的数据卷,每个数据卷具有对应的存储空间大小以及存储性能等属性信息;当用户需要运行容器时,获取用户需要使用的数据卷的属性信息,在预先定义的大量数据卷中查找是否存在客户端需要的数据卷,如果存在匹配的数据卷,则将加载容器镜像,运行容器,并将该匹配的数据卷挂载到容器中,实现容器应用的数据持久化。In the prior art, when the container application management and control module on the virtual machine needs to maintain the orchestration and management of large-scale containers, the administrator usually needs to pre-define a large number of data volumes on the virtual machine based on experience, and each data volume has a corresponding Attribute information such as storage space size and storage performance; when the user needs to run the container, obtain the attribute information of the data volume that the user needs to use, and find out whether there is a data volume required by the client in a large number of predefined data volumes. If there is a matching If the data volume is used, the container image will be loaded, the container will be run, and the matching data volume will be mounted to the container to realize the data persistence of the container application.

可见,现有技术需要管理员根据经验提前静态的设置并维护大量的数据卷,当有用户需要运行容器时,通过遍历的方式查找满足用户需求的数据卷。这种方式使得容器运行时数据存储效率低下,且有可能在遍历所有数据卷后,仍然查找不到满足用户需求的数据卷。It can be seen that the existing technology requires the administrator to statically set and maintain a large number of data volumes in advance based on experience. When a user needs to run a container, the data volume that meets the user's needs is searched through traversal. This method makes the data storage inefficient when the container is running, and it is possible that after traversing all the data volumes, it is still impossible to find the data volume that meets the user's needs.

发明内容Contents of the invention

有鉴于此,本申请实施例的目的在于提供一种实现容器运行时数据存储的方法及装置,以提高容器运行时数据存储的效率。In view of this, the purpose of the embodiments of the present application is to provide a method and device for implementing data storage during container runtime, so as to improve the efficiency of data storage during container runtime.

第一方面,本申请实施例提供了一种实现容器运行时数据存储的方法,该方法包括:In the first aspect, the embodiment of the present application provides a method for implementing container runtime data storage, the method including:

获取用户端定义的目标数据卷的属性信息;所述目标数据卷的属性信息包括存储空间大小以及存储性能;Obtain the attribute information of the target data volume defined by the client; the attribute information of the target data volume includes storage space size and storage performance;

从多种存储资源池中查找到满足所述存储性能的存储资源池,并申请一块在该存储资源池中的、与所述存储空间大小对应的存储空间;其中,不同存储资源池对应的存储性能不同;Find a storage resource pool satisfying the storage performance from a variety of storage resource pools, and apply for a piece of storage space corresponding to the size of the storage space in the storage resource pool; wherein, storage resources corresponding to different storage resource pools Different performance;

将与申请的所述存储空间对应的目标数据卷挂载到待运行容器上。Mount the target data volume corresponding to the requested storage space to the container to be run.

第二方面,本申请实施例提供了一种实现容器运行时数据存储的装置,包括:In the second aspect, the embodiment of the present application provides an apparatus for implementing container runtime data storage, including:

获取模块,用于获取用户端定义的目标数据卷的属性信息;所述目标数据卷的属性信息包括存储空间大小以及存储性能;An acquisition module, configured to acquire the attribute information of the target data volume defined by the client; the attribute information of the target data volume includes storage space size and storage performance;

申请模块,用于从多种存储资源池中查找到满足所述存储性能的存储资源池,并申请一块在该存储资源池中的、与所述存储空间大小对应的存储空间;其中,不同存储资源池对应的存储性能不同;An application module, configured to find a storage resource pool that satisfies the storage performance from various storage resource pools, and apply for a piece of storage space corresponding to the size of the storage space in the storage resource pool; wherein, different storage The storage performance corresponding to the resource pool is different;

挂载模块,用于将与申请的所述存储空间对应的目标数据卷挂载到待运行容器上。The mounting module is configured to mount the target data volume corresponding to the applied storage space to the container to be run.

本申请实施例根据用户端定义的目标数据卷的属性信息,首先从多种存储资源池中查找到满足属性信息中指示的存储性能的存储资源池,并在存储资源池中动态申请一块与所述属性信息中指示的存储空间大小对应的存储空间,然后将与申请的存储空间对应的目标数据卷(也即指示了申请的存储空间位置的数据卷)挂载到待运行容器上。可见,本申请实施例不需要提前静态的设置并维护大量的数据卷,而是当有用户需要运行容器时,直接动态申请相应的数据卷,从而避免了再去遍历查找满足条件的数据卷,也节省了在查找不到满足条件的数据卷时还需要人为干预的成本,提高了容器运行时数据存储的效率。并且,由于无需提前静态的设置并维护大量的数据卷,降低了维护成本,并提高了存储空间的利用率。According to the attribute information of the target data volume defined by the client, the embodiment of the present application first finds a storage resource pool that satisfies the storage performance indicated in the attribute information from various storage resource pools, and dynamically applies for a block in the storage resource pool that is compatible with the storage resource pool. The storage space corresponding to the size of the storage space indicated in the above attribute information, and then mount the target data volume corresponding to the applied storage space (that is, the data volume indicating the location of the applied storage space) to the container to be run. It can be seen that the embodiment of this application does not need to statically set and maintain a large number of data volumes in advance, but directly and dynamically apply for the corresponding data volumes when a user needs to run a container, thereby avoiding traversal to find data volumes that meet the conditions. It also saves the cost of human intervention when the data volume that meets the conditions cannot be found, and improves the efficiency of data storage when the container is running. Moreover, because there is no need to statically set and maintain a large number of data volumes in advance, the maintenance cost is reduced and the utilization rate of storage space is improved.

为使本申请的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned purpose, features and advantages of the present application more comprehensible, preferred embodiments will be described in detail below together with the accompanying drawings.

附图说明Description of drawings

为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the accompanying drawings used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, so It should be regarded as a limitation on the scope, and those skilled in the art can also obtain other related drawings based on these drawings without creative work.

图1示出了本申请实施例所提供的一种实现容器运行时数据存储的方法流程图;FIG. 1 shows a flow chart of a method for implementing container runtime data storage provided by an embodiment of the present application;

图2示出了本申请实施例所提供的一种实现容器运行时数据存储的场景示意图之一;FIG. 2 shows one of the schematic diagrams of a scenario for implementing container runtime data storage provided by the embodiment of the present application;

图3示出了本申请实施例所提供的一种实现容器运行时数据存储的场景示意图之二;FIG. 3 shows the second schematic diagram of a scenario for implementing container runtime data storage provided by the embodiment of the present application;

图4示出了本申请实施例所提供的第一种实现容器运行时数据存储的装置结构示意图;FIG. 4 shows a schematic structural diagram of the first device for implementing container runtime data storage provided by the embodiment of the present application;

图5示出了本申请实施例所提供的第二种实现容器运行时数据存储的装置结构示意图;FIG. 5 shows a schematic structural diagram of a second device for implementing container runtime data storage provided by the embodiment of the present application;

图6示出了本申请实施例所提供的第三种实现容器运行时数据存储的装置结构示意图;FIG. 6 shows a schematic structural diagram of a third device for implementing container runtime data storage provided by the embodiment of the present application;

图7示出了本申请实施例所提供的第四种实现容器运行时数据存储的装置结构示意图。FIG. 7 shows a schematic structural diagram of a fourth device for implementing container runtime data storage provided by an embodiment of the present application.

具体实施方式Detailed ways

为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part of the embodiments of this application, not all of them. The components of the embodiments of the application generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of the present application.

参见图1所示,本申请一种实施例所提供的实现容器运行时数据存储的方法,可以应用于容器应用运行平台,具体应用于容器应用运行平台中的服务器,包括以下步骤S101~S103:Referring to FIG. 1 , the method for implementing container runtime data storage provided by an embodiment of the present application can be applied to a container application runtime platform, specifically to a server in a container application runtime platform, including the following steps S101-S103:

S101,获取用户端定义的目标数据卷的属性信息;该目标数据卷的属性信息包括存储空间大小以及存储性能。S101. Obtain attribute information of a target data volume defined by a client; the attribute information of the target data volume includes storage space size and storage performance.

这里的目标数据卷可以理解为供容器使用的特殊目录,在本申请实施例中用于表征一块存储空间位置。The target data volume here can be understood as a special directory used by the container, which is used to represent a storage space location in the embodiment of the present application.

在具体实施中,当有容器应用加载到服务器时,服务器会查看容器应用中设置的用户对该容器应用的配置需求,其中包括该容器应用需要的目标数据卷的属性信息,从而确定该容器运行中产生的数据在存储时所需的存储空间大小以及存储性能。In a specific implementation, when a container application is loaded to the server, the server will check the user's configuration requirements for the container application set in the container application, including the attribute information of the target data volume required by the container application, so as to determine that the container is running The storage space size and storage performance required for the data generated in the storage.

这里,存储性能可以分级表示,比如分为快速、中速或者慢速,存储性能的高低一方面与容器应用本身的业务功能相关,比如有些容器应用产生的数据量大,对存储性能的要求较高,有些容器应用产生的数据量小,对存储性能的要求较低。另一方面,存储性能的高低也可以与平台服务费用相关,若用户选择的存储性能较高,则平台收取的服务费用也较高。Here, the storage performance can be expressed in different levels, such as fast, medium or slow. On the one hand, the level of storage performance is related to the business functions of the container application itself. For example, some container applications generate a large amount of data and have higher requirements for storage performance. High, some container applications generate small amounts of data and have low requirements for storage performance. On the other hand, the level of storage performance can also be related to the service fee of the platform. If the storage performance selected by the user is higher, the service fee charged by the platform will also be higher.

S102,从多种存储资源池中查找到满足存储性能的存储资源池,并申请一块在该存储资源池中的、与存储空间大小对应的存储空间;其中,不同存储资源池对应的存储性能不同。S102. Find a storage resource pool satisfying the storage performance from various storage resource pools, and apply for a piece of storage space corresponding to the size of the storage space in the storage resource pool; wherein, different storage resource pools correspond to different storage performances .

这里的存储资源池是指可以进行写入数据以及读取数据的存储空间,可以包括实体的存储设备,比如固态硬盘、磁盘等,也可以包括虚拟化存储资源池,比如云存储平台。The storage resource pool here refers to the storage space where data can be written and read. It can include physical storage devices, such as solid-state drives and disks, and can also include virtualized storage resource pools, such as cloud storage platforms.

在具体实施中,可以根据预先设置的存储资源模板与存储性能之间的映射关系,确定与用户端定义的存储性能对应的存储资源模板;其中,不同的存储资源模板绑定了用于提供存储空间的不同存储资源池;该存储资源模板中定义了能够执行的多种功能的存储接口,当服务器获取到用户端定义的目标数据卷的属性信息后,就会根据目标数据卷的属性信息中记录的存储性能找到对应的存储资源模板,调用该存储资源模板中定义的存储接口执行相关操作。其中,不同功能的存储接口用于被调用后执行不同操作。In a specific implementation, the storage resource template corresponding to the storage performance defined by the client can be determined according to the preset mapping relationship between the storage resource template and the storage performance; wherein, different storage resource templates are bound to provide storage Different storage resource pools for different spaces; the storage resource template defines a storage interface that can perform various functions. When the server obtains the attribute information of the target data volume defined by the client, it will The recorded storage performance finds the corresponding storage resource template, and calls the storage interface defined in the storage resource template to perform related operations. Among them, storage interfaces with different functions are used to perform different operations after being called.

在S102中,存储资源模板中定义的多种功能的存储接口中包括创建数据卷存储接口;通过调用确定的存储资源模板中的所述创建数据卷存储接口,向对应的存储资源池申请目标数据卷。其中,不同存储资源池中的存储设备的存储性能不同。In S102, the multiple functional storage interfaces defined in the storage resource template include creating a data volume storage interface; by calling the created data volume storage interface in the determined storage resource template, apply for the target data from the corresponding storage resource pool roll. Wherein, storage performances of storage devices in different storage resource pools are different.

这里,服务器会预先设置好存储资源模板与存储性能之间的映射关系,当根据用户端定义的目标数据卷的属性信息得到容器运行中产生的数据在存储时所需的存储性能后,会确定与该存储性能对应的存储资源模板。这里的存储资源模板定义了多种功能的存储接口,服务器能够调用相应存储资源模板定义的多种功能的存储接口,在满足存储性能的存储资源池中申请存储空间。Here, the server will pre-set the mapping relationship between the storage resource template and the storage performance. After obtaining the storage performance required for the storage of the data generated during the container operation according to the attribute information of the target data volume defined by the client, it will determine The storage resource template corresponding to the storage capability. The storage resource template here defines storage interfaces with multiple functions, and the server can call the storage interfaces with multiple functions defined by the corresponding storage resource template to apply for storage space in the storage resource pool that meets the storage performance.

表1Table 1

关于存储资源模板定义的多种功能的存储接口的详细描述和说明如上表1所示,包括创建数据卷存储接口、删除数据卷存储接口、挂载数据卷存储接口、返回数据卷的目录路径存储接口以及卸载数据卷存储接口。在上述过程中,通过调用确定的存储资源模板定义的创建数据卷驱动程序,向对应的存储资源池申请存储空间。The detailed description and description of the storage interface for various functions defined by the storage resource template are shown in Table 1 above, including creating a data volume storage interface, deleting a data volume storage interface, mounting a data volume storage interface, and returning the directory path storage of a data volume interface and unmount data volume storage interface. In the above process, apply for storage space from the corresponding storage resource pool by invoking the data volume creation driver program defined by the determined storage resource template.

此外,删除数据卷存储接口是用来向目标存储资源池申请删除已申请的存储空间的存储接口;挂载数据卷存储接口是用来将已申请的存储空间对应的目标数据卷挂载到待运行容器上的存储接口;返回数据卷的目录路径存储接口是用来向用户端发送目标数据卷对应的存储空间的访问路径的存储接口;卸载数据卷存储接口是用来将目标数据卷从运行结束后的容器上进行卸载的存储接口。In addition, the delete data volume storage interface is used to apply to the target storage resource pool for deleting the storage space that has been applied for; the mount data volume storage interface is used to mount the target data volume corresponding to the applied storage space to the waiting The storage interface on the running container; return the directory path of the data volume The storage interface is used to send the access path of the storage space corresponding to the target data volume to the client; the unmounted data volume storage interface is used to remove the target data volume from the running The storage interface for unloading on the finished container.

在一种实施方式中,申请一块在该存储资源池中的、与存储空间大小对应的存储空间,包括:In one embodiment, applying for a piece of storage space corresponding to the size of the storage space in the storage resource pool includes:

在确定用户端具有访问存储资源池的权限后,申请一块在该存储资源池中的、与存储空间大小对应的存储空间。After determining that the user terminal has the right to access the storage resource pool, apply for a piece of storage space corresponding to the size of the storage space in the storage resource pool.

在具体实施中,服务器可以对用户进行分级,比如有的用户为会员用户,有的用户为普通用户,可以设置只有会员用户具有访问存储性能较高的存储资源池的权限。当有容器应用加载到服务器时,根据发起加载请求的用户端对应的用户属性(是否为会员用户),确定该用户端是否具有访问存储性能较高的存储资源池的权限。In a specific implementation, the server can classify users. For example, some users are member users and some users are ordinary users. It can be set that only member users have access to storage resource pools with high storage performance. When a container application is loaded to the server, determine whether the client has the right to access a storage resource pool with high storage performance according to the user attribute (whether it is a member user) corresponding to the client that initiates the loading request.

S103,将与申请的存储空间对应的目标数据卷挂载到待运行容器上。S103. Mount the target data volume corresponding to the requested storage space to the container to be run.

在具体实施中,服务器在存储资源池中申请了一块与存储空间大小对应的存储空间后,会调用存储资源模板定义的挂载数据卷存储接口,将与该存储空间对应的目标数据卷挂载到待运行容器上,之后该容器在运行时,就能够将运行过程中产生的数据保存在该目标数据卷上。In the specific implementation, after the server applies for a piece of storage space corresponding to the size of the storage space in the storage resource pool, it will call the mount data volume storage interface defined by the storage resource template, and mount the target data volume corresponding to the storage space to the container to be run, and then when the container is running, the data generated during the running process can be saved on the target data volume.

在一种实施方式中,目标数据卷的属性信息还包括容器运行结束后是否销毁目标数据卷的指示信息,这是由用户端提前配置好的,若指示信息指示销毁目标数据卷,即容器运行结束后,用户不想保留保存容器运行过程中产生的数据;而若指示信息指示不销毁目标数据卷,即容器运行结束后,用户想要保留保存容器运行过程中产生的数据,具体如下:In one embodiment, the attribute information of the target data volume also includes indication information indicating whether to destroy the target data volume after the container runs, which is configured in advance by the client. If the indication information indicates that the target data volume is destroyed, the container runs After the end, the user does not want to keep and save the data generated during the running of the container; if the instruction indicates that the target data volume is not destroyed, that is, after the running of the container, the user wants to keep and save the data generated during the running of the container, as follows:

若指示信息指示销毁目标数据卷,则在检测到容器运行结束后,调用删除数据卷存储接口,删除目标数据卷及目标数据卷对应的存储空间中保存的数据。If the instruction information indicates to destroy the target data volume, after detecting that the container has finished running, call the delete data volume storage interface to delete the target data volume and the data stored in the storage space corresponding to the target data volume.

比如,目标数据卷挂载到了容器1上,当容器1运行完毕后,若指示信息指示销毁目标数据卷,通过调用确定的存储接口中的删除数据卷驱动程序,删除目标数据卷及目标数据卷对应的存储空间中保存的数据,即释放掉对应的存储资源池中原来由目标数据卷占用的存储空间。For example, the target data volume is mounted on container 1. After container 1 finishes running, if the instruction indicates to destroy the target data volume, delete the target data volume and the target data volume by calling the delete data volume driver in the determined storage interface The data saved in the corresponding storage space is to release the storage space originally occupied by the target data volume in the corresponding storage resource pool.

若指示信息指示不销毁目标数据卷,则在检测到容器运行结束后,调用卸载数据卷存储接口,将目标数据卷从运行结束后的容器上进行卸载,并保留目标数据卷对应的存储空间中的数据。If the instruction information indicates that the target data volume is not to be destroyed, after detecting that the container has finished running, call the unmount data volume storage interface, unload the target data volume from the container after running, and keep the storage space corresponding to the target data volume The data.

比如,目标数据卷挂载到了容器1上,当容器1运行完毕后,通过调用确定的存储资源模板定义的卸载数据卷存储接口,将目标数据卷从容器1上卸载下来,在对应的存储资源池中并不删除该目标数据卷占用的存储空间,当需要运行与该目标数据卷匹配的容器2时,仍然能够将该目标数据卷挂载到容器2上。For example, the target data volume is mounted on container 1. After container 1 finishes running, the target data volume is unloaded from container 1 by calling the unload data volume storage interface defined by the storage resource template, and the corresponding storage resource The storage space occupied by the target data volume is not deleted in the pool, and the target data volume can still be mounted to the container 2 when it needs to run the container 2 that matches the target data volume.

本申请实施例中,用户可以在容器运行过程中查询运行过程中产生的数据。具体地,在容器运行过程中,若服务器接收到用户端发送的容器运行数据查询请求,通过调用确定的存储资源模板定义的返回数据卷的目录路径存储接口,以向用户端发送目标数据卷对应的存储空间的访问路径,以使得用户端根据访问路径查询容器运行数据。In this embodiment of the application, the user can query the data generated during the running of the container. Specifically, during the running process of the container, if the server receives the container running data query request sent by the client, it will send the target data volume corresponding The access path of the storage space, so that the client can query the container running data according to the access path.

比如,存储性能为快速的存储资源池中包括多个存储设备,如包括存储设备1、存储设备2和存储设备3,当用户想要查看容器运行时产生的数据时,可以向服务器发送容器运行数据查询请求,则服务器会向用户端发送目标数据卷对应的存储空间的访问路径,比如该访问路径可以是一个链接地址,指向存储设备1,则用户可以按照该存储路径在存储设备1中找到该容器运行产生的数据。For example, a storage resource pool with fast storage performance includes multiple storage devices, such as storage device 1, storage device 2, and storage device 3. For data query requests, the server will send the access path of the storage space corresponding to the target data volume to the client. For example, the access path can be a link address pointing to storage device 1, and the user can find it in storage device 1 according to the storage path. The data generated by the container run.

下面列举一个实例来说明本申请方案:An example is listed below to illustrate the application scheme:

用户端提前定义了录音应用所需的目标数据卷的属性信息;该目标数据卷的属性信息包括存储空间大小为30M以及存储性能为快速。The user terminal defines in advance the attribute information of the target data volume required by the recording application; the attribute information of the target data volume includes a storage space size of 30M and a storage performance of fast.

在服务器中预先设置存储资源模板与存储性能之间的映射关系,如图2所示,存储资源模板1定义了存储资源池1,存储资源模板2定义了存储资源池2,存储资源模板3定义了存储资源池3,且这3种存储资源池的存储性能不同,分别为快速、慢速和中速,即存储资源池1中的存储设备的存储性能为快速,存储资源池2中的存储设备的存储性能为慢速,存储资源池3中的存储设备的存储性能为中速。The mapping relationship between storage resource templates and storage performance is preset in the server. As shown in Figure 2, storage resource template 1 defines storage resource pool 1, storage resource template 2 defines storage resource pool 2, and storage resource template 3 defines Storage resource pool 3 is created, and the storage performance of these three storage resource pools is different, namely fast, slow, and medium speed. That is, the storage performance of storage devices in storage resource pool 1 is fast, and the storage performance of storage The storage performance of the device is slow, and the storage performance of the storage devices in the storage resource pool 3 is medium.

如图3所示,当检测到录音容器应用加载到服务器中后,用户端获取到该录音容器应用所需目标数据卷的属性信息,该属性信息包括存储空间大小为30M以及存储性能为快速。当确定用户端具有访问存储资源池1的权限后,会调用存储资源模板1定义的创建数据卷存储接口,在存储资源池1中申请一块30M的存储空间,该存储空间就作为录音容器应用运行产生的数据的存储位置。当申请了该30M的存储空间后,会将与该30M的存储空间对应的目标数据卷挂载到待运行录音容器上,即实现了录音容器应用的数据持久化。As shown in Figure 3, after detecting that the recording container application is loaded into the server, the client obtains the attribute information of the target data volume required by the recording container application, the attribute information includes the storage space size is 30M and the storage performance is fast. When it is determined that the client has access to the storage resource pool 1, it will call the creation data volume storage interface defined by the storage resource template 1, and apply for a 30M storage space in the storage resource pool 1, and the storage space will be run as a recording container application The storage location of the generated data. After applying for the 30M storage space, the target data volume corresponding to the 30M storage space will be mounted on the recording container to be run, which realizes the data persistence of the recording container application.

当检测到该录音容器应用运行结束后,通过查看目标数据卷的属性信息中包括的容器运行结束后是否销毁目标数据卷的指示信息,发现该指示信息指示销毁目标数据卷,则调用存储资源模板1定义的删除数据卷存储接口,删除目标数据卷及目标数据卷对应的存储空间中保存的数据。When it is detected that the recording container application has finished running, check whether the target data volume is destroyed after the container is completed in the attribute information of the target data volume. If the indication information indicates that the target data volume is destroyed, the storage resource template is invoked. 1. The defined delete data volume storage interface deletes the target data volume and the data stored in the storage space corresponding to the target data volume.

如图4所示,本申请另一实施例提供了一种实现容器运行时数据存储的装置400,包括:As shown in FIG. 4 , another embodiment of the present application provides an apparatus 400 for implementing container runtime data storage, including:

获取模块41,用于获取用户端定义的目标数据卷的属性信息;该目标数据卷的属性信息包括存储空间大小以及存储性能。The acquiring module 41 is configured to acquire the attribute information of the target data volume defined by the client; the attribute information of the target data volume includes storage space size and storage performance.

申请模块42,用于从多种存储资源池中查找到满足存储性能的存储资源池,并申请一块在该存储资源池中的、与存储空间大小对应的存储空间;其中,不同存储资源池对应的存储性能不同。The application module 42 is configured to find a storage resource pool satisfying storage performance from various storage resource pools, and apply for a piece of storage space corresponding to the size of the storage space in the storage resource pool; wherein, different storage resource pools correspond to The storage performance is different.

挂载模块43,用于将与申请的存储空间对应的目标数据卷挂载到待运行容器上。The mounting module 43 is configured to mount the target data volume corresponding to the requested storage space to the container to be run.

可选地,申请模块42,具体用于:Optionally, apply for Module 42, specifically for:

根据预先设置的存储资源模板与存储性能之间的映射关系,确定与存储性能对应的存储资源模板;其中,不同的存储资源模板绑定了用于提供存储空间的不同存储资源池;存储资源模板中定义了多种功能的存储接口,不同功能的存储接口用于被调用后执行不同操作;多种功能的存储接口中包括创建数据卷存储接口;通过调用确定的存储接口,向对应的存储资源池申请存储空间。According to the mapping relationship between the preset storage resource template and storage performance, determine the storage resource template corresponding to the storage performance; wherein, different storage resource templates are bound to different storage resource pools for providing storage space; the storage resource template A storage interface with multiple functions is defined in , and the storage interface with different functions is used to perform different operations after being called; the storage interface with multiple functions includes the storage interface for creating data volumes; by calling the determined storage interface, the corresponding storage resource The pool applies for storage space.

可选地,目标数据卷的属性信息还包括容器运行结束后是否销毁目标数据卷的指示信息;多种功能的存储接口中还包括删除数据卷存储接口和卸载数据卷存储接口;如图5所示,容器运行时实现数据存储的装置400还包括:Optionally, the attribute information of the target data volume also includes indication information on whether to destroy the target data volume after the container finishes running; the multiple-function storage interface also includes a delete data volume storage interface and an unmount data volume storage interface; as shown in Figure 5 As shown, the device 400 for implementing data storage when the container runs also includes:

删除模块44,用于若指示信息指示销毁目标数据卷,则在检测到容器运行结束后,调用删除数据卷存储接口,删除目标数据卷及目标数据卷对应的存储空间中保存的数据。The deletion module 44 is configured to call the delete data volume storage interface to delete the target data volume and the data stored in the storage space corresponding to the target data volume if the instruction information indicates to destroy the target data volume.

卸载模块45,用于若指示信息指示不销毁目标数据卷,则在检测到容器运行结束后,调用卸载数据卷存储接口,则将目标数据卷从运行结束后的容器上进行卸载,并保留目标数据卷对应的存储空间中的数据。The unloading module 45 is configured to call the unloading data volume storage interface after detecting that the container has finished running if the indication information indicates that the target data volume is not to be destroyed, and then unload the target data volume from the container after running, and retain the target data volume. The data in the storage space corresponding to the data volume.

可选地,如图6所示,多种功能的存储接口中还包括目录路径存储接口;容器运行时实现数据存储的装置400还包括:Optionally, as shown in FIG. 6, the multiple-function storage interface also includes a directory path storage interface; the device 400 for implementing data storage when the container is running also includes:

发送模块46,用于在容器运行过程中,若接收到用户端发送的容器运行数据查询请求,调用目录路径存储接口,向用户端发送目标数据卷对应的存储空间的访问路径,以使得用户端根据访问路径查询容器运行数据。The sending module 46 is used to call the directory path storage interface to send the access path of the storage space corresponding to the target data volume to the user end, so that the user end Query container running data based on access path.

可选地,申请模块42,具体用于:Optionally, apply for Module 42, specifically for:

在确定用户端具有访问存储资源池的权限后,申请一块在该存储资源池中的、与存储空间大小对应的存储空间。After determining that the user terminal has the right to access the storage resource pool, apply for a piece of storage space corresponding to the size of the storage space in the storage resource pool.

如图7所示,为本申请又一实施例所提供的实现容器运行时数据存储的装置700的结构示意图,该负载均衡装置700包括:处理器71、存储器72和总线73,存储器72存储执行指令,当装置运行时,处理器71与存储器72之间通过总线73通信,处理器71执行存储器72中存储的如下执行指令:As shown in FIG. 7 , it is a schematic structural diagram of a device 700 for implementing container runtime data storage provided by another embodiment of the present application. The load balancing device 700 includes: a processor 71, a memory 72 and a bus 73. The memory 72 stores and executes Instructions, when the device is running, the processor 71 communicates with the memory 72 through the bus 73, and the processor 71 executes the following execution instructions stored in the memory 72:

获取用户端定义的目标数据卷的属性信息;目标数据卷的属性信息包括存储空间大小以及存储性能;Obtain the attribute information of the target data volume defined by the client; the attribute information of the target data volume includes storage space size and storage performance;

从多种存储资源池中查找到满足存储性能的存储资源池,并申请一块在该存储资源池中的、与存储空间大小对应的存储空间;其中,不同存储资源池对应的存储性能不同;Find a storage resource pool satisfying the storage performance from various storage resource pools, and apply for a piece of storage space corresponding to the size of the storage space in the storage resource pool; wherein, different storage resource pools correspond to different storage performances;

将与申请的存储空间对应的目标数据卷挂载到待运行容器上。Mount the target data volume corresponding to the requested storage space to the container to be run.

可选地,处理器71执行的执行指令中,查找到满足存储性能的存储资源池,包括:Optionally, in the execution instructions executed by the processor 71, a storage resource pool satisfying the storage performance is found, including:

根据预先设置的存储资源模板与存储性能之间的映射关系,确定与存储性能对应的存储资源模板;其中,不同的存储资源模板中定义了用于提供存储空间的不同存储资源池,不同存储资源池中的存储设备的存储性能不同;存储资源模板中定义了多种功能的存储接口;多种功能的存储接口中包括创建数据卷存储接口;According to the preset mapping relationship between the storage resource template and the storage performance, determine the storage resource template corresponding to the storage performance; wherein, different storage resource templates define different storage resource pools for providing storage space, and different storage resources The storage performance of the storage devices in the pool is different; storage interfaces with multiple functions are defined in the storage resource template; the storage interfaces with multiple functions include the storage interface for creating data volumes;

通过调用确定的存储资源模板中的创建数据卷存储接口,向对应的存储资源池申请存储空间。Apply for storage space from the corresponding storage resource pool by calling the create data volume storage interface in the determined storage resource template.

可选地,目标数据卷的属性信息还包括容器运行结束后是否销毁目标数据卷的指示信息;多种功能的存储接口中还包括删除数据卷存储接口和卸载数据卷存储接口;处理器71执行的执行指令还包括:Optionally, the attribute information of the target data volume also includes indication information on whether to destroy the target data volume after the container finishes running; the storage interface with multiple functions also includes a deletion data volume storage interface and an unloading data volume storage interface; the processor 71 executes The execution instructions also include:

若指示信息指示销毁目标数据卷,则在检测到容器运行结束后,调用删除数据卷存储接口,删除目标数据卷及目标数据卷对应的存储空间中保存的数据;If the instruction information indicates to destroy the target data volume, after detecting that the container has finished running, call the delete data volume storage interface to delete the target data volume and the data stored in the storage space corresponding to the target data volume;

若指示信息指示不销毁目标数据卷,则在检测到容器运行结束后,调用卸载数据卷存储接口,将目标数据卷从运行结束后的容器上进行卸载,并保留目标数据卷对应的存储空间中的数据。If the instruction information indicates that the target data volume is not to be destroyed, after detecting that the container has finished running, call the unmount data volume storage interface, unload the target data volume from the container after running, and keep the storage space corresponding to the target data volume The data.

可选地,处理器71执行的执行指令还包括:Optionally, the execution instructions executed by the processor 71 also include:

在容器运行过程中,若接收到用户端发送的容器运行数据查询请求,调用目录路径存储接口,向用户端发送目标数据卷对应的存储空间的访问路径,以使得用户端根据访问路径查询容器运行数据。During the running of the container, if the container running data query request sent by the client is received, the directory path storage interface is called to send the access path of the storage space corresponding to the target data volume to the client, so that the client can query the container running according to the access path data.

可选地,处理器71执行的执行指令中,申请一块在该存储资源池中的、与存储空间大小对应的存储空间,包括:Optionally, in the execution instructions executed by the processor 71, applying for a piece of storage space corresponding to the size of the storage space in the storage resource pool includes:

在确定用户端具有访问存储资源池的权限后,申请一块在该存储资源池中的、与存储空间大小对应的存储空间。After determining that the user terminal has the right to access the storage resource pool, apply for a piece of storage space corresponding to the size of the storage space in the storage resource pool.

基于上述实施例可知,本申请实施例不需要提前静态的设置并维护大量的数据卷,而是当有用户需要运行容器时,直接动态申请相应的数据卷,从而避免了再去遍历查找满足条件的数据卷,也节省了在查找不到满足条件的数据卷时还需要人为干预的成本,提高了容器运行时数据存储的效率。并且,由于无需提前静态的设置并维护大量的数据卷,降低了维护成本,并提高了存储空间的利用率。Based on the above-mentioned embodiments, it can be seen that the embodiments of the present application do not need to statically set and maintain a large number of data volumes in advance, but directly and dynamically apply for the corresponding data volumes when a user needs to run a container, thereby avoiding traversal to find conditions that meet the requirements It also saves the cost of human intervention when the data volume that meets the conditions cannot be found, and improves the efficiency of data storage when the container is running. Moreover, because there is no need to statically set and maintain a large number of data volumes in advance, the maintenance cost is reduced and the utilization rate of storage space is improved.

此外,本申请实施例也提供了一种计算机存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述任意方法实施例中的实现容器运行时数据存储的方法。In addition, the embodiments of the present application also provide a computer storage medium, the computer storage medium stores computer-executable instructions, and the computer-executable instructions can execute the method for implementing container runtime data storage in any of the above method embodiments.

本申请实施例还提供了实现容器运行时数据存储的方法的计算机程序产品,包括存储了程序代码的计算机可读存储介质,所述程序代码包括的指令可用于执行前面方法实施例中所述的方法,具体实现可参见方法实施例,在此不再赘述。The embodiment of the present application also provides a computer program product for implementing the method for container runtime data storage, including a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the method described in the preceding method embodiment. For the specific implementation of the method, reference may be made to the method embodiments, which will not be repeated here.

本申请实施例所提供的实现容器运行时数据存储的装置可以为设备上的特定硬件或者安装于设备上的软件或固件等。本申请实施例所提供的装置,其实现原理及产生的技术效果和前述方法实施例相同,为简要描述,装置实施例部分未提及之处,可参考前述方法实施例中相应内容。所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,前述描述的系统、装置和单元的具体工作过程,均可以参考上述方法实施例中的对应过程,在此不再赘述。The device for implementing container runtime data storage provided in the embodiment of the present application may be specific hardware on the device or software or firmware installed on the device. The implementation principles and technical effects of the device provided by the embodiment of the present application are the same as those of the aforementioned method embodiment. For brief description, for the parts not mentioned in the device embodiment, reference may be made to the corresponding content in the aforementioned method embodiment. Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, devices, and units can refer to the corresponding processes in the above-mentioned method embodiments, and will not be repeated here.

在本申请所提供的实施例中,应该理解到,所揭露装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some communication interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请提供的实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in the embodiments provided by the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释,此外,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。It should be noted that like numerals and letters denote similar items in the following drawings, therefore, once an item is defined in one drawing, it does not require further definition and explanation in subsequent drawings, In addition, the terms "first", "second", "third", etc. are only used for distinguishing descriptions, and should not be construed as indicating or implying relative importance.

最后应说明的是:以上所述实施例,仅为本申请的具体实施方式,用以说明本申请的技术方案,而非对其限制,本申请的保护范围并不局限于此,尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本申请实施例技术方案的精神和范围。都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。Finally, it should be noted that: the above-described embodiments are only specific implementations of the application, used to illustrate the technical solutions of the application, rather than limiting it, and the scope of protection of the application is not limited thereto, although referring to the aforementioned The embodiment has described this application in detail, and those of ordinary skill in the art should understand that any person familiar with this technical field can still modify the technical solutions described in the foregoing embodiments within the technical scope disclosed in this application Changes can be easily imagined, or equivalent replacements can be made to some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application. All should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (11)

CN201810229418.8A2018-03-202018-03-20A kind of method and device for realizing the storage of container runtime dataPendingCN108509152A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810229418.8ACN108509152A (en)2018-03-202018-03-20A kind of method and device for realizing the storage of container runtime data

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810229418.8ACN108509152A (en)2018-03-202018-03-20A kind of method and device for realizing the storage of container runtime data

Publications (1)

Publication NumberPublication Date
CN108509152Atrue CN108509152A (en)2018-09-07

Family

ID=63376767

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810229418.8APendingCN108509152A (en)2018-03-202018-03-20A kind of method and device for realizing the storage of container runtime data

Country Status (1)

CountryLink
CN (1)CN108509152A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109669631A (en)*2018-12-102019-04-23浪潮(北京)电子信息产业有限公司A kind of storage pool planing method, device, equipment and computer readable storage medium
CN110276194A (en)*2019-06-212019-09-24联想(北京)有限公司Information processing method, information processing unit and electronic equipment
CN111415146A (en)*2020-06-082020-07-14浙江口碑网络技术有限公司Resource data processing method, device and equipment
CN111679790A (en)*2020-05-262020-09-18中国工商银行股份有限公司Remote software development storage space distribution method and device
CN111767118A (en)*2020-06-242020-10-13中国工商银行股份有限公司Container storage space processing method and device based on distributed file system
CN112612539A (en)*2020-12-182021-04-06北京达佳互联信息技术有限公司Data model unloading method and device, electronic equipment and storage medium
CN113253938A (en)*2021-06-102021-08-13北京世纪好未来教育科技有限公司Data processing method, device, equipment, storage medium and computer program product
CN114064207A (en)*2021-11-102022-02-18南京信易达计算技术有限公司User data container storage method in cloud storage system based on customized LINUX architecture
CN114461228A (en)*2021-08-182022-05-10马上消费金融股份有限公司Object generation method, device, equipment, system and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20050246397A1 (en)*2004-04-302005-11-03Edwards John KCloning technique for efficiently creating a copy of a volume in a storage system
CN106126123A (en)*2016-06-282016-11-16浪潮电子信息产业股份有限公司The method of a kind of host volume distribution, Apparatus and system
CN106970822A (en)*2017-02-202017-07-21阿里巴巴集团控股有限公司A kind of container creation method and device
CN107301022A (en)*2017-06-272017-10-27北京溢思得瑞智能科技研究院有限公司A kind of storage access method and system based on container technique

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20050246397A1 (en)*2004-04-302005-11-03Edwards John KCloning technique for efficiently creating a copy of a volume in a storage system
CN106126123A (en)*2016-06-282016-11-16浪潮电子信息产业股份有限公司The method of a kind of host volume distribution, Apparatus and system
CN106970822A (en)*2017-02-202017-07-21阿里巴巴集团控股有限公司A kind of container creation method and device
CN107301022A (en)*2017-06-272017-10-27北京溢思得瑞智能科技研究院有限公司A kind of storage access method and system based on container technique

Cited By (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109669631B (en)*2018-12-102022-05-27浪潮(北京)电子信息产业有限公司 A storage pool planning method, apparatus, device, and computer-readable storage medium
CN109669631A (en)*2018-12-102019-04-23浪潮(北京)电子信息产业有限公司A kind of storage pool planing method, device, equipment and computer readable storage medium
CN110276194A (en)*2019-06-212019-09-24联想(北京)有限公司Information processing method, information processing unit and electronic equipment
CN111679790A (en)*2020-05-262020-09-18中国工商银行股份有限公司Remote software development storage space distribution method and device
CN111679790B (en)*2020-05-262024-05-14中国工商银行股份有限公司Remote software development storage space allocation method and device
CN111415146A (en)*2020-06-082020-07-14浙江口碑网络技术有限公司Resource data processing method, device and equipment
CN111767118A (en)*2020-06-242020-10-13中国工商银行股份有限公司Container storage space processing method and device based on distributed file system
CN112612539A (en)*2020-12-182021-04-06北京达佳互联信息技术有限公司Data model unloading method and device, electronic equipment and storage medium
CN112612539B (en)*2020-12-182024-02-13北京达佳互联信息技术有限公司Data model unloading method and device, electronic equipment and storage medium
CN113253938A (en)*2021-06-102021-08-13北京世纪好未来教育科技有限公司Data processing method, device, equipment, storage medium and computer program product
CN113253938B (en)*2021-06-102021-11-05北京世纪好未来教育科技有限公司Data processing method, device, equipment, storage medium and computer program product
CN114461228A (en)*2021-08-182022-05-10马上消费金融股份有限公司Object generation method, device, equipment, system and readable storage medium
CN114064207A (en)*2021-11-102022-02-18南京信易达计算技术有限公司User data container storage method in cloud storage system based on customized LINUX architecture

Similar Documents

PublicationPublication DateTitle
CN108509152A (en)A kind of method and device for realizing the storage of container runtime data
US10747724B2 (en)System and method of using data blocks to optimize file storage
US10140461B2 (en)Reducing resource consumption associated with storage and operation of containers
US20130254507A1 (en)Using different secure erase algorithms to erase chunks from a file associated with different security levels
US8806489B2 (en)Virtual machine image distribution network
US10001926B2 (en)Management of extents for space efficient storage volumes by reusing previously allocated extents
CN108322325A (en)A kind of virtual machine management method and device
US10162834B2 (en)Fine-grained metadata management in a distributed file system
CN114281263B (en)Storage resource processing method, system and equipment of container cluster management system
CN107423301B (en)Data processing method, related equipment and storage system
CN116382795B (en) System resource calling method and device
US20160132557A1 (en)Materialized query tables with shared data
US20170272546A1 (en)Blocking an interface of a redirected usb composite device
CN116467704B (en) Resource calling method and device
EP4068091B1 (en)Hybrid approach to performing a lazy pull of container images
CN105446794A (en)Disc operation method, apparatus and system based on virtual machine
CN110908609A (en) Disk processing method, system, device and readable storage medium
CN113296891A (en)Multi-scene knowledge graph processing method and device based on platform
CN109347896B (en)Information processing method, equipment and computer readable storage medium
US20180210770A1 (en)Enabling wpd devices to be managed at the capability level
CN108228842B (en)Docker mirror image library file storage method, terminal, device and storage medium
CN111061541A (en) A method, system, computer storage medium and terminal for creating a virtual machine
CN109684029A (en)Storage content access method, device, electronic equipment and computer storage medium
CN108520401A (en) User list management method, device, platform and storage medium
CN113641446A (en)Memory snapshot creating method, device and equipment and readable storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20180907


[8]ページ先頭

©2009-2025 Movatter.jp