CPC G06F 11/143 (2013.01) [G06F 11/1441 (2013.01); G06F 21/51 (2013.01); G06F 21/53 (2013.01); G06F 21/629 (2013.01); G06F 2221/2143 (2013.01)] | 20 Claims |
1. A method, comprising:
receiving an instruction for wiping data or performing a factory reset;
setting, in response to receiving the instruction, a first identifier for sending a first request to delete a first security service from a secure element (SE) of an electronic device;
storing the first identifier in a first area that is not deleted after wiping the data or performing the factory reset, wherein the first area comprises a trusted execution environment (TEE) of the electronic device or the SE of the electronic device;
shutting down or restarting the electronic device after setting the first identifier;
reading the first identifier when the electronic device is powered on or is connected to a network;
sending, to a server in response to reading the first identifier, the first request requesting to delete the first security service from the SE;
receiving, from the server according to the first request, a first command instructing to delete a target security service in the SE, wherein the target security service is based on a second security service installed in the SE and based on a list of deletable third security services stored in the server;
deleting, from the SE according to the first command, a secure element applet corresponding to the target security service; and
deleting, after deleting the secure element applet from the SE, the first identifier from the TEE of the electronic device or the SE of the electronic device.
|