| CPC H04W 12/06 (2013.01) [H04W 12/043 (2021.01); H04W 12/69 (2021.01)] | 20 Claims |

|
1. A Bluetooth® networking method for an electronic device, comprising:
obtaining, by a gateway device, a first identification code of a first device;
sending, by the gateway device, a first authentication request to the first device, wherein the first authentication request is associated with verification, by the first device, of a first authentication server;
sending, by the gateway device, a second authentication request to the first device, wherein the second authentication request comprises second authentication information, wherein the second authentication information is generated by the gateway device based on the first identification code, and wherein the second authentication request is associated with verification, by the first device, of the gateway device based on the first identification code and the second authentication information;
obtaining, by the gateway device, a third authentication request from the first device, wherein the third authentication request comprises third authentication information, and wherein the third authentication information is generated by the first device based on the first identification code;
obtaining third confirmation information by verifying, by the gateway device, the first device based on the first identification code and the third authentication information;
sending, by the gateway device, a fourth authentication request to the first authentication server, wherein the fourth authentication request is associated with verification of the first device by the first authentication server;
obtaining, by the gateway device, first confirmation information and second confirmation information from the first device;
obtaining fourth confirmation information from the first authentication server, wherein the first confirmation information comprises a result of an authentication performed by the first device on the first authentication server, wherein the second confirmation information comprises a result of the authentication performed by the first device on the gateway device, and wherein the fourth confirmation information comprises a result of the authentication performed by the first authentication server on the first device; and
establishing a communication connection between the first device and the gateway device based on the first confirmation information, the second confirmation information, the third confirmation information, and the fourth confirmation information.
|