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

A data storage method and device based on mobile device virtualization environment

A technology for virtualized environments and mobile devices, which is applied in the field of data storage based on the virtualized environment of mobile devices, and can solve the problems of low input and output I/O performance, separation of metadata that cannot be updated frequently, and short lifespan of NAND flash memory.

Active Publication Date: 2017-08-04
深圳市超算科技开发有限公司
View PDF6 Cites 0 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
  • A data storage method and device based on mobile device virtualization environment
  • A data storage method and device based on mobile device virtualization environment
  • A 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 storage, if yes, store part of the file system metadata in the non-volatile RAM storage, otherwise, store the All of the file system metadata is stored 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 ti...

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 Patents(China)
IPC IPC(8): G06F9/455
Inventor 邵子立陈仁海王毅
Owner 深圳市超算科技开发有限公司
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