Terminal equipment information counting method and terminal equipment information counting device based on Hash node
A technology of terminal equipment and information statistics, applied in the field of communication, can solve the problems of long aging time of ARP entries and failure to find equipment information, etc., and achieve the effect of avoiding insufficient information, avoiding poor effectiveness, and real-time statistics
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0053] A method for statistics of terminal equipment information based on hash nodes, which is applied to routers connected with multiple terminal equipment, such as figure 1 described, including the steps to:
[0054] S11. Obtain the source IP address when the data packet passing through the kernel protocol stack is an uplink data packet;
[0055] S12. Check whether there is a hash node corresponding to the source IP address in the hash table;
[0056]S13. If it does not exist, establish a new hash node according to the source IP address, analyze the physical address of the uplink data packet, and add the physical address to the statistical information of the hash node corresponding to the source IP address of the uplink data packet , insert the hash node into the hash table, and execute S14; if it exists, directly execute S14;
[0057] S14. Count the flow information of the source IP address according to the uplink data packets, and store the flow information in a hash nod...
Embodiment 2
[0080] According to the method for statistics of terminal equipment information based on hash nodes proposed in the above embodiments, this embodiment proposes an apparatus for statistics of terminal equipment information based on hash nodes.
[0081] A device for statistics of terminal equipment information based on hash nodes, which is applied to routers connected to multiple terminal equipment, such as Figure 5 shown, including:
[0082] A source IP address acquisition unit 11 is used to obtain the source IP address of the uplink data packet when the data packet passing through the kernel protocol stack of the router is an uplink data packet;
[0083] The first search unit 12 is connected to the source IP address obtaining unit 11 to find whether there is a hash node corresponding to the source IP address in the hash table;
[0084] The insertion unit 13 is connected to the first search unit 12, and is used to create a new hash node according to the source IP address and ...
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