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

Claim 4:
5. The method according to claim 4, wherein the determining, according to the flow table, the service that is accessed by the single client and whose IP address and port belong to the same side, and a service that is accessed by the plurality of clients and whose IP address and port belong to the same side comprises:
determining a plurality of target services according to the flow table, each target service corresponding to an IP address and a port in one flow entry that belong to a same side, and each target service corresponds to the plurality of data flows;
determining, for each of the plurality of target services, whether a port of the target service is randomly generated;
if the port of the target service is randomly generated, determining whether a quantity of same-side ports corresponding to the IP address of the target service is greater than a third threshold;
if the quantity of same-side ports corresponding to the IP address of the target service is greater than the third threshold, determining whether a quantity of peer-side ports corresponding to the target service is greater than a fourth threshold;
if the quantity of peer-side ports corresponding to the target service is greater than the fourth threshold, determining that the target service is the service that is accessed by the plurality of clients and whose IP address and port belong to the same side; or if the quantity of peer-side ports corresponding to the target service is not greater than the fourth threshold, determining whether a peer-side IP address of the target service is unique; and
if the peer-side IP address of the target service is unique, determining that the target service is the service that is accessed by the single client and whose IP address and port belong to the same side.