CPC H04W 4/33 (2018.02) [H04W 4/38 (2018.02); H04W 4/80 (2018.02)] | 19 Claims |
1. An indoor positioning method, comprising:
determining a current state of an electronic device according to a current speed parameter of a sensor in the electronic device;
if it is determined that the electronic device is currently in a motion state, turning on a Bluetooth positioning circuit in the electronic device;
determining a current location of the electronic device according to positioning beacon information obtained by the Bluetooth positioning circuit,
wherein after turning on the Bluetooth positioning circuit, the method further comprises:
if a plurality of sets of positioning beacon information continuously obtained by the Bluetooth positioning circuit within a first preset time period are all the same, or it is determined that displacement of the electronic device in the first preset time period is less than or equal to a displacement threshold according to the positioning beacon information, determining that electronic device is in a stationary state; and
turning off the Bluetooth positioning circuit after the first preset time period.
|