WO2019205054A1 - Wireless audio communication method and apparatus, and audio playback device and system - Google Patents

Wireless audio communication method and apparatus, and audio playback device and system Download PDF

Info

Publication number
WO2019205054A1
WO2019205054A1 PCT/CN2018/084612 CN2018084612W WO2019205054A1 WO 2019205054 A1 WO2019205054 A1 WO 2019205054A1 CN 2018084612 W CN2018084612 W CN 2018084612W WO 2019205054 A1 WO2019205054 A1 WO 2019205054A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
playback device
audio
audio source
source device
Prior art date
Application number
PCT/CN2018/084612
Other languages
French (fr)
Chinese (zh)
Inventor
谢冠宏
Original Assignee
万魔声学科技有限公司
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 万魔声学科技有限公司 filed Critical 万魔声学科技有限公司
Priority to CN201880000417.4A priority Critical patent/CN108513702A/en
Priority to PCT/CN2018/084612 priority patent/WO2019205054A1/en
Publication of WO2019205054A1 publication Critical patent/WO2019205054A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1829Arrangements specially adapted for the receiver end
    • H04L1/1861Physical mapping arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • the embodiments of the present invention relate to the field of audio wireless transmission technologies, for example, to an audio wireless communication method, apparatus, and audio playback device and system.
  • wireless binaural Bluetooth earphones have become more and more popular among users because of their convenient use.
  • a wireless connection is established between the earphones in the Bluetooth earphone as the first playing device and the audio source device, and the other A headset as a second playback device acquires a data packet sent by the audio source device to the first playback device by using a monitoring mode.
  • the two earphones obtain the audio of the audio source device, so that the audio of the audio source device can be played on both the left and right channels, and stereo playback is realized.
  • the inventors have found that in the related art, since the second playback device has no direct connection relationship with the audio source device, it is difficult to handle the data reception error or the loss of the data packet of the second playback device. As a result, the second playback device receives incomplete data and the audio cannot be played normally.
  • An object of the embodiments of the present application is to provide an audio wireless communication method and apparatus, and an audio playback device and system, which can ensure the integrity of the data received by the second playback device without directly communicating with the audio source device.
  • an embodiment of the present application provides an audio wireless communication method, where the audio playback device includes a first playback device and a second playback device, and the method includes:
  • the first playing device performs wireless communication with the audio source device to acquire data sent by the audio source device;
  • the second playback device acquires data from the audio source device by means of data interception during at least part of the wireless communication process
  • the interference signal is sent out to enable the audio source device to resend the data.
  • the method further includes:
  • the method further includes:
  • the first playback device receives the data incorrectly, sending a reception failure signal to the audio source device to cause the audio source device to resend the data.
  • the method further includes:
  • the method further includes:
  • the embodiment of the present application further provides an audio wireless communication method, where the method includes:
  • the interference signal is sent out to cause the audio source device to resend the data.
  • the method further includes:
  • the acknowledgment receiving signal sent when the first playing device successfully receives the data, or the receiving failure signal sent when the first playing device receives the data incorrectly is obtained by means of data interception.
  • the embodiment of the present application further provides an audio wireless communication device, where the audio playback device includes a first playback device and a second playback device, and the device includes:
  • a data acquisition module for the first playback device configured to perform wireless communication with the audio source device by the first playback device, and acquire data sent by the audio source device;
  • a listening module for the second playing device configured to acquire data from the audio source device by means of data interception during at least part of the wireless communication process
  • An interference signal sending module for the second playing device configured to send an interference signal to the audio source device to resend the data if the second playing device acquires data incorrectly.
  • the device further includes:
  • An acknowledgment signal sending module for the first playing device configured to send an acknowledgment receiving signal to the audio source device if the first playing device receives the data, and if the first playing device receives the data incorrectly Sending a reception failure signal to the audio source device to cause the audio source device to resend data.
  • the device further includes:
  • An acknowledgment signal receiving module for the second playing device configured to: when the second playing device receives the data, obtain an acknowledgment receiving signal sent by the first playing device when the data is received by the data listening manner, Or the receiving failure signal sent by the first playing device when the data is incorrect.
  • the embodiment of the present application further provides an audio wireless communication device, where the device includes:
  • a listening module configured to acquire data from the audio source device by means of data interception during at least part of a wireless communication process between the first playback device and the audio source device;
  • the interference signal sending module is configured to send an interference signal outward if the data is acquired incorrectly, so that the audio source device resends the data.
  • the device further includes:
  • the acknowledgment signal receiving module is configured to: if the data is successfully received, acquire an acknowledgment receiving signal sent when the first playing device successfully receives data by using data interception, or the first playing device receives the data incorrectly Receive failure signal sent at the time.
  • the embodiment of the present application further provides a second playing device, including:
  • At least one second processor At least one second processor
  • the second memory stores instructions executable by the at least one second processor, the instructions being executed by the at least one second processor to enable the at least one second processor to perform the second The method described in the aspects.
  • the embodiment of the present application further provides an audio playback device, including:
  • the embodiment of the present application further provides an audio playing system, where the system includes:
  • An audio source device for providing audio data
  • the audio playback device is configured to play the audio data on the first playback device and the second playback device.
  • the embodiment of the present application further provides a non-transitory computer readable storage medium, where the computer-readable storage medium stores computer executable instructions that can be executed when the computer executable instructions are executed The method of the above first aspect or second aspect.
  • the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when When the program instructions are executed, the method of the first aspect or the second aspect described above can be performed.
  • the second playback device when the second playback device acquires data incorrectly, the second playback device sends an interference signal, and the interference signal may prevent the audio source device from receiving other signals. Therefore, when the second playback device receives data error or loses data, the audio source device will not receive other signals due to the interference signal transmitted by the second playback device.
  • the audio source device can re-send the data to the first playback device, and the second playback device can obtain the data sent by the audio source device by means of the interception, so that the second playback device can completely receive the audio source device.
  • the data ensures the integrity of the data received by the second playback device.
  • FIG. 1a and 1b are schematic diagrams of application scenarios of an audio wireless communication method and apparatus of the present application.
  • FIG. 2 is a schematic diagram of a communication mode between an audio source device, a first playback device, and a second playback device in the embodiment of the present application;
  • FIG. 3 is a flow chart of one embodiment of an audio wireless communication method of the present application.
  • FIG. 4 is a schematic diagram showing the operation sequence of the audio source device, the first playback device, and the second playback device in the embodiment of the present application;
  • FIG. 5 is a schematic structural diagram of an embodiment of an audio wireless communication device of the present application.
  • FIG. 6 is a schematic structural diagram of an embodiment of an audio wireless communication device of the present application.
  • FIG. 7 is a schematic structural diagram of hardware of a first playback device according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of hardware of a second playback device according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of hardware of an audio playback device according to an embodiment of the present application.
  • the audio wireless communication method and apparatus provided by the embodiments of the present application are applicable to the application scenarios shown in FIG. 1a and FIG. 1b.
  • an audio playback device 10 and an audio source device 20 are included, wherein the audio source device 20 can be any suitable type of electronic device capable of providing one or more audio content.
  • the audio source device 20 can be any suitable type of electronic device capable of providing one or more audio content.
  • the audio playback device 10 includes a first playback device 11 and a second playback device 12.
  • the audio playback device 10 can be any suitable electronic device capable of supporting multi-channel audio data, such as stereo headphones, 2.1 channel speakers, 5.1 sounds. Channel audio, stereo speakers or other suitable type of speaker set.
  • the first playback device 11 and the second playback device 12 are only used to indicate a speaker portion for playing different channels.
  • the first playback device 11 may be a left channel headset
  • the second playback device 12 For the right channel headphones.
  • the audio source device 20 and the first playback device 11 can establish a wireless communication connection (for example, a Bluetooth communication connection) to transmit data sent by the audio source device 20 to the first playback device 11, the first playback device.
  • a wireless communication connection for example, a Bluetooth communication connection
  • the second playback device 12 establishes a wireless communication connection (eg, Bluetooth connection, WIFI connection, etc.) to transmit the connection key, address, and the like of the audio source device 20 to the second playback device 12. Therefore, the second playback device 12 can obtain the data sent by the audio source device 20 to the first playback device 11 by means of data interception.
  • the second playback device 12 does not establish a true communication connection with the audio source device 20, it only acquires data from the audio source device 20 unilaterally.
  • the embodiment of the present application is When the second playback device 12 acquires data through the interception mode (for example, receiving data error or losing data), the second playback device 12 sends an interference signal to prevent the audio source device 20 from receiving other signals. Therefore, when the second playback device 12 receives data errors or loses data, the audio source device 20 will not receive other signals due to the interference signals transmitted by the second playback device 12.
  • the audio source device 20 re-sends the data to the first playback device 11, and the second playback device 12 can obtain the data sent by the audio source device 20 by means of the interception, thereby ensuring the integrity of the data received by the second playback device 12. Sex.
  • the embodiment of the present application provides an audio wireless communication method, which may be performed by the audio playback device 10 in FIG. 1a and FIG. 1b. As shown in FIG. 3, the method includes:
  • the first playing device 11 performs wireless communication with the audio source device 20 to acquire data transmitted by the audio source device 20.
  • the second playback device 12 acquires data from the audio source device 20 by means of data interception during at least part of the wireless communication process.
  • phase A in FIG. 2 and FIG. 4 wherein T1 represents the timing of the audio source device 20, T2 represents the timing of the first playback device 11, and T3 represents the timing of the second playback device 12
  • the first playback device 11 and The audio source device 20 establishes a wireless communication connection through the connection information A and the connection information B.
  • the first playback device 11 and the second playback device 12 establish a wireless communication connection by using the connection information C and the connection information D, and send information such as a connection key and an address of the audio source device 20 to the second playback device 12, and the second playback device
  • the information of the audio source device 20 and the first playback device 11 can be monitored by the information, and the data sent by the audio source device 20 to the first playback device 11 can be obtained.
  • the audio source device 20 starts to send data to the first playback device 11, the first playback device 11 receives the data sent by the audio source device 20, and the second playback device 12 acquires the audio source by means of interception.
  • the interference signal is sent out to prevent the audio source device from receiving the acknowledgement received signal.
  • an acknowledgment receipt signal is sent to the audio source device 20 to inform the audio source device 20 that the next packet of data can be transmitted.
  • the audio source device may also be notified by the other signal (eg, a clock signal) to transmit the next packet of data.
  • the interference signal is sent out. If the audio source device 20 does not receive the acknowledged received signal or other signal due to the presence of the interference signal, the data is retransmitted.
  • an acknowledgment receiving signal is sent to the audio source device 20 to inform the audio source device 20 that the next packet data can be sent as an example.
  • the first playback device 11 when the first playback device 11 successfully receives the data sent by the audio source device 20, the first playback device 11 sends an acknowledgment reception signal (which can be sent by the ACK signal) to the audio source device 20, The audio source device 20 is required to transmit the next data packet. If the second playback device 12 does not successfully obtain the data that the audio source device 20 sends to the first playback device 11 (eg, receives data error or loses data), then the first playback device 11 transmits an acknowledgment received signal to the audio source device 20. During the same period, the second playback device 12 transmits an interference signal to the outside.
  • the second playback device 12 transmits an interference signal to the outside.
  • the audio source device 20 will not receive the acknowledgement received signal, so that the first playback device 11 does not receive the previous packet data, and the packet data is automatically retransmitted.
  • the second playback device 12 can obtain the data retransmitted by the audio source device 20 by means of the interception to ensure that the second playback device 12 completely receives the data sent by the audio source device 20.
  • the audio source device 20 will receive the first playback device 11 because there is no interference signal.
  • the received signal is acknowledged and the next packet of data is started to be transmitted, and both the first playback device 11 and the second playback device 12 are ready to receive the next packet of data.
  • the interference signal may be in various forms, for example, a signal with the same frequency and a higher power is used, which is not limited in this embodiment.
  • the communication process between the two is normal point-to-point communication, and therefore, the integrity of the data received by the first playback device 11 has a certain Protection.
  • the audio source device 20 is provided to the audio source device 20 in order to prevent the first playback device 11 from receiving data errors or data loss.
  • Send a reception failure signal may be sent by using an ACK signal.
  • the data packet is retransmitted.
  • the first playback device 11 already knows that the previous packet data has a problem and needs to receive the retransmitted data packet, and when the second playback device 12 acquires the data packet retransmitted by the audio source device 20, the packet data is found to be the same as the previous packet data. The packet data will be automatically discarded or overwritten without affecting the reception of the previous packet of data.
  • the first playback device 11 sends a reception failure signal to the audio source device 20, and the second playback device 12 transmits the interference signal. Due to the presence of the interfering signal, the audio source device 20 will not receive any signal from the first playback device 11, and will therefore retransmit the data packet.
  • the first playback device 11 and the second playback device 12 both know that there is a problem with the previous packet data, and receive the data packet retransmitted by the audio source device 20, so that both the first playback device 11 and the second playback device 12 can receive the packet normally. data.
  • the first playing device 11 transmits the acknowledgment receiving signal or the receiving failure signal to the audio source device 20, and the second playing device listens through the data.
  • the method obtains the acknowledgement receiving signal or the receiving failure signal.
  • the second playback device 12 receives the data incorrectly, the first playback device 11 transmits the interference signal to the audio source device 20 while transmitting the acknowledgement signal or the reception failure signal, and the second playback device 12 successfully receives the interference signal.
  • the second playback device 12 is also in the receiving state, and the first playback device is acquired by means of data interception.
  • the obtained data packet is discarded, covered, or received.
  • the first playback device 11 transmits only the acknowledgment reception signal or the reception failure signal to the audio source device 20.
  • the second playback device 12 receives the data incorrectly, the first playback device 11 transmits the interference signal to the audio source device 20 during the same period of time to send the acknowledgement received signal or the receive failure signal, and the second playback device 12 successfully receives the interference signal.
  • the second playback device 12 does not confirm the case where the first playback device 11 receives the data packet, and only determines the data packet when the data packet sent by the audio source device 20 is acquired, if the data packet is followed by the received previous data packet. If the packet is the same, the packet is discarded or overwritten, otherwise it is received.
  • the first playback device 11 may also send an acknowledgment received signal to the second playback device 12 only when transmitting the acknowledgment received signal to the audio source device 20, or only to the audio source.
  • the device 20 transmits a reception failure signal to the second playback device 12 while transmitting the reception failure signal.
  • the second playback device 12 confirms that the first playback device 11 receives the previous packet data only by the acknowledge receipt signal or only the reception failure signal, thereby determining that the audio source device 20 transmits the new packet again. It is also a resent packet to determine whether to discard, overwrite, or receive the obtained packet.
  • the embodiment of the present application can enable the second playback device to completely receive data sent by the audio source device, and ensure the integrity of the data received by the second playback device.
  • the embodiment of the present application further provides an audio wireless communication method separately performed by the first playback device 11 and the second playback device 12.
  • the specific technical details may refer to the portion of the foregoing method and the second playback device 12 that are respectively performed by the first playback device 11. The part of the implementation will not be repeated here.
  • the embodiment of the present application further provides an audio wireless communication device for the audio playback device 10 of FIG. 1a and FIG. 1b.
  • the audio wireless communication device 200 includes:
  • the data acquisition module 201 for the first playback device 11 is used for the listening module 202 and the interference signal sending module 203 of the second playback device 12.
  • the first playback device 11 performs wireless communication with the audio source device 20 to acquire data transmitted by the audio source device 20.
  • the second playback device 12 acquires data from the audio source device 20 by means of data snooping during at least a portion of the wireless communication process. If the second playback device 12 acquires data incorrectly, the interference signal sending module 203 sends an interference signal to the audio source device to resend the data.
  • the second playback device when the second playback device acquires data incorrectly, the second playback device sends an interference signal, and the interference signal may prevent the audio source device from receiving other signals. Therefore, when the second playback device receives data error or loses data, the audio source device will not receive other signals due to the interference signal transmitted by the second playback device.
  • the audio source device can re-send the data to the first playback device, and the second playback device can obtain the data sent by the audio source device by means of the interception, so that the second playback device can completely receive the audio source device.
  • the data ensures the integrity of the data received by the second playback device.
  • the audio wireless communication device 200 further includes:
  • An acknowledgment signal sending module 204 for the first playing device 11 is configured to send an acknowledgment receiving signal to the audio source device 20 if the first playing device 11 receives the data, and if the first playing device 11 receives the data incorrectly, A reception failure signal is transmitted to the audio source device 20 to cause the audio source device 20 to resend the data.
  • the audio wireless communication device 200 further includes:
  • the acknowledgment signal receiving module 205 for the second playing device 12 is configured to obtain, when the second playing device 12 successfully receives the data, the acknowledgment receiving sent when the first playing device 11 successfully receives the data by means of data interception. The signal, or the reception failure signal sent by the first playback device 11 when the data is received incorrectly.
  • the audio wireless communication device may perform the audio wireless communication method provided by the embodiment of the present application, and has a function module and a beneficial effect corresponding to the execution method.
  • the audio wireless communication method provided by the embodiments of the present application.
  • the embodiment of the present application further provides an audio wireless communication device only for the first playback device 11 and only for the second playback device 12.
  • the specific technical details may refer to the portion of the above device for the first playback device 11 and The portion used for the second playback device 12 will not be described herein.
  • FIG. 7 is a schematic structural diagram of a hardware of a first playback device 11 according to an embodiment of the present disclosure. As shown in FIG. 7, the first playback device 11 includes:
  • the first communication unit 111 is configured to communicate with the audio source device 20 and the second playback device 12 by the first playback device 11;
  • One or more first processors 112 and a first memory 113 are exemplified by a first processor 112 in FIG.
  • the first processor 112 and the first memory 113 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the first memory 113 is a non-volatile computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, as in the audio wireless communication method in the embodiment of the present application.
  • Program instructions/units e.g., data acquisition module 201 shown in Figure 5
  • the first processor 112 executes various functional applications and data processing of the first playback device by running non-volatile software programs, instructions, and units stored in the first memory 113, that is, implementing the above-described method embodiments of the audio wireless communication. method.
  • the first memory 113 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the first playback device, and the like. Further, the first memory 113 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, the first memory 113 can optionally include a memory remotely located relative to the first processor 112, which can be connected to the first playback device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the one or more units are stored in the first memory 113, and when executed by the one or more first processors 112, perform an audio wireless communication method in any of the above method embodiments, for example, performing the above
  • the method step 101 of FIG. 3 is described to implement the functions of the module 201 in FIG. 5 and the modules 201 and 204 in FIG.
  • the foregoing first playing device can perform the audio wireless communication method provided by the embodiment of the present application, and has a function module and a beneficial effect corresponding to the execution method.
  • the audio wireless communication method provided by the embodiment of the present application.
  • FIG. 8 is a schematic diagram of a hardware structure of a second playback device 12 according to an embodiment of the present disclosure. As shown in FIG. 8, the second playback device 12 includes:
  • the second communication unit 121 is configured to communicate with the first playback device 11 by the second playback device 12;
  • One or more second processors 122 and a second memory 123 are exemplified by a second processor 122 in FIG.
  • the second processor 122 and the second memory 123 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the second memory 123 is a non-volatile computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, as in the audio wireless communication method in the embodiment of the present application.
  • Program instructions/units for example, the listening module 202 and the interference signal transmitting module 203 shown in FIG. 5.
  • the second processor 122 executes various functional applications and data processing of the second playback device by executing non-volatile software programs, instructions, and units stored in the second memory 123, that is, implementing the above-described method embodiments of the audio wireless communication method.
  • the second memory 123 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the second playback device, and the like. Further, the second memory 123 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, the second memory 123 can optionally include a memory remotely located relative to the second processor 122, which can be connected to the second playback device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the one or more units are stored in the second memory 123, and when executed by the one or more second processors 122, perform the audio wireless communication method in any of the above method embodiments, for example, performing the above
  • the method steps 102 and 103 of FIG. 3 are described to implement the functions of modules 202 and 203 in FIG. 5, and modules 202, 203, and 205 in FIG.
  • the foregoing second playing device can perform the audio wireless communication method provided by the embodiment of the present application, and has a function module and a beneficial effect corresponding to the execution method.
  • the audio wireless communication method provided by the embodiments of the present application.
  • Embodiments of the present application provide a non-transitory computer readable storage medium storing computer-executable instructions that are executed by one or more processors, for example, to perform the above
  • the method steps 101 to 103 in FIG. 3 are described to implement the functions of the modules 201-203 and the modules 201-205 in FIG.
  • FIG. 9 is a schematic diagram of a hardware structure of an audio processing device 10 according to an embodiment of the present disclosure, including a first playback device 11 and a second playback device 12, wherein the first playback device 11 is provided with the functions described in the foregoing first playback device embodiment.
  • the second playback device 12 is provided with the functions and structures described in the foregoing second playback device embodiment.
  • the descriptions in the foregoing first playback device embodiment and the second playback device embodiment refer to the descriptions in the foregoing first playback device embodiment and the second playback device embodiment.
  • the embodiment of the present application further provides an audio playing system, including the audio source device 20 and the audio playing device 10 described in any of the above embodiments.
  • the audio source device 20 is configured to provide audio data
  • the audio playing device 10 is used in the first A playback device 11 and a second playback device 12 play the audio data.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • the embodiments can be implemented by means of software plus a general hardware platform, and of course, by hardware.
  • a person skilled in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

Embodiments of the present application relate to a wireless audio communication method and apparatus and an audio playback device and system. The method comprises: a first playback device communicating wirelessly with an audio source device to acquire data sent by the audio source device; during at least part of the duration of a wireless communication process, a second playback device acquiring data from the audio source apparatus by means of data interception; and if the second playback device acquires the data incorrectly, sending out an interference signal, such that the audio source device resends the data. The embodiments of the present application allow the second playback device to completely receive the data delivered by the audio source device and to ensure the integrity of data received by the second playback device.

Description

音频无线通信方法、装置和音频播放设备、系统Audio wireless communication method, device and audio playing device, system 技术领域Technical field
本申请实施例涉及音频无线传输技术领域,例如涉及一种音频无线通信方法、装置和音频播放设备、系统。The embodiments of the present invention relate to the field of audio wireless transmission technologies, for example, to an audio wireless communication method, apparatus, and audio playback device and system.
背景技术Background technique
近年来,无线双耳蓝牙耳机由于其使用方便,越来越受到用户的欢迎,现有技术中,通过采用将蓝牙耳机中的一个耳机作为第一播放设备与音频源设备建立无线连接,而另一个耳机作为第二播放设备通过监听方式获取音频源设备发送给第一播放设备的数据包。以此方式使两个耳机均获得音频源设备的音频,从而实现在左、右声道均可播放音频源设备的音频,实现立体声播放。In recent years, wireless binaural Bluetooth earphones have become more and more popular among users because of their convenient use. In the prior art, a wireless connection is established between the earphones in the Bluetooth earphone as the first playing device and the audio source device, and the other A headset as a second playback device acquires a data packet sent by the audio source device to the first playback device by using a monitoring mode. In this way, the two earphones obtain the audio of the audio source device, so that the audio of the audio source device can be played on both the left and right channels, and stereo playback is realized.
然而,在研究现有技术的过程中,发明人发现相关技术中由于第二播放设备与音频源设备没有直接连接关系,很难处理好第二播放设备的数据接收错误或者丢失数据包的情况,从而导致第二播放设备接收数据不完整、音频不能正常被播放。However, in the process of studying the prior art, the inventors have found that in the related art, since the second playback device has no direct connection relationship with the audio source device, it is difficult to handle the data reception error or the loss of the data packet of the second playback device. As a result, the second playback device receives incomplete data and the audio cannot be played normally.
发明内容Summary of the invention
本申请实施例的一个目的是提供一种音频无线通信方法、装置和音频播放设备、系统,能保证第二播放设备在不直接与音频源设备通信连接的情况下,接收数据的完整性。An object of the embodiments of the present application is to provide an audio wireless communication method and apparatus, and an audio playback device and system, which can ensure the integrity of the data received by the second playback device without directly communicating with the audio source device.
第一方面,本申请实施例提供了一种音频无线通信方法,用于音频播放设备,所述音频播放设备包括第一播放设备和第二播放设备,所述方法包括:In a first aspect, an embodiment of the present application provides an audio wireless communication method, where the audio playback device includes a first playback device and a second playback device, and the method includes:
所述第一播放设备与音频源设备进行无线通信,获取音频源设备发送的数据;The first playing device performs wireless communication with the audio source device to acquire data sent by the audio source device;
在所述无线通信过程的至少一部分时间内,所述第二播放设备通过数据侦听的方式获取来自音频源设备的数据;The second playback device acquires data from the audio source device by means of data interception during at least part of the wireless communication process;
如果所述第二播放设备获取数据有误,则向外发送干扰信号,以使所述音频源设备重新发送所述数据。If the second playback device acquires data incorrectly, the interference signal is sent out to enable the audio source device to resend the data.
可选的,所述方法还包括:Optionally, the method further includes:
如果所述第一播放设备接收到所述数据,则向所述音频源设备发送确认接收信号。And if the first playing device receives the data, sending an acknowledgement receiving signal to the audio source device.
可选的,所述方法还包括:Optionally, the method further includes:
如果所述第一播放设备接收数据有误,则向所述音频源设备发送接收失败信号,以使所述音频源设备重新发送数据。If the first playback device receives the data incorrectly, sending a reception failure signal to the audio source device to cause the audio source device to resend the data.
可选的,所述方法还包括:Optionally, the method further includes:
如果所述第二播放设备成功接收到所述数据,通过数据侦听的方式获取所述第一播放设备发送的所述确认接收信号。And if the second playing device successfully receives the data, acquiring the acknowledgement receiving signal sent by the first playing device by means of data interception.
可选的,所述方法还包括:Optionally, the method further includes:
如果所述第二播放设备成功接收到所述数据,通过数据侦听的方式获取所述第一播放设备发送的所述接收失败信号。And if the second playing device successfully receives the data, acquiring the receiving failure signal sent by the first playing device by means of data interception.
第二方面,本申请实施例还提供了一种音频无线通信方法,用于第二播放设备,所述方法包括:In a second aspect, the embodiment of the present application further provides an audio wireless communication method, where the method includes:
在第一播放设备与音频源设备进行无线通信过程的至少一部分时间内,通过数据侦听的方式获取来自音频源设备的数据;Obtaining data from the audio source device by means of data interception during at least part of a wireless communication process between the first playback device and the audio source device;
如果获取数据有误,则向外发送干扰信号,以使所述音频源设备重新发送所述数据。If the acquired data is incorrect, the interference signal is sent out to cause the audio source device to resend the data.
可选的,所述方法还包括:Optionally, the method further includes:
如果成功接收到所述数据,通过数据侦听的方式获取所述第一播放设备成功接收到数据时发送的确认接收信号,或所述第一播放设备接收数据有误时发送的接收失败信号。If the data is successfully received, the acknowledgment receiving signal sent when the first playing device successfully receives the data, or the receiving failure signal sent when the first playing device receives the data incorrectly is obtained by means of data interception.
第三方面,本申请实施例还提供了一种音频无线通信装置,用于音频播放设备,所述音频播放设备包括第一播放设备和第二播放设备,所述装置包括:In a third aspect, the embodiment of the present application further provides an audio wireless communication device, where the audio playback device includes a first playback device and a second playback device, and the device includes:
用于第一播放设备的数据获取模块,用于所述第一播放设备与音频源设备进行无线通信,获取音频源设备发送的数据;a data acquisition module for the first playback device, configured to perform wireless communication with the audio source device by the first playback device, and acquire data sent by the audio source device;
用于第二播放设备的侦听模块,用于在所述无线通信过程的至少一部分时间内,所述第二播放设备通过数据侦听的方式获取来自音频源设备的数据;a listening module for the second playing device, configured to acquire data from the audio source device by means of data interception during at least part of the wireless communication process;
用于第二播放设备的干扰信号发送模块,用于如果所述第二播放设备获取数据有误,向外发送干扰信号,以使所述音频源设备重新发送所述数据。An interference signal sending module for the second playing device, configured to send an interference signal to the audio source device to resend the data if the second playing device acquires data incorrectly.
可选的,所述装置还包括:Optionally, the device further includes:
用于第一播放设备的确认信号发送模块,用于如果所述第一播放设备接收到所述数据,向所述音频源设备发送确认接收信号,以及如果所述第一播放设备接收数据有误,向所述音频源设备发送接收失败信号,以使所述音频源设备重新发送数据。An acknowledgment signal sending module for the first playing device, configured to send an acknowledgment receiving signal to the audio source device if the first playing device receives the data, and if the first playing device receives the data incorrectly Sending a reception failure signal to the audio source device to cause the audio source device to resend data.
可选的,所述装置还包括:Optionally, the device further includes:
用于第二播放设备的确认信号接收模块,用于如果所述第二播放设备接收到所述数据,通过数据侦听的方式获取所述第一播放设备接收到数据时发送的确认接收信号,或所述第一播放设备接收数据有误时发送的接收失败信号。An acknowledgment signal receiving module for the second playing device, configured to: when the second playing device receives the data, obtain an acknowledgment receiving signal sent by the first playing device when the data is received by the data listening manner, Or the receiving failure signal sent by the first playing device when the data is incorrect.
第四方面,本申请实施例还提供了一种音频无线通信装置,用于第二播放设备,所述装置包括:In a fourth aspect, the embodiment of the present application further provides an audio wireless communication device, where the device includes:
侦听模块,用于在第一播放设备与音频源设备进行无线通信过程的至少一部分时间内,通过数据侦听的方式获取来自音频源设备的数据;a listening module, configured to acquire data from the audio source device by means of data interception during at least part of a wireless communication process between the first playback device and the audio source device;
干扰信号发送模块,用于如果获取数据有误,向外发送干扰信号,以使所述音频源设备重新发送所述数据。The interference signal sending module is configured to send an interference signal outward if the data is acquired incorrectly, so that the audio source device resends the data.
可选的,所述装置还包括:Optionally, the device further includes:
确认信号接收模块,用于如果成功接收到所述数据,通过数据侦听的方式获取所述第一播放设备成功接收到数据时发送的确认接收信号,或所述第一播放设备接收数据有误时发送的接收失败信号。The acknowledgment signal receiving module is configured to: if the data is successfully received, acquire an acknowledgment receiving signal sent when the first playing device successfully receives data by using data interception, or the first playing device receives the data incorrectly Receive failure signal sent at the time.
第五方面,本申请实施例还提供了一种第二播放设备,包括:In a fifth aspect, the embodiment of the present application further provides a second playing device, including:
第二通讯单元;Second communication unit;
至少一个第二处理器;以及,At least one second processor; and,
与所述至少一个第二处理器通信连接的第二存储器;其中,a second memory communicatively coupled to the at least one second processor; wherein
所述第二存储器存储有可被所述至少一个第二处理器执行的指令,所述指令被所述至少一个第二处理器执行,以使所述至少一个第二处理器能够执行上述第二方面所述的方法。The second memory stores instructions executable by the at least one second processor, the instructions being executed by the at least one second processor to enable the at least one second processor to perform the second The method described in the aspects.
第六方面,本申请实施例还提供了一种音频播放设备,包括:In a sixth aspect, the embodiment of the present application further provides an audio playback device, including:
第一播放设备和上述的第二播放设备。The first playback device and the second playback device described above.
第七方面,本申请实施例还提供了一种音频播放系统,所述系统包括:In a seventh aspect, the embodiment of the present application further provides an audio playing system, where the system includes:
音频源设备,用于提供音频数据;以及An audio source device for providing audio data;
上述的音频播放设备,所述音频播放设备用于在第一播放设备和第二播放 设备播放所述音频数据。In the above audio playback device, the audio playback device is configured to play the audio data on the first playback device and the second playback device.
第八方面,本申请实施例还提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,当所述计算机可执行指令被执行时,能够执行上述第一方面或第二方面所述的方法。In an eighth aspect, the embodiment of the present application further provides a non-transitory computer readable storage medium, where the computer-readable storage medium stores computer executable instructions that can be executed when the computer executable instructions are executed The method of the above first aspect or second aspect.
第九方面,本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被执行时,能够执行上述第一方面或第二方面所述方法。In a ninth aspect, the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when When the program instructions are executed, the method of the first aspect or the second aspect described above can be performed.
本申请实施例在第二播放设备获取数据有误时,由第二播放设备向外发送干扰信号,所述干扰信号可以阻止所述音频源设备接收其他信号。因此当第二播放设备接收数据错误或者丢失数据时,由于受第二播放设备发送的干扰信号的影响,音频源设备将接收不到其他信号。则音频源设备重新下发数据给第一播放设备,第二播放设备可以再次通过侦听的方式获得音频源设备下发的数据,从而使第二播放设备可以完整的接收音频源设备下发的数据,保证第二播放设备接收数据的完整性。In the embodiment of the present application, when the second playback device acquires data incorrectly, the second playback device sends an interference signal, and the interference signal may prevent the audio source device from receiving other signals. Therefore, when the second playback device receives data error or loses data, the audio source device will not receive other signals due to the interference signal transmitted by the second playback device. The audio source device can re-send the data to the first playback device, and the second playback device can obtain the data sent by the audio source device by means of the interception, so that the second playback device can completely receive the audio source device. The data ensures the integrity of the data received by the second playback device.
附图说明DRAWINGS
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。The one or more embodiments are exemplified by the accompanying drawings in the accompanying drawings, and FIG. The figures in the drawings do not constitute a scale limitation unless otherwise stated.
图1a和图1b是本申请音频无线通信方法和装置的应用场景示意图;1a and 1b are schematic diagrams of application scenarios of an audio wireless communication method and apparatus of the present application;
图2是本申请实施例中音频源设备、第一播放设备和第二播放设备间通信方式的示意图;2 is a schematic diagram of a communication mode between an audio source device, a first playback device, and a second playback device in the embodiment of the present application;
图3是本申请音频无线通信方法的一个实施例的流程图;3 is a flow chart of one embodiment of an audio wireless communication method of the present application;
图4是本申请实施例中音频源设备、第一播放设备和第二播放设备的运行时序示意图;4 is a schematic diagram showing the operation sequence of the audio source device, the first playback device, and the second playback device in the embodiment of the present application;
图5是本申请音频无线通信装置的一个实施例的结构示意图;5 is a schematic structural diagram of an embodiment of an audio wireless communication device of the present application;
图6是本申请音频无线通信装置的一个实施例的结构示意图;6 is a schematic structural diagram of an embodiment of an audio wireless communication device of the present application;
图7是本申请实施例第一播放设备的硬件结构示意图;7 is a schematic structural diagram of hardware of a first playback device according to an embodiment of the present application;
图8是本申请实施例第二播放设备的硬件结构示意图;以及8 is a schematic structural diagram of hardware of a second playback device according to an embodiment of the present application;
图9是本申请实施例音频播放设备的硬件结构示意图。FIG. 9 is a schematic structural diagram of hardware of an audio playback device according to an embodiment of the present application.
具体实施方式detailed description
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. It is a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
本申请实施例提供的音频无线通信方法和装置,适用于图1a和图1b所示的应用场景。在图1a和图1b所示的应用场景中,包括音频播放设备10和音频源设备20,其中,音频源设备20可以是任何合适的、能提供一个或者多个音频内容的各类型电子设备,例如智能手机、平板电脑、MP3播放器、个人电脑、CD机等。音频播放设备10包括第一播放设备11和第二播放设备12,音频播放设备10可以是任何合适的、能支持多声道播放音频数据的电子设备,例如立体声耳机、2.1声道喇叭、5.1声道音响、立体声喇叭或者其它合适类型的扬声器组。第一播放设备11和第二播放设备12仅用以表示用以播放不同声道的扬声器部分,例如,对于立体声耳机而言,第一播放设备11可以是左声道耳机,第二播放设备12为右声道耳机。当然,也可以用第一播放设备11表示右声道耳机,第二播放设备12表示左声道耳机。The audio wireless communication method and apparatus provided by the embodiments of the present application are applicable to the application scenarios shown in FIG. 1a and FIG. 1b. In the application scenario shown in FIG. 1a and FIG. 1b, an audio playback device 10 and an audio source device 20 are included, wherein the audio source device 20 can be any suitable type of electronic device capable of providing one or more audio content. For example, smartphones, tablets, MP3 players, personal computers, CD players, etc. The audio playback device 10 includes a first playback device 11 and a second playback device 12. The audio playback device 10 can be any suitable electronic device capable of supporting multi-channel audio data, such as stereo headphones, 2.1 channel speakers, 5.1 sounds. Channel audio, stereo speakers or other suitable type of speaker set. The first playback device 11 and the second playback device 12 are only used to indicate a speaker portion for playing different channels. For example, for a stereo headset, the first playback device 11 may be a left channel headset, and the second playback device 12 For the right channel headphones. Of course, it is also possible to use the first playback device 11 to represent the right channel earphone, and the second playback device 12 to represent the left channel earphone.
如图2所示,音频源设备20和第一播放设备11可以建立无线通信连接(例如蓝牙通信连接),以将音频源设备20下发的数据传送给第一播放设备11,第一播放设备11和第二播放设备12建立无线通信连接(例如蓝牙连接、WIFI连接等),以将音频源设备20的连接密钥、地址等信息发送给第二播放设备12。从而使第二播放设备12可以通过数据侦听的方式获取音频源设备20下发给第一播放设备11的数据。As shown in FIG. 2, the audio source device 20 and the first playback device 11 can establish a wireless communication connection (for example, a Bluetooth communication connection) to transmit data sent by the audio source device 20 to the first playback device 11, the first playback device. 11 and the second playback device 12 establishes a wireless communication connection (eg, Bluetooth connection, WIFI connection, etc.) to transmit the connection key, address, and the like of the audio source device 20 to the second playback device 12. Therefore, the second playback device 12 can obtain the data sent by the audio source device 20 to the first playback device 11 by means of data interception.
因为第二播放设备12与音频源设备20并未建立真正的通信连接,其只是单方面的从音频源设备20获取数据,为了保证第二播放设备12获取数据的完整性,本申请实施例在第二播放设备12通过侦听方式获取数据有误(例如接收数据错误或者丢失数据)时,由第二播放设备12向外发送干扰信号,以阻止音频源设备20接收其他信号。因此当第二播放设备12接收数据错误或者丢失数 据时,由于受第二播放设备12发送的干扰信号的影响,音频源设备20将接收不到其他信号。则音频源设备20重新下发数据给第一播放设备11,第二播放设备12可以再次通过侦听的方式获得音频源设备20下发的数据,从而保证了第二播放设备12接收数据的完整性。Because the second playback device 12 does not establish a true communication connection with the audio source device 20, it only acquires data from the audio source device 20 unilaterally. In order to ensure the integrity of the data acquired by the second playback device 12, the embodiment of the present application is When the second playback device 12 acquires data through the interception mode (for example, receiving data error or losing data), the second playback device 12 sends an interference signal to prevent the audio source device 20 from receiving other signals. Therefore, when the second playback device 12 receives data errors or loses data, the audio source device 20 will not receive other signals due to the interference signals transmitted by the second playback device 12. Then, the audio source device 20 re-sends the data to the first playback device 11, and the second playback device 12 can obtain the data sent by the audio source device 20 by means of the interception, thereby ensuring the integrity of the data received by the second playback device 12. Sex.
本申请实施例提供了一种音频无线通信方法,所述方法可由图1a和图1b中的音频播放设备10执行,如图3所示,所述方法包括:The embodiment of the present application provides an audio wireless communication method, which may be performed by the audio playback device 10 in FIG. 1a and FIG. 1b. As shown in FIG. 3, the method includes:
101:第一播放设备11与音频源设备20进行无线通信,获取音频源设备20发送的数据。101: The first playing device 11 performs wireless communication with the audio source device 20 to acquire data transmitted by the audio source device 20.
102:在所述无线通信过程的至少一部分时间内,所述第二播放设备12通过数据侦听的方式获取来自音频源设备20的数据。102: The second playback device 12 acquires data from the audio source device 20 by means of data interception during at least part of the wireless communication process.
请参照图2以及图4中的A阶段(其中,T1表示音频源设备20的时序,T2表示第一播放设备11的时序,T3表示第二播放设备12的时序),第一播放设备11和音频源设备20通过连接信息A和连接信息B建立无线通信连接。第一播放设备11和第二播放设备12通过连接信息C和连接信息D建立无线通信连接,并将音频源设备20的连接秘钥和地址等信息发送给第二播放设备12,第二播放设备12可以通过这些信息侦听音频源设备20与第一播放设备11的通信过程,并获取音频源设备20下发给第一播放设备11的数据。请参照图4中的B阶段,音频源设备20开始向第一播放设备11发送数据,第一播放设备11接收音频源设备20发送的数据,第二播放设备12通过侦听的方式获取音频源设备20发送给第一播放设备11的数据。Please refer to phase A in FIG. 2 and FIG. 4 (wherein T1 represents the timing of the audio source device 20, T2 represents the timing of the first playback device 11, and T3 represents the timing of the second playback device 12), the first playback device 11 and The audio source device 20 establishes a wireless communication connection through the connection information A and the connection information B. The first playback device 11 and the second playback device 12 establish a wireless communication connection by using the connection information C and the connection information D, and send information such as a connection key and an address of the audio source device 20 to the second playback device 12, and the second playback device The information of the audio source device 20 and the first playback device 11 can be monitored by the information, and the data sent by the audio source device 20 to the first playback device 11 can be obtained. Referring to the B phase in FIG. 4, the audio source device 20 starts to send data to the first playback device 11, the first playback device 11 receives the data sent by the audio source device 20, and the second playback device 12 acquires the audio source by means of interception. The data transmitted by the device 20 to the first playback device 11.
103:如果所述第二播放设备12获取数据有误,则向外发送干扰信号,以阻止所述音频源设备接收所述确认接收信号。103: If the second playback device 12 acquires data incorrectly, the interference signal is sent out to prevent the audio source device from receiving the acknowledgement received signal.
在一些实施例中,在所述第一播放设备11成功接收到所述数据时,向所述音频源设备20发送确认接收信号,以告知所述音频源设备20可以发送下一包数据。在另一些实施例中,也可以通过其他信号(例如时钟信号)通知音频源设备发送下一包数据。当第二播放设备12获取数据有误时,则向外发送干扰信号,由于干扰信号的存在,音频源设备20将接收不到上述确认接收信号或者其他信号,则重新发送数据。In some embodiments, when the first playback device 11 successfully receives the data, an acknowledgment receipt signal is sent to the audio source device 20 to inform the audio source device 20 that the next packet of data can be transmitted. In other embodiments, the audio source device may also be notified by the other signal (eg, a clock signal) to transmit the next packet of data. When the second playback device 12 acquires data incorrectly, the interference signal is sent out. If the audio source device 20 does not receive the acknowledged received signal or other signal due to the presence of the interference signal, the data is retransmitted.
以下以所述第一播放设备11成功接收到所述数据时,向所述音频源设备20 发送确认接收信号,以告知所述音频源设备20可以发送下一包数据为例说明。When the first playback device 11 successfully receives the data, an acknowledgment receiving signal is sent to the audio source device 20 to inform the audio source device 20 that the next packet data can be sent as an example.
请参照图4中的D阶段,当第一播放设备11成功接收到音频源设备20发送的数据时,第一播放设备11向音频源设备20发送确认接收信号(可以通过ACK信号发送),以要求音频源设备20发送下一个数据包。如果第二播放设备12没有成功获得音频源设备20下发给第一播放设备11的数据(例如接收数据错误或者丢失数据),则在第一播放设备11向音频源设备20发送确认接收信号的同一时段内,第二播放设备12向外发送干扰信号。由于干扰信号的存在,音频源设备20将接收不到所述确认接收信号,以为第一播放设备11没有接收到前一包数据,则会自动重发该包数据。这样第二播放设备12可以再次通过侦听的方式获取音频源设备20重新发送的数据,以确保第二播放设备12完整的接收到音频源设备20下发的数据。Referring to the D phase in FIG. 4, when the first playback device 11 successfully receives the data sent by the audio source device 20, the first playback device 11 sends an acknowledgment reception signal (which can be sent by the ACK signal) to the audio source device 20, The audio source device 20 is required to transmit the next data packet. If the second playback device 12 does not successfully obtain the data that the audio source device 20 sends to the first playback device 11 (eg, receives data error or loses data), then the first playback device 11 transmits an acknowledgment received signal to the audio source device 20. During the same period, the second playback device 12 transmits an interference signal to the outside. Due to the presence of the interference signal, the audio source device 20 will not receive the acknowledgement received signal, so that the first playback device 11 does not receive the previous packet data, and the packet data is automatically retransmitted. In this way, the second playback device 12 can obtain the data retransmitted by the audio source device 20 by means of the interception to ensure that the second playback device 12 completely receives the data sent by the audio source device 20.
而当第一播放设备11和第二播放设备12均成功接收到数据时,请参照图4中的C阶段,由于没有干扰信号的存在,音频源设备20将接收到第一播放设备11发送的确认接收信号,开始发送下一包数据,第一播放设备11和第二播放设备12均开始准备接收下一包数据。其中,干扰信号可以采用多种形式,例如采用频率相同、功率更大的信号,本申请实施例不做限定。When the first playback device 11 and the second playback device 12 successfully receive the data, please refer to the C stage in FIG. 4, and the audio source device 20 will receive the first playback device 11 because there is no interference signal. The received signal is acknowledged and the next packet of data is started to be transmitted, and both the first playback device 11 and the second playback device 12 are ready to receive the next packet of data. The interference signal may be in various forms, for example, a signal with the same frequency and a higher power is used, which is not limited in this embodiment.
由于第一播放设备11与音频源设备20之间存在握手(handshake)等交互的过程,二者之间的通信过程属于正常的点对点通信,因此,第一播放设备11接收数据的完整性具有一定的保障。为了避免由于网络不稳定导致第一播放设备11接收数据错误或者丢失数据的情况发生,在本申请的另一实施例中,所述第一播放设备11接收数据有误时,向音频源设备20发送接收失败信号。其中,具体的,该接收失败信号可以通过ACK信号发送。Since there is a process of interaction between the first playback device 11 and the audio source device 20, the communication process between the two is normal point-to-point communication, and therefore, the integrity of the data received by the first playback device 11 has a certain Protection. In another embodiment of the present application, when the first playback device 11 receives data incorrectly, the audio source device 20 is provided to the audio source device 20 in order to prevent the first playback device 11 from receiving data errors or data loss. Send a reception failure signal. Specifically, the reception failure signal may be sent by using an ACK signal.
这样当第二播放设备12成功接收数据而第一播放设备11没有成功接收数据时,由于音频源设备20接收到第一播放设备11发送的接收失败信号,从而重新发送数据包。第一播放设备11已经知道前一包数据有问题需要接收重新发送的数据包,而第二播放设备12获取音频源设备20重新发送的数据包时,发现该包数据与前一包数据相同,将会自动丢弃或者覆盖该包数据,不会影响到前一包数据的接收。Thus, when the second playback device 12 successfully receives the data and the first playback device 11 does not successfully receive the data, since the audio source device 20 receives the reception failure signal transmitted by the first playback device 11, the data packet is retransmitted. The first playback device 11 already knows that the previous packet data has a problem and needs to receive the retransmitted data packet, and when the second playback device 12 acquires the data packet retransmitted by the audio source device 20, the packet data is found to be the same as the previous packet data. The packet data will be automatically discarded or overwritten without affecting the reception of the previous packet of data.
当第一播放设备11和第二播放设备12接收的数据均有误时,第一播放设备11向音频源设备20发送接收失败信号,第二播放设备12向外发送干扰信号。 由于干扰信号的存在,音频源设备20将接收不到任何来自第一播放设备11的信号,因此会重发数据包。第一播放设备11和第二播放设备12均知道前一包数据有问题,会接收音频源设备20重新发送的数据包,所以第一播放设备11和第二播放设备12都能正常接收该包数据。When the data received by the first playback device 11 and the second playback device 12 are both incorrect, the first playback device 11 sends a reception failure signal to the audio source device 20, and the second playback device 12 transmits the interference signal. Due to the presence of the interfering signal, the audio source device 20 will not receive any signal from the first playback device 11, and will therefore retransmit the data packet. The first playback device 11 and the second playback device 12 both know that there is a problem with the previous packet data, and receive the data packet retransmitted by the audio source device 20, so that both the first playback device 11 and the second playback device 12 can receive the packet normally. data.
其中,在本申请的一些实施例中,请参照图4的B阶段,第一播放设备11在向音频源设备20发送确认接收信号或者接收失败信号的同时,第二播放设备通过数据侦听的方式获取所述确认接收信号或者接收失败信号。当第二播放设备12接收数据有误时,在第一播放设备11向音频源设备20发送确认接收信号或者接收失败信号的同时,向外发送干扰信号,而当第二播放设备12成功接收到数据时,在第一播放设备11向音频源设备20发送确认接收信号或者接收失败信号的同一时段内,第二播放设备12也处于接收状态,通过数据侦听的方式获取此时第一播放设备11发送的确认接收信号或者接收失败信号,以确认第一播放设备11接收上一包数据的情况,从而确定音频源设备20再次发送的是新的数据包还是重新发送的数据包,以决定对获得的数据包是进行丢弃、覆盖还是接收处理。In some embodiments of the present application, referring to the B stage of FIG. 4, the first playing device 11 transmits the acknowledgment receiving signal or the receiving failure signal to the audio source device 20, and the second playing device listens through the data. The method obtains the acknowledgement receiving signal or the receiving failure signal. When the second playback device 12 receives the data incorrectly, the first playback device 11 transmits the interference signal to the audio source device 20 while transmitting the acknowledgement signal or the reception failure signal, and the second playback device 12 successfully receives the interference signal. During the same period of time when the first playback device 11 sends the acknowledgment received signal or the received failure signal to the audio source device 20, the second playback device 12 is also in the receiving state, and the first playback device is acquired by means of data interception. 11 acknowledging the received signal or receiving the failure signal to confirm that the first playback device 11 receives the previous packet data, thereby determining whether the audio source device 20 transmits the new data packet or the retransmitted data packet again to determine the pair. The obtained data packet is discarded, covered, or received.
在本申请的另一些实施例中,请参照图4的C阶段,第一播放设备11仅向音频源设备20发送确认接收信号或者接收失败信号。当第二播放设备12接收数据有误时,在第一播放设备11向音频源设备20发送确认接收信号或者接收失败信号的同一时段,向外发送干扰信号,而当第二播放设备12成功接收到数据时,不做任何操作。第二播放设备12不对第一播放设备11接收数据包的情况予以确认,仅在获取到音频源设备20发送的数据包时,对数据包进行判断,如果该数据包跟接收的上一数据包相同,则对该数据包进行丢弃或者覆盖,否则予以接收。In other embodiments of the present application, referring to the C stage of FIG. 4, the first playback device 11 transmits only the acknowledgment reception signal or the reception failure signal to the audio source device 20. When the second playback device 12 receives the data incorrectly, the first playback device 11 transmits the interference signal to the audio source device 20 during the same period of time to send the acknowledgement received signal or the receive failure signal, and the second playback device 12 successfully receives the interference signal. When you get to the data, do nothing. The second playback device 12 does not confirm the case where the first playback device 11 receives the data packet, and only determines the data packet when the data packet sent by the audio source device 20 is acquired, if the data packet is followed by the received previous data packet. If the packet is the same, the packet is discarded or overwritten, otherwise it is received.
当然,在本申请的另一些实施例中,第一播放设备11也可以仅在向音频源设备20发送确认接收信号的同时,向第二播放设备12发送确认接收信号,或者仅在向音频源设备20发送接收失败信号的同时,向第二播放设备12发送接收失败信号。第二播放设备12仅凭所述确认接收信号或者仅凭所述接收失败信号,来确认第一播放设备11接收上一包数据的情况,从而确定音频源设备20再次发送的是新的数据包还是重新发送的数据包,以决定对获得的数据包是进行丢弃、覆盖还是接收处理。Of course, in other embodiments of the present application, the first playback device 11 may also send an acknowledgment received signal to the second playback device 12 only when transmitting the acknowledgment received signal to the audio source device 20, or only to the audio source. The device 20 transmits a reception failure signal to the second playback device 12 while transmitting the reception failure signal. The second playback device 12 confirms that the first playback device 11 receives the previous packet data only by the acknowledge receipt signal or only the reception failure signal, thereby determining that the audio source device 20 transmits the new packet again. It is also a resent packet to determine whether to discard, overwrite, or receive the obtained packet.
本申请实施例可以使第二播放设备完整的接收音频源设备下发的数据,保证第二播放设备接收数据的完整性。The embodiment of the present application can enable the second playback device to completely receive data sent by the audio source device, and ensure the integrity of the data received by the second playback device.
本申请实施例还提供了由第一播放设备11和第二播放设备12单独执行的音频无线通信方法,具体技术细节可以分别参照上述方法中第一播放设备11执行的部分和第二播放设备12执行的部分,在此不再赘述。The embodiment of the present application further provides an audio wireless communication method separately performed by the first playback device 11 and the second playback device 12. The specific technical details may refer to the portion of the foregoing method and the second playback device 12 that are respectively performed by the first playback device 11. The part of the implementation will not be repeated here.
相应的,本申请实施例还提供了一种音频无线通信装置,用于图1a和图1b中的音频播放设备10,如图5所示,所述音频无线通信装置200包括:Correspondingly, the embodiment of the present application further provides an audio wireless communication device for the audio playback device 10 of FIG. 1a and FIG. 1b. As shown in FIG. 5, the audio wireless communication device 200 includes:
用于第一播放设备11的数据获取模块201,用于第二播放设备12的侦听模块202和干扰信号发送模块203。通过数据获取模块201,第一播放设备11与音频源设备20进行无线通信,获取音频源设备20发送的数据。通过侦听模块202,在所述无线通信过程的至少一部分时间内,第二播放设备12通过数据侦听的方式获取来自音频源设备20的数据。如果第二播放设备12获取数据有误,通过干扰信号发送模块203向外发送干扰信号,以使音频源设备重新发送数据。The data acquisition module 201 for the first playback device 11 is used for the listening module 202 and the interference signal sending module 203 of the second playback device 12. Through the data acquisition module 201, the first playback device 11 performs wireless communication with the audio source device 20 to acquire data transmitted by the audio source device 20. Through the interception module 202, the second playback device 12 acquires data from the audio source device 20 by means of data snooping during at least a portion of the wireless communication process. If the second playback device 12 acquires data incorrectly, the interference signal sending module 203 sends an interference signal to the audio source device to resend the data.
本申请实施例在第二播放设备获取数据有误时,由第二播放设备向外发送干扰信号,所述干扰信号可以阻止所述音频源设备接收其他信号。因此当第二播放设备接收数据错误或者丢失数据时,由于受第二播放设备发送的干扰信号的影响,音频源设备将接收不到其他信号。则音频源设备重新下发数据给第一播放设备,第二播放设备可以再次通过侦听的方式获得音频源设备下发的数据,从而使第二播放设备可以完整的接收音频源设备下发的数据,保证第二播放设备接收数据的完整性。In the embodiment of the present application, when the second playback device acquires data incorrectly, the second playback device sends an interference signal, and the interference signal may prevent the audio source device from receiving other signals. Therefore, when the second playback device receives data error or loses data, the audio source device will not receive other signals due to the interference signal transmitted by the second playback device. The audio source device can re-send the data to the first playback device, and the second playback device can obtain the data sent by the audio source device by means of the interception, so that the second playback device can completely receive the audio source device. The data ensures the integrity of the data received by the second playback device.
在音频无线通信装置200的一些实施例中,请参照图6,音频无线通信装置200还包括:In some embodiments of the audio wireless communication device 200, referring to FIG. 6, the audio wireless communication device 200 further includes:
用于第一播放设备11的确认信号发送模块204,用于如果第一播放设备11接收到所述数据,向音频源设备20发送确认接收信号,以及如果第一播放设备11接收数据有误,向音频源设备20发送接收失败信号,以使音频源设备20重新发送数据。An acknowledgment signal sending module 204 for the first playing device 11 is configured to send an acknowledgment receiving signal to the audio source device 20 if the first playing device 11 receives the data, and if the first playing device 11 receives the data incorrectly, A reception failure signal is transmitted to the audio source device 20 to cause the audio source device 20 to resend the data.
在音频无线通信装置200的另一些实施例中,请参照图6,音频无线通信装置200还包括:In other embodiments of the audio wireless communication device 200, referring to FIG. 6, the audio wireless communication device 200 further includes:
用于第二播放设备12的确认信号接收模块205,用于如果第二播放设备12成功接收到所述数据,通过数据侦听的方式获取第一播放设备11成功接收到数据时发送的确认接收信号,或第一播放设备11接收数据有误时发送的接收失败信号。The acknowledgment signal receiving module 205 for the second playing device 12 is configured to obtain, when the second playing device 12 successfully receives the data, the acknowledgment receiving sent when the first playing device 11 successfully receives the data by means of data interception. The signal, or the reception failure signal sent by the first playback device 11 when the data is received incorrectly.
需要说明的是,上述音频无线通信装置可执行本申请实施例所提供的音频无线通信方法,具备执行方法相应的功能模块和有益效果。未在音频无线通信装置实施例中详尽描述的技术细节,可参见本申请实施例所提供的音频无线通信方法。It should be noted that the audio wireless communication device may perform the audio wireless communication method provided by the embodiment of the present application, and has a function module and a beneficial effect corresponding to the execution method. For technical details that are not described in detail in the audio wireless communication device embodiment, reference may be made to the audio wireless communication method provided by the embodiments of the present application.
本申请实施例还提供了仅用于第一播放设备11和仅用于第二播放设备12的音频无线通信装置,其具体技术细节可以分别参照上述装置中用于第一播放设备11的部分和用于第二播放设备12的部分,在此不再赘述。The embodiment of the present application further provides an audio wireless communication device only for the first playback device 11 and only for the second playback device 12. The specific technical details may refer to the portion of the above device for the first playback device 11 and The portion used for the second playback device 12 will not be described herein.
图7是本申请实施例提供的第一播放设备11的硬件结构示意图,如图7所示,该第一播放设备11包括:FIG. 7 is a schematic structural diagram of a hardware of a first playback device 11 according to an embodiment of the present disclosure. As shown in FIG. 7, the first playback device 11 includes:
第一通讯单元111,用于第一播放设备11与音频源设备20和第二播放设备12进行通信;The first communication unit 111 is configured to communicate with the audio source device 20 and the second playback device 12 by the first playback device 11;
一个或多个第一处理器112以及第一存储器113,图7中以一个第一处理器112为例。One or more first processors 112 and a first memory 113 are exemplified by a first processor 112 in FIG.
第一处理器112和第一存储器113可以通过总线或者其他方式连接,图7中以通过总线连接为例。The first processor 112 and the first memory 113 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
第一存储器113作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的音频无线通信方法对应的程序指令/单元(例如,附图5所示的数据获取模块201)。第一处理器112通过运行存储在第一存储器113中的非易失性软件程序、指令以及单元,从而执行第一播放设备的各种功能应用以及数据处理,即实现上述方法实施例音频无线通信方法。The first memory 113 is a non-volatile computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, as in the audio wireless communication method in the embodiment of the present application. Program instructions/units (e.g., data acquisition module 201 shown in Figure 5). The first processor 112 executes various functional applications and data processing of the first playback device by running non-volatile software programs, instructions, and units stored in the first memory 113, that is, implementing the above-described method embodiments of the audio wireless communication. method.
第一存储器113可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据第一播放设备使用所创建的数据等。此外,第一存储器113可以包括高速随机存取 存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,第一存储器113可选包括相对于第一处理器112远程设置的存储器,这些远程存储器可以通过网络连接至第一播放设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The first memory 113 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the first playback device, and the like. Further, the first memory 113 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, the first memory 113 can optionally include a memory remotely located relative to the first processor 112, which can be connected to the first playback device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
所述一个或者多个单元存储在所述第一存储器113中,当被所述一个或者多个第一处理器112执行时,执行上述任意方法实施例中的音频无线通信方法,例如,执行以上描述的图3中的方法步骤101,实现图5中的模块201、图6中的模块201和204的功能。The one or more units are stored in the first memory 113, and when executed by the one or more first processors 112, perform an audio wireless communication method in any of the above method embodiments, for example, performing the above The method step 101 of FIG. 3 is described to implement the functions of the module 201 in FIG. 5 and the modules 201 and 204 in FIG.
上述第一播放设备可执行本申请实施例所提供的音频无线通信方法,具备执行方法相应的功能模块和有益效果。未在第一播放设备实施例中详尽描述的技术细节,可参见本申请实施例所提供的音频无线通信方法。The foregoing first playing device can perform the audio wireless communication method provided by the embodiment of the present application, and has a function module and a beneficial effect corresponding to the execution method. For the technical details that are not described in detail in the first playback device embodiment, refer to the audio wireless communication method provided by the embodiment of the present application.
图8是本申请实施例提供的第二播放设备12的硬件结构示意图,如图8所示,该第二播放设备12包括:FIG. 8 is a schematic diagram of a hardware structure of a second playback device 12 according to an embodiment of the present disclosure. As shown in FIG. 8, the second playback device 12 includes:
第二通讯单元121,用于第二播放设备12与第一播放设备11进行通信;The second communication unit 121 is configured to communicate with the first playback device 11 by the second playback device 12;
一个或多个第二处理器122以及第二存储器123,图8中以一个第二处理器122为例。One or more second processors 122 and a second memory 123 are exemplified by a second processor 122 in FIG.
第二处理器122和第二存储器123可以通过总线或者其他方式连接,图8中以通过总线连接为例。The second processor 122 and the second memory 123 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
第二存储器123作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的音频无线通信方法对应的程序指令/单元(例如,附图5所示的侦听模块202和干扰信号发送模块203)。第二处理器122通过运行存储在第二存储器123中的非易失性软件程序、指令以及单元,从而执行第二播放设备的各种功能应用以及数据处理,即实现上述方法实施例音频无线通信方法。The second memory 123 is a non-volatile computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, as in the audio wireless communication method in the embodiment of the present application. Program instructions/units (for example, the listening module 202 and the interference signal transmitting module 203 shown in FIG. 5). The second processor 122 executes various functional applications and data processing of the second playback device by executing non-volatile software programs, instructions, and units stored in the second memory 123, that is, implementing the above-described method embodiments of the audio wireless communication method.
第二存储器123可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据第二播放设备使用所创建的数据等。此外,第二存储器123可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、 或其他非易失性固态存储器件。在一些实施例中,第二存储器123可选包括相对于第二处理器122远程设置的存储器,这些远程存储器可以通过网络连接至第二播放设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The second memory 123 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the second playback device, and the like. Further, the second memory 123 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, the second memory 123 can optionally include a memory remotely located relative to the second processor 122, which can be connected to the second playback device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
所述一个或者多个单元存储在所述第二存储器123中,当被所述一个或者多个第二处理器122执行时,执行上述任意方法实施例中的音频无线通信方法,例如,执行以上描述的图3中的方法步骤102和103,实现图5中的模块202和203、图6中的模块202、203和205的功能。The one or more units are stored in the second memory 123, and when executed by the one or more second processors 122, perform the audio wireless communication method in any of the above method embodiments, for example, performing the above The method steps 102 and 103 of FIG. 3 are described to implement the functions of modules 202 and 203 in FIG. 5, and modules 202, 203, and 205 in FIG.
上述第二播放设备可执行本申请实施例所提供的音频无线通信方法,具备执行方法相应的功能模块和有益效果。未在第二播放设备实施例中详尽描述的技术细节,可参见本申请实施例所提供的音频无线通信方法。The foregoing second playing device can perform the audio wireless communication method provided by the embodiment of the present application, and has a function module and a beneficial effect corresponding to the execution method. For technical details that are not described in detail in the second playback device embodiment, reference may be made to the audio wireless communication method provided by the embodiments of the present application.
本申请实施例提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个处理器执行,例如,执行以上描述的图3中的方法步骤101至步骤103,实现图5中的模块201-203、图6中的模块201-205的功能。Embodiments of the present application provide a non-transitory computer readable storage medium storing computer-executable instructions that are executed by one or more processors, for example, to perform the above The method steps 101 to 103 in FIG. 3 are described to implement the functions of the modules 201-203 and the modules 201-205 in FIG.
图9是本申请实施例提供的音频处理设备10的硬件结构示意图,包括第一播放设备11和第二播放设备12,其中,第一播放设备11具备上述第一播放设备实施例中描述的功能和结构,第二播放设备12具备上述第二播放设备实施例中描述的功能和结构,其相关的技术细节,请参照上述第一播放设备实施例和第二播放设备实施例中的描述。FIG. 9 is a schematic diagram of a hardware structure of an audio processing device 10 according to an embodiment of the present disclosure, including a first playback device 11 and a second playback device 12, wherein the first playback device 11 is provided with the functions described in the foregoing first playback device embodiment. The second playback device 12 is provided with the functions and structures described in the foregoing second playback device embodiment. For the related technical details, refer to the descriptions in the foregoing first playback device embodiment and the second playback device embodiment.
本申请实施例还提供了一种音频播放系统,包括上述任一实施例中描述的音频源设备20和音频播放设备10,音频源设备20用于提供音频数据,音频播放设备10用于在第一播放设备11和第二播放设备12播放所述音频数据。The embodiment of the present application further provides an audio playing system, including the audio source device 20 and the audio playing device 10 described in any of the above embodiments. The audio source device 20 is configured to provide audio data, and the audio playing device 10 is used in the first A playback device 11 and a second playback device 12 play the audio data.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
通过以上的实施例的描述,本领域普通技术人员可以清楚地了解到各实施例可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(RandomAccessMemory,RAM)等。Through the description of the above embodiments, those skilled in the art can clearly understand that the embodiments can be implemented by means of software plus a general hardware platform, and of course, by hardware. A person skilled in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;在本申请的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本申请的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, and are not limited thereto; in the idea of the present application, the technical features in the above embodiments or different embodiments may also be combined. The steps may be carried out in any order, and there are many other variations of the various aspects of the present application as described above, which are not provided in the details for the sake of brevity; although the present application has been described in detail with reference to the foregoing embodiments, The skilled person should understand that the technical solutions described in the foregoing embodiments may be modified, or some of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the embodiments of the present application. The scope of the technical solution.

Claims (17)

  1. 一种音频无线通信方法,用于音频播放设备,所述音频播放设备包括第一播放设备和第二播放设备,其特征在于,所述方法包括:An audio wireless communication method for an audio playback device, the audio playback device comprising a first playback device and a second playback device, wherein the method comprises:
    所述第一播放设备与音频源设备进行无线通信,获取音频源设备发送的数据;The first playing device performs wireless communication with the audio source device to acquire data sent by the audio source device;
    在所述无线通信过程的至少一部分时间内,所述第二播放设备通过数据侦听的方式获取来自音频源设备的数据;The second playback device acquires data from the audio source device by means of data interception during at least part of the wireless communication process;
    如果所述第二播放设备获取数据有误,则向外发送干扰信号,以使所述音频源设备重新发送所述数据。If the second playback device acquires data incorrectly, the interference signal is sent out to enable the audio source device to resend the data.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    如果所述第一播放设备接收到所述数据,则向所述音频源设备发送确认接收信号。And if the first playing device receives the data, sending an acknowledgement receiving signal to the audio source device.
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    如果所述第一播放设备接收数据有误,则向所述音频源设备发送接收失败信号,以使所述音频源设备重新发送数据。If the first playback device receives the data incorrectly, sending a reception failure signal to the audio source device to cause the audio source device to resend the data.
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method of claim 3, wherein the method further comprises:
    如果所述第二播放设备接收到所述数据,通过数据侦听的方式获取所述第一播放设备发送的所述确认接收信号。And if the second playing device receives the data, acquiring the acknowledgement receiving signal sent by the first playing device by means of data interception.
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method of claim 4, wherein the method further comprises:
    如果所述第二播放设备接收到所述数据,通过数据侦听的方式获取所述第一播放设备发送的所述接收失败信号。And if the second playing device receives the data, acquiring the receiving failure signal sent by the first playing device by means of data interception.
  6. 一种音频无线通信方法,用于第二播放设备,其特征在于,所述方法包括:An audio wireless communication method for a second playback device, the method comprising:
    在第一播放设备与音频源设备进行无线通信过程的至少一部分时间内,通过数据侦听的方式获取来自音频源设备的数据;Obtaining data from the audio source device by means of data interception during at least part of a wireless communication process between the first playback device and the audio source device;
    如果获取数据有误,则向外发送干扰信号,以使所述音频源设备重新发送所述数据。If the acquired data is incorrect, the interference signal is sent out to cause the audio source device to resend the data.
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method of claim 6 wherein the method further comprises:
    如果接收到所述数据,通过数据侦听的方式获取所述第一播放设备接收到数据时发送的确认接收信号,或所述第一播放设备接收数据有误时发送的接收失败信号。If the data is received, the acknowledgment receiving signal sent when the first playing device receives the data, or the receiving failure signal sent when the first playing device receives the data is incorrect, by means of data interception.
  8. 一种音频无线通信装置,用于音频播放设备,所述音频播放设备包括第一播放设备和第二播放设备,其特征在于,所述装置包括:An audio wireless communication device for an audio playback device, the audio playback device comprising a first playback device and a second playback device, wherein the device comprises:
    用于第一播放设备的数据获取模块,用于所述第一播放设备与音频源设备进行无线通信,获取音频源设备发送的数据;a data acquisition module for the first playback device, configured to perform wireless communication with the audio source device by the first playback device, and acquire data sent by the audio source device;
    用于第二播放设备的侦听模块,用于在所述无线通信过程的至少一部分时间内,所述第二播放设备通过数据侦听的方式获取来自音频源设备的数据;a listening module for the second playing device, configured to acquire data from the audio source device by means of data interception during at least part of the wireless communication process;
    用于第二播放设备的干扰信号发送模块,用于如果所述第二播放设备获取数据有误,向外发送干扰信号,以使所述音频源设备重新发送所述数据。An interference signal sending module for the second playing device, configured to send an interference signal to the audio source device to resend the data if the second playing device acquires data incorrectly.
  9. 根据权利要求8所述的装置,其特征在于,所述装置还包括:The device according to claim 8, wherein the device further comprises:
    用于第一播放设备的确认信号发送模块,用于如果所述第一播放设备接收到所述数据,向所述音频源设备发送确认接收信号,以及如果所述第一播放设备接收数据有误,向所述音频源设备发送接收失败信号,以使所述音频源设备重新发送数据。An acknowledgment signal sending module for the first playing device, configured to send an acknowledgment receiving signal to the audio source device if the first playing device receives the data, and if the first playing device receives the data incorrectly Sending a reception failure signal to the audio source device to cause the audio source device to resend data.
  10. 根据权利要求8或9所述的装置,其特征在于,所述装置还包括:The device according to claim 8 or 9, wherein the device further comprises:
    用于第二播放设备的确认信号接收模块,用于如果所述第二播放设备接收到所述数据,通过数据侦听的方式获取所述第一播放设备接收到数据时发送的确认接收信号,或所述第一播放设备接收数据有误时发送的接收失败信号。An acknowledgment signal receiving module for the second playing device, configured to: when the second playing device receives the data, obtain an acknowledgment receiving signal sent by the first playing device when the data is received by the data listening manner, Or the receiving failure signal sent by the first playing device when the data is incorrect.
  11. 一种音频无线通信装置,用于第二播放设备,其特征在于,所述装置包括:An audio wireless communication device for a second playback device, the device comprising:
    侦听模块,用于在第一播放设备与音频源设备进行无线通信过程的至少一部分时间内,通过数据侦听的方式获取来自音频源设备的数据;a listening module, configured to acquire data from the audio source device by means of data interception during at least part of a wireless communication process between the first playback device and the audio source device;
    干扰信号发送模块,用于如果获取数据有误,向外发送干扰信号,以使所述音频源设备重新发送所述数据。The interference signal sending module is configured to send an interference signal outward if the data is acquired incorrectly, so that the audio source device resends the data.
  12. 根据权利要求11所述的装置,其特征在于,所述装置还包括:The device according to claim 11, wherein the device further comprises:
    确认信号接收模块,用于如果接收到所述数据,通过数据侦听的方式获取 所述第一播放设备接收到数据时发送的确认接收信号,或所述第一播放设备接收数据有误时发送的接收失败信号。An acknowledgment signal receiving module, configured to: when receiving the data, acquire an acknowledgment receiving signal sent when the first playing device receives data by means of data interception, or send when the first playing device receives data incorrectly Receive failure signal.
  13. 一种第二播放设备,其特征在于,包括:A second playing device, comprising:
    第二通讯单元;Second communication unit;
    至少一个第二处理器;以及,At least one second processor; and,
    与所述至少一个第二处理器通信连接的第二存储器;其中,a second memory communicatively coupled to the at least one second processor; wherein
    所述第二存储器存储有可被所述至少一个第二处理器执行的指令,所述指令被所述至少一个第二处理器执行,以使所述至少一个第二处理器能够执行权利要求6或7所述的方法。The second memory stores instructions executable by the at least one second processor, the instructions being executed by the at least one second processor to enable the at least one second processor to perform claim 6 Or the method described in 7.
  14. 一种音频播放设备,其特征在于,包括:An audio playback device, comprising:
    第一播放设备和权利要求13所述的第二播放设备。A first playback device and the second playback device of claim 13.
  15. 一种音频播放系统,其特征在于,所述系统包括:An audio playback system, characterized in that the system comprises:
    音频源设备,用于提供音频数据;以及An audio source device for providing audio data;
    权利要求14所述的音频播放设备,所述音频播放设备用于在第一播放设备和第二播放设备播放所述音频数据。The audio playback device of claim 14, the audio playback device for playing the audio data at the first playback device and the second playback device.
  16. 一种非易失性计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机可执行指令,当所述计算机可执行指令被执行时,能够执行执行权利要求1-7任一项所述的方法。A non-transitory computer readable storage medium, wherein the computer readable storage medium stores computer executable instructions capable of performing execution of any of claims 1-7 when the computer executable instructions are executed One of the methods described.
  17. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被执行时,能够执行权利要求1-7任一项所述的方法。A computer program product, comprising: a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed, capable of Performing the method of any of claims 1-7.
PCT/CN2018/084612 2018-04-26 2018-04-26 Wireless audio communication method and apparatus, and audio playback device and system WO2019205054A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880000417.4A CN108513702A (en) 2018-04-26 2018-04-26 Audio wireless communication means, device and audio-frequence player device, system
PCT/CN2018/084612 WO2019205054A1 (en) 2018-04-26 2018-04-26 Wireless audio communication method and apparatus, and audio playback device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/084612 WO2019205054A1 (en) 2018-04-26 2018-04-26 Wireless audio communication method and apparatus, and audio playback device and system

Publications (1)

Publication Number Publication Date
WO2019205054A1 true WO2019205054A1 (en) 2019-10-31

Family

ID=63404298

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/084612 WO2019205054A1 (en) 2018-04-26 2018-04-26 Wireless audio communication method and apparatus, and audio playback device and system

Country Status (2)

Country Link
CN (1) CN108513702A (en)
WO (1) WO2019205054A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111770428A (en) * 2020-06-24 2020-10-13 杭州国芯科技股份有限公司 Monitoring method of wireless equipment
EP4156562A1 (en) * 2021-09-24 2023-03-29 Shanghai Wu Qi Microelectronics Co., Ltd Wireless communication system and wireless communication method

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995479A (en) * 2019-06-03 2019-07-09 南京中感微电子有限公司 A kind of voice data communication method, system and audio communication device
CN110831246B (en) * 2019-11-11 2023-04-18 展讯通信(上海)有限公司 Data transmission method and device
CN112822665A (en) * 2019-11-18 2021-05-18 阿里巴巴集团控股有限公司 Audio playing method, device, equipment and system
CN111212471A (en) * 2019-12-19 2020-05-29 展讯通信(上海)有限公司 Synchronous processing method, system, equipment and storage medium of audio equipment
CN111479319B (en) * 2020-03-30 2022-06-14 昆山泰芯微电子有限公司 Communication method and device
CN111464989B (en) * 2020-03-31 2023-08-08 歌尔科技有限公司 Audio data processing method, control device and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120058727A1 (en) * 2010-09-02 2012-03-08 Passif Semiconductor Corp. Un-tethered wireless stereo speaker system
WO2014086388A1 (en) * 2012-12-03 2014-06-12 Phonak Ag Wireless streaming of an audio signal to multiple audio receiver devices
CN106470472A (en) * 2015-08-18 2017-03-01 Gn瑞声达A/S The method exchanging different size packet between the first and second portable communication devices
CN106535081A (en) * 2016-12-20 2017-03-22 建荣半导体(深圳)有限公司 Bluetooth mode switching method and device, communication system and stereophonic audio transmission method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120058727A1 (en) * 2010-09-02 2012-03-08 Passif Semiconductor Corp. Un-tethered wireless stereo speaker system
WO2014086388A1 (en) * 2012-12-03 2014-06-12 Phonak Ag Wireless streaming of an audio signal to multiple audio receiver devices
CN106470472A (en) * 2015-08-18 2017-03-01 Gn瑞声达A/S The method exchanging different size packet between the first and second portable communication devices
CN106535081A (en) * 2016-12-20 2017-03-22 建荣半导体(深圳)有限公司 Bluetooth mode switching method and device, communication system and stereophonic audio transmission method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111770428A (en) * 2020-06-24 2020-10-13 杭州国芯科技股份有限公司 Monitoring method of wireless equipment
CN111770428B (en) * 2020-06-24 2021-12-07 杭州国芯科技股份有限公司 Monitoring method of wireless equipment
EP4156562A1 (en) * 2021-09-24 2023-03-29 Shanghai Wu Qi Microelectronics Co., Ltd Wireless communication system and wireless communication method

Also Published As

Publication number Publication date
CN108513702A (en) 2018-09-07

Similar Documents

Publication Publication Date Title
WO2019205054A1 (en) Wireless audio communication method and apparatus, and audio playback device and system
US11997734B2 (en) Wireless headphone matching method, device, terminal and charging box
US10966047B1 (en) Wireless audio system for recording an audio information and method for using the same
US10206039B1 (en) Electronic device and method for receiving audio signal by using communication configuration information of external electronic device
CN110708142A (en) Audio data communication method, system and equipment
TWI669923B (en) Method of choosing master wireless earphone in wireless earphone set, electronic apparatus and wireless earphone
WO2021121289A1 (en) Data receiving method and apparatus for bluetooth headset, device, and storage medium
US9621987B2 (en) Un-tethered wireless audio system
CN111435844B (en) Method, device, equipment and system for correcting audio data in dual-wireless Bluetooth communication
WO2019015488A1 (en) Wireless earphone and pairing method thereof
US11418297B2 (en) Systems and methods including wireless data packet retransmission schemes
CN111464993B (en) Bluetooth headset pairing method and wireless headset for Bluetooth headset
WO2021004253A1 (en) Data transmission method, apparatus, and device
US11632617B2 (en) Method, apparatus and device for synchronously playing audio
KR20210020541A (en) Electronic device for retransmitting data in bluetooth network environment and method thereof
CN111479184A (en) True wireless earphone, terminal equipment and connection method of true wireless earphone
US20230344535A1 (en) Robust broadcast via relayed retransmission
CN112039637A (en) Audio data communication method and system and audio communication equipment
TW201509147A (en) Blue-tooth communication system and broadcasting method thereof
CN112335328B (en) Method and system for transmitting audio data and wireless audio system
KR102333306B1 (en) Data communication method and system, electronic device, chip and storage medium
KR20150130894A (en) Method and apparatus for communicating audio data
US10756844B2 (en) Devices and method for wirelessly broadcasting media packets
US10623872B1 (en) Systems and methods for audio rendering control in a hearing system
US20230299925A1 (en) Wireless data packet acknowledgment schemes

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18916356

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 08.02.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18916356

Country of ref document: EP

Kind code of ref document: A1