US 12,432,566 B2
Ranging method
Guangjun Qiao, Beijing (CN)
Assigned to BEIJING XIAOMI MOBILE SOFTWARE CO., LTD., Beijing (CN)
Filed by BEIJING XIAOMI MOBILE SOFTWARE CO., LTD., Beijing (CN)
Filed on Dec. 27, 2022, as Appl. No. 18/088,998.
Claims priority of application No. 202210152371.6 (CN), filed on Feb. 18, 2022.
Prior Publication US 2023/0269590 A1, Aug. 24, 2023
Int. Cl. H04W 12/63 (2021.01); H04W 12/40 (2021.01); H04W 64/00 (2009.01)
CPC H04W 12/63 (2021.01) [H04W 12/40 (2021.01); H04W 64/00 (2013.01)] 14 Claims
OG exemplary drawing
 
1. A ranging method, performed using a terminal device comprising a processor and a ranging chip, the processor having a security region, and the security region being communicatively connected to the ranging chip, the ranging method comprising:
acquiring a session parameter generated from an initial communication between the terminal device and a device to be ranged;
generating, in the security region, a ranging security parameter according to the session parameter;
sending the ranging security parameter to the ranging chip via a communication channel between the security region and the ranging chip; and
generating, by the ranging chip, a ranging time parameter according to the ranging security parameter, and performing, by the ranging chip, a ranging communication with the device to be ranged using the ranging time parameter to acquire a ranging result;
wherein the method further comprises:
generating the communication channel between the security region and the ranging chip according to a first security parameter preset in the security region and a second security parameter preset in the ranging chip.