Method and device for screening cold data, computer equipment and storage medium

A storage medium, cold data technology, applied in the field of data screening, can solve the problems of a small proportion of cold data and invalid data, a lot of invalid data, and the existence of hot and cold data at the same time.

Active Publication Date: 2018-11-30
SHENZHEN YILIAN INFORMATION SYST CO LTD
View PDF13 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This screening method is based on blocks, and the granularity is relatively large. The filtered cold data blocks may contain more invalid data, which may cause hot and cold data to exist in a block at the same time. Finally, when the cold data settles down At this time, there is no longer any hot data inside the block. At this time, the valid data is all cold data, and there are both cold data and invalid data inside the block, but the ratio of cold data to invalid data is small, resulting in the performance and lifespan of the SSD. affected

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for screening cold data, computer equipment and storage medium
  • Method and device for screening cold data, computer equipment and storage medium
  • Method and device for screening cold data, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to fully understand the technical content of the present invention, the technical solutions of the present invention will be further introduced and illustrated below in conjunction with specific examples, but not limited thereto.

[0051] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0052] It should also be understood that the terminology used in the specification of this application is for the purpose of describing particular embodiments only and is not intended to limit the application. As used in this specification and the appended claims, the singular forms "a", "an" and "the" are intended to include plural referents unless th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a method and device for screening cold data, computer equipment and a storage medium. The method comprises the following steps: recording the migration times of data in an element area of a page in which the data are positioned; judging whether the migration times are larger than or equal to a threshold value or not; if so, marking the data in the page in which the migration times are larger than or equal to the threshold value as cold data. According to the method, the page is taken as a unit, the data migration times of the page are recorded in the element area of the page and compared with the threshold value, and all data in the page are marked as the cold data and stored in a cold data block when the data migration times are up to or exceeds the threshold value, so that only cold data are contained in a block after last cold data precipitate, a relatively small amount of invalid data is contained, the performance of a solid state disk is improved, and theservice life is ensured.

Description

technical field [0001] The present invention relates to a method for screening data, and more specifically refers to a method, device, computer equipment and storage medium for screening cold data. Background technique [0002] In the solid-state hard disk, it is necessary to distinguish the data written on the flash memory (NAND) into cold data and hot data. Among them, the data that is not used for a long time after writing is called cold data, and the data that is often used It is called hot data; reasonably distinguishing cold data will have a positive impact on the performance and lifespan of SSDs. [0003] Currently, if figure 1 As shown, the data is screened by identifying the blocks according to the writing time. When each block is written, it will be assigned a time-sensitive identifier. This identifier is strictly incremental and is generally stored with an integer. , in the process of continuously writing data to the block, the number of blocks carrying valid da...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/06
CPCG06F3/061G06F3/0616G06F3/0649G06F3/0679
Inventor 杨学森
Owner SHENZHEN YILIAN INFORMATION SYST CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products