Data storage method and electronic equipment

A technology for data storage and electronic equipment, applied in the electronic field, can solve the problems of fixed data writing mode and inflexibility, and achieve the effect of improving data security

Active Publication Date: 2016-02-03
LENOVO (BEIJING) LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a data storage method and electronic equipment, which are used to solve the technical problems existing in the prior art that the data writing method of the system is relatively fixed and not flexible enough

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0073] In the embodiment of this application, the structure of the electronic device is described first, such as Figure 5 and Figure 6 shown, including:

[0074] solid state memory 50;

[0075] The solid-state memory 50 includes a storage device 501 and a storage controller 502;

[0076] The storage controller 502 is configured to determine a data storage policy corresponding to the running state parameter according to the received running state parameter of the electronic device; and obtain a data storage policy corresponding to the data storage policy according to the data storage policy. Target data: according to the data category of the target data, write the target data into the flash memory or the cache of the solid-state memory 50 of the electronic device.

[0077] The electronic equipment also includes:

[0078] A system event monitoring module 51, configured to obtain operating state parameters of electronic equipment.

[0079] In the embodiment of the present ...

Embodiment 2

[0128] Based on the same inventive concept, an embodiment of the present application provides an electronic device, such as Figure 5 and Figure 6 shown, including:

[0129] solid state memory 50;

[0130] The solid-state memory 50 includes a storage device 501 and a storage controller 502;

[0131] The storage controller 502 is configured to determine a data storage policy corresponding to the running state parameter according to the received running state parameter of the electronic device; and obtain a data storage policy corresponding to the data storage policy according to the data storage policy. Target data: according to the data category of the target data, write the target data into the flash memory or the cache of the solid-state memory 50 of the electronic device.

[0132] Optionally, the electronic device also includes:

[0133] A system event monitoring module 51, configured to obtain operating state parameters of electronic equipment.

[0134] Optionally, t...

Embodiment 3

[0153] Based on the same inventive concept, the embodiment of the present application also provides an electronic device, such as Figure 7 shown, including:

[0154] A first obtaining unit 60, configured to obtain operating state parameters of the electronic equipment;

[0155] A determining unit 61, configured to determine a data storage strategy corresponding to the running state parameter according to the running state parameter;

[0156] The second obtaining unit 62 is configured to obtain target data corresponding to the data storage policy according to the data storage policy;

[0157] The storage unit 63 is configured to write the target data into the flash memory or cache of the solid-state memory of the electronic device according to the data type of the target data.

[0158] Optionally, the first obtaining unit 60 is specifically configured to:

[0159] Obtain the battery remaining parameter of the electronic device.

[0160] Optionally, the determining unit 61 ...

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 electronic equipment. The data storage method comprises steps of acquiring operation state parameters of the electronic equipment, determining a data storage strategy corresponding to the operation state parameters according to the operation state parameters, acquiring target data corresponding to the data storage strategy according to the data storage strategy, and writing the target data to solid-state memory flash memory or a buffer memory of the electronic equipment. Technical problems of fixed data writing mode and inadequate flexibility of the system in the prior art can be solved.

Description

technical field [0001] The invention relates to the field of electronic technology, in particular to a data storage method and electronic equipment. Background technique [0002] SSD (Solid State Drives) is the abbreviation of solid state memory (solid state drive). The SSD controller mainly provides access control from the host to the flash memory particles. Due to the writing characteristics of flash memory, for an access unit, it must be erased before writing. The erase operation will cause the system write performance to be too low. [0003] In order to solve the above problems, memory is added to the SSD as a cache. When data is written, the data needs to be written into the cache first, and then the data is written back to the flash memory when the system is idle or the cache is full. This reduces write latency and writes to flash memory particles, thereby increasing the lifetime of the flash memory. [0004] However, in the process of realizing the technical soluti...

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/0653G06F3/0656G06F3/0659G06F3/0679G06F9/5094G06F12/0804G06F12/0868G06F2212/1016G06F2212/1032G06F2212/214G06F2212/313G06F2212/502Y02D10/00G06F12/0831G06F2212/621
Inventor 孙清涛
Owner LENOVO (BEIJING) 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