Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method and system for providing virtual NVRAM based on trusted execution environment

An execution environment and reliable technology, which is applied in the direction of data error detection, response error generation, and instrumentation, can solve the problems of high energy consumption, NVRAM data loss, and high cost of NVRAM, and achieve low cost. , Accelerate the log function, improve the effect of performance

Active Publication Date: 2019-08-16
SHANGHAI JIAO TONG UNIV
View PDF13 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

First, due to the high cost of the existing high-speed NVRAM, it is not suitable for mobile electronic devices such as mobile phones and tablets purchased by ordinary consumers.
Second, because the energy consumption of existing NVRAM is much higher than that of existing RAM, the power supply design of existing mobile devices is not enough to support normal use time
The third is that ordinary consumers often install a large number of third-party software on mobile devices, which affects the stability of the operating system and may also lead to the loss of data in NVRAM

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 system for providing virtual NVRAM based on trusted execution environment
  • Method and system for providing virtual NVRAM based on trusted execution environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0052] The method of providing virtual NVRAM for mobile devices based on the ARM TrustZone technology includes three stages: the creation of virtual NVRAM, the sending and processing of virtual NVRAM read and write requests, and the protection of virtual NVRAM data when power is off. The method for providing virtual NVRAM in the present invention will be described in detail below through specific implementation examples.

[0053] Such as figure 2 As shown, the specific steps for the system to provide ARM-based TrustZone for mobile devices are as follows:

[0054] In step 1, during the normal operation of the operating system of the mobile device, if it is necessary to create a new virtual NVRAM, then perform step 2; if there is a read and write request for the virtual NVRAM, then perform step 4; if an event that requires power off occurs, then Execute step 6;

[0055] In step 2, the operating system needs to create a new virtual NVRAM. The virtual NVRAM driver program in t...

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 provides a method for providing a virtual NVRAM (Non-Volatile Random Access Memory) based on a trusted execution environment. The method comprises the following steps: a memory region establishment step: dividing a memory region with a preset size in the trusted execution environment as a memory region of the virtual NVRAM; a read-write operation step: enabling the virtual NVRAM to wait for a read-write request, and execute a corresponding read-write operation when receiving the read-write request; a shutdown backup step: when the device is shut down, backing up data in the virtual NVRAM divided in the trusted execution environment into a disk before the trusted execution environment is closed; and a startup reading step: when the equipment is started, firstly starting a trusted execution environment, reading the data backed up in the disk into the virtual NVRAM, and starting the virtual NVRAM. The method has the advantages that existing mobile equipment hardware is not modified, data is not lost during power failure, data in the virtual NVRAM cannot be lost when an operating system of the mobile equipment crashes or has errors, and the performance of the mobile equipment can be improved.

Description

technical field [0001] The present invention relates to the field of data reliability, in particular to a method and a system method for providing virtual NVRAM (Non-Volatile Random Access Memory, Non-Volatile Random Access Memory) for devices based on a trusted execution environment. Background technique [0002] Random access memory, referred to as memory (RAM), is an important part of a computer system and is used to store computing data in the CPU. Compared with external storage devices such as disks, RAM is characterized by high speed and small capacity, but data will be lost when power is turned off. Although the disk can store data permanently, it is very slow and not suitable for direct access by the CPU. So in mobile devices, RAM often acts as a disk cache. Software programs on mobile devices, such as Android operating systems, chat software, game software, etc., are generally installed on external storage such as disks, but these software cannot be used directly ...

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): G06F11/14G06F21/53
CPCG06F11/1446G06F11/1484G06F21/53
Inventor 李冠宇夏虞斌陈海波
Owner SHANGHAI JIAO TONG UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More