| CPC H04W 48/18 (2013.01) [H04W 48/16 (2013.01); H04W 84/12 (2013.01)] | 20 Claims |

|
1. A method for accessing a wireless local area network (WLAN) implemented by a terminal, wherein the method comprises:
receiving, from a first access point, type information of a first WLAN and first identification information of the first WLAN, wherein the first WLAN is of the first access point;
sending a first message to the first access point when the type information indicates that a first type of the first WLAN is a type I, wherein the first message requests to access the first WLAN and carries a first virtual media access control (MAC) address, wherein the first virtual MAC address identifies the terminal, and wherein the first virtual MAC address is different from a device MAC address of the terminal;
sending a second message to the first access point when the type information indicates that a second type of the first WLAN is a type III, wherein the second message requests to access the first WLAN, and wherein the second message carries the device MAC address; and
storing the first identification information after detecting that the terminal accesses the first WLAN.
|