| CPC G06F 11/3051 (2013.01) [G06F 21/55 (2013.01); H04L 41/12 (2013.01); H04L 43/065 (2013.01); H04L 43/12 (2013.01)] | 20 Claims |

|
1. A method for detecting a video surveillance device, comprising:
obtaining, by an electronic device, media access control (MAC) address information of a target device, wherein the electronic device and the target device access a same wireless network;
obtaining, by the electronic device, port information of the target device;
attempting, by the electronic device, to determine whether the target device is a video surveillance device based on the MAC address information;
based on the electronic device being unable to determine whether the target device is a video surveillance device based on the MAC address information, attempting, by the electronic device, to determine whether the target device is a video surveillance device based on first information, wherein the first information comprises the port information;
based on the electronic device being unable to determine whether the target device is a video surveillance device based on the first information, obtaining, by the electronic device, fingerprint information of the target device by sending a probe message according to a transmission control protocol (TCP) port-based probe protocol or a user datagram protocol (UDP) port-based probe protocol; and
determining, by the electronic device, based on the fingerprint information, whether the target device is a video surveillance device.
|