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

A data processing method and device

A data processing and data technology, applied in the field of communication, can solve the problem of insufficient flexibility of the backup method, achieve the effect of flexible and reliable backup method, and increase security

Active Publication Date: 2018-12-25
NEW H3C TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The aforementioned method of backing up disk image files in the QCOW2 format requires shutting down the KVM virtual machine, and the backup method is 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
  • A data processing method and device
  • A data processing method and device
  • A data processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] Aiming at the problems existing in the prior art, an embodiment of the present invention proposes a data processing method, which can be applied to a KVM virtual machine simulated on a physical server. During the running process of the KVM virtual machine, the method is used to process data, and the processing may specifically be write processing or read processing.

[0014] In the embodiment of the present invention, the KVM virtual machine uses a disk image file in QCOW2 format to store data, and the disk image file includes a metadata information file and a plurality of data files, and the metadata information file and each data file are independent files, namely Separate metadata information files and individual data files. Such as figure 2 As shown, it is a schematic structural diagram of a disk image file including metadata information files and multiple data files, figure 2 Take 4 data files as an example, the number of data files in practical application can...

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 processing method and device. The method comprises the following steps: obtaining first data to be written, and determining the position information of data files of a data writing quantity according to metadata in a metadata information file; and according to each piece of determined position information, writing the first data into an idle data block in the corresponding data file. Through the technical scheme of the invention, data can be subjected to real-time backup, the redundant backup of the data is supported, and data backup safety is improved.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a data processing method and device. Background technique [0002] The disk image file in QCOW2 (QEMU Copy On Write, QEMU Copy On Write) format is a disk image file supported by QEMU (that is, the analog processor). Such as figure 1 As shown, it is a schematic diagram of the structure of a disk image file in the QCOW2 format. A disk image file in the QCOW2 format usually includes a metadata part and a real data part. The metadata part includes the storage location information of the real data, etc. in one file. [0003] The existing KVM (Kernel-based Virtual Machine) virtual machine can use the QCOW2 format disk image file to store data. When you need to back up the QCOW2 format disk image file of the KVM virtual machine, you need to close the KVM virtual machine and copy the entire Disk image file in QCOW2 format (including metadata part and real data part) to ...

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): G06F9/455G06F11/14
CPCG06F9/45533G06F11/1448G06F11/1484G06F2009/45575
Inventor 高亮
Owner NEW H3C TECH CO 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