Method and device for accessing data of virtual machine

A data access and virtual machine technology, applied in the computer field, can solve problems such as poor security and reliability, restricting the development and application of virtual machine technology, and virtual machine loss, and achieve the effect of improving security and reliability.

Active Publication Date: 2012-05-23
ALIBABA GRP HLDG LTD
View PDF3 Cites 43 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the local physical computer is shut down or damaged, the data of the virtual machine will be lost. Therefore, the security and reliability of the data storage method of the virtual machine are affected by the local physical computer, and its security and reliability are poor, which greatly Limiting the development and application of virtual machine technology, how to improve the security and reliability of virtual machine storage data is a common problem faced by those skilled in the art

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 accessing data of virtual machine
  • Method and device for accessing data of virtual machine
  • Method and device for accessing data of virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] see figure 1 , which is a structural diagram of an embodiment of a virtual machine data access device in the present application, the device access request processing module 101, data forwarding agent module 102 and virtual disk 103:

[0027] The access request processing module 101 is configured to receive a data access request sent by a virtual machine, and add the data access request to a request queue, wherein the data access request in the request queue is mapped to the virtual storage space of the virtual disk 103, Mapping between the virtual storage space and the physical storage space of the distributed storage system;

[0028] The data forwarding proxy module 102 is configured to obtain data access requests from the request queue, map the obtained data access requests to corresponding virtual storage spaces, and then map the mapped virtual storage spaces to corresponding physical storage spaces, and then map the obtained data access requests to corresponding ph...

Embodiment 2

[0037] The difference between this embodiment and Embodiment 1 is that in order to speed up data access, a secondary cache module is also set in the device. After the data forwarding agent module reads the data, the secondary cache module creates a secondary cache area. And the data read by the data forwarding proxy module is cached in the secondary cache area, so that after the access request processing module receives the data reading request sent by the virtual machine, the access request processing module first checks whether there is any data to be read in the cache area. The fetched data, if yes, can read the data directly from the cache.

[0038] see Figure 4 , which is a structural diagram of another embodiment of a device for accessing virtual machine data in the present application, the device includes an access request processing module 101, a data forwarding agent module 102, a virtual disk 103, and a secondary cache module 104, wherein,

[0039] The secondary ca...

Embodiment 3

[0047] The difference between this embodiment and Embodiment 1 is that, in order to speed up data access, a third-level cache module is also set in the device. After the data forwarding agent module reads the data, the third-level cache module creates a third-level cache area, and The data read by the data forwarding proxy module is cached in the three-level cache area, so that after the data forwarding proxy module 102 obtains the data read request from the request queue, the data forwarding proxy module first checks whether the cache area is stored to be read or not. If so, the data can be read directly from the buffer.

[0048] see Figure 5 , which is a structural diagram of another embodiment of a device for accessing virtual machine data in the present application, the device includes an access request processing module 101, a data forwarding agent module 102, a virtual disk 103 and a three-level cache module 105, wherein,

[0049] The third-level cache module 105 is us...

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 embodiment of the invention discloses a method and a device for accessing the data of a virtual machine. The device comprises an access request processing module, a data forwarding proxy module and a virtual disk, wherein the access request processing module is used for receiving a data access request sent by the virtual machine and adding the data access request to a request queue, the data access request in the request queue and a virtual storage space of the virtual disk are mapped, and the virtual storage space and a physical storage space of a distributed storage system are mapped; and the data forwarding proxy module is used for obtaining the data access request from the request queue and mapping the obtained data access request into the corresponding virtual storage space, mapping the virtual storage space obtained through the mapping into a corresponding physical storage space, and executing corresponding data access operation in the physical storage space obtained through the mapping according to the type of the data access request. According to the embodiment of the invention, the safety and the reliability of storing the data of the virtual machine can be improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a method and device for accessing virtual machine data. Background technique [0002] A virtual machine is a computer system that has complete hardware system functions and runs in a completely isolated environment through software simulation. Through virtual machine technology, one or more virtual computers can be simulated on a physical computer. These virtual machines work exactly like real physical computers, such as installing operating systems, installing applications, accessing network resources, and so on. Although a virtual machine is just an application program on a physical computer, it is a computer that is virtualized, but for an application program running in a virtual machine, it is like working on a real physical computer. [0003] Usually, the data of the virtual machine is stored in the virtual disk, and the virtual disk is mostly stored in the phy...

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): G06F9/455
CPCG06F2212/154G06F12/0897G06F12/08G06F2009/45583G06F2212/152G06F9/45558G06F9/455G06F12/0866G06F2212/1016G06F12/0811G06F12/0813G06F12/0868G06F12/0873G06F2212/1008G06F2212/281G06F2212/283G06F2212/313G06F2212/60G06F2212/608G06F2212/62
Inventor 全小飞
Owner ALIBABA GRP HLDG 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