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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com