US 12,455,956 B2
Model running methods and apparatuses
Wanyu Gu, Hangzhou (CN); Xianyi Zheng, Hangzhou (CN); Zhi Xin, Hangzhou (CN); Li Guo, Hangzhou (CN); and Xiaofei Wan, Hangzhou (CN)
Assigned to Alipay (Hangzhou) Information Technology Co., Ltd., Hangzhou (CN)
Filed by ALIPAY (HANGZHOU) INFORMATION TECHNOLOGY CO., LTD., Zhejiang (CN)
Filed on Dec. 29, 2023, as Appl. No. 18/400,166.
Application 18/400,166 is a continuation of application No. PCT/CN2022/128036, filed on Oct. 27, 2022.
Claims priority of application No. 202111309418.7 (CN), filed on Nov. 6, 2021.
Prior Publication US 2024/0134965 A1, Apr. 25, 2024
Prior Publication US 2024/0232331 A9, Jul. 11, 2024
Int. Cl. G06F 21/53 (2013.01)
CPC G06F 21/53 (2013.01) 16 Claims
OG exemplary drawing
 
1. A computer-implemented method, comprising:
splitting an original model to obtain a basic model and a trusted execution environment (TEE) model; and
delivering data of the basic model and data of the TEE model to a terminal device to enable a rich execution environment (REE) in the terminal device runs the data of the basic model, and a TEE in the terminal device runs the data of the TEE model;
wherein:
after obtaining the TEE model and before delivering the data of the TEE model to the terminal device, the computer-implemented method further comprises: encrypting the TEE model based on a pre-obtained encryption key to obtain an encrypted model; and
the data of the TEE model comprises the encrypted model;
wherein the delivering data of the basic model and data of the TEE model to a terminal device comprises:
encapsulating the encrypted model into a TEE operator;
generating a reconstructed model based on the basic model and the TEE operator; and
delivering the reconstructed model to the REE in the terminal device.