A device control method, comprising: receiving, by a terminal, a radio signal sent by at least three access point devices; determining corresponding at least three first signal strengths according to the radio signal sent by the three access point devices; acquiring three second signal strengths, corresponding to the three access point devices, of a first controlled device and three third signal strengths, corresponding to the three access point devices, of a second controlled device; and controlling the first controlled device and the second controlled device when determining, according to the three first signal strengths, the three second signal strengths, and the three third signal strengths, that a distance between the first controlled device and the terminal is less than a distance between the second controlled device and the terminal, wherein when determining that at least three first difference values between the three first signal strengths and the three second signal strengths are respectively less than three second difference values between the three first signal strengths and the three third signal strengths corresponding to the corresponding three access point devices, the terminal determines that the distance between the first controlled device and the terminal is less than the distance between the second controlled device and the terminal, and wherein the terminal and the first and second controlled devices are connected by using the at least three access point devices, wherein the at least three access point devices include a working access point device used for implementing network communication between the terminal and the controlled devices and at least two auxiliary access point devices used for providing a radio signal to determine the distance between the terminal and the controlled devices. receiving, by a terminal, a radio signal sent by at least three access point devices; determining corresponding at least three first signal strengths according to the radio signal sent by the three access point devices; acquiring three second signal strengths, corresponding to the three access point devices, of a first controlled device and three third signal strengths, corresponding to the three access point devices, of a second controlled device; and controlling the first controlled device and the second controlled device when determining, according to the three first signal strengths, the three second signal strengths, and the three third signal strengths, that a distance between the first controlled device and the terminal is less than a distance between the second controlled device and the terminal, wherein when determining that at least three first difference values between the three first signal strengths and the three second signal strengths are respectively less than three second difference values between the three first signal strengths and the three third signal strengths corresponding to the corresponding three access point devices, the terminal determines that the distance between the first controlled device and the terminal is less than the distance between the second controlled device and the terminal, and wherein the terminal and the first and second controlled devices are connected by using the at least three access point devices, wherein the at least three access point devices include a working access point device used for implementing network communication between the terminal and the controlled devices and at least two auxiliary access point devices used for providing a radio signal to determine the distance between the terminal and the controlled devices. <EOS>