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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
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