CN103473298B - Data archiving method and device and storage system - Google Patents
Data archiving method and device and storage system Download PDFInfo
- Publication number
- CN103473298B CN103473298B CN201310400145.6A CN201310400145A CN103473298B CN 103473298 B CN103473298 B CN 103473298B CN 201310400145 A CN201310400145 A CN 201310400145A CN 103473298 B CN103473298 B CN 103473298B
- Authority
- CN
- China
- Prior art keywords
- container
- storage
- data
- storage level
- reference information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明公开了一种数据归档方法和装置以及存储系统。所述方法应用于包括数据访问速度不同的至少两个存储层级的存储系统,每一存储层级包含容器,所述方法包括:基于第一存储层级中的第一容器的访问引用信息判断所述第一容器是否需要向第二存储层级迁移,并在判定所述第一容器需要向所述第二存储层级迁移的情况下,在所述第二存储层级确定第二容器,将所述第一容器存储的数据块迁移到所述第二容器中,并将与所述第一容器的容器编号对应的容器地址修改为所述第二容器的容器地址。本发明将存储系统各存储层级作为同一个重删域,数据块迁移过程避免了如重复数据块查询、重写文件元数据等耗时操作,有效提高了归档场景下数据块迁移的效率。
The invention discloses a data archiving method, device and storage system. The method is applied to a storage system including at least two storage levels with different data access speeds, each storage level contains containers, and the method includes: judging the first storage level based on the access reference information of the first container in the first storage level Whether a container needs to be migrated to the second storage level, and if it is determined that the first container needs to be migrated to the second storage level, determine the second container at the second storage level, and transfer the first container The stored data blocks are migrated to the second container, and the container address corresponding to the container number of the first container is changed to the container address of the second container. In the present invention, each storage level of the storage system is used as the same deduplication domain, and the data block migration process avoids time-consuming operations such as repeated data block query, rewriting file metadata, etc., and effectively improves the efficiency of data block migration in the archiving scene.
Description
技术领域technical field
本发明涉及数据存储领域,尤其涉及一种数据归档方法和装置以及存储系统。The invention relates to the field of data storage, in particular to a data archiving method and device and a storage system.
背景技术Background technique
一般可使用带重删功能的设备来减少存储空间,以能够容纳更多数据。重删是指重复数据删除,即把每个文件根据特定算法切割成多个数据块,并在判断哪些数据块是存储系统中已经存储的数据块,哪些数据块是存储系统中没有的数据块,并将没有存储的数据块存储在存储系统所包含的容器中;再修改文件的元数据,使其指向容器中的数据块。其中,文件的元数据是指每个文件对应的描述文件,描述了这个文件由哪些数据块组成以及这些数据块存储于哪些容器。Generally, devices with deduplication function can be used to reduce storage space and accommodate more data. Deduplication refers to the deduplication of data, that is, each file is cut into multiple data blocks according to a specific algorithm, and it is judged which data blocks are already stored in the storage system and which data blocks are not in the storage system. , and store the unstored data blocks in the container included in the storage system; then modify the metadata of the file to point to the data blocks in the container. Wherein, the metadata of a file refers to a description file corresponding to each file, which describes which data blocks the file consists of and which containers these data blocks are stored in.
为节省数据维护成本,可以进行数据归档,即将数据按活跃程度存储于不同数据访问速度的存储层级的容器(container)中,例如活跃层(Active tier)容器用于存储不到90天的数据,而保留层(Retention tier)容器用于存储时间久并且访问频率低的数据,其中保留层容器可为例如SATA(SerialAdvanced Technology Attachment,串行高级技术附件)磁盘、阵列等的低数据访问速度的存储介质。因此,为了实现数据归档,需要一种数据迁移的方案,以将访问频率低的数据放置在低数据访问速度的存储介质上。In order to save data maintenance costs, data archiving can be carried out, that is, data is stored in containers (containers) of storage levels with different data access speeds according to the degree of activity. For example, active tier containers are used to store data less than 90 days old. The retention layer (Retention tier) container is used to store data with a long time and low access frequency, where the retention layer container can be a storage with low data access speed such as SATA (Serial Advanced Technology Attachment, Serial Advanced Technology Attachment) disk, array, etc. medium. Therefore, in order to implement data archiving, a data migration solution is needed to place data with low access frequency on a storage medium with low data access speed.
现有技术中,在归档场景下,进行重删数据迁移时,首先找出在某一层级存储到期的文件,然后判断下一层级的容器中是否存储了该文件的数据块,并将未存储的数据块存入下一层级的容器,最后修改该文件的元数据。In the prior art, in the archiving scenario, when performing deduplication data migration, first find out the expired file stored at a certain level, and then determine whether the data block of the file is stored in the container at the next level, and transfer the unused The stored data blocks are stored in the next-level container, and the metadata of the file is finally modified.
对于上述技术,由于每个层级是分别查重的,即每个层级是独立的重删域,多个层级之间可能存在重复的数据块,从而造成数据迁移过程要进行重复数据块查询、重写文件元数据等耗时操作。For the above technology, since each level is checked separately, that is, each level is an independent deduplication domain, there may be duplicate data blocks between multiple levels, resulting in the process of data migration requiring repeated data block query, re-duplication Time-consuming operations such as writing file metadata.
发明内容Contents of the invention
技术问题technical problem
有鉴于此,本发明要解决的技术问题是,如何解决归档场景下数据块迁移过程要进行重复数据块查询、重写文件元数据等耗时操作问题。In view of this, the technical problem to be solved by the present invention is how to solve the problem of time-consuming operations such as repeated data block query and rewriting of file metadata during the data block migration process in the archiving scenario.
解决方案solution
为了解决上述技术问题,根据本发明的一实施例,提供了一种数据归档方法,应用于包括数据访问速度不同的至少两个存储层级的存储系统,每一存储层级包含容器;所述容器是指存储数据块的逻辑存储单元,并且任意两个所述容器内的数据块互不相同;所述存储系统包括容器映射表,所述容器映射表用于记录任一所述容器的容器编号与容器地址的对应关系,所述容器地址是指容器在存储系统中的地址。In order to solve the above technical problems, according to an embodiment of the present invention, a data archiving method is provided, which is applied to a storage system including at least two storage levels with different data access speeds, each storage level includes a container; the container is Refers to a logical storage unit for storing data blocks, and the data blocks in any two containers are different from each other; the storage system includes a container mapping table, and the container mapping table is used to record the container number and A correspondence relationship of container addresses, where the container address refers to an address of the container in the storage system.
所述数据归档方法包括:基于第一存储层级中的第一容器的访问引用信息判断所述第一容器是否需要向第二存储层级迁移,其中,所述访问引用信息包括引用次数和访问次数中的至少一种,所述引用次数表示所述第一容器被引用的次数,所述访问次数表示所述第一容器在预定时间段内被访问的次数;在判定所述第一容器需要向所述第二存储层级迁移的情况下,在所述第二存储层级确定第二容器,将所述第一容器存储的数据块迁移到所述第二容器中,并将所述容器映射表中与所述第一容器的容器编号对应的容器地址修改为所述第二容器的容器地址。The data archiving method includes: judging whether the first container needs to be migrated to the second storage level based on the access reference information of the first container in the first storage level, wherein the access reference information includes reference times and access times At least one of, the number of references indicates the number of times the first container is referenced, and the number of accesses indicates the number of times the first container is accessed within a predetermined period of time; In the case of migration at the second storage level, the second container is determined at the second storage level, the data blocks stored in the first container are migrated to the second container, and the container mapping table and The container address corresponding to the container number of the first container is changed to the container address of the second container.
对于上述数据归档方法,在所述第二存储层级的数据访问速度低于所述第一存储层级的数据访问速度的情况下,在一种可能的实现方式中,所述基于第一存储层级中的第一容器的访问引用信息判断所述第一容器是否需要向第二存储层级迁移,包括:基于所述存储系统中的文件的存储时间,判断所述文件是否到期;若判定所述文件到期,则将存储所述文件包括的数据块的容器作为所述第一容器;基于所述第一容器的访问引用信息,判断所述第一容器是否需要向第二存储层级迁移。For the above data archiving method, when the data access speed of the second storage level is lower than the data access speed of the first storage level, in a possible implementation, the Judging whether the first container needs to be migrated to the second storage level based on the access reference information of the first container includes: judging whether the file expires based on the storage time of the file in the storage system; if it is determined that the file When it expires, the container storing the data blocks included in the file is used as the first container; based on the access reference information of the first container, it is judged whether the first container needs to be migrated to the second storage level.
对于上述数据归档方法,在所述第二存储层级的数据访问速度高于所述第一存储层级的数据访问速度的情况下,在一种可能的实现方式中,所述基于第一存储层级中的第一容器的访问引用信息判断所述第一容器是否需要向第二存储层级迁移,包括:在根据文件的写入、删除、和/或读取而更新了所述存储系统中的任一容器的访问引用信息的情况下,将访问引用信息更新了的容器作为所述第一容器,基于所述第一容器更新后的访问引用信息,判断所述第一容器是否需要向第二存储层级迁移;或者将各所述存储层级中的各容器分别作为所述第一容器,基于所述第一容器的访问引用信息,判断所述第一容器是否需要向第二存储层级迁移。For the above data archiving method, when the data access speed of the second storage level is higher than the data access speed of the first storage level, in a possible implementation, the Judging whether the first container needs to be migrated to the second storage level based on the access reference information of the first container, including: when any of the storage systems is updated according to file writing, deletion, and/or reading In the case of the access reference information of the container, the container whose access reference information has been updated is used as the first container, and based on the updated access reference information of the first container, it is judged whether the first container needs to be transferred to the second storage level Migration; or use each container in each storage level as the first container, and judge whether the first container needs to migrate to the second storage level based on the access reference information of the first container.
为了解决上述技术问题,根据本发明的一实施例,提供了一种数据归档装置,应用于包括数据访问速度不同的至少两个存储层级的存储系统,每一存储层级包含容器;所述容器是指存储数据块的逻辑存储单元,并且任意两个所述容器内的数据块互不相同;所述存储系统包括容器映射表,所述容器映射表用于记录任一所述容器的容器编号与容器地址的对应关系,所述容器地址是指容器在存储系统中的地址。In order to solve the above technical problems, according to an embodiment of the present invention, a data archiving device is provided, which is applied to a storage system including at least two storage levels with different data access speeds, each storage level includes a container; the container is Refers to a logical storage unit for storing data blocks, and the data blocks in any two containers are different from each other; the storage system includes a container mapping table, and the container mapping table is used to record the container number and A correspondence relationship of container addresses, where the container address refers to an address of the container in the storage system.
所述数据归档装置包括:迁移管理模块,用于基于第一存储层级中的第一容器的访问引用信息判断所述第一容器是否需要向第二存储层级迁移,其中,所述访问引用信息包括引用次数和访问次数中的至少一种,所述引用次数表示所述第一容器被引用的次数,所述访问次数表示所述第一容器在预定时间段内被访问的次数;迁移模块,与所述迁移管理模块连接,用于在所述迁移管理模块判定所述第一容器需要向所述第二存储层级迁移的情况下,在所述第二存储层级确定第二容器,将所述第一容器存储的数据块迁移到所述第二容器中,并将所述容器映射表中与所述第一容器的容器编号对应的容器地址修改为所述第二容器的容器地址。The data archiving device includes: a migration management module, configured to determine whether the first container needs to be migrated to the second storage level based on the access reference information of the first container in the first storage level, wherein the access reference information includes At least one of the number of references and the number of visits, the number of references represents the number of times the first container is referenced, the number of visits represents the number of times the first container is accessed within a predetermined period of time; the migration module, and The migration management module is connected to determine a second container at the second storage level when the migration management module determines that the first container needs to be migrated to the second storage level, and transfer the first container to the second storage level. A data block stored in a container is migrated to the second container, and the container address corresponding to the container number of the first container in the container mapping table is modified to the container address of the second container.
对于上述数据归档装置,在所述第二存储层级的数据访问速度低于所述第一存储层级的数据访问速度的情况下,在一种可能的实现方式中,所述数据归档装置,还包括与所述迁移管理模块连接的文件管理模块,其中:所述文件管理模块用于基于所述存储系统中的文件的存储时间,判断所述文件是否到期,以及所述迁移管理模块被配置为,在所述文件管理模块判定所述文件到期的情况下,将存储所述文件包括的数据块的容器作为所述第一容器;以及基于所述第一容器的访问引用信息,判断所述第一容器是否需要向第二存储层级迁移。For the above data archiving device, when the data access speed of the second storage level is lower than the data access speed of the first storage level, in a possible implementation manner, the data archiving device further includes A file management module connected to the migration management module, wherein: the file management module is configured to determine whether the file expires based on the storage time of the file in the storage system, and the migration management module is configured to , when the file management module determines that the file has expired, use the container that stores the data blocks included in the file as the first container; and based on the access reference information of the first container, determine that the Whether the first container needs to be migrated to the second storage tier.
对于上述数据归档装置,在所述第二存储层级的数据访问速度高于所述第一存储层级的数据访问速度的情况下,在一种可能的实现方式中,所述迁移管理模块被配置为:在根据文件的写入、删除、和/或读取而更新了所述存储系统中的任一容器的访问引用信息的情况下,将访问引用信息更新了的容器作为所述第一容器,基于所述第一容器更新后的访问引用信息,判断所述第一容器是否需要向第二存储层级迁移;或者将各所述存储层级中的各容器分别作为所述第一容器,基于所述第一容器的访问引用信息,判断所述第一容器是否需要向第二存储层级迁移。For the above data archiving device, when the data access speed of the second storage level is higher than the data access speed of the first storage level, in a possible implementation manner, the migration management module is configured to : when the access reference information of any container in the storage system is updated according to the writing, deletion, and/or reading of files, using the container whose access reference information is updated as the first container, Based on the updated access reference information of the first container, determine whether the first container needs to migrate to the second storage level; or use each container in each storage level as the first container, based on the The access reference information of the first container determines whether the first container needs to be migrated to the second storage level.
为了解决上述技术问题,根据本发明的一实施例,提供了一种存储系统,包括数据访问速度不同的至少两个存储层级,每一存储层级包含容器;所述容器是指存储数据块的逻辑存储单元,并且任意两个所述容器内的数据块互不相同;容器映射表,用于记录任一所述容器的容器编号容器地址的对应关系,所述容器地址是指容器在存储系统中的地址;以及根据采用本发明实施例中任意一种结构的数据归档存储装置。In order to solve the above technical problems, according to an embodiment of the present invention, a storage system is provided, including at least two storage levels with different data access speeds, each storage level contains a container; the container refers to the logic for storing data blocks storage unit, and the data blocks in any two containers are different from each other; the container mapping table is used to record the corresponding relationship between the container number and container address of any one of the containers, and the container address refers to the container address in the storage system address; and a data archiving storage device according to any structure in the embodiments of the present invention.
有益效果Beneficial effect
在本发明中,首先基于第一存储层级中的第一容器的访问引用信息判断所述第一容器是否需要向第二存储层级迁移,并在判定所述第一容器需要向所述第二存储层级迁移的情况下,在所述第二存储层级确定第二容器,将所述第一容器存储的数据块迁移到所述第二容器中,并将所述容器映射表中与所述第一容器的容器编号对应的容器地址修改为所述第二容器的容器地址。本发明实施例的数据归档方法,不同存储层级的容器能够作为同一个重删域,解决了数据迁移过程如重复数据块查询、重写文件元数据等耗时操作问题,有效提高了归档场景下数据迁移效率。In the present invention, firstly, based on the access reference information of the first container in the first storage level, it is judged whether the first container needs to be migrated to the second storage level, and when it is determined that the first container needs to be migrated to the second storage level In the case of layer migration, the second container is determined at the second storage layer, the data blocks stored in the first container are migrated to the second container, and the container mapping table is compared with the first The container address corresponding to the container number of the container is changed to the container address of the second container. In the data archiving method of the embodiment of the present invention, containers of different storage levels can be used as the same deduplication domain, which solves the problem of time-consuming operations in the data migration process such as repeated data block query, rewriting file metadata, etc., and effectively improves the efficiency of archiving scenarios. Data migration efficiency.
根据下面参考附图对示例性实施例的详细说明,本发明的其它特征及方面将变得清楚。Other features and aspects of the present invention will become apparent from the following detailed description of exemplary embodiments with reference to the accompanying drawings.
附图说明Description of drawings
包含在说明书中并且构成说明书的一部分的附图与说明书一起示出了本发明的示例性实施例、特征和方面,并且用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the invention and together with the description, serve to explain the principles of the invention.
图1示出本发明实施例的数据归档方法应用的存储系统结构示意图;FIG. 1 shows a schematic structural diagram of a storage system applied to a data archiving method according to an embodiment of the present invention;
图2示出图1所示的存储系统的逻辑结构图;FIG. 2 shows a logical structural diagram of the storage system shown in FIG. 1;
图3示出根据本发明一实施例的数据归档方法的流程图;Fig. 3 shows a flow chart of a data archiving method according to an embodiment of the present invention;
图4示出根据本发明一实施例的容器迁移的示意图;Fig. 4 shows a schematic diagram of container migration according to an embodiment of the present invention;
图5示出根据本发明一实施例的容器访问引用信息结构图;Fig. 5 shows a structure diagram of container access reference information according to an embodiment of the present invention;
图6示出根据本发明另一实施例的数据归档方法的流程图;FIG. 6 shows a flowchart of a data archiving method according to another embodiment of the present invention;
图7示出根据本发明另一实施例的容器迁移的示意图;Fig. 7 shows a schematic diagram of container migration according to another embodiment of the present invention;
图8示出根据本发明又一实施例的数据归档方法的流程图;FIG. 8 shows a flowchart of a data archiving method according to yet another embodiment of the present invention;
图9示出根据本发明一实施例的数据归档装置的结构框图;Fig. 9 shows a structural block diagram of a data archiving device according to an embodiment of the present invention;
图10示出根据本发明一实施例的迁移管理模块的结构框图;Fig. 10 shows a structural block diagram of a migration management module according to an embodiment of the present invention;
图11示出根据本发明的另一实施例的数据归档装置的结构框图;以及Fig. 11 shows a structural block diagram of a data archiving device according to another embodiment of the present invention; and
图12示出根据本发明一实施例的存储系统结构框图。Fig. 12 shows a structural block diagram of a storage system according to an embodiment of the present invention.
具体实施方式detailed description
如背景技术部分所述,本发明希望解决的技术问题主要是数据块迁移过程要进行重复数据块查询、重写文件元数据等耗时操作问题。为了解决该技术问题,如发明内容部分所述,本发明人独创性地想到,对于包括多个存储层级的存储系统,以各存储层级所包括的容器为单位进行数据块迁移;所述容器是指存储数据块的逻辑存储单元,并且容器中的数据块互不相同。As mentioned in the background technology section, the technical problem to be solved by the present invention is mainly time-consuming operations such as repeated data block query and rewriting of file metadata during the data block migration process. In order to solve this technical problem, as described in the Summary of the Invention, the inventors have an original idea that, for a storage system including multiple storage levels, data block migration is performed in units of containers included in each storage level; the containers are Refers to the logical storage unit that stores data blocks, and the data blocks in the container are different from each other.
具言之,首先基于第一存储层级中的第一容器的访问引用信息判断所述第一容器是否需要向第二存储层级迁移,并在判定所述第一容器需要向所述第二存储层级迁移的情况下,在所述第二存储层级确定第二容器,将所述第一容器存储的数据块迁移到所述第二容器中,并将所述容器映射表中与所述第一容器的容器编号对应的容器地址修改为所述第二容器的容器地址。Specifically, firstly, based on the access reference information of the first container in the first storage level, it is judged whether the first container needs to be migrated to the second storage level, and when it is determined that the first container needs to be migrated to the second storage level In the case of migration, determine the second container at the second storage level, migrate the data blocks stored in the first container to the second container, and compare the container mapping table with the first container The container address corresponding to the container number is changed to the container address of the second container.
需要说明的是,这里所说的容器迁移,包括以下实施例中提及的容器迁移,并不是指容器这一逻辑存储单元的迁移,而是以容器作为单位,对该容器包括的所有数据块进行的迁移。It should be noted that the container migration mentioned here, including the container migration mentioned in the following embodiments, does not refer to the migration of the logical storage unit of the container, but uses the container as a unit, and all data blocks included in the container migration performed.
本发明实施例提供的存储系统包括至少两个存储层级,各存储层级的数据访问速度不同,例如,包含三个存储层级,根据各存储层级数据访问数据速度由高到低的顺序,分别为由固态硬盘构成存储介质的存储层级、由磁盘构成存储介质的存储层级和由磁带构成存储介质的存储层级。The storage system provided by the embodiment of the present invention includes at least two storage levels, and the data access speeds of each storage level are different. For example, it includes three storage levels. Solid-state hard disk constitutes the storage level of the storage medium, the storage level of the storage medium is formed of the magnetic disk, and the storage level of the storage medium is formed of the magnetic tape.
以下将参考附图详细说明本发明的各种示例性实施例、特征和方面。附图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施例的各种方面,但是除非特别指出,不必按比例绘制附图。Various exemplary embodiments, features, and aspects of the invention will be described in detail below with reference to the accompanying drawings. The same reference numbers in the figures indicate functionally identical or similar elements. While various aspects of the embodiments are shown in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as superior or better than other embodiments.
另外,为了更好的说明本发明,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有这些具体细节,本发明同样可以实施。在另外一些实例中,对于大家熟知的方法、手段、元件和电路未作详细描述,以便于凸显本发明的主旨。In addition, in order to better illustrate the present invention, numerous specific details are given in the specific embodiments below. It will be understood by those skilled in the art that the present invention may be practiced without these specific details. In other instances, well-known methods, means, components and circuits are not described in detail so as to highlight the gist of the present invention.
实施例1Example 1
根据本发明一实施例的数据归档方法应用于如图1所示的存储系统,该存储系统按照存储介质的数据访问速度分为多个存储层级,具体可分为活跃层(Active tier)和多个保留层(Retention tier)。其中,作为活跃层的存储层级的数据访问速度高于作为保留层的存储层级的数据访问速度,作为保留层的各存储层级之间的数据访问速度也不同。在一种可能的实现方式中,活跃层存储写入存储系统90天内的数据,保留层存储写入存储系统时间更久的数据,例如90天至1年、1年至7年的数据。重删数据按照存储时间和被访问次数存储于数据访问速度不同的各存储层级。各存储层级包括容器。The data archiving method according to an embodiment of the present invention is applied to the storage system shown in Figure 1. The storage system is divided into multiple storage levels according to the data access speed of the storage medium, specifically, it can be divided into active tier (Active tier) and multiple tiers. A retention tier (Retention tier). Wherein, the data access speed of the storage tier as the active tier is higher than that of the storage tier as the reserved tier, and the data access speeds of the storage tiers as the reserved tier are also different. In a possible implementation manner, the active layer stores data written to the storage system within 90 days, and the reserved layer stores data written to the storage system for a longer period of time, for example, data from 90 days to 1 year or 1 year to 7 years. Deduplication data is stored in various storage levels with different data access speeds according to storage time and access times. Each storage tier includes containers.
图2为图1所示的存储系统的逻辑结构图,如图2所示,存储系统的各存储层级各包括三个容器(Container)。其中,命名空间(Namespace)是指向用户呈现的存储空间比如一个文件系统;文件(File)是命名空间中存储的文件;数据块(chunk)是基于重删功能从文件划分出的数据分块;各存储层级中的容器是存储经过重删后文件的数据块的逻辑存储单元,因此容器内的数据块是互不相同的,同时由于存储系统使用统一的重删域,所谓重删域,是指查找重复数据块的范围,存储系统使用统一重删域,则指在整个存储系统所有存储层级内查找重复数据块,因此,相对于传统的各存储层级分别使用独立的重删域,本发明实施例提供的存储系统的各存储层级的容器存储的数据块均互不相同。FIG. 2 is a logical structural diagram of the storage system shown in FIG. 1 . As shown in FIG. 2 , each storage level of the storage system includes three containers (Containers). Among them, the namespace (Namespace) refers to the storage space presented by the user, such as a file system; the file (File) is the file stored in the namespace; the data block (chunk) is the data block divided from the file based on the deduplication function; Containers in each storage level are logical storage units that store data blocks of deduplicated files. Therefore, data blocks in containers are different from each other. At the same time, because the storage system uses a unified deduplication domain, the so-called deduplication domain is Refers to the scope of searching for duplicate data blocks. The storage system uses a unified deduplication domain, which means to search for duplicate data blocks in all storage levels of the entire storage system. Therefore, compared with the traditional use of independent deduplication domains for each storage level, the present invention The data blocks stored in the containers of each storage level of the storage system provided by the embodiment are different from each other.
图3为根据本发明一实施例的数据归档方法的流程图。如图3所示,该数据归档方法主要包括以下步骤:Fig. 3 is a flowchart of a data archiving method according to an embodiment of the present invention. As shown in Figure 3, the data archiving method mainly includes the following steps:
S310,基于所存储的文件的存储时间,判断所述文件是否到期。S310. Based on the storage time of the stored file, determine whether the file expires.
一般情况下,在文件归档存储时,由上层软件或用户决定文件应该在存储系统中某一存储层级的存储时间。根据这个时间可以确定文件是否到期。Generally, when files are archived and stored, the upper-layer software or the user decides how long the files should be stored at a certain storage level in the storage system. According to this time, it can be determined whether the file expires.
S320,在判定所述文件到期的情况下,基于所述文件的元数据确定存储所述文件的各数据块的容器。S320. If it is determined that the file has expired, determine a container for storing each data block of the file based on the metadata of the file.
其中,所述元数据包括块编号、容器编号和偏移量,所述块编号表示所述文件包括的数据块的编号,所述容器编号表示存储所述数据块的容器的编号,所述偏移量表示所述数据块存储在所述容器上的位置。Wherein, the metadata includes a block number, a container number and an offset, the block number indicates the number of the data block included in the file, the container number indicates the number of the container storing the data block, and the offset The offset represents where the data block is stored on the container.
S330,针对所确定的容器,基于所述容器的访问引用信息判断所述容器是否需要向数据访问速度低的存储层级迁移。其中,这里的数据访问速度低是相对于所述容器所在的存储层级的数据访问速度而言的。S330. For the determined container, determine whether the container needs to be migrated to a storage level with a low data access speed based on the access reference information of the container. Wherein, the low data access speed here is relative to the data access speed of the storage level where the container is located.
其中,所述访问引用信息包括引用次数和/或访问次数,所述引用次数表示所述容器被引用的次数,所述访问次数表示所述容器在预定时间段内被访问的次数。Wherein, the access reference information includes the number of references and/or the number of visits, the number of references indicates the number of times the container is referenced, and the number of visits indicates the number of times the container is accessed within a predetermined time period.
S340,在判定所述容器需要向数据访问速度低的存储层级迁移的情况下,获取所述数据访问速度低的存储层级的一个新容器,将所述容器存储的数据块迁移到所述新容器中,并将与所述容器的容器编号对应的存储地址更新为所述新容器的存储地址。S340. When it is determined that the container needs to be migrated to a storage level with low data access speed, obtain a new container at the storage level with low data access speed, and migrate the data blocks stored in the container to the new container , and update the storage address corresponding to the container number of the container to the storage address of the new container.
具体地,结合图4所示的容器迁移的示意图说明本实施例的数据归档方法。首先,根据文件归档时配置的在存储系统中某一存储层级的存储时间整理到期的一组文件,并根据所述到期文件的元数据确定存储所述到期文件的数据块的容器,如图4所示,假设文件1(F1)的数据块存储在活跃层La的第一容器c11中,文件2(F2)的数据块分别存储在活跃层La的第二容器c12和第三容器c13中,文件3(F3)的数据块分别存储在保留层Lr1的第一容器c31和第三容器c33中。这些容器可能包含了其他存储未到期文件的数据块,所以接下来针对这些容器,基于其各自的访问引用信息判断各容器是否需要向保留层迁移。假设活跃层La的第三容器c13满足迁移条件,则将其迁移至保留层Lr0。Specifically, the data archiving method of this embodiment is described with reference to the schematic diagram of container migration shown in FIG. 4 . Firstly, arrange a group of expired files according to the storage time of a certain storage level in the storage system configured when the files are archived, and determine the container for storing the data blocks of the expired files according to the metadata of the expired files, As shown in Figure 4, suppose the data blocks of file 1 (F1) are stored in the first container c11 of the active layer La, and the data blocks of file 2 (F2) are stored in the second container c12 and the third container of the active layer La respectively In c13, the data blocks of the file 3 (F3) are respectively stored in the first container c31 and the third container c33 of the reserved layer Lr1. These containers may contain other data blocks that store unexpired files, so for these containers, it is judged whether each container needs to migrate to the retention layer based on their respective access reference information. Assuming that the third container c13 of the active layer La satisfies the migration condition, it is migrated to the reserved layer Lr0.
再具体地,活跃层La的第三容器c13迁移至保留层Lr0的过程主要是通过容器映射表完成的,容器映射表用于记录容器的容器编号与容器地址的对应关系,其中容器地址用于表示容器在存储层级中的位置。所有的容器都是从存储层级的地址空间中取一定长度的空间作为容器的存储地址。在一种可能的实现方式中,容器映射表的结构为表项为容器编号-容器起始存储地址组成的表。该迁移过程包括:首先申请保留层Lr0中的新的容器c21,假设申请的新的容器c21的起始存储地址为1100;然后将容器c13存储的数据块全部迁移到新的容器c21中;最后修改容器c13的容器编号在容器映射表中对应的容器存储地址,例如,假设活跃层La的第三容器c13的容器编号为0003,容器起始存储地址为0300,则将容器编号为0003对应的起始存储地址修改为1100。More specifically, the process of migrating the third container c13 of the active layer La to the reserved layer Lr0 is mainly completed through the container mapping table. The container mapping table is used to record the corresponding relationship between the container number of the container and the container address. The container address is used for Indicates the container's position in the storage hierarchy. All containers take a certain length of space from the address space of the storage level as the storage address of the container. In a possible implementation manner, the structure of the container mapping table is a table whose entry is a container number-container starting storage address. The migration process includes: first apply for a new container c21 in the reserved layer Lr0, assuming that the initial storage address of the new container c21 applied for is 1100; then migrate all the data blocks stored in the container c13 to the new container c21; finally Modify the container storage address corresponding to the container number of container c13 in the container mapping table. For example, assuming that the container number of the third container c13 in the active layer La is 0003, and the initial storage address of the container is 0300, then set the container number to 0003 corresponding to The initial storage address is changed to 1100.
这样,存储系统各存储层级作为同一个重删域,数据块迁移过程避免了如重复数据块查询、重写文件元数据等耗时操作,有效提高了归档场景下数据块迁移的效率。In this way, all storage levels of the storage system serve as the same deduplication domain, and the data block migration process avoids time-consuming operations such as repeated data block queries and rewriting file metadata, effectively improving the efficiency of data block migration in archiving scenarios.
在一种可能的实现方式中,活跃层La的第三容器c13满足的迁移条件包括以下任意一项:所述容器被活跃度较高的文件引用的次数足够少;被活跃度较低的文件引用的次数足够多;在最近一段时间被访问的次数足够少。其中,活跃度表示文件在存储系统中的存储时间和/或被读取频率,文件活跃度越高,说明文件在存储系统中的存储时间越短和/或被读取频率越高。In a possible implementation, the migration conditions satisfied by the third container c13 of the active layer La include any of the following: the number of times the container is referenced by a file with a high activity level is sufficiently small; The number of references is high enough; the number of visits in the recent period is low enough. Wherein, the activity indicates the storage time of the file in the storage system and/or the read frequency, and the higher the file activity, the shorter the storage time of the file in the storage system and/or the higher the read frequency.
在一种可能的具体实现方式中,活跃层La的第三容器c13满足的迁移条件可以设计为以下任意一项:容器c13的第一引用次数与容器c13被引用的总次数的比例小于第一阈值;或者容器c13的第二引用次数与容器c13被引用的总次数的比例大于第二阈值;容器c13在预定时间段内被访问的次数足够小。其中,所述第一引用次数表示容器c13被存储时间小于第一时间长度的文件引用的次数,所述第二引用次数表示容器c13被存储时间大于第二时间长度的文件引用的次数。In a possible specific implementation, the migration condition satisfied by the third container c13 in the active layer La can be designed to be any of the following: the ratio of the first number of references of the container c13 to the total number of references of the container c13 is less than the first threshold; or the ratio of the second reference times of the container c13 to the total number of references of the container c13 is greater than the second threshold; the number of times the container c13 is accessed within a predetermined time period is sufficiently small. Wherein, the first number of references indicates the number of times the container c13 is referenced by files whose storage time is shorter than the first time length, and the second number of references indicates the number of times the container c13 is referenced by files whose storage time is longer than the second time length.
具体地,容器c13的访问引用信息可以设计为如图5所示的结构,假设存储系统根据文件存储时间的不同,分为0-60天、60天-1年、1年-7年三个层级,容器c13的引用次数也分为三项,即分别被0-60天、60天-1年、1年-7年三个时间段存储的文件的引用次数,容器c13的访问次数仅一项,即容器c13在预定时间段内被访问的次数。Specifically, the access reference information of container c13 can be designed as the structure shown in Figure 5, assuming that the storage system is divided into three types: 0-60 days, 60 days-1 year, and 1 year-7 years according to the storage time of the files. Level, the number of references of container c13 is also divided into three items, that is, the number of references of files stored in three time periods of 0-60 days, 60 days-1 year, and 1 year-7 years, and the number of accesses of container c13 is only one item, that is, the number of times the container c13 is accessed within a predetermined period of time.
再具体地,第一时间长度设为60天,第二时间长度设为1年,预定时间段设为30天,第一阈值设为10%,第二阈值设为90%,第三阈值设为100,容器c13的第一引用次数为x1,第二引用次数为x2,总引用次数为x1+x2+x3,访问次数为x。如果第一引用次数与总引用次数的比例x1/(x1+x2+x3)小于第一阈值10%,或者第二引用次数与总引用次数的比例x2/(x1+x2+x3)大于第二阈值90%,或者访问次数x小于第三阈值100,容器c13需要向保留层Lr0迁移。More specifically, the first time length is set to 60 days, the second time length is set to 1 year, the predetermined time period is set to 30 days, the first threshold is set to 10%, the second threshold is set to 90%, and the third threshold is set to is 100, the first reference count of container c13 is x1, the second reference count is x2, the total reference count is x1+x2+x3, and the visit count is x. If the ratio x1/(x1+x2+x3) of the first number of citations to the total number of citations is less than the first threshold of 10%, or the ratio x2/(x1+x2+x3) of the second number of citations to the total number of citations is greater than the second If the threshold is 90%, or the number of visits x is less than the third threshold 100, the container c13 needs to be migrated to the retention layer Lr0.
需要说明的是,尽管借助图5所示的容器访问引用信息结构作为示例介绍了判断所述容器是否需要向数据访问速度低的存储层级迁移,这里的数据访问速度低是相对于所述容器所在的存储层级的数据访问速度而言的,但本领域技术人员能够理解,本发明可能的容器访问引用信息结构以及统计容器访问引用信息的方法应不限于此。事实上,用户完全可根据个人喜好和/或实际应用场景灵活设定第一时间长度、第二时间长度、预定时间段、第一阈值、第二阈值以及第三阈值,根据实际统计的容器的访问引用信息判断所述容器是否需要向数据访问速度低的存储层级迁移。It should be noted that although the container access reference information structure shown in FIG. In terms of data access speed at the storage level, but those skilled in the art can understand that the possible container access reference information structure and the method for counting container access reference information in the present invention should not be limited thereto. In fact, users can flexibly set the first time length, second time length, predetermined time period, first threshold, second threshold, and third threshold according to personal preferences and/or actual application scenarios. The reference information is accessed to determine whether the container needs to be migrated to a storage level with a low data access speed.
实施例2Example 2
在所述存储系统中由于文件的写入、删除、和/或读取而更新了容器的访问引用信息的情况下,数据归档方法流程图如图6所示,以基于容器更新后的访问引用信息判断所述容器是否需要向数据访问速度高的存储层级迁移,这里的数据访问速度高是相对于所述容器所在的存储层级的数据访问速度而言的,并在所述容器需要向数据访问速度高的存储层级迁移的情况下,完成所述容器的迁移过程。In the case that the access reference information of the container is updated due to the writing, deletion, and/or reading of files in the storage system, the flow chart of the data archiving method is shown in Figure 6, based on the updated access reference information of the container information to determine whether the container needs to migrate to a storage level with high data access speed, where the high data access speed is relative to the data access speed of the storage level where the container is located, and when the In the case of high-speed storage tier migration, the container migration process is completed.
其中,所谓由于文件的写入、删除、和/或读取而更新容器的访问引用信息的情况包括:当文件写入存储系统时,首先对文件按某种算法进行分块,划分为多个数据块,然后将这些数据块与存储系统中所有存储层级的容器中已经存储的数据块进行比较,得到重复的数据块和非重复的数据块。重复的数据块对其所在的容器的引用次数加一,所有非重复的数据块一起组成一个容器,每一个数据块对此容器的引用次数加一;当文件在整个存储系统中被删除时,根据文件的元数据确定其所引用的容器,该文件的每一个数据块对这些容器的引用次数减一;以及,当文件被读取时,根据文件的元数据确定其所引用的容器,该文件的每一个数据块对这些容器的访问次数加一。Among them, the so-called situation of updating the access reference information of the container due to the writing, deletion, and/or reading of the file includes: when the file is written into the storage system, the file is first divided into blocks according to a certain algorithm, and divided into multiple Then compare these data blocks with the data blocks already stored in the containers of all storage levels in the storage system to obtain duplicate data blocks and non-duplicate data blocks. Repeated data blocks add one to the number of references to their container, all non-repeated data blocks together form a container, and each data block adds one to the number of references to this container; when a file is deleted in the entire storage system, The referenced container is determined according to the metadata of the file, and the number of references to these containers for each data block of the file is reduced by one; and, when the file is read, the referenced container is determined according to the metadata of the file, the The number of accesses to these containers is incremented by one for each data block of the file.
如图6所示,根据本发明另一实施例的数据归档方法主要包括以下步骤:As shown in Figure 6, the data archiving method according to another embodiment of the present invention mainly includes the following steps:
S610,基于容器更新后的访问引用信息判断所述容器是否需要向数据访问速度高的存储层级迁移。其中,这里的数据访问速度高是相对于所述容器所在的存储层级的数据访问速度而言的。S610. Based on the updated access reference information of the container, it is judged whether the container needs to be migrated to a storage layer with a high data access speed. Wherein, the high data access speed here is relative to the data access speed of the storage level where the container is located.
S620,在判定所述容器需要向数据访问速度高的存储层级迁移的情况下,获取所述数据访问速度高的存储层级的一个新容器,将所述容器存储的数据块迁移到所述新容器中,并将与所述容器的容器编号对应的存储地址更新为所述新容器的存储地址。S620. When it is determined that the container needs to be migrated to a storage level with high data access speed, obtain a new container at the storage level with high data access speed, and migrate the data blocks stored in the container to the new container , and update the storage address corresponding to the container number of the container to the storage address of the new container.
具体地,结合图7所示的容器迁移的示意图说明本实施例的数据归档方法。如图7所示,文件1的数据块存储在活跃层La的第一容器c11中,文件2的数据块分别存储在活跃层La的第二容器c12和第三容器c13中,文件3的数据块分别存储在保留层Lr0的第一容器c21、第二容器c22、和第三容器c23中。假设保留层Lr0的第一容器c21满足迁移条件,则将其迁移至活跃层La。Specifically, the data archiving method of this embodiment is described in conjunction with the schematic diagram of container migration shown in FIG. 7 . As shown in Figure 7, the data blocks of file 1 are stored in the first container c11 of the active layer La, the data blocks of file 2 are respectively stored in the second container c12 and the third container c13 of the active layer La, and the data of file 3 Chunks are stored in the first container c21, the second container c22, and the third container c23 of the reserved layer Lr0, respectively. Assuming that the first container c21 of the reserved layer Lr0 satisfies the migration condition, it is migrated to the active layer La.
再具体地,保留层Lr0的第一容器c21迁移至活跃层La的过程主要是通过容器映射表完成的,容器映射表的结构仍以实施例1所述的结构为例,该迁移过程包括:首先申请活跃层La中的新的容器c13,假设申请的起始存储地址为1100;然后将容器c21存储的数据块全部迁移到所述新的容器c13中;最后修改容器c21的容器编号在容器映射表中对应的容器存储地址,例如,假设保留层Lr0的第一容器c21的容器编号为0001,容器起始存储地址为0100,则将容器编号为0001对应的起始存储地址修改为1100。More specifically, the process of migrating the first container c21 of the reserved layer Lr0 to the active layer La is mainly completed through the container mapping table. The structure of the container mapping table is still described in Embodiment 1 as an example. The migration process includes: First apply for a new container c13 in the active layer La, assuming that the initial storage address of the application is 1100; then migrate all the data blocks stored in the container c21 to the new container c13; finally modify the container number of the container c21 in the container The corresponding container storage address in the mapping table, for example, assuming that the container number of the first container c21 of the reserved layer Lr0 is 0001, and the initial storage address of the container is 0100, then the initial storage address corresponding to the container number 0001 is modified to 1100.
在一种可能的实现方式中,保留层Lr0的第一容器c21满足的迁移条件包括以下任意一项:所述容器被活跃度较高的文件引用的次数足够多;被活跃度较低的文件引用的次数足够少;在最近一段时间被访问的次数足够多。其中,活跃度表示文件在存储系统中的存储时间和/或被读取频率,文件活跃度越高,说明文件在存储系统中的存储时间越短和/或被读取频率越高。In a possible implementation, the migration conditions satisfied by the first container c21 of the retention layer Lr0 include any of the following: the container is referenced by a file with a high activity degree enough times; the container is referenced by a file with a low activity degree The number of references is small enough; the number of times visited in the recent period is enough. Wherein, the activity indicates the storage time of the file in the storage system and/or the read frequency, and the higher the file activity, the shorter the storage time of the file in the storage system and/or the higher the read frequency.
在一种可能的具体实现方式中,保留层Lr0的第一容器c21满足的迁移条件可以设计为以下任意一项:容器c21的第三引用次数与容器c21被引用的总次数的比例大于第一阈值;或者容器c21的第四引用次数与容器c21被引用的总次数的比例大于第二阈值;容器c21在预定时间段内被访问的次数足够小。其中,所述第三引用次数表示容器c21被存储时间小于第三时间长度的文件引用的次数,所述第四引用次数表示容器c21被存储时间大于第四时间长度的文件引用的次数。In a possible specific implementation, the migration condition satisfied by the first container c21 of the retention layer Lr0 can be designed as any of the following: the ratio of the third reference times of the container c21 to the total number of references of the container c21 is greater than the first threshold; or the ratio of the fourth number of references of the container c21 to the total number of references of the container c21 is greater than the second threshold; the number of times the container c21 is accessed within a predetermined time period is sufficiently small. Wherein, the third number of references indicates the number of times the container c21 is referenced by files whose storage time is less than the third time length, and the fourth number of references indicates the number of times the container c21 is referenced by files whose storage time is longer than the fourth time length.
具体地,容器c21的访问引用信息也可以设计为如图5所示的结构,在一种可能的实现方式中,第三时间长度设为60天,第四时间长度设为1年,预定时间段设为30天,第四阈值设为90%,第五阈值设为10%,第六阈值设为100,所述容器的第三引用次数为x1,第四引用次数为x2,总引用次数为x1+x2+x3,访问次数为x。如果第三引用次数与总引用次数的比例x1/(x1+x2+x3)大于第四阈值90%,或者第四引用次数与总引用次数的比例x2/(x1+x2+x3)小于第五阈值10%,或者访问次数x大于第六阈值100,容器c21需要向活跃层La迁移。Specifically, the access reference information of the container c21 can also be designed as the structure shown in Figure 5. In a possible implementation, the third time length is set to 60 days, the fourth time length is set to 1 year, and the predetermined time The segment is set to 30 days, the fourth threshold is set to 90%, the fifth threshold is set to 10%, the sixth threshold is set to 100, the third citation count of the container is x1, the fourth citation count is x2, the total citation count It is x1+x2+x3, and the number of visits is x. If the ratio x1/(x1+x2+x3) of the third number of citations to the total number of citations is greater than the fourth threshold of 90%, or the ratio x2/(x1+x2+x3) of the fourth number of citations to the total number of citations is less than the fifth If the threshold is 10%, or the number of visits x is greater than the sixth threshold 100, the container c21 needs to migrate to the active layer La.
需要说明的是,尽管借助图5所示的容器访问引用信息结构作为示例介绍了判断所述容器是否需要向数据访问速度高的存储层级迁移,这里的数据访问速度低是相对于所述容器所在的存储层级的数据访问速度而言的,但本领域技术人员能够理解,本发明可能的容器访问引用信息结构以及统计容器访问引用信息的方法应不限于此。事实上,用户完全可根据个人喜好和/或实际应用场景灵活设定第三时间长度、第四时间长度、预定时间段、第四阈值、第五阈值以及第六阈值,根据实际统计的容器的访问引用信息判断所述容器是否需要向数据访问速度高的存储层级迁移。It should be noted that although the container access reference information structure shown in FIG. In terms of data access speed at the storage level, but those skilled in the art can understand that the possible container access reference information structure and the method for counting container access reference information in the present invention should not be limited thereto. In fact, users can flexibly set the third time length, the fourth time length, the predetermined time period, the fourth threshold, the fifth threshold and the sixth threshold according to personal preferences and/or actual application scenarios. The reference information is accessed to determine whether the container needs to be migrated to a storage level with a high data access speed.
本发明实施例的数据归档方法基于容器更新后的访问引用信息,判断所述容器是否需要向数据访问速度高的存储层级迁移,如果迁移至数据访问速度低的存储层级迁移的容器被频繁访问和引用,可以及时的将其回迁,这样可以提高用户的访问速度。此外,不同存储层级的容器能够作为同一个重删域,数据块迁移过程避免了如重复数据块查询、重写文件元数据等耗时操作,提高了数据块迁移的效率。The data archiving method in the embodiment of the present invention judges whether the container needs to be migrated to a storage level with a high data access speed based on the updated access reference information of the container. If the container migrated to a storage level with a low data access speed is frequently accessed and References can be moved back in time, which can improve the user's access speed. In addition, containers at different storage levels can be used as the same deduplication domain. The data block migration process avoids time-consuming operations such as repeated data block queries and rewriting file metadata, and improves the efficiency of data block migration.
实施例3Example 3
图8示出根据本发明又一实施例的数据归档方法的流程图。图8中标号与图6相同的标号具有相同的功能,为简明起见,省略对这些标号的详细说明。图8所示的数据归档方法与图6所示数据归档方法的主要区别在于,判断是否需要向数据访问速度高的存储层级迁移不是由容器的访问引用信息更新所触发的,而是定期执行的。Fig. 8 shows a flowchart of a data archiving method according to yet another embodiment of the present invention. The same reference numerals in FIG. 8 as those in FIG. 6 have the same functions, and for the sake of brevity, detailed descriptions of these reference numerals are omitted. The main difference between the data archiving method shown in Figure 8 and the data archiving method shown in Figure 6 is that judging whether to migrate to a storage layer with high data access speed is not triggered by the update of the access reference information of the container, but is performed periodically .
在一种可能的实现方式中,如图8所示,在步骤S620之前的步骤为S810,也就是针对所述容器,定期基于所述容器的访问引用信息判断所述容器是否需要向数据访问速度高的存储层级迁移。In a possible implementation, as shown in FIG. 8 , the step before step S620 is S810, that is, for the container, it is regularly judged based on the access reference information of the container whether the container needs to access data at a speed High storage tier migration.
具体地,由各存储层级的后台扫描进程周期性的扫描本层级中容器的访问引用信息,扫描周期可以为30天,也可以为45天,完全根据个人喜好和/或实际应用场景灵活设定,然后可以基于本发明实施例2所述的容器迁移条件判断所述容器是否满足迁移要求,在所述容器满足迁移要求的情况下,可以按照本发明实施例2所述的容器迁移过程完成容器的迁移。本发明实施例中存储层级数据访问速度的高低都是相对于所述容器当前所在存储层级的数据访问速度而言的。Specifically, the background scanning process of each storage level periodically scans the access reference information of the containers in this level. The scanning period can be 30 days or 45 days, which can be flexibly set according to personal preferences and/or actual application scenarios , and then it can be judged based on the container migration conditions described in Embodiment 2 of the present invention whether the container meets the migration requirements. If the container meets the migration requirements, the container migration process described in Embodiment 2 of the present invention can be completed. migration. The data access speed of the storage level in the embodiment of the present invention is relative to the data access speed of the storage level where the container is currently located.
这样,即使存储系统没有设定对由于文件的写入、删除、和/或读取而更新了容器的访问引用信息的容器的访问引用信息的扫描,可以通过定期基于各存储层级的容器的访问引用信息判断所述容器是否需要向数据访问速度高的存储层级迁移迁移,如果迁移至数据访问速度低的存储层级迁移的容器被频繁访问和引用,仍可以及时的将其回迁,这样可以提高用户的访问速度。In this way, even if the storage system does not set the scanning of the access reference information of the container whose access reference information is updated due to the writing, deletion, and/or reading of files, it can be accessed regularly based on the access of the containers of each storage level. The reference information judges whether the container needs to be migrated to a storage layer with a high data access speed. If the container migrated to a storage layer with a low data access speed is frequently accessed and referenced, it can still be moved back in time, which can improve user access speed.
实施例4Example 4
图9为根据本发明一实施例的数据归档装置的结构框图,该数据归档装置应用于如图1所示的存储系统,所述存储系统的具体描述可以参考前述方法实施例描述,在此不再赘述。如图9所示,所述数据归档装置包括:迁移管理模块920以及迁移模块930。FIG. 9 is a structural block diagram of a data archiving device according to an embodiment of the present invention. The data archiving device is applied to the storage system shown in FIG. 1 . Let me repeat. As shown in FIG. 9 , the data archiving device includes: a migration management module 920 and a migration module 930 .
其中,迁移管理模块920用于基于第一存储层级中的第一容器的访问引用信息判断所述第一容器是否需要向第二存储层级迁移,其中,所述访问引用信息包括引用次数和访问次数中的至少一种,所述引用次数表示所述第一容器被引用的次数,所述访问次数表示所述第一容器在预定时间段内被访问的次数。迁移模块930与迁移管理模块920连接,用于在迁移管理模920块判定所述容器需要向第二存储层级迁移的情况下,在所述第二存储层级确定第二容器,将所述第一容器存储的数据块迁移到所述第二容器中,并将所述容器映射表中与所述第一容器的容器编号对应的容器地址修改为所述第二容器的容器地址。Wherein, the migration management module 920 is configured to judge whether the first container needs to be migrated to the second storage level based on the access reference information of the first container in the first storage level, wherein the access reference information includes the number of references and the number of visits In at least one of the above, the number of references indicates the number of times the first container is referenced, and the number of accesses indicates the number of times the first container is accessed within a predetermined period of time. The migration module 930 is connected to the migration management module 920, and is configured to determine a second container at the second storage level when the migration management module 920 determines that the container needs to be migrated to the second storage level, and transfer the first The data blocks stored in the container are migrated to the second container, and the container address corresponding to the container number of the first container in the container mapping table is modified to the container address of the second container.
在一种可能的实现方式中,所述数据归档装置还包括与迁移管理模块920连接的文件管理模块910,文件管理模块910用于在所述第二存储层级的数据访问速度低于所述第一存储层级的数据访问速度的情况下,基于所述存储系统中的文件的存储时间,判断所述文件是否到期。在文件管理模块910判定所述文件到期的情况下,迁移管理模块920被配置为将存储所述文件包括的数据块的容器作为所述第一容器;以及基于所述第一容器的访问引用信息,判断所述第一容器是否需要向第二存储层级迁移。In a possible implementation manner, the data archiving device further includes a file management module 910 connected to the migration management module 920, and the file management module 910 is used to access data at the second storage level lower than the second storage level. In the case of a data access speed of a storage level, it is determined whether the file expires based on the storage time of the file in the storage system. When the file management module 910 determines that the file has expired, the migration management module 920 is configured to use the container that stores the data blocks included in the file as the first container; and the access reference based on the first container information to determine whether the first container needs to be migrated to the second storage level.
一般情况下,在文件归档存储时,由上层软件或用户决定文件应该在存储系统中某一存储层级的存储时间,该存储时间保存在文件管理模块910或存储系统的其他地方。根据这个时间,文件管理模块910可以确定文件是否到期。Generally, when files are archived and stored, the upper layer software or the user decides the storage time of the files at a certain storage level in the storage system, and the storage time is saved in the file management module 910 or other places in the storage system. Based on this time, the file management module 910 can determine whether the file has expired.
在一种可能的实现方式中,迁移管理模块920还包括三个判断单元921、922、923,用于判断所述第一容器是否需要向第二存储层级迁移的过程,如图10所示,若任一判断单元的判断结果为是则判定所述第一容器需要向第二存储层级迁移:In a possible implementation, the migration management module 920 further includes three judging units 921, 922, 923 for judging whether the first container needs to be migrated to the second storage level, as shown in FIG. 10 , If the judgment result of any judging unit is yes, it is judged that the first container needs to be migrated to the second storage level:
第一判断单元921,用于判断所述第一容器的第一引用次数占总引用次数的比例是否小于第一阈值,其中所述第一引用次数表示第一文件引用所述第一容器的次数,所述总引用次数表示所述第一容器被引用的总次数,所述第一文件为存储时间小于第一时间长度的文件。The first judging unit 921 is configured to judge whether the ratio of the first number of references of the first container to the total number of references is less than a first threshold, wherein the first number of references represents the number of times the first file references the first container , the total number of references indicates the total number of times the first container is referenced, and the first file is a file whose storage time is shorter than a first length of time.
第二判断单元922,用于判断所述第一容器的第二引用次数占总引用次数的比例是否大于第二阈值,其中所述第二引用次数表示第二文件引用所述第一容器的次数,所述第二文件为存储时间小于第二时间长度的文件。The second judging unit 922 is configured to judge whether the ratio of the second number of references of the first container to the total number of references is greater than a second threshold, wherein the second number of references represents the number of times the second file references the first container , the second file is a file whose storage time is shorter than a second time length.
第三判断单元923,用于判断所述访问次数是否小于第三阈值。The third judging unit 923 is configured to judge whether the number of visits is less than a third threshold.
第一判断单元921、第二判断单元922、第三判断单元923可以通过三个比较器实现,迁移管理模块920执行判定所述第一容器是否需要向第二存储层级迁移的具体过程,其中,所述第二存储层级的数据访问速度低于所述第一容器所在的存储层级的数据访问速度,可以参见实施例1的相关描述。The first judging unit 921, the second judging unit 922, and the third judging unit 923 can be realized by three comparators, and the migration management module 920 executes a specific process of judging whether the first container needs to be migrated to the second storage level, wherein, The data access speed of the second storage level is lower than the data access speed of the storage level where the first container is located, and reference may be made to the related description of Embodiment 1.
在一种可能的实现方式中,在所述第二存储层级的数据访问速度高于所述第一存储层级的数据访问速度的情况下,迁移管理模块920被配置为,在根据文件的写入、删除、和/或读取而更新了所述存储系统中的任一容器的访问引用信息的情况下,将访问引用信息更新了的容器作为所述第一容器,基于所述第一容器更新后的访问引用信息,判断所述第一容器是否需要向第二存储层级迁移;或者将各所述存储层级中的各容器分别作为所述第一容器,基于所述第一容器的访问引用信息,判断所述第一容器是否需要向第二存储层级迁移。In a possible implementation, when the data access speed of the second storage tier is higher than the data access speed of the first storage tier, the migration management module 920 is configured to: , delete, and/or read and update the access reference information of any container in the storage system, use the container whose access reference information has been updated as the first container, and update based on the first container After access reference information, determine whether the first container needs to migrate to the second storage level; or use each container in each storage level as the first container, based on the access reference information of the first container , judging whether the first container needs to be migrated to the second storage level.
在一种可能的实现方式中,迁移管理模块920还包括三个判断单元924、925、926,如图10所示,若任一判断单元的判断结果为是则判定所述第一容器需要向第二存储层级迁移:In a possible implementation, the migration management module 920 further includes three judging units 924, 925, and 926, as shown in FIG. Second storage tier migration:
第四判断单元924,用于判断所述第一容器的第三引用次数占总引用次数的比例是否大于第四阈值,其中所述第三引用次数表示第三文件引用所述第一容器的次数,所述总引用次数表示所述第一容器被引用的总次数,所述第三文件为存储时间小于第三时间长度的文件;The fourth judging unit 924 is configured to judge whether the ratio of the third number of references of the first container to the total number of references is greater than a fourth threshold, wherein the third number of references represents the number of times a third file references the first container , the total number of references indicates the total number of times the first container is referenced, and the third file is a file whose storage time is less than a third time length;
第五判断单元925,用于判断所述第一容器的第四引用次数占总引用次数的比例是否小于第五阈值,其中所述第四引用次数表示第四文件引用所述第一容器的次数,所述第四文件为存储时间小于第四时间长度的文件;以及The fifth judging unit 925 is configured to judge whether the ratio of the fourth number of references of the first container to the total number of references is less than a fifth threshold, wherein the fourth number of references represents the number of times the fourth file references the first container , the fourth file is a file whose storage time is less than the fourth time length; and
第六判断单元926,用于判断所述访问次数是否大于第六阈值。The sixth judging unit 926 is configured to judge whether the number of visits is greater than a sixth threshold.
第四判断单元924、第五判断单元925、第六判断单元926可以通过三个比较器实现,迁移管理模块920执行判定容器是否需要向第二存储层级迁移的具体过程,其中,所述第二存储层级的数据访问速度高于所述第一容器所在的存储层级的数据访问速度,可以参见实施例2的相关描述。The fourth judging unit 924, the fifth judging unit 925, and the sixth judging unit 926 can be realized by three comparators. The migration management module 920 performs a specific process of judging whether the container needs to be migrated to the second storage level, wherein the second The data access speed of the storage level is higher than the data access speed of the storage level where the first container is located, and reference may be made to the related description of Embodiment 2.
这样,本发明实施例的数据归档装置通过迁移管理模块920基于访问引用信息判断所述容器是否需要迁移,在迁移管理模920块判定所述容器需要迁移的情况下,迁移模块930可以将所述容器包括的全部数据块迁移至合适的存储层级,数据块迁移过程将存储系统各存储层级作为同一个重删域,避免了如重复数据块查询、重写文件元数据等耗时操作,有效提高了归档场景下数据块迁移的效率。In this way, the data archiving device in the embodiment of the present invention uses the migration management module 920 to judge whether the container needs to be migrated based on the access reference information. When the migration management module 920 determines that the container needs to be migrated, the migration module 930 can transfer the All data blocks included in the container are migrated to an appropriate storage level. During the data block migration process, each storage level of the storage system is used as the same deduplication domain, which avoids time-consuming operations such as repeated data block queries and rewriting file metadata, and effectively improves Improves the efficiency of data block migration in archiving scenarios.
另外,如果存储系统由于文件的写入、删除、和/或读取而更新了容器的访问引用信息,或者存储系统将各所述存储层级中的各容器分别作为被关注容器,本发明实施例的数据归档装置通过迁移管理模块920基于容器更新后的访问引用信息,或者被关注容器的访问引用信息判断所述容器是否需要向数据访问速度高的存储层级迁移,如果迁移至数据访问速度低的存储层级的容器被频繁访问和引用,可以通过迁移模块930及时的将其回迁,这样可以提高用户的访问速度。In addition, if the storage system updates the access reference information of the container due to file writing, deletion, and/or reading, or the storage system regards each container in each of the storage levels as the concerned container, the embodiment of the present invention Based on the updated access reference information of the container or the access reference information of the concerned container, the data archiving device judges whether the container needs to be migrated to a storage layer with high data access speed through the migration management module 920. Containers at the storage level are frequently accessed and referenced, and can be migrated back in time through the migration module 930, which can improve the user's access speed.
实施例5Example 5
图11为本发明的另一实施例的数据归档装置的结构框图。所述数据归档装置1100可以是具备计算能力的主机服务器、个人计算机PC、或者可携带的便携式计算机或终端等。本发明具体实施例并不对计算节点的具体实现做限定。Fig. 11 is a structural block diagram of a data archiving device according to another embodiment of the present invention. The data archiving device 1100 may be a host server with computing capabilities, a personal computer PC, or a portable portable computer or terminal. The specific embodiments of the present invention do not limit the specific implementation of the computing nodes.
所述数据归档装置1100包括处理器(processor)1110、通信接口(Communications Interface)1120、存储器(memory)1130和总线1140。其中,处理器1110、通信接口1120、以及存储器1130通过总线1140完成相互间的通信。The data archiving device 1100 includes a processor (processor) 1110 , a communication interface (Communications Interface) 1120 , a memory (memory) 1130 and a bus 1140 . Wherein, the processor 1110 , the communication interface 1120 , and the memory 1130 communicate with each other through the bus 1140 .
通信接口1120用于与网元通信,其中网元包括例如虚拟机管理中心、共享存储等。The communication interface 1120 is used for communicating with network elements, where the network elements include, for example, a virtual machine management center, shared storage, and the like.
处理器1110用于执行程序。处理器1110可能是一个中央处理器CPU,或者是专用集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。The processor 1110 is used to execute programs. The processor 1110 may be a central processing unit CPU, or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention.
存储器1130用于存储文件。存储器1130可能包含高速RAM容器,也可能还包括非易失性容器(non-volatile memory),例如至少一个磁盘容器。存储器1130也可以是容器阵列。存储器1130还可能被分块,并且所述块可按一定的规则组合成虚拟卷。The memory 1130 is used to store files. The memory 1130 may include a high-speed RAM container, and may also include a non-volatile memory (non-volatile memory), such as at least one disk container. Storage 1130 may also be an array of containers. The storage 1130 may also be divided into blocks, and the blocks may be combined into virtual volumes according to certain rules.
在一种可能的实施方式中,上述程序可为包括计算机操作指令的程序代码。该程序具体可用于:基于第一存储层级中的第一容器的访问引用信息判断所述第一容器是否需要向第二存储层级迁移,其中,所述访问引用信息包括引用次数和访问次数中的至少一种,所述引用次数表示所述第一容器被引用的次数,所述访问次数表示所述第一容器在预定时间段内被访问的次数;在判定所述第一容器需要向所述第二存储层级迁移的情况下,在所述第二存储层级确定第二容器,将所述第一容器存储的数据块迁移到所述第二容器中,并将所述容器映射表中与所述第一容器的容器编号对应的容器地址修改为所述第二容器的容器地址。In a possible implementation manner, the above program may be a program code including computer operation instructions. The program can specifically be used to: judge whether the first container needs to be migrated to the second storage level based on the access reference information of the first container in the first storage level, wherein the access reference information includes the number of references and the number of accesses At least one, the number of references indicates the number of times the first container is referenced, and the number of visits indicates the number of times the first container is accessed within a predetermined period of time; when it is determined that the first container needs to be referred to the In the case of migration at the second storage level, determine the second container at the second storage level, migrate the data blocks stored in the first container to the second container, and compare the container mapping table with the The container address corresponding to the container number of the first container is changed to the container address of the second container.
在一种可能的实施方式中,在所述第二存储层级的数据访问速度低于所述第一存储层级的数据访问速度的情况下,所述基于第一存储层级中的第一容器的访问引用信息判断所述第一容器是否需要向第二存储层级迁移,包括:基于所述存储系统中的文件的存储时间,判断所述文件是否到期;若判定所述文件到期,则将存储所述文件包括的数据块的容器作为所述第一容器;基于所述第一容器的访问引用信息,判断所述第一容器是否需要向第二存储层级迁移。In a possible implementation manner, when the data access speed of the second storage tier is lower than the data access speed of the first storage tier, the access based on the first container in the first storage tier Judging whether the first container needs to be migrated to the second storage level based on reference information includes: judging whether the file expires based on the storage time of the file in the storage system; if it is determined that the file expires, storing A container of data blocks included in the file is used as the first container; and based on the access reference information of the first container, it is judged whether the first container needs to be migrated to the second storage level.
在一种可能的实施方式中,在所述第二存储层级的数据访问速度高于所述第一存储层级的数据访问速度的情况下,所述基于第一存储层级中的第一容器的访问引用信息判断所述第一容器是否需要向第二存储层级迁移,包括:在根据文件的写入、删除、和/或读取而更新了所述存储系统中的任一容器的访问引用信息的情况下,将访问引用信息更新了的容器作为所述第一容器,基于所述第一容器更新后的访问引用信息,判断所述第一容器是否需要向第二存储层级迁移;或者将各所述存储层级中的各容器分别作为所述第一容器,基于所述第一容器的访问引用信息,判断所述第一容器是否需要向第二存储层级迁移。In a possible implementation manner, when the data access speed of the second storage tier is higher than the data access speed of the first storage tier, the access based on the first container in the first storage tier The reference information judging whether the first container needs to migrate to the second storage level includes: when the access reference information of any container in the storage system is updated according to the writing, deletion, and/or reading of files In this case, the container whose access reference information has been updated is used as the first container, and based on the updated access reference information of the first container, it is judged whether the first container needs to be migrated to the second storage level; Each container in the storage level is respectively used as the first container, and based on the access reference information of the first container, it is judged whether the first container needs to migrate to the second storage level.
根据本发明上述实施例的数据归档装置中的数据归档机制,与实施例4的数据归档装置所解释的类似,本领域人员应能理解,前述的可能的实现方式均可应用于本实施例并能获得相同的有益效果,这里不再赘述。The data archiving mechanism in the data archiving device according to the above-mentioned embodiments of the present invention is similar to that explained in the data archiving device in Embodiment 4, and those skilled in the art should understand that the aforementioned possible implementation methods can all be applied to this embodiment and The same beneficial effect can be obtained, and will not be repeated here.
实施例6Example 6
图12为根据本发明一实施例的存储系统结构框图,如图12所示,该存储系统1200可以包括:三个存储层级1210、1220、1230,容器映射表,以及数据归档装置1240。FIG. 12 is a structural block diagram of a storage system according to an embodiment of the present invention. As shown in FIG. 12 , the storage system 1200 may include: three storage levels 1210 , 1220 , and 1230 , a container mapping table, and a data archiving device 1240 .
其中,存储层级1210、1220、1230的数据访问速度各不相同,存储层级1210的数据访问速度最高,存储90天内的数据,存储层级1220的数据访问速度次之,存储90天至1年的数据,存储层级1230的数据访问速度最低,存储1年至7年的数据。重删数据按照存储时间和被访问次数存储在数据访问速度不同的各存储层级。存储层级1210、1220、1230各包括三个容器,所述容器是指存储数据块的逻辑存储单元,并且任意两个所述容器内的数据块互不相同。容器映射表用于记录任一所述容器的容器编号与容器地址的对应关系,所述容器地址是指容器在存储系统中的地址。Among them, the data access speeds of storage tiers 1210, 1220, and 1230 are different. The data access speed of storage tier 1210 is the highest, storing data within 90 days, and the data access speed of storage tier 1220 is second, storing data from 90 days to 1 year , the storage tier 1230 has the lowest data access speed, and stores data from 1 to 7 years. Deduplication data is stored in various storage levels with different data access speeds according to storage time and access times. The storage levels 1210, 1220, and 1230 each include three containers. The containers refer to logical storage units for storing data blocks, and the data blocks in any two containers are different from each other. The container mapping table is used to record the corresponding relationship between the container number of any one of the containers and the container address, and the container address refers to the address of the container in the storage system.
需要说明的是,为了更清楚地介绍数据归档方法和装置以及存储系统,本发明实施例仅以存储层级包括三个容器为例,但本领域技术人员能够理解,实际的存储系统中一个存储层级可以包括十万数量级甚至百万数量级的容器。It should be noted that, in order to more clearly introduce the data archiving method, device, and storage system, this embodiment of the present invention only takes the storage level including three containers as an example, but those skilled in the art can understand that one storage level in an actual storage system It can include containers on the order of hundreds of thousands or even millions of orders.
在一种可能的实现方式中,数据归档装置1240可以采用本发明上述实施例4或5任一项所述的结构,数据归档装置1240主要用于第一存储层级中的第一容器的访问引用信息判断所述第一容器是否需要向第二存储层级迁移,以及在判定所述第一容器需要向所述第二存储层级迁移的情况下,在所述第二存储层级确定第二容器,将所述第一容器存储的数据块迁移到所述第二容器中,并将所述容器映射表中与所述第一容器的容器编号对应的容器地址修改为所述第二容器的容器地址。In a possible implementation manner, the data archiving device 1240 can adopt the structure described in any one of Embodiment 4 or 5 of the present invention, and the data archiving device 1240 is mainly used for the access reference of the first container in the first storage level information to determine whether the first container needs to be migrated to the second storage tier, and if it is determined that the first container needs to be migrated to the second storage tier, determine the second container at the second storage tier, and The data blocks stored in the first container are migrated to the second container, and the container address corresponding to the container number of the first container in the container mapping table is modified to the container address of the second container.
本发明实施例的存储系统各存储层级中的容器是存储经过重删后文件的数据块的逻辑存储单元,因此容器内的数据块是互不相同的,同时由于存储系统使用统一的重删域,因此,与传统的各存储层级分别使用独立的重删域不同,本发明实施例提供的存储系统的各存储层级的容器存储的数据块均互不相同。从而可以保证数据块迁移过程将该存储系统各存储层级作为同一个重删域,避免了如重复数据块查询、重写文件元数据等耗时操作,有效提高了归档场景下数据块迁移的效率。The containers in each storage level of the storage system in the embodiment of the present invention are logical storage units that store data blocks of files after deduplication, so the data blocks in the containers are different from each other, and because the storage system uses a unified deduplication domain Therefore, different from the traditional deduplication domains used for each storage level, the data blocks stored in the containers of each storage level of the storage system provided by the embodiment of the present invention are different from each other. In this way, it can ensure that the data block migration process uses each storage level of the storage system as the same deduplication domain, avoiding time-consuming operations such as repeated data block queries and rewriting file metadata, and effectively improving the efficiency of data block migration in archiving scenarios .
本领域普通技术人员可以意识到,本文所描述的实施例中的各示例性单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件形式来实现,取决于技术方案的特定应用和设计约束条件。专业技术人员可以针对特定的应用选择不同的方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that each exemplary unit and algorithm steps in the embodiments described herein can be realized by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in the form of hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may choose different methods to implement the described functions for specific applications, but this implementation should not be regarded as exceeding the scope of the present invention.
如果以计算机软件的形式来实现所述功能并作为独立的产品销售或使用时,则在一定程度上可认为本发明的技术方案的全部或部分(例如对现有技术做出贡献的部分)是以计算机软件产品的形式体现的。该计算机软件产品通常存储在计算机可读取的非易失性存储介质中,包括若干指令用以使得计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各实施例方法的全部或部分步骤。而前述的存储介质包括U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of computer software and sold or used as an independent product, it can be considered that all or part of the technical solution of the present invention (such as the part that contributes to the prior art) is In the form of computer software products. The computer software product is usually stored in a computer-readable non-volatile storage medium, and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all the methods of the various embodiments of the present invention. or partial steps. The aforementioned storage medium includes various media capable of storing program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a magnetic disk, or an optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310400145.6A CN103473298B (en) | 2013-09-04 | 2013-09-04 | Data archiving method and device and storage system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310400145.6A CN103473298B (en) | 2013-09-04 | 2013-09-04 | Data archiving method and device and storage system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103473298A CN103473298A (en) | 2013-12-25 |
| CN103473298B true CN103473298B (en) | 2017-01-11 |
Family
ID=49798146
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310400145.6A Active CN103473298B (en) | 2013-09-04 | 2013-09-04 | Data archiving method and device and storage system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103473298B (en) |
Families Citing this family (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5730446B1 (en) * | 2014-03-18 | 2015-06-10 | 株式会社東芝 | Hierarchical storage system with trial area, storage controller and program |
| CN105654980B (en) * | 2014-11-11 | 2018-03-06 | 南京壹进制信息技术股份有限公司 | A kind of method of CD server data backup filing |
| CN107196982B (en) | 2016-03-14 | 2021-01-22 | 阿里巴巴集团控股有限公司 | User request processing method and device |
| CN106503427B (en) * | 2016-10-12 | 2019-01-29 | 创业软件股份有限公司 | A kind of solid magnetic disc storage method towards the processing of medical big data |
| CN109246167B (en) * | 2017-07-11 | 2022-04-01 | 阿里巴巴集团控股有限公司 | Container scheduling method and device |
| CN110858124B (en) | 2018-08-24 | 2021-06-01 | 华为技术有限公司 | Data migration method and device |
| CN109992708B (en) * | 2019-04-12 | 2020-09-04 | 苏州浪潮智能科技有限公司 | Method, device, equipment and storage medium for metadata query |
| CN112015347A (en) * | 2020-08-28 | 2020-12-01 | 北京浪潮数据技术有限公司 | Data migration method and device and related equipment |
| CN112925746A (en) * | 2021-03-25 | 2021-06-08 | 北京安天网络安全技术有限公司 | Document filing method and device |
| CN115390768A (en) * | 2022-09-14 | 2022-11-25 | 中国第一汽车股份有限公司 | Data processing method and device |
| CN116204507A (en) * | 2023-01-13 | 2023-06-02 | 北京奇艺世纪科技有限公司 | Object data migration method and device, electronic equipment and storage medium |
| CN119806427A (en) * | 2024-12-31 | 2025-04-11 | 苏州元脑智能科技有限公司 | A data processing method and device |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102467572A (en) * | 2010-11-17 | 2012-05-23 | 英业达股份有限公司 | Data block query method supporting repeated data deletion procedure |
| CN102508789A (en) * | 2011-10-14 | 2012-06-20 | 浪潮电子信息产业股份有限公司 | Grading storage method for system |
| CN103150263A (en) * | 2012-12-13 | 2013-06-12 | 深圳先进技术研究院 | Hierarchical storage method |
| CN103177111A (en) * | 2013-03-29 | 2013-06-26 | 西安理工大学 | System and method for deleting repeating data |
-
2013
- 2013-09-04 CN CN201310400145.6A patent/CN103473298B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102467572A (en) * | 2010-11-17 | 2012-05-23 | 英业达股份有限公司 | Data block query method supporting repeated data deletion procedure |
| CN102508789A (en) * | 2011-10-14 | 2012-06-20 | 浪潮电子信息产业股份有限公司 | Grading storage method for system |
| CN103150263A (en) * | 2012-12-13 | 2013-06-12 | 深圳先进技术研究院 | Hierarchical storage method |
| CN103177111A (en) * | 2013-03-29 | 2013-06-26 | 西安理工大学 | System and method for deleting repeating data |
Non-Patent Citations (3)
| Title |
|---|
| Venti:a new approach to archival storage;Sean Quinlan 等;《FAST 2002 Paper》;20020130;89-102 * |
| 一种归档存储系统结构;刘仲 等;《计算机工程》;20100405;第36卷(第7期);27-29 * |
| 基于重复数据删除的快速文件归档方法;马晓旭 等;《四川大学学报(工科科学报)》;20110920;第43卷(第5期);120-125 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103473298A (en) | 2013-12-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103473298A (en) | Data archiving method and device and storage system | |
| US8868926B2 (en) | Cryptographic hash database | |
| US8423733B1 (en) | Single-copy implicit sharing among clones | |
| CN103544077B (en) | Data processing method and device, shared storage device | |
| CN103617097B (en) | File access pattern method and device | |
| WO2019062574A1 (en) | Metadata query method and device | |
| CN101916290B (en) | Managing method of internal memory database and device | |
| CN111459885B (en) | Data processing method and device, computer equipment and storage medium | |
| CN108345433B (en) | Method, memory system and product for maximized deduplication memory | |
| CN111309258A (en) | B + tree access method and device and computer readable storage medium | |
| US11169968B2 (en) | Region-integrated data deduplication implementing a multi-lifetime duplicate finder | |
| CN110109873A (en) | A kind of file management method for message queue | |
| CN109933564A (en) | File system management method, device, terminal and medium for fast rollback based on linked list and N-ary tree structure | |
| KR20170123336A (en) | File manipulation method and apparatus | |
| CN107111549B (en) | File system management method and device | |
| WO2016192057A1 (en) | Updating method and device for index table | |
| CN110399096A (en) | Metadata of distributed type file system caches the method, apparatus and equipment deleted again | |
| CN109407985B (en) | Data management method and related device | |
| WO2024187818A1 (en) | Data migration method, system and device and non-volatile readable storage medium | |
| CN106227466A (en) | A kind of data segment moving method and system | |
| CN121327040A (en) | Distributed storage methods, devices, computer equipment, media, and products for business data | |
| CN108804571B (en) | Data storage method, device and equipment | |
| CN113656363B (en) | A data deduplication method, system, device and storage medium based on HDFS | |
| CN114443598B (en) | Data writing method, device, computer equipment and storage medium | |
| US9846553B2 (en) | Organization and management of key-value stores |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |