





技术领域technical field
本申请涉及蓝牙技术,尤其涉及一种蓝牙传输的控制方法、装置、移动终端及存储介质。The present application relates to Bluetooth technology, and in particular, to a control method, device, mobile terminal and storage medium for Bluetooth transmission.
背景技术Background technique
目前,用户使用车载终端进行导航的应用场景日趋增多。使用车载终端导航时,导航音频数据为时间间隔性的短音频数据,占空比较低。现有中蓝牙协议栈会针对每段音频数据进行独立处理。移动终端有音频数据需要发送给车载终端时,终端进入音视频分发传输协议(Audio/Video Distribution Transport Protocol,AVDTP)流开启状态,开始传输音频数据;音频数据传输结束,终端会进入音视频分发传输协议流关闭状态;直到下一段音频数据传输时,重新进入音视频分发传输协议流启动状态,才可以进行音频数据的传输,如此循环,直至导航结束。然而,这种传输方式可能导致音频数据出现丢字问题。例如“前方150米左转”,实际播放出“方150米左转”。At present, there are more and more application scenarios in which users use in-vehicle terminals for navigation. When using the in-vehicle terminal for navigation, the navigation audio data is short audio data at intervals with a low duty cycle. In the existing Bluetooth protocol stack, each piece of audio data is processed independently. When the mobile terminal has audio data that needs to be sent to the vehicle terminal, the terminal enters the Audio/Video Distribution Transport Protocol (AVDTP) stream open state and starts to transmit audio data; when the audio data transmission ends, the terminal will enter the audio and video distribution and transmission state. The protocol stream is closed; until the next audio data is transmitted, the audio and video distribution transmission protocol stream is re-entered, and the audio data can be transmitted, and this cycle is repeated until the navigation ends. However, this transmission method can lead to loss of words in the audio data. For example, "Turn left 150 meters ahead" will actually play "Turn left 150 meters ahead".
发明内容SUMMARY OF THE INVENTION
本申请期望提供一种蓝牙传输的控制方法、装置、设备及存储介质。The present application desires to provide a control method, apparatus, device and storage medium for Bluetooth transmission.
本申请的技术方案是这样实现的:The technical solution of the present application is realized as follows:
第一方面,提供了一种蓝牙传输的控制方法,所述方法包括:In a first aspect, a method for controlling Bluetooth transmission is provided, the method comprising:
建立与车载终端之间的蓝牙连接;Establish a Bluetooth connection with the vehicle terminal;
确定地图应用处于导航模式时,控制音频数据传输状态维持在开启状态;When it is determined that the map application is in navigation mode, the control audio data transmission state is maintained in the open state;
在所述音频数据传输状态处于所述开启状态时,基于所述蓝牙连接将多段音频数据传输至所述车载终端。When the audio data transmission state is in the on state, multiple pieces of audio data are transmitted to the vehicle terminal based on the Bluetooth connection.
第二方面,提供了一种蓝牙传输的控制装置,所述装置包括:In a second aspect, a device for controlling Bluetooth transmission is provided, the device comprising:
通信单元,用于建立与车载终端之间的蓝牙连接;a communication unit for establishing a Bluetooth connection with the vehicle terminal;
确定单元,用于确定地图应用处于导航模式时,控制音频数据传输状态维持在开启状态;a determining unit, used to determine that when the map application is in the navigation mode, the audio data transmission state is controlled to be kept in the open state;
传输单元,用于在所述音频数据传输状态处于所述开启状态时,基于所述蓝牙连接将多段音频数据传输至所述车载终端。A transmission unit, configured to transmit multiple pieces of audio data to the vehicle-mounted terminal based on the Bluetooth connection when the audio data transmission state is in the open state.
第三方面,提供了一种移动终端,包括:处理器和配置为存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器配置为运行所述计算机程序时,执行第一方面的方法的步骤。In a third aspect, a mobile terminal is provided, comprising: a processor and a memory configured to store a computer program executable on the processor, wherein the processor is configured to execute the first aspect when the computer program is executed steps of the method.
第四方面,提供了一种计算机可读存储介质,其上存储有计算机程序,其中,该计算机程序被处理器执行时实现第一方面的方法的步骤。In a fourth aspect, there is provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method of the first aspect.
本申请实施例提供一种蓝牙传输的控制方法、装置、移动终端及存储介质,当确定地图应用处于导航模式时,说明移动终端需要频繁向车载终端传输音频数据,通过控制音频数据传输状态维持在开启状态,这样移动终端能够实时并且完整的将多段音频数据传输至车载终端,使得车载终端播放出完整的音频数据,且音画同步,提升用户导航时的音频播放效果。The embodiments of the present application provide a Bluetooth transmission control method, device, mobile terminal, and storage medium. When it is determined that the map application is in the navigation mode, it means that the mobile terminal needs to transmit audio data to the vehicle terminal frequently, and the audio data transmission state is maintained at In the open state, the mobile terminal can transmit multi-segment audio data to the vehicle terminal in real time and completely, so that the vehicle terminal can play the complete audio data, and the audio and video are synchronized, which improves the audio playback effect when the user navigates.
附图说明Description of drawings
图1为本申请实施例中提供的一种蓝牙传输的控制方法的第一流程示意图;FIG. 1 is a first schematic flowchart of a method for controlling Bluetooth transmission provided in an embodiment of the application;
图2为本申请实施例中提供的一种蓝牙连接示意图;FIG. 2 is a schematic diagram of a Bluetooth connection provided in an embodiment of the present application;
图3为本申请实施例中提供的一种蓝牙传输的控制方法的第二流程示意图;3 is a second schematic flowchart of a method for controlling Bluetooth transmission provided in an embodiment of the application;
图4为本申请实施例中提供的一种蓝牙传输的控制方法的第三流程示意图;4 is a third schematic flowchart of a method for controlling Bluetooth transmission provided in an embodiment of the application;
图5为本申请实施例中提供的一种蓝牙传输的控制装置组成结构的示意图;FIG. 5 is a schematic diagram of the composition structure of a control device for Bluetooth transmission provided in an embodiment of the application;
图6为本申请实施例中提供的一种移动终端组成结构的示意图。FIG. 6 is a schematic diagram of a composition structure of a mobile terminal provided in an embodiment of the present application.
具体实施方式Detailed ways
为了能够更加详尽地了解本申请实施例的特点与技术内容,下面结合附图对本申请实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本申请实施例。In order to have a more detailed understanding of the features and technical contents of the embodiments of the present application, the implementation of the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
本申请实施例提供了一种蓝牙传输的控制方法,图1为本申请实施例中提供的一种蓝牙传输的控制方法的第一流程示意图,该蓝牙传输的控制方法应用于移动终端。An embodiment of the present application provides a method for controlling Bluetooth transmission. FIG. 1 is a first schematic flowchart of a method for controlling Bluetooth transmission provided in an embodiment of the present application. The method for controlling Bluetooth transmission is applied to a mobile terminal.
如图1所示,该蓝牙传输的控制方法具体可以包括:As shown in FIG. 1 , the control method of the Bluetooth transmission may specifically include:
步骤101:建立与车载终端之间的蓝牙连接。Step 101: Establish a Bluetooth connection with the vehicle terminal.
在一些实施例中,所述建立与车载终端之间的蓝牙连接,包括:建立与所述车载终端之间的蓝牙物理链路(Asynchronous Connection Link,ACL)连接;及建立与所述车载终端之间的逻辑链路控制与适配协议(Logical Link Control and Adaptation Protocol,L2CAP)连接;及建立与所述车载终端之间的音频/视频分发传输协议(Audio/VideoDistribution Transport Protocol,AVDTP)连接;及建立与所述车载终端之间的蓝牙音频传输协议(Advanced Audio Distribution Profile,A2DP)连接。In some embodiments, the establishing a Bluetooth connection with the in-vehicle terminal includes: establishing a Bluetooth physical link (Asynchronous Connection Link, ACL) connection with the in-vehicle terminal; and establishing a connection with the in-vehicle terminal The logical link control and adaptation protocol (Logical Link Control and Adaptation Protocol, L2CAP) connection between; And establish the audio/video distribution transport protocol (Audio/VideoDistribution Transport Protocol, AVDTP) connection with the vehicle terminal; And A Bluetooth audio transmission protocol (Advanced Audio Distribution Profile, A2DP) connection with the vehicle terminal is established.
图2为本申请实施例中提供的一种蓝牙连接示意图,如图2所示,L2CAP层位于ACL层的上层,AVDTP层位于L2CAP层的上层,A2DP层位于AVDTP层的上层。这里,在ACL层建立移动终端与车载终端之间的ACL连接;在建立ACL连接的基础上,在L2CAP层建立移动终端与车载终端之间的L2CAP连接;在建立L2CAP连接的基础上,在AVDTP层建立移动终端与车载终端之间的AVDTP连接;在建立AVDTP连接的基础上,在A2DP层建立移动终端与车载终端之间A2DP连接。FIG. 2 is a schematic diagram of a Bluetooth connection provided in an embodiment of the application. As shown in FIG. 2 , the L2CAP layer is located above the ACL layer, the AVDTP layer is located above the L2CAP layer, and the A2DP layer is located above the AVDTP layer. Here, the ACL connection between the mobile terminal and the vehicle terminal is established at the ACL layer; on the basis of establishing the ACL connection, the L2CAP connection between the mobile terminal and the vehicle terminal is established at the L2CAP layer; on the basis of establishing the L2CAP connection, the AVDTP Layer establishes the AVDTP connection between the mobile terminal and the vehicle terminal; on the basis of establishing the AVDTP connection, the A2DP connection between the mobile terminal and the vehicle terminal is established at the A2DP layer.
这里,在A2DP层用于对从音频模块发送的音频数据进行编码,得到音频流,并传输至AVDTP层;在AVDTP层用于对音频流进行封装后,传输至L2CAP层;在L2CAP层用于再次对音频流进行封装后,传输至ACL层;在ACL层用于将音频流从移动终端传输至车载终端。示例,编码方式可以是脉冲编码调制(Pulse Code Modulation,PCM)、自适应差分脉冲编码调制(Adaptive Differential Pulse Code Modulation,ADPC)。Here, the A2DP layer is used to encode the audio data sent from the audio module to obtain an audio stream and transmitted to the AVDTP layer; the AVDTP layer is used to encapsulate the audio stream and then transmitted to the L2CAP layer; the L2CAP layer is used to After the audio stream is encapsulated again, it is transmitted to the ACL layer; the ACL layer is used to transmit the audio stream from the mobile terminal to the vehicle terminal. For example, the encoding method may be pulse code modulation (Pulse Code Modulation, PCM), adaptive differential pulse code modulation (Adaptive Differential Pulse Code Modulation, ADPC).
步骤102:确定地图应用处于导航模式时,控制音频数据传输状态维持在开启状态。Step 102: When it is determined that the map application is in the navigation mode, the control audio data transmission state is maintained in the open state.
需要说明的是,本申请实施例中当确定地图应用处于导航模式时,说明移动终端需要频繁向车载终端传输音频数据,通过控制音频数据传输状态维持在开启状态,这样移动终端能够实时并且完整的将音频数据传输至车载终端,使得车载终端播放出完整的音频数据,即解决音频数据丢字问题。It should be noted that, in the embodiment of the present application, when it is determined that the map application is in the navigation mode, it means that the mobile terminal needs to transmit audio data to the vehicle terminal frequently, and the audio data transmission state is controlled to be kept in the open state, so that the mobile terminal can complete real-time and complete transmission of audio data. The audio data is transmitted to the in-vehicle terminal, so that the in-vehicle terminal can play the complete audio data, that is, the problem of lost words in the audio data is solved.
在一种可能的实现方式中,通过检测地图应用的状态,确定地图应用是否处于导航模式。In a possible implementation manner, it is determined whether the map application is in the navigation mode by detecting the state of the map application.
在另一种可能的实现方式中,地图应用被用户打开时,记录预设时长内音频数据传输次数,通过音频数据传输次数确定地图应用是否处于导航模式。In another possible implementation manner, when the map application is opened by the user, the number of times of audio data transmission within a preset time period is recorded, and whether the map application is in the navigation mode is determined by the number of times of audio data transmission.
在一些实施例中,所述控制音频数据传输状态维持在开启状态,包括:检测所述音频数据传输状态;若所述音频数据传输状态为所述开启状态,控制所述音频数据传输状态维持在所述开启状态;若所述音频数据传输状态为关闭状态,等待从所述关闭状态切换至所述开启状态后,控制所述音频数据传输状态维持在所述开启状态。In some embodiments, the controlling the audio data transmission state to be maintained in the ON state includes: detecting the audio data transmission state; if the audio data transmission state is the ON state, controlling the audio data transmission state to be maintained in the ON state the on state; if the audio data transmission state is the off state, after waiting for switching from the off state to the on state, the audio data transmission state is controlled to remain in the on state.
也就是说,音频数据传输状态为开启状态时,说明移动终端正在向车载终端传输音频数据,该音频数据传输完成后,继续控制移动终端的音频数据传输状态维持在开启状态。音频数据传输状态为关闭状态时,说明移动终端此时并未向车载终端传输音频数据,等待移动终端有音频数据需要传输至车载终端时,控制音频数据传输状态从关闭状态切换至开启状态,等待该音频数据传输完成后,继续控制移动终端的音频数据传输状态维持在开启状态。这样可保证移动终端能够实时并且完整的将音频数据传输至车载终端。音频数据传输状态维持在开启状态时,两段音频数据所间隔时间内,移动终端无音频数据传输,此时车载终端也无需播放。That is to say, when the audio data transmission state is on, it means that the mobile terminal is transmitting audio data to the vehicle-mounted terminal. After the audio data transmission is completed, continue to control the audio data transmission state of the mobile terminal to remain in the on state. When the audio data transmission status is OFF, it means that the mobile terminal is not transmitting audio data to the vehicle terminal at this time. When the mobile terminal has audio data to be transmitted to the vehicle terminal, control the audio data transmission status to switch from OFF to ON, and wait. After the audio data transmission is completed, the audio data transmission state of the mobile terminal is continuously controlled to be maintained in the open state. This ensures that the mobile terminal can transmit audio data to the vehicle terminal in real time and completely. When the audio data transmission state is maintained in the open state, the mobile terminal does not transmit audio data within the interval between two pieces of audio data, and the in-vehicle terminal does not need to play at this time.
在一些实施例中,所述确定地图应用处于导航模式时,音频数据传输状态维持在开启状态之后,所述方法还包括:确定所述地图应用由所述导航模式切换至非导航模式;确定存在其他音频数据需要传输;当检测到音频数据停止传输操作时,控制所述音频数据传输状态由所述开启状态切换至关闭状态。In some embodiments, after the determining that the map application is in the navigation mode, the audio data transmission state is maintained in the on state, the method further includes: determining that the map application is switched from the navigation mode to the non-navigation mode; determining that there is Other audio data needs to be transmitted; when it is detected that the audio data stops the transmission operation, the audio data transmission state is controlled to be switched from the on state to the off state.
也就是说,确定地图应用由导航模式切换至非导航模式时,说明用户已退出地图应用,若此时检测到其他音频数据需要传输,如播放音乐,音乐应用正常播放音乐。若播放音乐过程中检测到音频数据停止传输操作,则停止播放音乐。示例,音频停止操作可以是用户通过语音指令控制,或者点击停止按键。That is to say, when it is determined that the map application is switched from the navigation mode to the non-navigation mode, it means that the user has exited the map application. If it is detected that other audio data needs to be transmitted, such as playing music, the music application plays music normally. If the audio data stop transmission operation is detected during the music playing, the music will be stopped. For example, the audio stop operation may be controlled by the user through a voice command, or click the stop button.
步骤103:在所述音频数据传输状态处于所述开启状态时,基于所述蓝牙连接将多段音频数据传输至所述车载终端。Step 103: When the audio data transmission state is in the ON state, transmit multiple pieces of audio data to the vehicle terminal based on the Bluetooth connection.
结合图2所示,移动终端基于ACL连接将音频流传输至车载终端,车载终端接收到音频流,并将音频流从LAC层传输至L2CAP层进行一次解封装操作,将解封装后的音频流从L2CAP层传输至AVDTP层进行二次解封装操作,将再次解封装后的音频流从AVDTP层传输至A2DP层,进行解码操作,得到音频数据并进行播放。As shown in Figure 2, the mobile terminal transmits the audio stream to the vehicle terminal based on the ACL connection, the vehicle terminal receives the audio stream, and transmits the audio stream from the LAC layer to the L2CAP layer for a decapsulation operation, and the decapsulated audio stream is decapsulated. It is transmitted from the L2CAP layer to the AVDTP layer for secondary decapsulation operation, and the decapsulated audio stream is transmitted from the AVDTP layer to the A2DP layer for decoding operation to obtain audio data and play it.
这里,步骤101至步骤103的执行主体可以为移动终端的处理器。Here, the execution subject of
采用上述技术方案,当确定地图应用处于导航模式时,说明移动终端需要频繁向车载终端传输音频数据,通过控制音频数据传输状态维持在开启状态,这样移动终端能够实时并且完整的将多段音频数据传输至车载终端,使得车载终端播放出完整的音频数据,且音画同步,提升用户导航时的音频播放效果。With the above technical solution, when it is determined that the map application is in the navigation mode, it means that the mobile terminal needs to transmit audio data to the vehicle terminal frequently. By controlling the audio data transmission state to maintain the open state, the mobile terminal can transmit the multi-segment audio data in real time and completely. To the in-vehicle terminal, the in-vehicle terminal can play the complete audio data, and the audio and video are synchronized, which improves the audio playback effect when the user navigates.
为了能更加体现本申请的目的,在本申请上述实施例的基础上,进行进一步的举例说明,图3为本申请实施例中提供的一种蓝牙传输的控制方法的第二流程示意图,该蓝牙传输的控制方法应用于移动终端。In order to better reflect the purpose of the present application, on the basis of the above-mentioned embodiments of the present application, further examples are given. FIG. 3 is a second schematic flowchart of a Bluetooth transmission control method provided in the embodiments of the present application. The transmission control method is applied to the mobile terminal.
如图3所示,该蓝牙传输的控制方法具体可以包括:As shown in FIG. 3 , the control method of the Bluetooth transmission may specifically include:
步骤301:建立与车载终端之间的蓝牙连接。Step 301: Establish a Bluetooth connection with the vehicle terminal.
在一些实施例中,所述建立与车载终端之间的蓝牙连接,包括:建立与所述车载终端之间的蓝牙物理链路(Asynchronous Connection Link,ACL)连接;及建立与所述车载终端之间的逻辑链路控制与适配协议(Logical Link Control and Adaptation Protocol,L2CAP)连接;及建立与所述车载终端之间的音频/视频分发传输协议(Audio/VideoDistribution Transport Protocol,AVDTP)连接;及建立与所述车载终端之间的蓝牙音频传输协议(Advanced Audio Distribution Profile,A2DP)连接。In some embodiments, the establishing a Bluetooth connection with the in-vehicle terminal includes: establishing a Bluetooth physical link (Asynchronous Connection Link, ACL) connection with the in-vehicle terminal; and establishing a connection with the in-vehicle terminal The logical link control and adaptation protocol (Logical Link Control and Adaptation Protocol, L2CAP) connection between; And establish the audio/video distribution transport protocol (Audio/VideoDistribution Transport Protocol, AVDTP) connection with the vehicle terminal; And A Bluetooth audio transmission protocol (Advanced Audio Distribution Profile, A2DP) connection with the vehicle terminal is established.
结合图2所示,L2CAP层位于ACL层的上层,AVDTP层位于L2CAP层的上层,A2DP层位于AVDTP层的上层。这里,在ACL层建立移动终端与车载终端之间的ACL连接;在建立ACL连接的基础上,在L2CAP层建立移动终端与车载终端之间的L2CAP连接;在建立L2CAP连接的基础上,在AVDTP层建立移动终端与车载终端之间的AVDTP连接;在建立AVDTP连接的基础上,在A2DP层建立移动终端与车载终端之间A2DP连接。As shown in Figure 2, the L2CAP layer is located above the ACL layer, the AVDTP layer is located above the L2CAP layer, and the A2DP layer is located above the AVDTP layer. Here, the ACL connection between the mobile terminal and the vehicle terminal is established at the ACL layer; on the basis of establishing the ACL connection, the L2CAP connection between the mobile terminal and the vehicle terminal is established at the L2CAP layer; on the basis of establishing the L2CAP connection, the AVDTP Layer establishes the AVDTP connection between the mobile terminal and the vehicle terminal; on the basis of establishing the AVDTP connection, the A2DP connection between the mobile terminal and the vehicle terminal is established at the A2DP layer.
这里,在A2DP层用于对从音频模块发送的音频数据进行编码,得到音频流,并传输至AVDTP层;在AVDTP层用于对音频流进行封装后,传输至L2CAP层;在L2CAP层用于再次对音频流进行封装后,传输至ACL层;在ACL层用于将音频流从移动终端传输至车载终端。示例,编码方式可以PCM编码、ADPC编码。Here, the A2DP layer is used to encode the audio data sent from the audio module to obtain an audio stream and transmitted to the AVDTP layer; the AVDTP layer is used to encapsulate the audio stream and then transmitted to the L2CAP layer; the L2CAP layer is used to After the audio stream is encapsulated again, it is transmitted to the ACL layer; the ACL layer is used to transmit the audio stream from the mobile terminal to the vehicle terminal. For example, the encoding method may be PCM encoding or ADPC encoding.
步骤302:检测到应用切换操作时,获取正在打开的应用的包名。Step 302: When an application switching operation is detected, obtain the package name of the application being opened.
即检测到应用切换操作时,说明由第一应用切换至第二应用(即正在打开的应用),第一应用与第二应用不是同一个应用,此时获取正在打开的应用的包名,用于确定正在打开的应用为具备哪种功能的应用。示例,若正在打开的应用为具备导航功能的应用,则确定正在打开的应用为地图应用。That is, when an application switching operation is detected, it means that the first application is switched to the second application (that is, the application being opened), and the first application and the second application are not the same application. It is used to determine what kind of function the open application is. For example, if the application being opened is an application with a navigation function, it is determined that the application being opened is a map application.
步骤303:根据所述包名确定正在打开的应用为所述地图应用时,记录预设时长内音频数据传输次数。Step 303: When it is determined according to the package name that the application being opened is the map application, record the number of times of audio data transmission within a preset time period.
这里,确定正在打开的应用为地图应用时,每向车载终端传输一次音频数据,设置音频数据传输次数加一,预设时长(如2分钟)时,得到预设时长内音频数据传输次数。Here, when it is determined that the application being opened is a map application, each time audio data is transmitted to the in-vehicle terminal, the number of audio data transmissions is set to increase by one, and when the preset duration (eg, 2 minutes), the number of audio data transmissions within the preset duration is obtained.
步骤304:基于所述音频数据传输次数确定所述地图应用处于导航模式。Step 304: Determine that the map application is in a navigation mode based on the audio data transmission times.
在一些实施例中,所述基于所述音频数据传输次数确定所述地图应用处于导航模式,包括:所述音频数据传输次数大于或者等于预设次数时,确定所述地图应用处于导航模式。所述方法还包括:所述音频数据传输次数小于所述预设次数时,确定所述地图应用处于非导航模式。In some embodiments, the determining that the map application is in the navigation mode based on the audio data transmission times includes: determining that the map application is in the navigation mode when the audio data transmission times is greater than or equal to a preset number of times. The method further includes: when the number of times of audio data transmission is less than the preset number of times, determining that the map application is in a non-navigation mode.
即确定地图应用处于导航模式的条件是:音频数据传输次数大于或者等于预设次数。这里,预设次数可以是用于确定地图应用处于导航模式时音频数据传输的最低次数。That is, the condition for determining that the map application is in the navigation mode is that the number of times of audio data transmission is greater than or equal to the preset number of times. Here, the preset number of times may be a minimum number of times for determining the audio data transmission when the map application is in the navigation mode.
本实施例也就是说,当预设时长内音频数据传输次数大于或者等于预设次数时,即音频数据传输频次较高,移动终端正在频繁向车载终端传输音频数据,故而确定出移动终端上的地图应用处于导航模式。反之,确定移动终端上的地图应用处于非导航模式。In this embodiment, that is to say, when the number of times of audio data transmission within the preset time period is greater than or equal to the preset number of times, that is, the frequency of audio data transmission is high, and the mobile terminal is frequently transmitting audio data to the vehicle-mounted terminal, so it is determined that the audio data on the mobile terminal is transmitted. The Maps app is in navigation mode. On the contrary, it is determined that the map application on the mobile terminal is in the non-navigation mode.
步骤305:控制音频数据传输状态维持在开启状态。Step 305: Control the audio data transmission state to be maintained in the ON state.
在一些实施例中,所述控制音频数据传输状态维持在开启状态,包括:检测所述音频数据传输状态;若所述音频数据传输状态为所述开启状态,控制所述音频数据传输状态维持在所述开启状态;若所述音频数据传输状态为关闭状态,等待从所述关闭状态切换至所述开启状态后,控制所述音频数据传输状态维持在所述开启状态。In some embodiments, the controlling the audio data transmission state to be maintained in the ON state includes: detecting the audio data transmission state; if the audio data transmission state is the ON state, controlling the audio data transmission state to be maintained in the ON state the on state; if the audio data transmission state is the off state, after waiting for switching from the off state to the on state, the audio data transmission state is controlled to remain in the on state.
也就是说,音频数据传输状态为开启状态时,说明移动终端正在向车载终端传输音频数据,该音频数据传输完成后,继续控制移动终端的音频数据传输状态维持在开启状态。音频数据传输状态为关闭状态时,说明移动终端此时并未向车载终端传输音频数据,等待移动终端有音频数据需要传输至车载终端时,控制音频数据传输状态从关闭状态切换至开启状态,等待该音频数据传输完成后,继续控制移动终端的音频数据传输状态维持在开启状态。这样可保证移动终端能够实时并且完整的将音频数据传输至车载终端。That is to say, when the audio data transmission state is on, it means that the mobile terminal is transmitting audio data to the vehicle-mounted terminal. After the audio data transmission is completed, continue to control the audio data transmission state of the mobile terminal to remain in the on state. When the audio data transmission status is OFF, it means that the mobile terminal is not transmitting audio data to the vehicle terminal at this time. When the mobile terminal has audio data to be transmitted to the vehicle terminal, control the audio data transmission status to switch from OFF to ON, and wait. After the audio data transmission is completed, the audio data transmission state of the mobile terminal is continuously controlled to be maintained in the open state. This ensures that the mobile terminal can transmit audio data to the vehicle terminal in real time and completely.
步骤306:在所述音频数据传输状态处于所述开启状态时,基于所述蓝牙连接将多段音频数据传输至所述车载终端。Step 306: When the audio data transmission state is in the ON state, transmit multiple pieces of audio data to the vehicle terminal based on the Bluetooth connection.
基于图2所示,移动终端基于ACL连接将音频流传输至车载终端,车载终端接收到音频流,并将音频流从LAC层传输至L2CAP层进行一次解封装操作,将解封装后的音频流从L2CAP层传输至AVDTP层进行二次解封装操作,将再次解封装后的音频流从AVDTP层传输至A2DP层,进行解码操作,得到音频数据并进行播放。As shown in Figure 2, the mobile terminal transmits the audio stream to the vehicle terminal based on the ACL connection, the vehicle terminal receives the audio stream, and transmits the audio stream from the LAC layer to the L2CAP layer for a decapsulation operation, and decapsulates the decapsulated audio stream. It is transmitted from the L2CAP layer to the AVDTP layer for secondary decapsulation operation, and the decapsulated audio stream is transmitted from the AVDTP layer to the A2DP layer for decoding operation to obtain audio data and play it.
采用上述技术方案,通过预设时长内音频数据传输次数,确定地图应用的工作模式(导航模式或者非导航模式);当确定地图应用处于导航模式时,说明移动终端需要频繁向车载终端传输音频数据,通过控制音频数据传输状态维持在开启状态,这样移动终端能够实时并且完整的将多段音频数据传输至车载终端,使得车载终端播放出完整的音频数据,且音画同步,提升用户导航时的音频播放效果。Using the above technical solution, the working mode (navigation mode or non-navigation mode) of the map application is determined by the number of audio data transmissions within a preset duration; when it is determined that the map application is in the navigation mode, it means that the mobile terminal needs to transmit audio data to the vehicle terminal frequently , by controlling the audio data transmission state to be maintained in the open state, so that the mobile terminal can transmit multiple pieces of audio data to the vehicle terminal in real time and completely, so that the vehicle terminal can play the complete audio data, and the audio and video are synchronized, which improves the user's navigation. Play effect.
基于上述实施例,本申请实施例示例一种蓝牙传输的控制方法,图4为本申请实施例中提供的一种蓝牙传输的控制方法的第三流程示意图,该蓝牙传输的控制方法应用于移动终端。Based on the above embodiments, the embodiments of the present application illustrate a method for controlling Bluetooth transmission. FIG. 4 is a third schematic flowchart of a method for controlling Bluetooth transmission provided in the embodiments of the present application. The method for controlling Bluetooth transmission is applied to mobile terminal.
如图4所示,该蓝牙传输的控制方法具体可以包括:As shown in FIG. 4 , the control method of the Bluetooth transmission may specifically include:
步骤401:建立与车载终端之间的蓝牙连接。Step 401: Establish a Bluetooth connection with the vehicle terminal.
步骤402:进入地图应用。Step 402: Enter the map application.
这里,当打开某一应用时,获取该应用的包名,根据包名确定当前所打开的应用是否为地图应用;若是,则确定已进入地图应用;若否,则确定未进入地图应用。Here, when an application is opened, the package name of the application is obtained, and whether the currently opened application is a map application is determined according to the package name; if so, it is determined that the map application has been entered; if not, it is determined that the map application has not been entered.
步骤403:预设时长内音频数据传输次数大于或者等于预设次数;若是,执行步骤404;若否,执行步骤407。Step 403 : the number of times of audio data transmission within the preset time period is greater than or equal to the preset number of times; if yes, go to step 404 ; if not, go to step 407 .
即确定进入地图应用时,记录预设时长内音频数据传输次数;音频数据传输次数超过预设次数时,说明移动终端正在频繁向车载终端发送音频数据,确定移动终端上的地图应用处于导航模式;音频数据传输次数未超过预设次数时,说明移动终端可能从未向车载终端发送音频数据,或者可能极少次数向车载终端发送音频数据,如短暂使用地图应用进入导航后退出了,此时确定移动终端上的地图应用未处于导航模式。That is, when it is determined that the map application is entered, the number of audio data transmissions within the preset time period is recorded; when the number of audio data transmissions exceeds the preset number of times, it means that the mobile terminal is frequently sending audio data to the vehicle terminal, and it is determined that the map application on the mobile terminal is in the navigation mode; When the number of audio data transmissions does not exceed the preset number of times, it means that the mobile terminal may never send audio data to the vehicle terminal, or may send audio data to the vehicle terminal very rarely. The map application on the mobile terminal is not in navigation mode.
步骤404:地图应用处于导航模式。Step 404: The map application is in a navigation mode.
步骤405:地图应用发送音频数据到蓝牙模块。Step 405: The map application sends audio data to the Bluetooth module.
步骤406:控制音频数据传输状态维持在开启状态。Step 406: Control the audio data transmission state to remain in the ON state.
通过控制音频数据传输状态维持在开启状态,这样移动终端能够实时并且完整的将编码后的音频数据(即音频流)传输至车载终端,使得车载终端播放出完整的音频数据,即解决音频数据丢字问题。By controlling the audio data transmission state to remain in the open state, the mobile terminal can transmit the encoded audio data (that is, the audio stream) to the vehicle terminal in real time and completely, so that the vehicle terminal can play the complete audio data, that is, the loss of audio data can be solved. word problem.
步骤407:是否退出导航模式;若是,执行步骤408;若否,执行步骤405。Step 407 : whether to exit the navigation mode; if yes, go to step 408 ; if not, go to step 405 .
步骤408:地图应用处于非导航模式。Step 408: The map application is in a non-navigation mode.
这里,只要地图应用未退出导航模式,控制音频数据传输状态维持在开启状态,直至地图应用退出导航模式,并且未检测到其他音频数据需要传输时,则控制音频数据传输状态切换至关闭状态;反之,若检测到其他音频数据需要传输,如播放音乐,音乐应用正常播放音乐,直至再次检测到音频数据停止传输操作,则停止播放音乐。示例,音频数据停止传输操作可以是用户通过语音指令控制,或者点击停止按键。Here, as long as the map application does not exit the navigation mode, the control audio data transmission state remains in the open state, until the map application exits the navigation mode and no other audio data needs to be transmitted, then the control audio data transmission state is switched to the closed state; otherwise , if it is detected that other audio data needs to be transmitted, such as playing music, the music application will play the music normally, until the audio data is detected again to stop the transmission operation, then stop playing the music. For example, the operation of stopping the transmission of audio data may be controlled by the user through a voice command, or clicking a stop button.
为实现本申请实施例的方法,基于同一发明构思,本申请实施例中还提供了一种蓝牙传输的控制装置,图5为本申请实施例中蓝牙传输的控制装置组成的结构示意图,如图5所示,该蓝牙传输的控制装置50包括:In order to realize the method of the embodiment of the present application, based on the same inventive concept, the embodiment of the present application also provides a control device for Bluetooth transmission. FIG. 5 is a schematic structural diagram composed of the control device for Bluetooth transmission in the embodiment of the present application, as shown in FIG. 5, the control device 50 of the Bluetooth transmission includes:
通信单元501,用于建立与车载终端之间的蓝牙连接;A communication unit 501, used for establishing a Bluetooth connection with the vehicle terminal;
确定单元502,用于确定地图应用处于导航模式时,控制音频数据传输状态维持在开启状态;Determining unit 502, configured to determine that when the map application is in the navigation mode, control the audio data transmission state to remain in the open state;
控制单元503,用于基于所述蓝牙连接将音频数据传输至所述车载终端。The control unit 503 is configured to transmit audio data to the vehicle terminal based on the Bluetooth connection.
采用上述技术方案,当确定地图应用处于导航模式时,说明移动终端需要频繁向车载终端传输音频数据,通过控制音频数据传输状态维持在开启状态,这样移动终端能够实时并且完整的将多段音频数据传输至车载终端,使得车载终端播放出完整的音频数据,且音画同步,提升用户导航时的音频播放效果。With the above technical solution, when it is determined that the map application is in the navigation mode, it means that the mobile terminal needs to transmit audio data to the vehicle terminal frequently. By controlling the audio data transmission state to maintain the open state, the mobile terminal can transmit the multi-segment audio data in real time and completely. To the in-vehicle terminal, the in-vehicle terminal can play the complete audio data, and the audio and video are synchronized, which improves the audio playback effect when the user navigates.
在一些实施例中,确定单元502,具体用于检测到应用切换操作时,获取正在打开的应用的包名;In some embodiments, the determining unit 502 is specifically configured to acquire the package name of the application being opened when an application switching operation is detected;
根据所述包名确定正在打开的应用为所述地图应用时,记录预设时长内开启音频数据或者关闭音频数据的次数;When determining that the application being opened is the map application according to the package name, record the number of times the audio data is turned on or turned off within a preset time period;
基于所述开启音频数据或者关闭音频数据的次数确定所述地图应用处于导航模式。It is determined that the map application is in a navigation mode based on the number of times the audio data is turned on or the audio data is turned off.
在一些实施例中,确定单元502,具体还用于所述音频数据传输次数大于或者等于预设次数时,确定所述地图应用处于导航模式。In some embodiments, the determining unit 502 is further configured to determine that the map application is in a navigation mode when the number of times of audio data transmission is greater than or equal to a preset number of times.
在一些实施例中,确定单元502,具体还用于所述音频数据传输次数小于所述预设次数时,确定所述地图应用处于非导航模式。In some embodiments, the determining unit 502 is further configured to determine that the map application is in a non-navigation mode when the number of times of audio data transmission is less than the preset number of times.
在一些实施例中,确定单元502,具体检测所述音频数据传输状态;In some embodiments, the determining unit 502 specifically detects the audio data transmission state;
若所述音频数据传输状态为所述开启状态,控制所述音频数据传输状态维持在所述开启状态;If the audio data transmission state is the open state, controlling the audio data transmission state to maintain the open state;
若所述音频数据传输状态为关闭状态,等待从所述关闭状态切换至所述开启状态后,控制所述音频数据传输状态维持在所述开启状态。If the audio data transmission state is an off state, after waiting for switching from the off state to the on state, the audio data transmission state is controlled to remain in the on state.
在一些实施例中,音频数据传输状态维持在开启状态之后,确定单元502,具体还用于确定所述地图应用由所述导航模式切换至非导航模式;In some embodiments, after the audio data transmission state is maintained in the on state, the determining unit 502 is further configured to determine that the map application is switched from the navigation mode to the non-navigation mode;
确定存在其他音频数据需要传输;determine that there is other audio data that needs to be transmitted;
当检测到音频数据停止传输操作时,控制所述音频数据传输状态由所述开启状态切换至关闭状态。When it is detected that the audio data stop transmission operation, the audio data transmission state is controlled to be switched from the on state to the off state.
在一些实施例中,通信单元501,具体用于建立与所述车载终端之间的蓝牙物理链路ACL连接;In some embodiments, the communication unit 501 is specifically configured to establish a Bluetooth physical link ACL connection with the in-vehicle terminal;
及建立与所述车载终端之间的逻辑链路控制与适配协议L2CAP连接;and establishing a logical link control and adaptation protocol L2CAP connection with the vehicle terminal;
及建立与所述车载终端之间的音频/视频分发传输协议AVDTP连接;and establishing an audio/video distribution transmission protocol AVDTP connection with the vehicle terminal;
及建立与所述车载终端之间的蓝牙音频传输协议A2DP连接。and establishing a Bluetooth audio transmission protocol A2DP connection with the vehicle terminal.
本申请实施例还提供了另一种移动终端,图6为本申请实施例中移动终端组成的结构示意图,如图6所示,该移动终端60包括:处理器601和配置为存储能够在处理器上运行的计算机程序的存储器602;An embodiment of the present application further provides another mobile terminal. FIG. 6 is a schematic structural diagram of a mobile terminal in an embodiment of the present application. As shown in FIG. 6 , the mobile terminal 60 includes: a
其中,处理器601配置为运行计算机程序时,执行前述实施例中的方法步骤。Wherein, the
当然,实际应用时,如图6所示,该移动终端中的各个组件通过总线系统603耦合在一起。可理解,总线系统603用于实现这些组件之间的连接通信。总线系统603除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图6中将各种总线都标为总线系统603。Of course, in practical application, as shown in FIG. 6 , various components in the mobile terminal are coupled together through a
在实际应用中,上述处理器可以为特定用途集成电路(ASIC,ApplicationSpecific Integrated Circuit)、数字信号处理装置(DSPD,Digital Signal ProcessingDevice)、可编程逻辑装置(PLD,Programmable Logic Device)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、控制器、微控制器、微处理器中的至少一种。可以理解地,对于不同的设备,用于实现上述处理器功能的电子器件还可以为其它,本申请实施例不作具体限定。In practical applications, the above-mentioned processor may be an application specific integrated circuit (ASIC, Application Specific Integrated Circuit), a digital signal processing device (DSPD, Digital Signal Processing Device), a programmable logic device (PLD, Programmable Logic Device), a field programmable gate At least one of an array (Field-Programmable Gate Array, FPGA), a controller, a microcontroller, and a microprocessor. 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.
上述存储器可以是易失性存储器(volatile memory),例如随机存取存储器(RAM,Random-Access Memory);或者非易失性存储器(non-volatile memory),例如只读存储器(ROM,Read-Only Memory),快闪存储器(flash memory),硬盘(HDD,Hard Disk Drive)或固态硬盘(SSD,Solid-State Drive);或者上述种类的存储器的组合,并向处理器提供指令和数据。The above-mentioned memory can be a volatile memory (volatile memory), such as a random access memory (RAM, Random-Access Memory); or a non-volatile memory (non-volatile memory), such as a read-only memory (ROM, Read-Only Memory) Memory), flash memory (flash memory), hard disk (HDD, Hard Disk Drive) or solid-state drive (SSD, Solid-State Drive); or a combination of the above types of memory, and provide instructions and data to the processor.
在示例性实施例中,本申请实施例还提供了一种计算机可读存储介质,用于存储计算机程序。In an exemplary embodiment, an embodiment of the present application further provides a computer-readable storage medium for storing a computer program.
可选的,该计算机可读存储介质可应用于本申请实施例中的任意一种方法,并且该计算机程序使得计算机执行本申请实施例的各个方法中由处理器实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer-readable storage medium can be applied to any method in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the processor in the various methods of the embodiments of the present application. For brevity, It is not repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the various components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The unit described above as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理模块中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, each functional unit in each embodiment of the present invention may be all integrated into one processing module, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above integration The unit can be implemented either in the form of hardware or in the form of hardware plus software functional units. Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by program instructions related to hardware, the aforementioned program can be stored in a computer-readable storage medium, and when the program is executed, execute Including the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: a mobile storage device, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk and other various A medium on which program code can be stored.
本申请所提供的几个方法实施例中所揭露的方法,在不冲突的情况下可以任意组合,得到新的方法实施例。The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined under the condition of no conflict to obtain new method embodiments.
本申请所提供的几个产品实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的产品实施例。The features disclosed in the several product embodiments provided in this application can be combined arbitrarily without conflict to obtain a new product embodiment.
本申请所提供的几个方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。The features disclosed in several method or device embodiments provided in this application can be combined arbitrarily without conflict to obtain new method embodiments or device embodiments.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210761630.5ACN115175131B (en) | 2022-06-29 | 2022-06-29 | Bluetooth transmission control method and device, mobile terminal and storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210761630.5ACN115175131B (en) | 2022-06-29 | 2022-06-29 | Bluetooth transmission control method and device, mobile terminal and storage medium |
| Publication Number | Publication Date |
|---|---|
| CN115175131Atrue CN115175131A (en) | 2022-10-11 |
| CN115175131B CN115175131B (en) | 2024-08-27 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210761630.5AActiveCN115175131B (en) | 2022-06-29 | 2022-06-29 | Bluetooth transmission control method and device, mobile terminal and storage medium |
| Country | Link |
|---|---|
| CN (1) | CN115175131B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118588078A (en)* | 2024-08-06 | 2024-09-03 | 中国第一汽车股份有限公司 | Audio control method, device, vehicle and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140220948A1 (en)* | 2013-02-07 | 2014-08-07 | Ford Global Technologies, Llc | Method and System of Outputting in a Vehicle Data Streamed by Mobile Applications |
| CN104168200A (en)* | 2014-07-10 | 2014-11-26 | 汉柏科技有限公司 | Open vSwitch-based method and system for realizing ACL function |
| US20160170705A1 (en)* | 2014-12-10 | 2016-06-16 | Spreadtrum Communications (Shanghai) Co., Ltd. | User terminal, method for playing audio data via bluetooth, and digital signal processor |
| CN110010139A (en)* | 2019-03-28 | 2019-07-12 | 南昌黑鲨科技有限公司 | Audio input output method, system and computer readable storage medium |
| CN110087215A (en)* | 2019-05-06 | 2019-08-02 | 北京百度网讯科技有限公司 | Information broadcasting method, device, terminal and storage medium based on Bluetooth connection |
| US20200107108A1 (en)* | 2018-09-30 | 2020-04-02 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Data transmitting method and system |
| CN111328061A (en)* | 2020-02-28 | 2020-06-23 | 诚迈科技(南京)股份有限公司 | Audio resource control method, vehicle-mounted terminal and system |
| WO2021223243A1 (en)* | 2020-05-08 | 2021-11-11 | 深圳市汇顶科技股份有限公司 | Audio data transmission method and apparatus, chip, and electronic device |
| CN113709691A (en)* | 2020-05-19 | 2021-11-26 | 百度在线网络技术(北京)有限公司 | Audio data playing method, device, equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140220948A1 (en)* | 2013-02-07 | 2014-08-07 | Ford Global Technologies, Llc | Method and System of Outputting in a Vehicle Data Streamed by Mobile Applications |
| CN104168200A (en)* | 2014-07-10 | 2014-11-26 | 汉柏科技有限公司 | Open vSwitch-based method and system for realizing ACL function |
| US20160170705A1 (en)* | 2014-12-10 | 2016-06-16 | Spreadtrum Communications (Shanghai) Co., Ltd. | User terminal, method for playing audio data via bluetooth, and digital signal processor |
| US20200107108A1 (en)* | 2018-09-30 | 2020-04-02 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Data transmitting method and system |
| CN110010139A (en)* | 2019-03-28 | 2019-07-12 | 南昌黑鲨科技有限公司 | Audio input output method, system and computer readable storage medium |
| CN110087215A (en)* | 2019-05-06 | 2019-08-02 | 北京百度网讯科技有限公司 | Information broadcasting method, device, terminal and storage medium based on Bluetooth connection |
| CN111328061A (en)* | 2020-02-28 | 2020-06-23 | 诚迈科技(南京)股份有限公司 | Audio resource control method, vehicle-mounted terminal and system |
| WO2021223243A1 (en)* | 2020-05-08 | 2021-11-11 | 深圳市汇顶科技股份有限公司 | Audio data transmission method and apparatus, chip, and electronic device |
| CN113709691A (en)* | 2020-05-19 | 2021-11-26 | 百度在线网络技术(北京)有限公司 | Audio data playing method, device, equipment and storage medium |
| Title |
|---|
| 马建辉;马共立;王勇;: "蓝牙车载音频流播放器的设计与实现", 微型机与应用, no. 09, 10 May 2010 (2010-05-10)* |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118588078A (en)* | 2024-08-06 | 2024-09-03 | 中国第一汽车股份有限公司 | Audio control method, device, vehicle and storage medium |
| CN118588078B (en)* | 2024-08-06 | 2024-11-15 | 中国第一汽车股份有限公司 | Audio control method, device, vehicle and storage medium |
| Publication number | Publication date |
|---|---|
| CN115175131B (en) | 2024-08-27 |
| Publication | Publication Date | Title |
|---|---|---|
| US9154185B2 (en) | Managing audio output through an intermediary | |
| US10070236B2 (en) | Managing audio output through an intermediary | |
| US7899021B2 (en) | Method of controlling connection between nodes in digital interface | |
| EP1432175B1 (en) | Communication method, communication system, and output equipment | |
| CN104834623B (en) | Audio frequency playing method and device | |
| CN109661828B (en) | Controlling Bluetooth Multimedia Devices | |
| CN106648537B (en) | A kind of decoded control method of audio data and mobile terminal | |
| CN107329726A (en) | To the treating method and apparatus of the voice data of input in android system | |
| CN105828134A (en) | A playback control method and device in an audio and video playback system | |
| CN104301298A (en) | Fast Startup with Dynamic Reservation Capability for Network Communication Systems | |
| CN115175131A (en) | Bluetooth transmission control method and device, mobile terminal and storage medium | |
| CN100370862C (en) | Method of controlling mobile device sub-units using Subscriber Identity Module application toolkit | |
| WO2000003519A1 (en) | Communication control method, communication system, and electronic device | |
| CN107105337B (en) | Wireless multimedia playing method and device | |
| CN101729858A (en) | Playing control method and system of bluetooth media | |
| CN118283334A (en) | Method, device, equipment and storage medium for playing media data | |
| CN117542343A (en) | Text-to-speech method and device | |
| WO2018045722A1 (en) | Terminal control method and apparatus | |
| EP2191628B1 (en) | Automatic source concentrator for multimedia system | |
| JP4609693B2 (en) | Transmission device, data transmission method, and data transmission program | |
| CN112601123A (en) | Embedded playing system and method | |
| JP3982053B2 (en) | Information processing apparatus and method, and providing medium | |
| CN116962368A (en) | Broadcasting methods, devices, equipment and storage media | |
| CN116249049A (en) | Audio processing method, system, storage medium and audio playing device | |
| CN116938914A (en) | Remote desktop sound synchronization method, device, equipment and storage medium |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |