CPC H04W 4/80 (2018.02) [H04W 12/069 (2021.01); H04W 76/14 (2018.02)] | 20 Claims |
1. A Bluetooth scanning method, performed by an electronic device, wherein the electronic device comprises a Bluetooth agent module and a secure element (SE), wherein the SE comprises an applet, and the method comprises:
receiving, by the electronic device, a first device identifier sent by a first device;
in response to the receiving the first device identifier, determining, by the electronic device, whether the first device is registered with the electronic device; establishing, by the Bluetooth agent module based on the determining that the first device is registered with the electronic device, a channel to the first device based on the first device identifier;
receiving, by the Bluetooth agent module, a ciphertext verification instruction from the first device through the channel;
in response to the receiving the ciphertext verification, obtaining, by the Bluetooth agent module, a first ciphertext from the applet of the SE;
sending, by the Bluetooth agent module, the first ciphertext to the first device, wherein the first device executes a corresponding service when the electronic device or the Bluetooth agent module receives an indication that a verification of the first ciphertext succeeds.
|