An active IP host number statistics method based on a binary hash table
A statistical method and binary technology, applied in transmission systems, electrical components, etc., can solve the problems of inaccurate statistics, detection of packet failure, network load, etc., to achieve accurate statistics, time and space complexity has obvious advantages and reduced The effect of hash collisions
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0067] First, establish the data structure required for counting the number of active IP hosts, set the length of the binary hash table to 0XFFFFFF, and the initial value is 0; set the IP host counter COUNT = 0; start timestamp BEGINTIME = start time, such as: 2018-08- 20 00:00:01; time period WINDOW=60;
[0068] Network traffic analysis, that is, the source IP address of each IP packet, such as the extracted IP address is 10.100.5.1;
[0069] Take out the high 16 bits of the source IP address, the value is 0x0A64; take out the low 16 bits, the value is 0×0501; according to the calculation formula of V_HASH, the hash value V_HASH=0×6E0501 can be obtained, and the decimal value of V_HASH is 7210241;
[0070] Look up member No. 7210241 in the binary hash table and find that its value is 0, then set its value to 1, add 1 to the COUNT value, then the current value of COUNT is 1;
[0071] Check the difference between the current timestamp (such as: 2018-08-20 00:00:08) and the sta...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com