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

Method and device for data operation and computer

A technology of data operation and writing operation, which is applied in the computer field, can solve problems affecting computer performance and performance loss, and achieve the effect of saving writing time and improving performance

Active Publication Date: 2011-10-05
LENOVO (BEIJING) LTD
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] According to the copy on write method to write to the storage device, when the sector needs to be written frequently, it must be copied, which will greatly affect the performance of the computer and cause performance loss

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
  • Method and device for data operation and computer
  • Method and device for data operation and computer
  • Method and device for data operation and computer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the technical problems, technical solutions and advantages to be solved by the embodiments of the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.

[0048] The embodiment of the present invention aims at the writing operation of the storage device according to the mode of Copy on write in the prior art. When the sector needs to be written frequently, it must be copied, which will greatly affect the performance of the computer and cause the problem of performance loss. Provided are a data manipulation method, device and computer.

[0049] like figure 2 As shown, the method for data manipulation in the embodiments of the present invention includes:

[0050] Step 21, when performing a write operation on the sector of the original storage block at the restoration point of the storage device, allocate a new storage block, and write new data into the new storage block;

[0051] Step 22,...

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 method and device for data operation and a computer. The method comprises the following steps of: when write operation is performed on a sector of an original storage block of a restore point of storage equipment, distributing a new storage block, and writing new data into the new storage block; creating a table, wherein the table comprises the address of the original storage block, the address of the new storage block and a first identifier, and the first identifier has a first state for reading data from the original storage block when the data are restored and a second state for reading data from the new storage block; and when the data are restored, reading the data from the original storage block according to the first state of the first identifier and according to the address of the original storage block, and reading the data from the new storage block according to the second state of the first identifier and according to the address of the new storage block. According to the scheme, the operation time for the sector of the restore point of the storage equipment is saved, and the performance of the computer is improved.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a data operation method, device and computer. Background technique [0002] In the storage field of computer storage devices, QCOW is a method that supports restore points that can be rolled back to the restore point. In QCOW, the unit of hard disk management is Block (storage block), such as figure 1 As shown, L1 corresponds to the first-level hard disk address page table in QCOW, and L2 corresponds to the second-level hard disk address page table in QCOW. The functions of L1 and L2 are to convert a virtual sector number into a physical sector number, wherein the virtual sector number It is the address of the UOS (user operating system) to access the virtual hard disk, read and write the content of the virtual hard disk through the virtual sector number, the physical sector number is the specific sector address of the physical hard disk, and Blockoffset is the offset sector numb...

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/06
CPCG06F12/109G06F12/06G06F11/1446G06F3/064G06F11/14G06F11/1402G06F2201/84
Inventor 汤良郭昌盛刘春梅郭轶尊
Owner LENOVO (BEIJING) LTD