A Quick Statistical Analysis Method of Router Traffic
A statistical analysis, router technology, applied in transmission systems, digital transmission systems, data exchange networks, etc., can solve problems such as difficult to expand matching modes
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0034] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, some embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings in the present invention.
[0035] Such as figure 1 As shown, a method for fast statistical analysis of router traffic includes the following steps:
[0036]1) Create two memory storage areas in the kernel module of the openwrt router. The two memory storage areas correspond to the cache data of the previous cycle and the cache data of the current cycle respectively. The two memory storage areas are used to match the cache of the previous cycle. The data and the cached data of the current period are calculated based on the time to calculate the offset index, and the index to obtain the cached data of the previous period=[current system time (seconds) / period value (seconds)+1]%2, the current system time ( seconds) / period value (sec...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


