Trusted Execution Environment User Interface Rendering via Rich Execution Environment Offload

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing user interface display methods for terminals require large amounts of shared memory, leading to complex processing and reduced system response speed in the Trusted Execution Environment (TEE), and result in uncoordinated and unintelligent human-machine interaction due to the lack of resource optimization and inconsistent user interface rendering between the Rich Execution Environment (REE) and TEE.

Innovation Solution

A method where a terminal generates a first user interface in the REE, obtains a user interface picture, and switches to the TEE to display a second user interface based on the picture and attribute information of the input component, reducing the need for shared memory and enhancing the similarity and coordination of user interfaces across environments.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a huge Chinese font (10-20M) is loaded into the TEE to support display of Chinese characters in the trusted user interface, then the TUI can be rendered successfully, but the system response speed and processor speed in the TEE are reduced drastically

Engineering Contradiction:
ImproveTUI rendering capabilityVSAvoidsystem response speed
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

The patent segments the font resource management by separating Chinese font rendering (handled in REE) from trusted application execution (handled in TEE). The TEE only loads minimal English font and datafont, while Chinese character rendering is offloaded to the REE, thus maintaining TEE's speed while preserving TUI rendering capability for Chinese characters.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary mechanism where the REE acts as a mediator for Chinese font rendering. When the TEE needs to display Chinese characters, it requests rendering assistance from the REE, which handles the complex Chinese font processing externally, allowing the TEE to maintain its performance characteristics.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If a huge Chinese font (10-20M) is loaded into the TEE to support display of Chinese characters, then the TUI can be rendered successfully, but the memory allocation in the TEE becomes insufficient

Engineering Contradiction:
ImproveTUI rendering capabilityVSAvoidmemory allocation
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent segments font resource storage between REE and TEE. Chinese fonts are stored and managed in the REE's memory space, while the TEE only allocates minimal memory for English fonts and datafonts. This segmentation allows the TEE to function with limited memory while still supporting Chinese character display through REE assistance.

Inventive Principle:
Principle #1Segmentation

3Reliability

If a large amount of shared memory is required and the terminal needs to manage it, then the TUI can be displayed in the TEE, but processing in the TEE becomes complex and processing overheads increase

Engineering Contradiction:
ImproveTUI display capabilityVSAvoidprocessing complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts the complex shared memory management and Chinese font processing tasks from the TEE and relocates them to the REE. The TEE only manages its own minimal font resources (English font and datafont), significantly reducing processing complexity and overhead while maintaining the ability to display TUI with Chinese characters through REE collaboration.

Inventive Principle:
Principle #2Taking out (Extraction)

4Reliability

If Chinese font is loaded in shared memory and the TA invokes it, then the TUI can display Chinese characters, but the terminal needs to manage large amounts of shared memory

Engineering Contradiction:
ImproveChinese character display capabilityVSAvoidmemory management complexity
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The patent introduces the REE as an intermediary that handles Chinese font management. Instead of the TEE directly managing large shared memory for Chinese fonts, the REE manages the Chinese font resources and provides rendering services to the TEE when needed, simplifying the TEE's memory management operations.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS10891397B2User interface display method for terminal, and terminal
Publication Date: 2021.01.12 HUAWEI TECH CO LTD
  • US10891397B2 patent drawing
  • US10891397B2 patent drawing
  • US10891397B2 patent drawing

AI summary

Embodiments provide a user interface display method for a terminal, and a terminal. The method includes: generating, by a terminal in a first operating environment, a first user interface that includes a first input component, obtaining a first user interface picture according to the first user interface, and determining attribute information of the first input component according to a first application. The method also includes switching, by the terminal, to a second operating environment, and displaying a second user interface in the second operating environment according to the first user interface picture and the attribute information of the first input component, thereby reducing processing overheads of the terminal.