Data storage method and device based on mobile device virtualization environment

A virtualization environment and mobile device technology, applied in the field of data storage based on the virtualization environment of mobile devices, can solve the problems of separation of metadata that cannot be updated more frequently, short life of NAND flash memory, low input and output I/O performance, etc.

Active Publication Date: 2014-11-26
深圳市超算科技开发有限公司
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The purpose of the embodiments of the present invention is to provide a data storage method based on the virtualization environment of mobile devices, which aims to solve the problem of frequent updates of the file system in the virtual machine due to the inherent defects of NAND flash memory and the inability to update the file system in the virtual machine in the virtualization environment of mobile devices. The impact of the separation of metadata, resulting in low input and output I / O performance of the system in the virtualization environment of mobile devices, and the short life of NAND flash memory

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 and device based on mobile device virtualization environment
  • Data storage method and device based on mobile device virtualization environment
  • Data storage method and device based on mobile device virtualization environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] figure 1 It is an implementation flowchart of a data storage method based on a mobile device virtualization environment provided by an embodiment of the present invention, and is described in detail as follows:

[0043] In step S101, in the virtualization environment of the mobile device, an input or output data request issued by the operating system in the virtual machine is acquired;

[0044] Wherein, the virtualization environment of the mobile device refers to an environment in which the mobile device runs a virtual machine.

[0045] In step S102, before performing address translation on the data in the data request, the data in the data request is distinguished as file system metadata or common user data through the virtual block address VBA;

[0046] In step S103, according to the distinguishing result, a flag bit is configured in the data request;

[0047] The flag bit is a flag bit of a file system metadata request or a flag bit of a common user data request, ...

Embodiment approach

[0057] There are three implementations of the data storage method step S103 based on the virtualization environment of the mobile device, which are described in detail as follows:

[0058] The first implementation manner: when the result of the distinction indicates that the data in the data request is file system metadata, the flag bit of the file system metadata is configured in the data request, and when the data request is the file system metadata of the virtual machine When the common user data is requested, the flag bit of the common user data request is configured in the data request, and the flag bit of the file system metadata request is different from the flag bit of the common user data request.

[0059] refer to figure 2 , figure 2 It is a sample diagram of configuring flag bits in a data request provided by the embodiment of the present invention.

[0060] Wherein, a flag bit P is added to each data request in the virtual machine, and the flag bit P is used to...

Embodiment 3

[0068] refer to image 3 , image 3 It is a specific implementation flow chart of step S105 of the data storage method based on the mobile device virtualization environment provided by the embodiment of the present invention, and is described in detail as follows:

[0069] In step S301, when it is detected that the data in the data request is file system metadata, the total capacity of the file system metadata is calculated by using a pre-established statistical model for the total capacity of the file system metadata;

[0070] In step S302, it is judged whether the total capacity of the file system metadata is greater than the capacity of the non-volatile RAM memory, if yes, all the file system metadata are stored in the non-volatile RAM memory, otherwise , storing part of the file system metadata in the non-volatile RAM memory.

[0071] Wherein, part of the file system metadata refers to the file system metadata generated in the latest time period. The latest time period c...

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 relates to the technical field of a virtualization environment and provides a data storage method and device based on the mobile device virtualization environment. The method comprises the steps that input or output data requests sent by an operating system in a virtual machine are obtained in the mobile device virtualization environment; before address resolution is carried out on data in the data requests, data in the data requests are distinguished as file system metadata or normal user data through a virtual block address (VBA); according to a distinguishing result, zone bits are configured in the data requests; after address resolution is carried out on the data requests, data in the data requests are detected as file system metadata or normal user data according to the zone bits configured in the data requests; when the data in the data requests are detected as the file system metadata, the file system metadata are stored in a non-volatile RAM storage. The I/O performance of a whole mobile virtualization system is improved, and the service life of an NAND flash memory is prolonged.

Description

technical field [0001] The invention belongs to the technical field of virtualization environment, and in particular relates to a data storage method and device based on a virtualization environment of a mobile device. Background technique [0002] With the wide application of mobile devices, virtualization technology has been more and more applied in mobile devices. Because the virtualization technology can provide a variety of different software systems in a mobile device, and at the same time can effectively improve the security of the system and reduce the cost of system development. [0003] In the virtualization environment of the mobile device, the external memory of the virtual machine of the mobile device includes a NAND flash memory, an eMMC flash memory, and an SD card. Among them, NAND flash memory is mainly used as external memory. However, the use of NAND flash memory has many limitations and constraints, which are detailed as follows: [0004] 1. NAND flash...

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
Inventor 邵子立陈仁海王毅
Owner 深圳市超算科技开发有限公司
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