WO2008122212A1 - Method and system for auto-setting audio coding formats of bluetooth a2dp transmission - Google Patents

Method and system for auto-setting audio coding formats of bluetooth a2dp transmission Download PDF

Info

Publication number
WO2008122212A1
WO2008122212A1 PCT/CN2008/000720 CN2008000720W WO2008122212A1 WO 2008122212 A1 WO2008122212 A1 WO 2008122212A1 CN 2008000720 W CN2008000720 W CN 2008000720W WO 2008122212 A1 WO2008122212 A1 WO 2008122212A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio
bluetooth
encoding format
a2dp
local
Prior art date
Application number
PCT/CN2008/000720
Other languages
French (fr)
Chinese (zh)
Inventor
Yao Wang
Dongmei Lu
Original Assignee
Ivt(Beijing) Software Technology Inc.
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 Ivt(Beijing) Software Technology Inc. filed Critical Ivt(Beijing) Software Technology Inc.
Publication of WO2008122212A1 publication Critical patent/WO2008122212A1/en

Links

Classifications

    • 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
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/04Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
    • G10L19/16Vocoder architecture
    • G10L19/18Vocoders using multiple modes
    • 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 Bluetooth communication technology, and in particular to a method, device and system for automatically configuring an A2DP transmission audio coding format for Bluetooth high quality audio data at a Bluetooth audio transmitting end. Background technique
  • the implementation method is usually one of a wireless transceiver in an audio transmitting end (such as a computer, a PDA, a mobile phone, etc.) and an audio receiving end (headphone, a speaker, a cordless telephone, etc.), and the audio data stream of the audio transmitting end is transmitted to the wireless technology to Audio receiver.
  • an audio transmitting end such as a computer, a PDA, a mobile phone, etc.
  • an audio receiving end headphone, a speaker, a cordless telephone, etc.
  • Bluetooth short-range wireless communication technology is a widely used short-range wireless transmission protocol, which operates in the 2.4 GHz Industrial Technology (ISM) band.
  • ISM Industrial Technology
  • Bluetooth Advanced Audio Distribution Profile A2DP
  • SRC Bluetooth Audio Transmitter
  • SNK Bluetooth Audio Receiver
  • SBC Sub-band Coding
  • Audio encoding formats include Layers (mpl), layer 2 (mp2), and layer 3 (mp3) formats such as MPEG-1, 2 audio, Advanced Audio Coding (MPEGC, 4), WMA (Windows Media Audio) ) and Sony's Adaptive Transfer Acoustic Coding (ATRAC) format.
  • Layers mpl
  • mp2 layer 2
  • mp3 layer 3
  • MPEG-1 2 audio
  • MPEGC Advanced Audio Coding
  • WMA Windows Media Audio
  • ATRAC Sony's Adaptive Transfer Acoustic Coding
  • a Bluetooth audio application in an operating system of a Bluetooth audio transmitting end (for example, a computer) generally requires adding a Bluetooth virtual sound card to the operating system, and the Bluetooth virtual sound card is responsible for collecting an audio player (for example, RealPlayer, . Media Player) output.
  • the Bluetooth application system of the Bluetooth audio transmitting end encodes and decodes the high-quality audio data, and then transmits the data to the remote Bluetooth audio receiving end through the Bluetooth A2DP connection.
  • various audio players eg, RealPlayer, Media Player
  • read high-quality audio data of a local audio file and uniformly convert high-quality audio data from an audio encoding format of a local audio file (eg, MP3, ACC, WMA) to Some
  • An audio encoding format such as PCM: 'Pulse Code Modulation, and output to the operating system.
  • PCM 'Pulse Code Modulation
  • the Bluetooth application system of the Bluetooth audio transmitting end is based on an audio encoding format supported by the Bluetooth audio receiving end (commonly having SBC and MP3)
  • the collected PCM format high quality audio data is converted into an audio encoding format supported by the Bluetooth audio receiving end, and then transmitted to the remote Bluetooth audio receiving end.
  • the audio player of the Bluetooth audio transmitting end and the Bluetooth application system responsible for audio transmission are respectively two different applications, and the audio encoding of the audio data transmitted by the Bluetooth audio transmitting end to the Bluetooth audio receiving end cannot be mutually negotiated. format. Therefore, the audio player and the Bluetooth application system of the Bluetooth audio transmitting end can only provide the interface provided by the operating system, collect high-quality audio data through the Bluetooth virtual sound card in the operating system, and pass the high-quality audio data through multiple audio encoding formats. The conversion is transmitted to the Bluetooth audio receiver, which inevitably results in loss of audio signals, occupies higher processor resources and leads to higher power consumption. Summary of the invention
  • a Bluetooth audio transmitting end and an associated method and system thereof that integrate an audio player and a Bluetooth application system and can automatically configure an audio encoding format for Bluetooth high quality audio data transmission, resulting in high quality
  • the audio data does not need to be collected by the operating system's Bluetooth virtual sound card, and the high-quality audio data is not compressed and decompressed if the audio encoding format of the local audio file is the same as the audio encoding format supported by the Bluetooth audio receiving end. Directly transmitted to the Bluetooth audio receiver in the audio encoding format of the local audio file. In this way, while ensuring high quality sound quality, the high efficiency and practicability of the Bluetooth audio transmitting end is greatly improved.
  • a Bluetooth audio transmitting terminal a system, a computer program, and a storage medium storing the computer program, which automatically configure an A2DP transmission audio encoding format of Bluetooth high quality audio data
  • the system includes a Bluetooth audio transmitter and a Bluetooth audio receiver, wherein Bluetooth high quality audio data is transmitted from the Bluetooth audio transmitter to the Bluetooth audio receiver.
  • the Bluetooth audio transmitting end includes an audio playing module and an audio transmission module Piece.
  • the audio playing module is configured to parse the local audio file, and obtain an audio encoding format of the local audio file;
  • the audio transmission module is configured to establish a Bluetooth with the Bluetooth audio receiving end
  • the audio transmission module confirms whether the audio encoding format supported by the Bluetooth audio receiving end contains the audio encoding format of the local audio file, and selects one of the audio encoding formats supported by the Bluetooth audio receiving end according to the confirmation result.
  • the audio transmission module selects the audio encoding format of the local audio file as the A2DP transmission audio encoding format; otherwise, according to the set preference principle
  • One of the audio encoding formats supported by the Bluetooth audio receiving end is used as the A2DP transmission audio encoding format.
  • the audio transmission module of the Bluetooth audio transmitting end registers a corresponding SEP for each audio encoding format supported by the locality at the time of initialization. After the audio transmission module selects the A2DP transmission audio coding format, the audio transmission module establishes the Bluetooth A2DP by using the SEP of the selected A2DP transmission audio coding format and the Bluetooth audio receiving end corresponding to the SEP of the selected A2DP transmission audio coding format. Connect, and then register a new SEP corresponding to the selected A2DP transmission audio coding format, and the newly registered SEP becomes the standby SEP.
  • the audio transmission module of the Bluetooth audio transmitting end selects the audio encoding format of the local audio file as the A2DP transmission audio encoding format
  • the audio playing module of the Bluetooth audio transmitting end reads the local audio file, and the high quality audio data of the local audio file is locally
  • the audio encoding format of the audio file is sent to the audio transmission module.
  • the audio transmission module does not need to collect the high-quality audio data through the sound card in the operating system, and does not need to perform audio encoding format conversion, but directly sends the high-quality audio data to the Bluetooth audio receiving end through the A2DP connection in the audio encoding format of the local audio file. .
  • the A2DP transmission audio encoding format selected by the audio transmission module of the Bluetooth audio transmitting end is different from the audio encoding format of the local audio file.
  • the The Bluetooth audio transmitting end first needs to convert the Bluetooth high-quality audio data from the audio encoding format of the local audio file to the A2DP transmission audio encoding format, and then transmit it to the Bluetooth audio receiving end.
  • the audio transmission module does not need to collect the high-quality audio data through the sound card in the operating system, but the audio playback module directly transmits the high-quality audio data to the audio transmission module.
  • the audio playing module of the Bluetooth audio transmitting end converts the Bluetooth high-quality audio data from the audio encoding format of the local audio file to the intermediate audio encoding format (such as the PCM format), and further the Bluetooth high-quality audio data.
  • the intermediate audio encoding format is converted into an A2DP transmission audio encoding format and sent to an audio transmission module of the Bluetooth audio transmitting end, and the audio transmission module transmits the high quality audio data to the Bluetooth audio receiving end in the A2DP transmission audio encoding format.
  • a method for automatically configuring an A2DP transmission audio coding format of Bluetooth high quality audio data includes: acquiring an audio encoding format of a local audio file; and obtaining a supported audio encoding returned by the Bluetooth audio receiving end Format; confirm whether the audio encoding format supported by the Bluetooth audio receiving end contains the audio encoding format of the local audio file, and select one of the audio encoding formats supported by the Bluetooth audio receiving end as the high-amplitude audio according to the confirmation result.
  • the data is transmitted from the Bluetooth audio sender to the A2DP transmission audio coding format of the Bluetooth audio receiver.
  • the audio transmission module selects the audio encoding format of the local audio file as the A2DP transmission audio encoding format. So avoid , , , "'' When the audio encoding format supported by the Bluetooth audio receiver does not include the audio encoding format of the local audio file, select one of the audio encoding formats supported by the Bluetooth audio receiver according to the set preference principle.
  • An audio encoding format for A2DP transmission it is determined whether the playback audio encoding format is included in the audio encoding format supported by the Bluetooth audio receiving end, so that the local audio is included in the audio encoding format supported by the Bluetooth audio receiving end.
  • the Bluetooth audio transmitting end needs to convert the Bluetooth high-quality audio data from the audio encoding format of the local audio file to the A2DP transmission audio encoding format, and then send it to the Bluetooth audio receiving end.
  • the audio playback module of the Bluetooth audio sender converts the Bluetooth high quality audio data from the audio encoding format of the local audio file to the intermediate audio encoding format (such as PCM format), and further converts the Bluetooth high quality audio data from the intermediate audio encoding format to A2DP. Transfer the audio encoding format. Therefore, there is no need to transfer the intermediate audio encoding format data to the operation. In the system, the use of a Bluetooth virtual sound card is avoided, saving hardware resources.
  • FIG. 1 is a system block diagram of automatically configuring a Bluetooth A2DP transmission audio coding format according to an embodiment of the present invention
  • FIG. 2 is a message flow diagram of a method for automatically configuring a Bluetooth A2DP transmission audio coding format in accordance with one embodiment of the present invention. detailed description
  • FIG. 1 is a system block diagram of an automatic configuration of a Bluetooth A2DP transmission audio coding format, in accordance with one embodiment of the present invention.
  • the system includes a Bluetooth audio transmitter 100 and a Bluetooth audio receiver 105.
  • the Bluetooth audio receiving terminal 105 is not limited, and may be a Bluetooth headset, a Bluetooth speaker or other audio device that can receive and output Bluetooth audio, or may be developed in the future to support more audio coding. Formatted Bluetooth audio receiver.
  • the Bluetooth audio transmitter 100 is a digital processing device that integrates the audio transmission module 102 and the audio playback module 101, such as a desktop computer, a mobile phone, a PDA, an MP3 player, and the like.
  • the audio playback module 101 can output audio in a common format (eg, PCM format) as in the prior art audio player. file.
  • a common format eg, PCM format
  • the audio transmission module 102 further includes an A2DP connection management module 103 and a Bluetooth hardware module 104, establishes a Bluetooth link with the Bluetooth audio receiver 105 through the Bluetooth hardware module 104, and queries the Bluetooth audio receiver 105 through the A2DP connection management module 103. Which audio encoding formats.
  • the Bluetooth audio receiver 105 returns the supported audio encoding format via the Bluetooth link.
  • the Bluetooth audio transmitting end includes a memory (not shown) in which a lookup table is stored. The identifier of the Bluetooth audio receiving end 105 connected to the Bluetooth audio transmitting end and the audio encoding format supported by the Bluetooth audio receiving end 105 are included in the lookup table.
  • the audio play module 101 obtains the audio encoding format of the local audio file 106 by parsing the local audio file 106.
  • the A2DP connection management module 103 of the audio transmission module 102 confirms whether or not the audio encoding format of the local audio file 106 is included in the audio encoding format supported by the Bluetooth audio receiving terminal 105. If included, the A2DP connection management module 103 selects the audio encoding format of the local audio file 106 as the A2DP transmission audio encoding format of the high quality audio data transmitted from the Bluetooth audio transmitting terminal 100 to the Bluetooth audio receiving end 105.
  • one of the audio encoding formats supported by the Bluetooth audio receiving terminal 105 is selected as the A2DP transmission audio encoding format according to the preferred principle.
  • the preferred principles include a user-preferred transmission format, Bluetooth link communication quality between the Bluetooth audio transmitter 100 and the Bluetooth audio receiver 105, a large separation, and the like.
  • the Bluetooth audio receiving end 105 supports both the SBC and AAC formats, if the preferred principle is to save power, the SBC with a lower compression is selected, and if the preferred principle is that the audio is high, the AAC with a relatively high compression is selected.
  • the A2DP connection management module 103 controls the Bluetooth hardware module 104 of the Bluetooth audio transmitter 100 and the Bluetooth audio receiver 105 to establish a Bluetooth A2DP connection S100.
  • the audio transmission module 102 of the Bluetooth audio transmitting end 100 selects the audio encoding format of the local audio file 106 as the A2DP transmission audio encoding format
  • the audio playback module 101 of the Bluetooth audio transmitting terminal 100 directly directly outputs the high quality audio of the local audio file 106.
  • the data is sent to the audio transmission module 102 in the audio encoding format of the local audio file 106.
  • the audio transmission module 102 then connects the S100 via Bluetooth A2DP to transmit the high quality audio data to the Bluetooth audio receiver 105 in the audio encoding format of the local audio file 106 without intermediate audio format conversion.
  • the audio playing module 101 of the Bluetooth audio transmitting end 100 needs to convert the Bluetooth high-quality audio data from the audio encoding format of the local audio file 106 to the A2DP transmission audio encoding format, and then through the audio transmission module 102. High quality audio data is transmitted to the Bluetooth audio receiving end 105 in the A2DP transmission audio encoding format.
  • the Bluetooth audio transmitting end 100 converts high quality audio data from an audio encoding format of a local audio file to a PCM format, and then converts the high quality audio data from the PCM format to an A2DP transmission audio encoding format for transmission to Bluetooth audio reception. End 105.
  • the audio play module 101 and the audio transfer module 102 can interact, it is possible to determine whether the local sound is needed in the audio play module 102.
  • the audio encoding format of the frequency file 106 is converted, so that when the audio encoding format supported by the Bluetooth audio receiving end 105 includes the audio encoding format of the local audio file 106, the local audio file 106 can be directly sent to the original audio encoding format.
  • the audio transmission module 102 is output to the Bluetooth audio receiving terminal 105 by using the Bluetooth A2DP connection S100. This is achieved by, for example, implementing the two modules of the audio playback module 101 and the audio transmission module 102 as the same hardware or software item through the internal signal channel.
  • the audio playback module 101 and the audio transmission module 102 can also be implemented as two separate modules for interactive and audio data transfer via dedicated communication channels, signals, events, and the like.
  • the audio playback module 101 of the Bluetooth audio transmitting end 105 can convert the high quality audio data of the local audio file 106 from the audio encoding format of the local audio file 106 to the intermediate audio encoding format (such as the PCM format), and further increase the high shield.
  • the volume audio data is converted from the intermediate audio encoding format to the A2DP transmission audio encoding format. Therefore, it is not necessary to transfer the intermediate audio encoding format data to the operating system, thereby avoiding the use of the Bluetooth virtual sound card and saving hardware resources.
  • FIG. 2 is a message flow diagram of a method for automatically configuring a Bluetooth A2DP transmission audio coding format in accordance with one embodiment of the present invention.
  • the Bluetooth audio sender obtains the audio encoding format 200 of the local audio file by parsing the local audio file. Then, the Bluetooth audio transmitting end establishes a Bluetooth connection 201 with the Bluetooth audio receiving end, and asks which audio encoding format 202 is supported by the Bluetooth audio receiving end, and the Bluetooth audio receiving end returns the supported audio encoding format 203.
  • the Bluetooth audio sender can determine the audio encoding format supported by the Bluetooth audio receiver by using the SEP (Stream Endpoint) discovery process and the SEP information and service capabilities returned by the get capabilities process.
  • SEP Stream Endpoint
  • the Bluetooth audio transmitting end determines whether the audio encoding format supported by the Bluetooth audio receiving end includes the audio encoding format 204 of the local audio file by comparing the audio encoding format of the local audio file with the audio encoding format supported by the Bluetooth audio receiving end, and according to the audio encoding format 204 of the local audio file.
  • the result of the confirmation is selected to select one of the audio encoding formats supported by the Bluetooth audio receiving end as the high quality audio data transmitted from the Bluetooth audio transmitting end to the A2DP transmission audio encoding format 205 of the Bluetooth audio receiving end.
  • the audio transmission module selects the audio encoding format of the local audio file as the A2DP transmission audio encoding format; otherwise, according to the setting The principle of selection is to select one of the audio encoding formats supported by the Bluetooth audio receiver. As an A2DP transmission audio encoding format.
  • the Bluetooth audio sender registers a corresponding SEP for each of the various audio encoding formats supported locally during initialization.
  • the Bluetooth A2DP connection is established by the SEP corresponding to the selected A2DP transmission audio encoding format and the SEP corresponding to the selected A2DP transmission audio encoding format.
  • the newly registered SEP becomes the standby SEP of the selected A2DP transmission audio coding format.
  • the Bluetooth A2DP connection can still be established by using the SEP corresponding to the A2DP transmission audio encoding format. After the Bluetooth A2DP connection is disconnected, the SEP used by the connection is logged off, thereby avoiding the waste of connection resources caused by registering multiple SEPs for the same audio encoding format.
  • the Bluetooth audio transmitting end can directly transmit the high quality audio data of the local audio file to the Bluetooth audio receiving end in the audio encoding format of the local audio file, without performing audio encoding format conversion in the middle. . If the audio encoding format supported by the Bluetooth audio receiving end does not include the audio encoding format of the local audio file, that is, the A2DP transmission audio encoding format selected by the audio transmission module of the Bluetooth audio transmitting end is different from the audio encoding format of the local audio file, The Bluetooth audio sender needs to convert the audio encoding format of the Bluetooth high quality audio data.
  • the high quality audio data of the local audio file is first converted from the audio encoding format of the local audio file to the intermediate audio encoding format 208, wherein preferably the intermediate audio encoding format is the PCM audio encoding format.
  • the Bluetooth high volume audio data is then further converted from the intermediate audio encoding format to the A2DP transmission audio encoding format 209.
  • the Bluetooth audio transmitting end transmits high quality audio data to the Bluetooth audio receiving terminal 210 in the form of the A2DP transmission audio encoding format.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A bluetooth audio transmitting terminal (100), a method and a system for auto-setting the audio coding formats of the bluetooth audio data transmission are provided. The bluetooth audio transmitting terminal (100) selects the A2DP transmission audio coding formats of high quality audio data by comparing the audio coding formats of the local audio files (106) with the supported audio coding formats of the bluetooth audio receiving terminal (105). When the supported audio coding formats of the bluetooth audio receiving terminal (105) comprise the audio coding formats of the local audio files (106), the audio coding formats of the local audio files (106) are selected as the A2DP transmission audio coding formats. According to the present invention, the bluetooth audio transmitting terminal (100) could transmit directly the high quality audio data to the bluetooth audio receiving terminal (105) through the A2DP link in the audio coding formats of the local audio files (106) without the sound card of the operation system or the conversion of the audio formats.

Description

自动配置蓝牙 A2DP传输音频编码格式的方法和系统 技术领域  Method and system for automatically configuring Bluetooth A2DP transmission audio coding format
本发明涉及蓝牙通信技术, 具体地涉及一种在蓝牙音频发送端自 动配置蓝牙高质量音频数据的 A2DP传输音频编码格式的方法、 设备 和系统。 背景技术  The present invention relates to Bluetooth communication technology, and in particular to a method, device and system for automatically configuring an A2DP transmission audio coding format for Bluetooth high quality audio data at a Bluetooth audio transmitting end. Background technique
无线技术的出现, 使得用户可以以无线方式听音乐、 打电话。 其 实现方式通常是在音频发送端 (如计算机, PDA, 手机等) 和音频接 收端 (耳机, 音箱, 无绳电话等) 中各有一个无线收发器, 音频发送 端的音频数据流通过无线技术传输给音频接收端。  The emergence of wireless technology allows users to listen to music and make calls wirelessly. The implementation method is usually one of a wireless transceiver in an audio transmitting end (such as a computer, a PDA, a mobile phone, etc.) and an audio receiving end (headphone, a speaker, a cordless telephone, etc.), and the audio data stream of the audio transmitting end is transmitted to the wireless technology to Audio receiver.
蓝牙短距离无线通信技术是当前广泛应用的短距离无线传输协 议, 它工作在 2.4GHz的工科医 (ISM )频段。 在蓝牙特别兴趣小组制 定的蓝牙高级音频传输规范( Advanced Audio Distribution Profile , 简称 A2DP ) 中, 蓝牙音频发送端 (SRC ) 与蓝牙音频接收端 (SNK )通过 蓝牙 A2DP连接实现高质量音频数据数据的传输。 A2DP规范中规定了 蓝牙音频发送端和蓝牙音频接收端对音频编解码的支持, 其中次频带 编码 ( Sub-band Coding, 简称 SBC )格式是必选的, 其它的可选的音 频编码格式包括, 如 MPEG - 1、 2音频的层 l ( mpl )、 层 2 ( mp2 )和 层 3 ( mp3 )格式, MPEG-2、 4 的高级音频编码格式( AAC: Advanced Audio Coding ) , WMA ( Windows Media Audio ) 以及索尼公司的自适 应传输音频编码 (ATRAC: Adaptive Transform Acoustic Coding ) 等格 式。  Bluetooth short-range wireless communication technology is a widely used short-range wireless transmission protocol, which operates in the 2.4 GHz Industrial Technology (ISM) band. In the Bluetooth Advanced Audio Distribution Profile (A2DP) developed by the Bluetooth Special Interest Group, the Bluetooth Audio Transmitter (SRC) and the Bluetooth Audio Receiver (SNK) are connected via Bluetooth A2DP for high-quality audio data transmission. . The A2DP specification specifies the support for the audio codec of the Bluetooth audio sender and the Bluetooth audio receiver. The Sub-band Coding (SBC) format is mandatory. Other optional audio encoding formats include Layers (mpl), layer 2 (mp2), and layer 3 (mp3) formats such as MPEG-1, 2 audio, Advanced Audio Coding (MPEGC, 4), WMA (Windows Media Audio) ) and Sony's Adaptive Transfer Acoustic Coding (ATRAC) format.
目前, 在蓝牙音频发送端 (例如计算机) 的操作系统中实现蓝牙 音频应用一般需要在操作系统中添 '加蓝牙虛拟声卡, 该蓝牙虚拟声卡 负责采集音频播放器 (例如 RealPlayer,. Media Player )输出到操作系 统中的高质量音频数据, 然后蓝牙音频发送端的蓝牙应用系统对该高 质量音频数据进行编解码处理后再通过蓝牙 A2DP 连接传输给远端的 蓝牙音频接收端。 具体地, 各种音频播放器 (例如 RealPlayer, Media Player )读取本地音频文件的高质量音频数据, 统一将高质量音频数据 从本地音频文件的音频编码格式(例如 MP3 , ACC, WMA )转换为某 种通用音频编码格式, 例如 ^^冲编码调制格式 (PCM: ' Pulse Code Modulation ), 并输出给操作系统。 虽然 PCM格式保真度高, 但其数 据量很大, 不适合在蓝牙链路中传输。 因此, 在利用蓝牙虛拟声卡采 集到操作系统中的所述 PCM格式的高质量音频数据后, 蓝牙音频发送 端的蓝牙应用系统根据蓝牙音频接收端所支持的音频编码格式 (常见 的有 SBC和 MP3 ),将所采集的该 PCM格式高质量音频数据转换为蓝 牙音频接收端所支持的某种音频编码格式, 然后传送给远端蓝牙音频 接收端。 Currently, implementing a Bluetooth audio application in an operating system of a Bluetooth audio transmitting end (for example, a computer) generally requires adding a Bluetooth virtual sound card to the operating system, and the Bluetooth virtual sound card is responsible for collecting an audio player (for example, RealPlayer, . Media Player) output. To the high-quality audio data in the operating system, the Bluetooth application system of the Bluetooth audio transmitting end encodes and decodes the high-quality audio data, and then transmits the data to the remote Bluetooth audio receiving end through the Bluetooth A2DP connection. Specifically, various audio players (eg, RealPlayer, Media Player) read high-quality audio data of a local audio file, and uniformly convert high-quality audio data from an audio encoding format of a local audio file (eg, MP3, ACC, WMA) to Some A general-purpose audio encoding format, such as PCM: 'Pulse Code Modulation, and output to the operating system. Although the PCM format has a high fidelity, its data volume is large and it is not suitable for transmission over a Bluetooth link. Therefore, after the high-quality audio data of the PCM format in the operating system is acquired by using the Bluetooth virtual sound card, the Bluetooth application system of the Bluetooth audio transmitting end is based on an audio encoding format supported by the Bluetooth audio receiving end (commonly having SBC and MP3) The collected PCM format high quality audio data is converted into an audio encoding format supported by the Bluetooth audio receiving end, and then transmitted to the remote Bluetooth audio receiving end.
在上述蓝牙音频应用中, 蓝牙音频发送端的音频播放器和负责音 频传输的蓝牙应用系统分别是两个不同的应用程序, 无法进行交互协 商蓝牙音频发送端向蓝牙音频接收端传输音频数据的音频编码格式。 因此, 蓝牙音频发送端的音频播放器和蓝牙应用系统只能面向操作系 统提供的接口, 通过操作系统中的蓝牙虛拟声卡对高质量音频数据进 行采集, 且将高质量音频数据经过多次音频编码格式的转换后才传送 给蓝牙音频接收端, 这必然会造成音频信号的损失, 占用较高的处理 器资源并导致更高的功率消耗。 发明内容  In the above Bluetooth audio application, the audio player of the Bluetooth audio transmitting end and the Bluetooth application system responsible for audio transmission are respectively two different applications, and the audio encoding of the audio data transmitted by the Bluetooth audio transmitting end to the Bluetooth audio receiving end cannot be mutually negotiated. format. Therefore, the audio player and the Bluetooth application system of the Bluetooth audio transmitting end can only provide the interface provided by the operating system, collect high-quality audio data through the Bluetooth virtual sound card in the operating system, and pass the high-quality audio data through multiple audio encoding formats. The conversion is transmitted to the Bluetooth audio receiver, which inevitably results in loss of audio signals, occupies higher processor resources and leads to higher power consumption. Summary of the invention
考虑到现有技术的这些缺陷, 需要提供一种集成音频播放器和蓝 牙应用系统并可自动配置蓝牙高质量音频数据传输的音频编码格式的 蓝牙音频发送端及其相关方法和系统, 使得高质量音频数据无需通过 操作系统的蓝牙虛拟声卡进行采集, 而且在本地音频文件的音频编码 格式和蓝牙音频接收端所支持的某一种音频编码格式相同的情况下不 进行高质量音频数据的压缩和解压缩, 直接以本地音频文件的音频编 码格式传输给蓝牙音频接收端。 这样, 在保证高质量音质的同时, 又 大大提高了蓝牙音频发送端的高效率和实用性。  In view of these shortcomings of the prior art, it is desirable to provide a Bluetooth audio transmitting end and an associated method and system thereof that integrate an audio player and a Bluetooth application system and can automatically configure an audio encoding format for Bluetooth high quality audio data transmission, resulting in high quality The audio data does not need to be collected by the operating system's Bluetooth virtual sound card, and the high-quality audio data is not compressed and decompressed if the audio encoding format of the local audio file is the same as the audio encoding format supported by the Bluetooth audio receiving end. Directly transmitted to the Bluetooth audio receiver in the audio encoding format of the local audio file. In this way, while ensuring high quality sound quality, the high efficiency and practicability of the Bluetooth audio transmitting end is greatly improved.
根据本发明的一方面, 公开了一种自动配置蓝牙高质量音频数据 的 A2DP传输音频编码格式的蓝牙音频发送端、 系统、 计算机程序以 及存储有所述计算机程序的存储介质。 该系统包括蓝牙音频发送端和 蓝牙音频接收端, 其中蓝牙高质量音频数据从蓝牙音频发送端传输给 蓝牙音频接收端。  According to an aspect of the present invention, a Bluetooth audio transmitting terminal, a system, a computer program, and a storage medium storing the computer program, which automatically configure an A2DP transmission audio encoding format of Bluetooth high quality audio data, are disclosed. The system includes a Bluetooth audio transmitter and a Bluetooth audio receiver, wherein Bluetooth high quality audio data is transmitted from the Bluetooth audio transmitter to the Bluetooth audio receiver.
根据本发明, 该蓝牙音频发送端包括音频播放模块和音频传输模 块。 该音频播放模块, 用于解析本地音频文件, 获取本地音频文件的 音频编码格式; 该音频传输模块, 用于与蓝牙音频接收端建立蓝牙According to the present invention, the Bluetooth audio transmitting end includes an audio playing module and an audio transmission module Piece. The audio playing module is configured to parse the local audio file, and obtain an audio encoding format of the local audio file; the audio transmission module is configured to establish a Bluetooth with the Bluetooth audio receiving end
A2DP连接, 获取蓝牙音频接收端所支持的音频编码格式。 然后, 该音 频传输模块确认蓝牙音频接收端所支持的音频编码格式中是否包含本 地音频文件的音频编码格式, 并根据其确认结果来选择蓝牙音频接收 端所支持的音频编码格式中的某一种作为高质量音频数据从蓝牙音频 发送端传输给蓝牙音频接收端的 A2DP传输音频编码格式。 在本发明 中由于事先确认所要播放的音频文件的音频编码格式是否与接收端所 支持的音频编码格式一致, 从而可以采取更加多样的方式来传输高质 量音频数据。 A2DP connection, obtain the audio encoding format supported by the Bluetooth audio receiver. Then, the audio transmission module confirms whether the audio encoding format supported by the Bluetooth audio receiving end contains the audio encoding format of the local audio file, and selects one of the audio encoding formats supported by the Bluetooth audio receiving end according to the confirmation result. The A2DP transmission audio coding format transmitted from the Bluetooth audio transmitter to the Bluetooth audio receiver as high quality audio data. In the present invention, since it is confirmed in advance whether or not the audio encoding format of the audio file to be played is identical to the audio encoding format supported by the receiving end, a more diverse manner can be adopted to transmit high quality audio data.
当蓝牙音频接收端所支持的音频编码格式中包含本地音频文件的 音频编码格式时, 则音频传输模块选择本地音频文件的音频编码格式 作为 A2DP传输音频编码格式; 否则根据设定的优选原则来选择蓝牙 音频接收端所支持的音频编码格式中的某一种作为 A2DP传输音频编 码格式。  When the audio encoding format supported by the Bluetooth audio receiving end includes the audio encoding format of the local audio file, the audio transmission module selects the audio encoding format of the local audio file as the A2DP transmission audio encoding format; otherwise, according to the set preference principle One of the audio encoding formats supported by the Bluetooth audio receiving end is used as the A2DP transmission audio encoding format.
蓝牙音频发送端的音频传输模块在初始化时针对本地所支持的各 音频编码格式分别注册一个相应的 SEP。 当所述音频传输模块选择 A2DP传输音频编码格式后 ,所述音频传输模块通过该选定 A2DP传输 音频编码格式的 SEP与蓝牙音频接收端同样对应于选定 A2DP传输音 频编码格式的 SEP建立蓝牙 A2DP连接, 同时再注册一个新的对应于 选定 A2DP传输音频编码格式的 SEP , 该新注册的 SEP即变成备用 SEP。  The audio transmission module of the Bluetooth audio transmitting end registers a corresponding SEP for each audio encoding format supported by the locality at the time of initialization. After the audio transmission module selects the A2DP transmission audio coding format, the audio transmission module establishes the Bluetooth A2DP by using the SEP of the selected A2DP transmission audio coding format and the Bluetooth audio receiving end corresponding to the SEP of the selected A2DP transmission audio coding format. Connect, and then register a new SEP corresponding to the selected A2DP transmission audio coding format, and the newly registered SEP becomes the standby SEP.
当该蓝牙音频发送端的音频传输模块选择本地音频文件的音频编 码格式作为 A2DP传输音频编码格式时, 该蓝牙音频发送端的音频播 放模块读取本地音频文件, 将本地音频文件的高质量音频数据以本地 音频文件的音频编码格式发送给音频传输模块。 音频传输模块无需通 过操作系统中的声卡采集该高质量音频数据, 也无需进行音频编码格 式转换, 而是直接将高质量音频数据通过 A2DP连接以本地音频文件 的音频编码格式发送给蓝牙音频接收端。  When the audio transmission module of the Bluetooth audio transmitting end selects the audio encoding format of the local audio file as the A2DP transmission audio encoding format, the audio playing module of the Bluetooth audio transmitting end reads the local audio file, and the high quality audio data of the local audio file is locally The audio encoding format of the audio file is sent to the audio transmission module. The audio transmission module does not need to collect the high-quality audio data through the sound card in the operating system, and does not need to perform audio encoding format conversion, but directly sends the high-quality audio data to the Bluetooth audio receiving end through the A2DP connection in the audio encoding format of the local audio file. .
当蓝牙音频接收端所支持的音频编码格式中不包含本地音频文件 的音频编码格式时, 蓝牙音频发送端的音频传输模块所选择的 A2DP 传输音频编码格式与本地音频文件的音频编码格式不一样。 因而, 该 蓝牙音频发送端首先需要将蓝牙高质量音频数据从本地音频文件的音 频编码格式转换为所述 A2DP传输音频编码格式后, 然后再传输给蓝 牙音频接收端。 在该过程中, 音频传输模块也无需通过操作系统中的 声卡采集该高质量音频数据, 而是由音频播放模块直接将高质量音频 数据传输给音频传输模块。 一个优选的实施例是, 该蓝牙音频发送端 的音频播放模块将蓝牙高质量音频数据从本地音频文件的音频编码格 式转换为中间音频编码格式(如 PCM格式), 再进一步将蓝牙高质量 音频数据从该中间音频编码格式转换为 A2DP传输音频编码格式, 发 送给蓝牙音频发送端的音频传输模块, 音频传输模块再将高质量音频 数据以该 A2DP传输音频编码格式传输给蓝牙音频接收端。 When the audio encoding format supported by the Bluetooth audio receiving end does not include the audio encoding format of the local audio file, the A2DP transmission audio encoding format selected by the audio transmission module of the Bluetooth audio transmitting end is different from the audio encoding format of the local audio file. Thus, the The Bluetooth audio transmitting end first needs to convert the Bluetooth high-quality audio data from the audio encoding format of the local audio file to the A2DP transmission audio encoding format, and then transmit it to the Bluetooth audio receiving end. In the process, the audio transmission module does not need to collect the high-quality audio data through the sound card in the operating system, but the audio playback module directly transmits the high-quality audio data to the audio transmission module. In a preferred embodiment, the audio playing module of the Bluetooth audio transmitting end converts the Bluetooth high-quality audio data from the audio encoding format of the local audio file to the intermediate audio encoding format (such as the PCM format), and further the Bluetooth high-quality audio data. The intermediate audio encoding format is converted into an A2DP transmission audio encoding format and sent to an audio transmission module of the Bluetooth audio transmitting end, and the audio transmission module transmits the high quality audio data to the Bluetooth audio receiving end in the A2DP transmission audio encoding format.
本发明的另一方面, 公开了一种自动配置蓝牙高质量音频数据的 A2DP传输音频编码格式的方法, 包括: 获取本地音频文件的音频编码 格式; 获取蓝牙音频接收端返回的所支持的音频编码格式; 确认蓝牙 音频接收端所支持的音频编码格式中是否包含本地音频文件的音频编 码格式, 以及根据其确认结果来选择蓝牙音频接收端所支持的音频编 码格式中的某一种作为高廣量音频数据从蓝牙音频发送端传输给蓝牙 音频接收端的 A2DP传输音频编码格式。 在本发明中由于在播放本地 音频文件之前, 先判断其播放音频编码格式是否包含在蓝牙音频接收 端所支持的音频编码格式中, 从而当蓝牙音频接收端所支持的音频编 码格式中包含本地音频文件的音频编码格式时, 音频传输模块选择本 地音频文件的音频编码格式作为 A2DP传输音频编码格式。 这样就避
Figure imgf000006_0001
、 、、 " ' ' 当蓝牙音频接收端所支持的音频编码格式中不包含本地音频文件 的音频编码格式时, 根据设定的优选原则来选择蓝牙音频接收端所支 持的音频编码格式中的某一种作为 A2DP传输音频编码格式。 该蓝牙 音频发送端需要将蓝牙高质量音频数据从本地音频文件的音频编码格 式转换为 A2DP传输音频编码格式, 再发送给蓝牙音频接收端。 此时, 由于该蓝牙音频发送端的音频播放模块将蓝牙高质量音频数据从本地 音频文件的音频编码格式转换为中间音频编码格式 (如 PCM格式), 并进一步将蓝牙高质量音频数据从该中间音频编码格式转换为 A2DP 传输音频编码格式。 因此, 无需将中间音频编码格式数据传输到操作 系统中, 从而避免了使用蓝牙虚拟声卡, 节省了硬件资源。 附图说明
In another aspect of the present invention, a method for automatically configuring an A2DP transmission audio coding format of Bluetooth high quality audio data includes: acquiring an audio encoding format of a local audio file; and obtaining a supported audio encoding returned by the Bluetooth audio receiving end Format; confirm whether the audio encoding format supported by the Bluetooth audio receiving end contains the audio encoding format of the local audio file, and select one of the audio encoding formats supported by the Bluetooth audio receiving end as the high-amplitude audio according to the confirmation result. The data is transmitted from the Bluetooth audio sender to the A2DP transmission audio coding format of the Bluetooth audio receiver. In the present invention, before playing a local audio file, it is determined whether the playback audio encoding format is included in the audio encoding format supported by the Bluetooth audio receiving end, so that the local audio is included in the audio encoding format supported by the Bluetooth audio receiving end. When the audio encoding format of the file is used, the audio transmission module selects the audio encoding format of the local audio file as the A2DP transmission audio encoding format. So avoid
Figure imgf000006_0001
, , , "'' When the audio encoding format supported by the Bluetooth audio receiver does not include the audio encoding format of the local audio file, select one of the audio encoding formats supported by the Bluetooth audio receiver according to the set preference principle. An audio encoding format for A2DP transmission. The Bluetooth audio transmitting end needs to convert the Bluetooth high-quality audio data from the audio encoding format of the local audio file to the A2DP transmission audio encoding format, and then send it to the Bluetooth audio receiving end. The audio playback module of the Bluetooth audio sender converts the Bluetooth high quality audio data from the audio encoding format of the local audio file to the intermediate audio encoding format (such as PCM format), and further converts the Bluetooth high quality audio data from the intermediate audio encoding format to A2DP. Transfer the audio encoding format. Therefore, there is no need to transfer the intermediate audio encoding format data to the operation. In the system, the use of a Bluetooth virtual sound card is avoided, saving hardware resources. DRAWINGS
通过借助优选实施例附图详细描述本发明的流程, 将有助于理解 本发明的目的和优点。 其中:  The objects and advantages of the present invention will be understood by the detailed description of the flow of the invention. among them:
图 1是根据本发明的一个实施例, 自动配置蓝牙 A2DP传输音频 编码格式的系统框图;  1 is a system block diagram of automatically configuring a Bluetooth A2DP transmission audio coding format according to an embodiment of the present invention;
图 2是根据本发明的一个实施例, 自动配置蓝牙 A2DP传输音频 编码格式的方法消息流程图。 具体实施方式  2 is a message flow diagram of a method for automatically configuring a Bluetooth A2DP transmission audio coding format in accordance with one embodiment of the present invention. detailed description
图 1是根据本发明的一个实施例, 自动配置蓝牙 A2DP传输音频 编码格式的系统框图。  1 is a system block diagram of an automatic configuration of a Bluetooth A2DP transmission audio coding format, in accordance with one embodiment of the present invention.
如图 1所示,系统包括蓝牙音频发送端 100和蓝牙音频接收端 105。 在本发明中, 对蓝牙音频接收端 105 不作任何限制, 可以是目前市场 上的蓝牙耳机、 蓝牙音箱或者其它可以接收并输出蓝牙音频的音频设 备等, 也可以是未来开发的支持更多音频编码格式的蓝牙音频接收端。 蓝牙音频发送端 100为集成了音频传输模块 102和音频播放模块 101 的数字处理设备, 例如台式计算机、 移动电话、 PDA、 MP3播放器等。 当用户选择在蓝牙音频发送端上播放音频文件并通过本地的扬声器、 耳机、 或者音频线输出时, 音频播放模块 101 可以如现有技术的音频 播放器那样输出通用格式 (例如 PCM格式) 的音频文件。  As shown in FIG. 1, the system includes a Bluetooth audio transmitter 100 and a Bluetooth audio receiver 105. In the present invention, the Bluetooth audio receiving terminal 105 is not limited, and may be a Bluetooth headset, a Bluetooth speaker or other audio device that can receive and output Bluetooth audio, or may be developed in the future to support more audio coding. Formatted Bluetooth audio receiver. The Bluetooth audio transmitter 100 is a digital processing device that integrates the audio transmission module 102 and the audio playback module 101, such as a desktop computer, a mobile phone, a PDA, an MP3 player, and the like. When the user chooses to play an audio file on the Bluetooth audio transmitter and output it through a local speaker, earphone, or audio line, the audio playback module 101 can output audio in a common format (eg, PCM format) as in the prior art audio player. file.
音频传输模块 102还包括 A2DP连接管理模块 103和蓝牙硬件模 块 104,通过蓝牙硬件模块 104建立与蓝牙音频接收端 105之间的蓝牙 链路, 并通过 A2DP连接管理模块 103询问蓝牙音频接收端 105支持 哪些音频编码格式。 蓝牙音频接收端 105 通过蓝牙链路返回所支持的 音频编码格式。 优选的, 在所述蓝牙音频发送端包括一个存储器(未 示出), 其中存储有一个查找表。 在所述查找表中包含与蓝牙音频发送 端进行连接的蓝牙音频接收端 105的标识以及所述蓝牙音频接收端 105 所支持的音频编码格式。 在用户选择了所要播放的音频文件 106之后, 音频播放模块 101通过解析所述本地音频文件 106,获取本地音频文件 106的音频编码格式。 音频传输模块 102的 A2DP连接管理模块 103确认蓝牙音频接收 端 105所支持的音频编码格式中是否包含本地音频文件 106的音频编 码格式。 如果包含, 则 A2DP连接管理模块 103选择本地音频文件 106 的音频编码格式作为高质量音频数据从蓝牙音频发送端 100发送到蓝 牙音频接收端 105的 A2DP传输音频编码格式。 否则, 根据优选原则 选择蓝牙音频接收端 105所支持的音频编码格式中的某一种作为 A2DP 传输音频编码格式。 所述优选原则包括用户偏好的传输格式、 蓝牙音 频发送端 100和蓝牙音频接收端 105之间的蓝牙链路通信质量、 巨离 等。 例如, 当蓝牙音频接收端 105同时支持 SBC和 AAC格式时, 如 果优选原则为省电, 则选择压缩比较低的 SBC, 如果优选原则为音频 ^量高, 则选择压縮比较高的 AAC。 The audio transmission module 102 further includes an A2DP connection management module 103 and a Bluetooth hardware module 104, establishes a Bluetooth link with the Bluetooth audio receiver 105 through the Bluetooth hardware module 104, and queries the Bluetooth audio receiver 105 through the A2DP connection management module 103. Which audio encoding formats. The Bluetooth audio receiver 105 returns the supported audio encoding format via the Bluetooth link. Preferably, the Bluetooth audio transmitting end includes a memory (not shown) in which a lookup table is stored. The identifier of the Bluetooth audio receiving end 105 connected to the Bluetooth audio transmitting end and the audio encoding format supported by the Bluetooth audio receiving end 105 are included in the lookup table. After the user selects the audio file 106 to be played, the audio play module 101 obtains the audio encoding format of the local audio file 106 by parsing the local audio file 106. The A2DP connection management module 103 of the audio transmission module 102 confirms whether or not the audio encoding format of the local audio file 106 is included in the audio encoding format supported by the Bluetooth audio receiving terminal 105. If included, the A2DP connection management module 103 selects the audio encoding format of the local audio file 106 as the A2DP transmission audio encoding format of the high quality audio data transmitted from the Bluetooth audio transmitting terminal 100 to the Bluetooth audio receiving end 105. Otherwise, one of the audio encoding formats supported by the Bluetooth audio receiving terminal 105 is selected as the A2DP transmission audio encoding format according to the preferred principle. The preferred principles include a user-preferred transmission format, Bluetooth link communication quality between the Bluetooth audio transmitter 100 and the Bluetooth audio receiver 105, a large separation, and the like. For example, when the Bluetooth audio receiving end 105 supports both the SBC and AAC formats, if the preferred principle is to save power, the SBC with a lower compression is selected, and if the preferred principle is that the audio is high, the AAC with a relatively high compression is selected.
A2DP连接管理模块 103控制蓝牙音频发送端 100的蓝牙硬件模块 104和蓝牙音频接收端 105建立蓝牙 A2DP连接 S100。 当该蓝牙音频 发送端 100的音频传输模块 102选择本地音频文件 106的音频编码格 式作为 A2DP传输音频编码格式时, 该蓝牙音频发送端 100的音频播 放模块 101直接将本地音频文件 106的高质量音频数据以本地音频文 件 106的音频编码格式发送给音频传输模块 102。音频传输模块 102再 通过蓝牙 A2DP连接 S100将高质量音频数据以本地音频文件 106的音 频编码格式发送给蓝牙音频接收端 105,中间无需进行音频编码格式转 换。  The A2DP connection management module 103 controls the Bluetooth hardware module 104 of the Bluetooth audio transmitter 100 and the Bluetooth audio receiver 105 to establish a Bluetooth A2DP connection S100. When the audio transmission module 102 of the Bluetooth audio transmitting end 100 selects the audio encoding format of the local audio file 106 as the A2DP transmission audio encoding format, the audio playback module 101 of the Bluetooth audio transmitting terminal 100 directly directly outputs the high quality audio of the local audio file 106. The data is sent to the audio transmission module 102 in the audio encoding format of the local audio file 106. The audio transmission module 102 then connects the S100 via Bluetooth A2DP to transmit the high quality audio data to the Bluetooth audio receiver 105 in the audio encoding format of the local audio file 106 without intermediate audio format conversion.
当蓝牙音频接收端 105所支持的音频编码格式中不包含本地音频 文件 106的音频编码格式, 即蓝牙.音频发送端 100的音频传输模块所 选择的 A2DP传输音频编码格式与本地音频文件 106的音频编码格式 不一样时, 该蓝牙音频发送端 100的音频播放模块 101 需要将蓝牙高 质量音频数据从本地音频文件 106 的音频编码格式转换为所述 A2DP 传输音频编码格式后, 再通过音频传输模块 102将高质量音频数据以 所述 A2DP传输音频编码格式传输给蓝牙音频接收端 105。  When the audio encoding format supported by the Bluetooth audio receiving end 105 does not include the audio encoding format of the local audio file 106, that is, the A2DP transmission audio encoding format selected by the audio transmission module of the Bluetooth transmitting end 100 and the audio of the local audio file 106 When the encoding format is different, the audio playing module 101 of the Bluetooth audio transmitting end 100 needs to convert the Bluetooth high-quality audio data from the audio encoding format of the local audio file 106 to the A2DP transmission audio encoding format, and then through the audio transmission module 102. High quality audio data is transmitted to the Bluetooth audio receiving end 105 in the A2DP transmission audio encoding format.
例如, 该蓝牙音频发送端 100将高质量音频数据从本地音频文件 的音频编码格式转换为 PCM格式, 然后将高质量音频数据从该 PCM 格式转换为 A2DP传输音频编码格式,以便传输给蓝牙音频接收端 105。  For example, the Bluetooth audio transmitting end 100 converts high quality audio data from an audio encoding format of a local audio file to a PCM format, and then converts the high quality audio data from the PCM format to an A2DP transmission audio encoding format for transmission to Bluetooth audio reception. End 105.
在本实施例中, 由于音频播放模块 101和音频传输模块 102可以 进行交互, 因此, 可以在音频播放模块 102 中判断是否需要对本地音 频文件 106的音频编码格式进行转换, 从而当蓝牙音频接收端 105所 支持的音频编码格式中包含本地音频文件 106 的音频编码格式时, 可 以直接将本地音频文件 106 以其原音频编码格式发送给音频传输模块 102, 利用蓝牙 A2DP连接 S100输出给蓝牙音频接收端 105。这是通过 例如将音频播放模块 101和音频传输模块 102这两个模块实现为同一 硬件或者软件项目, 通过内部信号通道进行传输实现。 替换地, 也可 以将音频播放模块 101和音频传输模块 102实现为两个独立的模块, 通过专用的通信通道、 信号、 事件等来完成交互和音频数据传送。 In this embodiment, since the audio play module 101 and the audio transfer module 102 can interact, it is possible to determine whether the local sound is needed in the audio play module 102. The audio encoding format of the frequency file 106 is converted, so that when the audio encoding format supported by the Bluetooth audio receiving end 105 includes the audio encoding format of the local audio file 106, the local audio file 106 can be directly sent to the original audio encoding format. The audio transmission module 102 is output to the Bluetooth audio receiving terminal 105 by using the Bluetooth A2DP connection S100. This is achieved by, for example, implementing the two modules of the audio playback module 101 and the audio transmission module 102 as the same hardware or software item through the internal signal channel. Alternatively, the audio playback module 101 and the audio transmission module 102 can also be implemented as two separate modules for interactive and audio data transfer via dedicated communication channels, signals, events, and the like.
此外, 该蓝牙音频发送端 105的音频播放模块 101可以将本地音 频文件 106的高质量音频数据从本地音频文件 106的音频编码格式转 换为中间音频编码格式 (如 PCM格式), 并进一步将高盾量音频数据 从该中间音频编码格式转换为 A2DP传输音频编码格式。 因此, 无需 将中间音频编码格式数据传输到操作系统中, 从而避免了使用蓝牙虚 拟声卡, 节省了硬件资源。  In addition, the audio playback module 101 of the Bluetooth audio transmitting end 105 can convert the high quality audio data of the local audio file 106 from the audio encoding format of the local audio file 106 to the intermediate audio encoding format (such as the PCM format), and further increase the high shield. The volume audio data is converted from the intermediate audio encoding format to the A2DP transmission audio encoding format. Therefore, it is not necessary to transfer the intermediate audio encoding format data to the operating system, thereby avoiding the use of the Bluetooth virtual sound card and saving hardware resources.
图 2是根据本发明一个实施例自动配置蓝牙 A2DP传输音频编码 格式的方法消息流程图。  2 is a message flow diagram of a method for automatically configuring a Bluetooth A2DP transmission audio coding format in accordance with one embodiment of the present invention.
如图 2所示, 首先, 用户选择所要播放的本地音频文件。 蓝牙音 频发送端通过解析本地音频文件, 获取本地音频文件的音频编码格式 200。 然后, 蓝牙音频发送端与蓝牙音频接收端建立蓝牙连接 201 , 询 问蓝牙音频接收端支持哪些音频编码格式 202,蓝牙音频接收端返回所 支持的音频编码格式 203。例如,蓝牙音频发送端可以 居 SEP( Stream Endpoint )发现过程以及获得能力 (get capabilities ) 过程返回的 SEP 信息和服务能力, 来确定蓝牙音频接收端所支持的音频编码格式。  As shown in Figure 2, first, the user selects the local audio file to be played. The Bluetooth audio sender obtains the audio encoding format 200 of the local audio file by parsing the local audio file. Then, the Bluetooth audio transmitting end establishes a Bluetooth connection 201 with the Bluetooth audio receiving end, and asks which audio encoding format 202 is supported by the Bluetooth audio receiving end, and the Bluetooth audio receiving end returns the supported audio encoding format 203. For example, the Bluetooth audio sender can determine the audio encoding format supported by the Bluetooth audio receiver by using the SEP (Stream Endpoint) discovery process and the SEP information and service capabilities returned by the get capabilities process.
蓝牙音频发送端通过比较本地音频文件的音频编码格式与蓝牙音 频接收端支持的音频编码格式, 确认蓝牙音频接收端所支持的音频编 码格式中是否包含本地音频文件的音频编码格式 204,并根据其确认结 果来选择蓝牙音频接收端所支持的音频编码格式中的某一种作为高质 量音频数据从蓝牙音频发送端传输给蓝牙音频接收端的 A2DP传输音 频编码格式 205。具体而言, 当蓝牙音频接收端所支持的音频编码格式 中包含本地音频文件的音频编码格式时, 音频传输模块选择本地音频 文件的音频编码格式作为 A2DP传输音频编码格式; 否则, 根据设定 的优选原则来选择蓝牙音频接收端所支持的音频编码格式中的某一种 作为 A2DP传输音频编码格式。 The Bluetooth audio transmitting end determines whether the audio encoding format supported by the Bluetooth audio receiving end includes the audio encoding format 204 of the local audio file by comparing the audio encoding format of the local audio file with the audio encoding format supported by the Bluetooth audio receiving end, and according to the audio encoding format 204 of the local audio file. The result of the confirmation is selected to select one of the audio encoding formats supported by the Bluetooth audio receiving end as the high quality audio data transmitted from the Bluetooth audio transmitting end to the A2DP transmission audio encoding format 205 of the Bluetooth audio receiving end. Specifically, when the audio encoding format supported by the Bluetooth audio receiving end includes the audio encoding format of the local audio file, the audio transmission module selects the audio encoding format of the local audio file as the A2DP transmission audio encoding format; otherwise, according to the setting The principle of selection is to select one of the audio encoding formats supported by the Bluetooth audio receiver. As an A2DP transmission audio encoding format.
蓝牙音频发送端在初始化时针对本地所支持的各种音频编码格式 分别注册一相应的 SEP。 蓝牙音频发送端的音频传输模块选择 A2DP 传输音频编码格式后, 通过对应于该选定 A2DP传输音频编码格式的 SEP与蓝牙音频接收端同样对应于选定 A2DP传输音频编码格式的 SEP 建立蓝牙 A2DP连接 206,并注册一个新的对应于该选定 A2DP传输音 频编码格式的 SEP207,新注册的 SEP即变成该选定 A2DP传输音频编 码格式的备用 SEP。 因而, 当另一蓝牙音频接收端与该蓝牙音频发送 端进行同一音频编码格式的音频数据传输时,仍然可以利用与该 A2DP 传输音频编码格式对应的 SEP建立蓝牙 A2DP连接。 而在蓝牙 A2DP 连接断开之后, 该连接所使用的 SEP即被注销, 从而避免了由于针对 同一音频编码格式注册多个 SEP所引起的连接资源浪费。  The Bluetooth audio sender registers a corresponding SEP for each of the various audio encoding formats supported locally during initialization. After the audio transmission module of the Bluetooth audio transmitting end selects the A2DP transmission audio encoding format, the Bluetooth A2DP connection is established by the SEP corresponding to the selected A2DP transmission audio encoding format and the SEP corresponding to the selected A2DP transmission audio encoding format. And registering a new SEP 207 corresponding to the selected A2DP transmission audio coding format, the newly registered SEP becomes the standby SEP of the selected A2DP transmission audio coding format. Therefore, when another Bluetooth audio receiving end performs audio data transmission in the same audio encoding format as the Bluetooth audio transmitting end, the Bluetooth A2DP connection can still be established by using the SEP corresponding to the A2DP transmission audio encoding format. After the Bluetooth A2DP connection is disconnected, the SEP used by the connection is logged off, thereby avoiding the waste of connection resources caused by registering multiple SEPs for the same audio encoding format.
如果 A2DP传输音频是本地音频文件的音频编码格式, 蓝牙音频 发送端可以直接将本地音频文件的高质量音频数据以本地音频文件的 音频编码格式发送给蓝牙音频接收端, 中间无需进行音频编码格式转 换。 如果蓝牙音频接收端所支持的音频编码格式中不包含本地音频文 件的音频编码格式,即蓝牙音频发送端的音频传输模块所选择的 A2DP 传输音频编码格式与本地音频文件的音频编码格式不一样时, 该蓝牙 音频发送端需要对蓝牙高质量音频数据进行音频编码格式的转换。 首 先将本地音频文件的高质量音频数据从本地音频文件的音频编码格式 转换为中间音频编码格式 208 , 其中优选中间音频编码格式为 PCM音 频编码格式。 然后进一步将蓝牙高 ^量音频数据从中间音频编码格式 转换为 A2DP传输音频编码格式 209。  If the A2DP transmission audio is the audio encoding format of the local audio file, the Bluetooth audio transmitting end can directly transmit the high quality audio data of the local audio file to the Bluetooth audio receiving end in the audio encoding format of the local audio file, without performing audio encoding format conversion in the middle. . If the audio encoding format supported by the Bluetooth audio receiving end does not include the audio encoding format of the local audio file, that is, the A2DP transmission audio encoding format selected by the audio transmission module of the Bluetooth audio transmitting end is different from the audio encoding format of the local audio file, The Bluetooth audio sender needs to convert the audio encoding format of the Bluetooth high quality audio data. The high quality audio data of the local audio file is first converted from the audio encoding format of the local audio file to the intermediate audio encoding format 208, wherein preferably the intermediate audio encoding format is the PCM audio encoding format. The Bluetooth high volume audio data is then further converted from the intermediate audio encoding format to the A2DP transmission audio encoding format 209.
蓝牙音频发送端将高质量音频数据以该 A2DP传输音频编码格式 的形式发送给蓝牙音频接收端 210。  The Bluetooth audio transmitting end transmits high quality audio data to the Bluetooth audio receiving terminal 210 in the form of the A2DP transmission audio encoding format.
虽然本发明是参考其优选实施例示出和描述的, 但本领域的普通 技术人员应该理解, 在不脱离附属的权利要求书所限定的本发明的精 神和范围的情况下, 可以进行形式和细节的各种改变。  While the invention has been shown and described with respect to the preferred embodiments the embodiments of the embodiments of the invention Various changes.

Claims

权 利 要 求 Rights request
1.一种自动配置蓝牙音频数据 A2DP传输的音频编码格式的方法, 其中蓝牙音频数据从蓝牙音频发送端传输给蓝牙音频接收端, 所述方 法包括步骤: A method for automatically configuring an audio encoding format for Bluetooth audio data A2DP transmission, wherein Bluetooth audio data is transmitted from a Bluetooth audio transmitting end to a Bluetooth audio receiving end, the method comprising the steps of:
获取本地音频文件的音频编码格式;  Obtain an audio encoding format of a local audio file;
获取蓝牙音频接收端所支持的音频编码格式;  Obtain an audio encoding format supported by the Bluetooth audio receiving end;
确认蓝牙音频接收端所支持的音频编码格式中是否包含本地音频 文件的音频编码格式; 以及  Confirming whether the audio encoding format supported by the Bluetooth audio receiver contains the audio encoding format of the local audio file;
根据确认结果, 从蓝牙音频接收端所支持的音频编码格式中选择 一种作为 A2DP传输音频编码格式。  According to the confirmation result, one of the audio encoding formats supported by the Bluetooth audio receiving end is selected as the A2DP transmission audio encoding format.
2. 根据权利要求 1所述的方法, 其中, 所迷选择步骤包括: 当蓝牙音频接收端所支持的音频编码格式中包含本地音频文件的 音频编码格式时, 选择本地音频文件的音频编码格式作为 A2DP传输 音频编码格式。  2. The method according to claim 1, wherein the selecting step comprises: when an audio encoding format supported by the Bluetooth audio receiving end includes an audio encoding format of the local audio file, selecting an audio encoding format of the local audio file as A2DP transmits the audio encoding format.
3. 根据权利要求 2所述的方法, 其中将本地音频文件的音频数据 以本地音频文件的音频编码格式发送给音频传输模块, 从而音频传输 模块直接将音频数据通过 A2DP 连接以本地音频文件的音频编码格式 传输给蓝牙音频接收端。  3. The method according to claim 2, wherein the audio data of the local audio file is sent to the audio transmission module in an audio encoding format of the local audio file, so that the audio transmission module directly connects the audio data to the audio of the local audio file through the A2DP. The encoding format is transmitted to the Bluetooth audio receiver.
4. 根据权利要求 1所述的方法, 其中, 所述选择步骤还包括: 的音频编码格式时, 将本地音频文件的音频数据从本地音频文件的音 频编码格式转换为所述的 A2DP传输音频编码格式。  4. The method according to claim 1, wherein the selecting step further comprises: converting the audio data of the local audio file from the audio encoding format of the local audio file to the A2DP transmission audio encoding when the audio encoding format is: format.
5. 根据权利要求 4所述的方法, 其特征在于:  5. The method of claim 4, wherein:
该蓝牙音频发送端将高质量音频数据从本地音频文件的音频编码 格式转换为中间音频编码格式, 再将音频数据从该中间音频编码格式 转换为 A2DP传输音频编码格式。  The Bluetooth audio transmitter converts the high quality audio data from the audio encoding format of the local audio file to the intermediate audio encoding format, and then converts the audio data from the intermediate audio encoding format to the A2DP transmission audio encoding format.
6. 根据权利要求 5所述的方法, 其特征在于:  6. The method of claim 5, wherein:
所述中间音频编码格式为 PCM格式。  The intermediate audio encoding format is a PCM format.
7. 根据权利要求 1、 2或 4所述的方法, 其中  7. The method of claim 1, 2 or 4, wherein
蓝牙音频发送端和蓝牙音频接收端建立 A2DP连接, 将蓝牙音频 数据通过 A2DP连接以该 A2DP传输音频编码格式传输给蓝牙音频接 收端。 The Bluetooth audio sender and the Bluetooth audio receiver establish an A2DP connection, and the Bluetooth audio data is transmitted to the Bluetooth audio interface through the A2DP connection in the A2DP transmission audio coding format. Received.
8. 根据权利要求 7所述的方法, 还包括步骤: 蓝牙音频发送端对 本地所支持的各音频编码格式分别注册一个相应的 SEP, 当选择 A2DP 传输音频编码格式后, 蓝牙音频发送端通过该选定 A2DP传输音频编 码格式的 SEP与蓝牙音频接收端同样对应于选定 A2DP传输音频编码 格式的 SEP建立蓝牙 A2DP连接,同时注册一个新的对应于选定 A2DP 传输音频编码格式的 SEP。  8. The method according to claim 7, further comprising the steps of: the Bluetooth audio transmitting end separately registering a corresponding SEP for each audio encoding format supported by the local, and after selecting the A2DP to transmit the audio encoding format, the Bluetooth audio transmitting end passes the The SEP that selects the A2DP transmission audio coding format and the Bluetooth audio receiver also establish a Bluetooth A2DP connection corresponding to the SEP of the selected A2DP transmission audio coding format, and simultaneously register a new SEP corresponding to the selected A2DP transmission audio coding format.
9. 一种自动配置蓝牙音频数据的 A2DP传输音频编码格式的蓝牙 音频发送端, 所述蓝牙音频发送端用于将蓝牙音频数据传输给蓝牙音 频接收端, 并且包括:  9. A Bluetooth audio transmitting end of an A2DP transmission audio encoding format for automatically configuring Bluetooth audio data, wherein the Bluetooth audio transmitting end is configured to transmit Bluetooth audio data to a Bluetooth audio receiving end, and includes:
音频播放模块, 用于获取本地音频文件的音频编码格式, 并读取 本地音频文件的音频数据;  An audio playing module, configured to obtain an audio encoding format of a local audio file, and read audio data of the local audio file;
音频传输模块,用于获取蓝牙音频接收端所支持的音频编码格式, 确认蓝牙音频接收端所支持的音频编码格式中是否包含本地音频 文件的音频编码格式; 以及根据确认结果, 从蓝牙音频接收端所支持 的音频编码格式中选择一种作为蓝牙音频数据从蓝牙音频发送端传输 给蓝牙音频接收端的 A2DP传输音频编码格式。  The audio transmission module is configured to obtain an audio encoding format supported by the Bluetooth audio receiving end, and confirm whether the audio encoding format supported by the Bluetooth audio receiving end includes an audio encoding format of the local audio file; and according to the confirmation result, from the Bluetooth audio receiving end One of the supported audio encoding formats is selected as the A2DP transmission audio encoding format for Bluetooth audio data to be transmitted from the Bluetooth audio transmitting end to the Bluetooth audio receiving end.
10. 根据权利要求 9所述的蓝牙音频发送端, 其中, 当蓝牙音频 接收端所支持的音频编码格式中包含本地音频文件的音频编码格式 时, 音频传输模块选择本地音频文件的音频编码格式作为 A2DP传输 音频编码格式。  10. The Bluetooth audio transmitting end according to claim 9, wherein when the audio encoding format supported by the Bluetooth audio receiving end includes an audio encoding format of the local audio file, the audio transmission module selects an audio encoding format of the local audio file as A2DP transmits the audio encoding format.
11. 根据权利要求 9或 10所述的蓝牙音频发送端, 其中, 所述音 频播放模块将本地音频文件的音频数据以本地音频文件的音频编码格 式发送给音频传输模块,从而音频传输模块直接将音频数据通过 A2DP 连接以本地音频文件的音频编码格式传输给蓝牙音频接收端。  The Bluetooth audio transmitting end according to claim 9 or 10, wherein the audio playing module sends the audio data of the local audio file to the audio transmission module in an audio encoding format of the local audio file, so that the audio transmission module directly The audio data is transmitted to the Bluetooth audio receiver via the A2DP connection in the audio encoding format of the local audio file.
12. 根据权利要求 9所述的蓝牙音频发送端, 其中,  12. The Bluetooth audio transmitting end according to claim 9, wherein
当蓝牙音频接收端所支持的音频编码格式中不包含本地音频文件 的音频编码格式时, 该蓝牙音频发送端将本地音频文件的音频数据从 本地音频文件的音频编码格式转换为所述的 A2DP传输音频编码格式。  When the audio encoding format supported by the Bluetooth audio receiving end does not include the audio encoding format of the local audio file, the Bluetooth audio transmitting end converts the audio data of the local audio file from the audio encoding format of the local audio file to the A2DP transmission. Audio encoding format.
13. 根据权利要求 12所述的蓝牙音频发送端, 其中,  13. The Bluetooth audio transmitting end according to claim 12, wherein
所述音频播放模块将音频数据从本地音频文件的音频编码格式转 换为中间音频编码格式; 并且 所述音频传输模块将音频数据从该中间音频编码格式转换为The audio playback module converts audio data from an audio encoding format of a local audio file to an intermediate audio encoding format; The audio transmission module converts audio data from the intermediate audio encoding format to
A2DP传输音频编码格式, 并传输给蓝牙音频接收端。 A2DP transmits the audio encoding format and transmits it to the Bluetooth audio receiver.
14. 根据权利要求 13所述的蓝牙音频发送端, 其特征在于: 所述中间音频编码格式为 PCM格式。  14. The Bluetooth audio transmitting end according to claim 13, wherein: the intermediate audio encoding format is a PCM format.
15. 根据权利要求 9, 10和 12-14任一项所述的蓝牙音频发送端, 其中, 所述音频传输模块对本地所支持的各音频编码格式分别注册一 个相应的 SEP, 当选择 A2DP传输音频编码格式后, 所述音频传输模 块通过该选定 A2DP传输音频编码格式的 SEP与蓝牙音频接收端同样 对应于选定 A2DP传输音频编码格式的 SEP建立蓝牙 A2DP连接, 同 时注册一个新的对应于选定 A2DP传输音频编码格式的 SEP。  The Bluetooth audio transmitting end according to any one of claims 9, 10 and 12-14, wherein the audio transmission module separately registers a corresponding SEP for each audio encoding format supported by the local, when selecting the A2DP transmission After the audio encoding format, the audio transmission module establishes a Bluetooth A2DP connection by the SEP of the selected A2DP transmission audio coding format and the SEP corresponding to the selected A2DP transmission audio coding format, and simultaneously registers a new corresponding to the SEP. The SEP of the A2DP transmission audio coding format is selected.
16. 一种自动配置蓝牙音频数据的 A2DP传输音频编码格式的系 统, 包括: '  16. A system for automatically configuring A2DP transmission audio coding format for Bluetooth audio data, including: '
权利要求 9 - 15之一所述的蓝牙音频发送端, 和  a Bluetooth audio transmitter as claimed in any one of claims 9 to 15, and
蓝牙音频接收端, 用于接收从所述蓝牙音频发送端传输的蓝牙音 频数据。  a Bluetooth audio receiving end, configured to receive Bluetooth audio data transmitted from the Bluetooth audio transmitting end.
17. 一种计算机可读的存储器, 其上存储有计算机程序, 所述计 算机程序包括至少一个用于处理数据的代码段, 在被计算机执行时, 所述代码段使计算机执行权利要求 1 - 8任一项所述的方法步骤。  17. A computer readable memory having stored thereon a computer program, the computer program comprising at least one code segment for processing data, the code segment causing a computer to perform claims 1 - 8 when executed by a computer The method steps of any of the above.
.  .
18. 一种用于自动配置蓝牙音频数据 A2DP传输的音频编码格式 的计算机程序, 所述计算机程序包括指令, 用于: 18. A computer program for automatically configuring an audio encoding format for Bluetooth audio data A2DP transmission, the computer program comprising instructions for:
- 获取本地音频文件的音频编码格式;  - Get the audio encoding format of the local audio file;
- 获取蓝牙音频接收端所支持的音频编码格式;  - Obtain the audio encoding format supported by the Bluetooth audio receiver;
- 确认蓝牙音频接收端所支持的音频编码格式中是否包含本地音 频文件的音频编码格式; 以及  - confirm whether the audio encoding format supported by the Bluetooth audio receiver contains the audio encoding format of the local audio file;
- 根据确认结果, 从蓝牙音频接收端所支持的音频编码格式中选 择一种作为蓝牙音频数据从蓝牙音频发送端传输给蓝牙音频接收端的 - According to the confirmation result, one of the audio encoding formats supported by the Bluetooth audio receiving end is selected as the Bluetooth audio data transmitted from the Bluetooth audio transmitting end to the Bluetooth audio receiving end.
A2DP传输音频编码格式。 A2DP transmits the audio encoding format.
PCT/CN2008/000720 2007-04-09 2008-04-09 Method and system for auto-setting audio coding formats of bluetooth a2dp transmission WO2008122212A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2007100652467A CN101286770B (en) 2007-04-09 2007-04-09 Method and system for automatically configuring audio encoding format transmitted by bluetooth A2DP
CN200710065246.7 2007-04-09

Publications (1)

Publication Number Publication Date
WO2008122212A1 true WO2008122212A1 (en) 2008-10-16

Family

ID=39830480

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/000720 WO2008122212A1 (en) 2007-04-09 2008-04-09 Method and system for auto-setting audio coding formats of bluetooth a2dp transmission

Country Status (2)

Country Link
CN (1) CN101286770B (en)
WO (1) WO2008122212A1 (en)

Families Citing this family (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453516B (en) * 2008-11-19 2011-01-12 闻泰集团有限公司 Bluetooth MP3 playing method on mobile phone and mobile phone thereof
US8532714B2 (en) * 2009-01-29 2013-09-10 Qualcomm Incorporated Dynamically provisioning a device with audio processing capability
CN110278508A (en) * 2010-10-02 2019-09-24 广州市智专信息科技有限公司 A kind of audiogenic device and its control method, earphone
CN105763991B (en) * 2010-10-02 2021-06-01 广州市智专信息科技有限公司 Earphone, corresponding sound source equipment and control method
CN102331727B (en) * 2011-08-24 2015-05-06 华为软件技术有限公司 Bluetooth media play controlling method and relevant device
CN103618745A (en) * 2013-12-11 2014-03-05 天津安普德科技有限公司 Improved bluetooth A2DP high-fidelity voice frequency transmission protocol
CN105307102A (en) * 2014-07-18 2016-02-03 光宝电子(广州)有限公司 Bluetooth wireless audio transmitter
CN106788612B (en) * 2016-12-15 2021-06-04 海信视像科技股份有限公司 Bluetooth mode adjusting method based on A2DP protocol and Bluetooth device
CN106921908B (en) * 2017-03-24 2020-05-26 成都极米科技股份有限公司 Bluetooth sound box implementation method and system
CN108809921B (en) * 2017-07-31 2021-08-06 视联动力信息技术股份有限公司 Audio processing method, video networking server and video networking terminal
CN113470668B (en) * 2017-08-14 2024-03-12 海信视像科技股份有限公司 Display device adjusting Bluetooth method for setting A2DP (analog to digital) codes
US10097594B1 (en) * 2017-08-31 2018-10-09 T-Mobile Usa, Inc. Resource-managed codec selection
CN107770759B (en) * 2017-10-17 2020-09-29 Oppo广东移动通信有限公司 Bluetooth voice link establishing method and device, storage medium and mobile terminal
CN108040332B (en) * 2017-12-25 2020-03-10 江苏惠通集团有限责任公司 Bluetooth-based audio transmission method and device, storage medium and terminal
CN108347719B (en) * 2018-02-06 2021-02-02 Oppo广东移动通信有限公司 Bluetooth device connection method, device, storage medium, mobile terminal and server
CN108322818B (en) * 2018-02-28 2020-10-09 北京酷我科技有限公司 Audio format processing method in audio playing
CN108540842B (en) * 2018-04-18 2021-02-12 广州华多网络科技有限公司 Audio playing device, audio playing method, audio playing device and storage medium
CN108737658B (en) * 2018-05-22 2020-06-05 Oppo(重庆)智能科技有限公司 Mobile terminal, switching method of Bluetooth audio coding mode of mobile terminal and storage medium
CN109003618A (en) * 2018-08-14 2018-12-14 Oppo广东移动通信有限公司 Coding control method, device, electronic equipment and storage medium
CN112995963A (en) * 2019-12-17 2021-06-18 中兴通讯股份有限公司 Bluetooth audio transmission method, device, terminal and readable storage medium
US20210224024A1 (en) * 2020-01-21 2021-07-22 Audiowise Technology Inc. Bluetooth audio system with low latency, and audio source and audio sink thereof
CN111313984B (en) * 2020-02-19 2022-02-18 北京瑞森新谱科技股份有限公司 Testing device and method for various audio codes of Bluetooth headset
CN111199743B (en) * 2020-02-28 2023-08-18 Oppo广东移动通信有限公司 Audio coding format determining method and device, storage medium and electronic equipment
CN115085769A (en) * 2021-03-10 2022-09-20 深圳市万普拉斯科技有限公司 Configuration method, device, terminal and storage medium of coding and decoding format
CN113316129B (en) * 2021-04-22 2022-05-20 荣耀终端有限公司 Method for acquiring coding and decoding capabilities in Bluetooth device and electronic device
CN113689864B (en) * 2021-10-27 2022-01-18 北京百瑞互联技术有限公司 Audio data processing method and device and storage medium
CN114783452B (en) * 2022-06-17 2022-12-13 荣耀终端有限公司 Audio playing method, device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050048104A (en) * 2003-11-19 2005-05-24 엘지전자 주식회사 Apparatus and method for bluetooth wireless audio out in digital broad casting receiver
CN1787395A (en) * 2004-12-10 2006-06-14 乐金电子(昆山)电脑有限公司 Audio output apparatus adopting blue teeth tech. and its method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050048104A (en) * 2003-11-19 2005-05-24 엘지전자 주식회사 Apparatus and method for bluetooth wireless audio out in digital broad casting receiver
CN1787395A (en) * 2004-12-10 2006-06-14 乐金电子(昆山)电脑有限公司 Audio output apparatus adopting blue teeth tech. and its method

Also Published As

Publication number Publication date
CN101286770A (en) 2008-10-15
CN101286770B (en) 2011-07-06

Similar Documents

Publication Publication Date Title
WO2008122212A1 (en) Method and system for auto-setting audio coding formats of bluetooth a2dp transmission
US8805454B2 (en) Dynamically provisioning a device
CN100592653C (en) Portable audio playback device with bass enhancement
JP7302006B2 (en) Methods for operating Bluetooth devices
JP2021522731A (en) Headphone wireless communication method, main headphone, slave headphone and headphone system
WO2006116938A1 (en) Method for supporting simultaneously multipath bluetooth audio application
WO2014090040A1 (en) Method of using a mobile device as a microphone, method of audio playback, and related device and system
CN103077003A (en) Method, device and system for outputting HiFi (High Fidelity) audio frequency
US7660602B2 (en) Full-duplex radio speaker system and associated method
WO2021160040A1 (en) Audio transmission method and electronic device
WO2012068814A1 (en) Audio processing method and dual-mode digital mobile communication terminal
CN101114846A (en) Blue tooth wireless multimedia transmission apparatus and system and method
US20140163971A1 (en) Method of using a mobile device as a microphone, method of audio playback, and related device and system
WO2023124587A1 (en) Media file transmission method and device
WO2020232631A1 (en) Voice frequency division transmission method, source terminal, playback terminal, source terminal circuit and playback terminal circuit
WO2022222556A1 (en) Method for acquiring codec capabilities in bluetooth devices and electronic device
JP2007208810A (en) Communication apparatus, and communication method
US20080051131A1 (en) Method and system for transporting FM data over a Bluetooth HCI link
He et al. Point-to-multipoint stereo audio transmitting system based on bluetooth
KR20070098077A (en) System and method for transmitting-receiving multicaannel audio data using bluetooth
CN115499040B (en) Bluetooth adapter and connection method thereof
CN201270582Y (en) Wireless stereo Bluetooth acoustic
TW202315430A (en) Bluetooth voice communication system and related computer program product for generating stereo voice effect
US20040028024A1 (en) Method of transmitting voice data
TW202027554A (en) A wireless transmission system and method

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08748387

Country of ref document: EP

Kind code of ref document: A1