CN114721592A - Micro-service storage platform suitable for cold data and use method thereof - Google Patents
Micro-service storage platform suitable for cold data and use method thereof Download PDFInfo
- Publication number
- CN114721592A CN114721592A CN202210248644.7A CN202210248644A CN114721592A CN 114721592 A CN114721592 A CN 114721592A CN 202210248644 A CN202210248644 A CN 202210248644A CN 114721592 A CN114721592 A CN 114721592A
- Authority
- CN
- China
- Prior art keywords
- data
- user
- microservice
- service layer
- storage
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0662—Virtualisation aspects
- G06F3/0667—Virtualisation aspects at data level, e.g. file, record or object virtualisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/067—Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
- H04L61/103—Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明提供一种适用于冷数据的微服务存储平台及其使用方法。所述存储平台,包括:web服务层,配置有虚拟ip,用于为用户指定数据服务层地址及唯一的数据访问端口,基于所述虚拟ip接收用户的访问;数据服务层,配置有至少一个微服务组及至少一个存储空间,至少一个存储空间通过文件映射的方式被映射相应的微服务组;每个微服务组及相应的存储空间为一个用户单独所有,用户基于虚拟ip访问时通过指定的数据服务层地址及唯一的数据访问端口,进而访问自己的微服务组及存储空间。用户的存储资源隔离,减小了外部因素的干扰,并能根据用户的操作习惯对整个存储资源进行冷热调度,当用户存储数据转冷,存储资源可以离线,计算资源和存储资源得到完全释放。
The present invention provides a microservice storage platform suitable for cold data and a method for using the same. The storage platform includes: a web service layer, configured with a virtual IP, for specifying a data service layer address and a unique data access port for users, and receiving user access based on the virtual IP; a data service layer, configured with at least one The microservice group and at least one storage space, at least one storage space is mapped to the corresponding microservice group by file mapping; each microservice group and the corresponding storage space are owned by a user alone, and the user can specify it when accessing based on the virtual IP. The address of the data service layer and the unique data access port, and then access to its own microservice group and storage space. The user's storage resources are isolated, which reduces the interference of external factors, and can perform hot and cold scheduling of the entire storage resources according to the user's operating habits. When the user's storage data becomes cold, the storage resources can be offline, and the computing resources and storage resources are completely released. .
Description
技术领域technical field
本发明涉及对象存储技术领域,尤其涉及一种适用于冷数据的微服务存储平台及其使用方法。The invention relates to the technical field of object storage, in particular to a microservice storage platform suitable for cold data and a method for using the same.
背景技术Background technique
对象存储,也称为基于对象的存储,是一种数据的存储形式,其策略是将数据存储作为不同单元进行管理和操作,其中每个存储的数据单元称为对象。这些对象可以是任何类型的数据和任何大小的数据,常见的有pdf、音频、图像或视频文件。对象存储中,所有对象都存储在单个平面地址空间中,即单个存储池库中,而没有文件夹层次结构,不会与其他文件夹中的文件绑定到一起。与文件类型和块类型存储不同,对象存储会为对象添加全面的元数据。元数据有助于理解和分析大型文件,而无需直接处理文件中包含的内容,是对象存储成功的关键,它可以对存储池中数据的使用和功能进行深入分析。Object storage, also known as object-based storage, is a form of data storage whose strategy is to manage and operate data storage as different units, where each stored data unit is called an object. These objects can be any type of data and data of any size, common are pdf, audio, image or video files. In object storage, all objects are stored in a single flat address space, i.e. in a single storage pool repository, without a folder hierarchy and not tied to files in other folders. Unlike file type and block type storage, object storage adds comprehensive metadata to objects. Metadata helps to understand and analyze large files without having to deal directly with the content contained in the files, and is the key to the success of object storage, enabling deep analysis of the usage and functionality of the data in the storage pool.
对象存储具有出色的数据分析能力,它由元数据驱动,对每个数据片段进行级别的分类后,分析机会就大得多。可扩展性极高,可以永久持续地添加数据,没有限制。数据检索速度更快,由于对象存储的分类结构以及没有文件夹层次结构,因此可以更快地检索数据。成本降低,由于对象存储的横向扩展特性,因此能够以较低的成本存储所有数据。资源优化,由于对象存储没有归档层次结构,而且元数据可以完全自定义,因此限制比文件或块存储的要少得多。Object storage has excellent data analysis capabilities, it is driven by metadata, and once each piece of data is classified at the level, the analysis opportunities are much greater. Extremely scalable, data can be added permanently and continuously without limit. Faster data retrieval due to the categorical structure of object storage and the absence of folder hierarchies. Cost reduction, with the ability to store all data at a lower cost due to the scale-out nature of object storage. Resource optimization, since object storage has no archive hierarchy and metadata is fully customizable, it is much less restrictive than file or block storage.
通用的对象存储系统实现虽然种类繁多,但一般情况下用户的计算资源和存储资源在后端是混淆在一起的,并没有做有效的隔离措施。首先,由于用户的资源在存储上并没有做分离,这使得在用户级别进行的数据转冷操作,存在数据拷贝,并不方便、快速、有效。其次,即使用户存储资源在后端是分离的,数据存储资源的转冷,也会因为用户元数据等的计算资源的混淆而持续消耗存储系统资源,冷数据所在存储池不能完全释放,从而存储资源不能离线。因此现有的通用对象存储系统并不适用于提供针对冷数据的用户级别的对象存储服务。Although there are many types of general object storage system implementations, in general, the user's computing resources and storage resources are confused in the backend, and no effective isolation measures are taken. First of all, because the user's resources are not separated in storage, this makes the data cold operation performed at the user level and data copying, which is inconvenient, fast, and effective. Second, even if user storage resources are separated at the back end, the cooling of data storage resources will continue to consume storage system resources due to the confusion of computing resources such as user metadata, and the storage pool where the cold data is located cannot be completely released. Resources cannot be offline. Therefore, the existing general object storage systems are not suitable for providing user-level object storage services for cold data.
发明内容SUMMARY OF THE INVENTION
针对现有对象存储系统无法提供针对冷数据的用户级别的对象存储服务的问题,本发明实施例提供一种适用于冷数据的微服务存储平台及其使用方法。Aiming at the problem that existing object storage systems cannot provide user-level object storage services for cold data, embodiments of the present invention provide a microservice storage platform suitable for cold data and a method for using the same.
第一方面,本发明实施例提供一种适用于冷数据的微服务存储平台,包括:In a first aspect, an embodiment of the present invention provides a microservice storage platform suitable for cold data, including:
web服务层,配置有虚拟ip,用于为用户指定数据服务层地址及唯一的数据访问端口,基于所述虚拟ip接收用户的访问;The web service layer is configured with a virtual ip, which is used to specify a data service layer address and a unique data access port for the user, and receives the user's access based on the virtual ip;
数据服务层,配置有至少一个微服务组及至少一个存储空间,所述至少一个存储空间通过文件映射的方式被映射相应的微服务组;每个微服务组及相应的存储空间为一个用户单独所有,用户基于所述虚拟ip访问时通过指定的数据服务层地址及唯一的数据访问端口,进而访问自己的微服务组及存储空间。The data service layer is configured with at least one microservice group and at least one storage space, and the at least one storage space is mapped to the corresponding microservice group by means of file mapping; each microservice group and corresponding storage space are separate for a user All, the user accesses his own microservice group and storage space through the specified data service layer address and unique data access port when accessing based on the virtual IP.
在一些实施方式中,所述web服务层还用于:In some embodiments, the web services layer is also used to:
在接收到用户的申请将存储空间中数据转为冷数据或热数据的调度请求时,向所述数据服务层发送调度请求,以使所述数据服务层将用户的存储空间中数据转为冷数据或热数据。When receiving a scheduling request for converting the data in the storage space to cold data or hot data from the user's application, send a scheduling request to the data service layer, so that the data service layer converts the data in the user's storage space to cold data data or hot data.
在一些实施方式中,所述微服务组包括容器组。In some implementations, the microservice group includes a container group.
在一些实施方式中,所述存储空间包括磁盘阵列。In some embodiments, the storage space includes a disk array.
在一些实施方式中,所述web服务层还配置有保活组,用于实现虚拟ip作为用户访问的统一入口。In some embodiments, the web service layer is further configured with a keep-alive group, which is used to implement the virtual IP as a unified entry for user access.
在一些实施方式中,同一所述虚拟ip能够被多个所述web服务层配置,同一时间的同一网络中仅一个虚拟ip能够被地址解析协议广播使用。In some embodiments, the same virtual ip can be configured by multiple web service layers, and only one virtual ip in the same network at the same time can be broadcast and used by the address resolution protocol.
第二方面,本发明实施例提供一种所述适用于冷数据的微服务存储平台的使用方法,包括:In a second aspect, an embodiment of the present invention provides a method for using the microservice storage platform suitable for cold data, including:
通过虚拟ip访问web服务层,发出新增用户的请求;Access the web service layer through the virtual ip, and issue a request for a new user;
web服务层为新增用户指定数据服务层的地址和唯一的数据访问端口;The web service layer specifies the address of the data service layer and the unique data access port for new users;
数据服务层为新增用户分配存储空间;The data service layer allocates storage space for new users;
数据服务层为新增用户启动所述存储空间对应的微服务组。The data service layer starts the microservice group corresponding to the storage space for the newly added user.
在一些实施方式中,所述数据服务层为新增用户启动所述存储空间对应的微服务组之后,还包括:In some embodiments, after the data service layer starts the microservice group corresponding to the storage space for the newly added user, the method further includes:
数据服务层更新新增用户的相关信息,包括为新增用户指定的数据服务层的地址和唯一的数据访问端口。The data service layer updates the relevant information of the new user, including the address of the data service layer and the unique data access port designated for the new user.
第三方面,本发明实施例提供一种所述适用于冷数据的微服务存储平台的使用方法,包括:In a third aspect, an embodiment of the present invention provides a method for using the microservice storage platform suitable for cold data, including:
通过虚拟ip及唯一的数据访问端口访问用户的微服务组;Access the user's microservice group through virtual ip and unique data access port;
通过微服务组操作用户的存储空间。Operate the user's storage space through the microservice group.
第四方面,本发明实施例提供一种所述适用于冷数据的微服务存储平台的使用方法,包括:In a fourth aspect, an embodiment of the present invention provides a method for using the microservice storage platform suitable for cold data, including:
web服务层获取用户针对其存储空间中数据的冷热调度请求;The web service layer obtains the user's hot and cold scheduling requests for the data in its storage space;
web服务层将所述冷热调度请求发送至用户的数据服务层的地址;The web service layer sends the hot and cold scheduling request to the address of the user's data service layer;
数据服务层根据所述冷热调度请求将用户的存储空间中数据整体转为冷数据或热数据。The data service layer converts the data in the user's storage space into cold data or hot data as a whole according to the cold and hot scheduling request.
与现有技术相比,本发明的一个或多个实施例至少具有如下有益效果:Compared with the prior art, one or more embodiments of the present invention have at least the following beneficial effects:
本发明中,每个用户拥有唯一的微服务组、唯一的存储空间、唯一访问端口。微服务组通过文件映射的方式,将存储空间映射进微服务组,用户可以通过自有的唯一访问端口访问自己的微服务组,从而访问自己的存储空间。利用微服务搭建为用户提供完全独立的存储空间,使得用户的业务运行独立,存储资源隔离,减小了外部因素的干扰,并能根据用户的操作习惯对整个存储资源进行冷热的调度,当用户存储数据转冷,存储资源可以离线,计算资源和存储资源得到完全的释放。In the present invention, each user has a unique micro-service group, a unique storage space, and a unique access port. The microservice group maps the storage space into the microservice group through file mapping. Users can access their own microservice group through their own unique access port, thereby accessing their own storage space. The use of microservices to provide users with completely independent storage space enables users to operate independently, isolate storage resources, reduce the interference of external factors, and schedule the entire storage resources hot and cold according to the user's operating habits. User storage data becomes cold, storage resources can be offline, and computing resources and storage resources are completely released.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the embodiments. It should be understood that the following drawings only show some embodiments of the present invention, and therefore do not should be seen as a limitation of scope.
图1是本发明实施例提供的一种适用于冷数据的微服务存储平台示意图;1 is a schematic diagram of a microservice storage platform suitable for cold data provided by an embodiment of the present invention;
图2是本发明实施例提供的一种适用于冷数据的微服务存储平台的流程图;2 is a flowchart of a microservice storage platform suitable for cold data provided by an embodiment of the present invention;
图3是本发明实施例提供的一种适用于冷数据的微服务存储平台的流程图;3 is a flowchart of a microservice storage platform suitable for cold data provided by an embodiment of the present invention;
图4是本发明实施例提供的一种适用于冷数据的微服务存储平台的流程图。FIG. 4 is a flowchart of a microservice storage platform suitable for cold data provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. The components of the embodiments of the invention generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations. Thus, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the invention as claimed, but is merely representative of selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present invention.
MAID(即Massive Arrays of Idle Disks)技术,是大规模非活动磁盘阵列存储。全球网络存储工业协会(Storage Networking Industry Association,SNIA)对MAID的定义是:A storage system comprising an array of disk drives that are powereddown individually or in groups when not required。MAID storage systems reducethe power consumed by a storage array。MAID (ie Massive Arrays of Idle Disks) technology is a large-scale inactive disk array storage. The Storage Networking Industry Association (SNIA) defines MAID as: A storage system comprising an array of disk drives that are powered down individually or in groups when not required. MAID storage systems reduce the power consumed by a storage array.
MAID技术在磁带库工作模式的基础上提出和发展起来的。磁带库的工作原理是正常状态下所有的磁带都放置在磁带库的槽位中,需要某盘磁带时才将它放在磁带机中,然后进行数据读写。而在大部分时间,大多数磁带是处在非工作状态的。MAID应用了同样的原理,只有需要时才将一部分磁盘开机运转,而其他磁盘通常处于断电状态,就像磁带库中的磁带一样。因此应用的MAID技术的磁盘存储也可以称之为磁盘库。MAID technology is proposed and developed on the basis of the working mode of tape library. The working principle of the tape library is that all tapes are placed in the slots of the tape library under normal conditions. When a tape is needed, it is placed in the tape drive, and then data is read and written. And most of the time, most tapes are inactive. MAID applies the same principle, turning some disks on only when needed, while other disks are usually powered off, like tapes in a tape library. Therefore, the disk storage of the applied MAID technology can also be called a disk library.
MAID极大地满足了目前流行的“绿色存储”所要求的绿色、环保和节能的特点,存储设备中的所有磁盘并不是每时每刻都处于Active和Power ON状态,大部分硬盘处于Power OFF状态,只有系统需要进行读写访问时,硬盘才会重新Power ON。MAID存储中SATA硬盘启动的时间大约为10秒。处于Power ON状态的硬盘经过一定空闲时间(时间段长度可根据系统的访问特点、频度来预先设定)后,根据策略重新下点,变成Power OFF状态,以达到节点、环保、延长硬盘使用寿命的功能。MAID greatly satisfies the green, environmental protection and energy-saving features required by the current popular "green storage". Not all disks in the storage device are in Active and Power ON states all the time, and most hard disks are in Power OFF state. , the hard disk will be Power ON again only when the system needs to read and write access. The boot time of a SATA hard drive in MAID storage is about 10 seconds. After the hard disk in the Power ON state has passed a certain idle time (the length of the time period can be preset according to the access characteristics and frequency of the system), it will be restarted according to the strategy and become the Power OFF state, so as to achieve node, environmental protection and extension of the hard disk. function of service life.
随着越来越多的软件项目因系统组件水平扩展,敏捷开发,持续集成,解耦等各种需求转向微服务架构,微服务极大地改变了软件的开发和交付模式。微服务是一种软件开发技术,是面向服务的体系结构架构样式的一种变体,它提倡将单一应用程序划分成一组小的服务,服务之间互相协调、互相配合,为用户提供最终价值。每个服务运行在其独立的进程中,服务与服务间采用轻量级的通信机制互相沟通。每个服务都围绕着具体业务进行构建,并且能够独立地部署到生产环境、类生产环境等。另外,尽量避免统一的、集中式的服务管理机制。容器,就是一种常见的实现微服务的手段。它使用沙箱机制,让开发者可以打包他们的应用以及依赖包到一个可移植的容器中,然后发布到任何流行的Linux机器或Windows机器上,也可以实现虚拟化。As more and more software projects turn to the microservice architecture due to various requirements such as horizontal expansion of system components, agile development, continuous integration, and decoupling, microservices have greatly changed the development and delivery model of software. Microservice is a software development technology and a variant of service-oriented architecture architecture style. It advocates dividing a single application into a set of small services, and the services coordinate and cooperate with each other to provide users with the ultimate value. . Each service runs in its independent process, and the services communicate with each other using a lightweight communication mechanism. Each service is built around a specific business and can be independently deployed to production environments, production-like environments, etc. In addition, try to avoid a unified, centralized service management mechanism. Containers are a common way to implement microservices. It uses a sandboxing mechanism that allows developers to package their applications and dependencies into a portable container, and distribute them to any popular Linux or Windows machine, which can also be virtualized.
本发明为了解决现有对象存储系统无法提供针对冷数据的用户级别的对象存储服务的问题,提供一种改变通用对象存储系统直接构建于机器操作系统之上,为用户提供统一使用入口的形式,结合微服务,用户计算资源、存储资源完全独立的,用户存储数据转冷后,磁盘可以完全离线的存储平台。In order to solve the problem that the existing object storage system cannot provide the user-level object storage service for cold data, the present invention provides a form of changing the general object storage system to be directly built on the machine operating system to provide users with a unified use entry. Combined with microservices, user computing resources and storage resources are completely independent, and after the user's storage data is cooled, the disk can be completely offline storage platform.
下面通过几个实施例来说明本发明的具体实施方式。The specific embodiments of the present invention will be described below through several embodiments.
实施例一Example 1
图1示出一种适用于冷数据的微服务存储平台示意图,如图1所示,本实施例提供的适用于冷数据的微服务存储平台,包括:Figure 1 shows a schematic diagram of a microservice storage platform suitable for cold data. As shown in Figure 1, the microservice storage platform suitable for cold data provided by this embodiment includes:
web服务层,配置有虚拟ip,用于为用户指定数据服务层地址及唯一的数据访问端口,基于虚拟ip接收用户的访问;The web service layer is configured with a virtual ip, which is used to specify the address of the data service layer and the unique data access port for the user, and receives the user's access based on the virtual ip;
数据服务层,配置有至少一个微服务组及至少一个存储空间,至少一个存储空间通过文件映射的方式被映射相应的微服务组;每个微服务组及相应的存储空间为一个用户单独所有,用户基于虚拟ip访问时通过指定的数据服务层地址及唯一的数据访问端口,进而访问自己的微服务组及存储空间。The data service layer is configured with at least one microservice group and at least one storage space, and at least one storage space is mapped to the corresponding microservice group through file mapping; each microservice group and the corresponding storage space are owned by a single user, Users can access their own microservice groups and storage space through the specified data service layer address and unique data access port when accessing based on the virtual IP.
本实施例的存储平台,用户的计算资源和存储资源可以实现有效的隔离措施,能在用户级别上进行数据转冷操作,数据拷贝十分方便、快速、有效。而且,由于用户存储资源的隔离,数据存储资源的转冷不会持续消耗存储系统资源,冷数据所在存储空间可以完全释放,从而存储资源能够离线,实现针对冷数据的用户级别的对象存储服务。In the storage platform of this embodiment, effective isolation measures can be implemented for the computing resources and storage resources of the user, data transfer operation can be performed at the user level, and data copying is very convenient, fast and effective. Moreover, due to the isolation of user storage resources, the cooling of data storage resources will not continuously consume storage system resources, and the storage space where cold data is located can be completely released, so that storage resources can be offline, and user-level object storage services for cold data can be realized.
在一些实施方式中,微服务组包括容器组,用于进行用户存储业务,将用户的存储空间通过文件映射的方式映射到容器组,一组容器为一个用户所独有。In some embodiments, the microservice group includes a container group, which is used for user storage business, and maps the user's storage space to the container group by means of file mapping, and a group of containers is unique to one user.
在一些实施方式中,存储空间实现为一个存储池,该存储池中包括磁盘阵列,磁盘阵列是以用户为单位的磁盘组,每一磁盘组为相应的用户提供存储空间。In some embodiments, the storage space is implemented as a storage pool, and the storage pool includes disk arrays. The disk array is a disk group in units of users, and each disk group provides storage space for a corresponding user.
在一些实施方式中,web服务层还配置有保活组,用于实现虚拟ip作为用户访问的统一入口。同一虚拟ip能够被多个web服务层配置,但同一时间的同一网络中仅一个虚拟ip能够被地址解析协议(Address Resolution Protocol,ARP)广播使用。In some embodiments, the web service layer is further configured with a keep-alive group for implementing the virtual IP as a unified entry for user access. The same virtual IP can be configured by multiple web service layers, but only one virtual IP in the same network at the same time can be broadcast and used by the Address Resolution Protocol (ARP).
在一些实施方式中,web服务层还用于:In some embodiments, the web services layer is also used to:
在接收到用户的申请将存储空间中数据转为冷数据或热数据的调度请求时,向所述数据服务层发送调度请求,以使数据服务层将用户的存储空间中数据转为冷数据或热数据。When receiving a scheduling request for converting the data in the storage space into cold data or hot data from the user, a scheduling request is sent to the data service layer, so that the data service layer converts the data in the user's storage space into cold data or hot data. Hot data.
为了提供一种用户级别适用于冷数据的微服务存储平台,尤其是解决常见的通用性对象存储平台对于用户的计算资源和存储资源混淆的问题,本实施例的存储平台,首先搭建专属于每个用户的微服务组(容器组)并提供完全独立的存储空间,其次是针对每个用户分配全局唯一端口的访问路径。In order to provide a user-level microservice storage platform suitable for cold data, especially to solve the problem of confusion between users' computing resources and storage resources in a common general-purpose object storage platform, the storage platform in this embodiment first builds a storage platform dedicated to each A microservice group (container group) for each user and provides a completely independent storage space, followed by an access path that allocates a globally unique port for each user.
本实施例的存储平台中,每个用户拥有唯一的微服务组、唯一的存储空间、唯一访问端口。微服务组通过文件映射的方式,将存储空间映射进微服务组,用户可以通过自有的唯一访问端口访问自己的微服务组,从而访问自己的存储空间。In the storage platform of this embodiment, each user has a unique microservice group, a unique storage space, and a unique access port. The microservice group maps the storage space into the microservice group through file mapping. Users can access their own microservice group through their own unique access port, thereby accessing their own storage space.
利用微服务搭建用户独有的容器组,提供完全独立的存储空间,使得用户的业务运行独立,存储资源隔离,减小了外部因素的干扰,并能根据用户的操作习惯对整个存储资源进行冷热的调度。针对每个用户分配全局唯一端口的访问路径,能够消除传统提供统一入口造成的计算资源混淆、中心化相对较强的问题,使得用户通过独有的访问端口对存储资源进行操作,逻辑明了,访问简单,去中心化,提高了可靠性,并达到计算资源分离的目的,是一种用于冷数据的高可靠性且安全的微服务存储平台,使得用户资源完全独立,当用户存储数据转冷,存储资源可以离线,计算资源和存储资源得到完全的释放。Use microservices to build a user's unique container group to provide a completely independent storage space, so that the user's business operation is independent, the storage resources are isolated, the interference of external factors is reduced, and the entire storage resources can be cooled according to the user's operating habits. Hot scheduling. Assigning an access path to a globally unique port for each user can eliminate the confusion and relatively strong centralization of computing resources caused by the traditional provision of a unified portal, allowing users to operate storage resources through unique access ports, with clear logic and easy access. Simple, decentralized, improves reliability, and achieves the purpose of separating computing resources. It is a highly reliable and secure microservice storage platform for cold data, which makes user resources completely independent. When user storage data becomes cold , storage resources can be offline, computing resources and storage resources are completely released.
实施例二Embodiment 2
本实施例提供一种前述实施例中的适用于冷数据的微服务存储平台的使用方法,如图2所示,至少包括步骤S201~步骤S204:This embodiment provides a method for using the microservice storage platform suitable for cold data in the foregoing embodiment, as shown in FIG. 2 , at least including steps S201 to S204:
步骤S201、通过虚拟ip访问web服务层,发出新增用户的请求;Step S201, accessing the web service layer through the virtual ip, and issuing a request for adding a new user;
步骤S202、web服务层为新增用户指定数据服务层的地址和唯一的数据访问端口;Step S202, the web service layer specifies the address of the data service layer and the unique data access port for the newly added user;
步骤S203、数据服务层为新增用户分配存储空间;Step S203, the data service layer allocates storage space for the newly added user;
步骤S204、数据服务层为新增用户启动存储空间对应的微服务组。Step S204, the data service layer starts a microservice group corresponding to the storage space for the newly added user.
在一些实施方式中,数据服务层为新增用户启动存储空间对应的微服务组之后,还包括:In some embodiments, after the data service layer starts the microservice group corresponding to the storage space for the newly added user, it further includes:
步骤S205、数据服务层更新新增用户的相关信息,包括为新增用户指定的数据服务层的地址和唯一的数据访问端口。Step S205, the data service layer updates the relevant information of the newly added user, including the address of the data service layer and the unique data access port designated for the newly added user.
本实施例是注册新用户的流程,用户通过虚拟ip访问web服务层,发出新增用户的请求,在请求新增的用户为已存在的注册用户时,请求失败,流程结束,而当请求新增的用户符合未注册用户时,允许其请求,由web服务层为新增用户指定数据服务层的地址和唯一的数据访问端口,进而由数据服务层为新增用户分配存储空间并启动存储空间对应的微服务组,使新增的用户可以基于虚拟ip访问时通过指定的数据服务层地址及唯一的数据访问端口,进而访问自己的微服务组及存储空间。This embodiment is the process of registering a new user. The user accesses the web service layer through a virtual IP and sends a request for adding a new user. When the new user is requested to be an existing registered user, the request fails and the process ends. When the added user matches an unregistered user, its request is allowed. The web service layer specifies the address of the data service layer and a unique data access port for the new user, and then the data service layer allocates storage space for the new user and starts the storage space. The corresponding microservice group enables newly added users to access their own microservice group and storage space through the specified data service layer address and unique data access port when accessing based on the virtual IP.
实施例三Embodiment 3
本实施例提供一种前述实施例中适用于冷数据的微服务存储平台的使用方法,如图3所示,包括步骤S301~步骤S302:This embodiment provides a method for using the microservice storage platform suitable for cold data in the foregoing embodiment, as shown in FIG. 3 , including steps S301 to S302:
步骤S301、通过虚拟ip及唯一的数据访问端口访问用户的微服务组;Step S301, access the user's microservice group through the virtual ip and the unique data access port;
步骤S302、通过微服务组操作用户的存储空间。Step S302, operating the storage space of the user through the microservice group.
本实施例中,在用户未注册或其他非法权限的情况下,用户通过虚拟ip及自己独有的数据访问端口访问自己的微服务组时,无法通过微服务组操作用户的存储空间,而当用户已注册的情况下,通过虚拟ip及自己独有的数据访问端口访问主机的微服务组,可以通过微服务组操作自己独立的存储空间,使得用户的业务运行独立,存储资源隔离,减小了外部因素的干扰,并能根据用户的操作习惯对整个存储资源进行冷热的调度。In this embodiment, when the user is not registered or has other illegal rights, when the user accesses his own microservice group through the virtual IP and his own unique data access port, he cannot operate the user's storage space through the microservice group. When a user is registered, he can access the microservice group of the host through the virtual ip and his own unique data access port, and can operate his own independent storage space through the microservice group, so that the user's business operation is independent, the storage resources are isolated, and the storage space is reduced. It avoids the interference of external factors, and can perform hot and cold scheduling of the entire storage resources according to the user's operating habits.
实施例四Embodiment 4
本实施例提供一种前述实施例中适用于冷数据的微服务存储平台的使用方法,如图4所示,包括步骤S401~S403:This embodiment provides a method for using the microservice storage platform suitable for cold data in the foregoing embodiment, as shown in FIG. 4 , including steps S401 to S403:
步骤S401、web服务层获取用户针对其存储空间中数据的冷热调度请求;Step S401, the web service layer obtains a user's hot and cold scheduling request for data in its storage space;
步骤S402、web服务层将冷热调度请求发送至用户的数据服务层的地址;Step S402, the web service layer sends the hot and cold scheduling request to the address of the user's data service layer;
步骤S403、数据服务层根据冷热调度请求将用户的存储空间中数据整体转为冷数据或热数据。Step S403 , the data service layer converts the data in the user's storage space as a whole into cold data or hot data according to the cold and hot scheduling request.
本实施例是用户存储空间的数据冷热调度流程,web服务层获取用户针对其存储空间中数据的冷热调度请求,并将冷热调度请求发送至用户的数据服务层的地址,数据服务层根据冷热调度请求将用户的存储空间中数据整体转为冷数据或热数据。This embodiment is the data hot and cold scheduling process of the user's storage space. The web service layer obtains the user's cold and hot scheduling request for the data in its storage space, and sends the cold and hot scheduling request to the address of the user's data service layer. The data service layer The data in the user's storage space is converted into cold data or hot data as a whole according to the hot and cold scheduling request.
由于用户对存储空间的独占性,一个用户独占一组微服务,用户之间资源相互独立,所以用户存储资源转冷时,计算及存储资源能得到完全的释放,可以根据用户需求对自己的存储空间数据进行独立的冷热调度,减小了外部因素的干扰,快速地调节整个存储空间数据的冷热。Due to the user's exclusivity of storage space, a user has a group of microservices exclusively, and resources between users are independent of each other. Therefore, when the user's storage resources become cold, the computing and storage resources can be completely released. The spatial data is independently scheduled for hot and cold, which reduces the interference of external factors and quickly adjusts the hot and cold of the entire storage space data.
在本发明实施例所提供的几个实施例中,应该理解到,所揭露的系统和方法,也可以通过其它的方式实现。以上所描述的系统和方法实施例仅仅是示意性的。In the several embodiments provided by the embodiments of the present invention, it should be understood that the disclosed system and method may also be implemented in other manners. The system and method embodiments described above are merely illustrative.
需要说明的是,在本文中,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, herein, the terms "first", "second" and the like in the description and claims of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. The terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion such that a process, method, article or device comprising a list of elements includes not only those elements, but also other not expressly listed elements, or also include elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
虽然本发明所揭露的实施方式如上,但所述的内容只是为了便于理解本发明而采用的实施方式,并非用以限定本发明。任何本发明所属技术领域内的技术人员,在不脱离本发明所揭露的精神和范围的前提下,可以在实施的形式上及细节上作任何的修改与变化,但本发明的专利保护范围,仍须以所附的权利要求书所界定的范围为准。Although the embodiments disclosed in the present invention are as above, the described contents are only the embodiments adopted to facilitate the understanding of the present invention, and are not intended to limit the present invention. Any person skilled in the art to which the present invention belongs, without departing from the spirit and scope disclosed by the present invention, can make any modifications and changes in the form and details of the implementation, but the scope of patent protection of the present invention, The scope as defined by the appended claims shall still prevail.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210248644.7A CN114721592B (en) | 2022-03-14 | 2022-03-14 | Microservice storage platform for cold data and how to use it |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210248644.7A CN114721592B (en) | 2022-03-14 | 2022-03-14 | Microservice storage platform for cold data and how to use it |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114721592A true CN114721592A (en) | 2022-07-08 |
CN114721592B CN114721592B (en) | 2023-06-23 |
Family
ID=82236590
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210248644.7A Active CN114721592B (en) | 2022-03-14 | 2022-03-14 | Microservice storage platform for cold data and how to use it |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114721592B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103442070A (en) * | 2013-08-30 | 2013-12-11 | 华南理工大学 | Private cloud storage resource allocation method based on statistical prediction |
US20200310857A1 (en) * | 2019-03-29 | 2020-10-01 | Hewlett Packard Enterprise Development Lp | Launch web browser applications in microservice-based containers |
CN112019577A (en) * | 2019-05-29 | 2020-12-01 | 中国移动通信集团重庆有限公司 | Exclusive cloud storage implementation method and device, computing equipment and computer storage medium |
CN112214338A (en) * | 2020-11-05 | 2021-01-12 | 北京科东电力控制系统有限责任公司 | Internet of things cloud platform based on flexible deployment of micro-services |
CN112269837A (en) * | 2020-11-17 | 2021-01-26 | 珠海大横琴科技发展有限公司 | Data processing method and device |
CN113868218A (en) * | 2020-06-30 | 2021-12-31 | 阿里巴巴集团控股有限公司 | Data processing method, apparatus, electronic device, and computer-readable storage medium |
-
2022
- 2022-03-14 CN CN202210248644.7A patent/CN114721592B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103442070A (en) * | 2013-08-30 | 2013-12-11 | 华南理工大学 | Private cloud storage resource allocation method based on statistical prediction |
US20200310857A1 (en) * | 2019-03-29 | 2020-10-01 | Hewlett Packard Enterprise Development Lp | Launch web browser applications in microservice-based containers |
CN112019577A (en) * | 2019-05-29 | 2020-12-01 | 中国移动通信集团重庆有限公司 | Exclusive cloud storage implementation method and device, computing equipment and computer storage medium |
CN113868218A (en) * | 2020-06-30 | 2021-12-31 | 阿里巴巴集团控股有限公司 | Data processing method, apparatus, electronic device, and computer-readable storage medium |
CN112214338A (en) * | 2020-11-05 | 2021-01-12 | 北京科东电力控制系统有限责任公司 | Internet of things cloud platform based on flexible deployment of micro-services |
CN112269837A (en) * | 2020-11-17 | 2021-01-26 | 珠海大横琴科技发展有限公司 | Data processing method and device |
Non-Patent Citations (2)
Title |
---|
华为技术有限公司: ""部署指南(专属云)"", 《百度》 * |
华为技术有限公司: ""部署指南(专属云)"", 《百度》, 17 January 2018 (2018-01-17), pages 1 * |
Also Published As
Publication number | Publication date |
---|---|
CN114721592B (en) | 2023-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11741053B2 (en) | Data management system, method, terminal and medium based on hybrid storage | |
US12141099B2 (en) | Scalable multi-tier storage structures and techniques for accessing entries therein | |
CN110663019B (en) | File system for Shingled Magnetic Recording (SMR) | |
CN102209087B (en) | Method and system for MapReduce data transmission in data center having SAN | |
US8291159B2 (en) | Monitoring and updating mapping of physical storage allocation of virtual machine without changing identifier of the storage volume assigned to virtual machine | |
US8402239B2 (en) | Volume management for network-type storage devices | |
US7568037B2 (en) | Apparatus and method for using storage domains for controlling data in storage area networks | |
JP6496626B2 (en) | Heterogeneous integrated memory unit and its extended integrated memory space management method | |
US8397046B2 (en) | Method and apparatus for deploying virtual hard disk to storage system | |
CN108667904B (en) | Docker container remote memory volume management method and system | |
CN103067461B (en) | A kind of metadata management system of file and metadata management method | |
US20140095826A1 (en) | System and method for allocating datastores for virtual machines | |
US20060212495A1 (en) | Method and system for storing data into a database | |
CN102999442B (en) | Towards storage system and the method for media application | |
JP2004013547A (en) | Data allocation method, information processing system | |
CN110806911B (en) | Cloud desktop management and control method, device and system | |
US20060129667A1 (en) | Method of and system for sharing access to cluster of computers | |
US7499980B2 (en) | System and method for an on-demand peer-to-peer storage virtualization infrastructure | |
KR101386161B1 (en) | Apparatus and method for managing compressed image file in cloud computing system | |
CN114721592B (en) | Microservice storage platform for cold data and how to use it | |
JP5278254B2 (en) | Storage system, data storage method and program | |
Shafer | A storage architecture for data-intensive computing | |
CN1228568A (en) | Computer network service device | |
CN116069494A (en) | Heterogeneous resource management method and related equipment | |
WO2017212504A1 (en) | Computer system and method for task assignment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20241125 Address after: 403-406 Dongcheng Building, No. 58 Jianzhong Road, Tianhe District, Guangzhou City, Guangdong Province 510665 Patentee after: Guangzhou Shouyun Intelligent Computing Network Information Technology Co.,Ltd. Country or region after: China Address before: 100102 Building 9, East District, Chaolai high tech Industrial Park, yard 18, ziyue Road, Chaoyang District, Beijing Patentee before: Beijing yunkuanzhiye Network Technology Co.,Ltd. Country or region before: China |