US 12,219,508 B2
Wireless audio synchronization method, wireless audio playback device and wireless audio transceiving system
Mingjian Zheng, Shanghai (CN); and Haipeng Jin, Shanghai (CN)
Assigned to TELINK SEMICONDUCTOR (SHANGHAI) CO., LTD., Shanghai (CN)
Filed by TELINK SEMICONDUCTOR (SHANGHAI) CO., LTD., Shanghai (CN)
Filed on Aug. 24, 2022, as Appl. No. 17/894,440.
Claims priority of application No. 202110972677.1 (CN), filed on Aug. 24, 2021.
Prior Publication US 2023/0069368 A1, Mar. 2, 2023
Int. Cl. H04W 56/00 (2009.01); H04L 65/70 (2022.01); H04R 5/04 (2006.01)
CPC H04W 56/001 (2013.01) [H04L 65/70 (2022.05); H04R 5/04 (2013.01); H04R 2420/07 (2013.01)] 7 Claims
OG exemplary drawing
 
1. A method of wireless audio synchronization, applicable to a wireless audio playback device, comprising:
sampling, based on a first local clock signal of the wireless audio playback device, a received wireless signal to acquire a sample sequence, and demodulating the sample sequence to acquire a wireless data packet comprising a synchronization segment and a data segment, wherein the synchronization segment comprises a synchronization sequence having a fixed pattern, the data segment comprises coded audio data, and the wireless signal is transmitted by a wireless audio transmitting device regularly according to a local clock signal of the wireless audio transmitting device;
performing similarity matching on subsequences extracted from the sample sequence using a time sliding window, with a preset local synchronization sequence of the wireless audio playback device, and determining a peak moment corresponding to a maximum one of a plurality of matching values acquired by the similarity matching, wherein each of the subsequences has the same length as the preset synchronization sequence, and the preset synchronization sequence corresponds to a fixed position of the synchronization segment;
counting, based on the first local clock signal, a time difference between peak moments respectively corresponding to a current wireless data packet and a previous wireless data packet, and adjusting a clock cycle of the first local clock signal based on a result of the counting so that the result of the counting of the time difference between two adjacent peak moments approaches a predetermined count value; and
playing, after a predetermined number of clock cycles of the first local clock signal from the peak moment corresponding to the current wireless data packet, the data segment or a preset part thereof according to a second local clock signal of the wireless audio playback device, wherein there is a fixed frequency multiple relationship between the first local clock signal and the second local clock signal.