The invention relates to a wireless communication technology, and discloses a wireless communication method and system. Under the condition of network link congestion, the method and the system ensure that the data traffic of an important user is preferentially forwarded. The method comprises the steps of a, a wireless router providing a plurality of SSIDs (Service Set Identifiers) to the outside, configuring different IP address pools for different SSIDs, and allocating different QoS (Quality of Service) priorities for different IP address pools; b, a user terminal sending an access request to a certain SSID of the wireless router; c, the wireless router authenticating an authentication password sent by the user terminal according to the SSID requested to access by the user terminal, and allocating an IP address to the user terminal from the IP address pool corresponding to the SSID accessed by the user terminal after the authentication passes; d, the user terminal using the IP address allocated to the user terminal; d, the user terminal transceiving data by using the IP address allocated to the user terminal; and e, when the user terminal needs to forward data, the wireless router performing QoS scheduling according to the IP address allocated to the user terminal and the priority strategy.