A vehicle-mounted audio playing control method and device

By recognizing the status of the vehicle's audio source and the type of external audio devices, the system automatically switches the playback mode, solving the problem that the in-vehicle information system cannot automatically play media audio, thus improving user experience and safety.

CN115729513BActive Publication Date: 2025-11-28FORYOU GENERAL ELECTRONICS
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211476201.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-23
Publication Date
2025-11-28
Estimated Expiration
2042-11-23

AI Technical Summary

Technical Problem

In existing technologies, in-vehicle information systems cannot automatically play media audio transmitted from external devices when not in Bluetooth playback mode, causing users to miss important information and reducing communication efficiency. Furthermore, users need to manually switch audio sources when playing music, increasing driving safety hazards.

Method used

By identifying the current audio source configuration status of the vehicle's infotainment system, monitoring the media audio transmission commands of external devices, and automatically switching the vehicle's playback mode according to the audio type, including switching between mixing mode and Bluetooth audio source playback mode, the system uses the public API of the Bluetooth A2DP receiver configuration file to determine the audio type and automatically switches between preset information prompt tones and multimedia call audio based on their frequency characteristics.

Benefits of technology

This enables the vehicle's infotainment system to automatically play media audio even in non-Bluetooth mode, improving the user experience, preventing information loss and security risks, and enhancing communication efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115729513B_ABST
    Figure CN115729513B_ABST
Patent Text Reader

Abstract

The application provides a vehicle-mounted audio playing control method and device. When a vehicle machine is connected to an external device through Bluetooth, the current audio source configuration state of the vehicle machine is recognized. If the vehicle machine is in a non-Bluetooth playing mode, it is monitored whether a media audio transmission instruction sent by the external device is received. If yes, the type of the media audio is further recognized, and different preset operations are performed according to the type of the media audio. The application realizes that the vehicle machine can play media audio even when it is not in a Bluetooth playing mode, and can automatically switch the playing mode of the vehicle machine when playing the entertainment audio signal of the external device, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of audio processing technology, in particular to a vehicle-mounted audio playing control method and device. BACKGROUND

[0002] The audio transmitted by Bluetooth is divided into two types: call audio and media audio. The media audio includes not only entertainment audio signals such as music, but also instant messaging information such as voice messages of social software, voice calls or video calls.

[0003] At present, most of the vehicle-mounted information systems (referred to as car machines) of vehicles are connected with external devices (such as smart mobile terminals) through Bluetooth, and the user needs to manually open the Bluetooth music playing mode on the car machine to play the media audio through the vehicle-mounted sound system. If the Bluetooth music playing mode is not switched, the media audio transmitted by the external device cannot be played through the vehicle-mounted sound system, nor can it be played through the loudspeaker or earpiece of the external device, resulting in that the user misses many urgent information and reduces the communication efficiency. Moreover, when playing music using a smart mobile terminal, the user not only needs to operate the smart mobile terminal to play music, but also needs to manually switch the sound source to the Bluetooth sound source on the car machine to play the music through the sound system of the vehicle, which brings safety hazards to driving. SUMMARY

[0004] The present application provides a vehicle-mounted audio playing control method and device, aiming to solve the defects in the prior art, realize playing media audio when the car machine is not in the Bluetooth playing mode, and automatically switch the playing mode of the car machine when playing the entertainment audio signals of the external device, thereby improving the user experience.

[0005] To achieve the above-mentioned purpose, the technical solution adopted by the present application is as follows:

[0006] In one aspect, the present application provides a vehicle-mounted audio playing control method, comprising:

[0007] Step 1, judging whether the car machine is currently in the Bluetooth sound source playing mode, if yes, repeating the present step, otherwise, executing the next step;

[0008] Step 2, judging whether the media audio transmission instruction of the external device is received, if yes, executing the next step, otherwise, returning to step 1;

[0009] Step 3, judging whether the received media audio is a preset information prompt sound, if yes, setting the sound channel output mode of the car machine to a mixed sound mode and playing the preset information prompt sound, canceling the mixed sound mode after the playing is completed, and returning to step 1, otherwise, executing step 4;

[0010] Step 4, judging whether the received media audio is a multimedia call audio, if yes, executing the next step, otherwise, executing step 6;

[0011] Step 5, saving the current playing mode and playing state of the car machine, switching the playing mode of the car machine to the Bluetooth audio source playing mode, after the multimedia call is ended, restoring the saved current playing mode and playing state of the car machine, and returning to step 1;

[0012] Step 6, switching the playing mode of the car machine to the Bluetooth audio source playing mode, and returning to step 1.

[0013] Specifically, the judging whether the car machine is currently in the Bluetooth audio source playing mode comprises: judging whether the car machine is currently in the Bluetooth audio source playing mode by reading the audio source configuration state of the car machine.

[0014] Specifically, the judging whether the media audio transmission instruction of the external device is received comprises:

[0015] The judging whether the media audio transmission instruction of the external device is received is performed by querying the A2DP connection state and the A2DP playing state between the car machine and the external device through a public API for controlling a Bluetooth A2DP receiver profile.

[0016] Specifically, the public API is BluetoothA2dpSink.

[0017] Specifically, the judging whether the received media audio is the preset information prompt tone comprises:

[0018] Step 301, pre-storing the frequency feature of the preset information prompt tone in the car machine as a first frequency feature;

[0019] Step 302, acquiring the frequency feature of the received media audio as a second frequency feature;

[0020] Step 303, comparing the second frequency feature with the first frequency feature to judge whether the received media audio is the preset information prompt tone.

[0021] Specifically, the judging whether the received media audio is the multimedia call audio comprises:

[0022] Step 401, pre-storing the frequency feature of the preset multimedia telephone ring in the car machine as a third frequency feature;

[0023] Step 402, acquiring the frequency feature of the received media audio as a fourth frequency feature;

[0024] Step 403, comparing the fourth frequency feature with the third frequency feature to judge whether the received media audio is the preset multimedia telephone ring.

[0025] The application further provides a vehicle-mounted audio playing control device, comprising:

[0026] a Bluetooth module, a Bluetooth transmission monitoring module connected to the Bluetooth module, a type judging module connected to the Bluetooth transmission monitoring module, a playing mode monitoring module connected to the Bluetooth transmission monitoring module and the type judging module, and a playing mode setting module connected to the type judging module;

[0027] The Bluetooth module is configured to receive Bluetooth audio data sent by an external device.

[0028] The playing mode monitoring module is configured to judge whether the vehicle-mounted device is currently in a Bluetooth audio source playing mode.

[0029] The Bluetooth transmission monitoring module is configured to judge whether a media audio transmission instruction sent by the external device is received.

[0030] The type judging module is configured to judge the type of the media audio received by the Bluetooth module.

[0031] The playing mode setting module is configured to set the channel output mode of the vehicle-mounted device to a corresponding mode according to the type of the media audio.

[0032] Specifically, the playing mode monitoring module is a vehicle-mounted audio source configuration state reading module.

[0033] Specifically, the Bluetooth transmission monitoring module is a public API query module for controlling a Bluetooth A2DP receiver configuration file.

[0034] Specifically, the type judging module comprises a feature comparison unit, a feature extraction unit connected to the feature comparison unit, and a feature storage unit connected to the feature comparison unit.

[0035] The feature extraction unit is configured to extract the frequency feature of the received media audio.

[0036] The feature storage unit is configured to store the frequency feature of the preset information prompt tone or / and the preset multimedia phone ring.

[0037] The feature comparison unit is configured to compare the frequency feature of the received media audio with the frequency feature of the preset information prompt tone or / and the preset multimedia phone ring stored in the feature storage unit.

[0038] The application has the advantages that the application can play media audio when the vehicle-mounted device is not in a Bluetooth playing mode, and can automatically switch the playing mode of the vehicle-mounted device when playing the entertainment audio signal of the external device, thereby improving the user experience. Attached Figure Description

[0039] Figure 1 This is a flowchart illustrating the in-vehicle audio playback control method of the present invention;

[0040] Figure 2 This is a schematic diagram of the structure of the in-vehicle audio playback control device of the present invention;

[0041] Figure 3 This is a schematic diagram of the type determination module of the present invention. Detailed Implementation

[0042] The embodiments of the present invention are described in detail below with reference to the accompanying drawings. The drawings are for reference and illustration only and do not constitute a limitation on the scope of protection of the present invention.

[0043] In the process described in the specification, claims, or drawings of this invention, each step is numbered (e.g., step 10, 20, etc.). These numbers are used only to distinguish the steps and do not represent any execution order. It should be noted that the terms "first," "second," etc., used herein are only for distinguishing the objects being described and do not represent a chronological order, nor do they indicate that "first," "second," etc., are different types.

[0044] Example 1

[0045] like Figure 1 As shown, this embodiment provides a vehicle audio playback control method, including:

[0046] Step 1: Determine if the car's infotainment system is currently in Bluetooth audio playback mode. If yes, repeat this step; otherwise, proceed to the next step.

[0047] It's easy to understand that the car's infotainment system is already connected to external devices via a Bluetooth module.

[0048] In this embodiment, determining whether the vehicle infotainment system is currently in Bluetooth audio source playback mode includes: determining whether the vehicle infotainment system is currently in Bluetooth audio source playback mode by reading the audio source configuration status of the vehicle infotainment system.

[0049] Step 2: Determine whether a media audio transmission command has been received from the peripheral device. If yes, proceed to the next step; otherwise, return to Step 1.

[0050] In practice, the vehicle's infotainment system transmits media audio to and from external devices via the A2DP or A2DP+AVRCP protocol.

[0051] In this embodiment, determining whether a media audio transmission command has been received from the peripheral device includes:

[0052] The A2DP connection state and A2DP playing state between the vehicle machine and the peripheral device are queried through a public API for controlling a Bluetooth A2DP receiver profile to determine whether a media audio transmission instruction of the peripheral device is received.

[0053] In a specific implementation, the public API is BluetoothA2dpSink.

[0054] Step 3: It is determined whether the received media audio is a preset information prompt tone; if yes, the sound channel output mode of the vehicle machine is set to a mixed sound mode, the preset information prompt tone is played, the mixed sound mode is cancelled after the playing is completed, and the step 1 is returned; otherwise, step 4 is executed.

[0055] In the embodiment, the determination of whether the received media audio is a preset information prompt tone comprises:

[0056] Step 301: A frequency feature of a preset information prompt tone is saved in the vehicle machine in advance, and is recorded as a first frequency feature.

[0057] Generally, the information prompt tone of the social software on the intelligent mobile terminal has a distinct frequency feature.

[0058] Step 302: A frequency feature of the received media audio is acquired, and is recorded as a second frequency feature.

[0059] Step 303: The second frequency feature is compared with the first frequency feature to determine whether the received media audio is the preset information prompt tone.

[0060] Step 4: It is determined whether the received media audio is a multimedia call audio; if yes, the next step is executed; otherwise, step 6 is executed.

[0061] In the embodiment, the determination of whether the received media audio is a multimedia call audio comprises:

[0062] Step 401: A frequency feature of a preset multimedia telephone ring tone is saved in the vehicle machine in advance, and is recorded as a third frequency feature.

[0063] Generally, the multimedia telephone ring tone of the social software on the intelligent mobile terminal has a distinct frequency feature.

[0064] Step 402: A frequency feature of the received media audio is acquired, and is recorded as a fourth frequency feature.

[0065] Step 403: The fourth frequency feature is compared with the third frequency feature to determine whether the received media audio is the preset multimedia telephone ring tone.

[0066] Step 5, save the current playing mode and playing state of the car machine, switch the playing mode of the car machine to the Bluetooth audio source playing mode, after the multimedia call is ended, restore the saved current playing mode and playing state of the car machine, and return to step 1.

[0067] Step 6, switch the playing mode of the car machine to the Bluetooth audio source playing mode, and return to step 1.

[0068] Embodiment 2

[0069] As shown in Figure 2 the embodiment, a vehicle-mounted audio playing control device is provided, which comprises:

[0070] a Bluetooth module, and a Bluetooth transmission monitoring module and a type judging module connected with the Bluetooth module, the Bluetooth transmission monitoring module being further connected with the type judging module and a playing mode monitoring module, and the type judging module being further connected with a playing mode setting module;

[0071] the Bluetooth module is configured to receive Bluetooth audio data sent by an external device;

[0072] the playing mode monitoring module is configured to judge whether the car machine is currently in a Bluetooth audio source playing mode;

[0073] the Bluetooth transmission monitoring module is configured to judge whether a media audio transmission instruction of the external device is received;

[0074] the type judging module is configured to judge the type of the media audio received by the Bluetooth module;

[0075] the playing mode setting module is configured to set the sound channel output mode of the car machine to a corresponding mode according to the type of the media audio.

[0076] In the embodiment, the playing mode monitoring module is a car machine audio source configuration state reading module.

[0077] In the embodiment, the Bluetooth transmission monitoring module is a public API query module for controlling a Bluetooth A2DP receiver configuration file.

[0078] Embodiment 3

[0079] As shown in Figure 3 the embodiment, the type judging module comprises a feature comparison unit, and a feature extraction unit and a feature storage unit connected with the feature comparison unit;

[0080] the feature extraction unit is configured to extract the frequency feature of the received media audio;

[0081] the feature storage unit is configured to store the frequency feature of the preset information prompt sound or / and the preset multimedia phone ring tone;

[0082] The feature comparison unit is configured to compare the frequency feature of the received media audio with the frequency feature of the stored preset information prompt tone and / or preset multimedia phone ring.

[0083] The working process of the device is as described in the corresponding method in Embodiment 1, and will not be repeated here.

[0084] The above only discloses the preferred embodiments of the present application, and cannot limit the protection scope of the present application. Therefore, equivalent changes made in the patent application scope of the present application still fall within the scope of the present application.

Claims

1. A method for controlling audio playback in a vehicle, the method comprising: The method comprises the following steps: Step 1, judging whether the car machine is currently in a Bluetooth audio source playing mode, if yes, repeating the step, otherwise, executing the next step; Step 2, judging whether a media audio transmission instruction of an external device is received, if yes, executing the next step, otherwise, returning to step 1; Step 3, judging whether the received media audio is a preset information prompt tone, if yes, setting a sound channel output mode of the car machine as a mix sound mode to play the preset information prompt tone, canceling the mix sound mode after the playing is completed, and returning to step 1, otherwise, executing step 4; Step 4, judging whether the received media audio is a multimedia call audio, if yes, executing the next step, otherwise, executing step 6; Step 5, saving a current playing mode and a playing state of the car machine, switching a playing mode of the car machine as a Bluetooth audio source playing mode, and restoring the saved current playing mode and playing state of the car machine after a multimedia call is ended, and returning to step 1; Step 6, switching the playing mode of the car machine as the Bluetooth audio source playing mode, and returning to step 1.

2. The in-vehicle audio playback control method according to claim 1, characterized by, The judging whether the car machine is currently in the Bluetooth audio source playing mode comprises: judging whether the car machine is currently in the Bluetooth audio source playing mode by reading an audio source configuration state of the car machine.

3. The in-vehicle audio playback control method according to claim 1, characterized in that, The judging whether the media audio transmission instruction of the external device is received comprises: judging whether the media audio transmission instruction of the external device is received by querying an A2DP connection state and an A2DP playing state between the car machine and the external device through a public API for controlling a Bluetooth A2DP receiver configuration file.

4. The in-vehicle audio playback control method according to claim 3, characterized by, The public API is BluetoothA2dpSink.

5. The in-vehicle audio playback control method according to claim 1, characterized in that, The judging whether the received media audio is the preset information prompt tone comprises: Step 301, pre-storing a frequency feature of the preset information prompt tone in the car machine as a first frequency feature; Step 302, obtaining a frequency feature of the received media audio as a second frequency feature; Step 303, comparing the second frequency feature with the first frequency feature to judge whether the received media audio is the preset information prompt tone.

6. The in-vehicle audio playback control method according to claim 1, characterized in that, The judging whether the received media audio is the multimedia call audio comprises: Step 401, pre-storing a frequency feature of a preset multimedia telephone ring tone in the car machine as a third frequency feature; Step 402, obtaining a frequency feature of the received media audio as a fourth frequency feature; Step 403, comparing the fourth frequency feature with the third frequency feature to judge whether the received media audio is the preset multimedia telephone ring tone.

7. An in-vehicle audio playback control device characterized by comprising: The method comprises the following steps: a Bluetooth module, and a Bluetooth transmission monitoring module and a type judging module connected with the Bluetooth module, the Bluetooth transmission monitoring module being further connected with the type judging module and a playing mode monitoring module, and the type judging module being further connected with a playing mode setting module; the Bluetooth module is used for receiving Bluetooth audio data sent by an external device; the playing mode monitoring module is used for judging whether the car machine is currently in a Bluetooth audio source playing mode; the Bluetooth transmission monitoring module is used for judging whether a media audio transmission instruction of an external device is received; the type judging module is used for judging a type of media audio received by the Bluetooth module; The playing mode setting module is configured to set a sound channel output mode of the car machine to a corresponding mode according to a media audio type.

8. The in-vehicle audio playback control apparatus according to claim 7, characterized by, The playing mode monitoring module is a car machine sound source configuration state reading module.

9. The in-vehicle audio playback control apparatus according to claim 7, characterized by, The Bluetooth transmission monitoring module is a public API query module for controlling a Bluetooth A2DP receiver configuration file.

10. The in-vehicle audio playback control apparatus according to claim 7, characterized by, The type judging module comprises a feature comparison unit, a feature extraction unit and a feature storage unit connected to the feature comparison unit; The feature extraction unit is configured to extract a frequency feature of the received media audio. The feature storage unit is configured to store a frequency feature of a preset information prompt tone or / and a preset multimedia phone ring. The feature comparison unit is configured to compare the frequency feature of the received media audio with the frequency feature of the preset information prompt tone or / and the preset multimedia phone ring.

Citation Information

Patent Citations

  • Bluetooth connection method and device, vehicle and storage medium

    CN111132117A

  • Audio data playing method and device, equipment and storage medium

    CN113709691A