| CPC G06F 21/53 (2013.01) | 16 Claims |

|
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.
|