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

Data storage method, device, electronic device, and computer-readable storage medium

A data storage and data technology, applied in computing, digital data processing, data processing input/output process, etc., can solve data loss and other problems, and achieve the effect of reducing the risk of data loss

Active Publication Date: 2021-06-11
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in this method, if the cache system fails, there is a risk of losing data in the cache system that has not been stored on the disk.

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, device, electronic device, and computer-readable storage medium
  • Data storage method, device, electronic device, and computer-readable storage medium
  • Data storage method, device, electronic device, and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] 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.

[0042]It should be noted that the data storage method provided by the embodiment of the present invention is preferably applied to a storage drive. The virtual machine disk includes a virtual machine, a storage drive, and a disk. The virtual machine sends the data to be stored received from the file system to the storage drive. The storage drive The data to be stored is sent to the disk, so that the disk stores the data to be stored after receiving the data to ...

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

Embodiments of the present invention provide a data storage method and device, which are applied to storage drives. The method includes: obtaining data to be stored; judging whether the size of the data to be stored is greater than a preset first threshold; if not, judging whether the first physical Whether there is data stored in the storage space corresponding to the address; the first physical address is the physical address connected to the target physical address in the disk, and the target physical address is the physical address corresponding to the storage space where the first data is stored, and the first data is the current latest storage if no data is stored, storing the data to be stored in the storage space corresponding to the first physical address. Applying the embodiment of the present invention, if the storage space corresponding to the first physical address does not store data, the data is stored in the storage space corresponding to the first physical address instead of being stored in the cache system first, and the failure of the cache system will not cause Data loss, reducing the risk of data loss during data storage.

Description

technical field [0001] The present invention relates to the technical field of data storage, in particular to a data storage method, device, electronic equipment and computer-readable storage medium. Background technique [0002] A virtual machine is a complete computer system that is simulated by software and has complete hardware system functions and runs in a completely isolated environment. Like a physical machine, a virtual machine has a disk to store data, and the data is stored on the disk of the virtual machine. The method of storing data to the disk of the virtual machine is: the virtual machine obtains a write request, and forwards the write request to the storage driver, and the write request includes the data to be stored and the logical address of the data to be stored; the storage driver stores the data to be stored in In the storage space corresponding to the same physical address as the logical address. Exemplarily, if the logical address carried by the wri...

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 Patents(China)
IPC IPC(8): G06F3/06
CPCG06F3/0622G06F3/0631
Inventor 徐广治
Owner BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD