Unlock instant, AI-driven research and patent intelligence for your innovation.

Data storage method and electronic equipment

A technology for data storage and electronic equipment, which is applied in the field of data storage methods and electronic equipment, can solve problems such as storage to data files, and achieve the effect of simplifying the process

Active Publication Date: 2016-07-20
LENOVO (BEIJING) CO LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present invention provides a data storage method, which solves the problem that in the prior art, one write operation by the user requires two synchronous write operations and one read operation at the bottom layer to complete the storage of data to the data file The problem

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 Construction

[0047] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0048] Please refer to the attached figure 1 , is a flow chart of Embodiment 1 of a data storage method provided by the present invention, the method is applied to electronic equipment, and the electronic equipment can specifically be a desktop computer, a notebook, a tablet computer, a mobile phone, a smart TV, a smart watch, a wearable device other forms of electronic equipment.

[0049] Wherein, the method includes the following steps:

[0050] Step S101:...

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 provides a data storage method. The data storage method comprises steps as follows: acquiring a write request of a preset write interface; according to the write request, writing to-be-written data into a first storage area of a log; according to the data written into the first storage area of the log, generating or updating a second storage area of a data file. With the adoption of the method, when the data are stored in the data file, all that is required is to synchronously write the data of the log, the data written into the log are not required to be read, operation of writing the data into the data file is not required to be executed again, and for one-time write operation of a user, all that is required for storage of the data into the data file is to execute one-time synchronous write operation on the bottom layer, so that the process is simplified.

Description

technical field [0001] The present invention relates to the field of electronic equipment, and more specifically, relates to a data storage method and electronic equipment. Background technique [0002] Ceph is a unified, distributed file system designed for excellent performance, reliability, and scalability. [0003] In the prior art, the data storage process of the ceph file system is to first write the data into the log synchronously, and then write the data into the data file, and return after the data is synchronized to the disk, and notify the client that the data is readable. [0004] However, with this method, one write operation by the user requires two synchronous write operations and one read operation at the bottom layer to complete storing the data in the data file, and the process is cumbersome. Contents of the invention [0005] In view of this, the present invention provides a data storage method, which solves the problem that in the prior art, one write ...

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): G06F17/30G06F3/06
CPCG06F3/0607G06F3/0629G06F16/164G06F16/172G06F16/182
Inventor 孙宪武刘军李红
Owner LENOVO (BEIJING) CO LTD