CN116614514A - Audio data output method and device, audio playing equipment and device - Google Patents

Audio data output method and device, audio playing equipment and device Download PDF

Info

Publication number
CN116614514A
CN116614514A CN202210122257.9A CN202210122257A CN116614514A CN 116614514 A CN116614514 A CN 116614514A CN 202210122257 A CN202210122257 A CN 202210122257A CN 116614514 A CN116614514 A CN 116614514A
Authority
CN
China
Prior art keywords
audio
audio playing
playing device
communication link
audio data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210122257.9A
Other languages
Chinese (zh)
Inventor
包建全
侯锐填
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202210122257.9A priority Critical patent/CN116614514A/en
Publication of CN116614514A publication Critical patent/CN116614514A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses an audio data output method, an audio data output device, audio playing equipment and an audio playing device. The method comprises the following steps: after the first audio playing device sends a broadcast signal, the first audio playing device receives audio data sent by the electronic device through a first communication link with the electronic device and plays the received audio data, wherein the first communication link is established by the electronic device in response to the broadcast signal sent by the first audio playing device; the second audio playing device acquires the audio data transmitted to the first audio playing device by the electronic device based on the first communication link and plays the audio data; the second audio playing device establishes a second communication link with the electronic device in response to the second audio playing device, and replaces audio data for playing with audio data received based on the second communication link. Therefore, the first audio playing device and the second audio playing device can play the audio transmitted by the electronic device more synchronously.

Description

Audio data output method and device, audio playing equipment and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to an audio data output method and apparatus, and an audio playing device and apparatus.
Background
With the development of wireless communication technology, more audio playing devices can establish a connection with electronic devices in a wireless communication manner, so that the electronic devices can transmit audio data to be played to the audio playing devices for playing through the connection. In some cases, audio data to be played by an electronic device may be played collectively by a plurality of audio playback devices. However, in the related method, there is a problem that a plurality of audio plays are not synchronized enough for playing audio data output from the electronic device.
Disclosure of Invention
In view of the above problems, the present application provides an audio data output method, an audio data output device, an audio playing device and an audio playing device, so as to improve the above problems.
In a first aspect, the present application provides an audio data output method applied to an audio playing apparatus, where the audio playing apparatus includes a first audio playing device and a second audio playing device, the method includes: after the first audio playing device sends a broadcast signal, the first audio playing device receives audio data sent by the electronic device through a first communication link with the electronic device and plays the received audio data, wherein the first communication link is established by the electronic device in response to the broadcast signal sent by the first audio playing device; the second audio playing device acquires the audio data transmitted to the first audio playing device by the electronic device based on the first communication link and plays the audio data; the second audio playing device responds to the second audio playing device to establish a second communication link with the electronic device, and audio data used for playing are replaced by audio data received based on the second communication link.
In a second aspect, the present application provides an audio data output method applied to a first audio playing device, where the first audio playing device is associated with a second audio playing device, the method comprising: after the first audio playing device sends a broadcast signal, the first audio playing device receives audio data sent by the electronic device through a first communication link with the electronic device and plays the received audio data, wherein the first communication link is established based on the response of the electronic device to the broadcast signal sent by the first audio playing device; and enabling the second audio playing device to acquire the audio data transmitted to the first audio playing device by the electronic device based on a first communication link between the first audio playing device and the electronic device, and playing until the electronic device responds to a broadcast signal sent by the second audio playing device to establish a second communication link with the second audio playing device.
In a third aspect, the present application provides an audio data output method applied to a second audio playing device, where the second audio playing device is associated with a first audio playing device, the method comprising: after the first audio playing device and the second audio playing device respectively send broadcast signals, the second audio playing device obtains audio data transmitted to the first audio playing device by the electronic device through a first communication link between the first audio playing device and the electronic device, and plays the audio data; in response to the second audio playback device establishing a second communication link with the electronic device, the second audio playback device exchanges audio data for playback with audio data received based on the second communication link.
In a fourth aspect, the present application provides an audio data output apparatus, operating on a first audio playing device, the first audio playing device being associated with a second audio playing device, the apparatus comprising: the audio playing unit is used for receiving audio data sent by the electronic equipment through a first communication link between the audio playing unit and the electronic equipment after the first audio playing equipment sends a broadcast signal, and playing the received audio data, wherein the first communication link is established based on the response of the electronic equipment to the broadcast signal sent by the first audio playing equipment; the audio transmission unit is used for enabling the second audio playing device to acquire the audio data transmitted to the first audio playing device by the electronic device based on a first communication link between the first audio playing device and the electronic device, and playing the audio data until the electronic device responds to a broadcast signal sent by the second audio playing device to establish a second communication link with the second audio playing device.
In a fifth aspect, the present application provides an audio data output apparatus, operable on a second audio playing device, the second audio playing device being associated with a first audio playing device, the apparatus comprising: the audio playing unit is used for acquiring audio data transmitted to the first audio playing device by the electronic device through a first communication link between the first audio playing device and the electronic device after the first audio playing device and the second audio playing device respectively send broadcast signals, and playing the audio data; and the audio transmission unit is also used for responding to the second audio playing device to establish a second communication link with the electronic device and replacing audio data used for playing with audio data received based on the second communication link.
In a sixth aspect, the present application provides an audio playing apparatus, including a first audio playing device and a second audio playing device; after the first audio playing device sends a broadcast signal, the first audio playing device is configured to receive audio data sent by an electronic device through a first communication link with the electronic device, and play the received audio data, where the first communication link is established by the electronic device in response to the broadcast signal sent by the first audio playing device; the second audio playing device is used for acquiring the audio data transmitted to the first audio playing device by the electronic device based on the first communication link to play; the second audio playing device is further configured to, in response to the second audio playing device establishing a second communication link with the electronic device, replace audio data for playing with audio data received based on the second communication link.
In a seventh aspect, the present application provides an audio playback device comprising one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the methods described above.
In an eighth aspect, the present application provides a computer readable storage medium having program code stored therein, wherein the method described above is performed when the program code is run.
According to the audio data output method, the audio data output device, the audio playing device and the audio data output device, after the first audio playing device sends the broadcast signal, the first audio playing device can receive the audio data sent by the electronic device through a first communication link between the first audio playing device and the electronic device, and play the received audio data. Furthermore, the second audio playing device obtains the audio data transmitted to the first audio playing device by the electronic device through a first communication link between the first audio playing device and the electronic device, and plays the audio data until the electronic device responds to a broadcast signal sent by the second audio playing device to establish connection with the second audio playing device. Therefore, before the second audio playing device establishes connection with the electronic device, the second audio playing device can acquire the audio data output by the electronic device through the connection established between the first audio playing device and the electronic device, and play the audio data. So that the first audio playing device and the second audio playing device can play the audio transmitted by the electronic device more synchronously.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an application scenario of an audio data output method according to an embodiment of the present application;
fig. 2 shows a schematic diagram of a first audio playing device and a second audio playing device according to an embodiment of the present application;
fig. 3 shows a flowchart of an audio data output method according to an embodiment of the present application;
FIG. 4 is a flow chart illustrating an audio data output method according to another embodiment of the present application;
FIG. 5 is a flow chart illustrating an audio data output method according to still another embodiment of the present application;
FIG. 6 is a flow chart of a method for outputting audio data according to still another embodiment of the present application;
FIG. 7 is a flow chart of a method for outputting audio data according to still another embodiment of the present application;
Fig. 8 is a timing chart illustrating an audio data output method according to another embodiment of the present application;
FIG. 9 is a block diagram showing a data acquisition apparatus according to an embodiment of the present application;
FIG. 10 is a block diagram showing a data acquisition apparatus according to still another embodiment of the present application;
FIG. 11 is a block diagram of an electronic device according to the present application;
fig. 12 is a memory unit for storing or carrying program codes for implementing an audio data output method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
With the development of wireless communication technology, more audio playing devices can establish a connection with electronic devices in a wireless communication manner, so that the electronic devices can transmit audio data to be played to the audio playing devices for playing through the connection. For example, taking the audio playing device as a wireless earphone, taking the electronic device as a smart phone as an example, the smart phone can establish connection with the wireless earphone in a wireless communication manner, and output audio data to be played to the wireless earphone for playing.
In some cases, audio data to be played by an electronic device may be played collectively by a plurality of audio playback devices. However, in the related manner, there is also a problem that the playback of the audio data to be played back by the electronic device is not synchronized enough by the plurality of audio plays. For example, electronic devices typically establish a connection with an audio playback device in response to a broadcast signal sent by the audio playback device. However, in the case of a plurality of audio playing devices, the electronic device usually establishes connection with the plurality of audio playing devices in sequence, and the audio playing devices can acquire the audio data to be played by the electronic device through the established connection after establishing connection with the electronic device, so that the plurality of audio playing devices cannot acquire the audio data to be played by the electronic device more synchronously, and further, the plurality of audio playing devices cannot play the audio data to be played by the electronic device more synchronously.
Therefore, in order to improve the above-mentioned problem, the present inventors propose an audio data output method, an audio data output device, an audio playing device, and an audio playing device, wherein after a broadcast signal is sent by a first audio playing device, the first audio playing device may receive audio data sent by an electronic device through a connection with the electronic device, and play the received audio data. Furthermore, the first audio playing device may enable the second audio playing device to obtain the audio data transmitted to the first audio playing device by the electronic device through the connection between the first audio playing device and the electronic device until the electronic device establishes a connection with the electronic device in response to the broadcast signal sent by the second audio playing device.
Therefore, before the second audio playing device establishes connection with the electronic device, the second audio playing device can acquire the audio data output by the electronic device through the connection established between the first audio playing device and the electronic device, and play the audio data. So that the first audio playing device and the second audio playing device can play the audio transmitted by the electronic device more synchronously.
An application scenario according to an embodiment of the present application is described below.
As shown in fig. 1, an application scenario according to an embodiment of the present application includes an electronic device 100 and a storage box 200. Wherein, the storage box 200 is configured with a first audio playing device 210 and a second audio playing device 220. When the storage box 200 transitions from the state shown in fig. 1 to the state shown in fig. 2, the first audio playing device 210 and the second audio playing device 220 may each start to transmit a broadcast signal, and the electronic device 100 may establish a connection with the first audio playing device 210 and the second audio playing device 220 in response to the broadcast signals transmitted by the first audio playing device 210 and the second audio playing device 220, respectively.
Optionally, the broadcast signal sent by the first Audio playing device is LE Audio broadcast, the broadcast signal sent by the second Audio playing device is LE Audio broadcast, the connection established between the first Audio playing device and the electronic device is LE Audio connection, and the connection established between the second Audio playing device and the electronic device is LE Audio connection.
It should be noted that the first audio playing device 210 and the second audio playing device 220 shown in fig. 2 may be understood as a pair of TWS (True Wireless Stereo) headphones. In the embodiment of the present application, the first audio playing device and the second audio playing device may be other than those shown in fig. 2, for example, the first audio playing device and the second audio playing device may be sound boxes.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 3, an audio data output method provided by an embodiment of the present application is applied to an audio playing device, where the audio playing device includes a first audio playing device and a second audio playing device, and the method includes:
s110: after the first audio playing device sends a broadcast signal, the first audio playing device receives audio data sent by the electronic device through a first communication link with the electronic device and plays the received audio data, wherein the first communication link is established by the electronic device in response to the broadcast signal sent by the first audio playing device.
In the embodiment of the application, the first audio playing device and the second audio playing device can start to send the broadcast signal for the electronic device to respond after being started, so that the electronic device can find the first audio playing device and the second audio playing device through the broadcast signal. After the electronic device discovers the first audio playing device through the broadcast signal sent by the first audio playing device, a first communication link can be established with the first audio playing device in response to the broadcast signal. Correspondingly, after the electronic device discovers the second audio playing device through the broadcast signal sent by the second audio playing device, a second communication link can be established with the second audio playing device in response to the broadcast signal.
The manner of starting corresponding to the first audio playing device and the second audio playing device in different embodiments may be different. Alternatively, if the first audio playing device and the second audio playing device are wireless headphones that can be placed in the storage box as shown in fig. 1 and 2, the first audio playing device and the second audio playing device are characterized to be started after the cover of the storage box is opened. Furthermore, optionally, the first audio playing device is a sound box, and the second audio playing device is a sound box, in which mode, the first audio playing device is activated when in an energized state, and correspondingly, the second audio playing device is activated when in an energized state.
Wherein, the communication link established between the electronic device and the first audio playing device and the second audio playing device can be established based on the corresponding communication protocol. Optionally, if the broadcast signal sent by the first Audio playing device is LE Audio broadcast and the broadcast signal sent by the second Audio playing device is LE Audio broadcast, then correspondingly, the first communication link established between the first Audio playing device and the electronic device is established based on the LE Audio protocol, and the second communication link established between the second Audio playing device and the electronic device is established based on the LE Audio protocol.
In one approach, the electronic device has begun to play audio before the first and second audio playback devices begin transmitting broadcast signals, except that the played audio is played through speakers configured by the electronic device itself. After the electronic device establishes a first communication link with the first audio playing device, the electronic device may transmit audio data to be played to the first audio playing device through the first communication link, so that the audio data to be played by the electronic device may be played by the first audio playing device.
It should be noted that, in one manner, after the electronic device establishes a connection (for example, a first communication link) with an external audio playing device (for example, a first audio playing device in the embodiment of the present application), if another external audio playing device is scanned again and there is no association between the other external audio playing device and the connected audio playing device, the electronic device may not establish a communication link with the other external audio playing device. Therefore, in the embodiment of the application, the first audio playing device and the second audio playing device may have an association relationship, so that after the electronic device first establishes a connection with the first audio playing device, the electronic device will establish a connection with the second audio playing device when the second audio playing device is scanned and the second audio playing device and the first audio playing device are identified to have an association relationship.
The association relationship between the first audio playing device and the second audio playing device may be understood that the first audio playing device and the second audio playing device correspond to the same device identifier. For example, the first audio playback device having the association relationship corresponds to the second audio playback device with the same combination identification resolution value SIRK (Set Identity Resolving Key).
S120: the second audio playing device acquires the audio data transmitted to the first audio playing device by the electronic device based on the first communication link to play.
The second audio playing device obtains audio data transmitted to the first audio playing device by the electronic device through connection between the first audio playing device and the electronic device, which can be understood as that the second audio playing device obtains audio data transmitted to the first audio playing device by the electronic device through link information corresponding to a first communication link between the first audio playing device and the electronic device, and can also be understood as that the second audio playing device directly obtains the audio data forwarded by the first audio playing device from the first audio playing device.
As one way, in order to facilitate the first audio playback device to timely transmit link information or transmit audio data to the second audio playback device, the first audio playback device and the second audio playback device may establish a connection with each other before transmitting a broadcast signal for establishing a connection with the electronic device. For example, after the first Audio playing device and the second Audio playing device are started, a connection may be established based on the classical bluetooth protocol, and then the first Audio playing device and the second Audio playing device start to send LE Audio broadcast. Furthermore, the connection between the first Audio playing device and the second Audio playing device can also be established based on the LE Audio mode.
S130: the second audio playing device responds to the second audio playing device to establish a second communication link with the electronic device, and audio data used for playing are replaced by audio data received based on the second communication link.
After a second communication link is established between the second audio playing device and the electronic device, the second audio playing device may directly acquire the audio data transmitted by the electronic device through the second communication link. Wherein the second audio playback device establishing the second communication link with the electronic device in response to the second audio playback device may be understood as the second audio playback device determining that it has established itself a second communication link with the device, or may be understood as after the second audio playback device has established a second communication link with the electronic device. Furthermore, the second audio playing device may change the audio data for playing to the audio data received based on the second communication link, which may be understood that the second audio playing device may not acquire the audio data transmitted to the first audio playing device by the electronic device based on the first communication link, but directly play the audio data received based on the second communication link, or may be understood that the second audio playing device may still acquire the audio data transmitted to the first audio playing device by the electronic device based on the first communication link, but may not play the audio data acquired based on the first communication link, but rather play the audio data received based on the second communication link.
In one manner, in the embodiment of the present application, the first audio playing device and the second audio playing device may also negotiate a start playing time, where the start playing time is used for playing the audio data transmitted by the electronic device in synchronization with the first audio playing device and the second audio playing device. In this manner, after the first audio playing device transmits the broadcast signal, the first audio playing device may receive the audio data transmitted by the electronic device through the first communication link with the electronic device, and start playing the received audio data based on the start playing time negotiated with the second audio playing device. Correspondingly, after the second audio playing device obtains the audio data transmitted to the first audio playing device by the electronic device based on the first communication link, the second audio playing device starts playing the received audio data based on the starting playing time.
According to the audio data output method provided by the embodiment, after the first audio playing device sends the broadcast signal, the first audio playing device can receive the audio data sent by the electronic device through the first communication link between the first audio playing device and the electronic device, and play the received audio data. Furthermore, the second audio playing device obtains the audio data transmitted to the first audio playing device by the electronic device through a first communication link between the first audio playing device and the electronic device, and plays the audio data until the electronic device responds to a broadcast signal sent by the second audio playing device to establish connection with the second audio playing device. Therefore, before the second audio playing device establishes connection with the electronic device, the second audio playing device can acquire the audio data output by the electronic device through the connection established between the first audio playing device and the electronic device, and play the audio data. So that the first audio playing device and the second audio playing device can play the audio transmitted by the electronic device more synchronously.
Referring to fig. 4, an audio data output method provided by an embodiment of the present application is applied to an audio playing apparatus, where the audio playing apparatus includes a first audio playing device and a second audio playing device, and the method includes:
s210: after the first audio playing device sends a broadcast signal, the first audio playing device receives audio data sent by the electronic device through a first communication link with the electronic device and plays the received audio data, wherein the first communication link is established by the electronic device in response to the broadcast signal sent by the first audio playing device.
S220: the first audio playing device sends the link information of the first communication link to the second audio playing device.
The first communication link established between the first audio playing device and the electronic device is established in a wireless communication mode. Therefore, the wireless frequency band is used as a transmission channel between the electronic device and the first audio playing device to transmit the audio data. Optionally, the link information of the first communication link established by the electronic device and the first audio playing device may include a radio frequency band used for audio data transmission between the electronic device and the first audio playing device and a corresponding key. The second audio playing device can monitor the used radio frequency band, and then process the monitored transmission data based on the secret key, so as to obtain the audio data transmitted to the first audio playing device by the electronic device. In this way, after the second audio playing device obtains the link information, the second audio playing device can directly monitor the corresponding radio frequency band to obtain the audio data, so that the second audio playing device can obtain the audio data transmitted by the electronic device relatively synchronously with the first audio playing device.
It should be noted that, in one manner, the order in which the plurality of audio devices having the association relationship establish the communication link with the electronic device may be configured. In this manner, an audio playback device configured to previously establish a communication link with an electronic device may default to transmitting link information to other associated audio playback devices or forwarding audio data sent by the electronic device, so that the other associated audio playback devices may also have audio data to play before themselves establish a communication link with the electronic device. For example, in the embodiment of the present application, the first audio playing device is configured to establish a communication link with the electronic device before, and the second audio playing device is configured to establish a communication link with the electronic device after.
In another manner, the order in which the plurality of audio devices having the association relationship establish the communication link with the electronic device may not be configured. In this manner, the audio playback device that establishes a communication link with the electronic device may detect whether it is necessary to transmit link information to other audio playback devices associated therewith or to forward audio data sent by the electronic device. Optionally, an audio playback device (e.g., a first audio playback device) that has established a communication link with the electronic device may detect whether link information transmitted by other audio playback devices is stored; and if no link information is transmitted by other audio playing equipment, the link information of the first communication link is sent to the second audio playing equipment.
Under the condition that the first audio playing device detects that the link information transmitted by other audio playing devices is not stored, the first audio playing device can be determined to establish a communication link with the electronic device before the second audio playing device, and in order to facilitate the second audio playing device which can establish the communication link with the electronic device later to play with the first audio playing device more synchronously, the second audio playing device can acquire the audio data transmitted to the first audio playing device by the electronic device through the first communication link between the first audio playing device and the electronic device. Alternatively, the stored link information may be deleted after the first audio playback device or the second audio playback device is turned off. For example, if the first audio playing device and the second audio playing device are wireless headphones that can be placed in the same storage box, after the first audio playing device and the second audio playing device are placed in the storage box and the storage box closes the box cover, it is determined that the first audio playing device or the second audio playing device is closed. For another example, if the first audio playing device and the second audio playing device are speakers, if the first audio playing device and the second audio playing device are powered on, it is determined that the first audio playing device or the second audio playing device is turned off.
S230: the second audio playing device monitors the first communication link based on the link information of the first communication link to acquire audio data transmitted to the first audio playing device by the electronic device for playing.
After the second audio playing device acquires the link information of the first communication link, the second audio playing device can start to monitor the first communication link.
S240: and the second audio playing device responds to the second audio playing device to establish a second communication link with the electronic device, and stops monitoring the first communication link.
S250: the second audio playing device receives the audio data sent by the electronic device based on the second communication link and plays the received audio data.
According to the audio data output method provided by the embodiment, before the second audio playing device is connected with the electronic device, the audio data output by the electronic device can be obtained through the connection between the first audio playing device and the electronic device, and the audio data are played. So that the first audio playing device and the second audio playing device can play the audio transmitted by the electronic device more synchronously. In addition, in this embodiment, the first audio playing device may send the link information between the first audio playing device and the electronic device to the second audio playing device, so that the second audio playing device may directly obtain the audio data output by the electronic device through a listening manner, which is favorable for enabling the second audio playing device to better synchronize with the first audio playing device to play the audio data transmitted by the electronic device.
Referring to fig. 5, an audio data output method provided by an embodiment of the present application is applied to an audio playing apparatus, where the audio playing apparatus includes a first audio playing device and a second audio playing device, and the method includes:
s310: after the first audio playing device sends a broadcast signal, the first audio playing device receives audio data sent by the electronic device through a first communication link with the electronic device and plays the received audio data, wherein the first communication link is established by the electronic device in response to the broadcast signal sent by the first audio playing device.
S320: the first audio playing device transmits the audio data transmitted by the electronic device through the first communication link to the second audio playing device through the communication link between the first audio playing device and the second audio playing device, so that the audio data is played by the second audio playing device.
As one way, the connection may be established with each other before the first audio playback device and the second audio playback device each start transmitting the broadcast signal. In this way, the first audio playing device may then retransmit the audio data transmitted from the electronic device to the second audio playing device based on the connection established in advance with the second audio playing device.
S330: and the second audio playing device responds to the second communication link established between the second audio playing device and the electronic device, and sends a request for stopping sending audio data to the first audio playing device.
In the case that the second audio playing device has established the second communication link with the electronic device, it is characterized that the second audio playing device may have directly obtained the audio data to be played by the electronic device from the electronic device, and therefore, a request for stopping sending the audio data may be sent to the first audio playing device. After receiving the request for stopping sending the audio data, the first audio playing device will not send the audio data acquired from the first communication link to the second audio playing device.
S340: the second audio playing device receives the audio data sent by the electronic device based on the second communication link and plays the received audio data.
In some modes, a plurality of audio playing devices with association relations can play audio data of different channels simultaneously, so that a user can have better stereo experience. For example, one audio playback device may play left channel audio data and another audio playback device may play right channel audio data, thereby providing a better stereo experience for the user. In some cases, the audio data to be played by the electronic device may be mono audio data or may be multi-channel audio data. In one mode, if the audio data sent to the first audio playing device by the electronic device includes first channel audio data and second channel audio data, the first audio playing device receives the audio data sent by the electronic device and plays the first channel audio data, and then the second channel audio data is transmitted to the second audio playing device for playing.
Correspondingly, in this manner, the electronic device may transmit the first channel audio data and the second channel audio data to the audio playing device that has already been connected currently when detecting that only one audio playing device has been connected, and transmit the first channel audio data to one audio playing device and the first channel audio data to the other audio playing device when detecting that another audio playing device has been connected.
According to the audio data output method provided by the embodiment, before the second audio playing device is connected with the electronic device, the audio data output by the electronic device can be obtained through the connection between the first audio playing device and the electronic device, and the audio data are played. So that the first audio playing device and the second audio playing device can play the audio transmitted by the electronic device more synchronously. In addition, in this embodiment, the first audio playing device may forward the audio data transmitted from the electronic device to the second audio playing device for playing, so that the first audio playing device and the second audio playing device may play the audio transmitted from the electronic device more synchronously.
Furthermore, in this embodiment, when the audio data output by the electronic device includes the left channel audio data and the right channel audio data, the electronic device may output both the left channel audio data and the right channel audio data to the first audio playing device, so that the first audio playing device may play the first channel audio data, and then transmit the second channel audio data to the second audio playing device for playing, so that the first audio playing device and the second audio playing device may play the audio transmitted by the electronic device more synchronously, and also make the played audio data have better stereo experience.
Referring to fig. 6, an audio data output method provided by an embodiment of the present application is applied to a first audio playing device, where the first audio playing device is associated with a second audio playing device, and the method includes:
s410: after the first audio playing device sends a broadcast signal, the first audio playing device receives audio data sent by the electronic device through a first communication link with the electronic device and plays the received audio data, wherein the first communication link is established based on the broadcast signal sent by the electronic device in response to the first audio playing device.
S420: and enabling the second audio playing device to acquire the audio data transmitted to the first audio playing device by the electronic device based on a first communication link between the first audio playing device and the electronic device, and playing until the electronic device responds to a broadcast signal sent by the second audio playing device to establish a second communication link with the second audio playing device.
According to the audio data output method provided by the embodiment, before the second audio playing device is connected with the electronic device, the audio data output by the electronic device can be obtained through the connection between the first audio playing device and the electronic device, and the audio data are played. So that the first audio playing device and the second audio playing device can play the audio transmitted by the electronic device more synchronously.
Referring to fig. 7, an audio data output method provided by an embodiment of the present application is applied to a second audio playing device, where the second audio playing device is associated with a first audio playing device, and the method includes:
s510: after the first audio playing device and the second audio playing device respectively send broadcast signals, the second audio playing device obtains audio data transmitted to the first audio playing device by the electronic device through a first communication link between the first audio playing device and the electronic device, and plays the audio data.
S520: in response to the second audio playback device establishing a second communication link with the electronic device, the second audio playback device exchanges audio data for playback with audio data received based on the second communication link.
As one way, the second audio playing device obtains, through connection between the first audio playing device and the electronic device, audio data transmitted to the first audio playing device by the electronic device, and plays the audio data, including: the second audio playing device receives link information transmitted by the first audio playing device, wherein the link information is information corresponding to connection established between the electronic device and the first audio playing device; and monitoring the connection established between the electronic equipment and the first audio playing equipment based on the link information so as to acquire audio data transmitted to the first audio playing equipment by the electronic equipment.
As one way, the second audio playing device obtains, through connection between the first audio playing device and the electronic device, audio data transmitted to the first audio playing device by the electronic device, and plays the audio data, including: the second audio playing device receives the audio data forwarded by the first audio playing device and sent by the electronic device.
According to the audio data output method provided by the embodiment, before the second audio playing device is connected with the electronic device, the audio data output by the electronic device can be obtained through the connection between the first audio playing device and the electronic device, and the audio data are played. So that the first audio playing device and the second audio playing device can play the audio transmitted by the electronic device more synchronously.
An implementation scenario of the audio data output method provided by the embodiment of the present application will be described with reference to fig. 8, in which the first audio playing device is an earphone 1, the second audio playing device is an earphone 2, the earphone 1 and the earphone 2 may be placed in a storage box, and the electronic device is a mobile phone.
Wherein, music starts playing at the mobile phone. If the storage box is opened, the earphone 1 and the earphone 2 can be connected to form a TWS mode. In TWS mode, the headset 1 and the headset 2 may interact with each other. After the connection is established between the earphone 1 and the earphone 2, the earphone 1 may start transmitting the LE Audio broadcast 1, and the earphone 1 may start transmitting the LE Audio broadcast 2. After the mobile phone scans the earphone 1 through the LE Audio broadcast 1, a corresponding connection interface may be displayed, and if an operation acting on a connection button in the connection interface is detected, an LE Audio connection (a first communication link) is established with the earphone 1. The mobile phone can transmit the music (Audio data) to be played to the earphone 1 through the LE Audio connection established with the earphone 1, and the earphone 1 can play the received music.
Furthermore, as a way, the headset 1 may send link information of the LE Audio connection between the headset 1 and the mobile phone to the headset 2, and the headset 2 may monitor data interaction between the mobile phone 1 and the headset 1 based on the link information, so as to obtain music transmitted to the headset 1 by the mobile phone, and play the obtained music. After the mobile phone is connected with the earphone, SIRK of the earphone 1 can be obtained, then a specified Value (local Value) is calculated according to the SIRK of the earphone 1 and information in the LE Audio broadcast 2, and the specified Value is compared with a Value of a specified field in the LE Audio broadcast 2. If the specified value is the same as the value of the specified field in the LE Audio broadcast 2, it is determined that the headset 2 has an association relationship with the headset 1 or it may be determined that the headset 2 and the headset are in a combination of 1, that is, it is determined that the headset 1 and the headset 2 are devices that are preconfigured to play Audio played by the same mobile phone together, and then the mobile phone may establish an LE Audio connection (second communication link) with the headset 2. If the specified value is not the same as the value of the specified field in LE Audio broadcast 2, the subsequent procedure is ended. After the LE Audio connection is established with the mobile phone, the earphone 2 can stop monitoring the data interaction between the mobile phone and the earphone 1 and switch to receive the music sent by the mobile phone for playing through the LE Audio connection established with the mobile phone.
Alternatively, the headset 1 may directly retransmit the music sent by the mobile phone to the headset 2 for playing. In this way, after the LE Audio connection is established between the headset 2 and the mobile phone, a request for stopping sending music can be sent to the mobile phone, so that the headset 1 does not need to retransmit the music sent by the mobile phone to the headset 2 for playing. The earphone 2 can directly acquire music from the mobile phone for playing.
Referring to fig. 9, an audio data output apparatus provided by an embodiment of the present application operates on a first audio playing device, where the first audio playing device is associated with a second audio playing device, and the method includes:
and the audio playing unit 610 is configured to, after the first audio playing device sends a broadcast signal, receive, by the first audio playing device, audio data sent by the electronic device through a connection with the electronic device, and play the received audio data, where the connection is established by the electronic device in response to the broadcast signal sent by the first audio playing device.
And an audio transmission unit 620, configured to enable the second audio playing device to obtain, through a connection between the first audio playing device and the electronic device, audio data transmitted by the electronic device to the first audio playing device, until the electronic device establishes a connection with the second electronic device in response to a broadcast signal sent by the second electronic device.
As a way, the audio transmission unit 620 is specifically configured to send, to the second audio playing device, link information of a connection established between the electronic device and the first audio playing device, where the link information is used for the second audio playing device to monitor a target transmission channel to obtain audio data transmitted by the electronic device to the first audio playing device, where the target transmission channel is a transmission channel corresponding to the connection between the electronic device and the first audio playing device.
Alternatively, the audio transmission unit 620 is specifically configured to transmit audio data transmitted by the electronic device through a connection with the first audio playing device to the second audio playing device. Optionally, the audio transmission unit 620 is specifically configured to, in response to a request for stopping transmission of audio data sent by the second audio playing device, stop transmitting audio data sent by the electronic device to the second audio playing device, where the request for stopping transmission of audio data is sent after the second audio playing device establishes a connection with the electronic device.
Optionally, the audio transmission unit 620 is specifically configured to, if the audio data sent by the electronic device to the first audio playing device includes the first channel audio data and the second channel audio data, receive the audio data sent by the electronic device, and play the first channel audio data; transmitting the second channel audio data to the second audio playing device.
As one way, the audio transmission unit 620 is further configured to detect whether link information transmitted by other audio playing devices is stored. The audio transmission unit 620 is further specifically configured to perform the enabling the second audio playing device to obtain, through the connection between the first audio playing device and the electronic device, the audio data transmitted by the electronic device to the first audio playing device if there is no link information transmitted by other audio playing devices.
Referring to fig. 10, an audio data output apparatus provided by an embodiment of the present application is operated on a second audio playing device, where the first audio playing device is associated with the second audio playing device, and the method includes:
the audio playing unit 710 is configured to obtain, through connection between the first audio playing device and the electronic device, audio data transmitted to the first audio playing device by the electronic device after the first audio playing device and the second audio playing device respectively send broadcast signals, and play the audio data;
the audio transmission unit 720 further establishes a second communication link with the electronic device in response to the second audio playing device, and replaces audio data for playing with audio data received based on the second communication link.
According to the audio data output device provided by the embodiment, before the second audio playing device is connected with the electronic device, the audio data output by the electronic device can be obtained through the connection between the first audio playing device and the electronic device, and the audio data are played. So that the first audio playing device and the second audio playing device can play the audio transmitted by the electronic device more synchronously.
The embodiment also provides an audio playing device, which comprises a first audio playing device and a second audio playing device which are mutually related;
after the first audio playing device sends a broadcast signal, the first audio playing device is used for receiving audio data sent by the electronic device through connection with the electronic device and playing the received audio data, wherein the connection is established by the electronic device in response to the broadcast signal sent by the first audio playing device; the second audio playing device is connected with the electronic device through the first audio playing device, and audio data transmitted to the first audio playing device by the electronic device are obtained;
The second audio playing device is used for responding to the connection between the second audio playing device and the electronic device, stopping the connection between the first audio playing device and the electronic device, and acquiring audio data transmitted to the first audio playing device by the electronic device; and receiving the audio data sent by the electronic equipment based on the connection established with the electronic equipment, and playing the received audio data.
It should be noted that, for convenience and brevity, specific working procedures of the apparatus and units described above may refer to corresponding procedures in the foregoing method embodiments, and are not described herein again. In several embodiments provided by the present application, the coupling of the modules to each other may be electrical. In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
An electronic device according to the present application will be described with reference to fig. 11.
Referring to fig. 11, based on the above-mentioned audio data output and apparatus, an embodiment of the present application further provides an audio playing device 1000 capable of executing the foregoing device control method. The audio playback device 1000 comprises one or more (only one is shown in the figure) processors 105, a memory 104, an audio playback module 106 and an audio acquisition means 108 coupled to each other. The memory 104 stores therein a program capable of executing the contents of the foregoing embodiments, and the processor 105 can execute the program stored in the memory 104.
Wherein the processor 105 may include one or more processing cores. The processor 105 utilizes various interfaces and lines to connect various portions of the overall audio playback device 1000, perform various functions of the audio playback device 1000 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 104, and invoking data stored in the memory 104. Alternatively, the processor 105 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 105 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 105 and may be implemented solely by a single communication chip.
The Memory 104 may include random access Memory (Random Access Memory, RAM) or Read-Only Memory (RAM). Memory 104 may be used to store instructions, programs, code sets, or instruction sets. The memory 104 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (e.g., a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described below, etc.
Further, the audio playback apparatus 1000 may include a network module 110 and a sensor module 112 in addition to the aforementioned devices.
The network module 110 is configured to implement information interaction between the audio playing device 1000 and other devices, for example, a connection may be established with other audio playing devices or other electronic devices, and information interaction may be performed based on the established connection. As one way, the network module 110 of the audio playing device 1000 is a radio frequency module, which is used for receiving and sending electromagnetic waves, so as to implement mutual conversion between the electromagnetic waves and the electrical signals, and thus, communicate with a communication network or other devices. The radio frequency module may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and the like. For example, the radio frequency module may interact with external devices through transmitted or received electromagnetic waves.
The sensor module 112 may include at least one sensor. Specifically, the sensor module 112 may include, but is not limited to: pressure sensors, motion sensors, acceleration sensors, and other sensors.
Wherein the pressure sensor may be a sensor that detects the pressure generated by pressing on the audio playback device 1000. That is, the pressure sensor detects a pressure generated by contact or pressing between the user and the audio playback device 1000, for example, a pressure generated by contact or pressing between the user's ear and the audio playback device 1000. Accordingly, the pressure sensor may be used to determine whether contact or pressing has occurred between the user and the audio playback device 1000, as well as the magnitude of the pressure.
The acceleration sensor may detect the acceleration in each direction (typically three axes), and may detect the gravity and direction when stationary, and may be used in applications for recognizing the gesture of the audio playing device 1000 (such as horizontal-vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer, and knocking), and so on. In addition, the audio playing device 1000 may further be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, etc., which will not be described herein.
The audio acquisition device 110 is used for acquiring audio signals. Optionally, the audio capturing device 110 includes a plurality of audio capturing devices, which may be microphones.
Referring to fig. 12, a block diagram of a computer readable storage medium according to an embodiment of the present application is shown. The computer readable medium 1100 has stored therein program code that can be invoked by a processor to perform the methods described in the method embodiments above.
The computer readable storage medium 1100 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Optionally, computer readable storage medium 1100 includes non-volatile computer readable medium (non-transitory computer-readable storage medium). The computer readable storage medium 1100 has storage space for program code 1110 that performs any of the method steps described above. The program code can be read from or written to one or more computer program products. Program code 1110 may be compressed, for example, in a suitable form.
In summary, according to the audio data output method, the audio data output device, the audio playing device and the audio data output device provided by the application, after the first audio playing device sends the broadcast signal, the first audio playing device can receive the audio data sent by the electronic device through the first communication link between the first audio playing device and the electronic device, and play the received audio data. Furthermore, the second audio playing device obtains the audio data transmitted to the first audio playing device by the electronic device through a first communication link between the first audio playing device and the electronic device, and plays the audio data until the electronic device responds to a broadcast signal sent by the second audio playing device to establish connection with the second audio playing device. Therefore, before the second audio playing device establishes connection with the electronic device, the second audio playing device can acquire the audio data output by the electronic device through the connection established between the first audio playing device and the electronic device, and play the audio data. So that the first audio playing device and the second audio playing device can play the audio transmitted by the electronic device more synchronously.
In addition, the audio data output method provided by the embodiment of the application is not only suitable for the first audio playing device and the second audio playing device to be connected with the electronic device for the first time, but also suitable for the first audio playing device and the second audio playing device which are already connected with the electronic device.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be appreciated by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not drive the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (18)

1. An audio data output method, characterized by being applied to an audio playing apparatus including a first audio playing device and a second audio playing device, the method comprising:
after the first audio playing device sends a broadcast signal, the first audio playing device receives audio data sent by the electronic device through a first communication link with the electronic device and plays the received audio data, wherein the first communication link is established by the electronic device in response to the broadcast signal sent by the first audio playing device;
The second audio playing device acquires the audio data transmitted to the first audio playing device by the electronic device based on the first communication link and plays the audio data;
the second audio playing device responds to the second audio playing device to establish a second communication link with the electronic device, and audio data used for playing are replaced by audio data received based on the second communication link.
2. The method of claim 1, wherein the second audio playback device obtains, based on the first communication link, audio data transmitted by the electronic device to the first audio playback device for playback, comprising:
the first audio playing device sends link information of the first communication link to the second audio playing device;
the second audio playing device monitors the first communication link based on the link information of the first communication link to acquire audio data transmitted to the first audio playing device by the electronic device for playing.
3. The method of claim 2, wherein the second audio playback device, in response to the second audio playback device establishing a second communication link with the electronic device, exchanging audio data for playback for audio data received based on the second communication link, comprises:
The second audio playing device responds to the second audio playing device to establish a second communication link with the electronic device, and stops monitoring the first communication link;
the second audio playing device receives the audio data sent by the electronic device based on the second communication link and plays the received audio data.
4. The method of claim 2, wherein the first audio playback device further comprises, prior to transmitting the link information for the first communication link to the second audio playback device:
the first audio playing device detects whether link information transmitted by other audio playing devices is stored or not;
and if no link information transmitted by other audio playing devices exists, the first audio playing device executes the step of transmitting the link information of the first communication link to the second audio playing device.
5. The method of claim 1, wherein the second audio playback device obtains, based on the first communication link, audio data transmitted by the electronic device to the first audio playback device for playback, comprising:
the first audio playing device transmits the audio data transmitted by the electronic device through the first communication link to the second audio playing device through the communication link between the first audio playing device and the second audio playing device, so that the audio data is played by the second audio playing device.
6. The method of claim 5, wherein the second audio playback device, in response to the second audio playback device establishing a second communication link with the electronic device, exchanging audio data for playback for audio data received based on the second communication link, comprises:
the second audio playing device responds to the second audio playing device to establish a second communication link with the electronic device, and sends a request for stopping sending audio data to the first audio playing device;
the second audio playing device receives the audio data sent by the electronic device based on the second communication link and plays the received audio data.
7. The method of claim 5, wherein the first audio playback device receiving audio data sent by the electronic device over a first communication link with the electronic device and playing the received audio data, comprises:
the first audio playing device receives audio data sent by the electronic device through a first communication link between the first audio playing device and the electronic device; if the audio data sent by the electronic equipment comprises first channel audio data and second channel audio data, the first audio playing equipment plays the first channel audio data;
The first audio playing device transmits the audio data transmitted by the electronic device through a first communication link to the second audio playing device through a communication link between the first audio playing device and the second audio playing device, so as to be used for playing by the second audio playing device, and the method comprises the following steps:
the first audio playing device transmits second channel audio data in the audio data transmitted by the electronic device through a first communication link to the second audio playing device.
8. The method of claim 1, wherein after the first audio playback device transmits the broadcast signal, the first audio playback device receives audio data transmitted by the electronic device via a first communication link with the electronic device and plays the received audio data, comprising:
after the first audio playing device sends a broadcast signal, the first audio playing device receives audio data sent by the electronic device through a first communication link between the first audio playing device and the electronic device, and starts playing the received audio data based on the playing starting time negotiated with the second audio playing device;
The second audio playing device obtains the audio data transmitted to the first audio playing device by the electronic device based on the first communication link, and plays the audio data, including:
the second audio playing device obtains the audio data transmitted to the first audio playing device by the electronic device based on the first communication link, so that the second audio playing device starts playing the received audio data based on the starting playing time.
9. The method of claim 1, wherein the second audio playback device obtains the audio data transmitted by the electronic device to the first audio playback device based on the first communication link, and further comprising, prior to playback:
the first audio playing device establishes connection with the second audio playing device.
10. The method of any of claims 1-9, wherein the first audio playback device has an association with the second audio playback device, the first audio playback device being a first earpiece, the second audio playback device being a second earpiece.
11. The method according to any one of claims 1-9, wherein the broadcast signal sent by the first Audio playing device is LE Audio broadcast, the broadcast signal sent by the second Audio playing device is LE Audio broadcast, the connection established between the first Audio playing device and the electronic device is LE Audio connection, and the connection established between the second Audio playing device and the electronic device is LE Audio connection.
12. An audio data output method, applied to a first audio playback device, to which a second audio playback device is associated, comprising:
after the first audio playing device sends a broadcast signal, the first audio playing device receives audio data sent by the electronic device through a first communication link with the electronic device and plays the received audio data, wherein the first communication link is established based on the response of the electronic device to the broadcast signal sent by the first audio playing device;
and enabling the second audio playing device to acquire the audio data transmitted to the first audio playing device by the electronic device based on a first communication link between the first audio playing device and the electronic device, and playing until the electronic device responds to a broadcast signal sent by the second audio playing device to establish a second communication link with the second audio playing device.
13. An audio data output method applied to a second audio playback device associated with a first audio playback device, the method comprising:
After the first audio playing device and the second audio playing device respectively send broadcast signals, the second audio playing device obtains audio data transmitted to the first audio playing device by the electronic device through a first communication link between the first audio playing device and the electronic device, and plays the audio data;
in response to the second audio playback device establishing a second communication link with the electronic device, the second audio playback device exchanges audio data for playback with audio data received based on the second communication link.
14. An audio data output apparatus operable with a first audio playback device associated with a second audio playback device, the apparatus comprising:
the audio playing unit is used for receiving audio data sent by the electronic equipment through a first communication link between the audio playing unit and the electronic equipment after the first audio playing equipment sends a broadcast signal, and playing the received audio data, wherein the first communication link is established based on the response of the electronic equipment to the broadcast signal sent by the first audio playing equipment;
The audio transmission unit is used for enabling the second audio playing device to acquire the audio data transmitted to the first audio playing device by the electronic device based on a first communication link between the first audio playing device and the electronic device, and playing the audio data until the electronic device responds to a broadcast signal sent by the second audio playing device to establish a second communication link with the second audio playing device.
15. An audio data output apparatus operable with a second audio playback device associated with a first audio playback device, the apparatus comprising:
the audio playing unit is used for acquiring audio data transmitted to the first audio playing device by the electronic device through a first communication link between the first audio playing device and the electronic device after the first audio playing device and the second audio playing device respectively send broadcast signals, and playing the audio data;
and the audio transmission unit is used for responding to the second audio playing device and the electronic device to establish a second communication link and replacing audio data used for playing with audio data received based on the second communication link.
16. An audio playing device is characterized by comprising a first audio playing device and a second audio playing device;
after the first audio playing device sends a broadcast signal, the first audio playing device is configured to receive audio data sent by an electronic device through a first communication link with the electronic device, and play the received audio data, where the first communication link is established by the electronic device in response to the broadcast signal sent by the first audio playing device;
the second audio playing device is used for acquiring the audio data transmitted to the first audio playing device by the electronic device based on the first communication link to play;
the second audio playing device is further configured to, in response to the second audio playing device establishing a second communication link with the electronic device, replace audio data for playing with audio data received based on the second communication link.
17. An audio playback device comprising one or more processors and memory;
one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of claim 12 or to perform the method of claim 13.
18. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a program code, wherein the program code when being executed by a processor performs the method of claim 12 or for performing the method of claim 13.
CN202210122257.9A 2022-02-09 2022-02-09 Audio data output method and device, audio playing equipment and device Pending CN116614514A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210122257.9A CN116614514A (en) 2022-02-09 2022-02-09 Audio data output method and device, audio playing equipment and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210122257.9A CN116614514A (en) 2022-02-09 2022-02-09 Audio data output method and device, audio playing equipment and device

Publications (1)

Publication Number Publication Date
CN116614514A true CN116614514A (en) 2023-08-18

Family

ID=87673429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210122257.9A Pending CN116614514A (en) 2022-02-09 2022-02-09 Audio data output method and device, audio playing equipment and device

Country Status (1)

Country Link
CN (1) CN116614514A (en)

Similar Documents

Publication Publication Date Title
CN109347581B (en) Bluetooth headset connection method and device, electronic equipment and storage medium
CN109151212B (en) Equipment control method and device and electronic equipment
CN109413555B (en) Audio output method and device, earphone and electronic equipment
EP2843973B1 (en) Information processing device, information processing method, and program
CN110830970B (en) Audio transmission method, device, equipment and storage medium between Bluetooth equipment
CN105246074A (en) Method and device for establishing connections
CN108810860B (en) Audio transmission method, terminal equipment and main earphone
CN109257732B (en) Equipment control method and device and electronic equipment
CN108319440B (en) Audio output method and mobile terminal
WO2024082906A1 (en) Information acquisition method and apparatus, bluetooth device, terminal device, and storage medium
CN115580944A (en) Audio device connection method and device, storage medium and device
CN116614514A (en) Audio data output method and device, audio playing equipment and device
CN116017235A (en) Volume adjustment method, volume adjustment device and storage medium
CN115278624A (en) Information updating method and device, audio sharing method and system and electronic equipment
CN114639392A (en) Audio processing method and device, electronic equipment and storage medium
CN111741040B (en) Connection establishing method, address obtaining method, device, equipment and storage medium
CN110944316A (en) Device connection method and device
WO2023246045A1 (en) Device connection method and apparatus, audio playing device and apparatus, and storage medium
CN113556716B (en) Image content sharing method and device and head-mounted display equipment
CN114173315B (en) Bluetooth reconnection method and terminal equipment
CN116744244B (en) Communication method, storage medium and electronic equipment
CN114339350B (en) Data processing method and device and electronic equipment
WO2024119944A1 (en) Parameter configuration method and apparatus, audio device group, and readable storage medium
CN117406654B (en) Sound effect processing method and electronic equipment
EP4123642A1 (en) Audio transmission method and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination