1. A method for determining a relative angle between intelligent devices, wherein the method is applicable to a first intelligent device, the first intelligent device comprises a first sound detection module and a second sound detection module, and the method comprises: enabling the first sound detection module to detect a first sound signal sent by a second intelligent device and directly reaching the first sound detection module, and enabling the second sound detection module to detect a second sound signal sent by the second intelligent device and directly reaching the second sound detection module, wherein the first sound signal and the second sound signal are sent by the second intelligent device at the same time; determining a time difference between the receiving time of the first sound signal and the receiving time of the second sound signal; determining a relative angle between the first intelligent device and the second intelligent device based on the distance between the first sound detection module and the second sound detection module and the time difference; wherein the method further comprises: determining a sound signal with strength greater than a predetermined threshold within a predetermined time window in a sound signal stream sent by the second intelligent device and received by the first sound detection module as the first sound signal; determining a sound signal with strength greater than the predetermined threshold within the predetermined time window in a sound signal stream sent by the second intelligent device and received by the second sound detection module as the second sound signal; determining a pair of sound signals with the time difference smaller than M as the first sound signal and the second sound signal, where M=(D/c), D is the distance between the first sound detection module and the second sound detection module, and c is the propagation speed of sound.
|