Lightweight WiFi user traffic statistics and restriction method for mobile router
A technology of user traffic and statistical method, which is applied in the field of light-weight WiFi user traffic statistics and restriction of mobile routers, can solve the problems of traffic restriction, inconvenience, and inability to monitor the traffic of each terminal, and achieve easy viewing, easy monitoring, and statistical accuracy high effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] Such as figure 1 and figure 2 As shown, this embodiment provides a lightweight WiFi user traffic statistics method for a mobile router, which includes the following steps:
[0035] 1. The user connects to the mobile router through WiFi;
[0036] 2. Record the MAC address of the WiFi user in the user table in the WiFi driver;
[0037] 3. Analyze whether it is in the RX interface or TX interface driven by WiFi, if it is the RX interface, perform step 4, if it is the TX interface, perform step 8;
[0038] 4. In the WiFi-driven RX interface, intercept the RX data packet through the user's MAC address;
[0039] 5. Analyze the source IP address and target IP address from the RX data packet;
[0040] 6. If the target IP address is an external network IP address, calculate the packet size;
[0041] 7. Record the source IP address in the user table, and add the packet size to the RX traffic statistics, and then perform step 12;
[0042] 8. In the TX interface driven by Wi...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


