WO2021185166A1 - 音频传输方法及电子设备 - Google Patents

音频传输方法及电子设备 Download PDF

Info

Publication number
WO2021185166A1
WO2021185166A1 PCT/CN2021/080400 CN2021080400W WO2021185166A1 WO 2021185166 A1 WO2021185166 A1 WO 2021185166A1 CN 2021080400 W CN2021080400 W CN 2021080400W WO 2021185166 A1 WO2021185166 A1 WO 2021185166A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
audio
playback device
audio signal
channel playback
Prior art date
Application number
PCT/CN2021/080400
Other languages
English (en)
French (fr)
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 JP2022550852A priority Critical patent/JP7423811B2/ja
Priority to EP21770678.7A priority patent/EP4093070A4/en
Priority to KR1020227029751A priority patent/KR20220133965A/ko
Publication of WO2021185166A1 publication Critical patent/WO2021185166A1/zh
Priority to US17/945,048 priority patent/US20230006711A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • H04B1/7163Spread spectrum techniques using impulse radio
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/02Transmitters
    • H04B1/04Circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/07Applications of wireless loudspeakers or wireless microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/20Negotiating bandwidth
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/02Data link layer protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Definitions

  • the present invention relates to the field of communication technology, in particular to an audio transmission method and electronic equipment.
  • the embodiments of the present invention provide an audio transmission method and an electronic device to solve the problem that the sound quality of an audio file may be damaged due to the limitation of the transmission bandwidth in the existing audio transmission method.
  • the present invention is implemented as follows:
  • an embodiment of the present invention provides an audio transmission method, which is applied to a first electronic device, and the first electronic device is wirelessly connected to a second electronic device, and the second electronic device includes a first sound channel playback device And a second sound channel playback device;
  • the audio transmission method includes:
  • the audio signal of the target audio is transmitted to the first channel playback device or the second channel playback device through an ultra-wideband transmission protocol.
  • an embodiment of the present invention also provides an audio transmission method, which is applied to a second electronic device, the second electronic device is wirelessly connected to the first electronic device, and the second electronic device includes a first audio channel playback Device and a second sound channel playback device, the audio transmission method includes:
  • the first channel audio signal in the audio signal is transmitted to the second channel playback device through an ultra-wideband transmission protocol.
  • an embodiment of the present invention also provides an electronic device, the electronic device is a first electronic device, the electronic device is wirelessly connected to a second electronic device, and the second electronic device includes a first audio channel playback A device and a second sound channel playing device; the electronic equipment includes:
  • the acquisition module is used to acquire the target audio
  • the first transmission module is configured to transmit the audio signal of the target audio to the first channel playback device or the second channel playback device through an ultra-wideband transmission protocol.
  • an embodiment of the present invention also provides an electronic device, the electronic device is a second electronic device, the electronic device is wirelessly connected to the first electronic device, and the electronic device includes a first sound channel playback device and The second sound channel playback device, the electronic equipment further includes:
  • a receiving module configured to receive the audio signal transmitted by the first electronic device through the first sound channel playback device
  • the second transmission module is configured to transmit the first channel audio signal in the audio signal to the second channel playback device through an ultra-wideband transmission protocol.
  • an embodiment of the present invention also provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor, and the computer program is executed by the processor.
  • the steps of the audio transmission method as described in the first aspect are realized when executed, or the steps of the audio transmission method as described in the second aspect are realized when the computer program is executed by the processor.
  • an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the audio transmission method as described in the first aspect are implemented, Alternatively, when the computer program is executed by a processor, the steps of the audio transmission method as described in the second aspect are implemented.
  • the first electronic device obtains the target audio, and then transmits the audio signal of the target audio to the first channel playback device or the second channel playback device of the second electronic device through the ultra-wideband transmission protocol.
  • the first electronic device can transmit audio signals by calling the 27Mbps transmission bandwidth of the ultra-wideband transmission protocol, which increases the transmission rate of the audio signals, so that the first electronic device can transmit higher-quality and higher-bandwidth audio. The audio quality is impaired.
  • Figure 1 is a flowchart of an audio transmission method provided by an embodiment of the present invention
  • Fig. 1a is a schematic diagram of a scene in which an electronic device applies the audio transmission method provided in Fig. 1;
  • FIG. 2 is a flowchart of another audio transmission method provided by an embodiment of the present invention.
  • Figure 3 is a structural diagram of an electronic device provided by an embodiment of the present invention.
  • Figure 4 is a structural diagram of another electronic device provided by an embodiment of the present invention.
  • Fig. 5 is a structural diagram of another electronic device provided by an embodiment of the present invention.
  • the embodiment of the present invention provides an audio transmission method, which is applied to a first electronic device, such as a mobile phone, a tablet computer, a computer, a wearable device, and the like.
  • the first electronic device is wirelessly connected to the second electronic device, such as a Bluetooth connection;
  • the second electronic device includes a first channel playback device and a second channel playback device, for example, the second electronic device is a headset , The first channel playback device is a left earphone, and the second channel playback device is a right earphone; or, the second electronic device is a speaker, and the first channel playback device is a left channel speaker, The second channel playback device is a right channel audio.
  • FIG. 1 is a flowchart of an audio transmission method according to an embodiment of the present invention. As shown in FIG. 1, the audio transmission method includes the following steps:
  • Step 101 Obtain target audio.
  • the target audio may be audio to be played or being played in the first electronic device.
  • the first electronic device receives the user's touch operation on the music play button, it acquires the target audio; or, when the first electronic device receives the user's touch operation on the video play button, it acquires To the target audio.
  • Step 102 Transmit the audio signal of the target audio to the first channel playback device or the second channel playback device through an ultra-wideband transmission protocol.
  • earphones will be used as the second electronic device
  • the left earphone of the earphone is the first channel playback device
  • the right earphone of the earphone is The second channel playback device is taken as an example for specific description.
  • the first electronic device when the first electronic device obtains the target audio, and the first electronic device establishes a wireless connection with the headset, the first electronic device transmits the audio signal of the target audio through the ultra-wideband
  • the (Ultra Wide Band, UWB) transmission protocol is transmitted to the left earphone or the right earphone of the earphone.
  • the electronic device is usually equipped with a Bluetooth chip, which can transmit audio signals to the headset based on the Bluetooth transmission protocol.
  • the Bluetooth transmission bandwidth is only 3Mbps, coupled with the overhead of the transmission protocol, the actual transmission rate of audio is lower, which limits the transmission of audio files of electronic devices.
  • the transmission speed supported by the ultra-wideband transmission protocol has reached 27 Mbps.
  • the first electronic device can transmit audio signals to the headset based on the ultra-wideband transmission protocol, so that the first electronic device can transmit higher quality and higher quality.
  • the audio with the required resolution can avoid the sound quality damage caused by the low transmission rate, and ensure the audio transmission quality and playback effect.
  • the step 102 may include:
  • the media access control MAC and the physical layer PHY in the ultra-bandwidth transmission protocol are called through the switchable media access controller AMP and the protocol adaptation layer PAL in the Bluetooth transmission protocol to transmit the audio signal of the target audio to the first One-channel playback device or the second-channel playback device.
  • AMP Media Access Control
  • AMP is the secondary controller of the Bluetooth transmission system.
  • Basic rate and enhanced rate (Basic Rate/Enhanced)
  • the main controller of Data Rate (BR/EDR) is used for search, pairing, connection establishment, and connection maintenance; when two BR/EDR Bluetooth devices logical link control and adaptation protocol (Logical Link Control and Adaptation Protocol, L2CAP) connection establishment Later, the AMP controller can detect the AMP controller of another device.
  • BR/EDR Data Rate
  • L2CAP Logical Link Control and Adaptation Protocol
  • L2CAP Logical Link Control and Adaptation Protocol
  • the Bluetooth transmission system provides a mechanism for data flow to migrate from the primary controller to the secondary controller.
  • Each AMP controller has a Protocol Adaptation Layer (PAL).
  • PAL Protocol Adaptation Layer
  • PAL is in the Medium Access Control (MAC) and Physical Layer (PHY)
  • the functional responsibility of PAL is to map the Bluetooth protocol in the main controller to the AMP controller.
  • the first electronic device and the earphone are connected by Bluetooth.
  • the first electronic device can use AMP and PAL as the secondary transmission link control interface without changing the Bluetooth transmission protocol to call the MAC and PHY in the 802.15.4a ultra-wideband transmission protocol for audio signal transmission, and then To transmit the audio signal of the target audio to the left earphone or the right earphone.
  • the first electronic device can call the 27Mbps transmission bandwidth of the ultra-wideband transmission protocol for audio signal transmission based on the already set Bluetooth chip and the existing Bluetooth transmission protocol, which increases the transmission rate of the audio signal, so that The first electronic device can transmit higher-quality and higher-bandwidth audio to avoid damage to the sound quality of the audio, while retaining the convenience of Bluetooth networking and pairing between the first electronic device and the headset, and compatibility with Bluetooth headsets.
  • the step 102 may also include:
  • the audio signal of the target audio is transmitted to the first channel playback device or the second channel for playback through the ultra-wideband transmission protocol Device.
  • the first electronic device uses AMP and PAL to call the MAC and PHY in the ultra-wideband transmission protocol to transmit audio signals on the basis of the existing Bluetooth chip and Bluetooth transmission protocol.
  • the first electronic device still retains With the Bluetooth chip, the audio signal can still be transmitted through the Bluetooth transmission protocol.
  • the bandwidth of the Bluetooth transmission protocol is 3Mbps
  • the transmission bandwidth of the ultra-wideband transmission protocol is 27Mbps.
  • the first electronic device after the first electronic device obtains the target audio, based on the data size of the target audio, it may be judged on the transmission bandwidth required to transmit the audio signal of the target audio, when the required transmission bandwidth is greater than the preset In the case of bandwidth, the audio signal of the target audio is transmitted to the left earphone or the right earphone through an ultra-wideband transmission protocol.
  • the preset bandwidth is 3Mbps.
  • the transmission bandwidth required to transmit the audio signal of the target audio is greater than 3Mbps, it is no longer suitable for the transmission of audio signals through the Bluetooth transmission protocol, and you can choose to transmit through ultra-wideband Protocol to transmit audio signals to ensure that the first electronic device can transmit high-quality audio without performing operations such as compression-transmission-decompression on high-quality audio through Advanced Audio Coding (AAC), so as to avoid the impact of audio quality. damage.
  • AAC Advanced Audio Coding
  • step 101 it may further include:
  • the audio signal of the target audio is transmitted to the first channel playback device or the second audio through the Bluetooth transmission protocol.
  • Channel playback device If the transmission bandwidth required to transmit the audio signal of the target audio is less than or equal to the preset bandwidth, the audio signal of the target audio is transmitted to the first channel playback device or the second audio through the Bluetooth transmission protocol.
  • the preset bandwidth can be set to 3 Mbps; when the transmission bandwidth required to transmit the audio signal of the target audio is less than or equal to 3 Mbps, the transmission is performed via Bluetooth The protocol transmits the audio signal of the target audio to the left earphone or the right earphone; when the transmission bandwidth required to transmit the audio signal of the target audio is greater than 3Mbps, the audio signal of the target audio is transmitted to the Left earphone or right earphone.
  • the first electronic device can select different transmission methods to transmit the audio signal according to the transmission bandwidth required for the transmission of the audio signal, which expands the transmission method of the first electronic device for the audio signal, and increases the frequency of the audio signal.
  • the transmission rate enables the first electronic device to transmit higher quality and higher bandwidth audio.
  • the first Bluetooth chip obtains the target audio (first music or second music) through the audio Audio application layer; the transmission bandwidth required to transmit the audio signal of the target audio (first music) is less than or equal to the preset For bandwidth, the audio signal is encoded through the Bluetooth audio transmission model protocol (Advanced Audio Distribution Profile, A2DP) and the audio/video transmission protocol between Bluetooth devices (Audio/Video Distribution Transport Protocol, AVDTP) and passes through the baseband unit and radio frequency unit The left or right earphone transmitted to the earphone.
  • A2DP Advanced Audio Distribution Profile
  • AVDTP Audio/Video Distribution Transport Protocol
  • Bluetooth transmission protocol also includes other protocols and control layers followed, such as Session Description Protocol (SDP), AMP, Logical Link Control and Adaptation Layer Protocol, L2CAP), Human Computer Interaction (HCI) control plane, Link Manager Protocol (LMP), Bit Torrent (BT) baseband control layer, Physical layer (Physical, PHY), etc.
  • SDP Session Description Protocol
  • AMP Logical Link Control and Adaptation Layer Protocol
  • L2CAP Logical Link Control and Adaptation Layer Protocol
  • HCI Human Computer Interaction
  • LMP Link Manager Protocol
  • BT Bit Torrent
  • Physical layer Physical layer (Physical, PHY), etc.
  • the MAC and PHY in the ultra-wideband UWB transmission protocol are called through the AMP and PAL of the Bluetooth transmission protocol to transfer the second music
  • the audio signal is transmitted to the left earphone or the right earphone of the earphone.
  • the audio transmission channel of the first electronic device is expanded, thereby improving the transmission quality of the audio file, avoiding damage to the sound quality of the audio file, and ensuring the sound quality effect of the audio file.
  • the first electronic device decodes the target audio into a left channel audio signal and a right channel audio signal, and then transmits the left channel audio signal and the right channel audio signal through the ultra-wideband transmission protocol.
  • Channel audio signals are combined and output to the left earphone or the right earphone.
  • the left or right earphone receives the left channel audio signal and the right channel audio signal packaged together; if it is received by the left earphone, the left channel audio signal is extracted from it, and the right sound The channel audio signal is transmitted to the right earphone. If it is received by the right earphone, the right channel audio signal is extracted from it, and the left channel audio signal is transmitted to the left earphone.
  • the left earphone receives the left channel audio signal and the right channel audio signal packaged together, and the left earphone extracts the left channel audio signal from them. If the transmission bandwidth required for the right channel audio signal is less than the preset Bandwidth (for example, 3Mbps), the left earphone can transmit the right channel audio signal to the right earphone through the Bluetooth transmission protocol; if the transmission bandwidth required by the right channel audio signal is greater than the preset bandwidth, the left earphone can The right channel audio signal is transmitted to the right earphone through an ultra-wideband transmission protocol. In other words, the headset can also select a suitable transmission method to transmit the audio signal based on the required transmission bandwidth of the audio signal. Of course, the above solution is also applicable to second electronic devices such as speakers, and will not be repeated here.
  • the preset Bandwidth for example, 3Mbps
  • the embodiment of the present invention also provides another audio transmission method.
  • the audio transmission method is applied to a second electronic device.
  • the second electronic device includes a first channel playback device and a second channel playback device, such as the The second electronic device is a headset, the first channel playback device is a left headset, and the second channel playback device is a right headset; or, the second electronic device is a speaker, and the first channel playback device is It is a left channel sound, and the second channel playback device is a right channel sound.
  • the second electronic device is wirelessly connected to the first electronic device, such as a Bluetooth connection, and the first electronic device may be a device capable of transmitting audio to the second electronic device, such as a mobile phone, a tablet computer, a computer, a wearable device, and the like.
  • FIG. 2 is a flowchart of an audio transmission method according to an embodiment of the present invention. As shown in FIG. 2, the audio transmission method includes the following steps:
  • Step 201 Receive an audio signal transmitted by the first electronic device through the first sound channel playback device.
  • the first channel playback device is a left channel playback device or a right channel playback device.
  • the second electronic device is a headset
  • the first channel playback device may be a left headset or a right headset.
  • the step 201 may include:
  • the audio signal transmitted by the first electronic device based on the ultra-wideband transmission protocol is received through the first sound channel playback device.
  • the second electronic device and the first electronic device are connected by Bluetooth, and the second electronic device is provided with a Bluetooth chip.
  • the first electronic device may transmit the audio signal to the left earphone based on the ultra-wideband transmission protocol.
  • the specific transmission method and principle may refer to the description in the embodiment of FIG.
  • the first electronic device may also transmit audio signals to the left earphone based on the Bluetooth transmission protocol.
  • Step 202 Transmit the first channel audio signal in the audio signal to the second channel playback device through an ultra-wideband transmission protocol.
  • the first channel playback device is a left channel playback device
  • the second channel playback device is a right channel playback device
  • the first channel audio signal is a right channel audio signal
  • the first channel playback device is a right channel playback device
  • the second channel playback device is a left channel playback device
  • the first channel audio signal is a left channel audio signal
  • the first channel playback device uses the switchable media access controller AMP and the protocol adaptation layer PAL in the Bluetooth transmission protocol to call the media access control MAC and the physical layer PHY in the ultra-bandwidth transmission protocol to convert The first channel audio signal in the audio signal is transmitted to the second channel playback device through the ultra-wideband transmission protocol.
  • an earphone will be used as the second electronic device in the following, and the left earphone (that is, the left channel playback device) of the earphone is the first channel
  • the right earphone (that is, the right channel playback device) of the headset is the second channel playback device as an example for specific description.
  • the earphone is provided with a Bluetooth chip, for example, the Bluetooth chip is provided on the left earphone, the left earphone can also transmit the right channel audio signal to the right earphone based on the Bluetooth transmission protocol.
  • AMP Medium Access Control/Physical layer
  • PAL Protocol Adaptation Layer
  • MAC medium access control
  • PHY physical layer
  • the left earphone after the left earphone receives the audio signal sent by the first electronic device, it can use AMP and PAL as the secondary transmission link control interface without changing the Bluetooth transmission protocol to call 802.15.
  • the MAC and PHY in the 4a ultra-wideband transmission protocol perform audio signal transmission, and then transmit the right channel audio signal in the audio signal to the right earphone.
  • the headset can be based on the already set Bluetooth chip and the existing Bluetooth transmission protocol, call the ultra-wideband transmission protocol 27Mbps transmission bandwidth for audio signal transmission, increase the transmission rate of the audio signal, and enable the headset to transmit Higher-quality, higher-bandwidth audio, to avoid damage to the audio quality, while retaining the convenience of Bluetooth networking and pairing of the headset and the first electronic device.
  • the step 202 may further include:
  • the first channel audio signal is transmitted to the second channel playback device through the ultra-wideband transmission protocol.
  • the preset bandwidth is 3 Mbps.
  • the transmission bandwidth required to transmit the first channel audio signal (for example, the left channel audio signal) is greater than 3 Mbps, it is no longer suitable for audio signal transmission through the Bluetooth transmission protocol. Transmission, you can choose to transmit audio signals through the ultra-wideband transmission protocol to ensure that the headset can achieve high-quality audio transmission, avoid sound quality damage, and ensure the user's listening experience.
  • the first channel audio signal is transmitted to the second channel playback device through a Bluetooth transmission protocol.
  • the transmission bandwidth of the Bluetooth transmission protocol is 3 Mbps
  • the preset bandwidth can be set to 3 Mbps; when the transmission bandwidth required to transmit the first channel audio signal is less than or equal to 3 Mbps, the first The channel playback device transmits the first channel audio signal to the second channel playback device through the Bluetooth transmission protocol.
  • the second electronic device can select different transmission methods for transmission according to the bandwidth required to transmit the audio signal of the first channel, which expands the transmission method of the second electronic device for the audio signal and ensures that the second electronic device It can transmit higher quality and higher bandwidth audio.
  • the audio signal includes an indication signal, and the indication signal is used to indicate that the first channel audio signal in the audio signal is transmitted to the second channel through the ultra-wideband transmission protocol.
  • Two-channel playback device Two-channel playback device.
  • the audio signal transmitted by the first electronic device to the second electronic device includes an instruction signal
  • the first channel playback device transmits the first channel audio signal to the UWB transmission protocol based on the instruction signal.
  • the second channel playback device transmits the transmission mode of the audio signal between the first channel playback device and the second channel playback device to the first electronic device, and the first channel playback device does not need to transmit the audio signal of the first channel.
  • the transmission rate between the device and the second channel playback device is transmitted based on the ultra-wideband transmission protocol to avoid damage to the sound quality of the first channel audio signal and improve the playback of the first channel.
  • the second electronic device receives the audio signal transmitted by the first electronic device through the first channel playback device, and passes the first channel audio signal in the audio signal through all the audio signals.
  • the ultra-wideband transmission protocol is transmitted to the second channel playback device, which increases the transmission rate of the audio signal, so that the second electronic device can transmit higher-quality and higher-bandwidth audio, avoiding damage to the sound quality of the audio, and ensuring Effective transmission of high-quality audio.
  • FIG. 3 is a structural diagram of an electronic device according to an embodiment of the present invention. It should be noted that the electronic device is a first electronic device, the electronic device is wirelessly connected to a second electronic device, and the second electronic device includes a first channel playback device and a second channel playback device. As shown in FIG. 3, the electronic device 300 includes:
  • the obtaining module 301 is used to obtain target audio
  • the first transmission module 302 is configured to transmit the audio signal of the target audio to the first channel playback device or the second channel playback device through an ultra-wideband transmission protocol.
  • the first transmission module 302 is further configured to:
  • the media access control MAC and the physical layer PHY in the ultra-bandwidth transmission protocol are called through the switchable media access controller AMP and the protocol adaptation layer PAL in the Bluetooth transmission protocol to transmit the audio signal of the target audio to the first One-channel playback device or the second-channel playback device.
  • the first transmission module 302 is further configured to:
  • the audio signal of the target audio is transmitted to the first channel playback device or the second channel for playback through the ultra-wideband transmission protocol Device.
  • the first transmission module 302 is further configured to:
  • the audio signal of the target audio is transmitted to the first channel playback device or the second audio through the Bluetooth transmission protocol.
  • Channel playback device If the transmission bandwidth required to transmit the audio signal of the target audio is less than or equal to the preset bandwidth, the audio signal of the target audio is transmitted to the first channel playback device or the second audio through the Bluetooth transmission protocol.
  • the first electronic device is connected to the second electronic device via Bluetooth.
  • the electronic device 300 can implement the various processes of the embodiment of the audio transmission method described in FIG.
  • the electronic device 300 obtains the target audio, and then transmits the audio signal of the target audio to the first channel playback device or the second channel playback device of the second electronic device through the ultra-wideband transmission protocol.
  • the electronic device 300 can transmit audio signals by calling the 27Mbps transmission bandwidth of the ultra-wideband transmission protocol, which increases the transmission rate of the audio signals, so that the electronic device 300 can transmit higher-quality and higher-bandwidth audio, and avoid audio interference.
  • the sound quality is impaired.
  • FIG. 4 is a structural diagram of another electronic device according to an embodiment of the present invention. It should be noted that the electronic device is a second electronic device, the electronic device is wirelessly connected to the first electronic device, and the electronic device includes a first channel playback device and a second channel playback device. As shown in FIG. 4, the electronic device 400 includes:
  • the receiving module 401 is configured to receive the audio signal transmitted by the first electronic device through the first sound channel playback device;
  • the second transmission module 402 is configured to transmit the first channel audio signal in the audio signal to the second channel playback device through an ultra-wideband transmission protocol.
  • the first channel playback device is a left channel playback device, the second channel playback device is a right channel playback device, and the first channel audio signal is a right channel audio signal; or
  • the first channel playback device is a right channel playback device, the second channel playback device is a left channel playback device, and the first channel audio signal is a left channel audio signal.
  • the audio signal includes an indication signal, and the indication signal is used to indicate that the first channel audio signal in the audio signal is transmitted to the second channel playback device through the ultra-wideband transmission protocol .
  • the receiving module 401 is further configured to:
  • the audio signal transmitted by the first electronic device based on the ultra-wideband transmission protocol is received through the first sound channel playback device.
  • the electronic device 400 can implement each process of the embodiment of the audio transmission method described in FIG.
  • the electronic device 400 receives the audio signal transmitted by the first electronic device through the first channel playback device, and transmits the first channel audio signal in the audio signal through the ultra-wideband
  • the protocol is transmitted to the second channel playback device, which increases the transmission rate of the audio signal, so that the electronic device 400 can transmit higher-quality, higher-bandwidth audio, avoid damage to the sound quality of the audio, and ensure the effectiveness of high-quality audio transmission.
  • FIG. 5 is a structural diagram of another electronic device implementing an embodiment of the present invention.
  • the electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, The processor 510, and the power supply 511 and other components.
  • a radio frequency unit 501 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, The processor 510, and the power supply 511 and other components.
  • the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals
  • the electronic device 500 can be capable of each process of the embodiment of the audio transmission method described in FIG. 1 and can achieve the same technical effect.
  • the electronic device 500 is a first electronic device
  • the electronic device 500 is wirelessly connected to a second electronic device
  • the second electronic device includes a first channel playback device and a second channel playback device .
  • the processor 510 is used to obtain the target audio
  • the radio frequency unit 501 is configured to transmit the audio signal of the target audio to the first channel playback device or the second channel playback device through an ultra-wideband transmission protocol.
  • the radio frequency unit 501 is also used for:
  • the media access control MAC and the physical layer PHY in the ultra-bandwidth transmission protocol are called through the switchable media access controller AMP and the protocol adaptation layer PAL in the Bluetooth transmission protocol to transmit the audio signal of the target audio to the first One-channel playback device or the second-channel playback device.
  • the radio frequency unit 501 is also used for:
  • the audio signal of the target audio is transmitted to the first channel playback device or the second channel through the ultra-wideband transmission protocol for playback Device.
  • the radio frequency unit 501 is also used for:
  • the audio signal of the target audio is transmitted to the first channel playback device or the second audio through the Bluetooth transmission protocol.
  • Channel playback device If the transmission bandwidth required to transmit the audio signal of the target audio is less than or equal to the preset bandwidth, the audio signal of the target audio is transmitted to the first channel playback device or the second audio through the Bluetooth transmission protocol.
  • the electronic device 500 is connected to the second electronic device via Bluetooth.
  • the electronic device 500 acquires the target audio, and then transmits the audio signal of the target audio to the first channel playback device or the second channel playback device of the second electronic device through the ultra-wideband transmission protocol.
  • the electronic device 500 can transmit audio signals by calling the 27Mbps transmission bandwidth of the ultra-wideband transmission protocol, which increases the transmission rate of the audio signals, so that the electronic device 500 can transmit higher-quality, higher-bandwidth audio, and avoid audio interference.
  • the sound quality is impaired.
  • the electronic device 500 can be capable of each process of the embodiment of the audio transmission method described in FIG. 2 and can achieve the same technical effect.
  • the electronic device 500 is a second electronic device
  • the electronic device 500 is wirelessly connected to the first electronic device
  • the audio output unit 503 includes a first channel playback device and a second channel playback device.
  • the radio frequency unit 501 is configured to receive the audio signal transmitted by the first electronic device through the first sound channel playback device;
  • the first channel audio signal in the audio signal is transmitted to the second channel playback device through an ultra-wideband transmission protocol.
  • the first channel playback device is a left channel playback device, the second channel playback device is a right channel playback device, and the first channel audio signal is a right channel audio signal; or
  • the first channel playback device is a right channel playback device, the second channel playback device is a left channel playback device, and the first channel audio signal is a left channel audio signal.
  • the audio signal includes an indication signal, and the indication signal is used to indicate that the first channel audio signal in the audio signal is transmitted to the second channel playback device through the ultra-wideband transmission protocol .
  • the radio frequency unit 501 is further configured to receive the audio signal transmitted by the first electronic device based on the ultra-wideband transmission protocol through the first sound channel playback device.
  • the electronic device 500 receives the audio signal transmitted by the first electronic device through the first channel playback device, and passes the first channel audio signal in the audio signal through the ultra-wideband transmission protocol
  • the transmission to the second channel playback device increases the transmission rate of the audio signal, so that the electronic device 500 can transmit higher-quality and higher-bandwidth audio, avoid damage to the sound quality of the audio, and ensure the effective transmission of high-quality audio .
  • the radio frequency unit 501 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, after receiving the downlink data from the base station, it is processed by the processor 510; Uplink data is sent to the base station.
  • the radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 501 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device 500 provides users with wireless broadband Internet access through the network module 502, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 503 can convert the audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output it as sound. Moreover, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic device 500 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 504 is used to receive audio or video signals.
  • the input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042.
  • the graphics processor 5041 is configured to monitor the still image or video image obtained by an image capture device (such as a camera) in the video capture mode or the image capture mode. Data is processed.
  • the processed image frame may be displayed on the display unit 506.
  • the image frame processed by the graphics processor 5041 may be stored in the memory 509 (or other computer-readable storage medium) or sent via the radio frequency unit 501 or the network module 502.
  • the microphone 5042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 501 for output in the case of a telephone call mode.
  • the electronic device 500 further includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 5051 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 5051 and the display panel 5051 when the electronic device 500 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer posture calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 505 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 506 is used to display information input by the user or information provided to the user.
  • the display unit 506 may include a display panel 5051, and the display panel 5051 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 507 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device 500.
  • the user input unit 507 includes a touch panel 5071 and other input devices 5072.
  • the touch panel 5071 also known as a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 5071 or near the touch panel 5071. operate).
  • the touch panel 5071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 510, the command sent by the processor 510 is received and executed.
  • the touch panel 5071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 507 may also include other input devices 5072.
  • other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 5071 can be overlaid on the display panel 5051.
  • the touch panel 5071 detects a touch operation on or near it, it transmits it to the processor 510 to determine the type of touch event, and then the processor 510 determines the type of touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 5051.
  • the touch panel 5071 and the display panel 5051 are used as two independent components to implement the input and output functions of the electronic device 500, in some embodiments, the touch panel 5071 and the display panel 5051 may be combined.
  • the input and output functions of the electronic device 500 are realized by integration, which is not specifically limited here.
  • the interface unit 508 is an interface for connecting an external device and the electronic device 500.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 508 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 500 or can be used to connect the electronic device 500 to an external device. Transfer data between devices.
  • the memory 509 can be used to store software programs and various data.
  • the memory 509 may mainly include a storage program area and a storage data area.
  • the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 509 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 510 is the control center of the electronic device 500, which uses various interfaces and lines to connect the various parts of the entire electronic device 500, runs or executes the software programs and/or modules stored in the memory 509, and calls and stores them in the memory 509 , Execute various functions of the electronic device 500 and process data, so as to monitor the electronic device 500 as a whole.
  • the processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem
  • the processor mainly deals with wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor 510.
  • the electronic device 500 may also include a power source 511 (such as a battery) for supplying power to various components.
  • a power source 511 such as a battery
  • the power source 511 may be logically connected to the processor 510 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the electronic device 500 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present invention further provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor.
  • the computer program is executed by the processor to realize the audio transmission described above.
  • Each process of the method embodiment can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the above-mentioned audio transmission method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.
  • a terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

本发明提供一种音频传输方法及电子设备,其中,所述音频传输方法应用于第一电子设备时包括:获取目标音频;将所述目标音频的音频信号通过超宽带传输协议传输至第二电子设备的第一声道播放装置或第二声道播放装置。

Description

音频传输方法及电子设备
相关申请的交叉引用
本申请主张在2020年3月16日在中国提交的中国专利申请No.202010180932.4的优先权,其全部内容通过引用包含于此。
技术领域
本发明涉及通信技术领域,尤其涉及一种音频传输方法及电子设备。
背景技术
随着无线通讯技术日新月异的发展和市场的逐渐扩大,音频的无线传输技术在无线通讯中的应用也越来越广泛。目前,电子设备在通过蓝牙进行音频传输时,由于传输带宽的限制,对于数据量较大的音频文件,已经无法通过蓝牙传输,通常只能通过高级音频编码(Advanced Audio Coding,AAC)等压缩-传输-解压缩的方式进行,但在压缩-传输-解压缩的过程中,会导致音频文件的音质受损,影响音频文件的播放效果。
发明内容
本发明实施例提供一种音频传输方法及电子设备,以解决现有的音频传输方式因传输带宽的限制,会导致音频文件的音质受损的问题。
为了解决上述技术问题,本发明是这样实现的:
第一方面,本发明实施例提供了一种音频传输方法,应用于第一电子设备,所述第一电子设备与第二电子设备无线连接,所述第二电子设备包括第一声道播放装置和第二声道播放装置;所述音频传输方法包括:
获取目标音频;
将所述目标音频的音频信号通过超宽带传输协议传输至所述第一声道播放装置或所述第二声道播放装置。
第二方面,本发明实施例还提供了一种音频传输方法,应用于第二电子设备,所述第二电子设备与第一电子设备无线连接,所述第二电子设备包括 第一声道播放装置和第二声道播放装置,所述音频传输方法包括:
通过所述第一声道播放装置接收所述第一电子设备传输的音频信号;
将所述音频信号中的第一声道音频信号通过超宽带传输协议传输至所述第二声道播放装置。
第三方面,本发明实施例还提供了一种电子设备,所述电子设备为第一电子设备,所述电子设备与第二电子设备无线连接,所述第二电子设备包括第一声道播放装置和第二声道播放装置;所述电子设备包括:
获取模块,用于获取目标音频;
第一传输模块,用于将所述目标音频的音频信号通过超宽带传输协议传输至所述第一声道播放装置或所述第二声道播放装置。
第四方面,本发明实施例还提供了一种电子设备,所述电子设备为第二电子设备,所述电子设备与第一电子设备无线连接,所述电子设备包括第一声道播放装置和第二声道播放装置,所述电子设备还包括:
接收模块,用于通过所述第一声道播放装置接收所述第一电子设备传输的音频信号;
第二传输模块,用于将所述音频信号中的第一声道音频信号通过超宽带传输协议传输至所述第二声道播放装置。
第五方面,本发明实施例还提供了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如第一方面中所述的音频传输方法的步骤,或者,所述计算机程序被所述处理器执行时实现如第二方面中所述的音频传输方法的步骤。
第六方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如第一方面中所述的音频传输方法的步骤,或者,所述计算机程序被处理器执行时实现如第二方面中所述的音频传输方法的步骤。
本发明实施例中,第一电子设备通过获取目标音频,进而将所述目标音频的音频信号通过超宽带传输协议传输至第二电子设备的第一声道播放装置或第二声道播放装置。这样,第一电子设备可以通过调用超宽带传输协议 27Mbps的传输带宽进行音频信号的传输,增大了音频信号的传输速率,使得第一电子设备能够传输更高品质、更高带宽的音频,避免音频的音质受损。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种音频传输方法的流程图;
图1a是一种电子设备应用图1提供的音频传输方法的一种场景示意图;
图2是本发明实施例提供的另一种音频传输方法的流程图;
图3是本发明实施例提供的一种电子设备的结构图;
图4是本发明实施例提供的另一种电子设备的结构图;
图5是本发明实施例提供的另一种电子设备的结构图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例提供了一种音频传输方法,所述音频传输方法应用于第一电子设备,如手机、平板电脑、计算机、可穿戴设备等。其中,所述第一电子设备与第二电子设备无线连接,例如蓝牙连接;所述第二电子设备包括第一声道播放装置和第二声道播放装置,例如所述第二电子设备为耳机,所述第一声道播放装置为左耳机,所述第二声道播放装置为右耳机;或者,所述第二电子设备为音响,所述第一声道播放装置为左声道音响,所述第二声道播放装置为右声道音响。
请参见图1,图1是本发明实施例提供的一种音频传输方法的流程图,如图1所示,所述音频传输方法包括以下步骤:
步骤101、获取目标音频。
可选的,所述目标音频可以是第一电子设备中待播放或是正在播放的音频。例如,当第一电子设备接收到用户作用于音乐播放按钮上的触控操作,则获取到目标音频;或者,当第一电子设备接收到用户作用于视频播放按钮上的触控操作,则获取到目标音频。
步骤102、将所述目标音频的音频信号通过超宽带传输协议传输至所述第一声道播放装置或所述第二声道播放装置。
为更好的描述本方案,本发明实施例的以下实施方式中,将以耳机作为所述第二电子设备,所述耳机的左耳机为第一声道播放装置,所述耳机的右耳机为第二声道播放装置为例进行具体说明。
本发明实施例中,在所述第一电子设备获取到目标音频,所述第一电子设备与耳机建立无线连接的情况下,所述第一电子设备将所述目标音频的音频信号通过超宽带(Ultra Wide Band,UWB)传输协议传输至所述耳机的左耳机或右耳机。
可以理解地,电子设备通常设有蓝牙芯片,能够基于蓝牙传输协议将音频信号传输至耳机。但是,蓝牙传输带宽仅3Mbps,再加上传输协议的开销,实际传输音频的速率更小,使得电子设备音频文件的传输受到了限制。而所述超宽带传输协议支持的传输速度已经达到27Mbps,本发明实施例中第一电子设备能够基于超宽带传输协议将音频信号传输至耳机,使得第一电子设备能够传输更高品质、更高解析度要求的音频,避免因传输速率较低而造成的音质受损,确保音频的传输质量和播放效果。
作为一种具体的实施方式,所述步骤102可以包括:
通过蓝牙传输协议中的可切换的媒体访问控制器AMP及协议适配层PAL调用超带宽传输协议中的媒体接入控制MAC和物理层PHY,将所述目标音频的音频信号传输至所述第一声道播放装置或所述第二声道播放装置。
需要说明地,蓝牙传输协议中有可切换的媒体访问控制(Alternate Medium Access Control/Physical layer,AMP)控制器,AMP是蓝牙传输系统的次要控制器,基础速率和增强速率(Basic Rate/Enhanced Data Rate,BR/EDR)的主要控制器用作搜索、配对、连接建立、连接维持;当两个BR/EDR 蓝牙设备逻辑链路控制与适配协议(Logical Link Control and Adaptation Protocol,L2CAP)连接建立后,AMP控制器能检测到另外一个设备的AMP控制器。当两个蓝牙设备都有AMP控制器,蓝牙传输系统提供一种机制,让数据流从主要控制器迁移到次要控制器。每个AMP控制器有一个协议适配层(Protocol Adaptation Layer,PAL),在协议栈分层架构图中,PAL在媒体接入控制(Medium Access Control,MAC)和物理层(Physical layer,PHY)之上,PAL的功能职责是把主要控制器中的蓝牙协议映射到AMP控制器中去。
本发明实施例中,所述第一电子设备和所述耳机为蓝牙连接。第一电子设备能够在不变更蓝牙传输协议的情况下,利用AMP及PAL的作为次要传输链路控制接口,去调用802.15.4a超宽带传输协议中的MAC和PHY进行音频信号的传输,进而以将目标音频的音频信号传输至左耳机或右耳机。这样,第一电子设备可以是在已经设置的蓝牙芯片及已有的蓝牙传输协议的基础上,调用超宽带传输协议27Mbps的传输带宽进行音频信号的传输,增大了音频信号的传输速率,使得第一电子设备能够传输更高品质、更高带宽的音频,避免音频的音质受损,同时又保留了第一电子设备和耳机蓝牙组网和配对的便利性,以及对蓝牙耳机的兼容。
可选地,所述步骤102还可以包括:
若传输所述目标音频的音频信号所需的传输带宽大于预设带宽,将所述目标音频的音频信号通过超宽带传输协议传输至所述第一声道播放装置或所述第二声道播放装置。
可以理解地,第一电子设备是在已有蓝牙芯片及蓝牙传输协议的基础上,通过AMP及PAL来调用超宽带传输协议中的MAC和PHY来进行音频信号的传输,第一电子设备仍然保留有蓝牙芯片,进而也就仍然能够通过蓝牙传输协议来进行音频信号的传输。
需要说明的是,蓝牙传输协议的带宽为3Mbps,而超宽带传输协议的传输带宽为27Mbps。本发明实施例中,第一电子设备在获取到目标音频后,基于目标音频的数据大小,可以是对传输目标音频的音频信号所需的传输带宽进行判断,在所需的传输带宽大于预设带宽的情况下,将所述目标音频的音频信号通过超宽带传输协议传输至左耳机或右耳机。
例如,所述预设带宽为3Mbps,当传输所述目标音频的音频信号所需的传输带宽大于3Mbps,也就不再适用于通过蓝牙传输协议进行音频信号的传输,则可以选择通过超宽带传输协议来传输音频信号,以确保第一电子设备能够实现对高品质音频的传输,无需对高品质音频通过高级音频编码(Advanced Audio Coding,AAC)进行压缩-传输-解压缩等操作,避免音质受损。
进一步地,在所述步骤101之后还可以包括:
若传输所述目标音频的音频信号所需的传输带宽小于等于所述预设带宽,将所述目标音频的音频信号通过蓝牙传输协议传输至所述第一声道播放装置或所述第二声道播放装置。
可以理解地,所述蓝牙传输协议的传输带宽为3Mbps,则可以设定所述预设带宽为3Mbps;当传输所述目标音频的音频信号所需的传输带宽小于或等于3Mbps,则通过蓝牙传输协议将所述目标音频的音频信号传输至左耳机或右耳机;当传输所述目标音频的音频信号所需的传输带宽大于3Mbps,则通过超宽带传输协议将所述目标音频的音频信号传输至左耳机或右耳机。这样,也就使得第一电子设备能够根据传输音频信号所需的传输带宽,选择不同的传输方式来对音频信号进行传输,扩展了第一电子设备对于音频的传输方式,增大了音频信号的传输速率,使得第一电子设备能够传输更高品质、更高带宽的音频。
请参照图1a,第一蓝牙芯片通过音频Audio应用层获取目标音频(第一音乐或第二音乐);在传输所述目标音频(第一音乐)的音频信号所需的传输带宽小于等于预设带宽时,通过蓝牙音频传输模型协定(Advanced Audio Distribution Profile,A2DP)和音频/视频在蓝牙设备间的传输协议(Audio/Video Distribution Transport Protocol,AVDTP)对音频信号进行编码并通过基带单元和射频单元传输给耳机的左耳机或右耳机。需要说明的是,蓝牙传输协议还包括遵循的其他协议及控制层,如会话描述协议(Session Description Protocol,SDP)、AMP、逻辑链路控制和适配层协议(Logical Link Control and Adaptation Layer Protocol,L2CAP)、人机交互(Human Computer Interaction,HCI)控制面、链路管理协议(Link Manager Protocol,LMP)、 比特流(Bit Torrent,BT)基带控制层、物理层(Physical,PHY)等。
在传输所述目标音频(第二音乐)的音频信号所需的传输带宽大于预设带宽时,通过蓝牙传输协议的AMP和PAL来调用超宽带UWB传输协议中的MAC和PHY,将第二音乐的音频信号传输至耳机的左耳机或右耳机。这样,也就扩展了第一电子设备的音频传输通道,进而能够提升音频文件的传输质量,避免对音频文件音质的损害,确保音频文件的音质效果。
需要说明的是,第一电子设备在获取到目标音频后,将目标音频解码为左声道音频信号和右声道音频信号,然后通过超宽带传输协议将所述左声道音频信号和右声道音频信号合路输出至左耳机或右耳机。也就是说,左耳机或右耳机接收到的是打包在一起的左声道音频信号和右声道音频信号;如果是左耳机接收到的,则从中提取左声道音频信号,并将右声道音频信号传输至右耳机,如果是右耳机接收到的,则从中提取右声道音频信号,并将左声道音频信号传输至左耳机。
进一步地,假设左耳机接收到了打包在一起的左声道音频信号和右声道音频信号,左耳机从中提取左声道音频信号,若右声道音频信号所需的传输带宽小于所述预设带宽(例如3Mbps),则左耳机可以是通过蓝牙传输协议将所述右声道音频信号传输至右耳机;若右声道音频信号所需的传输带宽大于所述预设带宽,则左耳机可以是通过超宽带传输协议将所述右声道音频信号传输至右耳机。也就是说,耳机也能够基于音频信号所需的传输带宽,选择合适的传输方式来传输音频信号。当然,上述方案同样适用于音响等第二电子设备,在此不做赘述。
本发明实施例还提供了另一种音频传输方法,所述音频传输方法应用于第二电子设备,所述第二电子设备包括第一声道播放装置和第二声道播放装置,例如所述第二电子设备为耳机,所述第一声道播放装置为左耳机,所述第二声道播放装置为右耳机;或者,所述第二电子设备为音响,所述第一声道播放装置为左声道音响,所述第二声道播放装置为右声道音响。所述第二电子设备与第一电子设备无线连接,例如蓝牙连接,所述第一电子设备可以是如手机、平板电脑、计算机、可穿戴设备等能够向第二电子设备传输音频的设备。
请参见图2,图2是本发明实施例提供的一种音频传输方法的流程图,如图2所示,所述音频传输方法包括以下步骤:
步骤201、通过所述第一声道播放装置接收所述第一电子设备传输的音频信号。
其中,所述第一声道播放装置为左声道播放装置或右声道播放装置。例如,所述第二电子设备为耳机,所述第一声道播放装置可以是左耳机或右耳机。耳机在与第一电子设备建立无线连接的情况下,通过左耳机或右耳机接收第一电子设备传输的音频信号。
可选地,所述步骤201可以包括:
通过所述第一声道播放装置接收所述第一电子设备基于超宽带传输协议传输的音频信号。
本发明实施例中,所述第二电子设备与第一电子设备为蓝牙连接,所述第二电子设备设置有蓝牙芯片。第一电子设备可以是基于超宽带传输协议向所述左耳机传输音频信号,具体的传输方式及原理可以是参考上述图1实施例中的描述,本发明实施例不再赘述。
当然,第一电子设备也可以是基于蓝牙传输协议向所述左耳机传输音频信号。
步骤202、将所述音频信号中的第一声道音频信号通过超宽带传输协议传输至所述第二声道播放装置。
其中,所述第一声道播放装置为左声道播放装置,所述第二声道播放装置为右声道播放装置,所述第一声道音频信号为右声道音频信号;或者,所述第一声道播放装置为右声道播放装置,所述第二声道播放装置为左声道播放装置,所述第一声道音频信号为左声道音频信号。
本步骤中,所述第一声道播放装置通过蓝牙传输协议中的可切换的媒体访问控制器AMP及协议适配层PAL调用超带宽传输协议中的媒体接入控制MAC和物理层PHY,将所述音频信号中的第一声道音频信号通过所述超宽带传输协议传输至所述第二声道播放装置。
为更好地描述本方案,本发明实施例的以下实施方式中,以下将以耳机作为所述第二电子设备,所述耳机的左耳机(也即左声道播放装置)为第一 声道播放装置,所述耳机的右耳机(也即右声道播放装置)为第二声道播放装置为例进行具体说明。
本发明实施例中,所述耳机设置有蓝牙芯片,例如所述蓝牙芯片设置于左耳机,左耳机也就能够基于蓝牙传输协议向右耳机传输右声道音频信号。蓝牙传输协议中有可切换的媒体访问控制(Alternate Medium Access Control/Physical layer,AMP)控制器,每个AMP控制器有一个协议适配层(Protocol Adaptation Layer,PAL),在协议栈分层架构图中,PAL在媒体接入控制(Medium Access Control,MAC)和物理层(Physical layer,PHY)之上,PAL的功能职责是把主要控制器中的蓝牙协议映射到AMP控制器中去。
本发明实施例中,左耳机在接收到第一电子设备发送的音频信号后,能够在不变更蓝牙传输协议的情况下,利用AMP及PAL的作为次要传输链路控制接口,去调用802.15.4a超宽带传输协议中的MAC和PHY进行音频信号的传输,进而以将音频信号中的右声道音频信号传输至右耳机。这样,耳机可以是在已经设置的蓝牙芯片及已有的蓝牙传输协议的基础上,调用超宽带传输协议27Mbps的传输带宽进行音频信号的传输,增大了音频信号的传输速率,使得耳机能够传输更高品质、更高带宽的音频,避免音频的音质受损,同时又保留了耳机和第一电子设备蓝牙组网和配对的便利性。
可选地,所述步骤202还可以包括:
若传输所述第一声道音频信号所需的传输带宽大于预设带宽,将所述第一声道音频信号通过所述超宽带传输协议传输至所述第二声道播放装置。
例如,所述预设带宽为3Mbps,当传输所述第一声道音频信号(例如左声道音频信号)所需的传输带宽大于3Mbps,也就不再适用于通过蓝牙传输协议进行音频信号的传输,则可以选择通过超宽带传输协议来传输音频信号,以确保耳机能够实现对高品质音频的传输,避免音质受损,确保用户的听感体验。
可选地,若传输所述第一声道音频信号所需的传输带宽小于等于预设带宽,将所述第一声道音频信号通过蓝牙传输协议传输至所述第二声道播放装置。可以理解地,所述蓝牙传输协议的传输带宽为3Mbps,则可以设定所述预设带宽为3Mbps;当传输所述第一声道音频信号所需的传输带宽小于或等 于3Mbps,则第一声道播放装置通过蓝牙传输协议将所述第一声道音频信号传输至第二声道播放装置。这样,也就使得第二电子设备能够根据传输第一声道音频信号所需的带宽,选择不同的传输方式来进行传输,扩展了第二电子设备对于音频信号的传输方式,确保第二电子设备能够传输更高品质、更高带宽的音频。
作为一种可选的实施方式,所述音频信号中包括指示信号,所述指示信号用于指示将所述音频信号中的第一声道音频信号通过所述超宽带传输协议传输至所述第二声道播放装置。
也就是说,第一电子设备传输给第二电子设备的音频信号中包括指示信号,第一声道播放装置基于所述指示信号,通过所述超宽带传输协议将第一声道音频信号传输至第二声道播放装置。这样,第一声道播放装置与第二声道播放装置之间音频信号的传输方式也就是由第一电子设备指定的,第一声道播放装置无需对第一声道音频信号所需的传输带宽进行判断,那么无论第一声道音频信号所需的传输带宽多大,都是基于超宽带传输协议来进行传输,以避免第一声道音频信号的音质受损,提高了第一声道播放装置与第二声道播放装置之间的传输速率。
本发明实施例提供的技术方案,第二电子设备通过所述第一声道播放装置接收所述第一电子设备传输的音频信号,并将所述音频信号中的第一声道音频信号通过所述超宽带传输协议传输至所述第二声道播放装置,增大了音频信号的传输速率,使得第二电子设备能够传输更高品质、更高带宽的音频,避免音频的音质受损,确保高品质音频的有效传输。
请参见图3,图3是本发明实施例提供的一种电子设备的结构图。需要说明的是,所述电子设备为第一电子设备,所述电子设备与第二电子设备无线连接,所述第二电子设备包括第一声道播放装置和第二声道播放装置。如图3所示,所述电子设备300包括:
获取模块301,用于获取目标音频;
第一传输模块302,用于将所述目标音频的音频信号通过超宽带传输协议传输至所述第一声道播放装置或所述第二声道播放装置。
可选的,所述第一传输模块302还用于:
通过蓝牙传输协议中的可切换的媒体访问控制器AMP及协议适配层PAL调用超带宽传输协议中的媒体接入控制MAC和物理层PHY,将所述目标音频的音频信号传输至所述第一声道播放装置或所述第二声道播放装置。
可选的,所述第一传输模块302还用于:
若传输所述目标音频的音频信号所需的传输带宽大于预设带宽,将所述目标音频的音频信号通过超宽带传输协议传输至所述第一声道播放装置或所述第二声道播放装置。
可选的,所述第一传输模块302还用于:
若传输所述目标音频的音频信号所需的传输带宽小于等于所述预设带宽,将所述目标音频的音频信号通过蓝牙传输协议传输至所述第一声道播放装置或所述第二声道播放装置。
可选的,所述第一电子设备与所述第二电子设备蓝牙连接。
需要说明的是,电子设备300能够实现图1所述的音频传输方法实施例的各个过程,并能达到相同的技术效果,为避免重复,这里不再赘述。
本发明实施例中,电子设备300通过获取目标音频,进而将所述目标音频的音频信号通过超宽带传输协议传输至第二电子设备的第一声道播放装置或第二声道播放装置。这样,电子设备300可以通过调用超宽带传输协议27Mbps的传输带宽进行音频信号的传输,增大了音频信号的传输速率,使得电子设备300能够传输更高品质、更高带宽的音频,避免音频的音质受损。
请参见图4,图4是本发明实施例提供的另一种电子设备的结构图。需要说明的是,所述电子设备为第二电子设备,所述电子设备与第一电子设备无线连接,所述电子设备包括第一声道播放装置和第二声道播放装置。如图4所示,所述电子设备400包括:
接收模块401,用于通过所述第一声道播放装置接收所述第一电子设备传输的音频信号;
第二传输模块402,用于将所述音频信号中的第一声道音频信号通过超宽带传输协议传输至所述第二声道播放装置。
可选的,所述第一声道播放装置为左声道播放装置,所述第二声道播放装置为右声道播放装置,所述第一声道音频信号为右声道音频信号;或者, 所述第一声道播放装置为右声道播放装置,所述第二声道播放装置为左声道播放装置,所述第一声道音频信号为左声道音频信号。
可选的,所述音频信号中包括指示信号,所述指示信号用于指示将所述音频信号中的第一声道音频信号通过所述超宽带传输协议传输至所述第二声道播放装置。
可选的,所述接收模块401还用于:
通过所述第一声道播放装置接收所述第一电子设备基于超宽带传输协议传输的音频信号。
需要说明的是,电子设备400能够实现图2所述的音频传输方法实施例的各个过程,并能达到相同的技术效果,为避免重复,这里不再赘述。
本发明实施例中,电子设备400通过所述第一声道播放装置接收所述第一电子设备传输的音频信号,并将所述音频信号中的第一声道音频信号通过所述超宽带传输协议传输至所述第二声道播放装置,增大了音频信号的传输速率,使得电子设备400能够传输更高品质、更高带宽的音频,避免音频的音质受损,确保高品质音频的有效传输。
请参照图5,图5为实现本发明实施例的另一种电子设备的结构图。如图5所示,电子设备500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、处理器510、以及电源511等部件。本领域技术人员可以理解,图5中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
在本发明的一种实施方式中,所述电子设备500能够图1所述音频传输方法实施例的各个过程,并能达到相同的技术效果。在该实施方式中,所述电子设备500为第一电子设备,所述电子设备500与第二电子设备无线连接,所述第二电子设备包括第一声道播放装置和第二声道播放装置。
其中,处理器510,用于获取目标音频;
射频单元501,用于将所述目标音频的音频信号通过超宽带传输协议传 输至所述第一声道播放装置或所述第二声道播放装置。
可选的,射频单元501,还用于:
通过蓝牙传输协议中的可切换的媒体访问控制器AMP及协议适配层PAL调用超带宽传输协议中的媒体接入控制MAC和物理层PHY,将所述目标音频的音频信号传输至所述第一声道播放装置或所述第二声道播放装置。
可选的,射频单元501,还用于:
若传输所述目标音频的音频信号所需的传输带宽大于预设带宽,将所述目标音频的音频信号通过超宽带传输协议传输至所述第一声道播放装置或所述第二声道播放装置。
可选的,射频单元501,还用于:
若传输所述目标音频的音频信号所需的传输带宽小于等于所述预设带宽,将所述目标音频的音频信号通过蓝牙传输协议传输至所述第一声道播放装置或所述第二声道播放装置。
可选的,所述电子设备500与所述第二电子设备蓝牙连接。
本实施方式中,电子设备500通过获取目标音频,进而将所述目标音频的音频信号通过超宽带传输协议传输至第二电子设备的第一声道播放装置或第二声道播放装置。这样,电子设备500可以通过调用超宽带传输协议27Mbps的传输带宽进行音频信号的传输,增大了音频信号的传输速率,使得电子设备500能够传输更高品质、更高带宽的音频,避免音频的音质受损。
在本发明的另一种实施方式中,所述电子设备500能够图2所述音频传输方法实施例的各个过程,并能达到相同的技术效果。在该实施方式中,所述电子设备500为第二电子设备,电子设备500与第一电子设备无线连接,音频输出单元503包括第一声道播放装置和第二声道播放装置。
其中,射频单元501,用于通过所述第一声道播放装置接收所述第一电子设备传输的音频信号;
将所述音频信号中的第一声道音频信号通过超宽带传输协议传输至所述第二声道播放装置。
可选的,所述第一声道播放装置为左声道播放装置,所述第二声道播放装置为右声道播放装置,所述第一声道音频信号为右声道音频信号;或者, 所述第一声道播放装置为右声道播放装置,所述第二声道播放装置为左声道播放装置,所述第一声道音频信号为左声道音频信号。
可选的,所述音频信号中包括指示信号,所述指示信号用于指示将所述音频信号中的第一声道音频信号通过所述超宽带传输协议传输至所述第二声道播放装置。
可选的,射频单元501,还用于通过所述第一声道播放装置接收所述第一电子设备基于超宽带传输协议传输的音频信号。
本实施方式中,电子设备500通过所述第一声道播放装置接收所述第一电子设备传输的音频信号,并将所述音频信号中的第一声道音频信号通过所述超宽带传输协议传输至所述第二声道播放装置,增大了音频信号的传输速率,使得电子设备500能够传输更高品质、更高带宽的音频,避免音频的音质受损,确保高品质音频的有效传输。
应理解的是,本发明实施例中,射频单元501可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器510处理;另外,将上行的数据发送给基站。通常,射频单元501包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元501还可以通过无线通信系统与网络和其他设备通信。
电子设备500通过网络模块502为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元503可以将射频单元501或网络模块502接收的或者在存储器509中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元503还可以提供与电子设备500执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元503包括扬声器、蜂鸣器以及受话器等。
输入单元504用于接收音频或视频信号。输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图像或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元506上。经图形处理器5041处理后的图像帧可以存储在存储器509(或其它计算 机可读存储介质)中或者经由射频单元501或网络模块502进行发送。麦克风5042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元501发送到移动通信基站的格式输出。
电子设备500还包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板5051的亮度,接近传感器可在电子设备500移动到耳边时,关闭显示面板5051和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器505还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元506用于显示由用户输入的信息或提供给用户的信息。显示单元506可包括显示面板5051,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板5051。
用户输入单元507可用于接收输入的数字或字符信息,以及产生与电子设备500的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5071上或在触控面板5071附近的操作)。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器510,接收处理器510发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5071。除了触控面板5071,用户输入单元507还可以包括其他输入设备5072。具体 地,其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板5071可覆盖在显示面板5051上,当触控面板5071检测到在其上或附近的触摸操作后,传送给处理器510以确定触摸事件的类型,随后处理器510根据触摸事件的类型在显示面板5051上提供相应的视觉输出。虽然在图5中,触控面板5071与显示面板5051是作为两个独立的部件来实现电子设备500的输入和输出功能,但是在某些实施例中,可以将触控面板5071与显示面板5051集成而实现电子设备500的输入和输出功能,具体此处不做限定。
接口单元508为外部装置与电子设备500连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元508可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备500内的一个或多个元件或者可以用于在电子设备500和外部装置之间传输数据。
存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器509可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器510是电子设备500的控制中心,利用各种接口和线路连接整个电子设备500的各个部分,通过运行或执行存储在存储器509内的软件程序和/或模块,以及调用存储在存储器509内的数据,执行电子设备500的各种功能和处理数据,从而对电子设备500进行整体监控。处理器510可包括一个或多个处理单元;优选的,处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不 集成到处理器510中。
电子设备500还可以包括给各个部件供电的电源511(比如电池),优选的,电源511可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,电子设备500包括一些未示出的功能模块,在此不再赘述。
可选的,本发明实施例还提供一种电子设备,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述音频传输方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述音频传输方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限 于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。

Claims (17)

  1. 一种音频传输方法,应用于第一电子设备,所述第一电子设备与第二电子设备无线连接,所述第二电子设备包括第一声道播放装置和第二声道播放装置;所述音频传输方法包括:
    获取目标音频;
    将所述目标音频的音频信号通过超宽带传输协议传输至所述第一声道播放装置或所述第二声道播放装置。
  2. 根据权利要求1所述的方法,其中,所述将所述目标音频的音频信号通过超宽带传输协议传输至所述第一声道播放装置或所述第二声道播放装置,包括:
    通过蓝牙传输协议中的可切换的媒体访问控制器AMP及协议适配层PAL调用超带宽传输协议中的媒体接入控制MAC和物理层PHY,将所述目标音频的音频信号传输至所述第一声道播放装置或所述第二声道播放装置。
  3. 根据权利要求1所述的方法,其中,所述将所述目标音频的音频信号通过超宽带传输协议传输至所述第一声道播放装置或所述第二声道播放装置,包括:
    若传输所述目标音频的音频信号所需的传输带宽大于预设带宽,将所述目标音频的音频信号通过超宽带传输协议传输至所述第一声道播放装置或所述第二声道播放装置。
  4. 根据权利要求3所述的方法,其中,在所述获取目标音频之后,所述方法还包括:
    若传输所述目标音频的音频信号所需的传输带宽小于等于所述预设带宽,将所述目标音频的音频信号通过蓝牙传输协议传输至所述第一声道播放装置或所述第二声道播放装置。
  5. 一种音频传输方法,应用于第二电子设备,所述第二电子设备与第一电子设备无线连接,所述第二电子设备包括第一声道播放装置和第二声道播放装置,其中,所述音频传输方法包括:
    通过所述第一声道播放装置接收所述第一电子设备传输的音频信号;
    将所述音频信号中的第一声道音频信号通过超宽带传输协议传输至所述第二声道播放装置。
  6. 根据权利要求5所述的方法,其中,所述音频信号中包括指示信号,所述指示信号用于指示将所述音频信号中的第一声道音频信号通过所述超宽带传输协议传输至所述第二声道播放装置。
  7. 根据权利要求5所述的方法,其中,所述通过所述第一声道播放装置接收所述第一电子设备传输的音频信号,包括:
    通过所述第一声道播放装置接收所述第一电子设备基于超宽带传输协议传输的音频信号。
  8. 一种电子设备,所述电子设备为第一电子设备,所述电子设备与第二电子设备无线连接,所述第二电子设备包括第一声道播放装置和第二声道播放装置;所述电子设备包括:
    获取模块,用于获取目标音频;
    第一传输模块,用于将所述目标音频的音频信号通过超宽带传输协议传输至所述第一声道播放装置或所述第二声道播放装置。
  9. 根据权利要求8所述的电子设备,其特征在于,所述第一传输模块还用于:
    通过蓝牙传输协议中的可切换的媒体访问控制器AMP及协议适配层PAL调用超带宽传输协议中的媒体接入控制MAC和物理层PHY,将所述目标音频的音频信号传输至所述第一声道播放装置或所述第二声道播放装置。
  10. 根据权利要求8所述的电子设备,其中,所述第一传输模块还用于:
    若传输所述目标音频的音频信号所需的传输带宽大于预设带宽,将所述目标音频的音频信号通过超宽带传输协议传输至所述第一声道播放装置或所述第二声道播放装置。
  11. 根据权利要求10所述的电子设备,其中,所述第一传输模块还用于:
    若传输所述目标音频的音频信号所需的传输带宽小于等于所述预设带宽,将所述目标音频的音频信号通过蓝牙传输协议传输至所述第一声道播放装置或所述第二声道播放装置。
  12. 一种电子设备,所述电子设备为第二电子设备,所述电子设备与第 一电子设备无线连接,所述电子设备包括第一声道播放装置和第二声道播放装置,其中,所述电子设备还包括:
    接收模块,用于通过所述第一声道播放装置接收所述第一电子设备传输的音频信号;
    第二传输模块,用于将所述音频信号中的第一声道音频信号通过超宽带传输协议传输至所述第二声道播放装置。
  13. 根据权利要求12所述的电子设备,其中,所述音频信号中包括指示信号,所述指示信号用于指示将所述音频信号中的第一声道音频信号通过所述超宽带传输协议传输至所述第二声道播放装置。
  14. 根据权利要求12所述的电子设备,其中,所述接收模块还用于:
    通过所述第一声道播放装置接收所述第一电子设备基于超宽带传输协议传输的音频信号。
  15. 一种电子设备,所述电子设备为第一电子设备,所述电子设备与第二电子设备无线连接,所述第二电子设备包括第一声道播放装置和第二声道播放装置;所述电子设备包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如权利要求1-4中任一项所述的音频传输方法的步骤。
  16. 一种电子设备,所述电子设备为第二电子设备,所述电子设备与第一电子设备无线连接,所述电子设备包括第一声道播放装置和第二声道播放装置,所述电子设备还包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如权利要求5-7中任一项所述的音频传输方法的步骤。
  17. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-7中任一项所述的音频传输方法的步骤。
PCT/CN2021/080400 2020-03-16 2021-03-12 音频传输方法及电子设备 WO2021185166A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2022550852A JP7423811B2 (ja) 2020-03-16 2021-03-12 オーディオ伝送方法、電子機器及びコンピュータ可読記憶媒体
EP21770678.7A EP4093070A4 (en) 2020-03-16 2021-03-12 AUDIO TRANSMISSION METHOD AND ELECTRONIC DEVICE
KR1020227029751A KR20220133965A (ko) 2020-03-16 2021-03-12 오디오 전송 방법 및 전자기기
US17/945,048 US20230006711A1 (en) 2020-03-16 2022-09-14 Audio transmission method and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010180932.4 2020-03-16
CN202010180932.4A CN113411787B (zh) 2020-03-16 2020-03-16 一种音频传输方法及电子设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/945,048 Continuation US20230006711A1 (en) 2020-03-16 2022-09-14 Audio transmission method and electronic device

Publications (1)

Publication Number Publication Date
WO2021185166A1 true WO2021185166A1 (zh) 2021-09-23

Family

ID=77676333

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/080400 WO2021185166A1 (zh) 2020-03-16 2021-03-12 音频传输方法及电子设备

Country Status (6)

Country Link
US (1) US20230006711A1 (zh)
EP (1) EP4093070A4 (zh)
JP (1) JP7423811B2 (zh)
KR (1) KR20220133965A (zh)
CN (1) CN113411787B (zh)
WO (1) WO2021185166A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113488062B (zh) * 2020-03-16 2024-08-27 维沃移动通信有限公司 一种音频传输方法及电子设备
CN115665716B (zh) * 2022-12-27 2023-04-07 合肥炬芯智能科技有限公司 音频数据传输方法、电子设备以及计算机可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080205664A1 (en) * 2007-02-27 2008-08-28 Samsung Electronics Co.; Ltd Multi-type audio processing system and method
CN101637012A (zh) * 2007-03-14 2010-01-27 高通股份有限公司 具有无线链接耳机的头戴送受话器
CN106937197A (zh) * 2017-01-25 2017-07-07 北京联创志芯科技有限公司 双耳无线耳机及其通信控制方法
CN107005800A (zh) * 2017-02-21 2017-08-01 万魔声学科技有限公司 音频文件的传输、接收方法及装置、设备及其系统

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4649295B2 (ja) * 2005-08-30 2011-03-09 株式会社東芝 通信機器及び通信方法
US8155335B2 (en) * 2007-03-14 2012-04-10 Phillip Rutschman Headset having wirelessly linked earpieces
US7840184B2 (en) * 2007-06-14 2010-11-23 Broadcom Corporation Method and system for utilizing a 60 GHZ PHY layer for high speed data transmission between bluetooth devices
US7873774B2 (en) * 2008-02-01 2011-01-18 Telefonaktiebolaget Lm Ericsson (Publ) Connections and dynamic configuration of interfaces for mobile phones and multifunctional devices
EP2476263B1 (en) * 2009-09-10 2014-04-23 Koss Corporation Synchronizing wireless earphones
US9641622B2 (en) * 2014-12-04 2017-05-02 Apple Inc. Master device for using connection attribute of electronic accessories connections to facilitate locating an accessory
CN110311758A (zh) * 2019-07-19 2019-10-08 北京清源新创科技有限公司 数据低延迟传输方法、装置及设备和存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080205664A1 (en) * 2007-02-27 2008-08-28 Samsung Electronics Co.; Ltd Multi-type audio processing system and method
CN101637012A (zh) * 2007-03-14 2010-01-27 高通股份有限公司 具有无线链接耳机的头戴送受话器
CN106937197A (zh) * 2017-01-25 2017-07-07 北京联创志芯科技有限公司 双耳无线耳机及其通信控制方法
CN107005800A (zh) * 2017-02-21 2017-08-01 万魔声学科技有限公司 音频文件的传输、接收方法及装置、设备及其系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4093070A4 *

Also Published As

Publication number Publication date
CN113411787A (zh) 2021-09-17
JP2023514783A (ja) 2023-04-10
JP7423811B2 (ja) 2024-01-29
EP4093070A4 (en) 2023-07-12
US20230006711A1 (en) 2023-01-05
EP4093070A1 (en) 2022-11-23
CN113411787B (zh) 2023-02-21
KR20220133965A (ko) 2022-10-05

Similar Documents

Publication Publication Date Title
WO2020238450A1 (zh) 天线控制方法和折叠屏终端
WO2021004350A1 (zh) 发射天线的切换方法及终端设备
WO2020238635A1 (zh) 移动终端及出音口的切换方法
WO2021204045A1 (zh) 音频的控制方法及电子设备
CN109089330B (zh) 一种音频数据传输方法及终端
WO2021115250A1 (zh) 功率控制装置、方法及电子设备
WO2021063249A1 (zh) 电子设备的控制方法及电子设备
WO2021147718A1 (zh) 音频传输方法及电子设备
WO2020216209A1 (zh) 指示空间关系信息的方法及装置、通信设备
US20230006711A1 (en) Audio transmission method and electronic device
WO2020238859A1 (zh) 信号传输方法、装置及终端
WO2021136141A1 (zh) 播放方法及电子设备
CN109194827B (zh) 一种终端设备、音频信号输出方法及系统
WO2021129835A1 (zh) 音量控制方法、设备及计算机可读存储介质
WO2021238844A1 (zh) 音频输出方法及电子设备
WO2021197311A1 (zh) 音量调节显示方法及电子设备
WO2020173396A1 (zh) 移动终端及声音输出控制方法
WO2021208893A1 (zh) 音频输出方式的切换方法及电子设备
WO2021031715A1 (zh) 来电处理方法及电子设备
WO2020052635A1 (zh) 移动终端的通信方法及移动终端
CN110708417B (zh) 一种语音切换方法、装置、终端及计算机可读存储介质
CN118215025A (zh) 车载蓝牙的语音通话系统、方法、电子设备及存储介质
WO2021185122A1 (zh) 音频传输方法及电子设备
WO2021185325A1 (zh) 一种通话处理方法及电子设备
CN113411446B (zh) 一种声道切换方法及电子设备

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: 21770678

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022550852

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20227029751

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 202217049279

Country of ref document: IN

ENP Entry into the national phase

Ref document number: 2021770678

Country of ref document: EP

Effective date: 20220819

NENP Non-entry into the national phase

Ref country code: DE