Data processing method and electronic device based on solid state disk (SSD)

A technology for data processing and electronic equipment, applied in the field of SSD-based data processing methods and electronic equipment, can solve the problems of long occupied time in the writing process and reduced writing speed of SSD, so as to shorten the occupied time and improve the writing speed Effect

Active Publication Date: 2014-03-26
LENOVO (BEIJING) CO LTD
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides an SSD-based data storage method and electronic equipment to solve the problems of the

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
  • Data processing method and electronic device based on solid state disk (SSD)
  • Data processing method and electronic device based on solid state disk (SSD)
  • Data processing method and electronic device based on solid state disk (SSD)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] Embodiment 1 of the present invention provides a data processing method based on a solid-state hard disk SSD, which is applied to an electronic device, and determines each partition of the storage unit of the SSD according to the access degree of the data in advance, and establishes the correspondence between the access degree of the data and each partition relationship, where partitions store data with varying degrees of access, figure 1 A schematic flow chart of the method, the method may include:

[0056] S101: Obtain data to be written.

[0057] S102: Determine the access level of the data to be written.

[0058] S103: Based on the corresponding relationship between the data access degree and each partition, write the data to be written into the partition corresponding to the determined data access degree.

[0059] In the data processing method and electronic equipment provided by the present invention, the data to be written is written into the partition correspo...

Embodiment 2

[0061] Embodiment 2 of the present invention provides a data processing method based on a solid-state hard disk SSD, which is applied to an electronic device, determines each partition of the storage unit of the SSD according to the access degree of the data in advance, and establishes the corresponding relationship between the access degree of the data and each partition . in:

[0062] The access level of data in this embodiment may include: high-frequency reading and high-frequency writing and low-frequency reading and low-frequency writing. Correspondingly, the storage unit of the SSD may include two partitions, which are respectively the first partition and the second partition. Corresponding to high-frequency reading and high-frequency writing, the access level for storing data is high-frequency reading and high-frequency writing data, and the second partition corresponds to low-frequency reading and low-frequency writing, and the access level for storing data is low-freq...

Embodiment 3

[0074] Embodiment 3 of the present invention provides a data processing method based on a solid-state hard disk SSD, which is applied to an electronic device, determines each partition of the storage unit of the SSD according to the access degree of the data in advance, and establishes the corresponding relationship between the access degree of the data and each partition . in:

[0075] The degree of data access can include: high-frequency reading and high-frequency writing, high-frequency reading and low-frequency writing, low-frequency reading and high-frequency writing, and low-frequency reading and low-frequency writing. Correspondingly, the storage unit of the SSD can include four partitions, which are the first partition, The second partition, the third partition, and the fourth partition. The first partition corresponds to high-frequency reading and high-frequency writing. The access level for storing data is high-frequency reading and high-frequency writing data, and t...

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 application provides a data processing method based on a solid state disk (SSD). The data processing method based on the SSD is applied to an electronic device, and characterized by determining each partition of a storage unit of the SSD according to the visit degree of data in advance, and establishing corresponding relations between the visit degree of the data and each partition of the storage unit, wherein each partition storage visits data with different degrees. The data processing method based on the SSD includes: obtaining data to be written; determining the visit degree of the data to be written; writing the data to be written into a partition corresponding to the determined visit degree of the data to be written based on the corresponding relations between the visit degree of the data and each partition of the storage unit. The application further provides the electronic device. According to the method and the electronic device based on the SSD, when the data is written in the electronic device, data in a whole flash memory block can be directly wiped away, and therefore new data can be written in the flash memory block, or only a small quantity of active pages needs to be copied, the small quantity of the active pages and the data to be written are written in the flash memory block after the data in the flash memory block is wiped away, and accordingly writing speed of the data can be improved, and correspondingly time occupied during the process of writing the data in the flash memory block is reduced.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to an SSD-based data processing method and electronic equipment. Background technique [0002] Solid State Disk (SSD) is a hard disk made of an array of solid-state electronic memory chips. It consists of a controller and a storage unit. The storage unit is responsible for storing data, and the control unit is responsible for reading and writing data. SSD is divided into two types according to the storage medium, one is flash memory-based SSD, and the other is DRAM-based SSD. Generally speaking, an SSD refers to an SSD based on flash memory, and the SSDs referred to below are all SSDs based on flash memory. [0003] A storage unit of an SSD is generally divided into multiple storage blocks, and each storage block is composed of multiple pages. The particularity of SSD is that data writing is performed in units of pages, while erasure is performed in units of blocks. When ...

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
IPC IPC(8): G06F3/06
Inventor 王欢易贤群李凡智
Owner LENOVO (BEIJING) 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