WO2020020170A1 - Data deleting method and device - Google Patents

Data deleting method and device Download PDF

Info

Publication number
WO2020020170A1
WO2020020170A1 PCT/CN2019/097320 CN2019097320W WO2020020170A1 WO 2020020170 A1 WO2020020170 A1 WO 2020020170A1 CN 2019097320 W CN2019097320 W CN 2019097320W WO 2020020170 A1 WO2020020170 A1 WO 2020020170A1
Authority
WO
WIPO (PCT)
Prior art keywords
logical data
data block
logical
time
data
Prior art date
Application number
PCT/CN2019/097320
Other languages
French (fr)
Chinese (zh)
Inventor
李冰杰
王辉
Original Assignee
杭州海康威视数字技术股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 杭州海康威视数字技术股份有限公司 filed Critical 杭州海康威视数字技术股份有限公司
Publication of WO2020020170A1 publication Critical patent/WO2020020170A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems

Definitions

  • the present application relates to the field of data storage, and in particular, to a method and a device for deleting data.
  • the present application provides a data deletion method and device to improve the efficiency of deleting invalid data and reduce the risk of misoperation.
  • a data deletion method is provided.
  • the method is applied to a storage system, and a plurality of logical data blocks are divided in the storage system.
  • the method includes:
  • a data deletion device is provided.
  • the device is applied to a storage system, and the storage system is divided into a plurality of logical data blocks.
  • the device has a function of implementing the method provided by the first aspect.
  • the functions may be implemented by hardware, and may also be implemented by hardware executing corresponding software.
  • the hardware or software includes one or more modules or units corresponding to the functions described above.
  • the apparatus may include:
  • An overdue detection module is used to traverse the multiple logical data blocks that have been divided, and detect whether the logical data block has expired according to a preset time period label and a time validity period for each logical data block; each logical data block corresponds to The original data stored in the storage space satisfies: the timestamp of the original data falls within the time period identified by the time period label of the logical data block, and the time validity period of each logical data block is used to indicate the survival time of the logical data block ;
  • the data deletion module is configured to delete the overdue logical data block and the original data stored in the storage space corresponding to the overdue logical data block for the overdue logical data block detected.
  • the apparatus may include a processor, a memory, and a bus, and the processor and the memory are connected to each other through a bus; the memory stores machine-readable instructions, and the processor calls The machine-readable instructions execute the method provided by the first aspect of the embodiments of the present application.
  • the logical data block is divided, a time period label and a time validity period are set for the logical data block, and then the original data is saved to the corresponding logical data according to the matching between the time stamp of the original data and the time period label of the logical data block.
  • the purpose of judging whether the original data stored in the corresponding storage space of the logical data block is expired can be achieved by judging whether the logical data block is expired, thereby reducing the time consumed for detecting whether the data expires.
  • the time consumed by the embodiments of the present application for detection does not increase with the increase of data.
  • the validity period of the data needs to be modified, it can be conveniently implemented by modifying the time validity period of the logical data block where the data is located.
  • FIG. 1 is an operation flowchart of a data deletion method according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of a logical data block provided by an embodiment of the present application.
  • FIG. 3 is a flowchart of a method for deleting expired data according to an embodiment of the present application.
  • FIG. 4 is a flowchart of a method for deleting overcapacity data according to an embodiment of the present application
  • FIG. 5 is a block diagram of a device module according to an embodiment of the present application.
  • the invalid data can be filtered manually and the filtered invalid data can be deleted.
  • the efficiency is relatively low and there is a risk of misoperation.
  • the embodiment of the present application provides a data deletion scheme.
  • the data deletion solution provided in the embodiments of the present application can be applied to storage systems, including centralized storage systems and distributed storage systems.
  • the centralized storage system refers to a system that stores data on a single device, such as a personal computer (PC);
  • the distributed storage system refers to a system that stores data on multiple independent devices, such as HDFS (Hadoop Distributed File System (Hadoop distributed file system).
  • HDFS Hadoop Distributed File System
  • With the increase of data distributed storage systems featuring high performance and high capacity will gradually become mainstream storage systems.
  • the overall operation flow of the data deletion method may include the following steps:
  • Step 101 The storage system divides a plurality of logical data blocks locally.
  • dividing the logical data block is to allocate corresponding storage space for the created logical data block.
  • the logical data block is a data storage unit in the storage system, and each logical data block corresponds to a segment of real storage space with continuous or discontinuous addresses. Different logical data blocks do not share the same storage space.
  • Step 102 The storage system sets a time period label and a data content label for the divided logical data blocks.
  • the time period label of the logical data block may be used to indicate to which logical data block the storage space corresponding to the logical data block is stored by the storage system.
  • the so-called raw data refers to the data imported into the storage system for the first time.
  • the original data stored in the storage space corresponding to each logical data block satisfies: the timestamp of the original data falls within the time period identified by the time period label of the logical data block.
  • the embodiment of the present application does not limit the interval length of the time period identified by the time period label.
  • the time period label can be set to 2017-2018, January 2018-June 2018, and January 1, 2018. 00:00 to 23:59 on January 1, 2018.
  • the data content label can also be used to indicate to which logical data block the storage space corresponding to the storage system stores the received data.
  • the original data stored in the storage space corresponding to each logical data block also satisfies: the data content of the original data is consistent with the data content label of the logical data block.
  • the data content label can be set in advance according to the content of the data that the storage system will receive. For example, the storage system will receive the camera information of the four communities A, B, C, and D. You can set the corresponding logical data block in advance as follows Data content tags: A cell camera information, B cell camera information, C cell camera information, and D cell camera information.
  • FIG. 2 is a schematic diagram of the logical data blocks divided in the storage system. It can be seen from the figure that the data content labels of logical data blocks with the same time period label are different from each other, and the time periods of the logical data blocks with the same data content label The labels are different from each other.
  • Step 103 The storage system sets a time validity period for each of the divided logical data blocks, and sets a storage capacity limit for each group of logical data blocks having the same content label.
  • the time validity period of each logical data block is used to indicate the survival time of the logical data block, and is a basis for judging whether the original data has expired.
  • the storage capacity limit of each group of logical data blocks is used to limit the size of the original data that the corresponding storage space of the group of logical data blocks can hold, and is the basis for judging whether the original data is overcapacity.
  • Step 104 The storage system sets associated location information for each of the divided logical data blocks.
  • analysis data or other derived data related to the original data will be obtained.
  • These analysis data or derived data are collectively referred to as the associated data of the original data. For example, when a certain raw data is the consumption record of a company in January 2018, the consumption quota of each department of the company obtained in January 2018 by analyzing the consumption record is the related data of the original data.
  • the related location information is used to indicate the storage location of the related data related to the original data.
  • the related location information may be a pointer to a storage location of the related data, a directory name of a directory where the related data is located, or a file name of a file where the related data is located.
  • the division and setting of the logical data block can be completed.
  • the storage system can save the received original data to the corresponding logical data block in the following ways: When the original data is received, according to the timestamp and data content of the received original data, the divided logical data block Search for a matching logical data block; the timestamp of the received original data falls within the time period identified by the time period label of the matching logical data block, and the data content of the received original data and the data of the matching logical data block The content tags are consistent; finally, the received original data is saved to the corresponding storage space of the found matching logical data block.
  • the storage system stores the received original data on the one hand, and on the other hand deletes a part of the old original data to release the storage capacity.
  • Step 105 The storage system detects whether the original data stored in the corresponding storage space of the logical data block exceeds the time validity period or exceeds the storage capacity limit; if yes, execute step 106; if not, execute step 107.
  • the storage system may trigger the detection of the original data according to a fixed frequency, and / or may also immediately trigger the detection of the original data according to a detection instruction input externally.
  • the storage system can start two tasks, one task is used to detect whether the original data exceeds the time validity period, and one task is used to detect whether the original data exceeds the storage capacity limit.
  • the two tasks do not interfere with each other.
  • the detection frequency of these two tasks may be the same or different. As for how to detect whether the original data is overdue and overcapacity will be described below, it will not be described in detail here.
  • Step 106 The storage system performs deletion processing on the original data that exceeds the time validity period or exceeds the storage capacity limit, and proceeds to step 107.
  • Step 107 The storage system detects whether the time validity period and the storage capacity limit set for the logical data block are deleted; if it is, the process ends; if not, the process returns to step 105.
  • Step 301 The storage system traverses the divided logical data blocks, and detects whether the logical data block has expired according to a time period label and a time validity period preset for each logical data block.
  • the storage system stores the original data in the storage space of the corresponding logical data block according to the timestamp of the original data.
  • the original data stored in the storage space corresponding to each logical data block satisfies the following: Timestamp falls within the time period identified by the time period label of the logical data block. For example, when the time period label of a logical data block is 2018.1-2018.6, it means that the original data stored in the corresponding storage space of the logical data block was generated between January 2018 and June 2018. Therefore, the storage system can determine whether the logical data block has expired to achieve the purpose of determining whether the original data stored in the corresponding storage space of the logical data block has expired.
  • the following steps can be used to detect whether a logical data block has expired: For each logical data block, according to a time period label preset for the logical data block, determine the maximum time of the time period identified by the time period label; Calculate the time interval between the current system time and the maximum time; determine whether the time interval is greater than the time validity period preset for the logical data block; if yes, determine that the logical data block has expired; if not, determine that the logical data block has not expired Expired.
  • the time period label of a logical data block is 2017.1-2018.1
  • the maximum time of the time period identified by the time period label is January 2018
  • the current system time is July 2018, it is the logical data block in advance.
  • the set time validity period is one year. Because the current system time differs from the maximum time by six months and less than one year, it can be considered that the logical data block has not expired.
  • Step 302 The storage system deletes the expired logical data block and the original data stored in the storage space corresponding to the expired logical data block for the detected expired logical data block.
  • deleting the overdue logical data block will release the storage space allocated to the overdue logical data block, so that the storage space can be reallocated to other logical data blocks for use.
  • the storage space corresponding to the overdue logical data block can be found. Associated data related to the saved raw data and deleted. This can remove relatively useless or stale data from the storage system as much as possible.
  • the storage system may first notify the administrator of the detected out-of-date logical data block through an email alert, etc.
  • the administrator may choose to extend the validity period of the out-of-date logical data block, for example, by extending the time The validity period is extended from 1 year to 2 years. You can also choose not to extend the validity period of the expired logical data block. If the storage system does not receive an instruction to extend the time validity period of the overdue logical data block within the set time, the overdue logical data block, the original data stored in the corresponding storage space of the overdue logical data block, and related associations are deleted. data.
  • the storage system traverses the divided logical data blocks and performs the following operations on each group of logical data blocks with the same data content label:
  • Step 401 The storage system counts the total size of the original data stored in the storage space corresponding to the set of logical data blocks.
  • each group of logical data blocks is composed of at least one logical data block having the same data content label.
  • the data content label of a certain group of logical data blocks is the consumption record of company A
  • the storage space of the group of logical data blocks can store the consumption records of company A in each month.
  • Step 402 The storage system judges whether the total size of the original data obtained by the statistics is greater than a preset storage capacity limit for the group of logical data blocks; if yes, step 403 is performed to execute the deletion process; if not, no deletion process is performed.
  • Step 403 When the size of the obtained raw data is larger than the preset storage capacity limit for the set of logical data blocks, the storage system filters out N logical data blocks from the set of logical data blocks, deletes the N logical data blocks and The N logical data blocks correspond to the original data stored in the storage space, so that after the deletion is completed, the total size of the original data stored in the corresponding logical space of the group of logical data blocks is less than the preset storage capacity limit for the group of logical data blocks.
  • N logical data blocks with the minimum time ranking in the first N bits can be filtered according to the minimum time of the time period identified by the time period label of each logical data block in the set of logical data blocks.
  • the time period label of logical data block 1 is January 2017-April 2017, and the time period label of logical data block 2 is May 2017-2017.
  • the time period label of logical data block 3 is September 2017 to December 2017; then the minimum time of the time period identified by the time period label of logical data block 1 is January 2017, and logical data block 2 is In May 2017, logical data block 3 was September 2017.
  • the storage system can first delete the logical data block 1 which is ranked first in the minimum time and the original data generated from January 2017 to April 2017, and then determine whether the size of the original data corresponding to the set of logical data blocks is low.
  • the corresponding corresponding to the oversized logical data block may be found according to the associated position information set for the oversized logical data block in step 104 in advance. Associated data related to the original data stored in the storage space and deleted. This can remove relatively useless or stale data from the storage system as much as possible.
  • the storage system may notify the administrator of the overcapacity logical data block by performing an email alert before performing step 403.
  • the administrator may choose to perform the storage capacity limit of the overcapacity logical data block. Increase, for example, increase the storage capacity limit from 1G to 2G, or you can choose not to extend the storage capacity limit of the overcapacity logical data block. If the storage system does not receive an instruction to increase the storage capacity limit of the over-capacity logical data block within the set time, then delete the over-capacity logical data block and the original stored in the corresponding storage space of the over-capacity logical data block. Data and related associated data.
  • the embodiment of the present application divides the logical data block, sets a time period label and a time validity period for the logical data block, and then matches the original data time stamp and the logical data block time period label to match the original data.
  • the data is stored in the storage space of the corresponding logical data block; in this way, the purpose of judging whether the original data stored in the corresponding storage space of the logical data block is expired can be achieved by judging whether the logical data block is expired, which reduces the detection of whether the data expires Elapsed time.
  • the time consumed by the embodiments of the present application for detection does not increase with the increase of data.
  • the validity period of the data needs to be modified, it can be conveniently implemented by modifying the time validity period of the logical data block where the data is located.
  • the embodiment of the present application also sets one for each group of logical data blocks with the same data content label.
  • a common storage capacity limit When the original data in the set of logical data blocks exceeds the storage capacity limit, the old data within the earliest time range is deleted to free up storage space.
  • embodiments of the present application also support deleting related data related to the original data while deleting the original data.
  • FIG. 5 is a functional module diagram of a data deletion device provided by an embodiment of the present application.
  • the device can be applied to a storage system, where a plurality of logical data blocks are divided. As shown in Figure 5, the device includes:
  • An overdue detection module 501 is configured to traverse the multiple logical data blocks that have been divided, and detect whether the logical data block has expired according to a preset time period label and a time validity period for each logical data block; each logical data block corresponds to The original data stored in the storage space of the memory satisfies: the time stamp of the original data falls within the time period identified by the time period label of the logical data block, and the time validity period of each logical data block is used to indicate the survival of the logical data block duration;
  • the data deletion module 502 is configured to delete the overdue logical data block and the original data stored in the storage space corresponding to the overdue logical data block for the overdue logical data block detected.
  • the overdue detection module 501 is configured to determine, for each logical data block, a maximum time of a time period identified by the time period label according to a time period label preset for the logical data block. Calculate the time interval between the current system time and the maximum time; determine whether the time interval is greater than the time validity period preset for the logical data block; if yes, determine that the logical data block has expired; if not, determine the logical data block Not expired.
  • each logical data block is further preset with a data content tag; the device may further include:
  • a data saving module configured to find a matching logical data block among the divided logical data blocks according to the time stamp and data content of the received original data; the time stamp of the received original data falls on the matching logical data block In the time period identified by the time period label, and the data content of the received original data is consistent with the data content label of the matching logical data block; the received original data is stored in the corresponding storage space of the found matching logical data block .
  • the device may further include an overcapacity detection module
  • the overcapacity detection module is configured to traverse the plurality of logical data blocks that have been divided, and perform the following operations on each group of logical data blocks with the same data content label: Count the number of logical data blocks stored in the corresponding storage space. The sum of the size of the original data; judging whether the sum of the size of the raw data obtained by the statistics is greater than the preset storage capacity limit for the set of logical data blocks; if so, filtering out N logical data blocks from the set of logical data blocks;
  • the data deletion module 502 is further configured to delete the N logical data blocks and the original data stored in the storage space corresponding to the N logical data blocks, so that after the deletion is completed, the corresponding logical data blocks are stored in the corresponding storage space.
  • the total size of the original data is less than the preset storage capacity limit for this set of logical data blocks.
  • the overcapacity detection module is configured to filter out the smallest moment in the top N based on the smallest moment of the time period identified by the time period label of each logical data block in the set of logical data blocks. N logical blocks of bits.
  • the data deletion module 502 is further configured to, for the detected overdue logical data block, find corresponding storage corresponding to the overdue logical data block according to the associated position information set for the overdue logical data block in advance.
  • the associated data related to the original data stored in the space is deleted, and the associated location information is used to indicate a storage location of the associated data.
  • the division of the modules in the embodiments of the present application is schematic, and is only a logical function division. In actual implementation, there may be another division manner.
  • the functional modules in the embodiments of the present application may be integrated into one processing module, or each module may exist separately physically, or two or more modules may be integrated into one module.
  • the above integrated modules may be implemented in the form of hardware or software functional modules.
  • An embodiment of the present application further provides a data deletion device, which is applied to a storage system and includes a processor, a memory, and a bus.
  • the processor and the memory are connected to each other through a bus.
  • the memory stores machine-readable instructions.
  • the processor calls the machine-readable instructions to implement the methods shown in FIG. 1, FIG. 3, and FIG. 4.
  • an embodiment of the present application further provides a machine-readable storage medium that stores machine-readable instructions.
  • the machine may Executing instructions causes the processor to implement the methods shown in FIG. 1, FIG. 2, and FIG.

Abstract

Provided by the present application are a data deleting method and device. The method comprises: dividing logical data blocks, and configuring a time period label and a time validity period for the logical data blocks, and then original data is saved in a storage space of a corresponding logical data block according to matching conditions between a time stamp of the original data and the time period label of the logical data block. Therefore, it is possible to determine whether original data saved in the corresponding storage space of a logical data block is outdated by determining whether the logical data block is outdated, thereby reducing the time taken for detecting whether data is outdated. According to the embodiments of the present application, the time spent on detection does not increase along with an increase in data on the premise of the number of logical data blocks remaining fixed. In addition, the validity period of data may be conveniently modified when required by means of modifying the time validity period of the logical data block in which the data is located.

Description

数据删除方法和装置Data deletion method and device 技术领域Technical field
本申请涉及数据存储领域,尤其涉及一种数据删除方法和装置。The present application relates to the field of data storage, and in particular, to a method and a device for deleting data.
背景技术Background technique
在数据存储的过程中,可能会存在一些无效的数据,这些无效的数据会占用一部分的存储资源,还会对有效数据形成干扰,从而影响数据库中的数据资源的利用和干扰数据分析的结果。因此无效数据的删除也变的至关重要。In the process of data storage, there may be some invalid data. These invalid data will occupy a part of the storage resources and will interfere with the valid data, which will affect the use of data resources in the database and interfere with the results of data analysis. Therefore, the deletion of invalid data becomes crucial.
发明内容Summary of the Invention
有鉴于此,本申请提供一种数据删除方法和装置,以提高删除无效数据的效率并降低误操作的风险。In view of this, the present application provides a data deletion method and device to improve the efficiency of deleting invalid data and reduce the risk of misoperation.
本申请实施例第一方面,提供了一种数据删除方法,所述方法应用于存储系统,所述存储系统中划分出多个逻辑数据块,所述方法包括:According to a first aspect of the embodiments of the present application, a data deletion method is provided. The method is applied to a storage system, and a plurality of logical data blocks are divided in the storage system. The method includes:
遍历已划分出的所述多个逻辑数据块,根据为每个逻辑数据块预先设置的时间段标签和时间有效期检测该逻辑数据块是否超期;每个逻辑数据块对应的存储空间内保存的原始数据满足:该原始数据的时间戳落在该逻辑数据块的时间段标签所标识的时间段内,每个逻辑数据块的时间有效期用于指示该逻辑数据块的存活时长;Traverse the plurality of logical data blocks that have been divided, and detect whether the logical data block has expired according to a time period label and a time period set in advance for each logical data block; the original saved in the storage space corresponding to each logical data block Data meets: The timestamp of the original data falls within the time period identified by the time period label of the logical data block, and the time validity period of each logical data block is used to indicate the survival time of the logical data block;
针对检测出的超期逻辑数据块,删除该超期逻辑数据块和该超期逻辑数据块对应存储空间内保存的原始数据。For the detected overdue logical data block, delete the overdue logical data block and the original data stored in the storage space corresponding to the overdue logical data block.
本申请实施例第二方面,提供了一种数据删除装置,所述装置应用于存储系统,所述存储系统中划分出多个逻辑数据块。所述装置具有实现上述第一方面提供的方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块或单元。According to a second aspect of the embodiments of the present application, a data deletion device is provided. The device is applied to a storage system, and the storage system is divided into a plurality of logical data blocks. The device has a function of implementing the method provided by the first aspect. The functions may be implemented by hardware, and may also be implemented by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the functions described above.
一种实现方式中,所述装置可以包括:In an implementation manner, the apparatus may include:
超期检测模块,用于遍历已划分出的所述多个逻辑数据块,根据为每个逻辑数据块预先设置的时间段标签和时间有效期检测该逻辑数据块是否超期;每个逻辑数据块对应的存储空间内保存的原始数据满足:该原始数据的时间戳落在该逻辑数据块的时间段标 签所标识的时间段内,每个逻辑数据块的时间有效期用于指示该逻辑数据块的存活时长;An overdue detection module is used to traverse the multiple logical data blocks that have been divided, and detect whether the logical data block has expired according to a preset time period label and a time validity period for each logical data block; each logical data block corresponds to The original data stored in the storage space satisfies: the timestamp of the original data falls within the time period identified by the time period label of the logical data block, and the time validity period of each logical data block is used to indicate the survival time of the logical data block ;
数据删除模块,用于针对检测出的超期逻辑数据块,删除该超期逻辑数据块和该超期逻辑数据块对应存储空间内保存的原始数据。The data deletion module is configured to delete the overdue logical data block and the original data stored in the storage space corresponding to the overdue logical data block for the overdue logical data block detected.
另一种实现方式中,所述装置可以包括处理器、存储器和总线,所述处理器和所述存储器之间通过总线相互连接;所述存储器中存储机器可读指令,所述处理器通过调用所述机器可读指令,执行本申请实施例第一方面提供的方法。In another implementation manner, the apparatus may include a processor, a memory, and a bus, and the processor and the memory are connected to each other through a bus; the memory stores machine-readable instructions, and the processor calls The machine-readable instructions execute the method provided by the first aspect of the embodiments of the present application.
本申请实施例通过划分逻辑数据块,为逻辑数据块设置时间段标签和时间有效期,再按照原始数据的时间戳和逻辑数据块的时间段标签的匹配情况,将原始数据保存到相应的逻辑数据块的存储空间中;这样,可以通过判断逻辑数据块是否超期,来实现判断逻辑数据块对应存储空间内保存的原始数据是否超期的目的,减小了检测数据是否超期所消耗的时间。在逻辑数据块的数量保持一定的前提下,本申请实施例在检测上耗费的时间并不随数据的增多而增多。以及,当需要修改数据的有效期时,通过修改该数据所在逻辑数据块的时间有效期即可方便的实现。In the embodiment of the present application, the logical data block is divided, a time period label and a time validity period are set for the logical data block, and then the original data is saved to the corresponding logical data according to the matching between the time stamp of the original data and the time period label of the logical data block. In this way, the purpose of judging whether the original data stored in the corresponding storage space of the logical data block is expired can be achieved by judging whether the logical data block is expired, thereby reducing the time consumed for detecting whether the data expires. On the premise that the number of logical data blocks remains constant, the time consumed by the embodiments of the present application for detection does not increase with the increase of data. And, when the validity period of the data needs to be modified, it can be conveniently implemented by modifying the time validity period of the logical data block where the data is located.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请实施例提供的一种数据删除方法的运作流程图;FIG. 1 is an operation flowchart of a data deletion method according to an embodiment of the present application; FIG.
图2是本申请实施例提供的逻辑数据块示意图;2 is a schematic diagram of a logical data block provided by an embodiment of the present application;
图3是本申请实施例提供的删除超期数据的方法流程图;3 is a flowchart of a method for deleting expired data according to an embodiment of the present application;
图4是本申请实施例提供的删除超容数据的方法流程图;FIG. 4 is a flowchart of a method for deleting overcapacity data according to an embodiment of the present application; FIG.
图5是本申请实施例提供的装置模块框图。FIG. 5 is a block diagram of a device module according to an embodiment of the present application.
具体实施方式detailed description
为了使本发明的目的、技术方案和优点更加清楚,下面结合附图和具体实施例对本发明进行详细描述。In order to make the objectives, technical solutions, and advantages of the present invention clearer, the following describes the present invention in detail with reference to the accompanying drawings and specific embodiments.
在一实施例中,可依靠人工对无效数据进行筛选并将筛选出的无效数据进行删除,在这种情况下,效率相对较低并且存在误操作风险。为提高删除无效数据的效率并降低误操作的风险,本申请实施例提供一种数据删除方案。本申请实施例提供的数据删除方案可以应用于存储系统,包括集中式存储系统和分布式存储系统。其中集中式存储系统 指将数据集中存储在一台设备上的系统,比如PC(personal computer,个人计算机);分布式存储系统指将数据分散存储在多台独立设备上的系统,比如HDFS(Hadoop Distributed File System,Hadoop分布式文件系统)。随着数据的增多,以高性能、高容量为主要特性的分布式存储系统将逐渐成为主流的存储系统。In one embodiment, the invalid data can be filtered manually and the filtered invalid data can be deleted. In this case, the efficiency is relatively low and there is a risk of misoperation. In order to improve the efficiency of deleting invalid data and reduce the risk of misoperation, the embodiment of the present application provides a data deletion scheme. The data deletion solution provided in the embodiments of the present application can be applied to storage systems, including centralized storage systems and distributed storage systems. The centralized storage system refers to a system that stores data on a single device, such as a personal computer (PC); the distributed storage system refers to a system that stores data on multiple independent devices, such as HDFS (Hadoop Distributed File System (Hadoop distributed file system). With the increase of data, distributed storage systems featuring high performance and high capacity will gradually become mainstream storage systems.
请参见图1,在一个实施方案中,本申请实施例提供的数据删除方法的总体运作流程可以包括以下步骤:Referring to FIG. 1, in one embodiment, the overall operation flow of the data deletion method provided by the embodiment of the present application may include the following steps:
步骤101:存储系统在本地划分出多个逻辑数据块。Step 101: The storage system divides a plurality of logical data blocks locally.
这里,划分逻辑数据块即为创建的逻辑数据块分配对应的存储空间。本申请实施例中,逻辑数据块为存储系统中的数据存储单元,每个逻辑数据块对应一段地址连续或者不连续的真实存储空间。不同的逻辑数据块不会共用同一存储空间。在系统运行过程中,可以根据需求为逻辑数据块增加存储空间,但需要注意的是,已分配给某个逻辑数据块使用的存储空间不能再分配给其它逻辑数据块。Here, dividing the logical data block is to allocate corresponding storage space for the created logical data block. In the embodiment of the present application, the logical data block is a data storage unit in the storage system, and each logical data block corresponds to a segment of real storage space with continuous or discontinuous addresses. Different logical data blocks do not share the same storage space. During the operation of the system, you can increase the storage space for logical data blocks according to requirements, but it should be noted that the storage space that has been allocated to a logical data block cannot be allocated to other logical data blocks.
步骤102:存储系统为划分出的多个逻辑数据块设置时间段标签和数据内容标签。Step 102: The storage system sets a time period label and a data content label for the divided logical data blocks.
本申请实施例中,逻辑数据块的时间段标签可以用于指示存储系统将收到的原始数据保存到哪个逻辑数据块对应的存储空间。所谓原始数据是指存储系统中初次导入的数据。每个逻辑数据块对应的存储空间内保存的原始数据满足:该原始数据的时间戳落在该逻辑数据块的时间段标签所标识的时间段内。本申请实施例对时间段标签所标识的时间段的间隔长短并不做限制,例如可以将时间段标签设置成2017年-2018年,2018年1月-2018年6月,2018年1月1日00:00-2018年1月1日23:59等。In the embodiment of the present application, the time period label of the logical data block may be used to indicate to which logical data block the storage space corresponding to the logical data block is stored by the storage system. The so-called raw data refers to the data imported into the storage system for the first time. The original data stored in the storage space corresponding to each logical data block satisfies: the timestamp of the original data falls within the time period identified by the time period label of the logical data block. The embodiment of the present application does not limit the interval length of the time period identified by the time period label. For example, the time period label can be set to 2017-2018, January 2018-June 2018, and January 1, 2018. 00:00 to 23:59 on January 1, 2018.
同样的,数据内容标签也可用于指示存储系统将收到的数据保存到哪个逻辑数据块对应的存储空间。每个逻辑数据块对应的存储空间内保存的原始数据还满足:该原始数据的数据内容与该逻辑数据块的数据内容标签一致。数据内容标签可以根据存储系统将会收到的数据的内容提前设置,例如存储系统将会收到A、B、C、D四个小区的摄像信息,则可以提前为相应的逻辑数据块设置如下数据内容标签:A小区摄像信息、B小区摄像信息、C小区摄像信息和D小区摄像信息。Similarly, the data content label can also be used to indicate to which logical data block the storage space corresponding to the storage system stores the received data. The original data stored in the storage space corresponding to each logical data block also satisfies: the data content of the original data is consistent with the data content label of the logical data block. The data content label can be set in advance according to the content of the data that the storage system will receive. For example, the storage system will receive the camera information of the four communities A, B, C, and D. You can set the corresponding logical data block in advance as follows Data content tags: A cell camera information, B cell camera information, C cell camera information, and D cell camera information.
参见图2,为存储系统中划分出的逻辑数据块的示意图,由图可见,具有相同时间段标签的逻辑数据块的数据内容标签互不相同,具有相同数据内容标签的逻辑数据块的时间段标签互不相同。Refer to FIG. 2, which is a schematic diagram of the logical data blocks divided in the storage system. It can be seen from the figure that the data content labels of logical data blocks with the same time period label are different from each other, and the time periods of the logical data blocks with the same data content label The labels are different from each other.
步骤103:存储系统为划分出的每个逻辑数据块分别设置时间有效期,以及为具有 相同内容标签的每组逻辑数据块设置存储容量限额。Step 103: The storage system sets a time validity period for each of the divided logical data blocks, and sets a storage capacity limit for each group of logical data blocks having the same content label.
本申请实施例中,每个逻辑数据块的时间有效期用于指示该逻辑数据块的存活时长,是用于判断原始数据是否超期的依据。每组逻辑数据块的存储容量限额用于限制该组逻辑数据块的对应存储空间能够保存的原始数据大小,是用于判断原始数据是否超容的依据。In the embodiment of the present application, the time validity period of each logical data block is used to indicate the survival time of the logical data block, and is a basis for judging whether the original data has expired. The storage capacity limit of each group of logical data blocks is used to limit the size of the original data that the corresponding storage space of the group of logical data blocks can hold, and is the basis for judging whether the original data is overcapacity.
步骤104:存储系统为划分出的每个逻辑数据块分别设置关联位置信息。Step 104: The storage system sets associated location information for each of the divided logical data blocks.
原始数据在存储并经过处理后,会得到与之相关的分析数据或其它衍生数据,这些分析数据或衍生数据统称为原始数据的关联数据。例如当某原始数据为某公司于2018年1月的消费记录时,通过分析该消费记录得到的该公司各部门于2018年1月的消费额度即为该原始数据的关联数据。After the original data is stored and processed, analysis data or other derived data related to the original data will be obtained. These analysis data or derived data are collectively referred to as the associated data of the original data. For example, when a certain raw data is the consumption record of a company in January 2018, the consumption quota of each department of the company obtained in January 2018 by analyzing the consumption record is the related data of the original data.
这里的关联位置信息用于指示与原始数据相关的关联数据的存储位置,例如可以是指向关联数据存储位置的指针、关联数据所在目录的目录名、或者关联数据所在文件的文件名等。The related location information is used to indicate the storage location of the related data related to the original data. For example, the related location information may be a pointer to a storage location of the related data, a directory name of a directory where the related data is located, or a file name of a file where the related data is located.
经过以上步骤101-104,即可完成逻辑数据块的划分和设置。之后,存储系统可以通过以下方式将收到的原始数据保存到对应的逻辑数据块:当接收到原始数据时,根据接收到的原始数据的时间戳和数据内容,在已划分出的逻辑数据块中查找匹配逻辑数据块;该接收到的原始数据的时间戳落在匹配逻辑数据块的时间段标签所标识的时间段内,且该接收到的原始数据的数据内容与匹配逻辑数据块的数据内容标签一致;最后,将接收到的原始数据保存至找到的匹配逻辑数据块的对应存储空间内。After the above steps 101-104, the division and setting of the logical data block can be completed. After that, the storage system can save the received original data to the corresponding logical data block in the following ways: When the original data is received, according to the timestamp and data content of the received original data, the divided logical data block Search for a matching logical data block; the timestamp of the received original data falls within the time period identified by the time period label of the matching logical data block, and the data content of the received original data and the data of the matching logical data block The content tags are consistent; finally, the received original data is saved to the corresponding storage space of the found matching logical data block.
存储系统一方面对收到的原始数据进行存储,一方面会删除一部分旧的原始数据来释放存储容量。The storage system stores the received original data on the one hand, and on the other hand deletes a part of the old original data to release the storage capacity.
步骤105:存储系统检测已保存在逻辑数据块对应存储空间内的原始数据是否超出时间有效期或者超出存储容量限额;如果是,则执行步骤106,如果否,则执行步骤107。Step 105: The storage system detects whether the original data stored in the corresponding storage space of the logical data block exceeds the time validity period or exceeds the storage capacity limit; if yes, execute step 106; if not, execute step 107.
这里,存储系统可以按照固定频率触发对原始数据的检测,和/或,也可以根据外部输入的检测指令即时触发对原始数据的检测。Here, the storage system may trigger the detection of the original data according to a fixed frequency, and / or may also immediately trigger the detection of the original data according to a detection instruction input externally.
在检测时,存储系统可以启动两个任务,一个任务用于检测原始数据是否超出时间有效期,一个任务用于检测原始数据是否超出存储容量限额,两个任务互不干扰。当存储系统按照固定频率触发对原始数据的检测时,这两个任务的检测频率可以相同,也可以不同。至于如何根据检测原始数据是否超期和超容将在下文描述,这里暂不详述。During detection, the storage system can start two tasks, one task is used to detect whether the original data exceeds the time validity period, and one task is used to detect whether the original data exceeds the storage capacity limit. The two tasks do not interfere with each other. When the storage system triggers detection of the original data at a fixed frequency, the detection frequency of these two tasks may be the same or different. As for how to detect whether the original data is overdue and overcapacity will be described below, it will not be described in detail here.
步骤106:存储系统对超出时间有效期或者超出存储容量限额的原始数据执行删除处理,并继续执行步骤107。Step 106: The storage system performs deletion processing on the original data that exceeds the time validity period or exceeds the storage capacity limit, and proceeds to step 107.
步骤107:存储系统检测为逻辑数据块设置的时间有效期和存储容量限额是否被删除;如果是,则流程结束;如果否,则返回执行步骤105。Step 107: The storage system detects whether the time validity period and the storage capacity limit set for the logical data block are deleted; if it is, the process ends; if not, the process returns to step 105.
下面,通过图3,对上述步骤105和步骤106中检测原始数据是否超出时间有效期的一种实施方式进行说明:Next, an implementation manner of detecting whether the original data exceeds the time validity period in the foregoing steps 105 and 106 will be described with reference to FIG. 3:
步骤301:存储系统遍历已划分出的多个逻辑数据块,根据为每个逻辑数据块预先设置的时间段标签和时间有效期检测该逻辑数据块是否超期。Step 301: The storage system traverses the divided logical data blocks, and detects whether the logical data block has expired according to a time period label and a time validity period preset for each logical data block.
本申请实施例中,存储系统是根据原始数据的时间戳将原始数据保存到对应的逻辑数据块的存储空间内的,每个逻辑数据块对应的存储空间内保存的原始数据满足:该原始数据的时间戳落在该逻辑数据块的时间段标签所标识的时间段内。比如当一逻辑数据块的时间段标签为2018.1-2018.6时,表示该逻辑数据块对应存储空间内保存的原始数据是在2018年1月至2018年6月之间生成的。因此,存储系统可以通过判断逻辑数据块是否超期,来实现判断逻辑数据块对应存储空间内保存的原始数据是否超期的目的。In the embodiment of the present application, the storage system stores the original data in the storage space of the corresponding logical data block according to the timestamp of the original data. The original data stored in the storage space corresponding to each logical data block satisfies the following: Timestamp falls within the time period identified by the time period label of the logical data block. For example, when the time period label of a logical data block is 2018.1-2018.6, it means that the original data stored in the corresponding storage space of the logical data block was generated between January 2018 and June 2018. Therefore, the storage system can determine whether the logical data block has expired to achieve the purpose of determining whether the original data stored in the corresponding storage space of the logical data block has expired.
在一个例子中,可以通过以下步骤检测逻辑数据块是否超期:针对每个逻辑数据块,根据为该逻辑数据块预先设置的时间段标签,确定该时间段标签所标识的时间段的最大时刻;计算当前系统时刻与该最大时刻的时间间隔;判断该时间间隔是否大于为该逻辑数据块预先设置的时间有效期;如果是,则确定该逻辑数据块超期;如果否,则确定该逻辑数据块未超期。In one example, the following steps can be used to detect whether a logical data block has expired: For each logical data block, according to a time period label preset for the logical data block, determine the maximum time of the time period identified by the time period label; Calculate the time interval between the current system time and the maximum time; determine whether the time interval is greater than the time validity period preset for the logical data block; if yes, determine that the logical data block has expired; if not, determine that the logical data block has not expired Expired.
例如,一逻辑数据块的时间段标签为2017.1-2018.1,则该时间段标签所标识的时间段的最大时刻为2018年1月;如果当前系统时刻为2018年7月,预先为该逻辑数据块设置的时间有效期为1年,则由于当前系统时刻与该最大时刻相差6个月不满1年,所以可以认为该逻辑数据块未超期。For example, if the time period label of a logical data block is 2017.1-2018.1, the maximum time of the time period identified by the time period label is January 2018; if the current system time is July 2018, it is the logical data block in advance. The set time validity period is one year. Because the current system time differs from the maximum time by six months and less than one year, it can be considered that the logical data block has not expired.
步骤302:存储系统针对检测出的超期逻辑数据块,删除该超期逻辑数据块和该超期逻辑数据块对应存储空间内保存的原始数据。Step 302: The storage system deletes the expired logical data block and the original data stored in the storage space corresponding to the expired logical data block for the detected expired logical data block.
这里,删除超期逻辑数据块,即将分配给该超期逻辑数据块使用的存储空间释放,使得该存储空间可以重新分配给其它逻辑数据块使用。Here, deleting the overdue logical data block will release the storage space allocated to the overdue logical data block, so that the storage space can be reallocated to other logical data blocks for use.
此外,在删除超期逻辑数据块对应存储空间内保存的原始数据之前或之后,还可以根据步骤104中预先为该超期逻辑数据块设置的关联位置信息,找到与该超期逻辑数据 块对应存储空间内保存的原始数据相关的关联数据并删除。如此可以尽可能的删除存储系统中相对无用或陈旧的数据。In addition, before or after deleting the original data stored in the storage space corresponding to the overdue logical data block, according to the associated position information set for the overdue logical data block in advance in step 104, the storage space corresponding to the overdue logical data block can be found. Associated data related to the saved raw data and deleted. This can remove relatively useless or stale data from the storage system as much as possible.
在一实施例中,步骤302中存储系统针对检测出的超期逻辑数据块,可以先通过邮件告警等形式通知管理员,管理员可以选择对该超期逻辑数据块的时间有效期进行延长,比如将时间有效期从1年延长为2年,也可以选择不对该超期逻辑数据块的时间有效期进行延长。存储系统如果在设定时间内未接收到对该超期逻辑数据块的时间有效期进行延长的指令,则删除该超期逻辑数据块、该超期逻辑数据块对应存储空间内保存的原始数据以及相关的关联数据。In an embodiment, in step 302, the storage system may first notify the administrator of the detected out-of-date logical data block through an email alert, etc. The administrator may choose to extend the validity period of the out-of-date logical data block, for example, by extending the time The validity period is extended from 1 year to 2 years. You can also choose not to extend the validity period of the expired logical data block. If the storage system does not receive an instruction to extend the time validity period of the overdue logical data block within the set time, the overdue logical data block, the original data stored in the corresponding storage space of the overdue logical data block, and related associations are deleted. data.
以下,通过图4,对上述步骤105和步骤106中检测原始数据是否超出存储容量限额的一种实施方式进行说明。存储系统遍历已划分出的多个逻辑数据块,针对具有相同数据内容标签的每组逻辑数据块执行以下操作:Hereinafter, an embodiment of detecting whether the original data exceeds the storage capacity limit in the foregoing steps 105 and 106 will be described with reference to FIG. 4. The storage system traverses the divided logical data blocks and performs the following operations on each group of logical data blocks with the same data content label:
步骤401:存储系统统计该组逻辑数据块对应存储空间内保存的原始数据大小总和。Step 401: The storage system counts the total size of the original data stored in the storage space corresponding to the set of logical data blocks.
本申请实施例中,每组逻辑数据块由至少一个具有相同数据内容标签的逻辑数据块组成。比如某组逻辑数据块的数据内容标签为A公司消费记录,则该组逻辑数据块的存储空间内可以存储着A公司在各个月份的消费记录。In the embodiment of the present application, each group of logical data blocks is composed of at least one logical data block having the same data content label. For example, the data content label of a certain group of logical data blocks is the consumption record of company A, then the storage space of the group of logical data blocks can store the consumption records of company A in each month.
步骤402:存储系统判断统计得到的原始数据大小总和是否大于为该组逻辑数据块预先设置的存储容量限额;如果是,则通过步骤403执行删除处理;如果否,则不执行删除处理。Step 402: The storage system judges whether the total size of the original data obtained by the statistics is greater than a preset storage capacity limit for the group of logical data blocks; if yes, step 403 is performed to execute the deletion process; if not, no deletion process is performed.
步骤403:当统计得到的原始数据大小大于为该组逻辑数据块预先设置的存储容量限额时,存储系统从该组逻辑数据块中筛选出N个逻辑数据块,删除该N个逻辑数据块和该N个逻辑数据块对应存储空间内保存的原始数据,使得完成删除之后该组逻辑数据块对应存储空间内保存的原始数据大小总和小于为该组逻辑数据块预先设置的存储容量限额。Step 403: When the size of the obtained raw data is larger than the preset storage capacity limit for the set of logical data blocks, the storage system filters out N logical data blocks from the set of logical data blocks, deletes the N logical data blocks and The N logical data blocks correspond to the original data stored in the storage space, so that after the deletion is completed, the total size of the original data stored in the corresponding logical space of the group of logical data blocks is less than the preset storage capacity limit for the group of logical data blocks.
在一个例子中,步骤403中可以根据该组逻辑数据块中每个逻辑数据块的时间段标签所标识的时间段的最小时刻,筛选出最小时刻排在前N位的N个逻辑数据块。In an example, in step 403, N logical data blocks with the minimum time ranking in the first N bits can be filtered according to the minimum time of the time period identified by the time period label of each logical data block in the set of logical data blocks.
例如,假设一组逻辑数据块包括3个逻辑数据块,逻辑数据块1的时间段标签为2017年1月-2017年4月,逻辑数据块2的时间段标签为2017年5月-2017年8月,逻辑数据块3的时间段标签为2017年9月-2017年12月;则逻辑数据块1的时间段标签所标识的时间段的最小时刻为2017年1月,逻辑数据块2为2017年5月,逻辑数据块3为 2017年9月。存储系统可以先删除最小时刻排在第1位的逻辑数据块1和2017年1月至2017年4月内产生的原始数据,然后判断此时该组逻辑数据块对应保存的原始数据大小是否低于设置的存储容量限额,如果是则结束删除处理,如果否则继续删除最小时刻排在第2位的逻辑数据块2和2017年5月至-2017年8月内产生的原始数据,重复此操作直至该组逻辑数据块对应保存的原始数据大小小于设置的存储容量限额。For example, suppose a set of logical data blocks includes 3 logical data blocks, the time period label of logical data block 1 is January 2017-April 2017, and the time period label of logical data block 2 is May 2017-2017. In August, the time period label of logical data block 3 is September 2017 to December 2017; then the minimum time of the time period identified by the time period label of logical data block 1 is January 2017, and logical data block 2 is In May 2017, logical data block 3 was September 2017. The storage system can first delete the logical data block 1 which is ranked first in the minimum time and the original data generated from January 2017 to April 2017, and then determine whether the size of the original data corresponding to the set of logical data blocks is low. Based on the set storage capacity limit, if it is, end the deletion process; if not, continue to delete the logical data block 2 that is ranked second at the smallest moment and the original data generated from May 2017 to August 2017, and repeat this operation Until the size of the original data corresponding to the set of logical data blocks is less than the set storage capacity limit.
此外,在删除超容逻辑数据块对应存储空间内保存的原始数据之前或之后,还可以根据步骤104中预先为该超容逻辑数据块设置的关联位置信息,找到与该超容逻辑数据块对应存储空间内保存的原始数据相关的关联数据并删除。如此可以尽可能的删除存储系统中相对无用或陈旧的数据。In addition, before or after deleting the original data stored in the storage space corresponding to the oversized logical data block, the corresponding corresponding to the oversized logical data block may be found according to the associated position information set for the oversized logical data block in step 104 in advance. Associated data related to the original data stored in the storage space and deleted. This can remove relatively useless or stale data from the storage system as much as possible.
在一实施例中,针对超容的该组逻辑数据块,存储系统在执行步骤403之前可以先通过邮件告警等形式通知管理员,管理员可以选择对该超容逻辑数据块的存储容量限额进行增大,比如将存储容量限额从1G增大为2G,也可以选择不对该超容逻辑数据块的存储容量限额进行延长。存储系统如果在设定时间内未接收到对该超容逻辑数据块的存储容量限额进行增大的指令,再删除该超容逻辑数据块、该超容逻辑数据块对应存储空间内保存的原始数据以及相关的关联数据。In one embodiment, the storage system may notify the administrator of the overcapacity logical data block by performing an email alert before performing step 403. The administrator may choose to perform the storage capacity limit of the overcapacity logical data block. Increase, for example, increase the storage capacity limit from 1G to 2G, or you can choose not to extend the storage capacity limit of the overcapacity logical data block. If the storage system does not receive an instruction to increase the storage capacity limit of the over-capacity logical data block within the set time, then delete the over-capacity logical data block and the original stored in the corresponding storage space of the over-capacity logical data block. Data and related associated data.
至此,完成图1、图3和图4所示流程。So far, the processes shown in FIGS. 1, 3 and 4 are completed.
从以上流程可以看出,本申请实施例通过划分逻辑数据块,为逻辑数据块设置时间段标签和时间有效期,再按照原始数据的时间戳和逻辑数据块的时间段标签的匹配情况,将原始数据保存到相应的逻辑数据块的存储空间中;这样,可以通过判断逻辑数据块是否超期,来实现判断逻辑数据块对应存储空间内保存的原始数据是否超期的目的,减小了检测数据是否超期所消耗的时间。在逻辑数据块的数量保持一定的前提下,本申请实施例在检测上耗费的时间并不随数据的增多而增多。以及,当需要修改数据的有效期时,通过修改该数据所在逻辑数据块的时间有效期即可方便的实现。As can be seen from the above process, the embodiment of the present application divides the logical data block, sets a time period label and a time validity period for the logical data block, and then matches the original data time stamp and the logical data block time period label to match the original data. The data is stored in the storage space of the corresponding logical data block; in this way, the purpose of judging whether the original data stored in the corresponding storage space of the logical data block is expired can be achieved by judging whether the logical data block is expired, which reduces the detection of whether the data expires Elapsed time. On the premise that the number of logical data blocks remains constant, the time consumed by the embodiments of the present application for detection does not increase with the increase of data. And, when the validity period of the data needs to be modified, it can be conveniently implemented by modifying the time validity period of the logical data block where the data is located.
进一步的,由于数据不止存在有效期满需要删除的情况,也存在因为系统存储容量不足而需要删除老数据的情况,因此本申请实施例还为具有相同数据内容标签的每组逻辑数据块设置了一个共同的存储容量限额,在该组逻辑数据块内的原始数据超出存储容量限额时删除最早时间范围内的旧数据来释放存储空间。Further, because the data not only needs to be deleted when its validity period expires, but also old data needs to be deleted due to insufficient system storage capacity, the embodiment of the present application also sets one for each group of logical data blocks with the same data content label. A common storage capacity limit. When the original data in the set of logical data blocks exceeds the storage capacity limit, the old data within the earliest time range is deleted to free up storage space.
进一步的,本申请实施例还支持在删除原始数据的同时,删除与该原始数据相关的关联数据。Further, the embodiments of the present application also support deleting related data related to the original data while deleting the original data.
以上对本申请实施例提供的方法进行了描述。下面对本申请实施例提供的装置进行描述。The methods provided in the embodiments of the present application have been described above. The device provided in the embodiments of the present application is described below.
参见图5,图5为本申请实施例提供的数据删除装置的功能模块图,该装置可以应用于存储系统中,该存储系统中划分出多个逻辑数据块。如图5所示,该装置包括:Referring to FIG. 5, FIG. 5 is a functional module diagram of a data deletion device provided by an embodiment of the present application. The device can be applied to a storage system, where a plurality of logical data blocks are divided. As shown in Figure 5, the device includes:
超期检测模块501,用于遍历已划分出的所述多个逻辑数据块,根据为每个逻辑数据块预先设置的时间段标签和时间有效期检测该逻辑数据块是否超期;每个逻辑数据块对应的存储空间内保存的原始数据满足:该原始数据的时间戳落在该逻辑数据块的时间段标签所标识的时间段内,每个逻辑数据块的时间有效期用于指示该逻辑数据块的存活时长;An overdue detection module 501 is configured to traverse the multiple logical data blocks that have been divided, and detect whether the logical data block has expired according to a preset time period label and a time validity period for each logical data block; each logical data block corresponds to The original data stored in the storage space of the memory satisfies: the time stamp of the original data falls within the time period identified by the time period label of the logical data block, and the time validity period of each logical data block is used to indicate the survival of the logical data block duration;
数据删除模块502,用于针对检测出的超期逻辑数据块,删除该超期逻辑数据块和该超期逻辑数据块对应存储空间内保存的原始数据。The data deletion module 502 is configured to delete the overdue logical data block and the original data stored in the storage space corresponding to the overdue logical data block for the overdue logical data block detected.
在其中一种实施方式中,所述超期检测模块501,用于针对每个逻辑数据块,根据为该逻辑数据块预先设置的时间段标签,确定该时间段标签所标识的时间段的最大时刻;计算当前系统时刻与该最大时刻的时间间隔;判断该时间间隔是否大于为该逻辑数据块预先设置的时间有效期;如果是,则确定该逻辑数据块超期;如果否,则确定该逻辑数据块未超期。In one embodiment, the overdue detection module 501 is configured to determine, for each logical data block, a maximum time of a time period identified by the time period label according to a time period label preset for the logical data block. Calculate the time interval between the current system time and the maximum time; determine whether the time interval is greater than the time validity period preset for the logical data block; if yes, determine that the logical data block has expired; if not, determine the logical data block Not expired.
在其中一种实施方式中,每个逻辑数据块还预先设置有数据内容标签;所述装置还可以包括:In one implementation manner, each logical data block is further preset with a data content tag; the device may further include:
接收模块,用于接收原始数据;A receiving module for receiving raw data;
数据保存模块,用于根据接收到的原始数据的时间戳和数据内容,在已划分出的逻辑数据块中查找匹配逻辑数据块;该接收到的原始数据的时间戳落在匹配逻辑数据块的时间段标签所标识的时间段内,且该接收到的原始数据的数据内容与匹配逻辑数据块的数据内容标签一致;将接收到的原始数据保存至找到的匹配逻辑数据块的对应存储空间内。A data saving module, configured to find a matching logical data block among the divided logical data blocks according to the time stamp and data content of the received original data; the time stamp of the received original data falls on the matching logical data block In the time period identified by the time period label, and the data content of the received original data is consistent with the data content label of the matching logical data block; the received original data is stored in the corresponding storage space of the found matching logical data block .
在其中一种实施方式中,所述装置还可以包括超容检测模块;In one embodiment, the device may further include an overcapacity detection module;
所述超容检测模块,用于遍历已划分出的所述多个逻辑数据块,针对具有相同数据内容标签的每组逻辑数据块执行以下操作:统计该组逻辑数据块对应存储空间内保存的原始数据大小总和;判断统计得到的原始数据大小总和是否大于为该组逻辑数据块预先设置的存储容量限额;如果是,则从该组逻辑数据块中筛选出N个逻辑数据块;The overcapacity detection module is configured to traverse the plurality of logical data blocks that have been divided, and perform the following operations on each group of logical data blocks with the same data content label: Count the number of logical data blocks stored in the corresponding storage space. The sum of the size of the original data; judging whether the sum of the size of the raw data obtained by the statistics is greater than the preset storage capacity limit for the set of logical data blocks; if so, filtering out N logical data blocks from the set of logical data blocks;
相应的,所述数据删除模块502,还用于删除该N个逻辑数据块和该N个逻辑数据块对应存储空间内保存的原始数据,使得完成删除之后该组逻辑数据块对应存储空间内保存的原始数据大小总和小于为该组逻辑数据块预先设置的存储容量限额。Correspondingly, the data deletion module 502 is further configured to delete the N logical data blocks and the original data stored in the storage space corresponding to the N logical data blocks, so that after the deletion is completed, the corresponding logical data blocks are stored in the corresponding storage space. The total size of the original data is less than the preset storage capacity limit for this set of logical data blocks.
在其中一种实施方式中,所述超容检测模块,用于根据该组逻辑数据块中每个逻辑数据块的时间段标签所标识的时间段的最小时刻,筛选出最小时刻排在前N位的N个逻辑数据块。In one implementation manner, the overcapacity detection module is configured to filter out the smallest moment in the top N based on the smallest moment of the time period identified by the time period label of each logical data block in the set of logical data blocks. N logical blocks of bits.
在其中一种实施方式中,所述数据删除模块502,还用于针对检测出的超期逻辑数据块,根据预先为该超期逻辑数据块设置的关联位置信息,找到与该超期逻辑数据块对应存储空间内保存的原始数据相关的关联数据并删除;所述关联位置信息用于指示关联数据的存储位置。In one of the implementation manners, the data deletion module 502 is further configured to, for the detected overdue logical data block, find corresponding storage corresponding to the overdue logical data block according to the associated position information set for the overdue logical data block in advance. The associated data related to the original data stored in the space is deleted, and the associated location information is used to indicate a storage location of the associated data.
需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。在本申请的实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。It should be noted that the division of the modules in the embodiments of the present application is schematic, and is only a logical function division. In actual implementation, there may be another division manner. The functional modules in the embodiments of the present application may be integrated into one processing module, or each module may exist separately physically, or two or more modules may be integrated into one module. The above integrated modules may be implemented in the form of hardware or software functional modules.
上述装置中各个模块的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。The implementation process of the functions and functions of each module in the above device is described in detail in the implementation process of the corresponding steps in the above method, and is not repeated here.
至此,完成图5所示装置的描述。So far, the description of the device shown in FIG. 5 is completed.
本申请实施例还提供一种数据删除装置,应用于存储系统,包括处理器、存储器和总线,所述处理器和所述存储器之间通过总线相互连接;所述存储器中存储机器可读指令,所述处理器通过调用所述机器可读指令,以实现如图1、图3和图4所示的方法。An embodiment of the present application further provides a data deletion device, which is applied to a storage system and includes a processor, a memory, and a bus. The processor and the memory are connected to each other through a bus. The memory stores machine-readable instructions. The processor calls the machine-readable instructions to implement the methods shown in FIG. 1, FIG. 3, and FIG. 4.
此外,本申请实施例还提供了一种机器可读存储介质,所述机器可读存储介质存储有机器可读指令,所述机器可读指令在被处理器调用和执行时,所述机器可执行指令促使所述处理器实现图1、图2和图4所示的方法。In addition, an embodiment of the present application further provides a machine-readable storage medium that stores machine-readable instructions. When the machine-readable instructions are called and executed by a processor, the machine may Executing instructions causes the processor to implement the methods shown in FIG. 1, FIG. 2, and FIG.
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。The above are only preferred embodiments of this application, and are not intended to limit this application. Any modification, equivalent replacement, or improvement made within the spirit and principles of this application shall be included in this application Within the scope of protection.

Claims (16)

  1. 一种数据删除方法,所述方法应用于存储系统,所述存储系统中划分出多个逻辑数据块,所述方法包括:A data deletion method. The method is applied to a storage system, and a plurality of logical data blocks are divided in the storage system. The method includes:
    遍历已划分出的所述多个逻辑数据块,Traversing the divided logical data blocks,
    根据为每个逻辑数据块预先设置的时间段标签和时间有效期检测该逻辑数据块是否超期;每个逻辑数据块对应的存储空间内保存的原始数据满足:该原始数据的时间戳落在该逻辑数据块的时间段标签所标识的时间段内,每个逻辑数据块的时间有效期用于指示该逻辑数据块的存活时长;Detect whether the logical data block has expired according to the preset time period label and time validity period for each logical data block; the original data stored in the storage space corresponding to each logical data block satisfies: the time stamp of the original data falls in the logic Within the time period identified by the time period label of the data block, the time validity period of each logical data block is used to indicate the survival time of the logical data block;
    针对检测出的超期逻辑数据块,删除该超期逻辑数据块和该超期逻辑数据块对应存储空间内保存的原始数据。For the detected overdue logical data block, delete the overdue logical data block and the original data stored in the storage space corresponding to the overdue logical data block.
  2. 如权利要求1所述的方法,其特征在于,所述根据为每个逻辑数据块预先设置的时间段标签和时间有效期检测该逻辑数据块是否超期,包括:The method according to claim 1, wherein the detecting whether the logical data block has expired according to a time period label and a time validity period preset for each logical data block comprises:
    针对每个逻辑数据块,根据为该逻辑数据块预先设置的时间段标签,确定该时间段标签所标识的时间段的最大时刻;For each logical data block, determine the maximum time of the time period identified by the time period label according to the time period label preset for the logical data block;
    计算当前系统时刻与该最大时刻的时间间隔;Calculate the time interval between the current system time and the maximum time;
    判断该时间间隔是否大于为该逻辑数据块预先设置的时间有效期;Judging whether the time interval is greater than the time validity period preset for the logical data block;
    如果所述时间间隔大于为所述时间有效期,则确定该逻辑数据块超期;If the time interval is greater than the time validity period, determining that the logical data block has expired;
    如果所述时间间隔小于或等于所述时间有效期,则确定该逻辑数据块未超期。If the time interval is less than or equal to the time validity period, it is determined that the logical data block has not expired.
  3. 如权利要求1所述的方法,其特征在于,每个逻辑数据块还预先设置有数据内容标签;所述方法还包括:The method according to claim 1, wherein each logical data block is further preset with a data content label; the method further comprises:
    接收原始数据;Receive raw data;
    根据接收到的原始数据的时间戳和数据内容,在已划分出的逻辑数据块中查找匹配逻辑数据块;该接收到的原始数据的时间戳落在匹配逻辑数据块的时间段标签所标识的时间段内,且该接收到的原始数据的数据内容与匹配逻辑数据块的数据内容标签一致;According to the timestamp and data content of the received original data, find the matching logical data block in the divided logical data blocks; the timestamp of the received original data falls on the time period label identified by the matching logical data block Within the time period, and the data content of the received original data is consistent with the data content label of the matching logical data block;
    将接收到的原始数据保存至找到的匹配逻辑数据块的对应存储空间内。The received original data is stored in the corresponding storage space of the found matching logical data block.
  4. 如权利要求3所述的方法,其特征在于,所述方法还包括:遍历已划分出的所述多个逻辑数据块,针对具有相同数据内容标签的每组逻辑数据块执行以下操作:The method of claim 3, further comprising: traversing the plurality of logical data blocks that have been divided, and performing the following operations on each group of logical data blocks having the same data content label:
    统计该组逻辑数据块对应存储空间内保存的原始数据大小总和;Count the total size of the original data stored in the corresponding storage space of the group of logical data blocks;
    判断统计得到的原始数据大小总和是否大于为该组逻辑数据块预先设置的存储容量限额;Judging whether the total size of the raw data obtained by the statistics is greater than the preset storage capacity limit for the set of logical data blocks;
    如果所述原始数据大小总和大于该存储容量限额,则If the sum of the size of the original data is greater than the storage capacity limit, then
    从该组逻辑数据块中筛选出N个逻辑数据块,删除该N个逻辑数据块和该N个逻辑数据块对应存储空间内保存的原始数据,使得完成删除之后该组逻辑数据块对应存储空间内保存的原始数据大小总和小于为该组逻辑数据块预先设置的存储容量限额。N logical data blocks are selected from the group of logical data blocks, and the original data stored in the storage space corresponding to the N logical data blocks and the N logical data blocks is deleted, so that after the deletion is completed, the corresponding logical data block corresponds to the storage space. The total size of the original data stored in the internal data block is less than the storage capacity limit set for the logical data block set in advance.
  5. 如权利要求4所述的方法,其特征在于,从该组逻辑数据块中筛选出N个逻辑数据块,包括:The method according to claim 4, wherein filtering N logical data blocks from the set of logical data blocks comprises:
    根据该组逻辑数据块中每个逻辑数据块的时间段标签所标识的时间段的最小时刻,筛选出最小时刻排在前N位的N个逻辑数据块。According to the minimum time of the time period identified by the time period label of each logical data block in the set of logical data blocks, N logical data blocks whose minimum time is ranked in the first N bits are filtered out.
  6. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising:
    针对检测出的超期逻辑数据块,根据预先为该超期逻辑数据块设置的关联位置信息,找到与该超期逻辑数据块对应存储空间内保存的原始数据相关的关联数据并删除;所述关联位置信息用于指示关联数据的存储位置。For the detected out-of-date logical data block, according to the associated location information set for the out-of-date logical data block in advance, find and delete the associated data related to the original data stored in the storage space corresponding to the out-of-date logical data block; the associated position information Used to indicate where the associated data is stored.
  7. 如权利要求4所述的方法,还包括:The method of claim 4, further comprising:
    针对所述N个逻辑数据块中的每个逻辑数据块,根据预先为所述逻辑数据块设置的关联位置信息,找到与所述逻辑数据块对应存储空间内保存的原始数据相关的关联数据并删除;其中,所述关联位置信息用于指示关联数据的存储位置。For each logical data block of the N logical data blocks, according to the associated position information set in advance for the logical data block, find related data related to the original data stored in the corresponding storage space of the logical data block and Delete; wherein the associated location information is used to indicate a storage location of the associated data.
  8. 一种数据删除装置,所述装置应用于存储系统,所述存储系统中划分出多个逻辑数据块,所述装置包括:A data deleting device is applied to a storage system, and a plurality of logical data blocks are divided in the storage system. The device includes:
    超期检测模块,用于遍历已划分出的所述多个逻辑数据块,根据为每个逻辑数据块预先设置的时间段标签和时间有效期检测该逻辑数据块是否超期;每个逻辑数据块对应的存储空间内保存的原始数据满足:该原始数据的时间戳落在该逻辑数据块的时间段标签所标识的时间段内,每个逻辑数据块的时间有效期用于指示该逻辑数据块的存活时长;An overdue detection module is used to traverse the multiple logical data blocks that have been divided, and detect whether the logical data block has expired according to a preset time period label and a time validity period for each logical data block; each logical data block corresponds to The original data stored in the storage space satisfies: the timestamp of the original data falls within the time period identified by the time period label of the logical data block, and the time validity period of each logical data block is used to indicate the survival time of the logical data block ;
    数据删除模块,用于针对检测出的超期逻辑数据块,删除该超期逻辑数据块和该超期逻辑数据块对应存储空间内保存的原始数据。The data deletion module is configured to delete the overdue logical data block and the original data stored in the storage space corresponding to the overdue logical data block for the overdue logical data block detected.
  9. 如权利要求8所述的装置,其特征在于,The apparatus according to claim 8, wherein:
    所述超期检测模块,用于针对每个逻辑数据块,根据为该逻辑数据块预先设置的时间段标签,确定该时间段标签所标识的时间段的最大时刻;计算当前系统时刻与该最大时刻的时间间隔;判断该时间间隔是否大于为该逻辑数据块预先设置的时间有效期;如果所述时间间隔大于为所述时间有效期,则确定该逻辑数据块超期;如果所述时间间隔小于或等于所述时间有效期,则确定该逻辑数据块未超期。The overdue detection module is configured to determine, for each logical data block, a maximum time of the time period identified by the time period label according to a time period label preset for the logical data block; and calculate the current system time and the maximum time. Time interval; determine whether the time interval is greater than the time validity period preset for the logical data block; if the time interval is greater than the time validity period, determine that the logical data block has expired; if the time interval is less than or equal to the If the time is valid, it is determined that the logical data block has not expired.
  10. 如权利要求8所述的装置,其特征在于,每个逻辑数据块还预先设置有数据内容标签;所述装置还包括:The device according to claim 8, wherein each logical data block is further provided with a data content label in advance; the device further comprises:
    接收模块,用于接收原始数据;A receiving module for receiving raw data;
    数据保存模块,用于根据接收到的原始数据的时间戳和数据内容,在已划分出的逻辑数据块中查找匹配逻辑数据块;该接收到的原始数据的时间戳落在匹配逻辑数据块的时间段标签所标识的时间段内,且该接收到的原始数据的数据内容与匹配逻辑数据块的数据内容标签一致;将接收到的原始数据保存至找到的匹配逻辑数据块的对应存储空间内。A data saving module, configured to find a matching logical data block among the divided logical data blocks according to the time stamp and data content of the received original data; the time stamp of the received original data falls on the matching logical data block In the time period identified by the time period label, and the data content of the received original data is consistent with the data content label of the matching logical data block; the received original data is stored in the corresponding storage space of the found matching logical data block .
  11. 如权利要求10所述的装置,其特征在于,所述装置还包括超容检测模块;The device according to claim 10, wherein the device further comprises an overcapacity detection module;
    所述超容检测模块,用于遍历已划分出的所述多个逻辑数据块,针对具有相同数据内容标签的每组逻辑数据块执行以下操作:统计该组逻辑数据块对应存储空间内保存的原始数据大小总和;判断统计得到的原始数据大小总和是否大于为该组逻辑数据块预先设置的存储容量限额;如果所述原始数据大小总和大于该存储容量限额,则从该组逻辑数据块中筛选出N个逻辑数据块;The overcapacity detection module is configured to traverse the plurality of logical data blocks that have been divided, and perform the following operations on each group of logical data blocks with the same data content label: Count the number of logical data blocks stored in the corresponding storage space. The sum of the size of the original data; judging whether the sum of the size of the raw data obtained by the statistics is greater than the preset storage capacity limit for the set of logical data blocks; if the sum of the size of the original data is greater than the storage capacity limit, filtering from the set of logical data blocks Output N logical data blocks;
    所述数据删除模块,还用于删除该N个逻辑数据块和该N个逻辑数据块对应存储空间内保存的原始数据,使得完成删除之后该组逻辑数据块对应存储空间内保存的原始数据大小总和小于为该组逻辑数据块预先设置的存储容量限额。The data deletion module is further configured to delete the N logical data blocks and the original data stored in the storage space corresponding to the N logical data blocks, so that the size of the original data stored in the storage space corresponding to the set of logical data blocks after the deletion is completed The sum is less than the preset storage capacity limit for this set of logical data blocks.
  12. 如权利要求11所述的装置,其特征在于,The device according to claim 11, wherein:
    所述超容检测模块,用于根据该组逻辑数据块中每个逻辑数据块的时间段标签所标识的时间段的最小时刻,筛选出最小时刻排在前N位的N个逻辑数据块。The overcapacity detection module is configured to filter out N logical data blocks whose minimum time is in the top N bits according to the minimum time of the time period identified by the time period label of each logical data block in the set of logical data blocks.
  13. 如权利要求8所述的装置,其特征在于,The apparatus according to claim 8, wherein:
    所述数据删除模块,还用于针对检测出的超期逻辑数据块,根据预先为该超期逻辑数据块设置的关联位置信息,找到与该超期逻辑数据块对应存储空间内保存的原始数据相关的关联数据并删除;所述关联位置信息用于指示关联数据的存储位置。The data deletion module is further configured to find an association with the original data stored in the storage space corresponding to the expired logical data block according to the associated position information set for the expired logical data block in advance for the detected expired logical data block. Data and delete; the associated location information is used to indicate the storage location of the associated data.
  14. 如权利要求11所述的装置,其特征在于,The device according to claim 11, wherein:
    所述数据删除模块,还用于针对所述N个逻辑数据块中的每个逻辑数据块,根据预先为所述逻辑数据块设置的关联位置信息,找到与所述逻辑数据块对应存储空间内保存的原始数据相关的关联数据并删除;其中,所述关联位置信息用于指示所述关联数据的存储位置。The data deletion module is further configured to find, for each logical data block of the N logical data blocks, a storage space corresponding to the logical data block according to the associated position information set in advance for the logical data block. The associated original data related to the saved original data is deleted, and the associated location information is used to indicate a storage location of the associated data.
  15. 一种数据删除装置,其特征在于,应用于存储系统,包括处理器、存储器和总线,其中,处理器、存储器通过总线相互连接;A data deletion device, which is characterized in that it is applied to a storage system and includes a processor, a memory, and a bus, wherein the processor and the memory are connected to each other through the bus;
    所述存储器中存储机器可读指令,所述处理器通过调用所述机器可读指令执行如权利要求1至7任一项所述的方法。Machine-readable instructions are stored in the memory, and the processor executes the method according to any one of claims 1 to 7 by calling the machine-readable instructions.
  16. 一种机器可读存储介质,其特征在于,所述机器可读存储介质存储有机器可读指令,所述机器可读指令在被处理器调用和执行时,所述机器可读指令促使所述处理器实现权利要求1至7任一项所述的方法。A machine-readable storage medium, characterized in that the machine-readable storage medium stores machine-readable instructions, and when the machine-readable instructions are called and executed by a processor, the machine-readable instructions cause the machine-readable instructions to The processor implements the method according to any one of claims 1 to 7.
PCT/CN2019/097320 2018-07-26 2019-07-23 Data deleting method and device WO2020020170A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810837643.XA CN110765081A (en) 2018-07-26 2018-07-26 Data deleting method and device
CN201810837643.X 2018-07-26

Publications (1)

Publication Number Publication Date
WO2020020170A1 true WO2020020170A1 (en) 2020-01-30

Family

ID=69180359

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/097320 WO2020020170A1 (en) 2018-07-26 2019-07-23 Data deleting method and device

Country Status (2)

Country Link
CN (1) CN110765081A (en)
WO (1) WO2020020170A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112214503A (en) * 2020-10-10 2021-01-12 深圳壹账通智能科技有限公司 Data processing method and device, electronic equipment and storage medium
CN112860679A (en) * 2021-03-16 2021-05-28 世纪龙信息网络有限责任公司 Equipment information management method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216821A (en) * 2007-01-05 2008-07-09 中兴通讯股份有限公司 Data acquisition system storage management method
CN101556589A (en) * 2008-04-09 2009-10-14 北京闻言科技有限公司 Method for Oracle regularly deleting stale data in database
CN106991179A (en) * 2017-04-07 2017-07-28 广东欧珀移动通信有限公司 Data-erasure method, device and mobile terminal
US9888143B1 (en) * 2016-11-15 2018-02-06 International Business Machines Corporation Timed image deletion from a personal electronic device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150317403A1 (en) * 2014-05-04 2015-11-05 Reduxio Systems Ltd. System and method for management of data based bookmarks
CN104866242B (en) * 2015-05-29 2018-12-04 上海京东到家元信信息技术有限公司 A kind of data deletion system, method and data delete center
CN105512332A (en) * 2015-12-25 2016-04-20 北京奇虎科技有限公司 Method for linking and adjusting data between databases, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216821A (en) * 2007-01-05 2008-07-09 中兴通讯股份有限公司 Data acquisition system storage management method
CN101556589A (en) * 2008-04-09 2009-10-14 北京闻言科技有限公司 Method for Oracle regularly deleting stale data in database
US9888143B1 (en) * 2016-11-15 2018-02-06 International Business Machines Corporation Timed image deletion from a personal electronic device
CN106991179A (en) * 2017-04-07 2017-07-28 广东欧珀移动通信有限公司 Data-erasure method, device and mobile terminal

Also Published As

Publication number Publication date
CN110765081A (en) 2020-02-07

Similar Documents

Publication Publication Date Title
US9002777B1 (en) Systems and methods for handling data
WO2019019621A1 (en) Service processing method, device, server and storage medium
JPH05173873A (en) Data processor and storage management method
CN109271435A (en) A kind of data pick-up method and system for supporting breakpoint transmission
EP3788505B1 (en) Storing data items and identifying stored data items
CN102725752A (en) Method and device for processing dirty data
WO2020020170A1 (en) Data deleting method and device
WO2020224236A1 (en) Apparatus, method and system for blockchain data processing, and storage medium
CN107783881B (en) Website dynamic performance monitoring method and system based on memory queue
CN109885642B (en) Hierarchical storage method and device for full-text retrieval
CN110321364B (en) Transaction data query method, device and terminal of credit card management system
CN111125171A (en) Monitoring data access method, device, equipment and readable storage medium
KR101666440B1 (en) Data processing method in In-memory Database System based on Circle-Queue
CN110764711B (en) IO data classification deleting method and device and computer readable storage medium
WO2018019310A1 (en) Big data system data backup and recovery methods and devices, and computer storage medium
CN109426563B (en) Process management method and device
CN107846327A (en) A kind of processing method and processing device of network management performance data
CN111447145B (en) Flow table management method, device, system and storage medium of multi-core system
CN111061719B (en) Data collection method, device, equipment and storage medium
CN112597112A (en) Data processing method and device, electronic equipment and storage medium
CN114385551A (en) Log time-sharing management method, device, equipment and storage medium
CN113760176A (en) Data storage method and device
CN113779426A (en) Data storage method and device, terminal equipment and storage medium
KR100516929B1 (en) Apparatus and method for analyzing task management, and storage media having program thereof
JP2734088B2 (en) Logging file processing method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19840125

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19840125

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19840125

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 10/08/2021)