IP CAMERA CONTROL METHOD, APPARATUS, AND SYSTEM
FIG10 is a schematic structural diagram of an IP camera according to Embodiment 2 of the present invention  FIG9 is a schematic structural diagram of a server according to Embodiment 1 of the present invention
FIG10 is a schematic structural diagram of an IP camera according to Embodiment 2 of the present invention. As shown in FIG10, the IP camera provided by this embodiment of the present invention includes a receiver 1001 and a processor 1002. Further, in the embodiment shown in FIG10, the IP camera further includes a transmitter 1003. Further, in the embodiment shown in FIG10, the transmitter 1003 is further configured to send status update notification information to the server, where the status update notification information is used to notify that a status of the IP camera is updated to the standby state. Further, in the embodiment shown in FIG10, the receiver 1001 is further configured to receive, at a third preset frequency, a beacon sent by a router; when receiving the beacon sent by the router, the IP camera connects to the router; and at intervals of receiving a beacon sent by the router, the IP camera disconnects from the router.  FIG9 is a schematic structural diagram of a server according to Embodiment 1 of the present invention. As shown in FIG9, the server provided by this embodiment of the present invention includes a receiving module 901 and a sending module 902. Further, in the embodiment shown in FIG9, the sending module 902 is further configured to send first heartbeat information to the IP camera, where the first heartbeat information includes a communication address and a port number of the server, so that the IP camera constructs, according to the first heartbeat information, a heartbeat packet to be transmitted between the IP camera and the server. Further, in the embodiment shown in FIG9, the receiving module 901 is further configured to receive status update notification information sent by the IP camera, where the status update notification information is used to notify that a status of the IP camera is updated to the standby state. Further, in the embodiment shown in FIG9, the receiving module 901 is further configured to receive a wake-up instruction sent by the client, where the wake-up instruction includes the port number and the communication address of the IP camera to be woken up.
schematic structural diagram
801
receiving module
1002
processor
901
receiving module
804
sending module
902
sending module
802
switching module
1003
transmitter
1001
receiver
803
constructing module
['8. An Internet Protocol, IP, camera, comprising a receiving module, a switching module, a constructing module and a sending module, wherein the receiving module is configured to receive a standby instruction sent by a server and receive a wake-up instruction from the server; and the switching module is configured to switch from a working state to a standby state when receiving the standby instruction from the server, and switch from the standby state to the working state when receiving the wake-up instruction from the server, the standby state comprising powering off a security chip and an image sensor of the IP camera, the working state comprising powering on the security chip and the image sensor of the IP camera; the constructing module is configured to construct a heartbeat packet to be transmitted between the IP camera and the server when in the standby state; and the sending module is configured to send the heartbeat packet to the server at a first preset frequency to make the IP camera maintain a heartbeat connection to the server.']