An orientation: method performed by a first device , the method comprising: determining a reference direction (S) for orientation; when the first device rotates around an obstruction, receiving a wireless signal sent by a second device , and obtaining a link quality parameter value according to the received wireless signal; determining a position having greatest shadow fading of the first device according to the obtained link quality parameter value, and using a pointing direction of the position having greatest shadow fading of the first device as a first pointing direction; and determining, according to an included angle θ 1 between the reference direction (S) and the first pointing direction and an included angle θ 2 between the reference direction (S) and a second pointing direction (Y), a direction in which the second device is located, wherein the second pointing direction (Y) is a pointing direction of the first device , wherein the determining a position having greatest shadow fading of the first device according to the obtained link quality parameter value comprises: filtering the obtained link quality parameter value; and determining, as the position having greatest shadow fading of the first device , a pointing direction that is of the first device and corresponding to a smallest filtered link quality parameter value by comparing the filtered link quality parameter value with a filtered link quality parameter value obtained in a previous position and a filtered link quality parameter value obtained in a next position, wherein before the determining a reference direction (S) for orientation, the method further comprises: wirelessly connecting to the second device , and keeping the orientation function in a normally open state. determining a reference direction (S) for orientation; when the first device rotates around an obstruction, receiving a wireless signal sent by a second device , and obtaining a link quality parameter value according to the received wireless signal; determining a position having greatest shadow fading of the first device according to the obtained link quality parameter value, and using a pointing direction of the position having greatest shadow fading of the first device as a first pointing direction; and determining, according to an included angle θ 1 between the reference direction (S) and the first pointing direction and an included angle θ 2 between the reference direction (S) and a second pointing direction (Y), a direction in which the second device is located, wherein the second pointing direction (Y) is a pointing direction of the first device , wherein the determining a position having greatest shadow fading of the first device according to the obtained link quality parameter value comprises: filtering the obtained link quality parameter value; and determining, as the position having greatest shadow fading of the first device , a pointing direction that is of the first device and corresponding to a smallest filtered link quality parameter value by comparing the filtered link quality parameter value with a filtered link quality parameter value obtained in a previous position and a filtered link quality parameter value obtained in a next position, filtering the obtained link quality parameter value; and determining, as the position having greatest shadow fading of the first device , a pointing direction that is of the first device and corresponding to a smallest filtered link quality parameter value by comparing the filtered link quality parameter value with a filtered link quality parameter value obtained in a previous position and a filtered link quality parameter value obtained in a next position, wherein before the determining a reference direction (S) for orientation, the method further comprises: wirelessly connecting to the second device , and keeping the orientation function in a normally open state. <EOS>