Audio playing method, audio source device, head-mounted wireless playing device and system

By connecting two playback devices of a head-mounted wireless playback device to the same WiFi network during Bluetooth communication, determining the synchronization communication period, and sending audio data based on the WiFi connection, the audio stuttering problem caused by switching between Bluetooth and WiFi connections is solved, realizing synchronous reception of audio data and continuous playback, and improving audio playback quality and user experience.

CN122513877APending Publication Date: 2026-08-04HENGXUAN TECHNOLOGY (CHENGDU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610767303.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-05-29
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

Bluetooth and WiFi connections can easily affect the integrity of data reception during rapid link switching, resulting in audio stuttering, interruptions, or playback asynchrony, thus affecting the audio playback quality.

Method used

During Bluetooth communication, WiFi connection notifications are sent to the two playback devices of the head-mounted wireless playback device to connect them to the same WiFi network, a synchronization communication period is determined, and audio data is sent based on the WiFi connection to achieve time alignment and data synchronization between the devices.

Benefits of technology

It effectively avoids inter-channel interference, ensures the integrity and success rate of audio data reception, and improves audio playback quality and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122513877A_ABST
    Figure CN122513877A_ABST
Patent Text Reader

Abstract

The present disclosure relates to the technical field of wireless communication, and particularly relates to an audio playing method, an audio source device, a head-mounted wireless playing device and a system. The audio playing method is applied to the audio source device, and includes the following steps: in a process of communicating with a head-mounted wireless playing device based on a Bluetooth link, sending a WiFi connection notification to a first playing device and a second playing device of the head-mounted wireless playing device respectively, so as to connect the first playing device and the second playing device to the same WiFi network; based on the WiFi connection, communicating and interacting with the first playing device and the second playing device respectively, and determining a synchronization communication period; based on the synchronization communication period, sending audio data through the WiFi connection, so as to make the first playing device and the second playing device receive and play the audio data synchronously. The audio data receiving integrity and success rate can be effectively improved, the audio content playing continuity can be guaranteed, the audio playing quality can be improved, and the user hearing experience can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of wireless communication technology, specifically to an audio playback method, an audio source device, a head-mounted wireless playback device, an audio playback system, and a computer-readable storage medium. Background Technology

[0002] With the development of technology, Bluetooth-based wireless head-mounted playback devices have been widely used. When high-definition audio playback is required, the high bandwidth of WiFi communication can be used to improve audio playback quality.

[0003] Since Bluetooth and WiFi connections transmit data through different channels, related technologies often employ rapid link switching between the two to enable audio transmission via WiFi in order to improve user experience.

[0004] However, using this method for link switching can easily affect the integrity of data reception being transmitted via Bluetooth, leading to audio stuttering, interruptions, or playback asynchrony, thus affecting the actual audio playback effect. Summary of the Invention

[0005] To overcome the problems existing in related technologies, an exemplary embodiment of this disclosure provides an audio playback method applied to an audio source device. The method includes: during communication with a head-mounted wireless playback device via a Bluetooth link, sending WiFi connection notifications to a first playback device and a second playback device of the head-mounted wireless playback device, respectively, to connect the first playback device and the second playback device to the same WiFi network; based on the WiFi connection, communicating and interacting with the first playback device and the second playback device respectively to determine a synchronization communication period, wherein the synchronization communication period is a timing period for the first playback device and the second playback device to synchronously acquire audio data based on the WiFi connection; and based on the synchronization communication period, sending audio data through the WiFi connection so that the first playback device and the second playback device synchronously receive and play the audio data.

[0006] In some embodiments, communication interaction is performed with a first playback device and a second playback device based on a WiFi connection to determine a synchronization communication period, including: obtaining first timing synchronization information of the first playback device and second timing synchronization information of the second playback device based on the WiFi connection; aligning the time windows of the first playback device and the second playback device by broadcasting a target timing synchronization time through a beacon based on the first timing synchronization information and the second timing synchronization information to obtain an alignment result; and determining the synchronization communication period based on the alignment result.

[0007] In some embodiments, based on first timing synchronization information and second timing synchronization information, a target timing synchronization time is broadcast via beacon to align the time windows of the first playback device and the second playback device to obtain an alignment result. This includes: feeding back a global synchronization time reference to the first playback device based on the first timing synchronization information, so that the first playback device determines a first time window communication period for WiFi connection; feeding back a global synchronization time reference to the second playback device based on the second timing synchronization information, so that the second playback device determines a second time window communication period for WiFi connection; broadcasting the target timing synchronization time via beacon; aligning the first target time window fed back by the first playback device with the second target time window fed back by the second playback device to obtain an alignment result, wherein the first target time window is the time window in which the first playback device receives the target timing synchronization time according to the first time window communication period, and the second target time window is the time window in which the second playback device receives the target timing synchronization time according to the second time window communication period.

[0008] In some embodiments, multiple first time windows and multiple third time windows are alternately distributed in the first time window communication cycle, and the third time window is the time window for the first playback device to communicate with the audio source device via Bluetooth; multiple second time windows and multiple fourth time windows are alternately distributed in the second time window communication cycle, and the fourth time window is the time window for the second playback device to communicate with the audio source device via Bluetooth, and the third time window and the fourth time window are Bluetooth time windows that are aligned with each other.

[0009] In some embodiments, audio data is sent via WiFi connection based on a synchronization communication period so that the first playback device and the second playback device can synchronously receive and play the audio data. This includes: obtaining sleep information sent by the first playback device and / or the second playback device; determining an effective time period for WiFi communication in the synchronization communication period based on the sleep information; and sending audio data via WiFi connection within the effective time period so that the first playback device and the second playback device can synchronously receive and play the audio data.

[0010] In some embodiments, the method further includes: communicating with the first playback device and the second playback device via a Bluetooth link during other periods of the synchronization communication cycle.

[0011] In some embodiments, during communication with the head-mounted wireless playback device via a Bluetooth link, sending WiFi connection notifications to the first playback device and the second playback device of the head-mounted wireless playback device to establish WiFi connections with the first playback device and the second playback device respectively includes: during communication with the head-mounted wireless playback device via a Bluetooth link, if it is detected that the audio format of the audio data to be transmitted is high-definition audio, then sending WiFi connection notifications to the first playback device and the second playback device respectively to establish WiFi connections with the first playback device and the second playback device respectively.

[0012] Secondly, this disclosure also provides an audio playback method, applied to a first playback device in a head-mounted wireless playback device, the head-mounted wireless playback device further including a second playback device. The method includes: during communication with an audio source device via a Bluetooth link, in response to receiving a WiFi connection notification sent by the audio source device, establishing a WiFi connection with the audio source device, wherein the audio source device is further configured to send the WiFi connection notification to the second playback device to connect the first playback device and the second playback device to the same WiFi network; based on the WiFi connection, interacting with the audio source device to determine a synchronization communication period, wherein the synchronization communication period is the timing period for the first playback device and the second playback device to synchronously acquire audio data based on the WiFi connection; based on the synchronization communication period, receiving and playing audio data sent by the audio source device through the WiFi connection to achieve synchronous reception and playback of audio data with the second playback device.

[0013] In some embodiments, based on a WiFi connection, interacting with an audio source device to determine a synchronization communication period includes: sending first timing synchronization information to the audio source device based on the WiFi connection; determining a first time window communication period for the WiFi connection in response to receiving a global synchronization time reference from the audio source device; determining a first target time window based on the target timing synchronization time broadcast by the audio source device via a beacon within the first time window communication period; and feeding back the first target time window to the audio source device to align the audio source device with a second target time window of the second playback device to determine the synchronization communication period, wherein the second target time window is the time window within which the second playback device receives the target timing synchronization time within the second time window communication period, and the second time window communication period is determined by the second playback device based on the global synchronization time reference received from the audio source device.

[0014] In some embodiments, multiple first time windows and multiple third time windows are alternately distributed in the first time window communication cycle, and the third time window is the time window for the first playback device to communicate with the audio source device via Bluetooth; multiple second time windows and multiple fourth time windows are alternately distributed in the second time window communication cycle, and the fourth time window is the time window for the second playback device to communicate with the audio source device via Bluetooth, and the third time window and the fourth time window are Bluetooth time windows that are aligned with each other.

[0015] In some embodiments, based on a synchronization communication cycle, receiving and playing audio data sent by an audio source device via a WiFi connection to achieve synchronized reception and playback of audio data with a second playback device includes: sending sleep information to the audio source device to determine the effective time period for WiFi communication in the synchronization communication cycle; and receiving and playing audio data sent by the audio source device via a WiFi connection within the effective time period to achieve synchronized reception and playback of audio data with the second playback device.

[0016] In some embodiments, the method further includes: communicating with the audio source device via a Bluetooth link during other periods of the synchronization communication cycle.

[0017] In some embodiments, a WiFi connection notification is sent by the audio source device when it detects that the audio data to be transmitted is in high-definition audio format.

[0018] Thirdly, this disclosure also provides an audio source device, comprising: a first communication module, configured to send WiFi connection notifications to a first playback device and a second playback device of a head-mounted wireless playback device respectively during communication with the head-mounted wireless playback device via a Bluetooth link, so as to connect the first playback device and the second playback device to the same WiFi network; and a second communication module, configured to communicate and interact with the first playback device and the second playback device respectively based on the WiFi connection, determine a synchronization communication period, and send audio data through the WiFi connection based on the synchronization communication period, so that the first playback device and the second playback device synchronously receive and play the audio data, wherein the synchronization communication period is the timing period for the first playback device and the second playback device to synchronously acquire audio data based on the WiFi connection.

[0019] Fourthly, this disclosure also provides a head-mounted wireless playback device, the device comprising: two playback devices, wherein at least one playback device is used to perform the audio playback method provided in any of the above aspects.

[0020] Fifthly, this disclosure also provides an audio playback system, the system comprising: a sound source device for executing the audio playback method applied to the sound source device provided in any of the above aspects; and a head-mounted wireless playback device comprising: two playback devices, wherein at least one playback device is used to execute the audio playback method applied to the playback device provided in any of the above aspects.

[0021] Sixthly, this disclosure also provides a computer-readable storage medium storing a program for performing the audio playback method provided in any of the foregoing aspects.

[0022] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure.

[0023] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: According to the audio playback method provided by this disclosure, after the audio source device connects two playback devices of the head-mounted wireless playback device to the same WiFi network, it can determine the clock difference between the two playback devices based on the communication interaction results with the two playback devices and complete clock alignment, thereby obtaining a synchronous communication period that allows the two playback devices to synchronously obtain audio data through WiFi connection. The audio source device sends audio data through WiFi connection according to this synchronous communication period, which can align the interaction time periods of the two playback devices under different communication modes, realize the orderly staggered peak and time-division multiplexing of Bluetooth and WiFi channels, and thus effectively avoid mutual interference between channels, ensuring that the two playback devices can synchronously receive and play audio data, thereby effectively improving the integrity and success rate of audio data reception, ensuring the continuity of audio content playback, improving audio playback quality, and enhancing the user's listening experience. Attached Figure Description

[0024] This disclosure can be better understood by describing exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, in which: Figure 1 This is a flowchart illustrating an audio playback method according to an exemplary embodiment of a published document; Figure 2 This is an interactive timing diagram illustrating the determination of a target time window according to an exemplary embodiment of a public document; Figure 3 This is an interactive timing diagram illustrating the determination of a synchronous communication period according to an exemplary embodiment of a published document; Figure 4 This is a flowchart illustrating another audio playback method according to an exemplary embodiment of a published document; Figure 5 This is a device interaction diagram illustrated according to a publicly available exemplary embodiment; Figure 6 This is a schematic diagram of the structure of an audio source device according to an exemplary embodiment disclosed in a book. Detailed Implementation

[0025] The following describes specific embodiments of this disclosure. It should be noted that, in order to provide a concise description, this specification cannot exhaustively describe all features of the actual embodiments. It should be understood that, in the actual implementation of any embodiment, just as in any engineering or design project, various specific decisions are often made to achieve the developer's specific goals and to meet system-related or business-related constraints, and this can change from one embodiment to another. Furthermore, it is understood that although the efforts made in this development process may be complex and lengthy, for those skilled in the art related to the content disclosed in this disclosure, changes in design, manufacturing, or production based on the technical content disclosed in this disclosure are merely conventional technical means and should not be construed as insufficient content of this disclosure.

[0026] Unless otherwise defined, the technical or scientific terms used in this disclosure shall have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms “first,” “second,” and similar terms used in this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different components. The terms “a” or “one,” etc., do not indicate a quantity limitation, but rather indicate the presence of at least one. The terms “comprising,” “including,” etc., mean that the element or object preceding “comprising” or “including” encompasses the elements or objects listed following “comprising” or “including” and their equivalents, and do not exclude other elements or objects. The terms “connected,” “linked,” etc., are not limited to physical or mechanical connections, nor are they limited to direct or indirect connections.

[0027] Since Bluetooth and WiFi connections transmit data through different channels, related technologies often employ rapid link switching between the two to enable audio transmission via WiFi in order to improve user experience.

[0028] However, using this method for link switching can easily affect the integrity of data reception being transmitted via Bluetooth, leading to audio stuttering, interruptions, or playback asynchrony, thus affecting the actual audio playback effect.

[0029] In view of this, the present disclosure provides an audio playback system. The audio playback system includes an audio source device and a head-mounted wireless playback device connected to the audio source device. The audio source device is an electronic device used to provide audio data and capable of communicating with the head-mounted wireless playback device via at least Bluetooth and WiFi. For example, the audio source device can be an electronic device such as a mobile phone, tablet, or laptop.

[0030] A head-mounted wireless playback device is an electronic device used for audio playback. This device typically includes two playback devices. These two devices can be independent speaker units or playback units integrated into different locations within the head-mounted wireless playback device, depending on the actual structure of the device. For example, a head-mounted wireless playback device can be a true wireless stereo (TWS) headset, smart glasses, or other head-mounted audio playback device with at least two playback devices.

[0031] The following will describe the audio playback process using the audio source device and the playback device as the executors.

[0032] This disclosure provides an audio playback method applied to an audio source device. For example... Figure 1 As shown, the audio playback method may include the following steps: In step S110, during the communication with the head-mounted wireless playback device via Bluetooth link, a WiFi connection notification is sent to the first playback device and the second playback device of the head-mounted wireless playback device, respectively, so as to connect the first playback device and the second playback device to the same WiFi network.

[0033] In Bluetooth communication mode, due to the limitations of the Bluetooth communication architecture, when the audio source device communicates with the head-mounted wireless playback device via a Bluetooth link, it only establishes a Bluetooth connection and transmits data with one of the playback devices. The other playback device acquires audio data by listening to achieve synchronized playback with the playback device. In contrast, in WiFi communication mode, the audio source device can transmit data with multiple playback devices in the head-mounted wireless playback device via broadcast.

[0034] Therefore, when it is necessary to switch from Bluetooth communication mode to WiFi communication mode, the audio source device can send WiFi connection notifications to both the first and second playback devices of the head-mounted wireless playback device, requesting them to establish a WiFi connection. This allows the first and second playback devices to connect to the same WiFi network as an access point (AP) administrator. In Bluetooth communication mode, the playback device establishing a Bluetooth connection with the audio source device can be either the first or second playback device, depending on the master-slave role negotiation result within the head-mounted wireless playback device.

[0035] In some examples, the WiFi connection notifications sent to the first playback device and the second playback device respectively can be shared WiFi connection notifications, so that the playback device directly connected to the audio source device can receive them directly, and the other playback device can also obtain them directly by listening.

[0036] In other examples, the WiFi connection notifications sent to the first and second playback devices can be two sub-notifications encapsulated under a single overall notification. After receiving the notification, the playback device forwards the WiFi connection notification sent to the other playback device via a Bluetooth connection between the two playback devices based on the parsing result of the overall notification, so that the other playback device can indirectly obtain the notification.

[0037] Step S120: Based on the WiFi connection, communicate and interact with the first playback device and the second playback device respectively to determine the synchronization communication period.

[0038] Since audio source devices transmit data via WiFi using a broadcast method, connecting the first and second playback devices to the same WiFi network allows for the determination of their clock differences based on the time differences in their feedback on the same data. This clock alignment enables the generation of a synchronization communication period suitable for controlling the two playback devices to synchronously acquire audio data via WiFi. Specifically, the synchronization communication period is the timing cycle for the first and second playback devices to synchronously acquire audio data via WiFi.

[0039] Step S130: Based on the synchronous communication cycle, audio data is sent via WiFi connection so that the first playback device and the second playback device can receive and play the audio data synchronously.

[0040] By synchronizing the communication cycle, the timing for the two playback devices to acquire audio data synchronously can be clearly defined. Then, by sending audio data via WiFi connection, it can be ensured that both playback devices are under WiFi connection, effectively avoiding the usage period of Bluetooth communication and preventing mutual interference between the two channels. The first and second playback devices can receive and play audio data synchronously, thereby effectively improving the success rate and integrity of audio data reception, ensuring the continuity of audio content playback, improving audio playback quality, and enhancing the user's listening experience.

[0041] According to the audio playback method provided in this disclosure, after the audio source device connects two playback devices of a head-mounted wireless playback device to the same WiFi network, it can determine the clock difference between the two playback devices based on the communication interaction results and complete clock alignment, thereby obtaining a synchronous communication period that allows the two playback devices to synchronously obtain audio data via WiFi connection. The audio source device sends audio data via WiFi connection according to this synchronous communication period, which can align the interaction time periods of the two playback devices under different communication modes, achieving orderly peak-shifting and time-division multiplexing of Bluetooth and WiFi channels. This effectively avoids mutual interference between channels, ensuring that the two playback devices can synchronously receive and play audio data, thereby effectively improving the integrity and success rate of audio data reception, ensuring the continuity of audio content playback, improving audio playback quality, and enhancing the user's listening experience.

[0042] In some embodiments, step S120 may include: Step a1: Based on the WiFi connection, obtain the first timing synchronization information of the first playback device and the second timing synchronization information of the second playback device.

[0043] To compare the local clock differences between the two playback devices, the audio source device interacts with each playback device via WiFi connection to obtain their respective timing synchronization information. Specifically, the first timing synchronization information is the local clock timing reference information maintained by the first playback device based on the WiFi Timing Synchronization Function (TSF); the second timing synchronization information is the local clock timing reference information maintained by the second playback device based on the WiFi Timing Synchronization Function (TSF).

[0044] By using the first and second timing synchronization information, the clock offset between the two playback devices can be determined, thus providing a reliable basis for subsequent clock alignment and determination of the synchronization communication cycle.

[0045] Step a2: Based on the first timing synchronization information and the second timing synchronization information, the time windows of the first playback device and the second playback device are aligned by broadcasting the target timing synchronization time through the beacon to obtain the alignment result.

[0046] The target timing synchronization time serves as a reference time to unify the local clocks of the two playback devices. Audio data transmitted in WiFi mode has a strict timing sequence and fixed transmission times. The audio source device can accurately determine the clock deviation between the two playback devices using the first and second timing synchronization information. Based on this, a unified target timing synchronization time is broadcast via beacon, and combined with the reception feedback from both playback devices, the data reception time windows in WiFi communication mode are regularized and aligned. This ensures that both playback devices operate according to the same timing rules, ultimately achieving a reliable time window alignment result.

[0047] In some examples, step a2 above may include: Step a21: Feed back the global synchronization time reference to the first playback device based on the first timing synchronization information, so that the first playback device can determine the first time window communication period for WiFi connection; Step a22: Feed back the global synchronization time reference to the second playback device based on the second timing synchronization information, so that the second playback device can determine the second time window communication period for WiFi connection; Step a23: Synchronize the target time via beacon broadcast; Step a24: Align the first target time window fed back by the first playback device with the second target time window fed back by the second playback device to obtain the alignment result.

[0048] Specifically, based on the first timing synchronization information, a global synchronization time reference is fed back to the first playback device, and a unified communication reference time under the current WiFi network environment is sent, enabling the first playback device to determine its first time window communication period based on the global synchronization time reference. Similarly, based on the second timing synchronization information, a global synchronization time reference is fed back to the second playback device, and a unified communication reference time under the current WiFi network environment is sent, enabling the second playback device to determine its second time window communication period based on the global synchronization time reference.

[0049] The audio source device continuously broadcasts the target timing synchronization time via beacon to ensure that both the first and second playback devices can stably receive and provide feedback. If the first playback device receives the target timing synchronization time, it uses the time window in which it receives the target timing synchronization time according to the first time window communication cycle as the first target time window and feeds it back to the audio source device. If the second playback device receives the target timing synchronization time, it uses the time window in which it receives the target timing synchronization time according to the second time window communication cycle as the second target time window and feeds it back to the audio source device.

[0050] In some optional application scenarios, since the process of WiFi timing calibration between the second playback device and the first playback device and the audio source device is similar, the first playback device can be used as an example. Figure 2 Explain the process of determining the first target time window. For example... Figure 2 As shown, after the first playback device sends the first timing synchronization information from the audio source device, the audio source device feeds back a global synchronization time reference to the first playback device. The first playback device, based on the global synchronization time reference, alternates between multiple first time windows and multiple third time windows, forming a first time window communication cycle. Following this first time window communication cycle, it scans the audio source device for the target timing synchronization time broadcast via beacons. If the first playback device successfully receives the global synchronization time reference, it takes the first time window containing the corresponding reception time as the first target time window and feeds it back to the audio source device. If the first playback device fails to receive the global synchronization time reference, it continues scanning the beacon in the next first time window according to the alternating order of the first and third time windows within the first time window communication cycle, until the first target time window for receiving the target timing synchronization time is determined. Figure 2 In the diagram, win1, win2...win(Y+1) represent the time windows for communication between the playback device and the audio source device, corresponding to the alternating first and third time windows. The specific order can be determined based on actual communication requirements. In some examples, to improve time window alignment efficiency, the interval between the playback devices sending timing synchronization information to the audio source device can be shortened, allowing the audio source device to obtain the clock status information of the two playback devices more quickly. For example, the sending interval can be set to 20ms or 30ms.

[0051] Based on the received first and second target time windows, the audio source device can determine the communication delay difference between the two playback devices and the audio source device. By combining this with the clock offset between the two playback devices, time window alignment can be achieved, and an alignment result can be obtained.

[0052] In other embodiments, multiple first time windows and multiple third time windows are alternately distributed in the first time window communication cycle, and multiple second time windows and multiple fourth time windows are alternately distributed in the second time window communication cycle. The third time window is used by the first playback device for Bluetooth communication with the audio source device, and the fourth time window is used by the second playback device for Bluetooth communication with the audio source device. The third and fourth time windows are mutually aligned Bluetooth time windows.

[0053] In other words, during the process of determining the alignment result based on the WiFi connection, since the first and second playback devices have not yet completed WiFi timing calibration, they cannot achieve synchronous data transmission with the audio source device based on the WiFi connection. Therefore, in order to ensure the continuity of audio playback, the WiFi communication time window and the Bluetooth communication time window are arranged alternately in a time-sharing manner. This allows the two playback devices to still obtain audio data normally through the Bluetooth link and maintain synchronous playback during the WiFi time window alignment calibration period, thereby helping to avoid audio playback interruption and ensuring the user's listening experience.

[0054] Step a3: Determine the synchronization communication period based on the alignment results.

[0055] Based on the alignment results, it is possible to clarify the time window distribution pattern of audio data received synchronously by the two playback devices via WiFi connection, and thus determine the synchronization communication cycle that adapts to the working sequence of the two playback devices.

[0056] In some embodiments, step S130 above may include the following steps: Step b1: Obtain sleep information sent by the first playback device and / or the second playback device; Step b2: Based on the sleep information, determine the effective time period for WiFi communication within the synchronization communication cycle; Step b3: Send audio data via WiFi connection within the valid time period so that the first playback device and the second playback device can receive and play the audio data synchronously.

[0057] Specifically, at least one of the first and second playback devices can send sleep information during the process of determining the synchronization communication period by the audio source device. This allows the audio source device to determine the sleep timing arrangement of the corresponding playback device based on the received sleep information, clarifying the effective time period for WiFi communication between the two playback devices during the synchronization communication period. For example, the sleep information can be a Notice of Absence (NOA) message using WiFi Direct sleep technology, used to inform the audio source device of its subsequent sleep time arrangement. Sending audio data via WiFi connection within the effective time period avoids data reception failure due to one or more playback devices being in sleep mode, enabling the first and second playback devices to synchronously receive and play audio data.

[0058] Furthermore, the power consumption generated by continuous data transmission via WiFi is much greater than that generated by data transmission via Bluetooth. Therefore, data transmission with each playback device is only conducted within the effective time period, which also helps to reduce the power consumption of communication between audio devices and playback devices, and enhances the device's battery life.

[0059] In some embodiments, the audio source device may also communicate with the first playback device and the second playback device via a Bluetooth link during other periods of the synchronization communication cycle to ensure that the Bluetooth function of the head-mounted wireless playback device can be performed normally.

[0060] In some optional application scenarios, combined Figure 2 The alignment timing process shown illustrates how the distribution of effective time periods and other time periods within the synchronization communication cycle can be represented as follows: Figure 3 As shown in the image. WiFi Win indicates the valid time period, and NOA indicates other time periods.

[0061] In some embodiments, step S110 may include: during communication with the head-mounted wireless playback device via a Bluetooth link, if the audio format of the audio data to be transmitted is detected to be high-definition audio, then a WiFi connection notification is sent to the first playback device and the second playback device respectively to establish a WiFi connection with each of the two playback devices. That is, the audio source device switches from Bluetooth communication mode to WiFi communication mode when it detects that the audio format of the audio data to be transmitted is high-definition audio. Since high-definition audio requires high transmission bandwidth, it is necessary to leverage the high bandwidth characteristics of WiFi communication to ensure the reception efficiency and playback effect of the high-definition audio data. Therefore, it is necessary to send a WiFi connection notification to the first playback device and the second playback device respectively to establish a WiFi connection with each of the two playback devices, thereby achieving the switching of communication modes.

[0062] Based on the same inventive concept, this disclosure also provides an audio playback method for a first playback device applied in a head-mounted wireless playback device. The head-mounted wireless playback device also includes a second playback device. For example... Figure 4 As shown, the audio playback method may include the following steps: Step S210: During the communication with the audio source device via Bluetooth link, in response to receiving a WiFi connection notification from the audio source device, a WiFi connection is established with the audio source device.

[0063] During communication with the audio source device via Bluetooth, when the first playback device receives a WiFi connection notification from the audio source device, it indicates that the communication mode with the audio source device needs to switch from Bluetooth to WiFi. Therefore, in response to the received WiFi connection notification, it establishes a WiFi connection with the audio source device so that both the first and second playback devices can access the same WiFi network. The audio source device also sends the WiFi connection notification to the second playback device to establish a WiFi connection, ensuring that both the first and second playback devices can access the same WiFi network.

[0064] In some embodiments, the WiFi connection notification is sent by the audio source device when it detects that the audio data to be transmitted is in high-definition audio format. This ensures timely switching of the WiFi communication mode, facilitating high-speed transmission based on the high bandwidth characteristics of WiFi communication when the first playback device and the audio source device transmit audio data. This effectively ensures the reception efficiency and playback effect of high-definition audio data.

[0065] Step S220: Based on the WiFi connection, interact with the audio source device to determine the synchronization communication period.

[0066] The audio source device interacts with the second playback device via WiFi connection, enabling the audio source device to determine the time difference in feedback regarding the same data between itself and the second playback device. This process establishes the clock difference between the two devices and allows for clock alignment, resulting in a synchronization communication cycle suitable for controlling the two playback devices to synchronously acquire audio data via WiFi connection. Specifically, the synchronization communication cycle is the timing period for the first and second playback devices to synchronously acquire audio data via WiFi connection.

[0067] Step S230: Based on the synchronous communication cycle, receive and play audio data sent by the audio source device via WiFi connection, so as to achieve synchronous reception and playback of audio data with the second playback device.

[0068] Because the audio source device can determine the timing for both playback devices to synchronously acquire audio data based on the synchronization communication cycle, when both playback devices are in a WiFi-receiveable state during the synchronization communication cycle, the audio source device will broadcast the audio data. The first playback device can synchronously receive and play the audio data with the second playback device without occupying the Bluetooth channel or being affected by Bluetooth channel interference. This effectively improves the success rate and integrity of audio data reception, ensures the continuity of audio content playback, improves audio playback quality, and enhances the user's listening experience.

[0069] According to the audio playback method provided in this disclosure, after the first playback device connects itself and the second playback device to the same WiFi network through the audio source device, it can determine the synchronous communication period for itself and the second playback device to synchronously acquire audio data through the WiFi connection based on the communication interaction between itself and the audio source device. The first playback device receives audio data sent by the audio source device based on this synchronous communication period, which enables orderly peak-shifting and time-division multiplexing of Bluetooth and WiFi channels, effectively avoiding mutual interference between channels, ensuring the synchronization of audio data reception and playback between itself and the second playback device, thereby effectively improving the integrity and success rate of audio data reception, ensuring the continuity of audio content playback, improving audio playback quality, and enhancing the user's listening experience.

[0070] In some embodiments, step S220 may include: Step c1: Based on the WiFi connection, send the first timed synchronization information to the audio source device; Step c2: In response to receiving the global synchronization time reference from the audio source device, determine the first time window communication period for WiFi connection; Step c3: Determine the first target time window based on the target timing synchronization time received from the audio source device via beacon broadcast within the first time window communication period; Step c4: Feed back the first target time window to the audio source device so as to align the second target time window of the audio source device with the second playback device and determine the synchronization communication period.

[0071] Specifically, the first playback device can send first timing synchronization information to the audio source device based on the WiFi connection between the two devices, informing it of the local clock timing reference information maintained based on the WiFi timing synchronization function.

[0072] In response to the received global synchronization time reference from the audio source device, the audio source device has clearly understood the reference status of the local clock timing of the first playback device, and informs the first and second playback devices of the unified target timing synchronization time under the current WiFi environment by feeding back the global synchronization time reference. The target timing synchronization time is the reference time used to unify the local clocks of the two playback devices.

[0073] The first playback device can determine its first time window communication period based on a global synchronization time reference. Since the target timing synchronization time is continuously broadcast by the audio source device via a beacon, it ensures that the first playback device receives the target timing synchronization time and uses this first time window as the first target time window. This first target time window is then fed back to the audio source device, allowing it to combine this with the second target time window fed back by the second playback device to determine the communication delay difference between the two playback devices and the audio source device. This, combined with the clock offset between the two playback devices, determines the synchronization communication period. The second target time window is the time window within which the second playback device receives the target timing synchronization time. This second time window communication period is determined by the second playback device based on the global synchronization time reference received from the audio source device.

[0074] In some examples, the process of determining the first target time window can be referenced. Figure 2 Since the specific determination process has already been described above, it will not be repeated here.

[0075] In some embodiments, multiple first time windows and multiple third time windows are alternately distributed in the first time window communication cycle, and multiple second time windows and multiple fourth time windows are alternately distributed in the second time window communication cycle. The third time window is a time window for the first playback device to communicate with the audio source device via Bluetooth, and the fourth time window is a time window for the second playback device to communicate with the audio source device via Bluetooth. The third and fourth time windows are mutually aligned Bluetooth time windows.

[0076] In other words, during the process of determining the alignment result based on the WiFi connection, since the first and second playback devices have not yet completed WiFi timing calibration, they cannot achieve synchronous data transmission with the audio source device based on the WiFi connection. Therefore, in order to ensure the continuity of audio playback, the WiFi communication time window and the Bluetooth communication time window are arranged alternately in a time-sharing manner. This allows the two playback devices to still obtain audio data normally through the Bluetooth link and maintain synchronous playback during the WiFi time window alignment calibration period, thereby helping to avoid audio playback interruption and ensuring the user's listening experience.

[0077] In some embodiments, step S230 may include: Step d1: Send sleep information to the audio source device to determine the effective time period for WiFi communication in the synchronization communication cycle; Step d2: During the effective time period, receive and play audio data sent by the audio source device via WiFi connection, so as to achieve synchronous reception and playback of audio data with the second playback device.

[0078] Specifically, the first playback device can send sleep information to the audio source device during the process of determining the synchronization communication cycle, so that the audio source device can understand the sleep timing arrangement of the first playback device. For example, the sleep information can be a Notice of Absence (NOA) message using WiFi Direct sleep technology, used to inform the audio source device of its subsequent sleep period arrangement.

[0079] The audio source device can coordinate the two playback devices to use the effective time period for WiFi communication during the synchronous communication cycle based on the obtained sleep information, and send audio data through WiFi connection during the effective time period. This avoids data reception failure due to each playback device being in sleep state, and enables the first playback device and the second playback device to receive and play audio data synchronously.

[0080] Furthermore, the power consumption generated by continuous data transmission via WiFi is much greater than that generated by data transmission via Bluetooth. Therefore, data transmission with the audio source device is only conducted within the effective time period, which also helps reduce the power consumption of communication between the primary playback device and the audio source device and enhances the device's battery life.

[0081] In some embodiments, the first playback device may also communicate with the audio source device via Bluetooth link during other periods of the synchronization communication cycle to ensure that its Bluetooth function can be executed normally.

[0082] In some optional application scenarios, when the head-mounted wireless playback system communicates with the audio source device, since the audio playback processing process of the second playback device is similar to that of the first playback device, this disclosure will not elaborate on the specific implementation process of the audio playback method applied to the second playback device.

[0083] In other optional application scenarios, taking true wireless earbuds as the head-mounted playback device and a mobile phone as the audio source device as an example, the interaction process of switching from Bluetooth to WiFi connection for audio playback can be as follows: Figure 5 As shown. The true wireless earbuds include a left earbud and a right earbud. To facilitate describing the specific interaction process, the left earbud is divided into a left earbud Bluetooth module and a left earbud WiFi module, and the right earbud is divided into a right earbud Bluetooth module and a right earbud WiFi module.

[0084] When a user needs to play music, they can obtain audio data for playback via their mobile phone. When the phone detects that the audio data to be transmitted is in high-definition audio format, it sends a WiFi connection notification via the Bluetooth link with the left earphone's Bluetooth module. The left earphone's Bluetooth module responds to this WiFi connection notification and forwards it to the left earphone's WiFi module. Based on this notification, the left earphone's WiFi module establishes a WiFi connection with the phone and informs the phone of its first timing synchronization information. The phone then feeds back a global synchronization time base to the left earphone's WiFi module based on this first timing synchronization information. The left earphone's WiFi module uses this global synchronization time base to determine the first time window communication period for the WiFi connection.

[0085] The phone can also asynchronously send a WiFi connection notification via the Bluetooth link with the right earpiece Bluetooth module. The right earpiece Bluetooth module responds to this WiFi connection notification by forwarding it to the right earpiece WiFi module. Based on this notification, the right earpiece WiFi module establishes a WiFi connection with the phone and informs the phone of its second timing synchronization information. The phone then feeds back a global synchronization time base to the right earpiece WiFi module based on this second timing synchronization information. The right earpiece WiFi module uses this global synchronization time base to determine the second time window communication period for the WiFi connection.

[0086] The mobile phone broadcasts the target timing synchronization time via a beacon and determines the synchronization communication period based on the alignment of the first target time window fed back by the left earpiece WiFi module and the second target time window fed back by the right earpiece WiFi module. The process of determining the synchronization communication period includes: the left earpiece WiFi module acquiring the target timing synchronization time through scanning within the first time window communication period and using the first time window receiving the target timing synchronization time as the first target time window. The left earpiece WiFi module feeds back the first target time window to the mobile phone. Similarly, the right earpiece WiFi module acquiring the target timing synchronization time through scanning within the second time window communication period and using the second time window receiving the target timing synchronization time as the second target time window. The right earpiece WiFi module feeds back the second target time window to the mobile phone. The mobile phone aligns the first and second target time windows to obtain the alignment result. During the process of the mobile phone determining the synchronization communication period, the left earpiece WiFi module sends a sleep message to the mobile phone. Based on the sleep message and the alignment result, the mobile phone determines the synchronization communication period and the effective time period for WiFi communication within the synchronization communication period.

[0087] During the effective time period, the mobile phone broadcasts high-definition audio data to the left and right earpiece WiFi modules. The left and right earpiece WiFi modules can simultaneously receive and play the audio data.

[0088] At other times, the mobile phone can communicate via Bluetooth through the left and right earpiece Bluetooth modules.

[0089] According to the audio playback method provided in this disclosure, the mobile phone can ensure that the time windows of each communication mode are aligned within the synchronous communication cycle based on the alignment result of the WiFi time windows at both ends of the headset. This can effectively improve the mode switching efficiency when switching communication modes, ensure the integrity and success rate of audio data reception, and ensure the continuity of audio content playback, thereby improving audio playback quality and enhancing the user's listening experience.

[0090] Based on the same inventive concept, this disclosure also provides an audio source device. For example... Figure 6 As shown, the audio source device 300 may include: The first communication module 310 is used to send WiFi connection notifications to the first playback device and the second playback device of the head-mounted wireless playback device respectively during communication with the head-mounted wireless playback device based on the Bluetooth link, so as to connect the first playback device and the second playback device to the same WiFi network. The second communication module 320 is used to communicate and interact with the first playback device and the second playback device respectively based on WiFi connection, determine the synchronization communication period, and send audio data through WiFi connection based on the synchronization communication period, so that the first playback device and the second playback device can synchronously receive and play the audio data, wherein the synchronization communication period is the timing period for the first playback device and the second playback device to synchronously obtain audio data based on WiFi connection.

[0091] Regarding the playback device in the above embodiments, the specific methods by which each module performs its operations have been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0092] Based on the same inventive concept, this disclosure also provides a head-mounted wireless playback device. This head-mounted wireless playback device may include two playback devices. At least one playback device is used to execute any of the audio playback methods provided in this disclosure applied to the first playback device.

[0093] Based on the same inventive concept, this disclosure also provides an audio playback system. The audio playback system may include: a sound source device for executing the audio playback method described in any of the aforementioned embodiments applied to the sound source device; and a head-mounted wireless playback device, including: two playback devices, wherein at least one playback device is used for the audio playback method described in any of the aforementioned embodiments applied to the playback device.

[0094] Based on the same inventive concept, this disclosure also provides a computer-readable storage medium storing a program for performing the audio playback method of any of the foregoing embodiments.

[0095] This disclosure uses specific terms to describe embodiments of the present disclosure. Terms such as "an embodiment," "one embodiment," and / or "some embodiments" refer to a particular feature, structure, or characteristic associated with at least one embodiment of the present disclosure. Therefore, it should be emphasized and noted that references to "an embodiment," "one embodiment," or "an alternative embodiment" in different locations throughout this specification do not necessarily refer to the same embodiment. Furthermore, certain features, structures, or characteristics in one or more embodiments of the present disclosure can be appropriately combined.

[0096] In the context of this disclosure, unless the context clearly indicates otherwise, the words "a," "an," "an," and / or "the" do not specifically refer to the singular and may also include the plural. Generally speaking, the terms "comprising" and "including" only indicate the inclusion of expressly identified steps and elements, which do not constitute an exclusive list, and the method or apparatus may also include other steps or elements.

[0097] Similarly, it should be noted that, in order to simplify the description of this disclosure and thus aid in the understanding of one or more embodiments, the foregoing description of embodiments of this disclosure may sometimes combine multiple features into a single embodiment, drawing, or description thereof. However, this disclosure method does not imply that the subject matter of this disclosure requires more features than the features claimed. In fact, the embodiments contain fewer features than all the features of the single embodiments disclosed above.

[0098] The basic concepts have been described above. It is obvious that the above disclosure is merely illustrative and does not constitute a limitation of this disclosure. Although not explicitly stated herein, various modifications, improvements, and corrections may be made to this disclosure by those skilled in the art. Such modifications, improvements, and corrections are suggested in this disclosure and therefore remain within the spirit and scope of the embodiments of this disclosure.

Claims

1. An audio playback method, characterized in that, Applied to an audio source device, the method includes: During communication with the head-mounted wireless playback device via Bluetooth link, WiFi connection notifications are sent to the first and second playback devices of the head-mounted wireless playback device respectively, so as to connect the first playback device and the second playback device to the same WiFi network. Based on the WiFi connection, communication interaction is performed with the first playback device and the second playback device respectively to determine the synchronization communication period, wherein the synchronization communication period is the timing period for the first playback device and the second playback device to synchronously acquire audio data based on the WiFi connection; Based on the synchronous communication cycle, the audio data is sent through the WiFi connection so that the first playback device and the second playback device can synchronously receive and play the audio data.

2. The audio playback method according to claim 1, characterized in that, The step of communicating and interacting with the first playback device and the second playback device respectively based on the WiFi connection to determine the synchronization communication period includes: Based on the WiFi connection, the first timing synchronization information of the first playback device and the second timing synchronization information of the second playback device are obtained respectively. Based on the first timing synchronization information and the second timing synchronization information, the time windows of the first playback device and the second playback device are aligned by broadcasting the target timing synchronization time through beacons to obtain the alignment result; The synchronization communication period is determined based on the alignment result.

3. The audio playback method according to claim 2, characterized in that, The step of aligning the time windows of the first playback device and the second playback device based on the first timing synchronization information and the second timing synchronization information by broadcasting the target timing synchronization time through a beacon to obtain the alignment result includes: Based on the first timing synchronization information, a global synchronization time reference is fed back to the first playback device so that the first playback device can determine the first time window communication period for WiFi connection. Based on the second timing synchronization information, the global synchronization time reference is fed back to the second playback device so that the second playback device can determine the second time window communication period for WiFi connection; The target time is synchronized via beacon broadcast; Align the first target time window fed back by the first playback device with the second target time window fed back by the second playback device to obtain the alignment result, wherein the first target time window is the time window in which the first playback device receives the target timing synchronization time according to the first time window communication period, and the second target time window is the time window in which the second playback device receives the target timing synchronization time according to the second time window communication period.

4. The audio playback method according to claim 3, characterized in that, In the first time window communication cycle, multiple first time windows and multiple third time windows are alternately distributed, and the third time window is the time window in which the first playback device performs Bluetooth communication with the audio source device; In the second time window communication cycle, multiple second time windows and multiple fourth time windows are alternately distributed. The fourth time window is the time window for the second playback device to communicate with the audio source device via Bluetooth. The third time window and the fourth time window are Bluetooth time windows that are aligned with each other.

5. The audio playback method according to claim 1, characterized in that, The step of sending audio data via the WiFi connection based on the synchronous communication cycle, so that the first playback device and the second playback device synchronously receive and play the audio data, includes: Obtain sleep information sent by the first playback device and / or the second playback device; Based on the sleep information, determine the effective time period for WiFi communication within the synchronization communication cycle; The audio data is transmitted via the WiFi connection during the effective time period so that the first playback device and the second playback device can synchronously receive and play the audio data.

6. The audio playback method according to claim 5, characterized in that, The method further includes: During other periods of the synchronous communication cycle, communication is conducted with the first playback device and the second playback device via the Bluetooth link.

7. The audio playback method according to claim 1, characterized in that, During the communication with the head-mounted wireless playback device via a Bluetooth link, sending WiFi connection notifications to the first and second playback devices of the head-mounted wireless playback device respectively, to establish WiFi connections with the first and second playback devices respectively, includes: During communication with the head-mounted wireless playback device via Bluetooth link, if the audio format of the audio data to be transmitted is detected to be high-definition audio, a WiFi connection notification is sent to both the first playback device and the second playback device to establish WiFi connections with both devices.

8. An audio playback method, characterized in that, A first playback device is used in a head-mounted wireless playback device, the head-mounted wireless playback device further comprising a second playback device, the method comprising: During communication with the audio source device via Bluetooth link, in response to receiving a WiFi connection notification sent by the audio source device, a WiFi connection is established with the audio source device. The audio source device is further configured to send the WiFi connection notification to the second playback device so as to connect the first playback device and the second playback device to the same WiFi network. Based on the WiFi connection, the device interacts with the audio source device to determine the synchronization communication period, wherein the synchronization communication period is the timing period for the first playback device and the second playback device to synchronously acquire audio data based on the WiFi connection; Based on the synchronous communication cycle, the audio data sent by the audio source device is received and played through the WiFi connection, so as to achieve synchronous reception and playback of the audio data with the second playback device.

9. The audio playback method according to claim 8, characterized in that, The step of interacting with the audio source device based on the WiFi connection to determine the synchronization communication period includes: Based on the WiFi connection, first timed synchronization information is sent to the audio source device; In response to receiving the global synchronization time reference fed back by the audio source device, a first time window communication period for WiFi connection is determined; The first target time window is determined based on the target timing synchronization time received from the audio source device via beacon broadcast within the first time window communication period; The first target time window is fed back to the audio source device to determine the synchronization communication period by aligning the audio source device with the second target time window of the second playback device. The second target time window is the time window in which the second playback device receives the target timing synchronization time within the second time window communication period. The second time window communication period is determined by the second playback device based on the global synchronization time reference fed back by the audio source device.

10. The audio playback method according to claim 9, characterized in that, In the first time window communication cycle, multiple first time windows and multiple third time windows are alternately distributed, and the third time window is the time window in which the first playback device performs Bluetooth communication with the audio source device; In the second time window communication cycle, multiple second time windows and multiple fourth time windows are alternately distributed. The fourth time window is the time window for the second playback device to communicate with the audio source device via Bluetooth. The third time window and the fourth time window are Bluetooth time windows that are aligned with each other.

11. The audio playback method according to claim 8, characterized in that, The step of receiving and playing audio data sent by the audio source device via the WiFi connection based on the synchronous communication cycle, so as to achieve synchronous reception and playback of the audio data with the second playback device, includes: Sending sleep information to the audio source device to determine the effective time period for WiFi communication in the synchronization communication cycle; During the effective time period, the audio data sent by the audio source device is received and played through the WiFi connection, so as to achieve synchronous reception and playback of the audio data with the second playback device.

12. The audio playback method according to claim 11, characterized in that, The method further includes: During other periods of the synchronous communication cycle, Bluetooth communication is conducted with the audio source device via the Bluetooth link.

13. The audio playback method according to claim 8, characterized in that, The WiFi connection notification is sent by the audio source device when it detects that the audio data to be transmitted is in high-definition audio format.

14. A sound source device, characterized in that, include: The first communication module is used to send WiFi connection notifications to the first playback device and the second playback device of the head-mounted wireless playback device respectively during communication with the head-mounted wireless playback device via a Bluetooth link, so as to connect the first playback device and the second playback device to the same WiFi network. The second communication module is used to communicate and interact with the first playback device and the second playback device respectively based on the WiFi connection, determine the synchronization communication period, and send audio data through the WiFi connection based on the synchronization communication period, so that the first playback device and the second playback device can synchronously receive and play the audio data, wherein the synchronization communication period is the timing period for the first playback device and the second playback device to synchronously acquire audio data based on the WiFi connection.

15. A head-mounted wireless playback device, characterized in that, The device includes: Two playback devices, wherein at least one of the playback devices is used to perform the audio playback method according to any one of claims 8-13.

16. An audio playback system, characterized in that, The system includes: A sound source device for performing the audio playback method according to any one of claims 1-4; A head-mounted wireless playback device includes two playback devices, wherein at least one of the playback devices is used to perform the audio playback method according to any one of claims 8-13.

17. A computer-readable storage medium storing a program for performing the audio playback method of any one of claims 1-7 or any one of claims 8-13.