Method, device and system for realizing multi-core parallel at TEE side

A computer system and execution environment technology, applied in the field of operating systems, can solve the problems of system performance and power consumption, no scheduling and load balancing mechanism, TEE cannot actively create threads, etc., to improve overall performance and ensure security. Effect

Active Publication Date: 2019-07-02
HUAWEI TECH CO LTD
View PDF4 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, on the one hand, the number of cores in the TEE is directly limited by the number of threads that call TAs on the REE side. In the case of insufficient cores, the TEE cannot actively create threads; on the other hand, multiple TAs in parallel in this scheme can only Implemented through a simple thread pool, without providing a unified scheduling and load balancing mechanism, the parallel operation of multiple TAs will affect the performance and power consumption of the entire system;

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, device and system for realizing multi-core parallel at TEE side
  • Method, device and system for realizing multi-core parallel at TEE side
  • Method, device and system for realizing multi-core parallel at TEE side

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0063] Before introducing this embodiment, several concepts that may appear in this embodiment are introduced first. It should be understood that the following conceptual explanations may be limited due to the specific circumstances of this embodiment, but this does not mean that the application can only be limited to this specific situation, and the following conceptual explanations may also be accompanied by specific circumstances of different embodiments. has a difference.

[0064] Multi-core scheduling: A scheduling mechanism provided by a computer system with a multi-core processor that supports tasks such as creation, scheduling, migration, and destruction on multiple cores.

[0065] Load balancing: Multiple parallel tasks on a multi-core processor need to balance the system load by balancing the distribution of tasks on different cores to achieve the overall performance and power consumption goals of the system.

[0066] Task: In this application, it is a general concept...

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 and a device for realizing multi-core parallel at a TEE side, a computer system and the like. The method comprises the following steps: a TEE creates a plurality of sub-threads, wherein the sub-threads are used for realizing sub-functions of a TA deployed at a TEE side; for each sub-thread, the TEE triggers a rich execution environment (REE) to generate a shadow thread corresponding to the sub-thread, and the operation of the shadow thread promotes a core running the shadow thread to enter the TEE; and the TEE schedules the created sub-thread to the core where the corresponding shadow thread is located for execution. By utilizing the method, a plurality of service logics in the service with high performance requirements can be operated in parallel in the TEE, and the TEE triggers the REE to generate the thread and automatically enters the TEE side, so that active kernel adding at the TEE side is realized, and the parallel flexibility of the TEE side is improved.

Description

technical field [0001] The present application relates to operating system technology, and in particular to a method, device and system for realizing multi-core parallelism in a multi-domain operating system. Background technique [0002] In order to ensure the security of terminal equipment, ARM (advanced RISC machines) appeared The terminal device security framework represented by RISC (the full English name of RISC is reduced instructionset computer). exist Under the framework, system-level security is obtained by dividing the software and hardware resources of the system on chips (SoC) into two worlds. These two worlds are normal world (normal world) and secure world (secure world) (also called secure domain and non-secure domain). These two worlds correspond to rich execution environment (rich execution environment, REE) and trusted execution environment respectively. (trusted execution environment, TEE). REE and TEE run on the same physical device and run a set o...

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/50G06N3/063
CPCG06F9/505G06N3/063G06F2209/5018G06F21/74G06F2209/5011G06F2209/5015G06F21/53G06F9/4843G06F9/4881G06F9/3009G06F9/50G06F9/4812
Inventor 姚冬冬李雨
Owner HUAWEI TECH CO LTD
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