Patent ID: 11863587
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 1:
2. The method according to claim 1, wherein the web page visit record comprises at least one entry, wherein each of the at least one entry corresponds to one of at least one URL, and includes a total quantity of visits and an IP address list; and
wherein the generating the web page visit record of the protected host based on the first web traffic comprises:
obtaining at least one access request packet from the first web traffic, wherein a destination IP address of each of the at least one access request packet is an IP address of the protected host;
performing the following operations on each of the at least one access request packet:
parsing the access request packet to obtain a source IP address of and a URL included in the access request packet;
searching the web page visit record for an entry corresponding to the URL; and
when the entry corresponding to the URL is found, adding 1 to a total quantity of visits in the found entry, and recording the source IP address into an IP address list in the found entry, or
when the entry corresponding to the URL is not found, creating, in the web page visit record, an entry corresponding to the URL, and setting a total quantity of visits in the created entry to 1 and recording the source IP address into an IP address list in the created entry.