A method for traffic counting, an address space for storing traffic data of a user is allocated in a wireless network card, the method comprising: within a preset counting period, counting uplink and downlink traffics after the wireless network card accesses network, and updating the traffic data of a current online user stored in the address space in the wireless network card according to a date, a charging standard, and the counted uplink and downlink traffics; wherein the step of updating the traffic data of the current online user stored in the address space in the wireless network card comprises: searching, according to a user name and a password used in the current access of the wireless network card to the network, the flash memory of the wireless network card for an address space corresponding to the user name; adding the counted uplink and downlink traffics to a daily traffic of surfing the network and/or a monthly traffic of surfing the network for the same date recorded in the address space; when there is no address space corresponding to the current user name, allocating an address space corresponding to the user name; when there is no record item on the same date, creating a new traffic data record of the current date; and creating a new traffic data record of the current date after the charging standard is updated; wherein the traffic data include: a date, a daily traffic of surfing the network and/or a monthly traffic of surfing the network. within a preset counting period, counting uplink and downlink traffics after the wireless network card accesses network, and updating the traffic data of a current online user stored in the address space in the wireless network card according to a date, a charging standard, and the counted uplink and downlink traffics; wherein the step of updating the traffic data of the current online user stored in the address space in the wireless network card comprises: searching, according to a user name and a password used in the current access of the wireless network card to the network, the flash memory of the wireless network card for an address space corresponding to the user name; adding the counted uplink and downlink traffics to a daily traffic of surfing the network and/or a monthly traffic of surfing the network for the same date recorded in the address space; when there is no address space corresponding to the current user name, allocating an address space corresponding to the user name; when there is no record item on the same date, creating a new traffic data record of the current date; and creating a new traffic data record of the current date after the charging standard is updated; wherein the traffic data include: a date, a daily traffic of surfing the network and/or a monthly traffic of surfing the network. searching, according to a user name and a password used in the current access of the wireless network card to the network, the flash memory of the wireless network card for an address space corresponding to the user name; adding the counted uplink and downlink traffics to a daily traffic of surfing the network and/or a monthly traffic of surfing the network for the same date recorded in the address space; when there is no address space corresponding to the current user name, allocating an address space corresponding to the user name; when there is no record item on the same date, creating a new traffic data record of the current date; and creating a new traffic data record of the current date after the charging standard is updated; wherein the traffic data include: a date, a daily traffic of surfing the network and/or a monthly traffic of surfing the network.