Search International and National Patent Collections

1. (WO2017185912) METHOD AND APPARATUS FOR COLLECTING STATISTICS ABOUT TERMINAL DEVICE INFORMATION BASED ON HASH NODE

Pub. No.:    WO/2017/185912    International Application No.:    PCT/CN2017/077416
Publication Date: Fri Nov 03 00:59:59 CET 2017 International Filing Date: Wed Mar 22 00:59:59 CET 2017
IPC: H04L 12/26
Applicants: PHICOMM(SHANGHAI) CO., LTD.
上海斐讯数据通信技术有限公司
Inventors: ZHAO, Chong
赵冲
Title: METHOD AND APPARATUS FOR COLLECTING STATISTICS ABOUT TERMINAL DEVICE INFORMATION BASED ON HASH NODE
Abstract:
The present invention provides a method and apparatus for collecting statistics about terminal device information based on a Hash node, applied to a router connected with multiple terminal devices, wherein a Hash table is provided. The method comprises the steps of: if a data packet passing through a kernel protocol stack of a router is an uplink data packet, obtaining a source IP address of the uplink data packet; querying whether a Hash node corresponding to the source IP address exists in a Hash table; if not, creating a new Hash node according to the source IP address and inserting the new Hash node into the Hash table; if yes, not performing processing; and collecting statistics about traffic information of the source IP address according to the uplink data packet, and storing the traffic information in the Hash node corresponding to the source IP address. The method provided in the present invention resolves the problem of insufficiency and poor effectiveness of information merely acquired by means of an application layer, and avoids the disturbance to a user caused by the collection of redundant information.