Patent ID: 11894917
Assignee: QINGDAO PICO TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC H

Claim 0:
1. A method for time synchronization between a head-mounted device and a peripheral device, performed by the peripheral device, and comprising:
obtaining sample data of an inertial measurement unit of the peripheral device, and determining a first timestamp representing a time at which the sample data is sampled;
transmitting an interrupt request and the sample data to the head-mounted device, and determining a second timestamp representing a time at which the interrupt request is transmitted;
determining, by obtaining a reading time at which the sample data is read as recorded by the head-mounted device, a third timestamp representing a time at which the interrupt request is received by the head-mounted device; and
determining a time difference based on the third timestamp and the second timestamp, and performing time compensation on the first timestamp based on the time difference to enable the peripheral device and the head-mounted device to complete the time synchronization with a unified time standard,
wherein said determining the time difference based on the third timestamp and the second timestamp comprises:
calculating a first difference between the third timestamp and the second timestamp: and
calculating a second difference between the first difference and a transmission consumption time obtained, by the peripheral device, in advance, and determining the second difference as the time difference.