WO2018152679A1 - Audio file transmitting method and apparatus, audio file receiving method and apparatus, devices and system - Google Patents

Audio file transmitting method and apparatus, audio file receiving method and apparatus, devices and system Download PDF

Info

Publication number
WO2018152679A1
WO2018152679A1 PCT/CN2017/074295 CN2017074295W WO2018152679A1 WO 2018152679 A1 WO2018152679 A1 WO 2018152679A1 CN 2017074295 W CN2017074295 W CN 2017074295W WO 2018152679 A1 WO2018152679 A1 WO 2018152679A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio
bluetooth
transmission protocol
audio data
audio file
Prior art date
Application number
PCT/CN2017/074295
Other languages
French (fr)
Chinese (zh)
Inventor
谢冠宏
夏波
于世璿
Original Assignee
万魔声学科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 万魔声学科技有限公司 filed Critical 万魔声学科技有限公司
Priority to PCT/CN2017/074295 priority Critical patent/WO2018152679A1/en
Priority to CN201780000128.XA priority patent/CN107005800B/en
Publication of WO2018152679A1 publication Critical patent/WO2018152679A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/14Multichannel or multilink protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed are an audio file transmitting method and apparatus, an audio file receiving method and apparatus, a Bluetooth device, a user terminal device, and a system. The audio file transmitting method comprises: transmitting audio data of an audio file to a Bluetooth device by using a first Bluetooth audio transmission protocol; and transmitting audio information of the audio file to the Bluetooth device by using a second Bluetooth transmission protocol. By means of embodiments of the present invention, the audio file can be provided to the Bluetooth device, so that playback approaches of the audio file are enriched and user experience is improved.

Description

音频文件的传输、接收方法及装置、设备及其系统Audio file transmission and receiving method and device, device and system thereof 技术领域Technical field
本发明实施例涉及蓝牙技术领域特别涉及一种音频文件的传输、接收方法及装置、设备及其系统。The present invention relates to the field of Bluetooth technology, and in particular, to a method and a device, a device and a system for transmitting and receiving an audio file.
背景技术Background technique
蓝牙无线技术是一种小型化、低成本的无线通信解决方案的规范,它为个人PC机、移动电话和其他蓝牙设备,例如,蓝牙耳机、蓝牙音箱等提供短距离无线连接。Bluetooth wireless technology is a specification for a small, low-cost wireless communication solution that provides short-range wireless connectivity for personal PCs, mobile phones, and other Bluetooth devices such as Bluetooth headsets, Bluetooth speakers, and more.
在利用蓝牙耳机、蓝牙音箱等蓝牙设备播放音乐的场合,需要将个人PC机或移动电话等集成了蓝牙模块或者蓝牙芯片的用户终端设备与蓝牙设备之间建立连接,然后打开个人PC机或移动电话等用户终端设备的音乐播放器选择音乐进行播放,用户终端设备将音乐播放器中的音乐文件转换成符合蓝牙音频传输协议的音频数据,并将所述音频数据发送到蓝牙设备,蓝牙设备解码后在蓝牙设备中播放该音乐。In the case of playing music using a Bluetooth device such as a Bluetooth headset or a Bluetooth speaker, it is necessary to establish a connection between a user terminal device integrated with a Bluetooth module or a Bluetooth chip, such as a personal PC or a mobile phone, and a Bluetooth device, and then open a personal PC or move. The music player of the user terminal device such as a telephone selects music for playing, and the user terminal device converts the music file in the music player into audio data conforming to the Bluetooth audio transmission protocol, and transmits the audio data to the Bluetooth device, and the Bluetooth device decodes The music is then played on the Bluetooth device.
实现本发明过程中,发明人发现相关技术中至少存在如下问题:在使用蓝牙耳机、蓝牙音箱等蓝牙设备播放音乐的过程中,需要将蓝牙设备与个人PC机或移动电话等用户终端设备建立连接,通过在个人PC机或移动电话等用户终端设备上发送音频数据,并由蓝牙设备播放音乐,蓝牙设备播放音乐依赖于用户终端设备发送的音频数据,蓝牙设备本身没有音频文件,音乐播放方式单一,影响用户体验。In the process of implementing the present invention, the inventors have found that at least the following problems exist in the related art: in the process of playing music using a Bluetooth device such as a Bluetooth headset or a Bluetooth speaker, it is necessary to establish a connection between the Bluetooth device and a user terminal device such as a personal PC or a mobile phone. By transmitting audio data on a user terminal device such as a personal PC or a mobile phone, and playing music by the Bluetooth device, the Bluetooth device playing music depends on the audio data transmitted by the user terminal device, the Bluetooth device itself has no audio file, and the music playing mode is single. , affecting the user experience.
发明内容Summary of the invention
本发明实施例提供一种音频文件的传输、接收方法及装置、设备及其系统,以提供音频文件给蓝牙设备,丰富音频文件的播放方式,提升用户体验。Embodiments of the present invention provide a method and a device, a device, and a system for transmitting and receiving an audio file, so as to provide an audio file to a Bluetooth device, enrich the playing mode of the audio file, and improve the user experience.
第一方面,本发明实施例提供了一种音频文件接收方法,所述方法应用于蓝牙设备,所述方法包括:In a first aspect, an embodiment of the present invention provides an audio file receiving method, where the method is applied to a Bluetooth device, and the method includes:
以第一蓝牙音频传输协议接收音频文件的音频数据,以及 Receiving audio data of an audio file in a first Bluetooth audio transmission protocol, and
以第二蓝牙传输协议接收所述音频文件的音频信息。可选的,所述方法还包括:The audio information of the audio file is received in a second Bluetooth transmission protocol. Optionally, the method further includes:
以所述第二蓝牙传输协议接收缓存开始指令,和/或,Receiving a cache start instruction with the second Bluetooth transmission protocol, and/or,
以所述第二蓝牙传输协议接收缓存结束指令。The buffer end instruction is received in the second Bluetooth transmission protocol.
可选的,所述方法还包括:Optionally, the method further includes:
存储所述音频数据。The audio data is stored.
可选的,所述存储所述音频数据,包括:Optionally, the storing the audio data includes:
根据所述音频信息建立音频文件夹,并将所述音频数据存储至所述音频文件夹。An audio folder is created based on the audio information, and the audio data is stored to the audio folder.
可选的,将所述音频数据存储至所述音频文件夹,包括:Optionally, storing the audio data to the audio folder includes:
将所述音频数据缓存于蓝牙设备随机存储器,当缓存于所述随机存储器的所述音频数据超出预设存储容量时,将所述音频数据存储至所述音频文件夹,或者,Cache the audio data in a Bluetooth device random access memory, and store the audio data to the audio folder when the audio data buffered in the random access memory exceeds a preset storage capacity, or
直接将接收的所述音频数据存储至所述音频文件夹。The received audio data is directly stored to the audio folder.
可选的,所述第一蓝牙音频传输协议为蓝牙高级音频传输模型协议,所述第二蓝牙传输协议为蓝牙低功耗传输协议。Optionally, the first Bluetooth audio transmission protocol is a Bluetooth advanced audio transmission model protocol, and the second Bluetooth transmission protocol is a Bluetooth low energy transmission protocol.
第二方面,本发明实施例提供了一种音频文件传输方法,所述方法应用于传输音频文件的用户终端设备,所述方法包括:In a second aspect, an embodiment of the present invention provides an audio file transmission method, where the method is applied to a user terminal device that transmits an audio file, and the method includes:
以第一蓝牙音频传输协议传输所述音频文件的音频数据至蓝牙设备,Transmitting the audio data of the audio file to the Bluetooth device in a first Bluetooth audio transmission protocol,
以第二蓝牙传输协议传输所述音频文件的音频信息至蓝牙设备。The audio information of the audio file is transmitted to the Bluetooth device in a second Bluetooth transmission protocol.
可选的,所述方法还包括:Optionally, the method further includes:
以所述第二蓝牙传输协议传输缓存开始指令至蓝牙设备,和/或,Transmitting a cache start command to the Bluetooth device with the second Bluetooth transmission protocol, and/or,
以所述第二蓝牙传输协议传输缓存结束指令至蓝牙设备。Transmitting a buffer end command to the Bluetooth device in the second Bluetooth transmission protocol.
可选的,所述方法还包括:Optionally, the method further includes:
接收通信事件,并根据预先设置的优先级确定是否响应所述通信事件。A communication event is received, and whether the communication event is responded to is determined according to a preset priority.
可选的,所述第一蓝牙音频传输协议为蓝牙高级音频传输模型协议,所述第二蓝牙传输协议为蓝牙低功耗传输协议。Optionally, the first Bluetooth audio transmission protocol is a Bluetooth advanced audio transmission model protocol, and the second Bluetooth transmission protocol is a Bluetooth low energy transmission protocol.
可选的,所述音频文件的音频信息用于建立音频文件夹,所述音频信息包括:歌曲名称、歌手名称和/或歌曲类别。Optionally, the audio information of the audio file is used to create an audio folder, and the audio information includes: a song name, a singer name, and/or a song category.
第三方面,本发明实施例提供了一种音频文件接收装置,所述装置应用于 蓝牙设备,所述装置包括:In a third aspect, an embodiment of the present invention provides an audio file receiving apparatus, where the apparatus is applied to Bluetooth device, the device comprising:
音频数据接收单元,用于以第一蓝牙音频传输协议接收音频文件的音频数据,以及An audio data receiving unit, configured to receive audio data of an audio file by using a first Bluetooth audio transmission protocol, and
音频信息接收单元,用于以第二蓝牙传输协议接收所述音频文件的音频信息。And an audio information receiving unit, configured to receive audio information of the audio file by using a second Bluetooth transmission protocol.
可选的,所述音频信息接收单元还用于:Optionally, the audio information receiving unit is further configured to:
以所述第二蓝牙传输协议接收缓存开始指令,和/或,Receiving a cache start instruction with the second Bluetooth transmission protocol, and/or,
以所述第二蓝牙传输协议接收缓存结束指令。The buffer end instruction is received in the second Bluetooth transmission protocol.
可选的,所述装置还包括:Optionally, the device further includes:
存储单元,用于存储所述音频数据。a storage unit for storing the audio data.
可选的,所述存储单元包括:Optionally, the storage unit includes:
音频文件夹建立模块,用于根据所述音频信息建立音频文件夹,An audio folder creating module, configured to create an audio folder according to the audio information,
音频数据存储模块,用于将所述音频数据存储至所述音频文件夹。And an audio data storage module, configured to store the audio data to the audio folder.
可选的,所述音频数据存储模块具体用于:Optionally, the audio data storage module is specifically configured to:
将所述音频数据缓存于蓝牙设备随机存储器,当缓存于所述随机存储器的所述音频数据超出预设存储容量时,将所述音频数据存储至所述音频文件夹,或者,Cache the audio data in a Bluetooth device random access memory, and store the audio data to the audio folder when the audio data buffered in the random access memory exceeds a preset storage capacity, or
直接将接收的所述音频数据存储至所述音频文件夹。The received audio data is directly stored to the audio folder.
可选的,所述第一蓝牙音频传输协议为蓝牙高级音频传输模型协议,所述第二蓝牙传输协议为蓝牙低功耗传输协议。Optionally, the first Bluetooth audio transmission protocol is a Bluetooth advanced audio transmission model protocol, and the second Bluetooth transmission protocol is a Bluetooth low energy transmission protocol.
第四方面,本发明实施例提供了一种音频文件传输装置,所述装置应用于传输音频文件的用户终端设备,所述装置包括:In a fourth aspect, an embodiment of the present invention provides an audio file transmission device, where the device is applied to a user terminal device that transmits an audio file, and the device includes:
音频数据发送单元,用于以第一蓝牙音频传输协议传输所述音频文件的音频数据至蓝牙设备,An audio data sending unit, configured to transmit audio data of the audio file to a Bluetooth device by using a first Bluetooth audio transmission protocol,
音频信息发送单元,用于以第二蓝牙传输协议传输所述音频文件的音频信息至蓝牙设备。And an audio information sending unit, configured to transmit the audio information of the audio file to the Bluetooth device by using a second Bluetooth transmission protocol.
所述音频信息发送单元还用于:The audio information sending unit is further configured to:
以所述第二蓝牙传输协议传输缓存开始指令至蓝牙设备,和/或,Transmitting a cache start command to the Bluetooth device with the second Bluetooth transmission protocol, and/or,
以所述第二蓝牙传输协议传输缓存结束指令至蓝牙设备。Transmitting a buffer end command to the Bluetooth device in the second Bluetooth transmission protocol.
可选的,所述装置还包括: Optionally, the device further includes:
通信事件响应单元,用于接收通信事件,并根据预先设置的优先级确定是否响应所述通信事件。And a communication event response unit, configured to receive a communication event, and determine whether to respond to the communication event according to a preset priority.
可选的,所述第一蓝牙音频传输协议为蓝牙高级音频传输模型协议,所述第二蓝牙传输协议为蓝牙低功耗传输协议。Optionally, the first Bluetooth audio transmission protocol is a Bluetooth advanced audio transmission model protocol, and the second Bluetooth transmission protocol is a Bluetooth low energy transmission protocol.
可选的,所述音频文件的音频信息用于建立音频文件夹,所述音频信息包括:Optionally, the audio information of the audio file is used to create an audio folder, and the audio information includes:
歌曲名称、歌手名称和/或歌曲类别。Song name, artist name, and/or song category.
第五方面,本发明实施例提供了一种用户终端设备,包括:In a fifth aspect, an embodiment of the present invention provides a user terminal device, including:
至少一个处理器;以及,At least one processor; and,
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述任一项音频文件的传输方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform a method of transmitting any of the audio files described above.
第六方面,本发明实施例提供了一种蓝牙设备,包括:In a sixth aspect, an embodiment of the present invention provides a Bluetooth device, including:
至少一个处理器;以及,At least one processor; and,
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述任一项所述的音频文件接收方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the audio file receiving method of any of the above .
第七方面,本发明实施例提供了一种音频文件的处理系统,包括上述的用户终端设备及蓝牙设备。In a seventh aspect, an embodiment of the present invention provides a processing system for an audio file, including the foregoing user terminal device and a Bluetooth device.
第八方面,本发明实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被用户终端设备执行时,使所述用户终端设备执行上述的音频文件发送方法。In an eighth aspect, an embodiment of the present invention provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program When the instruction is executed by the user terminal device, the user terminal device is caused to execute the above-described audio file transmitting method.
第九方面,本发明实施例还提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使蓝牙设备执行如上所述的音频文件接收方法。In a ninth aspect, the embodiment of the present invention further provides a non-transitory computer readable storage medium storing computer executable instructions for causing a Bluetooth device to perform the above The audio file receiving method.
本发明实施例的有益效果是:本发明实施例通过第一蓝牙音频传输协议在用户终端设备和蓝牙设备间传输音频文件的音频数据,通过第二蓝牙传输协议 传输与所述音频文件的音频数据对应的音频信息,以提供音频文件给蓝牙设备,从而丰富音频文件的播放方式,提升用户体验。The beneficial effects of the embodiment of the present invention are: the embodiment of the present invention transmits the audio data of the audio file between the user terminal device and the Bluetooth device through the first Bluetooth audio transmission protocol, and passes the second Bluetooth transmission protocol. Transmitting audio information corresponding to the audio data of the audio file to provide an audio file to the Bluetooth device, thereby enriching the playing mode of the audio file and improving the user experience.
附图说明DRAWINGS
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。The one or more embodiments are exemplified by the accompanying drawings in the accompanying drawings, and FIG. The figures in the drawings do not constitute a scale limitation unless otherwise stated.
图1是本发明实施例提供的音频文件处理系统的应用环境的示意图;1 is a schematic diagram of an application environment of an audio file processing system according to an embodiment of the present invention;
图2是本发明实施例提供的一种音频文件传输方法流程示意图;2 is a schematic flowchart of an audio file transmission method according to an embodiment of the present invention;
图3是本发明实施例提供的另一种音频文件传输方法流程示意图;3 is a schematic flowchart of another audio file transmission method according to an embodiment of the present invention;
图4是本发明实施例提供的一种音频文件接收方法流程示意图;4 is a schematic flowchart of an audio file receiving method according to an embodiment of the present invention;
图5是本发明实施例提供的另一种音频文件接收方法流程示意图;FIG. 5 is a schematic flowchart of another audio file receiving method according to an embodiment of the present disclosure;
图6是本发明实施例手机和蓝牙耳机之间的音频文件处理工作流程示意图;6 is a schematic diagram of an audio file processing workflow between a mobile phone and a Bluetooth headset according to an embodiment of the present invention;
图7是本发明实施例音频文件传输装置示意图;7 is a schematic diagram of an audio file transmission apparatus according to an embodiment of the present invention;
图8是本发明实施例提供的音频文件接收装置示意图;FIG. 8 is a schematic diagram of an audio file receiving apparatus according to an embodiment of the present invention; FIG.
图9是本发明实施例提供的用户终端设备硬件结构示意图;9 is a schematic structural diagram of hardware of a user terminal device according to an embodiment of the present invention;
图10是本发明实施例提供的蓝牙设备硬件结构示意图;FIG. 10 is a schematic structural diagram of a hardware device of a Bluetooth device according to an embodiment of the present disclosure;
图11是本发明实施例提供的音频文件处理系统示意图。FIG. 11 is a schematic diagram of an audio file processing system according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供了一种音频文件传输方法、装置和音频接收方法和装置,上述方法和装置可以实现将个人PC机、移动电话等用户终端设备中的音频文件提供给蓝牙耳机、蓝牙音箱等蓝牙设备,并在蓝牙设备端实现音频文件的存储,以下举例说明上述方法和装置的应用环境。Embodiments of the present invention provide an audio file transmission method, apparatus, and audio receiving method and apparatus. The foregoing method and apparatus can provide audio files in a user terminal device such as a personal PC or a mobile phone to a Bluetooth headset, a Bluetooth speaker, and the like. Bluetooth device, and audio file storage on the Bluetooth device side, the following examples illustrate the application environment of the above method and device.
图1是本发明实施例提供的音频文件处理系统的应用环境的示意图;其中, 图1(a)、图1(b)和图1(c)示出了三种通过用户终端设备20向蓝牙设备10提供音频文件的应用场景,其中,所述应用场景还可以包括用户(图中未示出),所述用户可以通过任何合适的类型的、一种或者多种用户交互设备与用户终端设备20和蓝牙设备10交互,例如,这些用户交互设备可以是鼠标、按键、遥控器、触摸屏、体感摄像头或者智能可穿戴设备,通过输入指令控制用户终端设备20和蓝牙设备10进行一种或者多种操作,如音频播放操作。1 is a schematic diagram of an application environment of an audio file processing system according to an embodiment of the present invention; Figure 1 (a), Figure 1 (b) and Figure 1 (c) show three application scenarios for providing an audio file to the Bluetooth device 10 through the user terminal device 20, wherein the application scenario may further include a user (Figure The user may interact with the user terminal device 20 and the Bluetooth device 10 through any suitable type of one or more user interaction devices, for example, the user interaction device may be a mouse, a button, a remote controller. The touch screen, the somatosensory camera or the smart wearable device controls the user terminal device 20 and the Bluetooth device 10 to perform one or more operations, such as an audio playback operation, by inputting an instruction.
所述用户终端设备可以是任何合适的,提供一个或者多个音频内容的各类型用户终端设备,例如,智能手机、平板电脑、MP3播放器、个人电脑、手提电脑、个人音响、CD机或者其它智能/非智能终端设备。用户终端设备耦合至至少一个用于存储音频数据的存储介质中,这些存储介质可以是用户终端设备内的存储器,也可以是互联网上的存储介质,并从存储介质中获取音频文件。此外,该用户终端设备还可以是一种或者多种电子设备的组合,例如,智能手机以及与其连接的模数转换器(DAC)。The user terminal device may be any suitable type of user terminal device providing one or more audio content, such as a smartphone, a tablet, an MP3 player, a personal computer, a laptop, a personal stereo, a CD player or the like. Intelligent / non-intelligent terminal equipment. The user terminal device is coupled to at least one storage medium for storing audio data, which may be a memory within the user terminal device, or may be a storage medium on the Internet, and acquire an audio file from the storage medium. Furthermore, the user terminal device may also be a combination of one or more electronic devices, such as a smartphone and an analog to digital converter (DAC) connected thereto.
蓝牙设备可以是任何合适的,具有播放音频数据能力及存储能力的设备,例如,蓝牙耳机、蓝牙音箱或者其它合适类型的扬声器组。图1(a)示出了通过个人PC机向蓝牙音箱提供音频数据的场景。所述图1(b)示出了通过个人PC机向蓝牙扬声器提供音频数据的场景,图1(c)示出了通过移动电话向蓝牙耳机提供音频数据的场景。The Bluetooth device can be any suitable device having the ability to play audio data and storage capabilities, such as a Bluetooth headset, a Bluetooth speaker, or other suitable type of speaker set. Fig. 1(a) shows a scenario in which audio data is supplied to a Bluetooth speaker through a personal PC. The FIG. 1(b) shows a scenario in which audio data is supplied to a Bluetooth speaker through a personal PC, and FIG. 1(c) shows a scenario in which audio data is supplied to a Bluetooth headset through a mobile phone.
其中,用户终端设备可以通过内部集成或者外部的蓝牙模块或者蓝牙芯片实现与蓝牙设备的连接。当两台具有蓝牙功能的设备建立连接时,它们会获取对应设备提供的协议。只有使用相同协议的设备才能交换数据。The user terminal device can connect to the Bluetooth device through an internal integration or an external Bluetooth module or a Bluetooth chip. When two Bluetooth-enabled devices establish a connection, they get the protocol provided by the corresponding device. Only devices that use the same protocol can exchange data.
在蓝牙通信中,具有蓝牙功能的设备不需要实现全部的蓝牙规范。为了支持不同的蓝牙设备之间的兼容,在蓝牙规范中定义了一些应用层协议(profile),其用以定义具有蓝牙功能的设备之间如何实现一种连接或者应用。In Bluetooth communication, Bluetooth-enabled devices do not need to implement the full Bluetooth specification. In order to support compatibility between different Bluetooth devices, some application layer profiles are defined in the Bluetooth specification to define how a connection or application is implemented between Bluetooth-enabled devices.
其中,A2DP(Advenced Audio Distribution Profile高级蓝牙音频传输模型协议)属于上述的蓝牙协议profile中的一个子集。用于传输高质量音乐文件数据的协议堆栈和使用方法,A2DP是专门为使用蓝牙传送立体声音频而制定。Among them, A2DP (Advenced Audio Distribution Profile) belongs to a subset of the above Bluetooth protocol profiles. A protocol stack and method of use for transferring high quality music file data, A2DP is specifically designed to transmit stereo audio using Bluetooth.
HFP(Hands Free Profile),HFP只能传输单声道加密音频,相比于A2DP,传输质量要差得多。A2DP能传输(16bits,44.1kHz)的音频,而HFP只能传输(8bits,8kHz)的音频,HFP可用于传输语音信号。 HFP (Hands Free Profile), HFP can only transmit mono encrypted audio, and the transmission quality is much worse than A2DP. A2DP can transmit (16bits, 44.1kHz) audio, while HFP can only transmit (8bits, 8kHz) audio, HFP can be used to transmit voice signals.
BLE(Bluetooth low energy),属于蓝牙低功耗协议,主要用于进行短时间小数据传输。BLE (Bluetooth low energy), which is a Bluetooth low energy protocol, is mainly used for short-time small data transmission.
用户终端设备可以根据用户指令,与蓝牙设备之间建立蓝牙连接,其中,用户终端设备可以通过第一蓝牙音频传输协议(例如A2DP协议或者HFP协议)向蓝牙设备传递音频数据,而通过第二蓝牙传输协议(例如BLE协议)向蓝牙设备传递与音频数据相关的音频信息(例如,音乐的名称、演唱者或者演奏者的姓名、音乐类别以及语音发出者等)。根据所述音频信息在蓝牙设备的存储器中建立音频文件夹,并将所述音频数据存储在所述音频文件夹中,实现音频文件在蓝牙设备的存储。The user terminal device can establish a Bluetooth connection with the Bluetooth device according to the user instruction, wherein the user terminal device can transmit the audio data to the Bluetooth device through the first Bluetooth audio transmission protocol (for example, A2DP protocol or HFP protocol), and pass the second Bluetooth. A transport protocol (eg, the BLE protocol) delivers audio information related to the audio data to the Bluetooth device (eg, the name of the music, the name of the singer or player, the music category, and the voice issuer, etc.). An audio folder is created in a memory of the Bluetooth device according to the audio information, and the audio data is stored in the audio folder to implement storage of the audio file in the Bluetooth device.
本发明实施例并不限于以上蓝牙协议,在实际应用中,可以根据需要采用其他合适的蓝牙协议用于传输音频数据和采用其他合适的协议用于传输音频信息。The embodiments of the present invention are not limited to the above Bluetooth protocol. In practical applications, other suitable Bluetooth protocols may be used as needed to transmit audio data and other suitable protocols for transmitting audio information.
在集成蓝牙芯片的用户终端设备播放音频文件时,蓝牙芯片可以通过脉冲编码调制(PCM)有线CODEC接口(例如标准硬件立体声PCM接口)接收音频信号(所述音频信号可以为MP3格式或者其他格式),对所述音频信号进行解码,输出PCM音频裸数据。由于PCM音频裸数据需要很大的带宽,即低效又费电,不适合无线传输,因此需要对PCM音频裸数据进行音频编码对其进行压缩,之后,将压缩的音频数据进行分包,组合成符合蓝牙传输协议的音频数据。在采用A2DP协议的场合,即组合成A2DP音频数据帧,例如frame1、frame2……frameN。蓝牙设备收到传输过来的经过压缩和分包的音频数据后,可以直接将经过压缩和分包的音频数据存储在音频文件夹里,需要播放的时候再进行解码;也可以经过解码处理后,再将音频数据存储在音频文件夹中。When an audio file is played by a user terminal device integrated with a Bluetooth chip, the Bluetooth chip can receive an audio signal through a Pulse Code Modulation (PCM) wired CODEC interface (for example, a standard hardware stereo PCM interface) (the audio signal can be in MP3 format or other format) Decoding the audio signal and outputting PCM audio bare data. Since the PCM audio bare data requires a large bandwidth, that is, inefficient and power-consuming, and is not suitable for wireless transmission, it is necessary to perform audio encoding on the PCM audio bare data to compress it, and then, the compressed audio data is sub-packaged and combined. Into the audio data of the Bluetooth transmission protocol. When the A2DP protocol is adopted, it is combined into an A2DP audio data frame, such as frame1, frame2, ... frameN. After receiving the compressed and packetized audio data, the Bluetooth device can directly store the compressed and packetized audio data in the audio folder, and then decode it when it needs to be played. After decoding, The audio data is then stored in an audio folder.
在A2DP协议中,满足A2DP协议的音频编码格式有SBC(Sub Band Coding次频带编码)、AAC(Advanced Audio Coding,高级音频编码)以及Apt-X等格式。其中,SBC编码格式的编码率44.1kHz双声道最大为328kbit/s,AAC编码格式的编码率可达320kbit/s,Apt-X编码格式的编码率可达352kbit/s。In the A2DP protocol, audio coding formats that satisfy the A2DP protocol include SBC (Sub Band Coding), AAC (Advanced Audio Coding), and Apt-X. Among them, the encoding rate of the SBC encoding format is 44.1 kHz and the maximum is 328 kbit/s, the encoding rate of the AAC encoding format is 320 kbit/s, and the encoding rate of the Apt-X encoding format is 352 kbit/s.
下面结合具体实施例对本发明实施例作进一步阐述。The embodiments of the present invention are further described below in conjunction with specific embodiments.
图2为本发明实施例提供的一种音频文件传输方法流程示意图。本发明实施例的一种音频文件传输方法可由图1所示的各种用户终端设备执行,如图2所示,所述方法包括: 2 is a schematic flowchart of an audio file transmission method according to an embodiment of the present invention. An audio file transmission method of the embodiment of the present invention may be performed by various user terminal devices shown in FIG. 1, as shown in FIG. 2, the method includes:
201:以第一蓝牙音频传输协议传输所述音频文件的音频数据至蓝牙设备;201: transmitting audio data of the audio file to a Bluetooth device in a first Bluetooth audio transmission protocol;
在实际应用中,所述用户终端设备将音频数据通过第一蓝牙音频传输协议,比如A2DP,发送给蓝牙设备的操作可以采用多种方式触发,例如,当用户建立用户终端设备和蓝牙设备之间的连接后,打开用户终端设备的音频播放器,此时,用户终端设备将会把音频数据发送到蓝牙设备。In an actual application, the operation of the user terminal device to transmit the audio data to the Bluetooth device through the first Bluetooth audio transmission protocol, such as A2DP, may be triggered in multiple manners, for example, when the user establishes the user terminal device and the Bluetooth device. After the connection, the audio player of the user terminal device is turned on, and at this time, the user terminal device will transmit the audio data to the Bluetooth device.
在本发明实施例中,音频文件的音频数据可以是由用户终端设备,比如,智能手机,将音频文件的MP3格式转化为PCM格式,并将PCM格式编码为SBC、AAC、Apt-X等格式,并将各种格式的音乐分成一帧一帧,比如,frame1、frame2……frameN,然后通过A2DP将各帧音频数据传输至蓝牙设备,比如,蓝牙耳机。In the embodiment of the present invention, the audio data of the audio file may be a user terminal device, such as a smart phone, converting the MP3 format of the audio file into a PCM format, and encoding the PCM format into a format such as SBC, AAC, Apt-X, or the like. And divide the music of various formats into one frame and one frame, for example, frame1, frame2, ... frameN, and then transmit the audio data of each frame to the Bluetooth device through A2DP, for example, a Bluetooth earphone.
202:以第二蓝牙传输协议传输所述音频文件的音频信息至蓝牙设备。202: Transmit audio information of the audio file to a Bluetooth device by using a second Bluetooth transmission protocol.
在本发明实施例中,用户终端设备在发送音频数据的同时,或者前后间隔一段时间将与所述音频数据对应的音频信息发送到蓝牙设备。In the embodiment of the present invention, the user terminal device sends the audio information corresponding to the audio data to the Bluetooth device at the same time as the audio data is transmitted, or at intervals.
在本发明实施例中,用户终端设备可以播放存储在用户终端设备本地的音频文件,并在通过A2DP传输音频文件的音频数据的过程中,以第二蓝牙传输协议传输所述音频文件的音频信息至蓝牙设备,也可以在线播放网络音频文件,并将音频文件中的音频数据与音频信息分别以A2DP及BLE传输至蓝牙设备,其中,第二蓝牙传输协议为BLE,音频信息用于建立音频文件夹,音频信息可以包括歌曲名称、歌手名称和/或歌曲类别,而且,音频信息与音频数据属于同一音频文件。In the embodiment of the present invention, the user terminal device can play an audio file stored locally in the user terminal device, and transmit the audio information of the audio file in a second Bluetooth transmission protocol during the process of transmitting the audio data of the audio file through the A2DP. To the Bluetooth device, the network audio file can also be played online, and the audio data and the audio information in the audio file are respectively transmitted to the Bluetooth device by A2DP and BLE, wherein the second Bluetooth transmission protocol is BLE, and the audio information is used to create an audio file. The audio information may include a song name, a singer name, and/or a song category, and the audio information and the audio data belong to the same audio file.
在本发明实施例中,用户终端设备也可以在线播放网络音频文件,并将音频文件中的音频数据与音频信息分别以A2DP及BLE传输至蓝牙设备。In the embodiment of the present invention, the user terminal device can also play the network audio file online, and transmit the audio data and the audio information in the audio file to the Bluetooth device by A2DP and BLE, respectively.
本发明实施例,通过第一蓝牙音频传输协议传输音频文件的音频数据并通过第二蓝牙传输协议传输音频文件的音频信息至蓝牙设备,以提供音频文件给蓝牙设备,从而丰富音频文件的播放方式,提升用户体验。In the embodiment of the present invention, the audio data of the audio file is transmitted through the first Bluetooth audio transmission protocol, and the audio information of the audio file is transmitted to the Bluetooth device through the second Bluetooth transmission protocol to provide an audio file to the Bluetooth device, thereby enriching the playing mode of the audio file. To enhance the user experience.
图3为本发明实施例提供的另一种音频文件传输方法流程示意图;所述方法亦可由图1所示的各种用户终端设备执行,如图3所示,所述方法包括:FIG. 3 is a schematic flowchart of another audio file transmission method according to an embodiment of the present invention; the method may also be performed by using various user terminal devices shown in FIG. 1 , as shown in FIG. 3 , the method includes:
301:以第二蓝牙传输协议传输缓存开始指令至蓝牙设备。301: Transmit a cache start command to the Bluetooth device in a second Bluetooth transmission protocol.
在本发明实施例中,为了提高音频数据在蓝牙设备的存储速度,可以将音频数据先存入缓存,比如,静态随机存取存储器SRAM中,蓝牙设备将音频数据 存入缓存的操作可由用户终端设备端进行控制,用户终端设备在发送音频数据的同时,或者前后间隔一段时间,向蓝牙设备发送缓存开始指令,蓝牙设备接收到音频数据和缓存开始指令后,将所述音频数据存储在缓存中。In the embodiment of the present invention, in order to improve the storage speed of the audio data in the Bluetooth device, the audio data may be first stored in a cache, for example, in a static random access memory (SRAM), the Bluetooth device will audio data. The operation of storing the buffer may be controlled by the user terminal device end, and the user terminal device sends a buffer start instruction to the Bluetooth device while transmitting the audio data, or after a period of time interval, and after receiving the audio data and the cache start instruction, the Bluetooth device will The audio data is stored in a cache.
302,以第一蓝牙音频传输协议传输所述音频文件的音频数据至蓝牙设备。302. Transmit audio data of the audio file to a Bluetooth device by using a first Bluetooth audio transmission protocol.
在本发明实施例中,可以在以BLE传输缓存开始指令后,以A2DP传输音频数据,在此情况下,蓝牙设备将接收到的音频数据缓存。当然,也可以先以A2DP传输音频数据,然后通过BLE传输缓存开始指令,此时,再将接收的音频数据存储至缓存。In the embodiment of the present invention, the audio data may be transmitted by A2DP after the BLE transmission buffer start instruction, in which case the Bluetooth device buffers the received audio data. Of course, it is also possible to first transmit the audio data with A2DP, and then start the instruction through the BLE transmission buffer. At this time, the received audio data is stored in the buffer.
303、以第二蓝牙传输协议传输缓存结束指令至蓝牙设备。303. Transmit a buffer end command to the Bluetooth device by using a second Bluetooth transmission protocol.
在本发明实施例中,当缓存的音频数据达到预设静态随机存取存储器的存储容量时,或者,音频文件的音频数据传输完成,可以通过BLE传输缓存结束指令至蓝牙设备,蓝牙设备在收到缓存结束指令时终止音频数据在缓存中的存储。In the embodiment of the present invention, when the buffered audio data reaches the storage capacity of the preset static random access memory, or the audio data transmission of the audio file is completed, the BLE transmission buffer end instruction may be used to the Bluetooth device, and the Bluetooth device is received. Terminate the storage of audio data in the cache by the end of the cache.
304、以第二蓝牙传输协议传输所述音频文件的音频信息至蓝牙设备。304. Transmit audio information of the audio file to a Bluetooth device by using a second Bluetooth transmission protocol.
在本发明实施例中,为了将音频数据存储至音频文件夹,可以在发送音频数据的同时或前后间隔一段时间,也可以在发送缓存开始指令的同时或前后间隔一段时间,或者,在发送缓存结束指令的同时或前后间隔一段时间,通过BLE发送音频信息至蓝牙设备。In the embodiment of the present invention, in order to store the audio data to the audio folder, the audio data may be transmitted at the same time or at intervals, or at the same time as the transmission buffer start instruction or at intervals, or in the transmission buffer. The audio information is sent to the Bluetooth device through BLE at the same time as the end instruction or at intervals.
需要说明的是,在本发明实施例中,上述各步骤301、302、303、304之间并不必然存在一定的先后顺序,本领域普通技术人员,根据本发明实施例的描述可以理解,不同实施例中,上述各步骤301、302、303、304可以有不同的执行顺序。同时,对于缓存开始指令及缓存结束指令在不同的实施例中,可以同时存在,也可以仅存在一种指令,比如,可以发送缓存开始指令及缓存结束指令,也可以仅发送缓存结束指令或缓存开始指令。It should be noted that, in the embodiment of the present invention, a certain sequence does not necessarily exist between the foregoing steps 301, 302, 303, and 304, and those skilled in the art can understand and describe different according to the description of the embodiments of the present invention. In the embodiment, the above steps 301, 302, 303, and 304 may have different execution orders. In the meantime, the buffer start instruction and the cache end instruction may exist at the same time in different embodiments, or only one type of instruction may exist, for example, a buffer start instruction and a cache end instruction may be sent, or only a cache end instruction or a cache may be sent. Start the instruction.
在本发明实施例中,所述方法还包括:In the embodiment of the present invention, the method further includes:
接收通信事件,并根据预先设置的优先级确定是否响应所述通信事件。A communication event is received, and whether the communication event is responded to is determined according to a preset priority.
在本发明实施例中,用户终端设备在播放音频文件过程中,可以接收通信事件,比如,来电或者即时消息,对于不同的通信事件,可以预先设置优先级,用于确定是否响应相应的通信事件,比如,来电的优先级高于音频文件播放优先级,则当在播放音频文件过程中,如果接收到来电事件,可以终止音频文件 的传输,而响应该来电事件。当然,也可以设置通信事件的优先级低于音频文件的传输,比如,即时消息的优先级低于音频文件的播放优先级,则当在播放音频文件过程中,如果接收到即时消息,则可以不终止音频文件的传输。In the embodiment of the present invention, the user terminal device may receive a communication event, such as an incoming call or an instant message, during the playing of the audio file. For different communication events, a priority may be preset to determine whether to respond to the corresponding communication event. For example, if the priority of the incoming call is higher than the audio file playback priority, the audio file can be terminated if an incoming call event is received during the playback of the audio file. The transmission is in response to the incoming call event. Of course, it is also possible to set the priority of the communication event to be lower than the transmission of the audio file. For example, if the priority of the instant message is lower than the playback priority of the audio file, if an instant message is received during the playing of the audio file, The transfer of audio files is not terminated.
本发明实施例,通过第一蓝牙音频传输协议传输音频文件的音频数据并通过第二蓝牙传输协议传输音频文件的音频信息至蓝牙设备,以提供音频文件给蓝牙设备,从而丰富音频文件的播放方式,提升用户体验,同时,通过传输缓存开始指令以及缓存结束指令有利于控制音频数据的存储,以提高音频数据的传输速度。In the embodiment of the present invention, the audio data of the audio file is transmitted through the first Bluetooth audio transmission protocol, and the audio information of the audio file is transmitted to the Bluetooth device through the second Bluetooth transmission protocol to provide an audio file to the Bluetooth device, thereby enriching the playing mode of the audio file. To enhance the user experience, at the same time, the transmission buffer start instruction and the cache end instruction are advantageous for controlling the storage of the audio data to improve the transmission speed of the audio data.
图4为本发明实施例提供的一种音频文件接收方法流程示意图,所述可以由图1所示的各种蓝牙设备执行,如图4所示,所述方法包括:FIG. 4 is a schematic flowchart of a method for receiving an audio file according to an embodiment of the present invention. The method may be performed by using various Bluetooth devices shown in FIG. 1 . As shown in FIG. 4 , the method includes:
401:以第一蓝牙音频传输协议接收音频文件的音频数据。401: Receive audio data of an audio file in a first Bluetooth audio transmission protocol.
在本发明实施例中,蓝牙设备可以通过A2DP接收用户终端设备发送的音频文件音频数据,该音频数据包含多个数据帧。In the embodiment of the present invention, the Bluetooth device can receive the audio file audio data sent by the user terminal device through the A2DP, and the audio data includes multiple data frames.
402:以第二蓝牙传输协议接收所述音频文件的音频信息。402: Receive audio information of the audio file in a second Bluetooth transmission protocol.
在本发明实施例中,蓝牙设备可以通过BLE接收用户终端设备发送的音频文件的音频信息,音频信息用于建立音频文件夹,音频信息可以包括歌曲名称、歌手名称和/或歌曲类别,而且,音频信息与音频数据属于同一音频文件。In the embodiment of the present invention, the Bluetooth device can receive the audio information of the audio file sent by the user terminal device through the BLE, and the audio information is used to create an audio folder, and the audio information may include a song name, a singer name, and/or a song category, and The audio information and the audio data belong to the same audio file.
需要说明的是,在本发明实施例中,上述步骤401、402之间并不必然存在一定的先后顺序,本领域普通技术人员,根据本发明实施例的描述可以理解,不同实施例中,上述步骤401与402可以有不同的执行顺序。It should be noted that, in the embodiment of the present invention, the foregoing steps 401 and 402 do not necessarily have a certain order, and those skilled in the art may understand according to the description of the embodiments of the present invention. Steps 401 and 402 can have different execution sequences.
本发明实施例,通过第一蓝牙音频传输协议接收音频文件的音频数据并通过第二蓝牙传输协议接收音频文件的音频信息至蓝牙设备,以便于蓝牙设备存储音频文件,从而丰富音频文件的播放方式,提升用户体验。In the embodiment of the present invention, the audio data of the audio file is received by the first Bluetooth audio transmission protocol, and the audio information of the audio file is received by the second Bluetooth transmission protocol to the Bluetooth device, so that the Bluetooth device stores the audio file, thereby enriching the playing mode of the audio file. To enhance the user experience.
图5为本发明实施例提供的另一种音频文件接收方法流程示意图;所述方法亦可由图1所示的各种用户终端设备执行,如图5所示,所述方法包括:FIG. 5 is a schematic flowchart of another method for receiving an audio file according to an embodiment of the present invention; the method may also be performed by using various user terminal devices shown in FIG. 1 , as shown in FIG. 5 , the method includes:
501:以第二蓝牙传输协议接收缓存开始指令。501: Receive a buffer start instruction by using a second Bluetooth transmission protocol.
在本发明实施例中,为了提高音频数据在蓝牙设备的存储速度,可以将音频数据先存入缓存,比如,静态随机存取存储器SRAM中,蓝牙设备将音频数据存入缓存的操作可由用户终端设备端进行控制,用户终端设备在发送音频数据的同时,或者前后间隔一段时间,可以通过BLE向蓝牙设备发送缓存开始指令, 蓝牙设备接收到音频数据和缓存开始指令后,将所述音频数据存储在缓存中。In the embodiment of the present invention, in order to improve the storage speed of the audio data in the Bluetooth device, the audio data may be first stored in a cache, for example, in a static random access memory (SRAM), the operation of the Bluetooth device to store the audio data in the cache may be performed by the user terminal. The device end controls, and the user terminal device sends a buffer start instruction to the Bluetooth device through the BLE while transmitting the audio data, or at intervals. After receiving the audio data and the cache start command, the Bluetooth device stores the audio data in a cache.
502,以第一蓝牙音频传输协议接收所述音频文件的音频数据。502. Receive audio data of the audio file in a first Bluetooth audio transmission protocol.
在本发明实施例中,可以在以BLE接收缓存开始指令后,以A2DP接收音频数据,在此情况下,蓝牙设备将接收到的音频数据缓存。当然,也可以先以A2DP接收音频数据,然后通过BLE接收缓存开始指令,此时,再将接收的音频数据存储至缓存。In the embodiment of the present invention, the audio data may be received by the A2DP after receiving the buffer start instruction with the BLE, in which case the Bluetooth device buffers the received audio data. Of course, it is also possible to first receive audio data with A2DP, and then receive a buffer start instruction through BLE, and at this time, store the received audio data to the cache.
503、以第二蓝牙传输协议接收所述音频文件的音频信息。503. Receive audio information of the audio file by using a second Bluetooth transmission protocol.
在本发明实施例中,为了将音频数据存储至音频文件夹,可以在接收音频数据的同时或前后间隔一段时间,也可以在接收缓存开始指令的同时或前后间隔一段时间,通过BLE接收音频信息。In the embodiment of the present invention, in order to store the audio data to the audio folder, the audio data may be received at the same time or at intervals, or the audio information may be received through the BLE while receiving the buffer start instruction or at intervals. .
504、存储音频数据。504. Store audio data.
在本发明实施例中,对于接收的音频数据,可以进行缓存,也可以存储至音频文件夹。当需要存储至音频文件夹时,可以根据接收的音频信息建立音频文件夹,并将音频数据存储至音频文件夹。其中,将所述音频数据存储至音频文件夹可以包括:将所述音频数据缓存于蓝牙设备随机存储器,当缓存于所述随机存储器的所述音频数据超出预设存储容量时,将所述音频数据存储至所述音频文件夹,或者,直接将接收的所述音频数据存储至所述音频文件夹。In the embodiment of the present invention, the received audio data may be cached or may be stored in an audio folder. When it is necessary to store to an audio folder, an audio folder can be created based on the received audio information, and the audio data can be stored to an audio folder. The storing the audio data to the audio folder may include: buffering the audio data in a Bluetooth device random access memory, and when the audio data buffered in the random access memory exceeds a preset storage capacity, the audio is The data is stored to the audio folder, or the received audio data is directly stored to the audio folder.
在本发明实施例中,音频文件夹可以在建立于蓝牙设备的固态存储器中,比如,eMMC或Tcard或UFS。对于音频数据的存储先通过缓存存储至SRAM,可以加快音频数据的存储数据、节省时间及功耗,当缓存中存储的音频数据达到预设的容量时,可以将接收到的音频数据写入固态存储器的音频文件夹。In an embodiment of the invention, the audio folder may be in a solid state memory built into the Bluetooth device, such as eMMC or Tcard or UFS. The storage of audio data is first stored in the SRAM through the cache, which can speed up the storage of the audio data, save time and power consumption, and can write the received audio data into the solid state when the audio data stored in the cache reaches a preset capacity. The audio folder of the memory.
505、以所述第二蓝牙传输协议接收缓存结束指令。505. Receive a buffer end instruction by using the second Bluetooth transmission protocol.
在本发明实施例中,当缓存的音频数据达到预设静态随机存取存储器的存储容量时,或者,音频文件的音频数据传输完成,可以通过BLE传输缓存结束指令至蓝牙设备,蓝牙设备在可以通过BLE接收缓存结束指令时,终止音频数据在缓存中的存储。In the embodiment of the present invention, when the buffered audio data reaches the storage capacity of the preset static random access memory, or the audio data of the audio file is transmitted, the BLE transmission buffer end instruction can be used to the Bluetooth device, and the Bluetooth device can When the buffer end instruction is received through BLE, the storage of the audio data in the cache is terminated.
需要说明的是,在本发明实施例中,上述步骤501、502、503、504、505之间并不必然存在一定的先后顺序,本领域普通技术人员,根据本发明实施例的描述可以理解,不同实施例中,上述步骤501、502、503、504、505可以有不同的执行顺序,同时,对于缓存开始指令及缓存结束指令在不同的实施例中, 可以同时存在,也可以仅存在一种指令,比如,可以接收缓存开始指令及缓存结束指令,也可以仅接收缓存结束指令或缓存开始指令。It should be noted that, in the embodiment of the present invention, the foregoing steps 501, 502, 503, 504, and 505 do not necessarily have a certain order, and those skilled in the art can understand according to the description of the embodiments of the present invention. In different embodiments, the foregoing steps 501, 502, 503, 504, 505 may have different execution orders, and in the different embodiments, for the cache start instruction and the cache end instruction, It may exist at the same time, or there may be only one type of instruction, for example, a buffer start instruction and a buffer end instruction may be received, or only a buffer end instruction or a cache start instruction may be received.
本发明实施例,通过第一蓝牙音频传输协议接收音频文件的音频数据并通过第二蓝牙传输协议接收音频文件的音频信息至蓝牙设备,以便于蓝牙设备存储音频文件,从而丰富音频文件的播放方式,提升用户体验。同时,通过接收缓存开始指令以及缓存结束指令有利于控制音频数据的存储,以提高音频数据的传输速度,而且,将音频文件存储至音频文件夹,方便用户直接通过蓝牙设备播放音频文件。In the embodiment of the present invention, the audio data of the audio file is received by the first Bluetooth audio transmission protocol, and the audio information of the audio file is received by the second Bluetooth transmission protocol to the Bluetooth device, so that the Bluetooth device stores the audio file, thereby enriching the playing mode of the audio file. To enhance the user experience. At the same time, by receiving the buffer start instruction and the buffer end instruction, it is advantageous to control the storage of the audio data to improve the transmission speed of the audio data, and the audio file is stored in the audio folder, so that the user can directly play the audio file through the Bluetooth device.
为进一步说明本发明音频文件传输方法及音频文件接收方法实施例,下面结合具体的应用场景对本发明音频文件传输方法及音频文件接收方法进行举例说明。该具体应用场景为通过手机向蓝牙耳机进行音乐播放,如图6所示,为本发明实施例手机和蓝牙耳机之间的音频文件处理工作流程示意图,该应用实施例具体包括:To further illustrate the audio file transmission method and the audio file receiving method embodiment of the present invention, the audio file transmission method and the audio file receiving method of the present invention are exemplified in the following with reference to specific application scenarios. The specific application scenario is that the music is played to the Bluetooth headset through the mobile phone. As shown in FIG. 6 , the audio file processing workflow between the mobile phone and the Bluetooth headset is used in the embodiment of the present invention.
1、手机通过音乐APP播放音乐文件,如播放一首MP3格式歌曲;1. The mobile phone plays music files through the music app, such as playing an MP3 format song;
2、手机将MP3格式转化为PCM格式;2. The mobile phone converts the MP3 format into a PCM format;
3、手机的蓝牙IC将PCM格式编码为SBC、AAC、Apt-X等格式,并将该格式的音乐分成一帧一帧的,如frame1、frame2……frameN;3. The Bluetooth IC of the mobile phone encodes the PCM format into SBC, AAC, Apt-X, etc., and divides the music of the format into one frame and one frame, such as frame1, frame2, ... frameN;
4、手机发送开始缓存指令给蓝牙耳机,将frame1、frame2……frameN的音乐通过A2DP传输至蓝牙耳机,蓝牙耳机接收frame1、frame2……frameN并缓存于其Memory内。在此先存入Memory中而不直接缓写入歌曲文件夹内,是因为Memory为SRAM(静态随机存取存储器),存储快,节省时间且节省功耗;4. The mobile phone sends a start buffer instruction to the Bluetooth headset, and the music of frame1, frame2, ... frameN is transmitted to the Bluetooth headset through A2DP, and the Bluetooth headset receives frame1, frame2, ... frameN and is cached in its Memory. It is first stored in Memory and not directly written into the song folder because Memory is SRAM (Static Random Access Memory), which is fast, saves time and saves power;
5、手机将本首歌的音乐信息(如歌曲名称、歌手名称、歌曲类别等)通过BLE传输至蓝牙耳机;并在蓝牙耳机的存储器内建立歌曲文件夹,如以歌手名称命名为文件夹名称;存储器为eMMC或TCard或UFS;5. The mobile phone transmits the music information (such as song name, singer name, song category, etc.) of the song to the Bluetooth headset through BLE; and creates a song folder in the memory of the Bluetooth headset, for example, the name of the folder is named by the artist name. The memory is eMMC or TCard or UFS;
可选的,该步骤可与第4步骤同时进行。Alternatively, this step can be performed simultaneously with the fourth step.
6、当Memory中存储到一定数量的音乐帧时,蓝牙耳机开始将Memory中存有的音乐帧一帧一帧地写入歌曲文件夹中。6. When a certain number of music frames are stored in the Memory, the Bluetooth headset starts to write the music frames stored in the Memory into the song folder frame by frame.
7、当音乐帧发送到最后一帧时,手机发送终止缓存指令给蓝牙耳机,蓝牙耳机将终止缓存写入歌曲文件夹中,从而终止缓存;7. When the music frame is sent to the last frame, the mobile phone sends a termination buffer instruction to the Bluetooth headset, and the Bluetooth headset will terminate the buffer writing into the song folder, thereby terminating the buffer;
8、在另外一个实施例中,不用通过缓存,直接将第4步骤的音乐帧一帧一 帧通过A2DP写入歌曲文件夹中。8. In another embodiment, the music frame of the fourth step is directly framed by one without using the buffer. The frame is written to the song folder via A2DP.
图7为本发明实施例音频文件传输装置示意图,如图7所示,所述装置700应用于在如图1所示的用户终端设备,所述装置700包括:FIG. 7 is a schematic diagram of an audio file transmission apparatus according to an embodiment of the present invention. As shown in FIG. 7, the apparatus 700 is applied to a user terminal device as shown in FIG. 1, and the apparatus 700 includes:
音频数据发送单元701,用于以第一蓝牙音频传输协议传输所述音频文件的音频数据至蓝牙设备,The audio data sending unit 701 is configured to transmit audio data of the audio file to the Bluetooth device by using a first Bluetooth audio transmission protocol,
音频信息发送单元702,用于以第二蓝牙传输协议传输所述音频文件的音频信息至蓝牙设备。The audio information sending unit 702 is configured to transmit the audio information of the audio file to the Bluetooth device by using a second Bluetooth transmission protocol.
在本发明实施例中,所述第一蓝牙音频传输协议为蓝牙高级音频传输模型协议,所述第二蓝牙传输协议为蓝牙低功耗传输协议。所述音频文件的音频信息用于建立音频文件夹,所述音频信息包括:歌曲名称、歌手名称和/或歌曲类别。In the embodiment of the present invention, the first Bluetooth audio transmission protocol is a Bluetooth advanced audio transmission model protocol, and the second Bluetooth transmission protocol is a Bluetooth low energy transmission protocol. The audio information of the audio file is used to create an audio folder, the audio information including: a song name, a singer name, and/or a song category.
在本发明实施例中,所述音频信息发送单元702还用于:以所述第二蓝牙传输协议传输缓存开始指令至蓝牙设备,和/或,以所述第二蓝牙传输协议传输缓存结束指令至蓝牙设备。In the embodiment of the present invention, the audio information sending unit 702 is further configured to: transmit a buffer start instruction to the Bluetooth device by using the second Bluetooth transmission protocol, and/or transmit a buffer end instruction by using the second Bluetooth transmission protocol. To Bluetooth devices.
在本发明实施例中,所述装置700还包括:In the embodiment of the present invention, the apparatus 700 further includes:
通信事件响应单元,用于接收通信事件,并根据预先设置的优先级确定是否响应所述通信事件。And a communication event response unit, configured to receive a communication event, and determine whether to respond to the communication event according to a preset priority.
在本发明实施例中,音频数据发送单元701在用户终端设备和蓝牙设备建立连接后,将用户终端设备的音频数据通过A2DP发送给蓝牙设备,音频信息发送单元702将与所述音频数据对应的音频信息通过BLE发送给蓝牙设备。其中,为了控制音频数据的传输速度,还可以由音频信息发送单元702发送缓存开始指令及缓存结束指令,以便于控制音频数据存储至蓝牙设备的缓存。In the embodiment of the present invention, after the user terminal device and the Bluetooth device establish a connection, the audio data sending unit 701 sends the audio data of the user terminal device to the Bluetooth device through the A2DP, and the audio information sending unit 702 corresponds to the audio data. Audio information is sent to the Bluetooth device via BLE. In order to control the transmission speed of the audio data, the buffer start instruction and the buffer end instruction may also be sent by the audio information transmitting unit 702 to control the storage of the audio data to the cache of the Bluetooth device.
需要说明的是,上述音频文件传输装置可执行本发明实施例所提供的音频文件传输方法,具备执行方法相应的功能模块和有益效果。未在音频文件传输装置实施例中详尽描述的技术细节,可参见本发明实施例所提供的音频文件传输方法。It should be noted that the foregoing audio file transmission apparatus may perform the audio file transmission method provided by the embodiment of the present invention, and has a function module and a beneficial effect corresponding to the execution method. For the technical details that are not described in detail in the audio file transmission device embodiment, refer to the audio file transmission method provided by the embodiment of the present invention.
本发明实施例,通过第一蓝牙音频传输协议传输音频文件的音频数据,并通过第二蓝牙传输协议传输音频文件的音频信息至蓝牙设备,以提供音频文件给蓝牙设备,从而丰富音频文件的播放方式,提升用户体验。In the embodiment of the present invention, the audio data of the audio file is transmitted through the first Bluetooth audio transmission protocol, and the audio information of the audio file is transmitted to the Bluetooth device through the second Bluetooth transmission protocol to provide the audio file to the Bluetooth device, thereby enriching the playing of the audio file. Ways to enhance the user experience.
图8为本发明实施例提供的音频文件接收装置示意图,所述装置应用于在 图1所示的蓝牙设备,如图8所示,所述装置800包括:FIG. 8 is a schematic diagram of an audio file receiving apparatus according to an embodiment of the present invention, where the apparatus is applied to As shown in FIG. 8, the Bluetooth device shown in FIG. 1 includes:
音频数据接收单元801,用于以第一蓝牙音频传输协议接收音频文件的音频数据,以及An audio data receiving unit 801, configured to receive audio data of an audio file by using a first Bluetooth audio transmission protocol, and
音频信息接收单元802,用于以第二蓝牙传输协议接收所述音频文件的音频信息。The audio information receiving unit 802 is configured to receive audio information of the audio file in a second Bluetooth transmission protocol.
在本发明实施例中,在本发明实施例中,所述第一蓝牙音频传输协议为蓝牙高级音频传输模型协议,所述第二蓝牙传输协议为蓝牙低功耗传输协议。所述音频文件的音频信息用于建立音频文件夹,所述音频信息包括:歌曲名称、歌手名称和/或歌曲类别。In the embodiment of the present invention, in the embodiment of the present invention, the first Bluetooth audio transmission protocol is a Bluetooth advanced audio transmission model protocol, and the second Bluetooth transmission protocol is a Bluetooth low energy transmission protocol. The audio information of the audio file is used to create an audio folder, the audio information including: a song name, a singer name, and/or a song category.
在本发明实施例中,所述音频信息接收单元802还用于:In the embodiment of the present invention, the audio information receiving unit 802 is further configured to:
以所述第二蓝牙传输协议接收缓存开始指令,和/或,Receiving a cache start instruction with the second Bluetooth transmission protocol, and/or,
以所述第二蓝牙传输协议接收缓存结束指令。The buffer end instruction is received in the second Bluetooth transmission protocol.
在本发明实施例中,所述装置800还包括:In the embodiment of the present invention, the device 800 further includes:
存储单元803,用于存储所述音频数据。The storage unit 803 is configured to store the audio data.
其中,存储单元803包括:The storage unit 803 includes:
音频文件夹建立模块8031,用于根据所述音频信息建立音频文件夹,An audio folder creating module 8031, configured to create an audio folder according to the audio information,
音频数据存储模块8032,用于将所述音频数据存储至所述音频文件夹。The audio data storage module 8032 is configured to store the audio data to the audio folder.
在本发明实施例中,所述音频数据存储模块8032具体可以用于:In the embodiment of the present invention, the audio data storage module 8032 may be specifically configured to:
将所述音频数据缓存于蓝牙设备随机存储器,当缓存于所述随机存储器的所述音频数据超出预设存储容量时,将所述音频数据存储至所述音频文件夹,或者,Cache the audio data in a Bluetooth device random access memory, and store the audio data to the audio folder when the audio data buffered in the random access memory exceeds a preset storage capacity, or
直接将接收的所述音频数据存储至所述音频文件夹。The received audio data is directly stored to the audio folder.
在本发明实施例中,音频数据接收单元801接收音频文件传输装置通过A2DP传输的音频文件的音频数据,音频信息接收单元802接收通过BLE传输的所述音频文件的音频信息,存储单元803在接收到音频数据和音频信息后根据所述音频信息建立音频文件夹,将所述音频数据存储在所述音频文件夹中。其中,存储单元803可以包括音频文件夹建立模块8031及音频数据存储模块8032,音频数据存储模块8032可以根据缓存开始指令及缓存结束指令确定将音频数据存储至缓存或音频文件夹。In the embodiment of the present invention, the audio data receiving unit 801 receives the audio data of the audio file transmitted by the audio file transmission device through the A2DP, and the audio information receiving unit 802 receives the audio information of the audio file transmitted through the BLE, and the storage unit 803 is receiving. After the audio data and the audio information, an audio folder is created based on the audio information, and the audio data is stored in the audio folder. The storage unit 803 can include an audio folder creation module 8031 and an audio data storage module 8032. The audio data storage module 8032 can determine to store the audio data to the cache or audio folder according to the cache start instruction and the cache end instruction.
需要说明的是,上述音频文件接收装置可执行本发明实施例所提供的音频 文件接收方法,具备执行方法相应的功能模块和有益效果。未在音频文件接收装置实施例中详尽描述的技术细节,可参见本发明实施例所提供的音频文件接收方法。It should be noted that the foregoing audio file receiving apparatus can perform the audio provided by the embodiment of the present invention. The file receiving method has the corresponding function modules and beneficial effects of the execution method. For the technical details that are not described in detail in the audio file receiving device embodiment, refer to the audio file receiving method provided by the embodiment of the present invention.
本发明实施例,通过第一蓝牙音频传输协议接收音频文件的音频数据,并通过第二蓝牙传输协议接收音频文件的音频信息至蓝牙设备,以便于蓝牙设备存储音频文件,从而丰富音频文件的播放方式,提升用户体验。同时,将音频文件存储至音频文件夹,方便用户直接通过蓝牙设备播放音频文件。In the embodiment of the present invention, the audio data of the audio file is received by the first Bluetooth audio transmission protocol, and the audio information of the audio file is received by the second Bluetooth transmission protocol to the Bluetooth device, so that the Bluetooth device stores the audio file, thereby enriching the playing of the audio file. Ways to enhance the user experience. At the same time, the audio file is stored in the audio folder, which is convenient for the user to play the audio file directly through the Bluetooth device.
图9是本发明实施例提供的用户终端设备硬件结构示意图,如图9所示,该用户终端设备900包括:FIG. 9 is a schematic structural diagram of hardware of a user terminal device according to an embodiment of the present invention. As shown in FIG. 9, the user terminal device 900 includes:
一个或多个处理器901以及存储器902,图9中以一个处理器901为例。One or more processors 901 and memory 902, one processor 901 is taken as an example in FIG.
处理器901和存储器902可以通过总线或者其他方式连接,图901中以通过总线连接为例。The processor 901 and the memory 902 can be connected by a bus or other means, and the connection in FIG. 901 is exemplified by a bus connection.
存储器902作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施例中的音频文件传输方法对应的程序指令/单元(例如,附图7所示的音频数据发送单元701和音频信息发送单元702)。处理器901通过运行存储在存储器902中的非易失性软件程序、指令以及单元,从而执行用户终端设备的各种功能应用以及数据处理,即实现上述方法实施例音频文件传输方法。The memory 902 is a non-volatile computer readable storage medium and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, such as a program corresponding to the audio file transmission method in the embodiment of the present invention. An instruction/unit (for example, the audio data transmitting unit 701 and the audio information transmitting unit 702 shown in FIG. 7). The processor 901 executes various functional applications and data processing of the user terminal device by executing nonvolatile software programs, instructions, and units stored in the memory 902, that is, implementing the audio file transmission method of the above method embodiment.
存储器902可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据用户终端设备使用所创建的数据等。此外,存储器902可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器902可选包括相对于处理器901远程设置的存储器,这些远程存储器可以通过网络连接至用户终端设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 902 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the user terminal device, and the like. Moreover, memory 902 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 902 can optionally include memory remotely located relative to processor 901, which can be connected to the user terminal device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
所述一个或者多个单元存储在所述存储器902中,当被所述一个或者多个处理器901执行时,执行上述任意方法实施例中的音频文件传输方法,例如,执行以上描述的图2中的方法步骤201至步骤202,图3中的方法步骤301至步骤304,实现图7中的单元701-702的功能。 The one or more units are stored in the memory 902, and when executed by the one or more processors 901, perform an audio file transmission method in any of the above method embodiments, for example, performing the above described FIG. The method steps 201 to 202 in the method, the method steps 301 to 304 in FIG. 3, implement the functions of the units 701-702 in FIG.
上述用户终端设备可执行本发明实施例所提供的音频文件传输方法,具备执行方法相应的功能模块和有益效果。未在用户终端设备实施例中详尽描述的技术细节,可参见本发明实施例所提供的音频文件传输方法。The user terminal device can perform the audio file transmission method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For the technical details that are not described in detail in the embodiment of the user terminal device, refer to the audio file transmission method provided by the embodiment of the present invention.
本发明实施例提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个处理器执行,例如,执行以上描述的图2中的方法步骤201至步骤202,图3中的方法步骤301至步骤304,实现图7中的模块701-702的功能。Embodiments of the present invention provide a non-transitory computer readable storage medium storing computer-executable instructions that are executed by one or more processors, for example, to perform the above The method steps 201 to 202 in FIG. 2 and the method steps 301 to 304 in FIG. 3 implement the functions of the modules 701-702 in FIG.
本申请实施例的用户终端设备以多种形式存在,包括但不限于:The user terminal device in this embodiment of the present application exists in various forms, including but not limited to:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。(1) Mobile communication devices: These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication. Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。(2) Ultra-mobile personal computer equipment: This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access. Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。(3) Portable entertainment devices: These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。(4) Server: A device that provides computing services. The server consists of a processor, a hard disk, a memory, a system bus, etc. The server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
(5)其他具有蓝牙功能的电子装置。(5) Other electronic devices with Bluetooth capabilities.
图10是本发明实施例提供的蓝牙设备硬件结构示意图,如图10所示,该用户终端设备1000包括:FIG. 10 is a schematic structural diagram of a hardware device of a Bluetooth device according to an embodiment of the present invention. As shown in FIG. 10, the user terminal device 1000 includes:
一个或多个处理器1001以及存储器1002,图10中以一个处理器1001为例。One or more processors 1001 and a memory 1002, one processor 1001 is taken as an example in FIG.
处理器1001和存储器1002可以通过总线或者其他方式连接,图1001中以通过总线连接为例。The processor 1001 and the memory 1002 may be connected by a bus or other means. In FIG. 1001, a bus connection is taken as an example.
存储器1002作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施例中的音频文件传输方法对应的程序指令/单元(例如,附图8所示的音频数据接收单元801 和音频信息接收单元802)。处理器1001通过运行存储在存储器1002中的非易失性软件程序、指令以及单元,从而执行蓝牙设备的各种功能应用以及数据处理,即实现上述方法实施例音频文件接收方法。The memory 1002 is a non-volatile computer readable storage medium and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, such as a program corresponding to the audio file transmission method in the embodiment of the present invention. Instruction/unit (for example, the audio data receiving unit 801 shown in FIG. 8 And audio information receiving unit 802). The processor 1001 executes various functional applications and data processing of the Bluetooth device by executing non-volatile software programs, instructions, and units stored in the memory 1002, that is, implementing the audio file receiving method of the above method embodiment.
存储器1002可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据蓝牙设备使用所创建的数据等。此外,存储器1002可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器1002可选包括相对于处理器1001远程设置的存储器,这些远程存储器可以通过网络连接至蓝牙设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 1002 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the Bluetooth device, and the like. Further, the memory 1002 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, the memory 1002 can optionally include memory remotely located relative to the processor 1001 that can be connected to the Bluetooth device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
所述一个或者多个单元存储在所述存储器1002中,当被所述一个或者多个处理器1001执行时,执行上述任意方法实施例中的音频文件接收方法,例如,执行以上描述的图4中的方法步骤401至步骤402,图5中的方法步骤501至步骤505,实现图8中的单元801-803的功能。The one or more units are stored in the memory 1002, and when executed by the one or more processors 1001, perform an audio file receiving method in any of the above method embodiments, for example, performing FIG. 4 described above The method steps 401 to 402 in the method, the method steps 501 to 505 in FIG. 5, implement the functions of the units 801-803 in FIG.
上述蓝牙设备可执行本发明实施例所提供的音频文件接收方法,具备执行方法相应的功能模块和有益效果。未在蓝牙设备实施例中详尽描述的技术细节,可参见本发明实施例所提供的音频文件接收方法。The above-mentioned Bluetooth device can perform the audio file receiving method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For the technical details that are not described in detail in the Bluetooth device embodiment, refer to the audio file receiving method provided by the embodiment of the present invention.
本发明实施例提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个处理器执行,例如,执行以上描述的图4中的方法步骤401至步骤402,图5中的方法步骤501至步骤505,实现图8中的模块801-803的功能。Embodiments of the present invention provide a non-transitory computer readable storage medium storing computer-executable instructions that are executed by one or more processors, for example, to perform the above The method steps 401 to 402 of FIG. 4 are described, and the method steps 501 to 505 of FIG. 5 implement the functions of the modules 801-803 of FIG.
本申请实施例的蓝牙设备可以以多种形式存在,包括但不限于:The Bluetooth device of the embodiment of the present application may exist in various forms, including but not limited to:
(1)蓝牙耳机:这类设备的特点是具备蓝牙通信功能,并且以提供开语通话、音乐播放为主要目标。。(1) Bluetooth headset: This type of device is characterized by Bluetooth communication, and the main goal is to provide speaking and music playback. .
(2)蓝牙音箱:这类设备属于音乐播放设备范畴,以播放音乐为主要目的。(2) Bluetooth speakers: These devices belong to the category of music playback devices, with the main purpose of playing music.
(3)便携式娱乐设备:这类设备可以播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备,该娱乐设备具备蓝牙通信功能。(3) Portable entertainment devices: These devices can play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices that have Bluetooth communication capabilities.
(5)其他具有蓝牙功能的音乐播放电子装置。(5) Other music playback electronic devices with Bluetooth function.
图11是本发明实施例提供的音频文件处理系统示意图,如图11所示,所 述系统1100包括用户终端设备1101及蓝牙设备1102,其中,用户终端设备1101具备上述用户终端设备实施例中描述的功能并执行上述音频文件传输方法实施例的方法步骤,蓝牙设备1102具备上述蓝牙设备实施例中描述的功能并执行上述音频文件接收方法实施例的方法步骤。FIG. 11 is a schematic diagram of an audio file processing system according to an embodiment of the present invention, as shown in FIG. The system 1100 includes a user terminal device 1101 and a Bluetooth device 1102, wherein the user terminal device 1101 is provided with the functions described in the above embodiment of the user terminal device and performs the method steps of the above-mentioned audio file transmission method embodiment, and the Bluetooth device 1102 is provided with the above-mentioned Bluetooth device. The functions described in the embodiments and the method steps of the above embodiment of the audio file receiving method are performed.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
通过以上的实施例的描述,本领域普通技术人员可以清楚地了解到各实施例可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Through the description of the above embodiments, those skilled in the art can clearly understand that the embodiments can be implemented by means of software plus a general hardware platform, and of course, by hardware. A person skilled in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本发明的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not limited thereto; in the idea of the present invention, the technical features in the above embodiments or different embodiments may also be combined. The steps may be carried out in any order, and there are many other variations of the various aspects of the invention as described above, which are not provided in the details for the sake of brevity; although the invention has been described in detail with reference to the foregoing embodiments, It should be understood by those skilled in the art that the technical solutions described in the foregoing embodiments may be modified or equivalently substituted for some of the technical features; and the modifications or substitutions do not deviate from the embodiments of the present invention. The scope of the technical solution.

Claims (25)

  1. 一种音频文件接收方法,所述方法应用于蓝牙设备,其特征在于,所述方法包括:An audio file receiving method, the method being applied to a Bluetooth device, wherein the method comprises:
    以第一蓝牙音频传输协议接收音频文件的音频数据,以及Receiving audio data of an audio file in a first Bluetooth audio transmission protocol, and
    以第二蓝牙传输协议接收所述音频文件的音频信息。The audio information of the audio file is received in a second Bluetooth transmission protocol.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    以所述第二蓝牙传输协议接收缓存开始指令,和/或,Receiving a cache start instruction with the second Bluetooth transmission protocol, and/or,
    以所述第二蓝牙传输协议接收缓存结束指令。The buffer end instruction is received in the second Bluetooth transmission protocol.
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    存储所述音频数据。The audio data is stored.
  4. 根据权利要求3所述的方法,其特征在于,所述存储所述音频数据,包括:The method according to claim 3, wherein said storing said audio data comprises:
    根据所述音频信息建立音频文件夹,并将所述音频数据存储至所述音频文件夹。An audio folder is created based on the audio information, and the audio data is stored to the audio folder.
  5. 根据权利要求4所述的方法,其特征在于,将所述音频数据存储至所述音频文件夹,包括:The method of claim 4, wherein storing the audio data to the audio folder comprises:
    将所述音频数据缓存于蓝牙设备随机存储器,当缓存于所述随机存储器的所述音频数据超出预设存储容量时,将所述音频数据存储至所述音频文件夹,或者,Cache the audio data in a Bluetooth device random access memory, and store the audio data to the audio folder when the audio data buffered in the random access memory exceeds a preset storage capacity, or
    直接将接收的所述音频数据存储至所述音频文件夹。The received audio data is directly stored to the audio folder.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,A method according to any one of claims 1 to 5, wherein
    所述第一蓝牙音频传输协议为蓝牙高级音频传输模型协议,所述第二蓝牙传输协议为蓝牙低功耗传输协议。The first Bluetooth audio transmission protocol is a Bluetooth advanced audio transmission model protocol, and the second Bluetooth transmission protocol is a Bluetooth low energy transmission protocol.
  7. 一种音频文件传输方法,所述方法应用于传输音频文件的用户终端设备,其特征在于,所述方法包括:An audio file transmission method, the method being applied to a user terminal device for transmitting an audio file, wherein the method includes:
    以第一蓝牙音频传输协议传输所述音频文件的音频数据至蓝牙设备,Transmitting the audio data of the audio file to the Bluetooth device in a first Bluetooth audio transmission protocol,
    以第二蓝牙传输协议传输所述音频文件的音频信息至蓝牙设备。The audio information of the audio file is transmitted to the Bluetooth device in a second Bluetooth transmission protocol.
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括: The method of claim 7, wherein the method further comprises:
    以所述第二蓝牙传输协议传输缓存开始指令至蓝牙设备,和/或,Transmitting a cache start command to the Bluetooth device with the second Bluetooth transmission protocol, and/or,
    以所述第二蓝牙传输协议传输缓存结束指令至蓝牙设备。Transmitting a buffer end command to the Bluetooth device in the second Bluetooth transmission protocol.
  9. 根据权利要求7所述的方法,其特征在于,所述方法包括:The method of claim 7 wherein said method comprises:
    接收通信事件,并根据预先设置的优先级确定是否响应所述通信事件。A communication event is received, and whether the communication event is responded to is determined according to a preset priority.
  10. 根据权利要求7-9任一项所述的方法,其特征在于,A method according to any one of claims 7-9, characterized in that
    所述第一蓝牙音频传输协议为蓝牙高级音频传输模型协议,所述第二蓝牙传输协议为蓝牙低功耗传输协议。The first Bluetooth audio transmission protocol is a Bluetooth advanced audio transmission model protocol, and the second Bluetooth transmission protocol is a Bluetooth low energy transmission protocol.
  11. 根据权利要求10所述的方法,其特征在于,所述音频文件的音频信息用于建立音频文件夹,所述音频信息包括:The method according to claim 10, wherein the audio information of the audio file is used to create an audio folder, and the audio information comprises:
    歌曲名称、歌手名称和/或歌曲类别。Song name, artist name, and/or song category.
  12. 一种音频文件接收装置,所述装置应用于蓝牙设备,其特征在于,所述装置包括:An audio file receiving device, the device being applied to a Bluetooth device, wherein the device comprises:
    音频数据接收单元,用于以第一蓝牙音频传输协议接收音频文件的音频数据,以及An audio data receiving unit, configured to receive audio data of an audio file by using a first Bluetooth audio transmission protocol, and
    音频信息接收单元,用于以第二蓝牙传输协议接收所述音频文件的音频信息。And an audio information receiving unit, configured to receive audio information of the audio file by using a second Bluetooth transmission protocol.
  13. 根据权利要求12所述的装置,其特征在于,所述音频信息接收单元还用于:The device according to claim 12, wherein the audio information receiving unit is further configured to:
    以所述第二蓝牙传输协议接收缓存开始指令,和/或,Receiving a cache start instruction with the second Bluetooth transmission protocol, and/or,
    以所述第二蓝牙传输协议接收缓存结束指令。The buffer end instruction is received in the second Bluetooth transmission protocol.
  14. 根据权利要求12或13所述的装置,其特征在于,所述装置还包括:The device according to claim 12 or 13, wherein the device further comprises:
    存储单元,用于存储所述音频数据。a storage unit for storing the audio data.
  15. 根据权利要求14所述的装置,其特征在于,所述存储单元包括:The device according to claim 14, wherein the storage unit comprises:
    音频文件夹建立模块,用于根据所述音频信息建立音频文件夹,An audio folder creating module, configured to create an audio folder according to the audio information,
    音频数据存储模块,用于将所述音频数据存储至所述音频文件夹。And an audio data storage module, configured to store the audio data to the audio folder.
  16. 根据权利要求15所述的装置,其特征在于,所述音频数据存储模块具体用于:The device according to claim 15, wherein the audio data storage module is specifically configured to:
    将所述音频数据缓存于蓝牙设备随机存储器,当缓存于所述随机存储器的所述音频数据超出预设存储容量时,将所述音频数据存储至所述音频文件夹, 或者,Storing the audio data in a Bluetooth device random access memory, and storing the audio data to the audio folder when the audio data buffered in the random access memory exceeds a preset storage capacity, or,
    直接将接收的所述音频数据存储至所述音频文件夹。The received audio data is directly stored to the audio folder.
  17. 根据权利要求12-16任一项所述的装置,其特征在于,A device according to any one of claims 12-16, wherein
    所述第一蓝牙音频传输协议为蓝牙高级音频传输模型协议,所述第二蓝牙传输协议为蓝牙低功耗传输协议。The first Bluetooth audio transmission protocol is a Bluetooth advanced audio transmission model protocol, and the second Bluetooth transmission protocol is a Bluetooth low energy transmission protocol.
  18. 一种音频文件传输装置,所述装置应用于传输音频文件的用户终端设备,其特征在于,所述装置包括:An audio file transmission device, the device being applied to a user terminal device for transmitting an audio file, wherein the device comprises:
    音频数据发送单元,用于以第一蓝牙音频传输协议传输所述音频文件的音频数据至蓝牙设备,An audio data sending unit, configured to transmit audio data of the audio file to a Bluetooth device by using a first Bluetooth audio transmission protocol,
    音频信息发送单元,用于以第二蓝牙传输协议传输所述音频文件的音频信息至蓝牙设备。And an audio information sending unit, configured to transmit the audio information of the audio file to the Bluetooth device by using a second Bluetooth transmission protocol.
  19. 根据权利要求18所述的装置,其特征在于,所述音频信息发送单元还用于:The device according to claim 18, wherein the audio information transmitting unit is further configured to:
    以所述第二蓝牙传输协议传输缓存开始指令至蓝牙设备,和/或,Transmitting a cache start command to the Bluetooth device with the second Bluetooth transmission protocol, and/or,
    以所述第二蓝牙传输协议传输缓存结束指令至蓝牙设备。Transmitting a buffer end command to the Bluetooth device in the second Bluetooth transmission protocol.
  20. 根据权利要求18所述的装置,其特征在于,所述装置还包括:The device of claim 18, wherein the device further comprises:
    通信事件响应单元,用于接收通信事件,并根据预先设置的优先级确定是否响应所述通信事件。And a communication event response unit, configured to receive a communication event, and determine whether to respond to the communication event according to a preset priority.
  21. 根据权利要求18-20任一项所述的装置,其特征在于,Apparatus according to any one of claims 18-20, wherein
    所述第一蓝牙音频传输协议为蓝牙高级音频传输模型协议,所述第二蓝牙传输协议为蓝牙低功耗传输协议。The first Bluetooth audio transmission protocol is a Bluetooth advanced audio transmission model protocol, and the second Bluetooth transmission protocol is a Bluetooth low energy transmission protocol.
  22. 根据权利要求21所述的装置,其特征在于,所述音频文件的音频信息用于建立音频文件夹,所述音频信息包括:The device according to claim 21, wherein the audio information of the audio file is used to create an audio folder, and the audio information comprises:
    歌曲名称、歌手名称和/或歌曲类别。Song name, artist name, and/or song category.
  23. 一种蓝牙设备,其特征在于,包括:A Bluetooth device, comprising:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述 至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-6的任一项所述的方法。The memory stores instructions executable by the at least one processor, the instructions being At least one processor is operative to enable the at least one processor to perform the method of any of claims 1-6.
  24. 一种用户终端设备,其特征在于,包括:A user terminal device, comprising:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求7-11的任一项所述的方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform any one of claims 7-11 Methods.
  25. 一种音频文件处理系统,其特征在于,包括如权利要求24所述的用户终端设备以及如权利要求23所述的蓝牙设备。 An audio file processing system comprising the user terminal device of claim 24 and the Bluetooth device of claim 23.
PCT/CN2017/074295 2017-02-21 2017-02-21 Audio file transmitting method and apparatus, audio file receiving method and apparatus, devices and system WO2018152679A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/074295 WO2018152679A1 (en) 2017-02-21 2017-02-21 Audio file transmitting method and apparatus, audio file receiving method and apparatus, devices and system
CN201780000128.XA CN107005800B (en) 2017-02-21 2017-02-21 Audio file transmission and receiving method, device, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/074295 WO2018152679A1 (en) 2017-02-21 2017-02-21 Audio file transmitting method and apparatus, audio file receiving method and apparatus, devices and system

Publications (1)

Publication Number Publication Date
WO2018152679A1 true WO2018152679A1 (en) 2018-08-30

Family

ID=59436556

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/074295 WO2018152679A1 (en) 2017-02-21 2017-02-21 Audio file transmitting method and apparatus, audio file receiving method and apparatus, devices and system

Country Status (2)

Country Link
CN (1) CN107005800B (en)
WO (1) WO2018152679A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111683357A (en) * 2020-05-25 2020-09-18 杭州寰星电子科技有限公司 Method, device and equipment for transmitting audio by using low-power-consumption Bluetooth
CN112423053A (en) * 2020-11-06 2021-02-26 歌尔科技有限公司 Audio sharing method, system, remote controller and computer readable storage medium

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108684028B (en) * 2018-05-30 2020-12-22 深圳市沃特沃德股份有限公司 Audio playing device adaptation method based on ble and Bluetooth audio receiver
CN108738006B (en) * 2018-05-31 2021-06-25 出门问问信息科技有限公司 Data transmission method and device based on Bluetooth
CN110662205B (en) * 2018-06-30 2023-04-11 中移(杭州)信息技术有限公司 Bluetooth-based audio transmission method, device, medium and equipment
CN109348464B (en) * 2018-11-23 2021-08-17 深圳时空壶技术有限公司 Data transmission method for low-power-consumption Bluetooth receiving end equipment and receiving end equipment
CN110503984A (en) * 2019-08-12 2019-11-26 成都法兰特科技有限公司 Playback method, equipment and the system of wireless audio playback equipment
CN113411787B (en) * 2020-03-16 2023-02-21 维沃移动通信有限公司 Audio transmission method and electronic equipment
CN113163263B (en) * 2021-04-30 2023-07-28 广州酷狗计算机科技有限公司 Method, device and storage medium for controlling media resources by vehicle-mounted equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453516A (en) * 2008-11-19 2009-06-10 闻泰集团有限公司 Bluetooth MP3 playing method on mobile phone and mobile phone thereof
CN101605398A (en) * 2009-07-10 2009-12-16 中兴通讯股份有限公司 Method for supervising and device based on bluetooth
US8224247B2 (en) * 2007-05-16 2012-07-17 Texas Instruments Incorporated Controller integrated audio codec for advanced audio distribution profile audio streaming applications

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5097296B2 (en) * 2008-07-10 2012-12-12 マーベル ワールド トレード リミテッド System and method for reducing power consumption of wireless devices
KR20110054609A (en) * 2009-11-18 2011-05-25 삼성전자주식회사 Method and apparatus for remote controlling of bluetooth device
CN102331727B (en) * 2011-08-24 2015-05-06 华为软件技术有限公司 Bluetooth media play controlling method and relevant device
CN103200263B (en) * 2013-04-02 2016-06-01 上海山景集成电路股份有限公司 Intelligent terminal and Bluetooth audio frequency playback equipment and exchange method, system
CN105047209B (en) * 2015-08-13 2017-12-19 珠海市杰理科技股份有限公司 Bluetooth audio frequency plays synchronous method, apparatus and Bluetooth audio playing device
CN105828134B (en) * 2016-03-22 2019-07-02 Oppo广东移动通信有限公司 Control method for playing back and device in a kind of audio-video frequency playing system
CN105955702B (en) * 2016-06-28 2019-03-26 广州三星通信技术研究有限公司 Wireless audio devices and the method that music is played in wireless audio devices
CN106293602B (en) * 2016-08-09 2019-08-27 广州三星通信技术研究有限公司 Audio data control method for playing back and equipment in earphone

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8224247B2 (en) * 2007-05-16 2012-07-17 Texas Instruments Incorporated Controller integrated audio codec for advanced audio distribution profile audio streaming applications
CN101453516A (en) * 2008-11-19 2009-06-10 闻泰集团有限公司 Bluetooth MP3 playing method on mobile phone and mobile phone thereof
CN101605398A (en) * 2009-07-10 2009-12-16 中兴通讯股份有限公司 Method for supervising and device based on bluetooth

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111683357A (en) * 2020-05-25 2020-09-18 杭州寰星电子科技有限公司 Method, device and equipment for transmitting audio by using low-power-consumption Bluetooth
CN111683357B (en) * 2020-05-25 2023-06-30 杭州寰星电子科技有限公司 Method, device and equipment for transmitting audio through low-power Bluetooth
CN112423053A (en) * 2020-11-06 2021-02-26 歌尔科技有限公司 Audio sharing method, system, remote controller and computer readable storage medium
CN112423053B (en) * 2020-11-06 2024-04-09 歌尔科技有限公司 Audio sharing method, system, remote controller and computer readable storage medium

Also Published As

Publication number Publication date
CN107005800A (en) 2017-08-01
CN107005800B (en) 2021-03-23

Similar Documents

Publication Publication Date Title
WO2018152679A1 (en) Audio file transmitting method and apparatus, audio file receiving method and apparatus, devices and system
EP3629561A1 (en) Data transmission method and system, and bluetooth headphone
US8930590B2 (en) Audio device and method of operating the same
WO2016011814A1 (en) Method and apparatus for audio mixing and playing
JP2020526789A (en) Last mile equalization
KR20110054609A (en) Method and apparatus for remote controlling of bluetooth device
WO2017107428A1 (en) Terminal device control method, apparatus and equipment, and non-volatile computer storage medium
WO2016127687A1 (en) Media file playback progress synchronization method, device and system
WO2017107427A1 (en) Terminal equipment control method, device, and equipment, and non-volatile computer storage medium
CN105208189B (en) Audio-frequency processing method and mobile terminal
CN104052846A (en) Voice communication method and system in game application
CN102932567A (en) Terminal and audio processing method
CN108446027A (en) The control system and its control method of a kind of multiple virtual roles interactive performance simultaneously
CN105099795A (en) Jitter buffer level estimation
WO2020107627A1 (en) Sound volume adjustment method, apparatus, electronic device and computer-readable storage medium
JP5943050B2 (en) Music playback device and music playback program
WO2020135773A1 (en) Data processing method, device, and computer-readable storage medium
WO2017101260A1 (en) Method, device, and storage medium for audio switching
JP5737357B2 (en) Music playback apparatus and music playback program
WO2022062979A1 (en) Audio processing method, computer-readable storage medium, and electronic device
CN205320265U (en) External sound card controlling means
US20140223500A1 (en) Method and system for transmitting wirelessly video in portable terminal
WO2017107430A1 (en) Method, apparatus and device for controlling terminal device, and non-volatile computer storage medium
WO2020133376A1 (en) Multimedia information processing method, devices, electronic equipment and computer-readable storage medium
CN111352605A (en) Audio playing and sending method and device

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

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

Country of ref document: EP

Kind code of ref document: A1

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

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

122 Ep: pct application non-entry in european phase

Ref document number: 17897315

Country of ref document: EP

Kind code of ref document: A1