[go: up one dir, main page]

CN101114846A - Bluetooth wireless multimedia transmission device and system and method thereof - Google Patents

Bluetooth wireless multimedia transmission device and system and method thereof Download PDF

Info

Publication number
CN101114846A
CN101114846A CNA2006101090871A CN200610109087A CN101114846A CN 101114846 A CN101114846 A CN 101114846A CN A2006101090871 A CNA2006101090871 A CN A2006101090871A CN 200610109087 A CN200610109087 A CN 200610109087A CN 101114846 A CN101114846 A CN 101114846A
Authority
CN
China
Prior art keywords
bluetooth
mode
bluetooth wireless
wireless multimedia
transmission device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2006101090871A
Other languages
Chinese (zh)
Inventor
陈允迪
黄添寿
陈毓鸿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Giga Byte Technology Co Ltd
Original Assignee
Giga Byte Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Giga Byte Technology Co Ltd filed Critical Giga Byte Technology Co Ltd
Priority to CNA2006101090871A priority Critical patent/CN101114846A/en
Publication of CN101114846A publication Critical patent/CN101114846A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

A kind of bluetooth wireless multimedia transmission device, it adopts Advanced Audio Distribution Profile (A2 DP) to carry on the Audio data transmission, this bluetooth wireless multimedia transmission device includes: a Bluetooth wireless transmission module having a Bluetooth transmitter mode and a Bluetooth receiver mode, transmitting audio data to the outside when it is set to the Bluetooth transmitter mode, and receiving the audio data from the outside when it is set to the Bluetooth receiver mode, and a mode switch for selectively switching the Bluetooth wireless multimedia transmission device to the Bluetooth transmitter mode or the Bluetooth receiver mode; the invention can enable the multimedia playing device to have the function of carrying out Bluetooth wireless transmission by adopting an A2DP protocol, overcomes the defect that the Bluetooth wireless multimedia playing device only has one-way transmission in the prior art, and further improves the use convenience of wireless transmission.

Description

蓝牙无线多媒体传输装置与系统及其方法 Bluetooth wireless multimedia transmission device and system and method thereof

技术领域technical field

本发明涉及一种无线传输技术,特别是一种蓝牙(Bluetooth)无线多媒体传输技术。The invention relates to a wireless transmission technology, in particular to a Bluetooth (Bluetooth) wireless multimedia transmission technology.

背景技术Background technique

随着无线科技的发展,近年来无线蓝牙技术逐渐受到消费者的青睐,而无线蓝牙技术目前主要是应用于手机与计算机上的声音与数据的传输,另外,在无线蓝牙传输技术中,为了支持左右声道的音乐播放,更定义了立体声的规范(Profile),即先进音频分配传输协议(Advanced Audio DistributionProfile,A2DP),其不同于目前广泛运用于手机上的免提听筒传输协议(HandsFree Profile,HFP),可提供高品质音乐的无线传输,并保有极高的无线技术品质,然而目前的蓝牙产品设计中发射模块与接收模块为独立产品,使用者在操作时仅能作单向的传输,例如,具有蓝牙传输功能的耳机与播放器,或者具有蓝牙传输功能的麦克风与录音器,在使用上不方便。With the development of wireless technology, wireless Bluetooth technology has gradually been favored by consumers in recent years, and wireless Bluetooth technology is currently mainly used in the transmission of voice and data on mobile phones and computers. In addition, in wireless Bluetooth transmission technology, in order to support The music playback of the left and right channels defines the stereo specification (Profile), that is, the Advanced Audio Distribution Profile (A2DP), which is different from the HandsFree Profile, which is widely used in mobile phones. HFP), can provide wireless transmission of high-quality music, and maintain extremely high wireless technology quality. However, the transmitting module and receiving module are independent products in the current Bluetooth product design, and the user can only perform one-way transmission during operation. For example, earphones and players with bluetooth transmission functions, or microphones and recorders with bluetooth transmission functions are inconvenient to use.

请参照中国台湾专利公告第M288753号,该专利揭示一种蓝牙播放装置,包括一播放装置,与播放装置互传音讯数据的第一及第二音源输入单元,及一音讯播放单元;该播放装置包括蓝牙模块、外部音源输入单元、音源开关、音讯处理器、音讯输出/入单元、操控单元与电源单元,蓝牙模块通过蓝牙无线传输技术与上述第一音源输入单元进行音讯数据的传输,外部音源输入单元与第二音源输入单元为音讯传输连接,由该音源开关根据操控单元的输入指令,切换二音源输入单元的其中一个为执行的音讯数据输入路径,并利用音讯输出/入单元传送由音讯播放单元播放。Please refer to China Taiwan Patent Announcement No. M288753, which discloses a bluetooth playback device, including a playback device, the first and second audio source input units for communicating audio data with the playback device, and an audio playback unit; the playback device It includes a Bluetooth module, an external audio input unit, an audio switch, an audio processor, an audio output/input unit, a control unit, and a power supply unit. The Bluetooth module transmits audio data with the above-mentioned first audio input unit through Bluetooth wireless transmission technology, and the external audio source The input unit is connected to the second audio source input unit for audio transmission. The audio source switch switches one of the two audio source input units as the audio data input path for execution according to the input command of the control unit, and uses the audio output/input unit to transmit the audio data from the input unit. The playback unit plays.

虽然上述专利提供了一种能在接收来电信号时自动切换为移动通讯的声音使用,并在移动通讯模式结束后,自动再切换回播放音乐的功能,但此种切换需同时切换所使用的通讯规范(例如,先进音频分配传输协议(A2DP)、影音远程控制规范(AVRCP)、耳机传输规范(HSP)与免提听筒传输规范(HFP)等),在切换软件的配置上较为复杂,且上述蓝牙播放装置并无法使用先进音频分配传输协议(A2DP)来进行音频数据传送,且其外部音源输入是以有线方式做传输,在使用上并不便利。Although the above-mentioned patent provides a function that can automatically switch to mobile communication for voice use when receiving an incoming call signal, and automatically switch back to playing music after the mobile communication mode ends, this switching needs to switch the used communication at the same time. Specifications (for example, Advanced Audio Distribution Protocol (A2DP), Video Remote Control Profile (AVRCP), Headphone Profile (HSP) and Hands-Free Profile (HFP), etc.), the configuration of the switching software is relatively complicated, and the above The Bluetooth playback device cannot use the Advanced Audio Distribution Protocol (A2DP) for audio data transmission, and its external audio source input is transmitted in a wired manner, which is not convenient to use.

因此,如何能提供一种蓝牙无线多媒体传输装置与系统及其方法,以简易的切换软件配置达到提升无线传输的使用便利性的目的,成为研究人员待解决的问题之一。Therefore, how to provide a bluetooth wireless multimedia transmission device and system and its method to achieve the purpose of improving the convenience of wireless transmission with simple switching software configuration has become one of the problems to be solved by researchers.

发明内容Contents of the invention

本发明的主要目的在于提供一种蓝牙无线多媒体传输装置与系统及其方法,将蓝牙发射器程序与蓝牙接收器程序整合,再通过检测硬件电路的通用输入输出(GPIO)信号判断使用者目前欲使用的运作模式,以提升无线传输的使用便利性。The main purpose of the present invention is to provide a bluetooth wireless multimedia transmission device and system and its method, integrate the bluetooth transmitter program with the bluetooth receiver program, and then judge the user's current desire by detecting the general input output (GPIO) signal of the hardware circuit. The operating mode used to improve the convenience of wireless transmission.

为达上述目的,本发明揭示一种蓝牙无线多媒体传输装置,其采用A2DP协议进行音频数据传输,包含有蓝牙无线传输模块,具有一蓝牙发射器模式与一蓝牙接收器模式,当其设定为蓝牙发射器模式时,向外部传送音频数据,当其设定为蓝牙接收器模式时,自外部接收音频数据;以及模式切换开关,用以选择性地将蓝牙无线多媒体传输装置切换为蓝牙发射器模式或蓝牙接收器模式。To achieve the above purpose, the present invention discloses a Bluetooth wireless multimedia transmission device, which uses the A2DP protocol for audio data transmission, includes a Bluetooth wireless transmission module, has a Bluetooth transmitter mode and a Bluetooth receiver mode, when it is set to When in the bluetooth transmitter mode, the audio data is transmitted to the outside, and when it is set to the bluetooth receiver mode, the audio data is received from the outside; and a mode switching switch is used to selectively switch the bluetooth wireless multimedia transmission device to a bluetooth transmitter mode or Bluetooth receiver mode.

本发明还揭示一种蓝牙无线多媒体传输系统,其采用A2DP协议进行音频数据传输,包含有第一蓝牙无线多媒体传输装置,具有设定一蓝牙发射器模式与一蓝牙接收器模式的模式切换开关,当其设定为蓝牙发射器模式时,向外部传送音频数据,当其设定为蓝牙接收器模式时,自外部接收音频数据;以及第二蓝牙无线多媒体传输装置,与第一蓝牙无线多媒体传输装置进行通讯。The present invention also discloses a bluetooth wireless multimedia transmission system, which adopts the A2DP protocol for audio data transmission, includes a first bluetooth wireless multimedia transmission device, and has a mode switching switch for setting a bluetooth transmitter mode and a bluetooth receiver mode, When it is set to the bluetooth transmitter mode, transmit audio data to the outside, when it is set to the bluetooth receiver mode, receive audio data from the outside; and the second bluetooth wireless multimedia transmission device, and the first bluetooth wireless multimedia transmission The device communicates.

本发明还揭示一种蓝牙无线多媒体传输系统,其采用A2DP协议进行音频数据传输,包含有:第一蓝牙无线多媒体传输装置,具有设定一蓝牙发射器模式与一蓝牙接收器模式的第一模式切换开关,当其设定为蓝牙发射器模式时,向外部传送音频数据,当其设定为蓝牙接收器模式时,自外部接收音频数据;及第二蓝牙无线多媒体传输装置,与第一蓝牙无线多媒体传输装置进行通讯,具有设定蓝牙发射器模式与蓝牙接收器模式的第二模式切换开关,当第二蓝牙无线多媒体传输装置设定为蓝牙发射器模式时,向第一蓝牙无线多媒体传输装置发送音频数据,当第二蓝牙无线多媒体传输装置设定为蓝牙接收器模式时,接收第一蓝牙无线多媒体传输装置发送的音频数据。The present invention also discloses a bluetooth wireless multimedia transmission system, which adopts the A2DP protocol for audio data transmission, including: a first bluetooth wireless multimedia transmission device with a first mode for setting a bluetooth transmitter mode and a bluetooth receiver mode switch, when it is set to bluetooth transmitter mode, transmit audio data to the outside, when it is set to bluetooth receiver mode, receive audio data from the outside; and the second bluetooth wireless multimedia transmission device, and the first bluetooth The wireless multimedia transmission device communicates with the second mode switching switch for setting the Bluetooth transmitter mode and the Bluetooth receiver mode. When the second Bluetooth wireless multimedia transmission device is set to the Bluetooth transmitter mode, it transmits to the first Bluetooth wireless multimedia transmission device. The device sends audio data, and receives the audio data sent by the first Bluetooth wireless multimedia transmission device when the second Bluetooth wireless multimedia transmission device is set to a Bluetooth receiver mode.

此外,本发明还揭示一种蓝牙无线多媒体传输方法,其提供以A2DP协议进行声音传输的蓝牙无线多媒体传输装置,其可选择性地切换为一蓝牙发射器模式或一蓝牙接收器模式,并产生一模式切换信号,首先,检测该模式切换信号;当模式切换信号为第一状态时,启用A2DP协议的信号传送协议,用以将蓝牙无线多媒体传输装置设定为蓝牙发射器模式;及当模式切换信号为第二状态时,启用A2DP协议的信号接收协议,用以将蓝牙无线多媒体传输装置设定为蓝牙接收器模式。In addition, the present invention also discloses a bluetooth wireless multimedia transmission method, which provides a bluetooth wireless multimedia transmission device for audio transmission using the A2DP protocol, which can be selectively switched to a bluetooth transmitter mode or a bluetooth receiver mode, and generates A mode switching signal, first, detect the mode switching signal; when the mode switching signal is in the first state, enable the signal transmission protocol of the A2DP protocol to set the bluetooth wireless multimedia transmission device to the bluetooth transmitter mode; and when the mode When the switching signal is in the second state, the signal receiving protocol of the A2DP protocol is enabled to set the Bluetooth wireless multimedia transmission device as a Bluetooth receiver mode.

透过前述蓝牙无线多媒体传输装置与系统及其方法,可使多媒体播放装置具有采用A2DP协议进行蓝牙无线传输的功能,克服现有技术中蓝牙无线多媒体播放装仅具备单向传输的缺点,进而提升无线传输的使用便利性。Through the aforementioned Bluetooth wireless multimedia transmission device and system and method thereof, the multimedia playback device can have the function of using the A2DP protocol for Bluetooth wireless transmission, which overcomes the disadvantage that the Bluetooth wireless multimedia playback device in the prior art only has one-way transmission, and further improves The convenience of wireless transmission.

附图说明Description of drawings

图1为本发明的蓝牙无线多媒体传输装置的方框图;Fig. 1 is the block diagram of bluetooth wireless multimedia transmission device of the present invention;

图2为本发明的蓝牙无线多媒体传输系统的方框图;Fig. 2 is the block diagram of bluetooth wireless multimedia transmission system of the present invention;

图3为本发明第一实施例的蓝牙无线多媒体传输方法的步骤流程图;及3 is a flow chart of the steps of the bluetooth wireless multimedia transmission method according to the first embodiment of the present invention; and

图4为本发明第二实施例的蓝牙无线多媒体传输方法的步骤流程图。FIG. 4 is a flow chart of the steps of the Bluetooth wireless multimedia transmission method according to the second embodiment of the present invention.

具体实施方式Detailed ways

请参照图1,为本发明的蓝牙无线多媒体传输装置10的方框图,其采用A2DP协议进行音频数据传输,包含有蓝牙无线传输模块11及模式切换开关12。Please refer to FIG. 1 , which is a block diagram of a Bluetooth wireless multimedia transmission device 10 of the present invention, which uses the A2DP protocol for audio data transmission, and includes a Bluetooth wireless transmission module 11 and a mode switch 12 .

蓝牙无线传输模块11,具有蓝牙发射器模式11a与蓝牙接收器模式11b,在其设定为蓝牙发射器模式11a时,用以向外部传送音频数据,在其设定为蓝牙接收器模式11b时,用以自外部接收音频数据,而蓝牙无线传输模块11在具体实施中包含有2.4Ghz天线电路、蓝牙连接控制器(1ink controller)、蓝牙连接管理(link manager)及主机终端接口(host terminal interface)等。The Bluetooth wireless transmission module 11 has a Bluetooth transmitter mode 11a and a Bluetooth receiver mode 11b. When it is set to the Bluetooth transmitter mode 11a, it is used to transmit audio data to the outside. When it is set to the Bluetooth receiver mode 11b , to receive audio data from the outside, and the Bluetooth wireless transmission module 11 includes a 2.4Ghz antenna circuit, a Bluetooth connection controller (link controller), a Bluetooth connection management (link manager) and a host terminal interface (host terminal interface) in a specific implementation. )wait.

模式切换开关12,与蓝牙无线传输模块11连接,用以选择性地将蓝牙无线多媒体传输装置10切换为蓝牙发射器模式11a或蓝牙接收器模式11b,其中模式切换开关12的切换可产生模式切换信号,通过判断模式切换信号为第一状态(例如高电平)或第二状态(例如低电平),来决定将蓝牙无线多媒体传输装置10设定为蓝牙发射器模式11a或蓝牙接收器模式11b,而模式切换开关12在具体实施中可通过按钮开关或指拨开关等开关电路来达成。Mode switching switch 12, connected with Bluetooth wireless transmission module 11, in order to selectively switch Bluetooth wireless multimedia transmission device 10 to Bluetooth transmitter mode 11a or Bluetooth receiver mode 11b, wherein the switching of mode switching switch 12 can produce mode switching signal, by judging that the mode switching signal is the first state (such as high level) or the second state (such as low level), it is determined that the Bluetooth wireless multimedia transmission device 10 is set to the Bluetooth transmitter mode 11a or the Bluetooth receiver mode 11b, and the mode switching switch 12 can be realized by a switch circuit such as a button switch or a dip switch in a specific implementation.

请参照图2,为本发明的蓝牙无线多媒体传输系统的方框图,其采用A2DP协议进行音频数据传输,包含有:第一蓝牙无线多媒体传输装置20、第一多媒体播放器40、第一音源输出装置41、第二蓝牙无线多媒体传输装置30、第二多媒体播放器50及第二音源输出装置51。Please refer to Fig. 2, which is a block diagram of the Bluetooth wireless multimedia transmission system of the present invention, which adopts the A2DP protocol for audio data transmission, including: a first Bluetooth wireless multimedia transmission device 20, a first multimedia player 40, a first sound source The output device 41 , the second Bluetooth wireless multimedia transmission device 30 , the second multimedia player 50 and the second audio source output device 51 .

第一蓝牙无线多媒体传输装置20,具有蓝牙发射器模式21a与蓝牙接收器模式21b的第一蓝牙无线传输模块21,以及设定蓝牙发射器模式21a与蓝牙接收器模式21b的第一模式切换开关22,在其设定为蓝牙发射器模式21a时,用以向外部传送音频数据,在其设定为蓝牙接收器模式21b时,用以自外部接收音频数据,而第一蓝牙无线传输模块21在具体实施中包含有2.4Ghz天线电路、蓝牙连接控制器、蓝牙连接管理及主机终端接口等。The first Bluetooth wireless multimedia transmission device 20 has a first Bluetooth wireless transmission module 21 with a Bluetooth transmitter mode 21a and a Bluetooth receiver mode 21b, and a first mode switching switch for setting the Bluetooth transmitter mode 21a and the Bluetooth receiver mode 21b 22, when it is set to the bluetooth transmitter mode 21a, it is used to transmit audio data to the outside, when it is set to the bluetooth receiver mode 21b, it is used to receive audio data from the outside, and the first bluetooth wireless transmission module 21 The specific implementation includes 2.4Ghz antenna circuit, bluetooth connection controller, bluetooth connection management and host terminal interface, etc.

第一多媒体播放器40,与第一蓝牙无线多媒体传输装置20连接,用以编码或译码处理第一蓝牙无线多媒体传输装置30接收的音频数据,在译码处理后将音频数据输出至第二音源输出装置51,另外,可通过第一音源输入装置(图中未示)将音频数据输入至第一多媒体播放器40中,并经由第一蓝牙无线多媒体传输装置20传输至第二蓝牙无线多媒体传输装置30,其中需通过第一模式切换开关22设定第一蓝牙无线多媒体传输装置20的运作模式。The first multimedia player 40 is connected with the first bluetooth wireless multimedia transmission device 20 for encoding or decoding the audio data received by the first bluetooth wireless multimedia transmission device 30, and the audio data is output to The second sound source output device 51, in addition, can input audio data into the first multimedia player 40 through the first sound source input device (not shown in the figure), and transmit to the second via the first bluetooth wireless multimedia transmission device 20. Two Bluetooth wireless multimedia transmission devices 30, wherein the operation mode of the first Bluetooth wireless multimedia transmission device 20 needs to be set through the first mode switching switch 22.

第一音源输出装置41,与第一多媒体播放器40连接,用以输出第一蓝牙无线多媒体传输装置20接收的音频数据对应的声音效果,而第一音源输出装置41在具体实施中可为喇叭或者耳机等。The first sound source output device 41 is connected with the first multimedia player 40 to output the sound effect corresponding to the audio data received by the first bluetooth wireless multimedia transmission device 20, and the first sound source output device 41 can be implemented in a specific implementation. For speakers or earphones, etc.

第二多媒体播放器50,与第二蓝牙无线多媒体传输装置30连接,用以编码或译码处理第二蓝牙无线多媒体传输装置30接收的音频数据,在译码处理后将音源数据输出至第二音源输出装置51,另外,可通过第二音源输入装置(图中未示)将音源数据输入至第二多媒体播放器50中,并经由第二蓝牙无线多媒体传输装置30传输至第一蓝牙无线多媒体传输装置40,其中需通过第二模式切换开关32设定第二蓝牙无线多媒体传输装置30的运作模式。The second multimedia player 50 is connected with the second bluetooth wireless multimedia transmission device 30 for encoding or decoding the audio data received by the second bluetooth wireless multimedia transmission device 30, and the audio source data is output to The second sound source output device 51, in addition, can input the sound source data into the second multimedia player 50 through the second sound source input device (not shown in the figure), and transmit to the second sound source data through the second bluetooth wireless multimedia transmission device 30. A Bluetooth wireless multimedia transmission device 40 , wherein the operation mode of the second Bluetooth wireless multimedia transmission device 30 needs to be set through the second mode switching switch 32 .

第二音源输出装置51,与第二多媒体播放器50连接,用以输出第二蓝牙无线多媒体传输装置30接收的音频数据对应的声音效果,而第二音源输出装置51在具体实施中可为喇叭或者耳机等。The second source of sound output device 51 is connected with the second multimedia player 50, in order to output the sound effect corresponding to the audio data received by the second bluetooth wireless multimedia transmission device 30, and the second source of sound output device 51 can be in specific implementation For speakers or earphones, etc.

第二蓝牙无线多媒体传输装置30,与第一蓝牙无线多媒体传输装置20进行通讯,包括具有蓝牙发射器模式31a与蓝牙接收器模式31b的第二蓝牙无线传输模块31,以及设定蓝牙发射器模式31a与蓝牙接收器模式31b的第二模式切换开关32,在第二蓝牙无线多媒体传输装置30设定为蓝牙发射器模式31a时,用以向第一蓝牙无线多媒体传输装置20发送音频数据,在第二蓝牙无线多媒体传输装置30设定为蓝牙接收器模式31b时,用以接收第一蓝牙无线多媒体传输装置20发送的音频数据,而第二蓝牙无线传输模块31在具体实施中包含有2.4Ghz天线电路、蓝牙连接控制器、蓝牙连接管理及主机终端接口等。The second Bluetooth wireless multimedia transmission device 30 communicates with the first Bluetooth wireless multimedia transmission device 20, including a second Bluetooth wireless transmission module 31 having a Bluetooth transmitter mode 31a and a Bluetooth receiver mode 31b, and setting the Bluetooth transmitter mode 31a and the second mode switching switch 32 of the bluetooth receiver mode 31b, when the second bluetooth wireless multimedia transmission device 30 is set to the bluetooth transmitter mode 31a, in order to send audio data to the first bluetooth wireless multimedia transmission device 20, in When the second Bluetooth wireless multimedia transmission device 30 is set to the Bluetooth receiver mode 31b, it is used to receive the audio data sent by the first Bluetooth wireless multimedia transmission device 20, and the second Bluetooth wireless transmission module 31 includes a 2.4Ghz Antenna circuit, Bluetooth connection controller, Bluetooth connection management and host terminal interface, etc.

另外,本发明所揭示的蓝牙无线多媒体传输装置还可与一般的不具有模式切换功能的蓝牙无线传输装置进行通讯,在此不重复描述。In addition, the bluetooth wireless multimedia transmission device disclosed in the present invention can also communicate with common bluetooth wireless transmission devices without the mode switching function, and the description will not be repeated here.

请参照图3,为本发明第一实施例的蓝牙无线多媒体传输方法的步骤流程图,提供采用A2DP协议进行声音传输的蓝牙无线多媒体传输装置,其可选择性地切换为蓝牙发射器模式或蓝牙接收器模式,并产生一模式切换信号,首先,检测该模式切换信号(步骤100),在本实施例中可通过检查蓝牙无线多媒体传输装置的通用输入输出(General Purpose Input Output,GPIO)信号是否改变,以确认是否触发模式切换信号。Please refer to Fig. 3, which is a flow chart of the steps of the Bluetooth wireless multimedia transmission method according to the first embodiment of the present invention, providing a Bluetooth wireless multimedia transmission device using the A2DP protocol for sound transmission, which can be selectively switched to Bluetooth transmitter mode or Bluetooth Receiver mode, and produce a mode switching signal, at first, detect this mode switching signal (step 100), in the present embodiment, can be by checking whether the general purpose input output (General Purpose Input Output, GPIO) signal of bluetooth wireless multimedia transmission device Change to confirm whether to trigger the mode switching signal.

在检测到模式切换信号并确认其为第一状态(例如高电平或低电平)时,则启用A2DP协议的信号传送协议,用以将蓝牙无线多媒体传输装置设定为蓝牙发射器模式(步骤101);在模式切换信号为第二状态(例如低电平或高电平)时,则启用A2DP协议的信号接收协议,用以将蓝牙无线多媒体传输装置设定为蓝牙接收器模式(步骤102)。When the mode switching signal is detected and confirmed to be the first state (such as high level or low level), the signal transmission protocol of the A2DP protocol is enabled to set the Bluetooth wireless multimedia transmission device to the Bluetooth transmitter mode ( Step 101); when the mode switch signal is in the second state (such as low level or high level), then enable the signal receiving protocol of the A2DP protocol to set the bluetooth wireless multimedia transmission device to the bluetooth receiver mode (step 102).

请参照图4,为本发明第二实施例的蓝牙无线多媒体传输方法的步骤流程图,提供A2DP协议进行声音传输的蓝牙无线多媒体传输装置,其可选择性地切换为蓝牙发射器模式或蓝牙接收器模式,首先,取得一模式切换命令(步骤200);启用A2DP协议的信号传送协议(步骤201),在本实施例中可在应用层的程序中,将可共享的子函数式(例如,a2dpopencfm())合并为一个子函数式,并共享变量与结构(structure),以减少程序代码的长度,即启用A2DP协议的信号传送协议。Please refer to FIG. 4, which is a flow chart of the steps of the Bluetooth wireless multimedia transmission method according to the second embodiment of the present invention, providing a Bluetooth wireless multimedia transmission device for audio transmission using the A2DP protocol, which can be selectively switched to Bluetooth transmitter mode or Bluetooth receiver mode. mode, at first, obtain a mode switching command (step 200); enable the signaling protocol of the A2DP protocol (step 201), in this embodiment, in the program of the application layer, the shareable sub-function formula (for example, a2dpopencfm()) is merged into a sub-function, and shared variables and structure (structure), in order to reduce the length of the program code, that is, enable the signaling protocol of the A2DP protocol.

接着,将蓝牙无线多媒体传输装置设定为蓝牙发射器模式,用以向外部传送音频数据(例如,采用次频带编码(Subband Coding,SBC)、MPEG1、MPEG2、AAC或ATRAC压缩编译码格式的音频数据)(步骤202),在本实施例中可通过将模式切换变量(例如,Global)改变为**1****0**,以设定蓝牙无线多媒体传输装置的运作模式;再次取得模式切换命令(步骤203);启用A2DP协议的信号接收协议(步骤204);最后,将蓝牙无线多媒体传输装置设定为蓝牙接收器模式,以接收音频数据(步骤205)。Then, the Bluetooth wireless multimedia transmission device is set to the Bluetooth transmitter mode, in order to transmit audio data to the outside (for example, adopt sub-band coding (Subband Coding, SBC), MPEG1, MPEG2, AAC or ATRAC audio frequency codec format data) (step 202), in this embodiment, the mode switching variable (for example, Global) can be changed to ** 1 ** or ** 0 ** to set the mode of operation of the Bluetooth wireless multimedia transmission device; again Obtain a mode switching command (step 203); enable the signal receiving protocol of the A2DP protocol (step 204); finally, set the Bluetooth wireless multimedia transmission device to the Bluetooth receiver mode to receive audio data (step 205).

另外,本发明第二实施例中所提到的步骤200以及步骤201,也可改为启用A2DP协议的信号接收协议,而其后续步骤作对应修改即可,在此不重复描述。In addition, the steps 200 and 201 mentioned in the second embodiment of the present invention can also be changed to enable the signal receiving protocol of the A2DP protocol, and the subsequent steps can be modified accordingly, and the description will not be repeated here.

Claims (12)

1.一种蓝牙无线多媒体传输装置,其采用先进音频配置传输协议(Advanced Audio Distribution Profile,A2DP协议)进行音频数据传输,其特征在于,该蓝牙无线多媒体传输装置包含有:1. A bluetooth wireless multimedia transmission device, which adopts Advanced Audio Distribution Profile (Advanced Audio Distribution Profile, A2DP protocol) to carry out audio data transmission, is characterized in that, this bluetooth wireless multimedia transmission device includes: 一蓝牙无线传输模块,具有一蓝牙发射器模式与一蓝牙接收器模式,当设定为该蓝牙发射器模式时,向外部发送音频数据,当设定为该蓝牙接收器模式时,自外部接收音频数据;以及A bluetooth wireless transmission module, with a bluetooth transmitter mode and a bluetooth receiver mode, when set to the bluetooth transmitter mode, send audio data to the outside, when set to the bluetooth receiver mode, receive from the outside audio data; and 一模式切换开关,用以选择性地将该蓝牙无线多媒体传输装置切换为该蓝牙发射器模式或蓝牙接收器模式。A mode switching switch is used to selectively switch the bluetooth wireless multimedia transmission device to the bluetooth transmitter mode or the bluetooth receiver mode. 2.如权利要求1所述的蓝牙无线多媒体传输装置,其特征在于:该模式切换开关切换时,还产生一模式切换信号,用以将该蓝牙无线传输模块设定为该蓝牙发射器模式或蓝牙接收器模式。2. The bluetooth wireless multimedia transmission device as claimed in claim 1, characterized in that: when the mode switching switch is switched, a mode switching signal is also generated for setting the bluetooth wireless transmission module to the bluetooth transmitter mode or Bluetooth receiver mode. 3.如权利要求1所述的蓝牙无线多媒体传输装置,其特征在于:该模式切换开关为一按钮开关。3. The Bluetooth wireless multimedia transmission device as claimed in claim 1, wherein the mode switching switch is a button switch. 4.如权利要求1所述的蓝牙无线多媒体传输装置,其特征在于:该模式切换开关为一指拨开关。4. The bluetooth wireless multimedia transmission device according to claim 1, wherein the mode switching switch is a dip switch. 5.一种蓝牙无线多媒体传输系统,其采用A2DP协议进行音频数据传输,该蓝牙无线多媒体传输系统至少包括一第一蓝牙无线多媒体传输装置以及一第二蓝牙无线多媒体传输装置,其特征在于:5. A bluetooth wireless multimedia transmission system, which adopts the A2DP protocol for audio data transmission, the bluetooth wireless multimedia transmission system at least includes a first bluetooth wireless multimedia transmission device and a second bluetooth wireless multimedia transmission device, characterized in that: 该第一蓝牙无线多媒体传输装置,具有一蓝牙发射器模式与一蓝牙接收器模式的一第一蓝牙无线传输模块,以及设定该蓝牙发射器模式与蓝牙接收器模式的模式切换开关;当其设定为蓝牙发射器模式时,向外部发送音频数据,当其设定为蓝牙接收器模式时,自外部接收音频数据;以及The first bluetooth wireless multimedia transmission device has a first bluetooth wireless transmission module with a bluetooth transmitter mode and a bluetooth receiver mode, and a mode switching switch for setting the bluetooth transmitter mode and bluetooth receiver mode; when it When it is set to the bluetooth transmitter mode, it sends audio data to the outside, when it is set to the bluetooth receiver mode, it receives the audio data from the outside; and 该第二蓝牙无线多媒体传输装置,与该第一蓝牙无线多媒体传输装置进行通讯。The second Bluetooth wireless multimedia transmission device communicates with the first Bluetooth wireless multimedia transmission device. 6.如权利要求5所述的蓝牙无线多媒体传输系统,其特征在于:该模式切换开关切换时,还产生一模式切换信号,用以将该第一蓝牙无线传输模块设定为该蓝牙发射器模式或蓝牙接收器模式。6. The bluetooth wireless multimedia transmission system as claimed in claim 5, characterized in that: when the mode switching switch is switched, a mode switching signal is also generated to set the first bluetooth wireless transmission module as the bluetooth transmitter mode or Bluetooth receiver mode. 7.如权利要求5所述的蓝牙无线多媒体传输系统,其特征在于:该模式切换开关为一按钮开关。7. The Bluetooth wireless multimedia transmission system as claimed in claim 5, wherein the mode switching switch is a button switch. 8.如权利要求5所述的蓝牙无线多媒体传输系统,其特征在于:该模式切换开关为一指拨开关。8. The Bluetooth wireless multimedia transmission system as claimed in claim 5, wherein the mode switching switch is a dip switch. 9.一种蓝牙无线多媒体传输系统,其采用A2DP协议进行音频数据传输,该蓝牙无线多媒体传输系统至少包括一第一蓝牙无线多媒体传输装置以及一第二蓝牙无线多媒体传输装置,其特征在于:9. A bluetooth wireless multimedia transmission system, which adopts the A2DP protocol for audio data transmission, the bluetooth wireless multimedia transmission system at least includes a first bluetooth wireless multimedia transmission device and a second bluetooth wireless multimedia transmission device, characterized in that: 该第一蓝牙无线多媒体传输装置,具有一蓝牙发射器模式与一蓝牙接收器模式的一第一蓝牙无线传输模块,以及设定该蓝牙发射器模式与蓝牙接收器模式的一第一模式切换开关,当其设定为该蓝牙发射器模式时,向外部发送音频数据,当其设定为该蓝牙接收器模式时,自外部接收音频数据;以及The first bluetooth wireless multimedia transmission device has a first bluetooth wireless transmission module with a bluetooth transmitter mode and a bluetooth receiver mode, and a first mode switching switch for setting the bluetooth transmitter mode and bluetooth receiver mode , when it is set to the bluetooth transmitter mode, it sends audio data to the outside, when it is set to the bluetooth receiver mode, it receives audio data from the outside; and 该第二蓝牙无线多媒体传输装置,与该第一蓝牙无线多媒体传输装置进行通讯,具有蓝牙发射器模式与蓝牙接收器模式的一第二蓝牙无线传输模块,以及设定该蓝牙发射器模式与蓝牙接收器模式的一第二模式切换开关,在该第二蓝牙无线多媒体传输装置设定为该蓝牙发射器模式时,向该第一蓝牙无线多媒体传输装置发送音频数据,在该第二蓝牙无线多媒体传输装置设定为该蓝牙接收器模式时,接收自该第一蓝牙无线多媒体传输装置发送的音频数据。The second Bluetooth wireless multimedia transmission device communicates with the first Bluetooth wireless multimedia transmission device, has a second Bluetooth wireless transmission module with a Bluetooth transmitter mode and a Bluetooth receiver mode, and sets the Bluetooth transmitter mode and Bluetooth A second mode switching switch of the receiver mode, when the second bluetooth wireless multimedia transmission device is set to the bluetooth transmitter mode, send audio data to the first bluetooth wireless multimedia transmission device, in the second bluetooth wireless multimedia transmission device When the transmission device is set to the bluetooth receiver mode, it receives the audio data sent from the first bluetooth wireless multimedia transmission device. 10.如权利要求9所述的蓝牙无线多媒体传输系统,其特征在于,该第一蓝牙无线多媒体传输装置还包含有:10. Bluetooth wireless multimedia transmission system as claimed in claim 9, is characterized in that, this first Bluetooth wireless multimedia transmission device also includes: 一第一多媒体播放器,编码/译码处理该音频数据;及A first multimedia player, encoding/decoding processing the audio data; and 一第一音源输出装置,输出该第一蓝牙无线多媒体传输装置接收的该音频数据对应的声音效果。A first sound source output device, outputting sound effects corresponding to the audio data received by the first Bluetooth wireless multimedia transmission device. 11.如权利要求9所述的蓝牙无线多媒体传输系统,其特征在于,该第二蓝牙无线多媒体传输装置还包含有:11. Bluetooth wireless multimedia transmission system as claimed in claim 9, is characterized in that, this second Bluetooth wireless multimedia transmission device also comprises: 一第二多媒体播放器,编码/译码处理该音频数据;及A second multimedia player, encoding/decoding the audio data; and 一第二音源输出装置,输出该第二蓝牙无线多媒体传输装置接收的该音频数据对应的声音效果。A second sound source output device, outputting the sound effect corresponding to the audio data received by the second Bluetooth wireless multimedia transmission device. 12.一种蓝牙无线多媒体传输方法,提供采用A2DP协议进行声音传输的一蓝牙无线多媒体传输装置,其特征在于,该蓝牙无线多媒体装置可选择性地切换为一蓝牙发射器模式或一蓝牙接收器模式,并产生一模式切换信号,该蓝牙无线多媒体传输方法包含有:12. A bluetooth wireless multimedia transmission method, providing a bluetooth wireless multimedia transmission device that adopts the A2DP protocol for sound transmission, characterized in that the bluetooth wireless multimedia device can be selectively switched to a bluetooth transmitter mode or a bluetooth receiver mode, and generate a mode switching signal, the bluetooth wireless multimedia transmission method includes: 检测该模式切换信号;detecting the mode switching signal; 当该模式切换信号为一第一状态时,启用该A2DP协议的一信号传送协议,用以将该蓝牙无线多媒体传输装置设定为该蓝牙发射器模式;及When the mode switch signal is in a first state, enable a signal transmission protocol of the A2DP protocol to set the Bluetooth wireless multimedia transmission device as the Bluetooth transmitter mode; and 当该模式切换信号为一第二状态时,启用该A2DP协议的一信号接收协议,用以将该蓝牙无线多媒体传输装置设定为该蓝牙接收器模式。When the mode switching signal is in a second state, a signal receiving protocol of the A2DP protocol is activated to set the Bluetooth wireless multimedia transmission device as the Bluetooth receiver mode.
CNA2006101090871A 2006-07-28 2006-07-28 Bluetooth wireless multimedia transmission device and system and method thereof Pending CN101114846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2006101090871A CN101114846A (en) 2006-07-28 2006-07-28 Bluetooth wireless multimedia transmission device and system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2006101090871A CN101114846A (en) 2006-07-28 2006-07-28 Bluetooth wireless multimedia transmission device and system and method thereof

Publications (1)

Publication Number Publication Date
CN101114846A true CN101114846A (en) 2008-01-30

Family

ID=39023003

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2006101090871A Pending CN101114846A (en) 2006-07-28 2006-07-28 Bluetooth wireless multimedia transmission device and system and method thereof

Country Status (1)

Country Link
CN (1) CN101114846A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200263A (en) * 2013-04-02 2013-07-10 上海山景集成电路股份有限公司 Intelligent terminal, Bluetooth audio playing device and interactive method and interactive system for intelligent terminal and Bluetooth audio playing device
CN101604987B (en) * 2008-05-30 2015-08-19 奥迪康有限公司 For the low latency, high quality link of audio transmission
CN105120499A (en) * 2015-08-21 2015-12-02 深圳Tcl数字技术有限公司 Bluetooth master-slave mode automatic switching method and system
CN105630597A (en) * 2015-12-25 2016-06-01 珠海全志科技股份有限公司 Android-based A2DP mode dynamical switching method, system and apparatus
CN106464699A (en) * 2015-04-09 2017-02-22 Nec平台株式会社 Wireless communication device, near-field wireless communication device, wireless communication method, and near-field wireless communication method
CN106708466A (en) * 2016-12-29 2017-05-24 深圳Tcl数字技术有限公司 Audio playing control method and device
CN106788612A (en) * 2016-12-15 2017-05-31 青岛海信电器股份有限公司 A kind of bluetooth mode method of adjustment and bluetooth equipment based on A2DP agreements
CN109525882A (en) * 2018-11-30 2019-03-26 中国联合网络通信集团有限公司 A kind of synchronous broadcast method, bridging device and sink device

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101604987B (en) * 2008-05-30 2015-08-19 奥迪康有限公司 For the low latency, high quality link of audio transmission
CN103200263B (en) * 2013-04-02 2016-06-01 上海山景集成电路股份有限公司 Intelligent terminal and Bluetooth audio frequency playback equipment and exchange method, system
CN103200263A (en) * 2013-04-02 2013-07-10 上海山景集成电路股份有限公司 Intelligent terminal, Bluetooth audio playing device and interactive method and interactive system for intelligent terminal and Bluetooth audio playing device
US10015652B2 (en) 2015-04-09 2018-07-03 Nec Platforms, Ltd. Near-field wireless communication equipment, and near-field wireless communication method
CN106464699A (en) * 2015-04-09 2017-02-22 Nec平台株式会社 Wireless communication device, near-field wireless communication device, wireless communication method, and near-field wireless communication method
CN106464699B (en) * 2015-04-09 2018-06-19 Nec平台株式会社 Wireless telecom equipment, near field communication equipment, wireless communications method and near field communication method
CN105120499A (en) * 2015-08-21 2015-12-02 深圳Tcl数字技术有限公司 Bluetooth master-slave mode automatic switching method and system
CN105120499B (en) * 2015-08-21 2019-01-01 深圳Tcl数字技术有限公司 The method and system that bluetooth master slave mode automatically switches
CN105630597A (en) * 2015-12-25 2016-06-01 珠海全志科技股份有限公司 Android-based A2DP mode dynamical switching method, system and apparatus
CN105630597B (en) * 2015-12-25 2019-01-18 珠海全志科技股份有限公司 A kind of A2DP mode dynamic switching method, system and device based on Android
CN106788612A (en) * 2016-12-15 2017-05-31 青岛海信电器股份有限公司 A kind of bluetooth mode method of adjustment and bluetooth equipment based on A2DP agreements
CN106788612B (en) * 2016-12-15 2021-06-04 海信视像科技股份有限公司 Bluetooth mode adjusting method based on A2DP protocol and Bluetooth device
CN106708466A (en) * 2016-12-29 2017-05-24 深圳Tcl数字技术有限公司 Audio playing control method and device
CN109525882A (en) * 2018-11-30 2019-03-26 中国联合网络通信集团有限公司 A kind of synchronous broadcast method, bridging device and sink device
CN109525882B (en) * 2018-11-30 2021-08-31 中国联合网络通信集团有限公司 A synchronous playback method, bridge device and sink device

Similar Documents

Publication Publication Date Title
JP7638329B2 (en) Method for operating a bluetooth device - Patents.com
KR101307456B1 (en) Method and apparatus for providing bluetooth auto pairing in Mobile terminal
CN101114846A (en) Bluetooth wireless multimedia transmission device and system and method thereof
CN101588531A (en) Wireless earphone device capable of outputting stereo sound and method for outputting stereo sound
CN104796177A (en) Bluetooth transceiver, line control earphone module and mobile device module
CN101304619A (en) Wireless earphone, audio device and audio playback method
WO2007076325A2 (en) Full-duplex radio speaker system and associated method
WO2021160040A1 (en) Audio transmission method and electronic device
US20070060195A1 (en) Communication apparatus for playing sound signals
CN106878915B (en) Control method and device of playing equipment, playing equipment and mobile terminal
CN113225644B (en) Low-delay Bluetooth audio system and audio source end and audio receiving end thereof
KR101552830B1 (en) Method for implementing a bluetooth headset using smart devices
CN202565455U (en) Audio signal processing apparatus
CN1866998A (en) Device and method for realizing mobile phone hands-free function
KR100775000B1 (en) Multi-function wireless remote control device using Bluetooth
CN204046790U (en) Bluetooth Speaker
KR100800771B1 (en) Apparatus and method for outputting external audio data through a mobile terminal
CN105721698A (en) Audio playing method, device and mobile terminal
CN113132440A (en) Audio transmission method, audio transmission system and electronic equipment
CN1658524A (en) Communication transmission device and method with audio signal playback function
KR100724888B1 (en) Sound output control method of mobile communication terminal and mobile communication terminal with wireless communication module
CN201029226Y (en) Wireless transmission relay device for vehicle
CN204721594U (en) a smart speaker
CN205670771U (en) A kind of wall embedded Bluetooth phone system
KR20110057968A (en) Audio playback device of mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20080130