Movatterモバイル変換


[0]ホーム

URL:


CN115037398A - Audio transmission method and system, chip and storage medium - Google Patents

Audio transmission method and system, chip and storage medium
Download PDF

Info

Publication number
CN115037398A
CN115037398ACN202110237272.3ACN202110237272ACN115037398ACN 115037398 ACN115037398 ACN 115037398ACN 202110237272 ACN202110237272 ACN 202110237272ACN 115037398 ACN115037398 ACN 115037398A
Authority
CN
China
Prior art keywords
audio
audio data
broadcast
relay device
data
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.)
Withdrawn
Application number
CN202110237272.3A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110237272.3ApriorityCriticalpatent/CN115037398A/en
Priority to PCT/CN2022/077440prioritypatent/WO2022183950A1/en
Publication of CN115037398ApublicationCriticalpatent/CN115037398A/en
Withdrawnlegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The embodiment of the application discloses an audio transmission method and system, a chip and a storage medium, wherein the audio transmission method is applied to an audio transmission system, the audio transmission system comprises an audio transfer device and an audio output device, and the method comprises the following steps: after the audio transfer equipment establishes wireless communication connection with the audio output equipment, the audio transfer equipment acquires target broadcast audio data; if the current state of the audio transfer equipment is outputting initial audio data, the audio transfer equipment generates audio data to be transmitted according to the initial audio data and the target broadcast audio data; the audio transfer equipment sends the audio data to be transmitted to the audio output equipment; and the audio output equipment plays the audio data to be transmitted.

Description

Translated fromChinese
音频传输方法及系统、芯片及存储介质Audio transmission method and system, chip and storage medium

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种音频传输方法及系统、芯片及存储介质。The present invention relates to the field of communication technologies, and in particular, to an audio transmission method and system, a chip and a storage medium.

背景技术Background technique

随着通信技术的快速发展,通信环境中涉及有很多广播同步信息(BroadcastIsochronous,BIS)/广播同步组(Broadcast Isochronous Group,BIG),例如地铁中报站器、警报器、家中的门铃、机场登机播报或者火车站的登车播报。目前,蓝牙技术联盟(Bluetooth Special Interest Group,Bluetooth SIG)组织定义的该类协议广播均通过耳机/音响去进行收听。With the rapid development of communication technology, there are a lot of Broadcast Isochronous (BIS)/Broadcast Isochronous Group (BIG) in the communication environment, such as subway station announcers, sirens, doorbells at home, airport check-in Machine announcements or boarding announcements at train stations. Currently, the protocol broadcasts defined by the Bluetooth Special Interest Group (Bluetooth SIG) are all listened to through headphones/speakers.

然而,由于该类广播中大部分时刻都为静音包,只在需要的时候才会进行音频播放(如提示登机、报站点以及火警等),因此,为了能够及时收听广播信号,耳机、音响等音频输出设备需要持续不间断的进行广播收听,从而导致了耳机电量损耗过大的缺陷;并且如果音频输出设备当前正在播放其他音频数据,会使广播音频数据的播放与其他音频数据的播放产生时序冲突的问题。However, since most of the time in this type of broadcast is a silent package, audio playback will only be performed when needed (such as prompting boarding, reporting stations, and fire alarms, etc.). Therefore, in order to listen to the broadcast signal in time, headphones, speakers Other audio output devices need to continuously listen to the broadcast, which leads to the defect of excessive power consumption of the headset; and if the audio output device is currently playing other audio data, the playback of the broadcast audio data and the playback of other audio data will occur. timing conflicts.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供了一种音频传输方法及系统、芯片及存储介质,不仅克服了耳机耗电量过大的缺陷,而且解决了广播音频数据的播放与其他音频数据的播放存在时序冲突的问题,系统智能性高。The embodiments of the present application provide an audio transmission method and system, a chip and a storage medium, which not only overcome the defect of excessive power consumption of headphones, but also solve the problem of timing conflict between the playback of broadcast audio data and the playback of other audio data , the system has high intelligence.

本申请实施例的技术方案是这样实现的:The technical solutions of the embodiments of the present application are implemented as follows:

第一方面,本申请实施例提供了一种音频传输方法,所述方法应用于音频传输系统,所述音频传输系统包括音频中转设备和音频输出设备,所述方法包括:In a first aspect, an embodiment of the present application provides an audio transmission method, and the method is applied to an audio transmission system, where the audio transmission system includes an audio relay device and an audio output device, and the method includes:

在所述音频中转设备与所述音频输出设备建立无线通信连接之后,所述音频中转设备获取目标广播音频数据;After the audio relay device establishes a wireless communication connection with the audio output device, the audio relay device acquires target broadcast audio data;

若所述音频中转设备的当前状态为输出初始音频数据,则所述音频中转设备根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据;If the current state of the audio relay device is to output initial audio data, then the audio relay device generates audio data to be transmitted according to the initial audio data and the target broadcast audio data;

所述音频中转设备将所述待传输音频数据发送至所述音频输出设备;The audio relay device sends the audio data to be transmitted to the audio output device;

所述音频输出设备播放所述待传输音频数据。The audio output device plays the audio data to be transmitted.

第二方面,本申请实施例提供了一种音频传输系统,所述音频传输系统包括音频中转设备和音频输出设备,所述音频中转设备包括获取单元、生成单元、发送单元;所述音频输出设备包括播放单元,In a second aspect, an embodiment of the present application provides an audio transmission system, the audio transmission system includes an audio relay device and an audio output device, the audio relay device includes an acquisition unit, a generation unit, and a transmission unit; the audio output device including playback unit,

所述获取单元,用于在所述音频中转设备与所述音频输出设备建立无线通信连接之后,获取目标广播音频数据;the acquisition unit, configured to acquire target broadcast audio data after the audio relay device and the audio output device establish a wireless communication connection;

所述生成单元,用于若所述音频中转设备的当前状态为输出初始音频数据,则根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据;The generating unit is used to generate audio data to be transmitted according to the initial audio data and the target broadcast audio data if the current state of the audio relay device is to output initial audio data;

所述发送单元,用于将所述待传输音频数据发送至所述音频输出设备;the sending unit, configured to send the audio data to be transmitted to the audio output device;

所述播放单元,用于播放所述待传输音频数据。The playing unit is used to play the audio data to be transmitted.

第三方面,本申请实施例提供了一种音频传输系统,所述音频传输系统包括音频中转设备、音频输出设备、处理器、存储有所述处理器可执行指令的存储器,当所述指令被所述处理器执行时,实现如上所述的音频传输方法。In a third aspect, an embodiment of the present application provides an audio transmission system, where the audio transmission system includes an audio relay device, an audio output device, a processor, and a memory storing executable instructions of the processor. When executed by the processor, the above-mentioned audio transmission method is implemented.

第四方面,本申请实施例提供了一种芯片,所述芯片包括处理器和接口,所述处理器通过所述接口获取程序指令,所述处理器用于运行所述程序指令,实现如上所述的音频传输方法。In a fourth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and an interface, the processor obtains program instructions through the interface, and the processor is configured to execute the program instructions to achieve the above audio transmission method.

第五方面,本申请实施例提供了一种计算机可读存储介质,其上存储有程序,所述程序被处理器执行时,实现如上所述的音频传输方法。In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium on which a program is stored, and when the program is executed by a processor, the above-described audio transmission method is implemented.

本申请实施例提供了一种音频传输方法及系统、芯片及存储介质,音频传输系统包括音频中转设备和音频输出设备,在音频中转设备与音频输出设备建立无线通信连接之后,音频中转设备获取目标广播音频数据;若音频中转设备的当前状态为输出初始音频数据,则音频中转设备根据初始音频数据和目标广播音频数据生成待传输音频数据;音频中转设备将待传输音频数据发送至音频输出设备;音频输出设备播放待传输音频数据。也就是说,在本申请的实施例中,一方面不再需要音频输出设备,如耳机/音响自主的接收广播音频数据,而是通过音频中转设备来进行广播音频数据的采集,耳机/音响只需要连接并接收音频中转设备转发的音频数据即可,克服了耳机耗电量过大的缺陷;另一方面,音频传输系统在接收到广播音频数据之后,可以根据该广播音频数据和当前输出的其他音频数据生成待传输的目标音频数据,进而对该目标音频数据进行播放处理,解决了广播音频数据的播放与其他音频数据的播放存在时序冲突的问题,系统智能性高。Embodiments of the present application provide an audio transmission method and system, a chip, and a storage medium. The audio transmission system includes an audio relay device and an audio output device. After the audio relay device and the audio output device establish a wireless communication connection, the audio relay device obtains the target Broadcast audio data; if the current state of the audio relay device is to output initial audio data, the audio relay device generates audio data to be transmitted according to the initial audio data and the target broadcast audio data; the audio relay device sends the audio data to be transmitted to the audio output device; The audio output device plays the audio data to be transmitted. That is to say, in the embodiments of the present application, on the one hand, audio output devices are no longer required, such as earphones/audios to receive broadcast audio data autonomously, but the collection of broadcast audio data is performed through audio relay equipment, and earphones/audios only It is only necessary to connect and receive the audio data forwarded by the audio relay device, which overcomes the defect of excessive power consumption of the headset; on the other hand, after receiving the broadcast audio data, the audio transmission system can Other audio data generates target audio data to be transmitted, and then performs playback processing on the target audio data, which solves the problem of timing conflict between the playback of broadcast audio data and the playback of other audio data, and the system has high intelligence.

附图说明Description of drawings

图1为本申请实施例提出的音频传输系统的组成结构示意图一;FIG. 1 is a schematic diagram 1 of the composition structure of an audio transmission system proposed by an embodiment of the application;

图2为本申请实施例提出的广播收听系统的结构示意图;FIG. 2 is a schematic structural diagram of a broadcast listening system proposed by an embodiment of the present application;

图3为本申请实施例提出的音频传输方法的实现流程示意图一;FIG. 3 is a schematic diagram 1 of the implementation flow of the audio transmission method proposed by the embodiment of the present application;

图4为本申请实施例提出的音频传输方法的实现流程示意图二;FIG. 4 is a second implementation flowchart of the audio transmission method proposed by the embodiment of the present application;

图5为本申请实施例提出的音频传输方法的实现流程示意图三;FIG. 5 is a schematic diagram 3 of the implementation flow of the audio transmission method proposed by the embodiment of the present application;

图6为本申请实施例提出的音频传输方法的实现流程示意图四;FIG. 6 is a fourth schematic diagram of the implementation flow of the audio transmission method proposed by the embodiment of the present application;

图7为本申请实施例提出的音频传输方法的实现流程示意图五;FIG. 7 is a schematic diagram 5 of the implementation flow of the audio transmission method proposed by the embodiment of the present application;

图8为本申请实施例提出的音频传输方法的实现流程示意图六;FIG. 8 is a sixth schematic flowchart of the implementation process of the audio transmission method proposed by the embodiment of the present application;

图9为本申请实施例提出的音频传输方法的实现流程示意图七;FIG. 9 is a seventh implementation flowchart of the audio transmission method proposed by the embodiment of the present application;

图10为本申请实施例提出的音频传输方法的实现流程示意图八;FIG. 10 is a schematic diagram eight of the implementation flow of the audio transmission method proposed by the embodiment of the application;

图11为本申请实施例提出的音频传输方法的实现流程示意图九;FIG. 11 is a schematic diagram 9 of the implementation flow of the audio transmission method proposed by the embodiment of the application;

图12为本申请实施例提出的音频传输方法的应用场景示意图一;12 is a schematic diagram 1 of an application scenario of the audio transmission method proposed by the embodiment of the application;

图13为本申请实施例提出的音频传输方法的应用场景示意图二;FIG. 13 is a second schematic diagram of an application scenario of the audio transmission method proposed by the embodiment of the application;

图14为本申请实施例提出的音频传输系统的组成结构示意图二;FIG. 14 is a second schematic diagram of the composition and structure of an audio transmission system proposed by an embodiment of the application;

图15为本申请实施例提出的音频传输系统的组成结构示意图三FIG. 15 is a schematic diagram 3 of the composition structure of the audio transmission system proposed by the embodiment of the application

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。可以理解的是,此处所描述的具体实施例仅用于解释相关申请,而非对该申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关申请相关的部分。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. It should be understood that the specific embodiments described herein are only used to explain the related application, but not to limit the application. In addition, it should be noted that, for the convenience of description, only the parts related to the relevant application are shown in the drawings.

随着通信技术的快速发展,通信环境中涉及有很多BIS/BIG,例如地铁中报站器、警报器、家中的门铃、机场登机播报或者火车站的登车播报。目前,SIG组织定义的该类协议广播均通过耳机/音响去进行收听。手机作为辅助方把广播的配置信息,如每个广播设备对应的广播接收密码。With the rapid development of communication technology, there are many BIS/BIG involved in the communication environment, such as subway mid-station announcers, alarms, doorbells at home, airport boarding announcements or train boarding announcements. At present, the broadcasts of this type of protocol defined by the SIG organization are all listened to through headphones/speakers. The mobile phone acts as an auxiliary party to broadcast configuration information, such as the broadcast receiving password corresponding to each broadcast device.

然而,由于该类广播中大部分时刻都为静音包,只在需要的时候才会进行音频播放(如提示登机、报站点以及火警等),因此,如果这些广播按SIG的方案,都需要耳机自己去收听的话,由于没声音的时候也需要持续不间断的进行广播收听收听,否则声音来的时候无法及时收到,因而导致了耳机电量损耗过大的缺陷;而且如果当前耳机/音响播放手机/TV的语音或者音乐,会存在广播音频数据播放与其他音频播放时序冲突的问题,即时间片的冲突会非常严重。鉴于此,如何高效的进行广播音频数据至用户的传输,成为一个亟待解决的技术问题。However, since most of the time in this type of broadcasts are silent packets, audio playback will only be performed when needed (such as prompting boarding, reporting sites, and fire alarms, etc.), therefore, if these broadcasts are in accordance with the SIG scheme, all need If you listen to the headphones yourself, you need to continue to listen to the broadcast when there is no sound, otherwise the sound cannot be received in time when it comes, which leads to the defect of excessive power consumption of the headphones; and if the current headphones/audio playback For voice or music of mobile phone/TV, there will be a problem of timing conflict between broadcast audio data playback and other audio playback, that is, the conflict of time slices will be very serious. In view of this, how to efficiently transmit broadcast audio data to users has become an urgent technical problem to be solved.

为了解决上述问题,本申请实施例提供了一种音频传输方法及系统、芯片及存储介质。一方面不再需要音频输出设备,如耳机/音响自主的接收广播音频数据,而是通过音频中转设备来进行广播音频数据的采集,耳机/音响只需要连接并接收音频中转设备转发的音频数据即可,克服了耳机耗电量过大的缺陷;另一方面,音频传输系统在接收到广播音频数据之后,可以根据该广播音频数据和当前输出的其他音频数据生成待传输的目标音频数据,进而对该目标音频数据进行播放处理,解决了广播音频数据的播放与其他音频数据的播放存在时序冲突的问题,系统智能性高。In order to solve the above problems, embodiments of the present application provide an audio transmission method and system, a chip and a storage medium. On the one hand, audio output devices are no longer required, such as earphones/audios that independently receive broadcast audio data, but the collection of broadcast audio data through audio relay devices. Headphones/audios only need to connect and receive the audio data forwarded by the audio relay device. Yes, overcoming the defect that the earphone consumes too much power; on the other hand, after receiving the broadcast audio data, the audio transmission system can generate the target audio data to be transmitted according to the broadcast audio data and other audio data currently output, and then Performing playback processing on the target audio data solves the problem of timing conflict between the playback of broadcast audio data and the playback of other audio data, and the system has high intelligence.

应理解,本发明实施例的技术方案本申请实施例的技术方案可以应用第五代移动通信网络(5th generation mobile networks,5G)通信系统或未来的通信系统,也可以用于其他各种无线通信系统,例如:全球移动通讯(GSM,Global System of Mobilecommunication)系统、码分多址(CDMA,Code Division Multiple Access)系统、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)系统、通用分组无线业务(GPRS,General Packet Radio Service)、长期演进(LTE,Long Term Evolution)系统、LTE频分双工(FDD,Frequency Division Duplex)系统、LTE时分双工(TDD,Time Division Duplex)、通用移动通信系统(UMTS,Universal Mobile Telecommunication System)等。It should be understood that the technical solutions of the embodiments of the present invention can be applied to the 5th generation mobile networks (5G) communication system or the future communication system, and can also be applied to various other wireless communications. Systems, such as: Global System of Mobile communication (GSM, Global System of Mobile communication) system, Code Division Multiple Access (CDMA, Code Division Multiple Access) system, Wideband Code Division Multiple Access (WCDMA, Wideband Code Division Multiple Access) system, General Packet Radio Service (GPRS, General Packet Radio Service), Long Term Evolution (LTE, Long Term Evolution) system, LTE Frequency Division Duplex (FDD, Frequency Division Duplex) system, LTE Time Division Duplex (TDD, Time Division Duplex), Universal Mobile Communications system (UMTS, Universal Mobile Telecommunication System), etc.

本申请一实施例提供了一种音频传输方法,应用于图1所示的音频传输系统,图1为本申请实施例提出的音频传输系统的组成结构示意图一,如图1所示,在本申请的实施例中,音频传输系统10包括音频中转设备20和音频输出设备30。An embodiment of the present application provides an audio transmission method, which is applied to the audio transmission system shown in FIG. 1 . FIG. 1 is a schematic diagram 1 of the composition and structure of the audio transmission system proposed by the embodiment of the application. As shown in FIG. 1 , in this In the embodiment of the application, theaudio transmission system 10 includes anaudio relay device 20 and anaudio output device 30 .

需要说明的是,在本申请的实施例中,图1所示的音频传输系统10可应用于图2所示的广播收听系统,可用于接收并播放来自于外界广播设备的广播音频数据。图2为本申请实施例提出的广播收听系统的结构示意图,如图2所示,在本申请的实施例中,广播收听系统40包括广播设备50以及音频传输系统10。It should be noted that, in the embodiment of the present application, theaudio transmission system 10 shown in FIG. 1 can be applied to the broadcast listening system shown in FIG. 2 , and can be used to receive and play broadcast audio data from external broadcast equipment. FIG. 2 is a schematic structural diagram of a broadcast listening system proposed by an embodiment of the present application. As shown in FIG. 2 , in the embodiment of the present application, thebroadcast listening system 40 includes abroadcast device 50 and anaudio transmission system 10 .

具体的,广播设备50用于进行广播音频数据的发送;音频中转设备20用于接收来自于广播设备50的广播音频数据,并转发至音频输出设备30;音频输出设备30用于对接收到的广播音频数据进行输出播放以使用户收听。Specifically, thebroadcasting device 50 is used to send the broadcasting audio data; theaudio relay device 20 is used to receive the broadcasting audio data from thebroadcasting device 50 and forward it to theaudio output device 30; Broadcast audio data for output playback for users to listen to.

应理解,音频中转设备20可以是用户设备(User Equipment,UE)、用户单元、用户站、移动站、移动台、远方站、远程音频中转设备、移动设备、用户音频中转设备、音频中转设备、无线通信设备、用户代理或用户装置,音频中转设备还可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless LocalLoop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备、5G网络中的音频中转设备或者未来演进的公共陆地移动网(Public Land Mobile Network,PLMN)中的音频中转设备等。It should be understood that theaudio relay device 20 may be user equipment (User Equipment, UE), subscriber unit, subscriber station, mobile station, mobile station, remote station, remote audio relay device, mobile device, user audio relay device, audio relay device, A wireless communication device, a user agent or a user device, and the audio relay device can also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a personal digital processor ( Personal Digital Assistant, PDA), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, audio relay devices in 5G networks, or future evolved public land mobile networks ( Audio relay equipment in Public Land Mobile Network, PLMN), etc.

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application.

本申请一实施例提供了一种音频传输方法,图3为本申请实施例提出的音频传输方法的实现流程示意图一,如图3所示,在本申请的实施例中,音频传输系统执行音频传输方法可以包括以下步骤:An embodiment of the present application provides an audio transmission method, and FIG. 3 is a schematic diagram 1 of the implementation flow of the audio transmission method proposed by the embodiment of the present application. As shown in FIG. 3 , in the embodiment of the present application, the audio transmission system performs audio The transmission method may include the following steps:

步骤100、在音频中转设备与音频输出设备建立无线通信连接之后,音频中转设备获取目标广播音频数据。Step 100: After the audio relay device establishes a wireless communication connection with the audio output device, the audio relay device acquires target broadcast audio data.

在本申请的实施例中,音频传输系统可以在音频中转设备与音频输出设备建立无线通信连接之后,先通过音频中转设备获取目标广播音频数据。In the embodiment of the present application, the audio transmission system may first obtain target broadcast audio data through the audio relay device after establishing a wireless communication connection between the audio relay device and the audio output device.

需要说明的是,在本申请的实施例中,音频中转设备可以为任何具备音频采集传输功能的无线通信电子设备。可选的,该音频中转设备不局限于智能手机、网关设备(如路由器)、平板电脑、电视、个人计算机(Personal Computer,PC)、笔记本电脑等电子设备。It should be noted that, in the embodiments of the present application, the audio relay device may be any wireless communication electronic device that has the function of audio collection and transmission. Optionally, the audio relay device is not limited to electronic devices such as smart phones, gateway devices (such as routers), tablet computers, televisions, personal computers (Personal Computers, PCs), and notebook computers.

需要说明的是,在本申请的实施例中,音频输出设备可以为任何具备音频播放功能的无线通信电子设备。具体的,该无线通信可以为蓝牙通信。可选的,该音频输出设备不局限于蓝牙耳机、蓝牙音响。It should be noted that, in the embodiments of the present application, the audio output device may be any wireless communication electronic device with an audio playback function. Specifically, the wireless communication may be Bluetooth communication. Optionally, the audio output device is not limited to Bluetooth headsets and Bluetooth speakers.

可以理解的是,在本申请的实施例中,若要使用蓝牙耳机或者蓝牙音响对音频中转设备中的音频数据进行播放,音频中转设备可以为具备蓝牙通信功能的电子设备。这里,音频传输系统可以先建立音频中转设备与这些音频输出设备之间的蓝牙通信连接。It can be understood that, in the embodiments of the present application, if a Bluetooth headset or a Bluetooth speaker is to be used to play audio data in the audio relay device, the audio relay device may be an electronic device with a Bluetooth communication function. Here, the audio transmission system may first establish a Bluetooth communication connection between the audio relay device and these audio output devices.

具体的,音频中转设备可以向音频输出设备发送蓝牙连接请求,并等待接收音频输出设备的配对连接确认信息,当接收到该音频设备返回的配对连接指令时,音频中转设备便可以基于该配对连接指令建立与音频传输设备之间的蓝牙通信连接。Specifically, the audio relay device can send a Bluetooth connection request to the audio output device, and wait to receive the pairing connection confirmation information from the audio output device. When receiving the pairing connection instruction returned by the audio device, the audio relay device can connect based on the pairing connection. The command establishes a Bluetooth communication connection with the audio transmission device.

需要说明的是,在本申请的实施例中,上述蓝牙通信连接不限定于传统的蓝牙物理链路(Asynchronous Connectionless,ACL),也可以是BT5.2新引入的CIG/CIS链路。It should be noted that, in the embodiments of the present application, the above-mentioned Bluetooth communication connection is not limited to a traditional Bluetooth physical link (Asynchronous Connectionless, ACL), and may also be a CIG/CIS link newly introduced by BT5.2.

进一步的,在本申请的实施例中,音频中转设备在与音频输出设备建立通信连接之后,音频中转设备便可以先获取广播音频数据。应理解,在本申请的实施例中,音频中转设备可以获取来自于广播设备的广播音频数据。Further, in the embodiment of the present application, after the audio relay device establishes a communication connection with the audio output device, the audio relay device can first acquire broadcast audio data. It should be understood that, in the embodiment of the present application, the audio relay device may acquire broadcast audio data from the broadcast device.

应理解,该广播设备可以为可进行BIG/BIS广播的设备,也可以为通过扬声器/喇叭播放广播的设备。例如地铁中报站器,警报器,家里的门铃,机场的登机或者火车站的登车播报器。It should be understood that the broadcasting device may be a device capable of BIG/BIS broadcasting, or may be a device capable of broadcasting broadcasting through a speaker/speaker. Such as subway mid-station announcers, sirens, doorbells at home, boarding at airports or boarding announcers at train stations.

可以理解的是,在本申请的实施例中,为了保证广播的及时收听,音频中转设备始终需要保持在广播收听状态,然而在将接收到的广播音频数据通过音频输出设备进行输出播放的时候,有可能当前正在进行其他音频数据的输出播放,为了避免广播音频数据的播放与当前播放的其他音频数据产生时序冲突,音频中转设备需要在接收广播音频数据的同时,进行当前音频输出状态的实时检测。It can be understood that, in the embodiment of the present application, in order to ensure timely listening of the broadcast, the audio relay device always needs to remain in the broadcast listening state. However, when the received broadcast audio data is output and played through the audio output device, It is possible that the output playback of other audio data is currently being performed. In order to avoid timing conflicts between the playback of broadcast audio data and other audio data currently being played, the audio relay device needs to perform real-time detection of the current audio output state while receiving the broadcast audio data. .

进一步的,在本申请的实施例中,音频传输系统在通过音频中转设备获取目标广播音频数据,并检测出当前音频输出状态之后,音频中转设备可以进一步根据当前音频输出状态判断是否执行该广播音频数据的混音处理。Further, in the embodiment of the present application, after the audio transmission system obtains the target broadcast audio data through the audio relay device and detects the current audio output state, the audio relay device can further judge whether to execute the broadcast audio according to the current audio output state. Mixing processing of data.

步骤110、若音频中转设备的当前状态为输出初始音频数据,则音频中转设备根据初始音频数据和目标广播音频数据生成待传输音频数据。Step 110: If the current state of the audio relay device is outputting initial audio data, the audio relay device generates audio data to be transmitted according to the initial audio data and the target broadcast audio data.

步骤120、音频中转设备将待传输音频数据发送至音频输出设备。Step 120: The audio relay device sends the audio data to be transmitted to the audio output device.

在本申请的实施例中,音频传输系统在通过音频中转设备获取到广播音频数据以及检测出当前音频输出状态之后,如果音频中转设备的当前状态为输出初始音频数据,那么音频中转设备便可以根据初始音频数据和目标广播音频数据先生成待传输音频数据。In the embodiment of the present application, after the audio transmission system acquires the broadcast audio data through the audio relay device and detects the current audio output state, if the current state of the audio relay device is to output the initial audio data, then the audio relay device can The initial audio data and the target broadcast audio data first generate audio data to be transmitted.

需要说明的是,在本申请的实施例中,初始音频数据指音频中转设备当前正向音频输出设备发送的其他非广播音频数据。It should be noted that, in the embodiments of the present application, the initial audio data refers to other non-broadcast audio data that the audio relay device is currently sending to the audio output device.

需要说明的是,在本申请的实施例中,音频中转设备的当前状态可以是音频中转设备当前正向音频输出设备发送其他非广播音频数据,以通过音频输出设备进行其他非广播音频数据的播放;另一方面,音频中转设备的当前状态还可以是音频中转设备当前并未向音频输出设备发送任何音频数据,即当前音频输出设备并没有进行任何其他非广播音频数据的播放。It should be noted that, in the embodiment of the present application, the current state of the audio relay device may be that the audio relay device is currently sending other non-broadcast audio data to the audio output device, so as to play other non-broadcast audio data through the audio output device. On the other hand, the current state of the audio relay device may also be that the audio relay device currently does not send any audio data to the audio output device, that is, the current audio output device does not play any other non-broadcast audio data.

这里,如果音频中转设备确定当前状态为输出初始音频数据,那么为了在不影响其他初始音频数据的播放,同时用户又可以及时收听到广播音频数据,音频中转设备可以基于对目标广播音频数据和初始音频数据的混音处理获得待传输音频数据,并将待传输数据发送至音频输出设备。Here, if the audio relay device determines that the current state is to output initial audio data, then in order not to affect the playback of other initial audio data, and at the same time, the user can listen to the broadcast audio data in time, the audio relay device can be based on the target broadcast audio data and initial audio data. The audio data mixing process obtains the audio data to be transmitted, and sends the to-be-transmitted data to the audio output device.

具体的,图4为本申请实施例提出的音频传输方法的实现流程示意图二,如图4所示,在本申请的实施例中,音频中转设备根据初始音频数据和目标广播音频数据生成待传输音频数据的方法可以包括以下步骤:Specifically, FIG. 4 is a second schematic diagram of the implementation process of the audio transmission method proposed by the embodiment of the present application. As shown in FIG. 4 , in the embodiment of the present application, the audio relay device generates the to-be-transmitted audio data according to the initial audio data and the target broadcast audio data. The method of audio data may include the following steps:

步骤111、若音频中转设备的当前状态为输出初始音频数据,音频中转设备对初始音频数据和目标广播音频数据进行混音处理,生成混音后音频数据;其中,混音后数据包括第一识别等级的目标广播音频数据和第二识别等级的初始音频数据;第一识别等级大于第二识别等级。Step 111, if the current state of the audio relay device is to output the initial audio data, the audio relay device performs mixing processing on the initial audio data and the target broadcast audio data to generate audio data after mixing; wherein, the data after mixing includes the first identification. The target broadcast audio data of the level and the initial audio data of the second identification level; the first identification level is greater than the second identification level.

可以理解的是,由于混音处理是将多个音频数据同时播放,那么为了使用户更有效的收听到广播音频数据,音频中转设备需要使广播音频数据在音频输出设备播放时更为突出,因此,在本申请的实施例中,音频中转设备需要先对广播音频数据和初始音频数据这两个音频数据进行能够使目标广播音频数据在播放时突出于初始音频数据的混音操作,也就是说,使混音后数据中的目标广播音频数据相比于初始音频数据更容易被用户识别到。It is understandable that since the mixing process is to play multiple audio data at the same time, in order to enable users to listen to the broadcast audio data more effectively, the audio relay device needs to make the broadcast audio data more prominent when the audio output device is playing. Therefore, , in the embodiment of the present application, the audio relay device needs to first perform a mixing operation on the two audio data, the broadcast audio data and the initial audio data, which can make the target broadcast audio data stand out from the initial audio data during playback, that is to say , so that the target broadcast audio data in the mixed data is easier to be identified by the user than the original audio data.

具体的,音频中转设备可以通过混音处理使混音后数据中,目标广播音频数据的识别等级即第一识别等级,大于初始音频数据的识别等级即第二识别等级。Specifically, the audio relay device can make the identification level of the target broadcast audio data, namely the first identification level, greater than the identification level of the initial audio data, that is, the second identification level, in the mixed data.

可选的,音频中转设备可以通过音量调节处理、频率调节处理等,使混音处理后的音频数据中目标广播音频数据更为突出。Optionally, the audio relay device can make the target broadcast audio data more prominent in the audio data after the mixing process through volume adjustment processing, frequency adjustment processing, and the like.

详细的,图5为本申请实施例提出的音频传输方法的实现流程示意图三,如图5所示,在本申请的实施例中,音频中转设备对初始音频数据和目标广播音频数据进行混音处理,生成混音后音频数据的方法可以包括以下步骤:In detail, FIG. 5 is a schematic diagram 3 of the implementation flow of the audio transmission method proposed by the embodiment of the present application. As shown in FIG. 5 , in the embodiment of the present application, the audio relay device mixes the initial audio data and the target broadcast audio data. Processing, the method of generating the mixed audio data may include the following steps:

步骤111a、若音频中转设备的当前状态为输出初始音频数据,音频中转设备按照第一权重值对目标广播音频数据进行音量调节处理,获得第一音量的目标广播音频数据。Step 111a: If the current state of the audio relay device is outputting initial audio data, the audio relay device performs volume adjustment processing on the target broadcast audio data according to the first weight value to obtain the target broadcast audio data of the first volume.

步骤111b、按照第二权重值对初始音频数据进行音量调节处理,获得第二音量的初始音频数据。Step 111b: Perform volume adjustment processing on the initial audio data according to the second weight value to obtain initial audio data of the second volume.

步骤111c、基于第一音量的目标广播音频数据和第二音量的初始音频数据生成混音后音频数据。Step 111c: Generate mixed audio data based on the target broadcast audio data of the first volume and the initial audio data of the second volume.

需要说明的是,在本申请的实施例中,音频中转设备可以利用表征不同音量大小的权重值对音频数据进行音量调节处理。It should be noted that, in the embodiments of the present application, the audio relay device may perform volume adjustment processing on the audio data by using weight values representing different volume levels.

具体的,音频中转设备可以先按照第一权重值对广播音频数据进行音量调节处理,进而获得第一音量的广播音频数据;同时按照小于第一权重值的第二权重值对初始音频数据进行音量调节处理,进而获得第二音量的初始音频数据。Specifically, the audio relay device may first perform volume adjustment processing on the broadcast audio data according to the first weight value, and then obtain the broadcast audio data of the first volume; The adjustment process is performed to obtain the initial audio data of the second volume.

进一步的,音频中转设备便可以基于上述不同音量大小的两个音频数据生成混音后数据。Further, the audio transfer device can generate the mixed data based on the above-mentioned two audio data with different volume sizes.

详细的,音频中转设备可以先进行广播音频数据和当前输出初始音频数据的解码处理,进而对解码后的数据进行基于音量权重值的混音处理,得到混音后数据,并对混音后数据再次进行编码,得到混音后音频数据,并将该混音后音频数据作为待传输音频数据。In detail, the audio relay device may first perform decoding processing of the broadcast audio data and the currently output initial audio data, and then perform a sound mixing process based on the volume weight value on the decoded data to obtain the mixed data, and then perform a sound mixing process on the mixed data. Encoding is performed again to obtain mixed audio data, and the mixed audio data is used as the audio data to be transmitted.

步骤112、音频中转设备将混音后音频数据作为待传输音频数据。Step 112: The audio relay device uses the mixed audio data as the audio data to be transmitted.

进一步的,音频中转设备在进行声音的混音处理后,音频中转设备便可以将混音后的音频数据转发给音频输出设备进行播放。Further, after the audio transfer device performs sound mixing processing, the audio transfer device can forward the mixed audio data to the audio output device for playback.

详细的,音频中转设备可以采用弱化当前播放的其他非广播初始音频数据,而加强突出广播音频数据的方式进行声音的混音处理。如,音频中转设备可以把当前播放的其他初始音频数据的声音降低,以突出广播音频数据的声音。In detail, the audio relay device may perform sound mixing processing in a manner of weakening other non-broadcast initial audio data currently being played, while strengthening and highlighting the broadcast audio data. For example, the audio relay device can reduce the sound of other currently playing original audio data to highlight the sound of the broadcast audio data.

这里,如果音频中转设备确定当前状态为输出初始音频数据,为了避免混音处理产生的声音不清晰的缺陷,以保证用户清晰且有效的收听到广播音频数据,音频中转设备可以按照时间先后顺序进行不同音频数据的发送过程。Here, if the audio relay device determines that the current state is to output the initial audio data, in order to avoid the defect of unclear sound caused by the mixing process, and to ensure that the user can listen to the broadcast audio data clearly and effectively, the audio relay device can perform chronological order. The transmission process of different audio data.

具体的,图6为本申请实施例提出的音频传输方法的实现流程示意图四,如图6所示,在本申请的实施例中,音频中转设备根据初始音频数据和目标广播音频数据生成待传输音频数据的方法可以包括以下步骤:Specifically, FIG. 6 is a fourth schematic diagram of the implementation process of the audio transmission method proposed by the embodiment of the present application. As shown in FIG. 6 , in the embodiment of the present application, the audio relay device generates the to-be-transmitted audio data according to the initial audio data and the target broadcast audio data. The method of audio data may include the following steps:

步骤113、若音频中转设备的当前状态为输出初始音频数据,音频中转设备直接将初始音频数据和目标广播音频数据作为待传输音频数据。Step 113: If the current state of the audio relay device is to output the initial audio data, the audio relay device directly uses the initial audio data and the target broadcast audio data as the audio data to be transmitted.

进一步的,音频中转设备将待传输音频数据发送至音频输出设备的方法包括:Further, the method for the audio relay device to send the audio data to be transmitted to the audio output device includes:

步骤121、音频中转设备停止初始音频数据的输出,将目标广播音频数据发送至音频输出设备,以使音频输出设备播放目标广播音频数据。Step 121: The audio relay device stops outputting the initial audio data, and sends the target broadcast audio data to the audio output device, so that the audio output device plays the target broadcast audio data.

步骤122、在目标广播音频数据发送完成之后,音频中转设备继续向音频输出设备发送初始音频数据,以使音频输出设备继续播放初始音频数据。Step 122: After the target broadcast audio data is sent, the audio relay device continues to send the initial audio data to the audio output device, so that the audio output device continues to play the initial audio data.

详细的,音频中转设备可以在接收到广播音频数据时,暂停当前初始音频数据至音频输出设备的发送,先将广播音频数据发送至音频输出设备,进而使得音频输出设备播放当前的广播音频数据。In detail, the audio relay device can suspend the transmission of the current initial audio data to the audio output device when receiving the broadcast audio data, first send the broadcast audio data to the audio output device, and then make the audio output device play the current broadcast audio data.

进一步的,在广播音频数据发送完成之后,音频中转设备可以向音频输出设备继续发送初始音频数据,使得音频输出设备接下来继续播放初始音频数据。Further, after the broadcast audio data is sent, the audio relay device may continue to send the initial audio data to the audio output device, so that the audio output device continues to play the initial audio data next.

例如,当手机接收到登机广播时,此时,手机正在通过蓝牙耳机播放音乐,那么手机暂停音乐,先通过耳机仅播放登机广播,登机广播播放完成之后,手机继续通过耳机播放音乐。For example, when the mobile phone receives the boarding broadcast, at this time, the mobile phone is playing music through the Bluetooth headset, then the mobile phone pauses the music, and only plays the boarding broadcast through the headset. After the boarding broadcast is completed, the mobile phone continues to play music through the headset.

步骤130、音频输出设备播放待传输音频数据。Step 130: The audio output device plays the audio data to be transmitted.

在本申请的实施例中,音频输出设备在接收到音频中转设备发送的待传输音频数据之后,便可对该待传输音频数据进行播放。In the embodiment of the present application, after receiving the audio data to be transmitted sent by the audio relay device, the audio output device can play the audio data to be transmitted.

需要说明的是,在本申请的实施例中,音频输出设备针对不同的待传输音频数据采用不同的播放策略。It should be noted that, in the embodiments of the present application, the audio output device adopts different playback strategies for different audio data to be transmitted.

这里,当待传输数据为经混音处理得到的混音后音频数据时,音频输出设备以不同的音量对广播音频数据和初始音频数据进行播放。Here, when the data to be transmitted is the mixed audio data obtained by the sound mixing process, the audio output device plays the broadcast audio data and the initial audio data at different volumes.

具体的,图7为本申请实施例提出的音频传输方法的实现流程示意图五,如图7所示,在本申请的实施例中,音频中转设备将混音后音频数据作为待传输音频数据,并将待传输数据发送至音频输出设备之后,即步骤120之后,音频输出设备播放待传输音频数据的方法可以包括以下步骤:Specifically, FIG. 7 is a schematic diagram 5 of the implementation flow of the audio transmission method proposed by the embodiment of the present application. As shown in FIG. 7 , in the embodiment of the present application, the audio relay device uses the mixed audio data as the audio data to be transmitted, After sending the data to be transmitted to the audio output device, that is, afterstep 120, the method for the audio output device to play the audio data to be transmitted may include the following steps:

步骤131、音频输出设备按照第一音量播放目标广播音频数据,同时按照第二音量播放初始音频数据。Step 131: The audio output device plays the target broadcast audio data according to the first volume, and simultaneously plays the initial audio data according to the second volume.

应理解,音频输出设备接收到的混音数据中,音频中转设备已按照能够表征音量大小的不同权重值对音频数据进行了音量调节处理,使得播放时广播音频数据更加突出于初始音频数据。因此,在本申请的实施例中,音频输出设备可以按照目标广播音频数据音量大于初始音频数据音量的播放策略进行播放。It should be understood that, in the mixing data received by the audio output device, the audio relay device has performed volume adjustment processing on the audio data according to different weight values that can characterize the volume, so that the broadcast audio data is more prominent than the original audio data during playback. Therefore, in the embodiment of the present application, the audio output device may play according to a playback strategy in which the volume of the target broadcast audio data is greater than the volume of the initial audio data.

例如,当手机接收到登机广播时,此时,手机正在通过蓝牙耳机播放音乐,那么手机可以对登机广播和音乐进行声音的混音处理,可以是将音乐的声音往下调一些,突出这个重要登机广播的声音;或者也可以是直接把音乐数据的音量降为0,仅播放登机广播即可。For example, when the mobile phone receives the boarding broadcast, at this time, the mobile phone is playing music through the Bluetooth headset, then the mobile phone can mix the sound of the boarding broadcast and the music, which can be to lower the sound of the music to highlight this The sound of important boarding announcements; or you can directly reduce the volume of the music data to 0 and only play the boarding announcements.

可选的,基于图6所示的音频传输方法,当待传输数据为按照时间先后顺序发送的不同的音频数据时,音频输出设备直接按照时间先后顺序对接收到的不同音频数据进行播放即可。Optionally, based on the audio transmission method shown in FIG. 6 , when the data to be transmitted is different audio data sent in chronological order, the audio output device can directly play the received different audio data in chronological order. .

应理解,由于音频输出设备是一个被动的音频播放设备,只是被动的接收音频中转设备发送的音频数据。因此,在本申请的实施例中,当音频中转设备停止输出初始音频数据,而发送广播音频数据时,音频输出设备此时仅对接收到的广播音频数据播放即可;而当音频中转设备广播音频数据输出完成继续输出初始音频数据时,音频输出设备此时继续进行初始音频数据的播放。即音频输出设备在接收到音频中转设备发送的目标广播音频数据之后,播放目标广播音频数据;音频输出设备在接收到音频中转设备发送的初始音频数据之后,播放初始音频数据。It should be understood that since the audio output device is a passive audio playback device, it only passively receives the audio data sent by the audio relay device. Therefore, in the embodiment of the present application, when the audio relay device stops outputting the initial audio data and sends broadcast audio data, the audio output device only plays the received broadcast audio data; When the audio data output is completed and the initial audio data is continued to be output, the audio output device continues to play the initial audio data at this time. That is, after receiving the target broadcast audio data sent by the audio relay device, the audio output device plays the target broadcast audio data; after receiving the initial audio data sent by the audio relay device, the audio output device plays the initial audio data.

需要说明的是,如果音频中转设备确定当前状态为未向音频输出设备发送任何音频数据,即未输出初始音频数据,那么音频传输系统可以通过音频中转设备直接将接收到的广播音频数据发送至音频输出设备以进行播放。It should be noted that if the audio relay device determines that the current state is that no audio data is sent to the audio output device, that is, the initial audio data is not output, the audio transmission system can directly send the received broadcast audio data to the audio through the audio relay device. output device for playback.

综上所述,在本申请中,音频传输系统中,音频中转设备作为一个广播收集者的角色,音频中转设备可以是手机,也可以是电视TV,也可以是蓝牙网关。音频中转设备可以对接收到的广播信号进行音频解码后,将获取到的广播音频数据转发给音频输出设备,如耳机或音响。其中,如果转发时当前已有听歌业务在进行,则需要把广播和已有的音乐混音处理后转发给耳机或者音响,或者暂停已有的音乐先播放广播。可见,本申请耳机/音响不再需要自己去收听广播,而是基于与音频中转设备的蓝牙通信连接而接收音频中转设备转发的广播,如果断开音频中转设备与耳机的蓝牙通信连接,那么用户通过耳机便无法收听到广播。To sum up, in this application, in the audio transmission system, the audio relay device plays the role of a broadcast collector, and the audio relay device can be a mobile phone, a TV, or a Bluetooth gateway. The audio relay device can perform audio decoding on the received broadcast signal, and then forward the obtained broadcast audio data to an audio output device, such as earphones or speakers. Among them, if there is currently a listening song service in progress when forwarding, the broadcast and the existing music need to be mixed and forwarded to earphones or speakers, or the existing music needs to be paused to play the broadcast first. It can be seen that the headset/audio of the present application no longer needs to listen to the broadcast by itself, but receives the broadcast forwarded by the audio relay device based on the Bluetooth communication connection with the audio relay device. If the Bluetooth communication connection between the audio relay device and the headset is disconnected, then the user The radio cannot be heard through the headphones.

本申请实施例提供了一种音频传输方法,音频传输系统包括音频中转设备和音频输出设备,在音频中转设备与音频输出设备建立无线通信连接之后,音频中转设备获取目标广播音频数据;若音频中转设备的当前状态为输出初始音频数据,则音频中转设备根据目标广播音频数据对初始音频数据进行混音处理,获得混音后音频数据,并将混音后音频数据发送至音频输出设备;音频输出设备按照第一音量播放目标广播音频数据,同时按照第二音量播放初始音频数据;其中,第一音量大于第二音量。也就是说,在本申请的实施例中,一方面不再需要音频输出设备,如耳机/音响自主的接收广播音频数据,而是通过音频中转设备来进行广播音频数据的采集,耳机/音响只需要连接并接收音频中转设备转发的音频数据即可,克服了耳机耗电量过大的缺陷;另一方面,音频传输系统在接收到广播音频数据之后,可以根据该广播音频数据和当前输出的其他音频数据生成待传输的目标音频数据,进而对该目标音频数据进行播放处理,解决了广播音频数据的播放与其他音频数据的播放存在时序冲突的问题,系统智能性高。The embodiment of the present application provides an audio transmission method. The audio transmission system includes an audio relay device and an audio output device. After the audio relay device and the audio output device establish a wireless communication connection, the audio relay device obtains target broadcast audio data; if the audio relay The current state of the device is to output the initial audio data, then the audio relay device performs mixing processing on the initial audio data according to the target broadcast audio data, obtains the mixed audio data, and sends the mixed audio data to the audio output device; audio output The device plays the target broadcast audio data according to the first volume, and simultaneously plays the initial audio data according to the second volume; wherein the first volume is greater than the second volume. That is to say, in the embodiments of the present application, on the one hand, audio output devices are no longer required, such as earphones/audios to receive broadcast audio data autonomously, but audio relay devices are used to collect broadcast audio data. It is only necessary to connect and receive the audio data forwarded by the audio relay device, which overcomes the defect that the headset consumes too much power; on the other hand, after receiving the broadcast audio data, the audio transmission system can Other audio data generates target audio data to be transmitted, and then performs playback processing on the target audio data, which solves the problem of timing conflict between the playback of broadcast audio data and the playback of other audio data, and the system has high intelligence.

基于上述实施例,在本申请的再一实施例中,图8为本申请实施例提出的音频传输方法的实现流程示意图六,如图8所示,在本申请的实施例中,音频传输系统通过音频中转设备获取目标广播音频数据(步骤101)的方法包括以下步骤:Based on the above embodiment, in yet another embodiment of the present application, FIG. 8 is a sixth schematic diagram of the implementation flow of the audio transmission method proposed by the embodiment of the present application. As shown in FIG. 8 , in the embodiment of the present application, the audio transmission system The method for acquiring target broadcast audio data (step 101) through an audio relay device includes the following steps:

步骤101a、在音频中转设备与音频输出设备建立无线通信连接之后,接收广播设备发送的无线广播信号。Step 101a: After the audio relay device establishes a wireless communication connection with the audio output device, receive a wireless broadcast signal sent by the broadcast device.

步骤101b、对无线广播信号进行解码处理,获得目标广播音频数据。Step 101b: Decode the wireless broadcast signal to obtain target broadcast audio data.

需要说明的是,在本申请的实施例中,该广播设备可以为低功耗蓝牙(BluetoothLow Energy,BLE)广播设备。It should be noted that, in the embodiments of the present application, the broadcasting device may be a Bluetooth Low Energy (Bluetooth Low Energy, BLE) broadcasting device.

具体的,在本申请的实施例中,当外界的广播设备以BIG/BIS的形式进行广播发送时,音频传输系统可以通过音频中转设备可以接收该广播设备发送的无线广播信号,并对该无线广播信号进行解码处理,进而得到目标广播音频数据,从而可将该解码后得到的广播音频数据进一步发送至音频输出设备。Specifically, in the embodiment of the present application, when an external broadcast device performs broadcast transmission in the form of BIG/BIS, the audio transmission system can receive the wireless broadcast signal sent by the broadcast device through the audio relay device, and send the wireless broadcast signal to the wireless broadcast device. The broadcast signal is decoded to obtain target broadcast audio data, so that the decoded broadcast audio data can be further sent to an audio output device.

应理解,广播设备普遍设置有广播接收权限和广播重要性,音频中转设备在执行来自于广播设备的广播音频数据的获取之前,音频中转设备可以先通过网络、定位、或者生态软件等常用方式获取外界相关广播设备对应的音频接收参数,进而基于上述音频接收参数执行无线广播信号的接收。It should be understood that broadcast equipment is generally set with broadcast receiving authority and broadcast importance. Before the audio relay equipment executes the acquisition of broadcast audio data from the broadcast equipment, the audio relay equipment can first obtain it through common methods such as network, positioning, or ecological software. The audio receiving parameters corresponding to the external related broadcasting equipment, and then the reception of the wireless broadcast signal is performed based on the above-mentioned audio receiving parameters.

具体的,在本申请的实施例中,音频中转设备在进行无线广播信号的接收时,音频中转设备可以先获取广播设备对应的音频接收参数,然后基于该音频接收参数接收无线广播信号。Specifically, in the embodiment of the present application, when the audio relay device receives wireless broadcast signals, the audio relay device may first obtain audio reception parameters corresponding to the broadcast device, and then receive wireless broadcast signals based on the audio reception parameters.

可选的,上述音频接收参数可以包括广播设备对应的加密参数;或者上述音频接收参数可以包括广播设备对应的优先级别;或者上述音频接收参数既可以包括加密参数,也可以包括优先级别。Optionally, the audio receiving parameters may include encryption parameters corresponding to the broadcasting equipment; or the audio receiving parameters may include priority levels corresponding to the broadcasting equipment; or the audio receiving parameters may include both encryption parameters and priority levels.

具体的,在音频接收参数包括加密参数的情况下,图9为本申请实施例提出的音频传输方法的实现流程示意图七,如图9所示,音频传输系统通过音频中转设备接收广播设备发送的无线广播信号的方法包括:Specifically, in the case where the audio receiving parameters include encryption parameters, FIG. 9 is a schematic diagram 7 of the implementation flow of the audio transmission method proposed by the embodiment of the present application. As shown in FIG. 9 , the audio transmission system receives the data sent by the broadcasting device through the audio relay device Methods of wirelessly broadcasting signals include:

步骤101a1、在音频中转设备与音频输出设备建立无线通信连接之后,获取广播设备对应的加密参数。Step 101a1: After the audio relay device establishes a wireless communication connection with the audio output device, obtain encryption parameters corresponding to the broadcast device.

步骤101a2、基于加密参数接收无线广播信号。Step 101a2: Receive the wireless broadcast signal based on the encryption parameter.

详细的,加密参数不限制于广播设备对应的设备名称以及广播接收密码。Specifically, the encryption parameters are not limited to the device name corresponding to the broadcast device and the broadcast receiving password.

这里,音频中转设备在基于配置信息获取到广播设备对应的加密参数之后,音频中转设备便可以在参数设置界面输入所需要接收的广播的设备名称,以及该设备名称所对应的密码,音频中转设备便可以响应该操作,基于该加密参数获取到该目标广播信号的接收权限,从而便可以进一步进行对目标广播信号的接收,以获取目标广播音频数据。Here, after the audio relay device obtains the encryption parameters corresponding to the broadcast device based on the configuration information, the audio relay device can enter the device name of the broadcast to be received and the password corresponding to the device name in the parameter setting interface. In response to the operation, the receiving authority of the target broadcast signal can be obtained based on the encryption parameter, so that the target broadcast signal can be further received to obtain the target broadcast audio data.

具体的,在音频接收参数包括优先级别的情况下,图10为本申请实施例提出的音频传输方法的实现流程示意图八,如图10所示,音频传输系统通过音频中转设备接收广播设备发送的无线广播信号的方法包括:Specifically, in the case where the audio receiving parameter includes a priority level, FIG. 10 is a schematic diagram 8 of the implementation flow of the audio transmission method proposed in the embodiment of the present application. As shown in FIG. 10 , the audio transmission system receives the data sent by the broadcasting device through the audio relay device. Methods of wirelessly broadcasting signals include:

步骤101a3、在音频中转设备与音频输出设备建立无线通信连接之后,获取广播设备对应的优先级别。Step 101a3: After the audio relay device establishes a wireless communication connection with the audio output device, acquire the priority level corresponding to the broadcast device.

步骤101a4、根据优先级别接收无线广播信号。Step 101a4: Receive the wireless broadcast signal according to the priority.

应理解,外界存在多个不同的广播设备,根据设备自身配置或者用户需求,各广播设备对应的优先级别存在差异,如火警设备对应的广播优先级别始终处于最高优先级;可见,如果出现同一时刻存在多个广播,为了避免出现广播调度产生冲突的问题,音频中转设备可以基于广播设备的配置信息先获取各个广播设备对应的广播接收优先级,或者用户可以根据实际需要在操作界面手动设置各广播的优先级别,进而音频中转设备响应上述操作,按照该优先级别由高到低的顺序进行对目标广播信号的接收,以获取目标广播音频数据。It should be understood that there are many different broadcasting devices in the outside world. According to the configuration of the devices themselves or the needs of users, there are differences in the priority levels corresponding to each broadcasting device. For example, the broadcasting priority level corresponding to the fire alarm device is always at the highest priority; There are multiple broadcasts. In order to avoid the conflict of broadcast scheduling, the audio relay device can first obtain the broadcast receiving priority corresponding to each broadcast device based on the configuration information of the broadcast device, or the user can manually set each broadcast on the operation interface according to actual needs. The priority level, and the audio relay device responds to the above operation and receives the target broadcast signal in the order of the priority level from high to low, so as to obtain the target broadcast audio data.

例如,如果当前同时存在站点播报器和火警报警器正在广播,由于火警广播处于最高优先级,因此手机可以选择优先接收火警报警器发送的无线广播信号。For example, if there are both a site announcer and a fire alarm currently broadcasting, since the fire alarm broadcast is at the highest priority, the mobile phone can choose to preferentially receive the wireless broadcast signal sent by the fire alarm.

进一步的,在本申请的实施例中,如果存在多个优先级相同的广播信号,为了避免多个广播之间的时序冲突,音频中转设备可以配置多天线接收,也就是能够同时接收多个无线广播信号,避免多个广播信号之间的时序冲突。Further, in the embodiment of the present application, if there are multiple broadcast signals with the same priority, in order to avoid timing conflicts between multiple broadcasts, the audio relay device can be configured with multiple antennas for reception, that is, it can receive multiple radio signals at the same time. Broadcast signals to avoid timing conflicts between multiple broadcast signals.

应理解,音频中转设备可以配置多个接收天线,如第一接收天线和第二接收天线,音频中转设备可以利用第一接收天线接收第一广播设备发送的第一无线广播信号,同时通过第二广播设备接收第二设备发送的第二无线广播信号,从而避免了多个广播之间信号接收时的时序冲突。It should be understood that the audio relay device can be configured with multiple receiving antennas, such as a first receiving antenna and a second receiving antenna, and the audio relay device can use the first receiving antenna to receive the first wireless broadcast signal sent by the first broadcast The broadcasting device receives the second wireless broadcasting signal sent by the second device, so as to avoid timing conflict during signal reception among multiple broadcasting devices.

进一步的,在本申请的实施例中,音频传输系统通过音频中转设备获取该广播音频数据的同时,还可以通过音频中转设备实时检测自身当前是否正在进行其他非广播音频数据的输出,即检测当前音频输出状态(102),进而结合当前音频输出状态执行目标广播音频数据的转发处理。Further, in the embodiment of the present application, while the audio transmission system obtains the broadcast audio data through the audio relay device, it can also use the audio relay device to detect in real time whether it is currently outputting other non-broadcast audio data, that is, to detect the current output of non-broadcast audio data. Audio output state (102), and then perform forwarding processing of target broadcast audio data in combination with the current audio output state.

可见,在本申请中,音频传输系统可以通过音频中转设备,根据广播设备对应广播配置信息,如加密参数、广播信号接收优先级别等执行无线广播信号的接收流程,进而在完成该广播信号的解码,获取到广播音频数据之后,进一步通过音频中转设备将广播音频数据转发至音频输出设备,不仅克服了耳机耗电量过大的缺陷,而且解决了广播音频数据播放与当前音频播放存在时序冲突的问题,音频中转设备智能性高。It can be seen that in this application, the audio transmission system can perform the receiving process of the wireless broadcast signal through the audio relay equipment according to the broadcast configuration information corresponding to the broadcast equipment, such as encryption parameters, broadcast signal receiving priority, etc., and then complete the decoding of the broadcast signal. After the broadcast audio data is obtained, the broadcast audio data is further forwarded to the audio output device through the audio relay device, which not only overcomes the defect of excessive power consumption of the headset, but also solves the problem of timing conflicts between the broadcast audio data playback and the current audio playback. The problem is that the audio transfer device is highly intelligent.

基于上述实施例,在本申请的再一实施例中,图11为本申请实施例提出的音频传输方法的实现流程示意图九,如图11所示,在本申请的实施例中,音频传输系统通过音频中转设备获取目标广播音频数据(步骤101)的方法包括以下步骤:Based on the above embodiment, in yet another embodiment of the present application, FIG. 11 is a schematic diagram 9 of the implementation flow of the audio transmission method proposed by the embodiment of the present application. As shown in FIG. 11 , in the embodiment of the present application, the audio transmission system The method for acquiring target broadcast audio data (step 101) through an audio relay device includes the following steps:

步骤101c、在音频中转设备与音频输出设备建立无线通信连接之后,通过声音采集模块采集广播设备播放的当前广播音频数据,并检测当前位置状态;Step 101c, after the audio relay device and the audio output device establish a wireless communication connection, collect the current broadcast audio data played by the broadcast device through the sound acquisition module, and detect the current position state;

步骤101d、若当前位置状态为目标位置,则将当前广播音频数据确定为目标广播音频数据。Step 101d, if the current location state is the target location, determine the current broadcast audio data as the target broadcast audio data.

可以理解的是,如果广播设备通过扬声器或者喇叭播放广播音频数据,音频传输系统可以通过音频中转设备中的声音采集模块如麦克风,实时采集广播音频数据,由于采集到的这些广播音频数据并不全是用户所需的,那么音频中转设备可以结合当前位置状态确定出用户所需要收听的目标广播音频数据。It is understandable that if the broadcasting equipment broadcasts broadcasting audio data through speakers or speakers, the audio transmission system can collect the broadcasting audio data in real time through the sound acquisition module such as a microphone in the audio relay equipment. If required by the user, the audio relay device can determine the target broadcast audio data that the user needs to listen to in combination with the current location state.

具体的,音频传输系统可以通过音频中转设备实时检测当前位置状态,如果当前位置状态为目标位置状态,那么音频中转设备可以将此时通过麦克风采集到的广播音频数据确定为目标广播音频数据,并进一步转发至音频输出设备,如蓝牙耳机。Specifically, the audio transmission system can detect the current location state in real time through the audio relay device. If the current location state is the target location state, the audio relay device can determine the broadcast audio data collected through the microphone at this time as the target broadcast audio data, and Further forwarding to an audio output device such as a Bluetooth headset.

例如,乘客乘坐飞机,手机可以通过机场里面的WIFI信号、或者卫星定位获取乘客的实时位置信息,当得知乘客当前位于机场内时,手机通过麦克风采集机场登机广播并转发给乘客。详细的,音频中转设备还可以结合乘客的目标航班登机信息,当得知乘客当前位于机场内时,且采集到的登机提醒为用户的目标航班登机提醒,那么音频中转设备可以将采集到的当前广播音频数据确定为目标广播音频数据,并进一步转发至音频输出设备,如蓝牙耳机。For example, when a passenger takes an airplane, the mobile phone can obtain the real-time location information of the passenger through the WIFI signal in the airport or satellite positioning. When it is known that the passenger is currently in the airport, the mobile phone collects the airport boarding broadcast through the microphone and forwards it to the passenger. In detail, the audio transfer device can also combine the boarding information of the passenger's target flight. When it is known that the passenger is currently in the airport, and the collected boarding reminder is the user's target flight boarding reminder, the audio transfer device can The received current broadcast audio data is determined as the target broadcast audio data, and is further forwarded to an audio output device, such as a Bluetooth headset.

例如,乘客乘坐地铁,手机可以通过地铁里面的WIFI信号、或者卫星定位获取乘客的实时位置信息,当乘客到达某一站点时,手机可以将当前通过麦克风接收到的站点报站广播转发给带蓝牙耳机的乘客。For example, when a passenger takes the subway, the mobile phone can obtain the real-time location information of the passenger through the WIFI signal in the subway or satellite positioning. When the passenger arrives at a certain station, the mobile phone can forward the station announcement broadcast currently received through the microphone to the bluetooth Headphones for passengers.

可见,在本申请中,音频传输系统可以通过音频中转设备中的麦克风采集广播音频数据,并通过音频中转设备将广播音频数据转发至音频输出设备,不仅克服了耳机耗电量过大的缺陷,而且解决了广播音频数据与当前音频播放存在时序冲突的问题,音频中转设备智能性高。It can be seen that in the present application, the audio transmission system can collect broadcast audio data through the microphone in the audio relay device, and forward the broadcast audio data to the audio output device through the audio relay device, which not only overcomes the defect that the headset consumes too much power, Moreover, the problem of timing conflict between broadcast audio data and current audio playback is solved, and the audio transfer device is highly intelligent.

基于上述实施例,在本申请的再一实施例中,图12为本申请实施例提出的音频传输方法的应用场景示意图一,假定音频中转设备为一台手机,音频传输设备为耳机,如图12所示,在本申请的实施例中,手机在与无线耳机建立蓝牙通信连接(如ACL链路或者BT5.2新引入的CIG/CIS链路)之后,手机可以接收门铃,火警报警器,机场、商场、火车站广播,或者地铁报站器中的任意一个或多个设备发送的BIG/BIS广播,并进行解码获得广播音频数据。如果手机当前通过无线耳机正在播放其他音频数据,那么手机可以对广播音频数据和其他音频数据进行混音处理,使得混音后音频数据中着重突出广播音频数据,进而将混音后音频数据发送至无线耳机以实现用户收听广播。如果手机当前通过无线耳机并没有播放其他音频数据,那么手机可以将广播音频数据直接发送至无线耳机以实现用户收听广播。Based on the above embodiment, in yet another embodiment of the present application, FIG. 12 is a schematic diagram of application scenario 1 of the audio transmission method proposed by the embodiment of the present application. It is assumed that the audio relay device is a mobile phone and the audio transmission device is an earphone, as shown in the figure As shown in 12, in the embodiment of the present application, after the mobile phone establishes a Bluetooth communication connection with the wireless headset (such as an ACL link or a CIG/CIS link newly introduced by BT5.2), the mobile phone can receive a doorbell, a fire alarm, BIG/BIS broadcasts sent by any one or more devices in airports, shopping malls, railway stations, or subway station announcers, and decode to obtain broadcast audio data. If the mobile phone is currently playing other audio data through the wireless headset, the mobile phone can mix the broadcast audio data and other audio data, so that the broadcast audio data is emphasized in the mixed audio data, and then the mixed audio data is sent to Wireless earphones to enable users to listen to the radio. If the mobile phone does not currently play other audio data through the wireless headset, the mobile phone can directly send the broadcast audio data to the wireless headset so that the user can listen to the broadcast.

基于上述实施例,在本申请的再一实施例中,图13为本申请实施例提出的音频传输方法的应用场景示意图二,假定音频中转设备为一台网关或者电视,音频传输设备为耳机/音响,如图13所示,在本申请的实施例中,客厅的网关在与音响建立蓝牙通信连接(ACL链路或者BT5.2新引入的CIG/CIS链路)之后,网关可以接收门铃,火警报警器,厨房电器广播,或者客厅电器广播中的任意一个或多个设备发送的BIG/BIS广播,并进行解码获得广播音频数据。如果客厅网关当前通过音响正在播放其他音频数据,那么网关可以先对广播音频数据和其他音频数据进行混音处理,使得混音后音频数据中着重突出广播音频数据,进而将混音后音频数据发送至音响以实现用户收听广播。如果网关当前通过音响并没有播放其他音频数据,那么网关可以将广播音频数据直接发送至音响以实现用户收听广播。Based on the above embodiment, in yet another embodiment of the present application, FIG. 13 is a schematic diagram 2 of an application scenario of the audio transmission method proposed by the embodiment of the present application. It is assumed that the audio relay device is a gateway or a TV, and the audio transmission device is an earphone/ Audio, as shown in Figure 13, in the embodiment of this application, after the gateway in the living room establishes a Bluetooth communication connection (ACL link or CIG/CIS link newly introduced in BT5.2) with the audio, the gateway can receive the doorbell, BIG/BIS broadcast sent by any one or more devices in fire alarm, kitchen appliance broadcast, or living room appliance broadcast, and decode to obtain broadcast audio data. If the living room gateway is currently playing other audio data through the speaker, the gateway can first mix the broadcast audio data and other audio data, so that the broadcast audio data is emphasized in the mixed audio data, and then the mixed audio data is sent. to the speaker to enable users to listen to the radio. If the gateway does not currently play other audio data through the speaker, the gateway can directly send the broadcast audio data to the speaker so that the user can listen to the broadcast.

本申请实施例提供了一种音频传输方法,一方面不再需要音频输出设备,如耳机/音响自主的接收广播音频数据,而是通过音频中转设备来进行广播音频数据的采集,耳机/音响只需要连接并接收音频中转设备转发的音频数据即可,克服了耳机耗电量过大的缺陷;另一方面,音频中转设备可以对广播音频数据和当前输出的其他初始音频数据进行混音处理,将其他初始音频数据的音量下降,突出广播音频数据,进而解决了广播音频数据的播放与其他初始音频数据的播放存在时序冲突的问题,智能性高。The embodiment of the present application provides an audio transmission method. On the one hand, an audio output device is no longer required, such as earphones/audio to receive broadcast audio data independently, but an audio relay device is used to collect broadcast audio data. It is only necessary to connect and receive the audio data forwarded by the audio relay device, which overcomes the defect that the headset consumes too much power; on the other hand, the audio relay device can mix the broadcast audio data and other initial audio data currently output, The volume of other initial audio data is lowered to highlight the broadcast audio data, thereby solving the problem of timing conflict between the playback of the broadcast audio data and the playback of other initial audio data, and has high intelligence.

基于上述实施例,在本申请的另一实施例中,图14为本申请实施例提出的音频传输系统的组成结构示意图二,如图14示,本申请实施例提出的音频传输系统10可以包括音频中转设备20和音频输出设备30,该音频中转设备20包括获取单元21、生成单元22、发送单元23以及建立单元24;该音频输出设备30包括播放单元31,Based on the above embodiment, in another embodiment of the present application, FIG. 14 is a second schematic diagram of the composition and structure of the audio transmission system proposed by the embodiment of the present application. As shown in FIG. 14 , theaudio transmission system 10 proposed by the embodiment of the present application may include Theaudio relay device 20 and theaudio output device 30, theaudio relay device 20 includes anacquisition unit 21, ageneration unit 22, atransmission unit 23 and asetup unit 24; theaudio output device 30 includes aplayback unit 31,

所述获取单元21,用于在所述音频中转设备与所述音频输出设备建立无线通信连接之后,获取目标广播音频数据;Theacquisition unit 21 is configured to acquire target broadcast audio data after the audio relay device and the audio output device establish a wireless communication connection;

所述生成单元22,用于若所述音频中转设备的当前状态为输出初始音频数据,则根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据;Describedgeneration unit 22, is used for if the current state of described audio relay equipment is to output initial audio data, then according to described initial audio data and described target broadcast audio data, generate audio data to be transmitted;

所述发送单元23,用于将所述待传输音频数据发送至所述音频输出设备;The sendingunit 23 is configured to send the audio data to be transmitted to the audio output device;

所述播放单元31,用于播放所述待传输音频数据。The playingunit 31 is configured to play the audio data to be transmitted.

进一步的,在本申请的实施例中,所述生成单元22,具体用于对所述初始音频数据和所述目标广播音频数据进行混音处理,生成混音后音频数据;其中,所述混音后数据包括第一识别等级的目标广播音频数据和第二识别等级的初始音频数据;所述第一识别等级大于所述第二识别等级;将所述混音后音频数据作为所述待传输音频数据。Further, in the embodiment of the present application, the generatingunit 22 is specifically configured to perform sound mixing processing on the initial audio data and the target broadcast audio data to generate mixed audio data; The post-audio data includes target broadcast audio data of a first recognition level and initial audio data of a second recognition level; the first recognition level is greater than the second recognition level; the audio data after the audio mixing is used as the to-be-transmitted audio data audio data.

进一步的,在本申请的实施例中,所述生成单元22,还具体用于按照第一权重值对所述目标广播音频数据进行音量调节处理,获得所述第一音量的目标广播音频数据;以及按照第二权重值对所述初始音频数据进行音量调节处理,获得所述第二音量的初始音频数据;以及基于所述第一音量的目标广播音频数据和所述第二音量的初始音频数据生成所述混音后音频数据。Further, in the embodiment of the present application, the generatingunit 22 is further specifically configured to perform volume adjustment processing on the target broadcast audio data according to the first weight value to obtain the target broadcast audio data of the first volume; and performing volume adjustment processing on the initial audio data according to the second weight value to obtain the initial audio data of the second volume; and based on the target broadcast audio data of the first volume and the initial audio data of the second volume The post-mixed audio data is generated.

进一步的,在本申请的实施例中,所述播放单元31,具体用于按照第一音量播放所述目标广播音频数据,同时按照第二音量播放所述初始音频数据。Further, in the embodiment of the present application, the playingunit 31 is specifically configured to play the target broadcast audio data according to the first volume, and simultaneously play the initial audio data according to the second volume.

进一步的,在本申请的实施例中,所述生成单元22,具体用于直接将所述初始音频数据和所述目标广播音频数据作为所述待传输音频数据。Further, in the embodiment of the present application, the generatingunit 22 is specifically configured to directly use the initial audio data and the target broadcast audio data as the audio data to be transmitted.

进一步的,在本申请的实施例中,所述发送单元23,具有用于停止所述初始音频数据的输出,将所述目标广播音频数据发送至所述音频输出设备,以使所述音频输出设备播放所述目标广播音频数据;以及在所述目标广播音频数据发送完成之后,继续向所述音频输出设备发送所述初始音频数据,以使所述音频输出设备继续播放所述初始音频数据。Further, in the embodiment of the present application, the sendingunit 23 is configured to stop the output of the initial audio data, and send the target broadcast audio data to the audio output device, so that the audio is output The device plays the target broadcast audio data; and after the target broadcast audio data is sent, continue to send the initial audio data to the audio output device, so that the audio output device continues to play the initial audio data.

进一步的,在本申请的实施例中,所述播放单元31,具体用于所述音频中转设备获取目标广播音频数据之后,若所述当前音频输出状态为未输出初始音频数据,则所述音频中转设备向所述音频输出设备发送所述目标广播音频数据;所述音频输出设备播放所述待传输音频数据。Further, in the embodiment of the present application, theplayback unit 31 is specifically used for, after the audio relay device obtains the target broadcast audio data, if the current audio output state is that the initial audio data is not output, the audio The relay device sends the target broadcast audio data to the audio output device; the audio output device plays the audio data to be transmitted.

进一步的,在本申请的实施例中,所述获取单元21,具体用于接收广播设备发送的无线广播信号;以及对所述无线广播信号进行解码处理,获得所述目标广播音频数据。Further, in the embodiment of the present application, the obtainingunit 21 is specifically configured to receive a wireless broadcast signal sent by a broadcast device; and perform decoding processing on the wireless broadcast signal to obtain the target broadcast audio data.

进一步的,在本申请的实施例中,所述获取单元21,还具体用于获取所述广播设备对应的加密参数;以及基于所述加密参数接收所述无线广播信号。Further, in the embodiment of the present application, the obtainingunit 21 is further specifically configured to obtain the encryption parameter corresponding to the broadcast device; and receive the wireless broadcast signal based on the encryption parameter.

进一步的,在本申请的实施例中,所述获取单元21,还具体用于获取所述广播设备对应的接收优先级别;以及根据所述接收优先级别接收所述无线广播信号。Further, in the embodiment of the present application, the obtainingunit 21 is further specifically configured to obtain the receiving priority level corresponding to the broadcasting device; and receive the wireless broadcast signal according to the receiving priority level.

进一步的,在本申请的实施例中,所述广播设备包括第一设备和第二设备,所述音频中转设备配置第一接收天线和第二接收天线,所述获取单元21,还具体用于通过所述第一接收天线接收所述第一设备发送的第一无线广播信号;以及通过所述第二接收天线接收所述第二设备发送的第二无线广播信号。Further, in the embodiment of the present application, the broadcasting device includes a first device and a second device, the audio relay device is configured with a first receiving antenna and a second receiving antenna, and the acquiringunit 21 is also specifically used for The first wireless broadcast signal sent by the first device is received through the first receiving antenna; and the second wireless broadcast signal sent by the second device is received through the second receiving antenna.

进一步的,在本申请的实施例中,所述获取单元21,还具体用于通过声音采集模块采集广播设备播放的当前广播音频数据,并检测当前位置状态;以及若所述当前位置状态为目标位置,则将所述当前广播音频数据确定为所述目标广播音频数据。Further, in the embodiment of the present application, theacquisition unit 21 is also specifically configured to collect the current broadcast audio data played by the broadcast equipment through the sound acquisition module, and detect the current location state; and if the current location state is the target position, the current broadcast audio data is determined as the target broadcast audio data.

进一步的,在本申请的实施例中,所述目标广播音频数据为BIG数据。Further, in the embodiment of the present application, the target broadcast audio data is BIG data.

在本申请的实施例中,进一步地,图15为本申请实施例提出的音频中转设备组成结构示意图三,如图15示,本申请实施例提出的音频传输系统10包括音频中转设备20和音频输出设备30,所述音频中转设备20包括第一处理器25和存储有所述第一处理器25可执行指令的第一存储器26以及第一通信接口27的第一总线28;所述音频输出设备30包括第二处理器32和存储有所述第二处理器32可执行指令的第二存储器33以及第二通信接口34的第二总线35。In the embodiment of the present application, further, FIG. 15 is a third schematic diagram of the composition of the audio relay device proposed by the embodiment of the application. As shown in FIG. 15 , theaudio transmission system 10 proposed by the embodiment of the present application includes anaudio relay device 20 and an audioAn output device 30, theaudio relay device 20 includes afirst processor 25, afirst memory 26 storing executable instructions of thefirst processor 25, and afirst bus 28 of thefirst communication interface 27; the audio output Thedevice 30 includes asecond processor 32 and asecond memory 33 storing instructions executable by thesecond processor 32 and asecond bus 35 of thesecond communication interface 34 .

在本申请的实施例中,上述第一处理器25或第二处理器32为特定用途集成电路(Application Specific Integrated Circuit,ASIC)、数字信号处理器(Digital SignalProcessor,DSP)、数字信号处理装置(Digital Signal Processing Device,DSPD)、可编程逻辑装置(ProgRAMmable Logic Device,PLD)、现场可编程门阵列(Field ProgRAMmableGate Array,FPGA)、中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器中的至少一种。可以理解地,对于不同的设备,用于实现上述处理器功能的电子器件还可以为其它,本申请实施例不作具体限定。音频传输系统10还可以包括第一存储器26和第二存储器33,该第一存储器26可以与第一处理器25连接,第二存储器33可以与第二处理器32连接其中,第一存储器26、第二存储器33用于存储可执行程序代码,该程序代码包括计算机操作指令,第一存储器26、第二存储器33可能包含高速RAM存储器,也可能还包括非易失性存储器,例如,至少两个磁盘存储器。In the embodiments of the present application, thefirst processor 25 or thesecond processor 32 is an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device ( Digital Signal Processing Device (DSPD), Programmable Logic Device (ProgRAMmable Logic Device, PLD), Field Programmable Gate Array (Field ProgRAMmableGate Array, FPGA), Central Processing Unit (Central Processing Unit, CPU), controller, microcontroller , at least one of the microprocessors. It can be understood that, for different devices, the electronic device used to implement the above processor function may also be other, which is not specifically limited in the embodiment of the present application. Theaudio transmission system 10 may further include afirst memory 26 and asecond memory 33, thefirst memory 26 may be connected to thefirst processor 25, and thesecond memory 33 may be connected to thesecond processor 32, wherein thefirst memory 26, Thesecond memory 33 is used for storing executable program codes, which include computer operation instructions. Thefirst memory 26 and thesecond memory 33 may include high-speed RAM memory, and may also include non-volatile memory, for example, at least two disk storage.

在本申请的实施例中,第一总线28用于连接第一通信接口27、第一处理器25以及第一存储器26以及这些器件之间的相互通信,第二总线35用于连接第二通信接口34、第二处理器32以及第二存储器33以及这些器件之间的相互通信。In the embodiment of the present application, thefirst bus 28 is used for connecting thefirst communication interface 27 , thefirst processor 25 and thefirst memory 26 and the mutual communication among these devices, and thesecond bus 35 is used for connecting the second communication Theinterface 34, thesecond processor 32 and thesecond memory 33 and the mutual communication between these devices.

在本申请的实施例中,第一存储器26、第二存储器33,用于存储指令和数据。In the embodiment of the present application, thefirst memory 26 and thesecond memory 33 are used to store instructions and data.

进一步地,在本申请的实施例中,上述第一处理器25,用于在所述音频中转设备与所述音频输出设备建立无线通信连接之后,通过所述音频中转设备获取目标广播音频数据;若所述音频中转设备的当前状态为输出初始音频数据,则通过所述音频中转设备根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据;以及通过所述音频中转设备将所述待传输音频数据发送至所述音频输出设备。Further, in the embodiment of the present application, the above-mentionedfirst processor 25 is configured to obtain target broadcast audio data through the audio relay device after the audio relay device establishes a wireless communication connection with the audio output device; If the current state of the audio relay device is to output initial audio data, generate audio data to be transmitted according to the initial audio data and the target broadcast audio data by the audio relay device; and convert the audio data to be transmitted by the audio relay device The audio data to be transmitted is sent to the audio output device.

进一步地,在本申请的实施例中,上述第二处理器32,用于通过所述音频输出设备播放所述待传输音频数据。Further, in the embodiment of the present application, the above-mentionedsecond processor 32 is configured to play the audio data to be transmitted through the audio output device.

在实际应用中,上述第一存储器26、第二存储器33,可以是易失性存储器(volatile memory),例如随机存取存储器(Random-Access Memory,RAM);或者非易失性存储器(non-volatile memory),例如只读存储器(Read-Only Memory,ROM),快闪存储器(flash memory),硬盘(Hard Disk Drive,HDD)或固态硬盘(Solid-State Drive,SSD);或者上述种类的存储器的组合,并向处理器提供指令和数据。In practical applications, the above-mentionedfirst memory 26 andsecond memory 33 may be volatile memory (volatile memory), such as random-access memory (Random-Access Memory, RAM); or non-volatile memory (non-volatile memory) volatile memory), such as read-only memory (Read-Only Memory, ROM), flash memory (flash memory), hard disk (Hard Disk Drive, HDD) or solid-state drive (Solid-State Drive, SSD); or the above types of memory combination and provide instructions and data to the processor.

另外,在本实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in this embodiment may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or can be implemented in the form of software function modules.

集成的单元如果以软件功能模块的形式实现并非作为独立的产品进行销售或使用时,可以存储在一个计算机可读取存储介质中,基于这样的理解,本实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或processor(处理器)执行本实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read OBlyMemory,ROM)、随机存取存储器(RaBdom Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of software function modules and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or correct. Part of the contribution made by the prior art or all or part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a storage medium, and includes several instructions to make a computer device (which can be a personal A computer, a server, or a network device, etc.) or a processor (processor) executes all or part of the steps of the method in this embodiment. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (Read OBly Memory, ROM), random access memory (RaBdom Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes.

本申请实施例提供了一种音频传输系统,该音频传输系统包括音频中转设备和音频输出设备,在音频中转设备与音频输出设备建立无线通信连接之后,音频中转设备获取目标广播音频数据;若音频中转设备的当前状态为输出初始音频数据,则音频中转设备根据初始音频数据和目标广播音频数据生成待传输音频数据;音频中转设备将待传输音频数据发送至音频输出设备;音频输出设备播放待传输音频数据。也就是说,在本申请的实施例中,一方面不再需要音频输出设备,如耳机/音响自主的接收广播音频数据,而是通过音频中转设备来进行广播音频数据的采集,耳机/音响只需要连接并接收音频中转设备转发的音频数据即可,克服了耳机耗电量过大的缺陷;另一方面,音频传输系统在接收到广播音频数据之后,可以根据该广播音频数据和当前输出的其他音频数据生成待传输的目标音频数据,进而对目标音频数据进行播放处理,解决了广播音频数据的播放与其他音频数据的播放存在时序冲突的问题,系统智能性高。An embodiment of the present application provides an audio transmission system, which includes an audio relay device and an audio output device. After the audio relay device and the audio output device establish a wireless communication connection, the audio relay device obtains target broadcast audio data; The current state of the relay device is to output the initial audio data, then the audio relay device generates the audio data to be transmitted according to the initial audio data and the target broadcast audio data; the audio relay device sends the audio data to be transmitted to the audio output device; the audio output device plays the audio data to be transmitted. audio data. That is to say, in the embodiments of the present application, on the one hand, audio output devices are no longer required, such as earphones/audios to receive broadcast audio data autonomously, but the collection of broadcast audio data is performed through audio relay equipment, and earphones/audios only It is only necessary to connect and receive the audio data forwarded by the audio relay device, which overcomes the defect of excessive power consumption of the headset; on the other hand, after receiving the broadcast audio data, the audio transmission system can Other audio data generates target audio data to be transmitted, and then performs playback processing on the target audio data, which solves the problem of timing conflict between the playback of broadcast audio data and the playback of other audio data, and the system has high intelligence.

本申请实施例提供一种计算机可读存储介质,其上存储有程序,应用于音频传输系统,所述音频传输系统包括音频中转设备和音频输出设备,该程序被所述音频中转设备中的第一处理器和所述音频输出设备中的第二处理器执行时实现如上所述的音频传输方法。An embodiment of the present application provides a computer-readable storage medium, on which a program is stored, and applied to an audio transmission system, where the audio transmission system includes an audio relay device and an audio output device, and the program is stored in the audio relay device. A processor and the second processor in the audio output device implement the audio transmission method described above when executed.

具体来讲,本实施例中的一种音频传输方法对应的程序指令可以被存储在光盘,硬盘,U盘等存储介质上,当存储介质中的与一种音频传输方法对应的程序指令被音频中转设备读取或被执行时,包括如下步骤:Specifically, a program instruction corresponding to an audio transmission method in this embodiment may be stored on a storage medium such as an optical disc, a hard disk, a U disk, etc. When the program instruction corresponding to an audio transmission method in the storage medium is audio When the transfer device is read or executed, it includes the following steps:

在所述音频中转设备与所述音频输出设备建立无线通信连接之后,所述音频中转设备获取目标广播音频数据;After the audio relay device establishes a wireless communication connection with the audio output device, the audio relay device acquires target broadcast audio data;

若所述音频中转设备的当前状态为输出初始音频数据,则所述音频中转设备根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据;If the current state of the audio relay device is to output initial audio data, then the audio relay device generates audio data to be transmitted according to the initial audio data and the target broadcast audio data;

所述音频中转设备将所述待传输音频数据发送至所述音频输出设备。The audio relay device sends the audio data to be transmitted to the audio output device.

当存储介质中的与一种音频传输方法对应的程序指令被音频输出设备读取或被执行时,包括如下步骤:When the program instruction corresponding to an audio transmission method in the storage medium is read or executed by the audio output device, the following steps are included:

所述音频输出设备播放所述待传输音频数据。The audio output device plays the audio data to be transmitted.

本申请实施例提供一种芯片,应用于音频传输系统,该芯片包括设置于音频中转设备的第一芯片和设置于音频输出设备的第二芯片,所述第一芯片包括第一处理器和第一接口,所述第二芯片包括第二处理器和第二接口,所述第一处理器通过第一接口获取第一程序指令,所述第二处理器通过第二接口获取第二程序指令,所述第一处理器和所述第二处理器通过运行所述第一程序指令和所述第二程序指令,实现如上所述的音频传输方法。具体地,所述音频传输方法,包括以下步骤:An embodiment of the present application provides a chip, which is applied to an audio transmission system. The chip includes a first chip disposed in an audio relay device and a second chip disposed in an audio output device, and the first chip includes a first processor and a second chip. an interface, the second chip includes a second processor and a second interface, the first processor obtains the first program instruction through the first interface, and the second processor obtains the second program instruction through the second interface, The first processor and the second processor implement the above-mentioned audio transmission method by running the first program instruction and the second program instruction. Specifically, the audio transmission method includes the following steps:

在所述音频中转设备与所述音频输出设备建立无线通信连接之后,所述音频中转设备获取目标广播音频数据;After the audio relay device establishes a wireless communication connection with the audio output device, the audio relay device acquires target broadcast audio data;

若所述音频中转设备的当前状态为输出初始音频数据,则所述音频中转设备根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据;If the current state of the audio relay device is to output initial audio data, then the audio relay device generates audio data to be transmitted according to the initial audio data and the target broadcast audio data;

所述音频中转设备将所述待传输音频数据发送至所述音频输出设备;The audio relay device sends the audio data to be transmitted to the audio output device;

所述音频输出设备播放所述待传输音频数据。The audio output device plays the audio data to be transmitted.

本申请实施例提供一种芯片,应用于音频中转设备,该芯片包括处理器和接口,所述处理器通过接口获取程序指令,所述处理器通过运行所述程序指令实现如上所述的音频传输方法。具体地,所述音频传输方法,包括以下步骤:An embodiment of the present application provides a chip, which is applied to an audio relay device. The chip includes a processor and an interface. The processor obtains program instructions through the interface, and the processor implements the above audio transmission by running the program instructions. method. Specifically, the audio transmission method includes the following steps:

在所述音频中转设备与所述音频输出设备建立无线通信连接之后,所述音频中转设备获取目标广播音频数据;After the audio relay device establishes a wireless communication connection with the audio output device, the audio relay device acquires target broadcast audio data;

若所述音频中转设备的当前状态为输出初始音频数据,则所述音频中转设备根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据;If the current state of the audio relay device is to output initial audio data, then the audio relay device generates audio data to be transmitted according to the initial audio data and the target broadcast audio data;

所述音频中转设备将所述待传输音频数据发送至所述音频输出设备,以使所述音频输出设备播放所述待传输音频数据。The audio relay device sends the audio data to be transmitted to the audio output device, so that the audio output device plays the audio data to be transmitted.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including but not limited to disk storage, optical storage, and the like.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的实现流程示意图和/或方框图来描述的。应理解可由计算机程序指令实现流程示意图和/或方框图中的每一流程和/或方框、以及实现流程示意图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to schematic flowcharts and/or block diagrams of implementations of methods, apparatuses (systems), and computer program products according to embodiments of the present application. It will be understood that each process and/or block in the schematic flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the schematic flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a process or processes and/or a block or blocks in the block diagrams.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions An apparatus implements the functions specified in a flow or flows of the implementation flow diagram and/or a block or blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the implementing flow diagram and/or the block or blocks of the block diagram.

以上所述,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the protection scope of the present application.

Claims (16)

Translated fromChinese
1.一种音频传输方法,其特征在于,所述方法应用于音频传输系统,所述音频传输系统包括音频中转设备和音频输出设备,所述方法包括:1. an audio transmission method, is characterized in that, described method is applied to audio frequency transmission system, and described audio frequency transmission system comprises audio frequency relay equipment and audio frequency output equipment, and described method comprises:在所述音频中转设备与所述音频输出设备建立无线通信连接之后,所述音频中转设备获取目标广播音频数据;After the audio relay device establishes a wireless communication connection with the audio output device, the audio relay device acquires target broadcast audio data;若所述音频中转设备的当前状态为输出初始音频数据,则所述音频中转设备根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据;If the current state of the audio relay device is to output initial audio data, then the audio relay device generates audio data to be transmitted according to the initial audio data and the target broadcast audio data;所述音频中转设备将所述待传输音频数据发送至所述音频输出设备;The audio relay device sends the audio data to be transmitted to the audio output device;所述音频输出设备播放所述待传输音频数据。The audio output device plays the audio data to be transmitted.2.根据权利要求1所述的方法,其特征在于,所述音频中转设备根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据,包括:2. The method according to claim 1, wherein the audio relay device generates audio data to be transmitted according to the initial audio data and the target broadcast audio data, comprising:对所述初始音频数据和所述目标广播音频数据进行混音处理,生成混音后音频数据;其中,所述混音后数据包括第一识别等级的目标广播音频数据和第二识别等级的初始音频数据;所述第一识别等级大于所述第二识别等级;Mixing processing is performed on the initial audio data and the target broadcast audio data to generate mixed audio data; wherein the mixed data includes the target broadcast audio data of the first recognition level and the initial recognition level of the second recognition level. audio data; the first recognition level is greater than the second recognition level;将所述混音后音频数据作为所述待传输音频数据。The mixed audio data is used as the audio data to be transmitted.3.根据权利要求2所述的方法,其特征在于,所述对所述初始音频数据和所述目标广播音频数据进行混音处理,生成混音后音频数据,包括:3. The method according to claim 2, wherein said initial audio data and said target broadcast audio data are mixed and processed to generate audio data after mixing, comprising:按照第一权重值对所述目标广播音频数据进行音量调节处理,获得第一音量的目标广播音频数据;Perform volume adjustment processing on the target broadcast audio data according to the first weight value to obtain target broadcast audio data with a first volume;按照第二权重值对所述初始音频数据进行音量调节处理,获得第二音量的初始音频数据;Perform volume adjustment processing on the initial audio data according to the second weight value to obtain initial audio data of the second volume;基于所述第一音量的目标广播音频数据和所述第二音量的初始音频数据生成所述混音后音频数据;generating the mixed audio data based on the target broadcast audio data of the first volume and the initial audio data of the second volume;相应地,所述音频输出设备播放所述待传输音频数据,包括:Correspondingly, the audio output device playing the audio data to be transmitted includes:按照所述第一音量播放所述目标广播音频数据,同时按照所述第二音量播放所述初始音频数据。The target broadcast audio data is played at the first volume, and the initial audio data is played at the second volume at the same time.4.根据权利要求1所述的方法,其特征在于,所述音频中转设备根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据,包括:4. The method according to claim 1, wherein the audio relay device generates audio data to be transmitted according to the initial audio data and the target broadcast audio data, comprising:直接将所述初始音频数据和所述目标广播音频数据作为所述待传输音频数据。The initial audio data and the target broadcast audio data are directly used as the audio data to be transmitted.5.根据权利要求4所述的方法,其特征在于,所述音频中转设备将所述待传输音频数据发送至所述音频输出设备,包括:5. The method according to claim 4, wherein the audio relay device sends the audio data to be transmitted to the audio output device, comprising:停止所述初始音频数据的输出,将所述目标广播音频数据发送至所述音频输出设备,以使所述音频输出设备播放所述目标广播音频数据;Stop the output of the initial audio data, and send the target broadcast audio data to the audio output device, so that the audio output device plays the target broadcast audio data;在所述目标广播音频数据发送完成之后,继续向所述音频输出设备发送所述初始音频数据,以使所述音频输出设备继续播放所述初始音频数据。After the target broadcast audio data is sent, continue to send the initial audio data to the audio output device, so that the audio output device continues to play the initial audio data.6.根据权利要求1所述的方法,其特征在于,所述音频中转设备获取目标广播音频数据之后,所述方法还包括:6. The method according to claim 1, wherein after the audio relay device acquires the target broadcast audio data, the method further comprises:若所述音频中转设备的当前状态为未输出初始音频数据,则所述音频中转设备向所述音频输出设备发送所述目标广播音频数据;If the current state of the audio relay device is that the initial audio data is not output, the audio relay device sends the target broadcast audio data to the audio output device;所述音频输出设备播放所述待传输音频数据。The audio output device plays the audio data to be transmitted.7.根据权利要求1所述的方法,其特征在于,所述音频中转设备获取目标广播音频数据,包括:7. The method according to claim 1, wherein the audio relay device obtains target broadcast audio data, comprising:接收广播设备发送的无线广播信号;Receive wireless broadcast signals sent by broadcast equipment;对所述无线广播信号进行解码处理,获得所述目标广播音频数据。Decoding the wireless broadcast signal to obtain the target broadcast audio data.8.根据权利要求7所述的方法,其特征在于,所述接收广播设备发送的无线广播信号,包括:8. The method according to claim 7, wherein the receiving a wireless broadcast signal sent by a broadcast device comprises:获取所述广播设备对应的音频接收参数;其中,所述音频接收参数包括加密参数和/或优先级别;Acquire audio reception parameters corresponding to the broadcasting device; wherein, the audio reception parameters include encryption parameters and/or priority levels;基于所述音频接收参数接收所述无线广播信号。The wireless broadcast signal is received based on the audio reception parameters.9.根据权利要求7所述的方法,其特征在于,所述广播设备包括第一设备和第二设备,所述音频中转设备配置第一接收天线和第二接收天线,所述接收广播设备发送的无线广播信号,包括:9 . The method according to claim 7 , wherein the broadcasting device comprises a first device and a second device, the audio relay device is configured with a first receiving antenna and a second receiving antenna, and the broadcasting receiving device sends the wireless broadcast signals, including:通过所述第一接收天线接收所述第一设备发送的第一无线广播信号;receiving the first wireless broadcast signal sent by the first device through the first receiving antenna;通过所述第二接收天线接收所述第二设备发送的第二无线广播信号。The second wireless broadcast signal sent by the second device is received through the second receiving antenna.10.根据权利要求1所述的方法,其特征在于,所述音频中转设备获取目标广播音频数据,包括:10. The method according to claim 1, wherein the acquisition of target broadcast audio data by the audio relay device comprises:利用声音采集模块采集广播设备播放的当前广播音频数据,并检测当前位置状态;Use the sound acquisition module to collect the current broadcast audio data played by the broadcast equipment, and detect the current location status;若所述当前位置状态为目标位置,则将所述当前广播音频数据确定为所述目标广播音频数据。If the current location state is the target location, the current broadcast audio data is determined as the target broadcast audio data.11.根据权利要求1所述的方法,其特征在于,所述目标广播音频数据为广播同步组BIG数据或广播同步组信息BIS数据。The method according to claim 1, wherein the target broadcast audio data is broadcast synchronization group BIG data or broadcast synchronization group information BIS data.12.一种音频传输系统,其特征在于,所述音频传输系统包括音频中转设备和音频输出设备,所述音频中转设备包括获取单元、生成单元、发送单元;所述音频输出设备包括播放单元,12. An audio transmission system, characterized in that, the audio transmission system comprises an audio relay device and an audio output device, and the audio relay device comprises an acquisition unit, a generation unit, and a transmission unit; the audio output device comprises a playback unit,所述获取单元,用于在所述音频中转设备与所述音频输出设备建立无线通信连接之后,获取目标广播音频数据;the acquiring unit, configured to acquire target broadcast audio data after the audio relay device and the audio output device establish a wireless communication connection;所述生成单元,用于若所述音频中转设备的当前状态为输出初始音频数据,则根据所述初始音频数据和所述目标广播音频数据生成待传输音频数据;The generating unit is used to generate audio data to be transmitted according to the initial audio data and the target broadcast audio data if the current state of the audio relay device is to output initial audio data;所述发送单元,用于将所述待传输音频数据发送至所述音频输出设备;the sending unit, configured to send the audio data to be transmitted to the audio output device;所述播放单元,用于播放所述待传输音频数据。The playing unit is used to play the audio data to be transmitted.13.一种音频传输系统,其特征在于,所述音频传输系统包括音频中转设备和音频输出设备,所述音频中转设备包括第一处理器和存储有所述第一处理器可执行指令的第一存储器,所述音频输出设备包括第二处理器和存储有所述第二处理器可执行指令的第二存储器,当所述指令被所述第一处理器和所述第二处理器执行时,实现如权利要求1-11任一项所述的方法。13. An audio transmission system, characterized in that the audio transmission system comprises an audio relay device and an audio output device, and the audio relay device comprises a first processor and a first processor that stores executable instructions of the first processor. a memory, the audio output device including a second processor and a second memory storing instructions executable by the second processor when the instructions are executed by the first processor and the second processor , implementing the method according to any one of claims 1-11.14.一种芯片,其特征在于,所述芯片应用于音频传输系统,所述芯片包括设置于音频中转设备的第一芯片和设置于音频输出设备的第二芯片,所述第一芯片包括第一处理器和第一接口,所述第二芯片包括第二处理器和第二接口,所述第一处理器通过所述第一接口获取第一程序指令,所述第二处理器通过所述第二接口获取第二程序指令,所述第一处理器和所述第二处理器通过运行所述第一程序指令和所述第二程序指令,以执行如权利要求1-11任一项所述的方法。14. A chip, characterized in that the chip is applied to an audio transmission system, and the chip includes a first chip arranged in an audio relay device and a second chip arranged in an audio output device, and the first chip includes a first chip. A processor and a first interface, the second chip includes a second processor and a second interface, the first processor obtains a first program instruction through the first interface, and the second processor obtains a first program instruction through the first interface The second interface obtains a second program instruction, and the first processor and the second processor execute the first program instruction and the second program instruction by running the first program instruction and the second program instruction to execute any one of claims 1-11. method described.15.一种芯片,其特征在于,所述芯片应用于音频中转设备,所述芯片包括处理器和接口,所述处理器通过所述接口获取程序指令,所述处理器通过运行所述程序指令,以执行如权利要求1-11任一项所述的方法。15. A chip, characterized in that the chip is applied to an audio relay device, the chip comprises a processor and an interface, the processor obtains program instructions through the interface, and the processor executes the program instructions by running the program instructions. , to perform the method of any one of claims 1-11.16.一种计算机可读存储介质,其上存储有程序,应用于音频传输系统,所述音频传输系统包括音频中转设备和音频输出设备,其特征在于,所述程序被所述音频中转设备中的第一处理器和所述音频输出设备中的第二处理器执行时,实现如权利要求1-11任一项所述的方法。16. A computer-readable storage medium having a program stored thereon, applied to an audio transmission system, the audio transmission system comprising an audio relay device and an audio output device, wherein the program is stored in the audio relay device. When executed by the first processor of the audio output device and the second processor in the audio output device, the method according to any one of claims 1-11 is implemented.
CN202110237272.3A2021-03-032021-03-03Audio transmission method and system, chip and storage mediumWithdrawnCN115037398A (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN202110237272.3ACN115037398A (en)2021-03-032021-03-03Audio transmission method and system, chip and storage medium
PCT/CN2022/077440WO2022183950A1 (en)2021-03-032022-02-23Audio transmission method and system, and chip and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110237272.3ACN115037398A (en)2021-03-032021-03-03Audio transmission method and system, chip and storage medium

Publications (1)

Publication NumberPublication Date
CN115037398Atrue CN115037398A (en)2022-09-09

Family

ID=83117740

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110237272.3AWithdrawnCN115037398A (en)2021-03-032021-03-03Audio transmission method and system, chip and storage medium

Country Status (2)

CountryLink
CN (1)CN115037398A (en)
WO (1)WO2022183950A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116088390A (en)*2023-02-232023-05-09展讯通信(上海)有限公司 Audio processing method, device and electronic equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115967706A (en)*2022-12-232023-04-14广东汇天航空航天科技有限公司 Data transmission method, device, vehicle and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101197128A (en)*2007-12-292008-06-11沈侃Portable singing system with monitoring function
CN103414982A (en)*2013-07-312013-11-27北京小米科技有限责任公司Method and device for offering voice
US20140242964A1 (en)*2013-02-262014-08-28Samsung Electronics Co., Ltd.Application control method and apparatus for mobile terminal, earphone device and application control system
CN106791109A (en)*2016-12-232017-05-31维沃移动通信有限公司A kind of sound prompting method and mobile terminal
CN107948801A (en)*2017-12-212018-04-20广东小天才科技有限公司Earphone control method and earphone
CN109379483A (en)*2018-09-072019-02-22平安科技(深圳)有限公司Prevent the method, apparatus and system of earphone isolation prompt information
CN110809219A (en)*2019-11-262020-02-18广州酷狗计算机科技有限公司Method, device and equipment for playing audio and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR100335613B1 (en)*1999-11-122002-05-08윤종용Apparatus and method for transmission of a sound
JP2009300915A (en)*2008-06-172009-12-24Fujitsu LtdMobile terminal with music playback function
CN105554664A (en)*2015-12-222016-05-04王晓晖Headset based sound processing method and apparatus, and headset
CN212211362U (en)*2020-07-212020-12-22乐行装备(深圳)有限公司Bluetooth headset with alarm reminding function

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101197128A (en)*2007-12-292008-06-11沈侃Portable singing system with monitoring function
US20140242964A1 (en)*2013-02-262014-08-28Samsung Electronics Co., Ltd.Application control method and apparatus for mobile terminal, earphone device and application control system
CN103414982A (en)*2013-07-312013-11-27北京小米科技有限责任公司Method and device for offering voice
CN106791109A (en)*2016-12-232017-05-31维沃移动通信有限公司A kind of sound prompting method and mobile terminal
CN107948801A (en)*2017-12-212018-04-20广东小天才科技有限公司Earphone control method and earphone
CN109379483A (en)*2018-09-072019-02-22平安科技(深圳)有限公司Prevent the method, apparatus and system of earphone isolation prompt information
CN110809219A (en)*2019-11-262020-02-18广州酷狗计算机科技有限公司Method, device and equipment for playing audio and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116088390A (en)*2023-02-232023-05-09展讯通信(上海)有限公司 Audio processing method, device and electronic equipment

Also Published As

Publication numberPublication date
WO2022183950A1 (en)2022-09-09

Similar Documents

PublicationPublication DateTitle
JP7137635B2 (en) Headphone wireless communication method, main headphone, slave headphone and headphone system
CN108337595B (en)Bluetooth headset realizes the method being precisely played simultaneously
CN107659551B (en)System and method for audio communication using LTE
CN113906773B (en)Channel selection method and device for low-power consumption Bluetooth equipment
CN103686619B (en)Quick cluster business establishment method and related equipment and system
CN104507005B (en)The packet control process and system of wireless sound box
CN110248341A (en)Transmission rate switching method, bluetooth equipment and computer-readable medium
CN109166578A (en)Mobile terminal, sound control method and Related product
WO2018152908A1 (en)Method and device for identifying voice source from bluetooth headset
CN106452512A (en) A method and device for role switching based on Bluetooth connection
CN109714782A (en)Method, apparatus and electronic equipment for smart machine distribution
CN107040874A (en)Method, device and the bluetooth equipment of blue-teeth data simultaneously operating
WO2022183950A1 (en)Audio transmission method and system, and chip and storage medium
WO2022233294A1 (en)Communication method and apparatus and electronic device
WO2021218563A1 (en)Method and device for transmitting data
CN112105005B (en)Method and device for controlling Bluetooth equipment to play
CN111049709A (en)Bluetooth-based interconnected loudspeaker box control method, equipment and storage medium
CN105120436A (en) Implementation method and mobile terminal of a cellular audio system
WO2012151735A1 (en)Transmission mode configuration method, user equipment and base station thereof
WO2015154460A1 (en)Audio data recording method and apparatus
CN113519176B (en) A communication method, communication device and terminal
WO2014183499A1 (en)Voice call implementation method and device
CN111565369B (en) A communication method, device and system
CN105635431A (en)Incoming call processing method, incoming call processing apparatus and terminal
TWI798890B (en)Bluetooth voice communication system and related computer program product for generating stereo voice effect

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
WW01Invention patent application withdrawn after publication
WW01Invention patent application withdrawn after publication

Application publication date:20220909


[8]ページ先頭

©2009-2025 Movatter.jp