Head-mounted playing device, audio synchronous playing method and audio playing system
By introducing controller and target wireless modules into the head-mounted playback device, and clock synchronization adjustment is performed using counter circuits and receiving circuits, the problem that the existing clock synchronization protocol cannot meet the clock synchronization requirements of the head-mounted playback device is solved, and a higher audio data synchronization playback effect is achieved.
Patent Information
- Application Number
- CN202510091955.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-21
- Publication Date
- 2025-04-29
AI Technical Summary
The existing clock synchronization protocol cannot meet the clock synchronization requirements in the head-mounted playback device, resulting in the playback of audio data between the left and right components being out of synchronization.
By introducing a controller, a target wireless module and a speaker in the first and second components of the head-mounted playback device, and using a receiving circuit, a trigger circuit and a counter circuit, a playback control synchronization adjustment is performed based on the clock synchronization information in the wireless frame to ensure synchronous playback of audio data.
The synchronous playback effect of the first component and the second component in the head-mounted playback device is improved, thereby improving the synchronization and accuracy of the overall audio playback.
Smart Images

Figure CN119906930A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wearable devices, and specifically, provides a head-mounted playback device, an audio synchronization playback method, and an audio playback system. Background Art
[0002] Some audio playback systems include a sound source device, a head-mounted playback device and at least one other audio playback device, such as a speaker device. The audio data played by the sound source device is played simultaneously through the head-mounted playback device and the other audio playback devices. For example, a mobile phone plays music simultaneously through headphones and a smart speaker.
[0003] There is a certain physical distance between the head-mounted playback device and other audio playback devices, and the head-mounted playback device and other audio playback devices are different devices, with different control chip types, hardware circuits, software programs, etc. Due to various reasons, there is a certain delay when the head-mounted playback device and other audio playback devices play audio data at their respective times, and the audio data cannot be played synchronously, affecting the playback effect of the audio data.
[0004] At present, in some audio playback systems, different audio playback devices (including head-mounted playback devices and other audio playback devices) use the same clock synchronization protocol for clock synchronization. The clock synchronization accuracy of the existing clock synchronization protocol is low. If the distance between different audio playback devices is far, the playback effect has low requirements for clock synchronization accuracy.
[0005] However, the head-mounted playback device consists of two parts, the left and right parts, which are relatively short in distance, and require high clock synchronization accuracy. The existing clock synchronization protocol cannot meet the clock synchronization requirements of the head-mounted playback device. If the left part, the right part, and other audio playback devices use the existing clock synchronization protocol for clock synchronization, the audio data playback between the left and right parts may be out of sync. Summary of the invention
[0006] In view of this, the present application aims to provide a head-mounted playback device, an audio synchronization playback method, and an audio playback system, so as to improve the head-mounted playback device in an audio playback system including other audio playback devices, so as to provide better audio data synchronization playback effect.
[0007] First, an embodiment of the present application provides a head-mounted playback device, which is used to be configured in an audio playback system, and the audio playback system also includes a sound source device and other audio playback devices; the head-mounted playback device includes a first component and a second component; the first component, the second component and the other audio playback device are used to receive and play the audio data to be played provided by the sound source device; the first component and the second component both include a controller, a target wireless module, and a speaker; the controller includes a counter circuit; the target wireless module includes a receiving circuit and a trigger circuit; for the first component and the second component, both are configured as follows: the receiving circuit is used to receive a wireless frame, and after receiving the wireless frame, trigger the trigger circuit; wherein the wireless frame includes clock synchronization information; after being triggered, the trigger circuit obtains the current count value of the counter circuit and outputs the count value to the controller; the controller is used to obtain the audio data to be played and the wireless frame, and perform playback control synchronization adjustment based on the count value and the clock synchronization information, so as to control the speaker to play the audio data to be played after the playback control synchronization adjustment.
[0008] In the embodiment of the present application, the first component and the second component include a controller and a target wireless module, the target wireless module includes a receiving circuit and a trigger circuit, and the controller includes a counter circuit. The receiving circuit, the trigger circuit and the counter circuit determine whether to perform playback control synchronization, thereby reducing the workload performed by the controller and reducing power consumption. At the same time, compared with the software program, the counter circuit is a hardware circuit, so that its counting has higher stability and the count value has higher accuracy. After receiving the wireless frame, the receiving circuit triggers the trigger circuit to obtain the count value of the counter circuit. The receiving circuit and the trigger circuit are both hardware circuits, and their response timeliness is higher and the reliability is better. Therefore, the trigger circuit can obtain a more accurate count value. Compared with the software program, a higher precision count value can be obtained based on the target wireless module and the counter circuit. When clock synchronization is performed based on the count value and the clock synchronization information in the wireless frame, the synchronization effect can be better, and the first component and the second component can improve the synchronous playback effect of the audio data to be played.
[0009] In one embodiment, at least one of the first component and the second component and the other audio playback device are configured to perform clock synchronization based on the same clock synchronization protocol.
[0010] In the embodiment of the present application, compared with the clock synchronization protocol, the precision of the count value output by the hardware circuit is higher. After the first component and the second component of the head-mounted playback device and other audio playback devices are based on the clock synchronization protocol, the first component and the second component perform clock synchronization based on the count value again, which is equivalent to performing clock synchronization in a wider precision range and then performing clock synchronization in a finer precision range. Therefore, clock synchronization based on the count value will not affect the synchronous playback between the first component and the second component and other audio playback devices, and clock synchronization based on the count value can improve the synchronous playback effect of the first component and the second component in the head-mounted playback device, thereby improving the overall playback effect.
[0011] In one embodiment, the controller is configured to: after performing playback control synchronization adjustment, control the audio data to be played to be played by the speaker after a preset delay; the preset delay represents the transmission time difference between the sound played by the component where the controller is located and the sound played by the other audio player being transmitted to the preset position, and the preset position is used to represent the user's ear.
[0012] Clock synchronization is to synchronize the playback time of the same audio data. There is a certain physical distance between the head-mounted playback device and other audio playback devices, and it takes a certain time for sound to propagate in space. Therefore, compared with other audio playback devices, when the head-mounted playback device is worn by the user, the sound of the first component and the second component of the head-mounted playback device will be heard by the user faster. In the embodiment of the present application, after the playback control synchronization adjustment is performed, the audio data to be played is controlled to be played by the speaker after a preset delay, so as to reduce the situation where the sound propagates in space due to the physical distance between the head-mounted playback device and other audio playback devices, resulting in a certain delay, causing the audio to be heard by the user at inconsistent times, thereby improving the synchronous playback effect of audio data.
[0013] In one embodiment, at least one of the first component or the second component is wirelessly connected to the other audio playback device via the target wireless module; the controllers of each of the first component and the second component are configured to: measure the target distance between the component where the controller is located and the other audio playback device based on the wireless communication connection between the component and the other audio playback device; calculate the transmission time difference according to the target distance; and configure the preset delay according to the transmission time difference.
[0014] In the embodiment of the present application, the first component and the second component can measure the distance to the speaker device through wireless communication, and adjust the preset delay according to the measured target distance. Based on this, even if the positional relationship between the head-mounted playback device and other audio playback positions changes, the first component and the second component of the head-mounted playback device can adjust the preset delay in time to meet the synchronization effect of audio data playback in different scenarios. Among them, for the head-mounted playback device, the distance between the first component and the second component is usually close, so the distance can be measured by one of the first component and the second component.
[0015] In one embodiment, the target wireless module is a WIFI (Wireless Fidelity) module, the wireless frame includes a WIFI beacon frame, the clock synchronization information is a TSF (Time Synchronization Function) value, and the receiving circuit is a WIFI beacon frame receiving subcircuit; the WIFI beacon frame receiving subcircuit is used to receive the WIFI beacon frame; the WIFI beacon frame receiving subcircuit triggers the trigger circuit after receiving the WIFI beacon frame.
[0016] In one embodiment, the controllers of both the first component and the second component include a phase-locked loop circuit; the first component and the second component are both configured as follows: the phase-locked loop circuit is connected to the counter circuit; the controller controls the playback of the audio data to be played based on the clock signal output by the phase-locked loop circuit; the receiving circuit receives the WIFI beacon frame based on the clock signal output by the phase-locked loop circuit; the counter circuit counts based on the clock signal output by the phase-locked loop circuit; the phase-locked loop circuit is configured as follows: comparing the count value with the TSF value in the WIFI beacon frame; when the count value and the TSF value represent clock asynchrony, adjusting the phase-locked loop circuit based on the difference between the count value and the TSF value so that the clock signal output by the phase-locked loop circuit matches the clock signal of the device that sends the wireless frame.
[0017] In the embodiment of the present application, the clock signal for controlling the playback of audio data is output by the phase-locked loop circuit. When the count value and the clock synchronization information represent that the clock is not synchronized, the phase-locked loop circuit can be adjusted based on the difference between the count value and the TSF value, so that the clock signal output by the phase-locked loop circuit matches the clock signal of the device that sends the signal frame, so as to achieve synchronization of the clock signal. Since the phase-locked loop circuit is a hardware circuit, it has a stronger anti-interference ability and the output clock signal has a higher accuracy and reliability. Therefore, using the clock signal output by the phase-locked loop circuit to control the playback of audio data and adjusting the clock signal output by the phase-locked loop circuit can help improve the accuracy of audio data playback and then improve the synchronization effect. In addition, the TSF value is also a count value. Compared with the comparison between clock signals, it is simpler to compare the TSF value with the count value, which helps to reduce power consumption and helps to clarify the actual difference size, thereby improving the accuracy of synchronization.
[0018] In one embodiment, for the target component, the controller is configured to control the speaker to play the audio data to be played based on the count value of the counter circuit; the controller is also configured to: compare the count value and the TSF value of the WIFI beacon frame; when the count value and the TSF value represent that the clock is not synchronized, adjust the total value of the counter circuit and the accumulated value of the counter circuit in each clock cycle based on the difference between the count value and the TSF value, so that the total value of the counter circuit matches the TSF value.
[0019] In the embodiment of the present application, the count value is counted based on the clock signal, which can be used to characterize the clock signal and control the playback of audio data. When performing synchronization adjustment, this method only needs to adjust the total value and accumulated value of the counter circuit without adjusting the clock signal, which helps to reduce the difficulty of synchronization adjustment and the power consumption of the controller.
[0020] In one embodiment, the target wireless module includes a Bluetooth module, and the first component and the second component are connected via Bluetooth communication; the receiving circuit includes a Bluetooth frame receiving subcircuit, and the wireless frame includes a Bluetooth frame; the target wireless module of the target component is configured to receive the Bluetooth frame sent by the opposite-end component through the Bluetooth frame receiving subcircuit; the clock synchronization information in the Bluetooth frame sent by the opposite-end component includes the opposite-end count value of the opposite-end component; the target component is one of the first component and the second component, and the opposite-end component is another component of the first component and the second component except the target component; the controller of the target component is configured to: receive the target count value output by the target wireless module of the target component; and perform playback control synchronization adjustment based on the difference between the target count value and the opposite-end count value.
[0021] In one embodiment, the head-mounted playback device also includes a phase-locked loop circuit, which is connected to the controller and the target wireless module; the controller controls the playback of the audio data to be played based on the clock signal output by the phase-locked loop circuit; the receiving circuit receives the wireless frame based on the clock signal output by the phase-locked loop circuit; the counter circuit counts based on the clock signal output by the phase-locked loop circuit; the controller of the target component is configured to: when the target count value and the opposite end count value represent clock asynchrony, adjust the phase-locked loop circuit based on the difference between the target count value and the opposite end count value, so as to synchronize the playback control of the target component with that of the opposite end component based on the clock signal output by the adjusted phase-locked loop circuit.
[0022] In the embodiment of the present application, the phase-locked loop circuit is a hardware circuit with stronger anti-interference ability, and the output clock signal has higher accuracy and reliability. Therefore, the clock signal output by the phase-locked loop circuit is used to control the audio data playback so that the playback control of the target component and the opposite end component are synchronized and adjusted, which helps to improve the accuracy of the audio data playback and then improve the synchronization effect.
[0023] In one embodiment, the controller of the target component is configured to adjust the playback time of the audio data to be played by the target component based on the difference between the target count value and the peer count value, so as to synchronize the playback control of the target component with that of the peer component.
[0024] In a second aspect, an embodiment of the present application provides an audio synchronous playback method, which is applied to a controller of a first component and / or a second component in a head-mounted playback device as described in any one of the first aspects; the head-mounted playback device is used to be configured in an audio playback system, and the audio playback system also includes a sound source device and other audio playback devices; the first component, the second component and the other audio playback devices are used to receive and play the audio data to be played provided by the sound source device; the audio synchronous playback method includes: obtaining audio data to be played, a wireless frame and a count value; wherein the wireless frame includes clock synchronization information; the wireless frame is received by the receiving circuit; the count value is triggered by the receiving circuit after receiving the wireless frame, and the trigger circuit obtains the current count value of the counter circuit after being triggered; based on the count value and the clock synchronization information, the playback control synchronization adjustment is performed to control the speaker to play the audio data to be played after the playback control synchronization adjustment.
[0025] Based on the same inventive concept, an embodiment of the present application further provides an audio playback system, the audio playback system comprising a head-mounted playback device, other audio playback devices and a sound source device; the head-mounted playback device comprises a first component and a second component; the first component and the second component both comprise a controller, a WIFI module and a speaker; the controller comprises a counter circuit; the WIFI module comprises a receiving circuit and a trigger circuit; the sound source device is connected to the first component, the second component and the other audio playback devices through one of the DLNA, Airplay protocols or WiFi direct connection protocols, the first component, the second component and the other audio playback devices receive the audio data to be played provided by the sound source device through WIFI and play them; for the first component and the second component, both Both are configured as follows: the receiving circuit receives a WIFI beacon frame, and after receiving the WIFI beacon frame, triggers the trigger circuit; wherein the WIFI beacon frame includes a TSF value; after being triggered, the trigger circuit obtains the current count value of the counter circuit, and outputs the count value to the controller; the controller is configured to control the speaker to play the audio data to be played based on the count value of the counter circuit; the controller is also used to obtain the WIFI beacon frame and the audio data to be played, compare the count value with the TSF value in the WIFI beacon frame; based on the difference between the count value and the TSF value, adjust the total value of the counter circuit and the accumulated value of the counter circuit in each clock cycle, so that the total value of the counter circuit matches the TSF value.
[0026] Based on the same inventive concept, an embodiment of the present application also provides an audio playback system, including: a sound source device, used to output audio data to be played and wireless frames; a head-mounted playback device as described in any one of the first aspects, connected to the sound source device, used to receive the audio data to be played and the wireless frames, and play the audio data to be played after performing playback control synchronization adjustment based on the clock synchronization information in the wireless frames.
[0027] In one embodiment, the audio playback system further includes: other audio playback devices connected to the sound source device; and clock synchronization is performed between the other audio playback devices and the head-mounted playback device based on the same clock synchronization protocol. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0029] Figure 1 A schematic diagram of a first component and a second component provided in an embodiment of the present application;
[0030] Figure 2 A flowchart of an audio synchronization playback method provided in an embodiment of the present application;
[0031] Figure 3 A schematic diagram of an audio playback system provided in an embodiment of the present application.
[0032] Icon: head-mounted playback device 10; controller 110; target wireless module 120; receiving circuit 121; trigger circuit 122; counter circuit 111; speaker 130; sound source device 20; other audio playback devices 30. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the embodiments of the present application more clear, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application and are not used to limit the present application.
[0034] First, an embodiment of the present application provides a head-mounted playback device 10, which includes a first component and a second component.
[0035] The head-mounted playback device 10 may be a true wireless headset or smart glasses. If the head-mounted playback device 10 is a true wireless headset, the first component and the second component may be a left headset and a right headset, respectively; if the head-mounted playback device 10 is smart glasses, the first component and the second component may be a left playback component and a right playback component on the smart glasses, respectively.
[0036] In the embodiment of the present application, the head-mounted playback device 10 can be configured in an audio playback system, which also includes a sound source device and other audio playback devices. The sound source device can be a mobile phone, a tablet computer, a laptop computer or other various smart terminals, and the other audio playback devices can be speaker devices or other devices capable of playing audio data. The first component, the second component and other audio playback devices can receive and play the audio data to be played provided by the sound source device.
[0037] In this embodiment, other audio playback devices may include one or more. In other embodiments, the audio playback system may also only include the head-mounted playback device 10 and the audio source device, which is not limited here.
[0038] See also Figure 1 , Figure 1 A schematic diagram of the structure of the first component and the second component provided in an embodiment of the present application. In the embodiment of the present application, the first component and the second component both include a controller 110, a target wireless module 120 and a speaker 130, and the first component and the second component can both receive the audio data to be played sent by the sound source device through the target wireless module 120, and the controller 110 controls the speaker 130 to play the audio data to be played.
[0039] The audio source device can simultaneously send the audio data to be played to the first component, the second component and other audio playback devices of the head mounted playback device 10. The audio data to be played can be music, voice and other data.
[0040] The audio data to be played may be stereo audio data, multi-channel audio data, or mono audio data. The audio data sent by the sound source device to the first component and the second component of the head-mounted playback device 10 and to other audio playback devices may be stereo audio data, multi-channel audio data, audio data of one channel in stereo, or audio data of one channel in multi-channel audio data.
[0041] In an embodiment of the present application, if the audio data to be played is music data, the user can listen to music played by one or more other audio playback devices (such as speaker devices) while wearing the head-mounted playback device 10 to listen to music, so that the music heard by the user as a whole has a greater sense of space and a wider range, thereby giving the user a better listening experience.
[0042] In the embodiments of the present application, the first component and the second component may also include other circuits or devices, such as memory, sensor, noise reduction circuit, etc., which will not be elaborated here, and the details may refer to the prior art.
[0043] Since the head-mounted playback device 10 and other audio playback devices are different devices, their hardware circuits, software programs, main control chips used, etc. may be different. Therefore, in an embodiment of the present application, other audio playback devices, the first component and the second component can be based on the clock information recorded when the controller 110 sends or receives a message to achieve clock synchronization with other devices, thereby achieving audio data playback synchronization between the first component, the second component and other audio playback devices, wherein the clock information sent can be a timestamp message.
[0044] In some embodiments of the present application, at least one of the first component and the second component and other audio playback devices are configured to perform clock synchronization based on the same clock synchronization protocol.
[0045] The clock synchronization protocol can be NTP (Network Time Protocol), PTP (Precision Time Protocol), etc. NTP is a network protocol used to synchronize computer clocks, which can achieve millisecond-level time synchronization between different devices. Through NTP, all audio playback devices can be synchronized to a unified time base, thereby ensuring the consistency of audio playback. PTP is a protocol used to achieve high-precision time synchronization between network devices. The audio devices are connected to the same local area network, and the audio source device or one of the audio playback devices is selected as the master clock device. The PTP client is configured in other audio foil devices so that it can receive the timestamp information of the master clock and synchronize. Among them, the audio playback device includes a head-mounted playback device 10 and other audio playback devices.
[0046] By using clock synchronization such as NTP and PTP, it is helpful to achieve synchronized playback between audio playback devices across devices, such as synchronized playback between a head-mounted playback device 10 and a speaker device.
[0047] When synchronization is performed based on the clock information recorded when the controller 110 sends or receives a message, there is a problem that the synchronization accuracy is limited and is affected by the performance of the controller 110. When the workload of the controller 110 is large, the clock synchronization may not be performed in time. The distance between different audio playback devices is usually far, for example, a distance of tens of centimeters. Therefore, the accuracy requirement for synchronized playback across devices is relatively low. By using clock synchronization protocols such as NTP and PTP, clock synchronization is performed based on the clock information recorded when the controller 110 sends or receives a message, and the synchronization accuracy is sufficient.
[0048] The head-mounted playback device 10 requires low power consumption, limited size, and limited hardware performance. When the head-mounted playback device 10 is worn, the first component and the second component are worn on the left and right ears of the user, and the sound played by the speaker 130 will be heard by the user more quickly, and the user will be more likely to know whether the audio data playback is synchronized. Therefore, in the head-mounted playback device 10, the requirements for clock synchronization accuracy are higher, for example, millisecond-level time synchronization accuracy or 0.1ms, 0.02ms-level time synchronization accuracy.
[0049] Therefore, compared with the synchronous playback between devices, when the first component and the second component in the head-mounted playback device 10 are synchronized, it is necessary to use lower performance hardware to achieve higher clock synchronization accuracy. However, the existing clock synchronization protocol cannot meet the requirements, and it is necessary to further improve the clock synchronization accuracy between the first component and the second component in the head-mounted playback device 10.
[0050] In an embodiment of the present application, the first component and the second component may both include a phase-locked loop circuit, which may be disposed in the controller. Compared with a software program, a phase-locked loop circuit is a hardware circuit that can output a more accurate and reliable clock signal. The controller 110 of the first component and the second component controls the audio data playback based on the clock signal output by the phase-locked loop circuit, which helps to improve the accuracy of clock synchronization and improve the accuracy of audio data playback.
[0051] In the embodiment of the present application, in addition to the phase-locked loop circuit, the first component and the second component may also include other hardware circuits that output clock signals. For example, the target wireless module includes a circuit that outputs a clock signal for controlling wireless frame reception, which is not limited here. The phase-locked loop circuit described later refers to a circuit disposed in the controller.
[0052] In an embodiment of the present application, the target wireless module 120 includes a receiving circuit 121 and a trigger circuit 122, and the controller 110 also includes a counter circuit 111. The target wireless module 120 is configured as follows: the receiving circuit 121 is used to receive a wireless frame, and after receiving the wireless frame, the trigger circuit 122 is triggered, and the trigger circuit 122 obtains the current count value of the counter circuit 111 after being triggered, and outputs the count value to the controller 110. Among them, the wireless frame includes clock synchronization information. The controller 110 can obtain the audio data to be played and the wireless frame, and perform clock synchronization based on the count value and the clock synchronization information, so as to control the speaker 130 to play the audio data to be played after the clock synchronization is adjusted.
[0053] In the embodiment of the present application, the phase-locked loop circuit is also connected to the target wireless module 120. The controller 110 controls the playing of the audio data to be played based on the clock signal output by the phase-locked loop circuit, and the counter circuit 111 counts based on the clock signal output by the phase-locked loop circuit.
[0054] One of the first component and the second component is the target component, and the other is the opposite device. In an embodiment of the present application, when the target component receives a wireless frame, the wireless frame is not limited to being sourced from the sound source device or the opposite component. When the first component and the second component are connected to the network, the wireless frame may also be sourced from the device providing the network. For example, the wireless frame may be sent by a router device.
[0055] In an embodiment of the present application, the receiving circuit 121 triggers the trigger circuit 122 after receiving the wireless frame. The triggering circuit 122 may be triggered after receiving the frame header of the wireless frame, or after receiving a specific sequence or specific symbol in the wireless frame, or after receiving the entire wireless frame, or after a preset number of clock cycles after receiving the wireless frame. There is no limitation here.
[0056] In the embodiment of the present application, on the one hand, the receiving circuit 121, the trigger circuit 122 and the counter circuit 111 determine whether clock synchronization is required, and the controller 110 does not need to record through a program, thereby avoiding excessive increase in the workload of the controller 110 and reducing the performance requirements of the controller 110 for synchronization of the first component and the second component. At the same time, the receiving circuit 121, the trigger circuit 122 and the counter circuit 111 are all hardware circuits, which have higher stability and accuracy compared to software programs, are not affected by the performance of the controller 110, and the obtained count value will not have errors due to the current work of the controller 110, that is, a higher precision count value can be obtained, which helps to improve the accuracy of synchronization.
[0057] Therefore, compared with the software program, a more accurate count value can be obtained based on the target wireless module 120 and the counter circuit. When the controller 110 performs clock synchronization based on the count value and the clock synchronization information in the wireless frame, the synchronization effect can be better, thereby improving the synchronous playback effect of the audio data by the first component and the second component.
[0058] In addition, compared with the clock synchronization protocol, since the precision of the count value output by the hardware circuit is higher, after the first component and the second component of the head-mounted playback device 10 and other audio playback devices are based on the clock synchronization protocol, the first component and the second component perform clock synchronization based on the count value again, which is equivalent to performing clock synchronization in a wider precision range and then performing clock synchronization in a finer precision range. For example, the synchronization precision of the original clock synchronization protocol is up to 1ms, and the first component and the second component perform clock synchronization based on the count value again, and the synchronization precision can reach 0.1ms, 0.02ms, etc. Therefore, clock synchronization based on the count value will not affect the synchronous playback between the first component and the second component and other audio playback devices, and clock synchronization based on the count value can improve the synchronous playback effect of the first component and the second component in the head-mounted playback device 10, thereby improving the overall playback effect.
[0059] In some embodiments of the present application, the controller is configured to: after performing the playback control synchronization adjustment, control the audio data to be played to be played by the speaker after a preset delay. The preset delay represents the transmission time difference between the sound played by the controller component being transmitted to the preset position and the sound played by other audio players being transmitted to the preset position, and the preset position is used to represent the user's ear.
[0060] Clock synchronization refers to the synchronous playback of the same audio data between multiple devices based on a preset time. In actual scenarios, the head-mounted playback device 10 and other playback devices are usually separated by a certain physical distance. The head-mounted playback device 10 is worn on the user's head, and sound has a certain propagation speed in the air. The sound played by the head-mounted playback device 10 will be heard by the user before the sound played by other playback devices. If the two play the same audio data at the same time, the user will have a feeling similar to an echo.
[0061] Therefore, when actually synchronizing audio playback, it is also necessary to consider the synchronization of the sound actually propagating to the user's ears and being heard by the user when the audio data being played is played by different audio playback devices. Therefore, in an embodiment of the present application, the audio data to be played can be controlled to be played by the speaker after a preset delay, thereby achieving synchronization of the audio data received by the user, and correcting or partially correcting the problem that the ear can hear the sound played by the first component and the second component earlier.
[0062] In one embodiment, at least one of the first component or the second component is wirelessly connected to the speaker device via a target wireless module 120; the controller 110 of each of the first component and the second component is configured to: measure the target distance between the speaker device based on the wireless communication connection between the component where the controller is located and the speaker device; calculate the transmission time difference according to the target distance; and configure a preset delay according to the transmission time difference.
[0063] In the embodiment of the present application, the measurement of the target distance can refer to the existing wireless communication ranging technology, which will not be elaborated here. The transmission time difference between the sound played by the component where the trigger circuit is located and the sound played by other audio players and transmitted to the preset position can actually be equivalent to the transmission time of the sound between the two. Therefore, the preset delay can be the ratio of the target distance to the speed of sound propagation in the air.
[0064] Among them, since the distance between the first component and the second component of the head-mounted playback device is usually relatively close, relative to other audio playback devices, the first component and the second component can be considered to be in the same position. Therefore, only one of the first component or the second component can perform wireless distance measurement, and the measured distance or preset delay can be transmitted through mutual communication between the two.
[0065] By measuring the distance and configuring the preset delay according to the target distance, the head-mounted playback device 10 and other audio playback devices can adjust the clock synchronization time under different positional relationships, so that in different scenarios, the user can listen to the sounds played by different audio playback devices in a relatively synchronous manner, thereby improving the audio synchronization playback effect.
[0066] As mentioned above, the wireless frame may be sent by different devices, and the wireless frame includes clock synchronization information, and the clock synchronization information represents the clock of the device that sends the wireless frame. Therefore, when the wireless frame is sent by the sound source device, the first component and the second component of the head-mounted device are equivalent to being synchronized based on the clock of the sound source device. Similarly, when the wireless frame is sent by the router device, the first component and the second component of the head-mounted device are equivalent to being synchronized based on the clock of the router device. When the wireless frame received by the target component in the first component and the second component is sent by the opposite component, the target component is equivalent to being synchronized based on the clock of the opposite component. Among them, the target component is one of the first component and the second component, and the opposite component is the other component of the first component and the second component except the target component.
[0067] If the wireless frame is sent by the sound source device or the router device, in one embodiment of the present application, the target wireless module 120 may be a WIFI module, the wireless frame may include a WIFI beacon frame, and the receiving circuit 121 may be a WIFI beacon frame receiving subcircuit. The first component and the second component are connected to the sound source device or the router device through the WIFI module, and receive the WIFI beacon frame sent by the sound source device or the router device through the WIFI beacon frame receiving subcircuit, and the WIFI beacon frame receiving subcircuit triggers the trigger circuit 122 in the component after receiving the WIFI beacon frame. Among them, other circuits of the WIFI module can refer to the prior art, and the target wireless module used in the present application can be configured with a receiving circuit and a trigger circuit based on the existing WIFI module.
[0068] In addition, if the wireless frame is sent by the audio source device, the audio device to be played can be configured in the wireless frame, that is, the wireless frame includes the clock synchronization information and the audio data to be played.
[0069] Accordingly, the receiving circuit 121 receives the WIFI beacon frame based on the clock signal output by the phase-locked loop circuit. If the wireless frame received by the receiving circuit 121 includes the WIFI beacon frame, the receiving circuit 121 may trigger the trigger circuit 122 after detecting the WIFI beacon frame in the wireless frame.
[0070] In this embodiment, the first component and the second component are connected to the audio source device through DLNA (Digital Living Network Alliance) or Airplay (a wireless transmission protocol for audio, video or photo streaming) protocol or WiFi direct connection protocol, which is not limited here.
[0071] In an embodiment of the present application, the audio data to be played can be connected to the audio source device through a DLNA or Airplay protocol or a WiFi direct connection protocol, and the audio data to be played can be received through any of the above protocols, that is, in some embodiments, the wireless frames and the audio data to be played can be received in different ways, and in other embodiments, the audio data to be played is carried by wireless frames, and the transmission of the audio data to be played is achieved through the transmission of wireless frames.
[0072] In this embodiment, if the wireless frame includes a WIFI beacon frame, the clock synchronization information may be a TSF (Time Synchronization Function) value in the WIFI beacon frame.
[0073] In this embodiment, the controllers 110 of the first component and the second component are both configured to: compare the count value and the TSF value in the WIFI beacon frame; when the count value and the TSF value represent that the clock is not synchronized, adjust the phase-locked loop circuit based on the difference between the count value and the TSF value so that the clock signal output by the phase-locked loop circuit matches the clock signal of the device that sends the wireless frame.
[0074] The counter circuit 111 counts according to the clock signal output by the phase-locked loop circuit, and the TSF value is also based on the value counted by the counter in the audio source device or the router device. Therefore, the two can be directly used for comparison to determine whether they match, and then determine whether the clocks of the two are synchronized. Compared with comparing the clock signal, comparing the count value and the TSF value helps to improve the comparison efficiency and reduce the power consumption required to determine whether the clock is synchronized. Among them, the aforementioned match can be that the values of the two are the same, or the difference between the two is a preset value, which is not limited here.
[0075] By comparing the count value and the TSF value, it can be determined whether the clock signal output by the phase-locked switching circuit in the first component or the second component is synchronized. In the case of asynchrony, the phase-locked loop circuit can be adjusted so that the clock signal output by it can speed up or slow down the counting of the counter circuit 111 until the counter circuit 111 matches the TSF value in the WIFI beacon frame, so that the clock signal output by the phase-locked loop circuit is synchronized with the TSF in the WIFI beacon frame. The method of adjusting the phase-locked loop circuit to change its output clock signal can refer to the prior art and will not be expanded here.
[0076] As mentioned above, the counter circuit 111 operates based on the clock signal of the first component or the second component itself, and the count value of the counter circuit 111 can be used to characterize the clock signal. Therefore, in other embodiments, the controller 110 of the first component and the second component may not control the audio data playback according to the clock signal output by the phase-locked loop, but is configured to control the speaker 130 to play the audio data to be played based on the count value of the counter circuit 111.
[0077] In this embodiment, the controller 110 can also be configured to: compare the count value and the TSF value of the WIFI beacon frame; when the count value and the TSF value represent the clock are not synchronized, adjust the total value of the counter circuit 111 and the accumulated value of the counter circuit in each clock cycle based on the difference between the count value and the TSF value clock synchronization information, so that the total value of the counter circuit matches the TSF value, and then the clock signal represented by the count value output by the counter circuit 111 matches the clock signal represented by the TSF value.
[0078] In this embodiment, matching means being the same or having a difference of a preset value. When the count value and the TSF value represent that the clock is not synchronized, the count value and the TSF value do not match. In this embodiment, the total value of the counter circuit 111 is adjusted based on the difference between the count value and the TSF value clock synchronization information, which can be to calculate the difference between the current count value obtained by the trigger circuit 122 and the TSF value, and then add the value corresponding to the difference to the total value of the counter circuit 111.
[0079] Compared with the above-mentioned embodiment, this method does not need to adjust the phase-locked loop of the output clock signal, which further reduces the difficulty of implementation and reduces power consumption.
[0080] In the embodiment of the present application, the wireless frame may also be sent between the first component and the second component, that is, the first component sends the wireless frame to the second component, or the second component sends the wireless frame to the first component. This method requires a communication connection between the first component and the second component.
[0081] In one embodiment, the target wireless module 120 may further include a Bluetooth module, and the first component and the second component are connected via Bluetooth communication; the receiving circuit 121 includes a Bluetooth frame receiving subcircuit, and the wireless frame includes a Bluetooth frame.
[0082] At the same time, the target wireless module 120 of the target component is configured to receive the Bluetooth frame sent by the opposite-end component through the Bluetooth frame receiving subcircuit; the clock synchronization information in the Bluetooth frame sent by the opposite-end component includes the opposite-end count value of the opposite-end component. And the controller 110 of the target component is configured to: receive the target count value output by the target wireless module 120 of the target component; compare the target count value with the opposite-end count value; and perform playback control synchronization adjustment based on the difference between the target count value and the opposite-end count value.
[0083] In this embodiment, one of the first component and the second component serves as a target component, and the other serves as a peer component. The peer component sends its own count value to the target component, so that the target component is synchronized to be consistent with the peer component.
[0084] As in the aforementioned embodiment, in this embodiment, synchronization can be achieved by adjusting the clock signal output by the phase-locked loop, that is, the controller 110 of the target component can be configured to: adjust the phase-locked loop circuit based on the difference between the target count value and the opposite end count value to synchronize the playback control of the target component and the opposite end component.
[0085] In another embodiment, the controller of the target component may also be configured to adjust the playback time of the audio data to be played by the target component based on the difference between the target count value and the peer count value, so as to synchronize the playback control of the target component with that of the peer component.
[0086] The audio data to be played is first stored in a buffer and then outputted from the buffer to a speaker for playing. In this embodiment, the amount of data stored in the buffer can be adjusted to adjust the playing time of the audio data to be played.
[0087] The above-mentioned synchronization method based on count value and clock synchronization information is only an example provided in this application. Different methods can be selected to achieve synchronization in different scenarios, and there is no limitation here.
[0088] For ease of understanding, an example of an audio playback system is provided here to illustrate the head-mounted playback device 10 provided by the present application, but the head-mounted playback device 10 should not be a limitation of the present application. The head-mounted playback device 10 is configured in the audio playback system, and the audio playback system also includes a sound source device and at least one other audio playback device, that is, there can be multiple other audio playback devices.
[0089] In the audio playback system, the head-mounted playback device 10 includes a first component and a second component.
[0090] The first component and the second component both include a controller, a WIFI module, and a speaker; the controller includes a counter circuit. Each other audio playback device may also include a controller, a WIFI module, and a speaker, and the controller of the other audio playback device may also include a counter circuit, and the functions of the controller and the WIFI module in the other audio playback device may include the functions implemented by the controller and the WIFI module in the first component and the second component.
[0091] The audio source device is connected to the first component, the second component, and other audio playback devices via one of the DLNA, Airplay protocols, or WiFi direct protocols. The first component, the second component, and other audio playback devices receive and play the audio data to be played provided by the audio source device via WIFI.
[0092] The target wireless module 120 further includes a receiving circuit 121 and a trigger circuit 122. As for the first component and the second component, both are configured as follows:
[0093] The receiving circuit 121 receives the WIFI beacon frame, and after receiving the WIFI beacon frame, triggers the trigger circuit 122; wherein the WIFI beacon frame includes a TSF value.
[0094] In one embodiment, the controller is configured to control the speaker to play the audio data to be played based on the count value of the counter circuit. The controller is also used to obtain a WIFI beacon frame and the audio data to be played, compare the count value and the TSF value in the WIFI beacon frame; and adjust the total value of the counter circuit and the accumulated value of the counter circuit in each clock cycle based on the difference between the count value and the TSF value so that the total value of the counter circuit matches the TSF value.
[0095] In another embodiment, the controller controls the audio data playback based on the clock signal output by the phase-locked loop. In this embodiment, the controller 110 is used to obtain the WIFI beacon frame and the audio data to be played, compare the count value and the TSF value in the WIFI beacon frame; adjust the phase-locked loop circuit based on the difference between the count value and the TSF value so that the clock signal output by the phase-locked loop circuit matches the clock signal of the device that sends the wireless frame. In this embodiment, the controller can also be used to control the speaker to play the audio data to be played based on the clock signal output by the phase-locked loop circuit, and control the audio data to be played to be played by the speaker after a preset delay; the preset delay represents the transmission time difference between the sound played by the component where the trigger circuit is located and the sound played by other audio players and transmitted to the preset position, and the preset position is used to represent the user's ear.
[0096] In some embodiments, in addition to the WIFI module, the first component and the second component may also include a Bluetooth module, and the first component and the second component are each connected to other audio playback devices via WIFI; the first component and the second component are connected via the Bluetooth module.
[0097] Based on the same inventive concept, the embodiment of the present application also provides an audio synchronous playback method, which can be applied to the controller 110 of the first component and / or the second component in the head-mounted playback device 10 provided in any of the above embodiments. The head-mounted playback device is configured in an audio playback system, and the audio playback system also includes a sound source device and other audio playback devices; the first component, the second component and the other audio playback devices are used to receive and play the audio data to be played provided by the sound source device.
[0098] See also Figure 2 , Figure 2 This is a flowchart of an audio synchronization playback method provided in an embodiment of the present application. The audio synchronization playback method includes:
[0099] S310, obtaining audio data to be played, wireless frames and count values.
[0100] The wireless frame includes clock synchronization information; the wireless frame is received by the receiving circuit; the count value is triggered by the receiving circuit after receiving the wireless frame, and the trigger circuit is triggered to obtain the current count value of the counter circuit;
[0101] S320, performing playback control synchronization adjustment based on the count value and the clock synchronization information, so as to control the speaker to play the audio data to be played after the playback control synchronization adjustment.
[0102] In one embodiment, the audio synchronous playback method further includes: performing clock synchronization with other audio playback devices based on the same clock synchronization protocol.
[0103] In one embodiment, after performing playback control synchronization adjustment based on the count value and clock synchronization information, the method further includes: controlling the audio data to be played to be played by the speaker after a preset delay; the preset delay represents the transmission time difference between the sound played by the component where the controller is located and the sound played by other audio players being transmitted to the preset position, and the preset position is used to represent the user's ear.
[0104] In one embodiment, at least one of the first component or the second component is wirelessly connected to other audio playback devices via a target wireless module. Before obtaining the audio data to be played, the wireless frame and the count value, the method further includes: measuring the target distance between the other audio playback devices based on the wireless communication connection with the other audio playback devices; calculating the transmission time difference according to the target distance; and configuring a preset delay according to the transmission time difference.
[0105] In one embodiment, the target wireless module is a WIFI module, the wireless frame includes a WIFI beacon frame, the clock synchronization information is a TSF value, and the receiving circuit is a WIFI beacon frame receiving subcircuit; the WIFI beacon frame receiving subcircuit is used to receive the WIFI beacon frame; the WIFI beacon frame receiving subcircuit triggers the trigger circuit after receiving the WIFI beacon frame. Acquiring the wireless frame includes: acquiring the WIFI beacon frame. Performing playback control synchronization adjustment based on the count value and the clock synchronization information includes: performing playback control synchronization adjustment based on the count value and the TSF value.
[0106] In one embodiment, the controllers of the first component and the second component both include a phase-locked loop circuit; the first component and the second component are both configured as follows: the phase-locked loop circuit is connected to the counter circuit, and the controller controls the playback of the audio data to be played based on the clock signal output by the phase-locked loop circuit; the receiving circuit receives the WIFI beacon frame based on the clock signal output by the phase-locked loop circuit; the counter circuit counts based on the clock signal output by the phase-locked loop circuit. Playback control synchronization adjustment based on the count value and clock synchronization information includes: comparing the count value and the TSF value in the WIFI beacon frame; when the count value and the TSF value represent that the clock is not synchronized, adjusting the phase-locked loop circuit based on the difference between the count value and the TSF value, so that the clock signal output by the phase-locked loop circuit matches the clock signal of the device that sends the wireless frame.
[0107] In one embodiment, the playback control synchronization adjustment is performed based on the count value and the clock synchronization information, including: comparing the count value and the TSF value of the WIFI beacon frame; when the count value and the TSF value represent that the clock is not synchronized, adjusting the total value of the counter circuit and the accumulated value of the counter circuit in each clock cycle based on the difference between the count value and the TSF value, so that the total value of the counter circuit matches the TSF value. And the method also includes: controlling the speaker to play the audio data to be played based on the count value of the counter circuit.
[0108] In one embodiment, the target wireless module includes a Bluetooth module, the first component and the second component are connected via Bluetooth communication; the receiving circuit includes a Bluetooth frame receiving subcircuit, and the wireless frame includes a Bluetooth frame.
[0109] The target wireless module of the target component is configured to receive the Bluetooth frame sent by the opposite-end component through the Bluetooth frame receiving subcircuit; the clock synchronization information in the Bluetooth frame sent by the opposite-end component includes the opposite-end count value of the opposite-end component; the target component is one of the first component and the second component, and the opposite-end component is another component of the first component and the second component except the target component. The method also includes: receiving the target count value; comparing the target count value and the opposite-end count value; and performing playback control synchronization adjustment based on the difference between the target count value and the opposite-end count value.
[0110] In one embodiment, playback control synchronization adjustment is performed based on count values and clock synchronization information, including: when the target count value and the opposite end count value represent clock asynchronism, adjusting the phase-locked loop circuit based on the difference between the target count value and the opposite end count value, so as to synchronize the playback control of the target component with the opposite end component based on the clock signal output by the adjusted phase-locked loop circuit.
[0111] In one embodiment, the playback control synchronization adjustment is performed based on the count value and the clock synchronization information, including: based on the difference between the target count value and the opposite end count value, adjusting the playback time of the audio data to be played by the target component to synchronize the playback control of the target component with the opposite end component.
[0112] The contents implemented by the audio synchronous playback method can refer to the functions implemented by the aforementioned head-mounted playback device, which will not be repeated here.
[0113] Based on the same inventive concept, the present application also provides an audio playback system. Figure 3 , Figure 3 Schematic diagram of an audio playback system provided in an embodiment of the present application. The audio playback system includes: an audio source device 20 and a head-mounted playback device, wherein the audio source device 20 is communicatively connected with the head-mounted playback device.
[0114] The audio source device 20 is used to provide audio data to be played, wherein the audio source device 20 can be a mobile phone, a tablet computer, a laptop computer or other various intelligent terminals.
[0115] The head-mounted playback device may be the head-mounted playback device provided by any of the aforementioned embodiments, and the head-mounted playback device is used to receive the audio data to be played and the wireless frame, and to play the audio data to be played after adjusting the playback control synchronization based on the clock synchronization information in the wireless frame. For details, please refer to the functions implemented by the aforementioned head-mounted playback device, which will not be expanded here.
[0116] In some embodiments, the audio playback system may further include: other audio playback devices, which are connected to the audio source device 20. The other audio playback devices and the head-mounted playback device perform clock synchronization based on the same clock synchronization protocol.
[0117] In the embodiments provided in the present application, it should be understood that the disclosed method can also be implemented in other ways. The functional modules in the various embodiments of the present application can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part.
[0118] The above embodiments can be freely combined without conflict, and the embodiments obtained by the combination are included in the protection scope of this application.
[0119] The above detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0120] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0121] In the description of this application, it is also necessary to explain that, unless otherwise clearly specified and limited, the term "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0122] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A head-mounted playback device, characterized in that: The head-mounted playback device is configured in an audio playback system, and the audio playback system also includes a sound source device and other audio playback devices; the head-mounted playback device includes a first component and a second component; the first component, the second component and the other audio playback devices are used to receive and play the audio data to be played provided by the sound source device; The first component and the second component both include a controller, a target wireless module, and a speaker; the controller includes a counter circuit; the target wireless module includes a receiving circuit and a trigger circuit; For the first component and the second component, both are configured as follows: The receiving circuit is used to receive a wireless frame and trigger the trigger circuit after receiving the wireless frame; wherein the wireless frame includes clock synchronization information; After being triggered, the trigger circuit obtains the current count value of the counter circuit and outputs the count value to the controller; The controller is used to obtain the audio data to be played and the wireless frame, and perform playback control synchronization adjustment based on the count value and the clock synchronization information, so as to control the speaker to play the audio data to be played after the playback control synchronization adjustment.
2. The head-mounted playback device according to claim 1, characterized in that: At least one of the first component and the second component and the other audio playback device are configured to perform clock synchronization based on the same clock synchronization protocol.
3. The head-mounted playback device according to claim 1, characterized in that: The controller is configured to: After the playback control synchronization adjustment is performed, the audio data to be played is controlled to be played by the speaker after a preset delay; the preset delay represents the transmission time difference between the sound played by the component where the controller is located and the sound played by the other audio players being transmitted to the preset position, and the preset position is used to represent the user's ear.
4. The head-mounted playback device according to claim 3, characterized in that: At least one of the first component or the second component is wirelessly connected to the other audio playback device via the target wireless module; The controllers of each of the first component and the second component are configured to: measure the target distance between the component where the controller is located and the other audio playback device based on the wireless communication connection between the component and the other audio playback device; calculate the transmission time difference according to the target distance; and configure the preset delay according to the transmission time difference.
5. The head-mounted playback device according to claim 1, characterized in that: The target wireless module is a WIFI module, the wireless frame includes a WIFI beacon frame, the clock synchronization information is a TSF value, and the receiving circuit is a WIFI beacon frame receiving subcircuit; the WIFI beacon frame receiving subcircuit is used to receive the WIFI beacon frame; the WIFI beacon frame receiving subcircuit triggers the trigger circuit after receiving the WIFI beacon frame.
6. The head-mounted playback device according to claim 5, characterized in that: The controllers of the first component and the second component both include a phase-locked loop circuit; the first component and the second component are both configured as follows: the phase-locked loop circuit is connected to the counter circuit; the controller controls the playing of the audio data to be played based on the clock signal output by the phase-locked loop circuit; the counter circuit counts based on the clock signal output by the phase-locked loop circuit; The phase-locked loop circuit is configured as: Comparing the count value with the TSF value in the WIFI beacon frame; The phase-locked loop circuit is adjusted based on the difference between the count value and the TSF value so that a clock signal output by the phase-locked loop circuit matches a clock signal of a device that sends out the wireless frame.
7. The head-mounted playback device according to claim 5, characterized in that: For any one of the first component and the second component: the controller is configured to control the speaker to play the audio data to be played based on the count value of the counter circuit; The controller is also configured to: compare the count value and the TSF value of the WIFI beacon frame; and adjust the total value of the counter circuit and the accumulated value of the counter circuit in each clock cycle based on the difference between the count value and the TSF value so that the total value of the counter circuit matches the TSF value.
8. The head-mounted playback device according to claim 1, characterized in that: The target wireless module includes a Bluetooth module, the first component and the second component are connected via Bluetooth communication; the receiving circuit includes a Bluetooth frame receiving subcircuit, and the wireless frame includes a Bluetooth frame; The target wireless module of the target component is configured to receive a Bluetooth frame sent by the opposite-end component through the Bluetooth frame receiving subcircuit; the clock synchronization information in the Bluetooth frame sent by the opposite-end component includes the opposite-end count value of the opposite-end component; the target component is one of the first component and the second component, and the opposite-end component is another component of the first component and the second component except the target component; The controller of the target component is configured to: receive a target count value output by a target wireless module of the target component; compare the target count value with the opposite end count value; and perform a playback control synchronization adjustment based on a difference between the target count value and the opposite end count value.
9. The head-mounted playback device according to claim 8, characterized in that: The head-mounted playback device further includes a phase-locked loop circuit, which is connected to the controller and the target wireless module; the controller controls the playback of the audio data to be played based on a clock signal output by the phase-locked loop circuit; The counter circuit counts based on the clock signal output by the phase-locked loop circuit; The controller of the target component is configured to adjust the phase-locked loop circuit based on the difference between the target count value and the peer count value, so as to synchronize the playback control of the target component with that of the peer component based on the clock signal output by the adjusted phase-locked loop circuit.
10. The head-mounted playback device according to claim 8, characterized in that: The controller of the target component is configured to adjust the playing time of the to-be-played audio data by the target component based on the difference between the target count value and the opposite end count value, so as to synchronize the playing control of the target component with that of the opposite end component.
11. A method for synchronous audio playback, characterized in that: A controller for the first component and / or the second component of the head-mounted playback device according to any one of claims 1 to 10; the head-mounted playback device is configured in an audio playback system, and the audio playback system also includes a sound source device and other audio playback devices; the first component, the second component and the other audio playback devices are used to receive and play the audio data to be played provided by the sound source device; The audio synchronous playback method comprises: Acquire the audio data to be played, the wireless frame and the count value; wherein the wireless frame includes clock synchronization information; the wireless frame is received by the receiving circuit; the count value is triggered by the receiving circuit after receiving the wireless frame, and the trigger circuit is triggered to obtain the current count value of the counter circuit; The playback control synchronization adjustment is performed based on the count value and the clock synchronization information, so as to control the speaker to play the audio data to be played after the playback control synchronization adjustment.
12. An audio playback system, characterized in that: The audio playback system includes a head-mounted playback device, other audio playback devices and a sound source device; The head-mounted playback device comprises a first component and a second component; The first component and the second component both include a controller, a WIFI module, and a speaker; the controller includes a counter circuit; the WIFI module includes a receiving circuit and a trigger circuit; The audio source device is connected to the first component, the second component and the other audio playback devices through a communication connection among DLNA, Airplay protocol or WiFi direct connection protocol, and the first component, the second component and the other audio playback devices receive the audio data to be played provided by the audio source device through WIFI and play the audio data; For the first component and the second component, both are configured as follows: The receiving circuit receives a WIFI beacon frame, and after receiving the WIFI beacon frame, triggers the trigger circuit; wherein the WIFI beacon frame includes a TSF value; After being triggered, the trigger circuit obtains the current count value of the counter circuit and outputs the count value to the controller; The controller is configured to control the speaker to play the audio data to be played based on the count value of the counter circuit; the controller is also used to obtain the WIFI beacon frame and the audio data to be played, compare the count value and the TSF value in the WIFI beacon frame; based on the difference between the count value and the TSF value, adjust the total value of the counter circuit and the accumulated value of the counter circuit in each clock cycle so that the total value of the counter circuit matches the TSF value.
13. An audio playback system, characterized in that: include: The audio source device is used to output the audio data and wireless frames to be played; The head-mounted playback device as described in any one of claims 1 to 10 is connected to the sound source device, and is used to receive the audio data to be played and the wireless frame, and play the audio data to be played after performing playback control synchronization adjustment based on the clock synchronization information in the wireless frame.
14. The audio playback system according to claim 13, characterized in that: The audio playback system also includes: other audio playback devices connected to the sound source device; the other audio playback devices and the head-mounted playback device perform clock synchronization based on the same clock synchronization protocol.
Citation Information
Cited By
Head-mounted playback device, audio synchronized playback method andaudio playback system
WO2026157254A1