A device control method, performed by an Internet of Things device, comprising: sending first device information to a proxy device, the first device information being device information of the Internet of Things device, and the proxy device being configured to act as a proxy for the Internet of Things device, replacing the Internet of Things device to send a keep-alive message of the Internet of Things device to a cloud server(S 101; S201; S301; S401), the first device information being used for identity authentication so that the proxy device performs identity authentication according to the received device information of the Internet of Things device; obtaining second device information, the second device information being device information of the proxy device(S102; S202; S302; S402), the second device information being used for identity authentication so that the Internet of Things device performs identity authentication according to the device information of the proxy device; establishing a first connection with the cloud server, and sending the device information of the proxy device to the cloud server through the first connection, so as to achieve authentication of the proxy device through the cloud server, so that the authenticated proxy device establishes a second connection between the proxy device and the cloud server based on the first device information and the second device information, the second connection being configured to transmit the keep-alive message(S103; S203; S303; S403); disconnecting the first connection with the cloud server in response to controlling the Internet of Things device to enter a low power consumption mode; wherein, in response to determining that notification information sent by the cloud server is received, controlling the Internet of Things device to enter a low power consumption mode, the notification information being configured to indicate that the second connection has been established between the proxy device and the cloud server(S104; S204; S404). sending first device information to a proxy device, the first device information being device information of the Internet of Things device, and the proxy device being configured to act as a proxy for the Internet of Things device, replacing the Internet of Things device to send a keep-alive message of the Internet of Things device to a cloud server(S 101; S201; S301; S401), the first device information being used for identity authentication so that the proxy device performs identity authentication according to the received device information of the Internet of Things device; obtaining second device information, the second device information being device information of the proxy device(S102; S202; S302; S402), the second device information being used for identity authentication so that the Internet of Things device performs identity authentication according to the device information of the proxy device; establishing a first connection with the cloud server, and sending the device information of the proxy device to the cloud server through the first connection, so as to achieve authentication of the proxy device through the cloud server, so that the authenticated proxy device establishes a second connection between the proxy device and the cloud server based on the first device information and the second device information, the second connection being configured to transmit the keep-alive message(S103; S203; S303; S403); disconnecting the first connection with the cloud server in response to controlling the Internet of Things device to enter a low power consumption mode; wherein, in response to determining that notification information sent by the cloud server is received, controlling the Internet of Things device to enter a low power consumption mode, the notification information being configured to indicate that the second connection has been established between the proxy device and the cloud server(S104; S204; S404). <EOS>