Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data storage method and electronic device

An electronic device, a technology for storing data, applied in the direction of protecting stored content from loss, etc., can solve the problems of low TLC write life and data loss, and achieve the goal of improving security and reliability, reducing the number of erasing and writing, and prolonging the service life. Effect

Inactive Publication Date: 2014-08-06
LENOVO (BEIJING) LTD
View PDF8 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, for a 12OG solid-state hard drive, the control chip makes the file written in 12OG count as a flash memory completely erased once, but this solution cannot solve the fundamental problem of the low writing life of TLC
Another solution is to cache the data in the memory, but this solution has the problem that the data cached in the memory will be lost when the system is abnormal

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 storage method and electronic device
  • Data storage method and electronic device
  • Data storage method and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] see figure 1 , the present embodiment provides a method for storing data, which is applied to an electronic device, and the electronic device is connected with a hard disk drive HDD and a solid state disk SSD, and the method includes:

[0043] 101: Cache the data to be stored in the memory of the electronic device and the HDD respectively;

[0044] 102: When the electronic device is normally closed, write the data stored in the memory into the SSD;

[0045] 103: When the electronic device is abnormal, acquire the data from the HDD and write it into the SSD.

[0046] The electronic device in this embodiment may be a computer, a notebook computer, a terminal, a server, etc., which is not specifically limited in the present invention.

[0047] In one embodiment, when an abnormality occurs in the electronic device, obtaining the data from the HDD and writing it into the SSD includes:

[0048] When the electronic device is abnormal, it is judged whether the data stored in...

Embodiment 2

[0059] see figure 2 , the present embodiment provides a method for storing data, which is applied to an electronic device, and the electronic device is connected with a hard disk drive HDD and a solid state disk SSD, and the method includes:

[0060] 201: Record the first moment when the electronic device is turned on;

[0061] 202: Cache the data to be stored in the memory of the electronic device and the HDD respectively;

[0062] 203: When the electronic device is normally closed, write the data stored in the memory into the SSD;

[0063] 204: When the electronic device is abnormal, determine whether the data stored in the internal memory is lost, and if the data stored in the internal memory is lost, save the data stored in the HDD between the first moment and the current moment Write in the SSD.

[0064] 205: After the data is written into the SSD, delete the data stored in the HDD.

[0065] The electronic device in this embodiment may be a computer, a notebook compu...

Embodiment 3

[0073] see image 3 , the present embodiment provides an electronic device for storing data, the electronic device is connected with a hard disk drive HDD and a solid state disk SSD, and the electronic device includes:

[0074] A cache module 301, configured to cache the data to be stored in the memory of the electronic device and the HDD respectively;

[0075] A storage module 302, configured to write the data stored in the internal memory into the SSD when the electronic device is normally shut down; obtain the data from the HDD when the electronic device is abnormal And write in the SSD.

[0076] The electronic device in this embodiment may be a computer, a notebook computer, a terminal, a server, etc., which is not specifically limited in the present invention.

[0077] There are many situations in which the electronic device is abnormal, such as sudden power failure, abnormal restart, crash, etc., which are not specifically limited in the present invention.

[0078] In...

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 discloses a data storage method and an electronic device and belongs to the field of data storage. The data storage method is applied to the electronic device, and the electronic device is connected with an HDD (hard disk drive) and an SSD (solid state drive). The data storage method includes respectively caching data to be stored into an internal memory and the HDD of the electronic device; writing the data stored in the internal memory into the SSD when the electronic device is normally shut down; acquiring the data from the HDD and writing into the SSD when the electronic device is abnormal. The electronic device comprises a cache module and a storage module. Accordingly, erasing and writing times of the SSD is decreased, service life of the SSD is prolonged, and safety and reliability of data storage are effectively improved.

Description

technical field [0001] The invention relates to the field of data storage, in particular to a data storage method and electronic equipment. Background technique [0002] SSD (Solid State Disk) is a hard disk made of an array of solid-state electronic storage chips, consisting of a control unit and a storage unit. Compared with mechanical hard drives of the same capacity, solid-state drives have the advantages of small size, light weight, and no noise, while Lv is more durable, lower temperature, more shock-resistant, and more portable, so it is widely used in military, vehicle, industrial control, video surveillance, Power, medical, air and other fields. [0003] There are two types of storage media for solid-state hard disks, one is to use flash memory FLASH chips as storage media, and the other is to use DRAM chips as storage media. The biggest advantage of solid-state drives based on flash memory chips is that they can be moved, and LV data protection is not controlled ...

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): G06F12/16
Inventor 李凡智郭强刘旭国
Owner LENOVO (BEIJING) LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products