Processing

Please wait...

Settings

Settings

Goto Application

1. WO2021008110 - MULTI-THREAD DATA TRANSMISSION METHOD AND APPARATUS IN TEE SYSTEM

Publication Number WO/2021/008110
Publication Date 21.01.2021
International Application No. PCT/CN2020/071449
International Filing Date 10.01.2020
IPC
G06F 9/54 2006.01
GPHYSICS
06COMPUTING; CALCULATING OR COUNTING
FELECTRIC DIGITAL DATA PROCESSING
9Arrangements for program control, e.g. control units
06using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
46Multiprogramming arrangements
54Interprogram communication
CPC
G06F 12/0802
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
FELECTRIC DIGITAL DATA PROCESSING
12Accessing, addressing or allocating within memory systems or architectures
02Addressing or allocation; Relocation
08in hierarchically structured memory systems, e.g. virtual memory systems
0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
G06F 21/53
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
FELECTRIC DIGITAL DATA PROCESSING
21Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
52during program execution, e.g. stack integrity ; ; Preventing unwanted data erasure; Buffer overflow
53by executing in a restricted environment, e.g. sandbox or secure virtual machine
G06F 21/57
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
FELECTRIC DIGITAL DATA PROCESSING
21Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
G06F 9/524
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
FELECTRIC DIGITAL DATA PROCESSING
9Arrangements for program control, e.g. control units
06using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
46Multiprogramming arrangements
52Program synchronisation; Mutual exclusion, e.g. by means of semaphores
524Deadlock detection or avoidance
G06F 9/526
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
FELECTRIC DIGITAL DATA PROCESSING
9Arrangements for program control, e.g. control units
06using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
46Multiprogramming arrangements
52Program synchronisation; Mutual exclusion, e.g. by means of semaphores
526Mutual exclusion algorithms
G06F 9/543
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
FELECTRIC DIGITAL DATA PROCESSING
9Arrangements for program control, e.g. control units
06using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
46Multiprogramming arrangements
54Interprogram communication
543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
Applicants
  • 创新先进技术有限公司 ADVANCED NEW TECHNOLOGIES CO., LTD.
Inventors
  • 刘琦 LIU, Qi
  • 赵博然 ZHAO, Boran
  • 闫莺 YAN, Ying
  • 魏长征 WEI, Changzheng
Agents
  • 北京博思佳知识产权代理有限公司 BEIJING BESTIPR INTELLECTUAL PROPERTY LAW CORPORATION
Priority Data
201910640633.116.07.2019CN
Publication Language Chinese (ZH)
Filing Language Chinese (ZH)
Designated States
Title
(EN) MULTI-THREAD DATA TRANSMISSION METHOD AND APPARATUS IN TEE SYSTEM
(FR) PROCÉDÉ ET APPAREIL DE TRANSMISSION DE DONNÉES MULTIFIL DANS UN SYSTÈME DE TEE
(ZH) TEE系统中的多线程数据传输方法和装置
Abstract
(EN)
Provided are a data transmission method and apparatus in a TEE system. The method is executed by a first thread in a plurality of threads on a TEE side. The method comprises: acquiring first data; acquiring a TEE side thread lock; calling a predetermined function by means of taking the first data as an input parameter, so as to switch to a non-TEE side; respectively acquiring a write offset address and a read offset address by means of reading a first address and a second address; determining whether the number of bytes of the first data is less than or equal to the number of writable bytes, wherein the number of writable bytes is determined on the basis of the write offset address and the read offset address, and each address corresponds to one byte; where the number of bytes of the first data is less than or equal to the number of writable bytes, writing the first data into a third address starting from the write offset address; updating a write offset address in the first address; returning to the TEE side; and releasing the TEE side thread lock.
(FR)
La présente invention concerne un procédé et un appareil de transmission de données dans un système de TEE. Le procédé est exécuté par un premier fil dans une pluralité de fils d'un côté TEE. Le procédé consiste à : acquérir de premières données; acquérir un verrou de fil côté TEE; appeler une fonction prédéfinie par utilisation des premières données en tant que paramètre d'entrée de manière à commuter vers un côté non TEE; acquérir respectivement une adresse de décalage d'écriture et une adresse de décalage de lecture par lecture d'une première adresse et d'une deuxième adresse; déterminer si le nombre d'octets des premières données est inférieur ou égal au nombre d'octets inscriptibles, le nombre d'octets inscriptibles étant déterminé sur la base de l'adresse de décalage d'écriture et de l'adresse de décalage de lecture, et chaque adresse correspondant à un octet; lorsque le nombre d'octets des premières données est inférieur ou égal au nombre d'octets inscriptibles, écrire les premières données dans une troisième adresse à partir de l'adresse de décalage d'écriture; mettre à jour une adresse de décalage d'écriture dans la première adresse; revenir au côté TEE; et libérer le verrou de fil côté TEE.
(ZH)
本说明书实施例提供了一种TEE系统中的数据传输方法和装置,所述方法由TEE侧多个线程中的第一线程执行,包括:获取第一数据;获取所述TEE侧线程锁;以所述第一数据作为输入参数调用预定函数,以切换到非TEE侧;通过读取第一地址和第二地址,分别获取写偏移地址和读偏移地址;判断所述第一数据的字节数是否小于等于可写字节数,其中,所述可写字节数基于所述写偏移地址和所述读偏移地址确定,其中,每个地址对应于一个字节;在所述第一数据的字节数小于等于可写字节数的情况中,将所述第一数据写入从所述写偏移地址开始的第三地址中;更新所述第一地址中的写偏移地址;返回TEE侧;以及释放所述TEE侧线程锁。
Also published as
Latest bibliographic data on file with the International Bureau