Vehicle control method, vehicle, and storage medium

CN116017384BActive Publication Date: 2026-08-28GUANGZHOU XIAOPENG MOTORS TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211677249.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-26
Publication Date
2026-08-28
Estimated Expiration
2042-12-26

AI Technical Summary

Technical Problem

[0002]目前智能车辆的声音输出源有多个,包括但不限于FM电台、在线音乐应用程序、本地闪存、便携式设备的蓝牙音频等,在这种使用场景下,当车辆的声音输出源默认不是蓝牙连接的便携式设备时,往往需要用户手动选择声音输出源的类型以及进行可能的蓝牙连接动作,对普通用户而言体验不佳

Benefits of technology

[0035]本申请还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,当所述计算机程序被一个或多个处理器执行时,实现如上所述的车辆控制方法。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116017384B_ABST
    Figure CN116017384B_ABST
Patent Text Reader

Abstract

The application discloses a vehicle control method, comprising: establishing a communication connection with a sound source based on a Bluetooth low energy protocol; obtaining state information of the sound source based on the communication connection; establishing a Bluetooth audio connection with the sound source; when the state information is that the sound source does not use a Bluetooth in a vehicle cabin for sound output by default, switching a sound path of a vehicle system to a Bluetooth path, and outputting audio content of the sound source in the cabin based on the Bluetooth audio connection. The scheme provided by the application can simplify the operation of a user in the Bluetooth audio connection process, and can also accurately determine a sound source that needs to be output currently.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent vehicle technology, specifically to a vehicle control method, a vehicle, and a computer-readable storage medium. Background Technology

[0002] Currently, smart vehicles have multiple audio output sources, including but not limited to FM radio, online music applications, local flash memory, and Bluetooth audio from portable devices. In this usage scenario, when the vehicle's audio output source is not a Bluetooth-connected portable device by default, users often need to manually select the type of audio output source and perform possible Bluetooth connection actions, which is a poor experience for ordinary users. This has become a problem that urgently needs to be solved. Summary of the Invention

[0003] This application provides a vehicle control method, a vehicle, and a computer-readable storage medium to solve the technical problems described in the background art.

[0004] The vehicle control method involved in the embodiments of this application includes:

[0005] Establish a communication connection with the sound source based on the Bluetooth Low Energy protocol;

[0006] Based on the communication connection, obtain the status information of the sound source;

[0007] Establish a Bluetooth audio connection with the sound source;

[0008] When the status information indicates that the sound source does not use Bluetooth in the vehicle cabin for sound output by default, the sound path of the vehicle system is switched to the Bluetooth path, and the audio content of the sound source is output in the cabin based on the Bluetooth audio connection.

[0009] Therefore, this application uses Bluetooth Low Energy (BLE) to pre-establish a communication connection between the sound source and the vehicle for transmitting synchronized data. This allows the sound source and the vehicle to synchronize relevant data information at any time. When it is necessary to output the sound from the sound source into the vehicle cabin, an audio connection for transmitting audio signals is established with the sound source via Bluetooth through user interaction or the vehicle system's identification results and automatic commands. The vehicle's sound output source is then switched to the Bluetooth channel, enabling the vehicle to output the sound content from the sound source into the vehicle cabin. The solution provided by this application simplifies user operations during the Bluetooth audio connection process and can accurately determine the sound source that needs to be output.

[0010] The establishment of a communication connection with the sound source based on the Bluetooth Low Energy protocol includes:

[0011] Based on the Bluetooth Low Energy protocol, broadcast Bluetooth services.

[0012] In response to the access broadcast by the sound source according to the Bluetooth service, a communication connection is established with the sound source.

[0013] Thus, this application provides a method for quickly establishing a communication connection between a sound source and a vehicle.

[0014] The status information includes sound source playback information and device description information. Obtaining the status information of the sound source based on the communication connection includes:

[0015] The system receives the sound source playback information and the device description information sent by the sound source, which are obtained by the system through its own monitoring of the sound source.

[0016] Thus, this application provides a method for sending status information, as well as the content and source of the status information.

[0017] Establishing a Bluetooth audio connection with the sound source includes:

[0018] When the vehicle meets predetermined conditions, a Bluetooth audio connection based on the Bluetooth audio transmission protocol is established with the sound source.

[0019] Thus, this application provides a method for establishing a Bluetooth audio connection.

[0020] The step of establishing a Bluetooth audio connection with the sound source based on the Bluetooth audio transmission protocol when the vehicle meets predetermined conditions includes:

[0021] If the sound source and the vehicle do not establish a Bluetooth audio connection via the Bluetooth audio transmission protocol by default, a Bluetooth audio connection request determined based on the status information is sent to the user.

[0022] In response to the user's confirmation, a Bluetooth audio connection is established with the sound source based on the Bluetooth audio transmission protocol.

[0023] Thus, this application provides a method for establishing a Bluetooth audio connection when there is no audio connection by default.

[0024] The step of establishing a Bluetooth audio connection with the sound source based on the Bluetooth audio transmission protocol when the vehicle meets predetermined conditions includes:

[0025] If the sound source and the vehicle do not establish a Bluetooth audio connection via the Bluetooth audio transmission protocol by default, the system will automatically establish a Bluetooth audio connection with the sound source based on the Bluetooth audio transmission protocol according to the status information.

[0026] Thus, this application provides a method for establishing a Bluetooth audio connection when there is no audio connection by default.

[0027] The step of establishing a Bluetooth audio connection with the sound source based on the Bluetooth audio transmission protocol when the vehicle meets predetermined conditions includes:

[0028] If the highest priority audio source among the access audio sources broadcast by the Bluetooth service is not the target audio source, a Bluetooth audio connection request determined based on the audio output information and the device description information is fed back to the user.

[0029] In response to the user's confirmation, a Bluetooth audio connection is established with the target sound source based on the Bluetooth audio transmission protocol.

[0030] Thus, this application provides a method for establishing a Bluetooth audio connection when the device currently connected to the vehicle is not the target sound source.

[0031] The step of establishing a Bluetooth audio connection with the sound source based on the Bluetooth audio transmission protocol under predetermined conditions includes:

[0032] If the highest priority audio source among the accessed audio sources broadcast by the Bluetooth service is not the target audio source, a Bluetooth audio connection is automatically established with the target audio source based on the Bluetooth audio transmission protocol according to the status information.

[0033] Thus, this application provides a method for establishing a Bluetooth audio connection when the device currently connected to the vehicle is not the target sound source.

[0034] This application also provides a vehicle, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the vehicle control method as described above.

[0035] This application also provides a computer-readable storage medium storing a computer program that, when executed by one or more processors, implements the vehicle control method described above.

[0036] Additional aspects and advantages of embodiments of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of embodiments of this application. Attached Figure Description

[0037] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:

[0038] Figure 1This is a flowchart illustrating the vehicle control method provided in this application;

[0039] Figure 2 This is a flowchart illustrating the vehicle control method provided in this application;

[0040] Figure 3 This is a flowchart illustrating the vehicle control method provided in this application;

[0041] Figure 4 This is a flowchart illustrating the vehicle control method provided in this application;

[0042] Figure 5 This is a flowchart illustrating the vehicle control method provided in this application. Detailed Implementation

[0043] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of this application, and should not be construed as limiting the embodiments of this application.

[0044] Currently, in related technologies, besides the issue that Bluetooth connectivity may require technical knowledge from users, leading to a decline in the user experience for ordinary users, in the scenario of family cars, there are often more than one device connected to the vehicle via Bluetooth. Different users may have different Bluetooth music output needs. In this context, when multiple users are in the vehicle cabin, there may be a problem where the target sound source is playing music but is not connected to the vehicle's Bluetooth connection for sound output, resulting in the sound still being output from the sound source instead of from the vehicle.

[0045] like Figure 1 As shown, to address the above problems, this application proposes a vehicle control method, including:

[0046] 01: Establishes a communication connection with the sound source based on the Bluetooth Low Energy protocol;

[0047] 02: Obtain the status information of the sound source based on the communication connection;

[0048] 03: Establish a Bluetooth audio connection with the sound source;

[0049] 04: When the status information indicates that the sound source does not use Bluetooth in the vehicle cabin for sound output by default, the sound path of the vehicle system will be switched to the Bluetooth path, and the audio content of the sound source will be output in the cabin based on the Bluetooth audio connection.

[0050] This application also provides a vehicle, including a memory and a processor. The memory stores a computer program, and the processor is used to establish a communication connection with a sound source based on the Bluetooth Low Energy protocol, and to obtain the status information of the sound source based on the communication connection, and to establish a Bluetooth audio connection with the sound source, and to switch the sound path of the vehicle system to the Bluetooth path when the status information indicates that the sound source does not use Bluetooth in the vehicle cabin for sound output by default, and to output the audio content of the sound source in the cabin based on the Bluetooth audio connection.

[0051] Specifically, the sound source is typically a portable mobile electronic device, such as a smartphone, tablet, or laptop. To enable the vehicle and the sound source to learn each other's information before establishing an audio connection, a communication connection needs to be established between them. Since the vehicle and the device acting as the sound source are often on different network segments or using different networking methods, a data connection for data synchronization or exchange is established based on Bluetooth Low Energy (BLE), the protocol used by smart vehicles to connect to Bluetooth keys and other wireless control devices. After establishing the communication connection, the vehicle will obtain the sound source's status information in real time based on changes in the sound source's status or output. This information includes, but is not limited to, the sound source's device description information, current Bluetooth network connection status, the sound information currently being output (such as bitrate, duration, and format), the application used to output the sound, and the current status information of the output sound (such as playback progress and lyrics progress). This information is saved in the vehicle's local storage for subsequent Bluetooth audio output. When a sound source requiring an audio connection is identified, the vehicle and the sound source establish a Bluetooth audio connection for outputting audio information based on the relevant protocols in Bluetooth technology that support audio connections. The process of establishing the Bluetooth audio connection can be adjusted according to the user's actual needs and the network connection relationship between devices. Understandably, the default value for the vehicle's audio output strategy is not the Bluetooth audio source; it generally defaults to FM radio or local storage. Therefore, under this default strategy, to enable the vehicle to output audio from the source, the audio output strategy needs to be adjusted to change the audio output path to the Bluetooth path. Only then, in conjunction with the Bluetooth audio connection described above, can the speakers in the vehicle cabin be controlled to output the audio originally from the source.

[0052] For example, in some implementations, a user brings a smartphone into the vehicle cabin and establishes a communication connection with the vehicle via the BLE protocol. Simultaneously, the smartphone is playing audio from a program. The vehicle obtains device information from the smartphone through the communication connection, including the application playing the audio, the audio's bitrate, duration, format, playback progress, and other information. At the same time, the vehicle interacts with the user and confirms with the sound source, establishing a Bluetooth audio connection based on the Bluetooth Audio to Display Protocol (A2DP). The vehicle also detects that the default audio output path in the vehicle cabin is not Bluetooth, so it automatically switches the audio output path to Bluetooth via a command from the vehicle system. At this point, the speakers in the vehicle cabin play the audio that the user's smartphone is currently playing.

[0053] Therefore, this application uses Bluetooth Low Energy (BLE) to pre-establish a communication connection between the sound source and the vehicle for transmitting synchronized data. This allows the sound source and the vehicle to synchronize relevant data information at any time. When it is necessary to output the sound from the sound source into the vehicle cabin, an audio connection for transmitting audio signals is established with the sound source via Bluetooth through user interaction or the vehicle system's identification results and automatic commands. The vehicle's sound output source is then switched to the Bluetooth channel, enabling the vehicle to output the sound content from the sound source into the vehicle cabin. The solution provided by this application simplifies user operations during the Bluetooth audio connection process and can accurately determine the sound source that needs to be output.

[0054] like Figure 2 As shown, step 01 includes:

[0055] 011: Broadcast Bluetooth services based on the Bluetooth Low Energy protocol;

[0056] 012: In response to the access notification broadcast by the sound source according to the Bluetooth service, establish a communication connection with the sound source.

[0057] The processor is used to publish Bluetooth service broadcasts based on the Bluetooth Low Energy protocol, and to establish a communication connection with the sound source in response to the sound source's access based on the Bluetooth service broadcast.

[0058] Specifically, to achieve rapid connection between the vehicle and the sound source, and to avoid errors during the connection process due to the inability to find corresponding devices, a method can be adopted whereby the vehicle broadcasts its Bluetooth network based on the BLE protocol, waiting for other devices to connect and establish a communication connection. In related technologies, the Bluetooth service broadcast established by the vehicle based on the BLE protocol is generally used for the connection between the vehicle and Bluetooth keys or other low-power Bluetooth controllers. This feature can be utilized to define a BLE-based Bluetooth communication connection at the software level based on this Bluetooth service broadcast, and establish a BLE communication connection with the sound source. Furthermore, since the Bluetooth service broadcast waits for multiple devices to connect in a broadcast manner, all portable electronic devices located in the vehicle cabin, including specific sound sources, can establish a communication connection with the vehicle based on the Bluetooth service broadcast. Thus, all portable electronic devices connected to the vehicle via BLE are potential sound sources and can all provide Bluetooth-based audio output to the vehicle.

[0059] For example, in some cases, after the vehicle is unlocked and powered on, the Bluetooth BLE service defined in the vehicle's in-vehicle system runs, broadcasting Bluetooth services to the vehicle's cabin and surrounding environment. The driver and front passenger each have a smartphone; when they enter the Bluetooth service broadcast range, both smartphones connect to the Bluetooth service broadcast, meaning both devices establish a communication connection with the vehicle.

[0060] Thus, this application provides a method for quickly establishing a communication connection between a sound source and a vehicle.

[0061] Step 02 includes:

[0062] It receives audio source playback information and device description information sent by the audio source, which is obtained by listening to the audio source itself.

[0063] The processor is used to receive sound source playback information and device description information sent by the sound source.

[0064] Specifically, the following describes the method for the vehicle to acquire the status information of the sound source and the specific content of the status information. Firstly, regarding the method for the vehicle to acquire the status information of the sound source, to reduce the complexity of the vehicle acquiring information from the sound source across devices, a method is adopted where the sound source directly monitors its own status. When the vehicle needs the status information of the sound source, the sound source sends the status information it has acquired through self-monitoring to the vehicle via the aforementioned communication network. The vehicle then receives the status information of the sound source based on the communication network and saves it in the vehicle's local storage. As for the content of the status information, during normal operation, the sound source monitors and acquires its own device description information and sound source playback information in real time. In addition to the inherent attribute information of the device itself, the device description information generally includes current network connection information such as MAC address, network connection quality, and RSSI of the current network connection. The types of data can be adjusted according to needs, and this application does not impose specific limitations. The sound source playback information describes the audio currently being played by the sound source, generally including the audio bitrate, total duration, format, and even the current playback progress information, as well as related lyrics files, such as files with the .lrc extension. In the status information, the device description information is the basic data required to establish and maintain the audio connection, while the sound source playback information, in addition to helping the vehicle's onboard system identify the sound source, can also provide a data basis for the information displayed on the subsequent user interface.

[0065] For example, in the scenario described above, the driver and passenger each possess a smartphone, and both smartphones have established a communication connection with the vehicle. Therefore, both smartphones will send their respective audio source playback information and device description information to the vehicle based on this communication connection. Specifically, if the smartphone is not currently playing any content, the audio source playback information will be empty when sending status information to the vehicle.

[0066] Thus, this application provides a method for sending status information, as well as the content and source of the status information.

[0067] Step 03 includes:

[0068] Under predetermined conditions, a Bluetooth audio connection based on the Bluetooth audio transmission protocol is established with the sound source.

[0069] The processor is used to establish a Bluetooth audio connection with the sound source based on the Bluetooth audio transmission protocol when the vehicle meets predetermined conditions.

[0070] Specifically, to save energy for both the vehicle and the audio source and to avoid wireless connections without effective data transmission, conditions need to be set before the vehicle and the audio source establish a Bluetooth audio connection based on the Bluetooth Audio to Platform (A2DP) protocol. These conditions can be set based on several factors, including user interaction needs, the current network connection priority between the audio source and the vehicle, and the vehicle's current audio connection strategy. The specific conditions can be adjusted as needed. Only when these conditions are met will the vehicle and the audio source establish an audio connection based on the A2DP protocol.

[0071] For example, in the example above, the conditions are set as follows: the vehicle obtains sound source playback information that is not empty, and the user sends a Bluetooth audio connection request through interaction. At this time, the sound source playback information of the driver's smartphone is not empty, while the sound source playback information of the passenger's smartphone is empty. Simultaneously, the user sends a Bluetooth audio connection request to the vehicle through interaction with the vehicle's center console. At this point, the vehicle and the passenger's smartphone establish a Bluetooth audio connection based on the A2DP protocol.

[0072] Thus, this application provides a method for establishing a Bluetooth audio connection.

[0073] like Figure 3 As shown, under predetermined conditions, a Bluetooth audio connection based on the Bluetooth audio transmission protocol is established with the sound source, including:

[0074] 031: When the sound source and the vehicle do not establish a Bluetooth audio connection by default through the Bluetooth audio transmission protocol, a Bluetooth audio connection request based on the status information is sent to the user.

[0075] 032: In response to the user's confirmation, establish a Bluetooth audio connection with the sound source based on the Bluetooth audio transmission protocol.

[0076] The processor is used to send a Bluetooth audio connection request to the user based on status information when the sound source and the vehicle do not establish a Bluetooth audio connection by default via the Bluetooth audio transmission protocol, and to establish a Bluetooth audio connection with the sound source based on the Bluetooth audio transmission protocol in response to the user's confirmation operation.

[0077] Specifically, the following describes several specific scenarios for establishing a Bluetooth audio connection, illustrating the solution provided in this application with examples. Generally, in terms of Bluetooth connection settings, the default value for vehicles is to not establish A2DP-based Bluetooth audio connections with other devices. Therefore, under such conditions, it is necessary for the vehicle and the sound source to establish an A2DP-based Bluetooth audio connection through a specific method. The confirmation and command for establishing the Bluetooth audio connection can be determined by the user according to their needs. Therefore, before establishing the connection, it is necessary to disclose relevant information about both the vehicle and the sound source on the vehicle's in-vehicle system interface or the sound source's interface before the user initiates the connection request. This information includes device description information and may also include information about the audio currently being played by the sound source. In some examples, the vehicle's in-vehicle system can display a confirmation pop-up window for initiating the Bluetooth audio connection on the center console screen in the vehicle cabin, based on the already obtained device description information and sound source playback information, for the user to check and confirm. After the user confirms the initiation of the Bluetooth audio connection through interaction with the center console screen, the vehicle and the corresponding sound source establish a Bluetooth audio connection based on the A2DP protocol.

[0078] For example, in some scenarios, there are smartphones belonging to the driver and passenger in the vehicle cabin. The passenger's smartphone is playing audio from a program, and the vehicle's Bluetooth connection settings are configured by default not to establish A2DP-based Bluetooth audio connections with other devices. In this case, the vehicle, based on the device description information and audio source playback information obtained from the passenger's smartphone through the communication connection, displays a pop-up window on the center console screen. The pop-up window indicates the two devices currently connected via Bluetooth, the audio content being played on the smartphone, and the application used to play the audio content, while also providing confirmation and cancellation buttons. When the user clicks the confirmation button, the vehicle confirms that the user has acknowledged the initiation of the Bluetooth audio connection through interaction with the center console screen, and establishes an A2DP-based Bluetooth audio connection with the passenger's smartphone.

[0079] Thus, this application provides a method for establishing a Bluetooth audio connection when there is no audio connection by default.

[0080] Under predetermined conditions, a Bluetooth audio connection based on the Bluetooth audio transmission protocol is established with the sound source, including:

[0081] 033: If the sound source and the vehicle do not establish a Bluetooth audio connection via Bluetooth audio transmission protocol by default, the system will automatically establish a Bluetooth audio connection with the sound source based on the Bluetooth audio transmission protocol according to the status information.

[0082] The processor is used to automatically establish a Bluetooth audio connection with the sound source based on the Bluetooth audio transmission protocol, when the sound source and the vehicle do not establish a Bluetooth audio connection by default.

[0083] Specifically, the default setting for vehicles is generally to not establish A2DP-based Bluetooth audio connections with other devices. Therefore, under these conditions, a specific method is needed to establish an A2DP-based Bluetooth audio connection between the vehicle and the sound source. For user convenience, the confirmation and command for establishing the Bluetooth audio connection are automatically executed directly by the vehicle's onboard system. Therefore, before establishing the connection, the vehicle needs to reconfirm the sound source requiring the Bluetooth audio connection based on the device description information. In some examples, the vehicle's onboard system can automatically search for the sound source requiring the Bluetooth audio connection based on the already acquired device description information. After the vehicle's onboard system confirms the sound source, the vehicle automatically establishes a Bluetooth audio connection with the corresponding sound source based on the A2DP protocol.

[0084] For example, in some scenarios, there are smartphones in the vehicle cabin, one for the driver and one for the passenger. The passenger's smartphone is playing audio from a program, and the vehicle's Bluetooth connection settings are configured by default not to establish A2DP-based Bluetooth audio connections with other devices. In this case, the vehicle, based on the device description information and audio source playback information obtained from the passenger's smartphone through its communication connection, identifies the passenger's smartphone as the audio source requiring an audio connection. The vehicle then automatically establishes an A2DP-based Bluetooth audio connection with the passenger's smartphone.

[0085] Thus, this application provides a method for establishing a Bluetooth audio connection when there is no audio connection by default.

[0086] like Figure 4 As shown, under predetermined conditions, a Bluetooth audio connection based on the Bluetooth audio transmission protocol is established with the sound source, including:

[0087] 034: If the highest priority audio source among the access audio sources broadcast by the Bluetooth service is not the target audio source, a Bluetooth audio connection request determined based on the audio output information and device description information will be sent to the user.

[0088] 035: In response to the user's confirmation, establish a Bluetooth audio connection with the target sound source based on the Bluetooth audio transmission protocol.

[0089] The processor is used to send a Bluetooth audio connection request to the user based on the sound output information and device description information if the highest priority sound source among the accessed sound sources broadcast by the Bluetooth service is not the target sound source, and to establish a Bluetooth audio connection with the target sound source based on the Bluetooth audio transmission protocol in response to the user's confirmation operation.

[0090] Specifically, when multiple potential sound sources within the vehicle are connected to a Bluetooth service broadcast established based on BLE, these potential sound sources can be prioritized according to their location within the vehicle cabin or other parameters that distinguish them. During subsequent A2DP-based Bluetooth audio connection establishment, the system defaults to connecting to the potential sound source with the highest priority. However, it's possible that the highest-priority potential sound source might not be playing audio while a lower-priority potential sound source is. In this case, the target sound source playing audio might not be able to establish a Bluetooth audio connection with the vehicle immediately, resulting in sound still emanating from the sound source. Furthermore, the confirmation and command for establishing a Bluetooth audio connection can be determined by the user. Therefore, before establishing the connection, it's necessary to disclose relevant information about the vehicle and the target sound source being played on the vehicle's in-vehicle system interface or the sound source's interface, including device description information and information about the audio currently being played by the target sound source, on the user's in-vehicle system interface or the sound source's interface. In some examples, the vehicle's in-vehicle system can display a confirmation pop-up window on the center console screen within the vehicle's cabin, based on the acquired device description information and the playback information of the target sound source, allowing the user to check and confirm. After the user confirms the Bluetooth audio connection through interaction with the center console screen, the vehicle and the corresponding target sound source establish a Bluetooth audio connection based on the A2DP protocol.

[0091] For example, in some scenarios, the vehicle cabin contains the driver's smartphone and the passenger's smartphone. Based on their positions within the cabin, the vehicle determines that the driver's smartphone has the highest connection priority in the Bluetooth service broadcast, while the passenger's smartphone does not. In this case, the vehicle's default audio output is an FM radio. The driver's smartphone is not playing audio, while the passenger's smartphone is playing a program. Due to the connection priority issue, the passenger's smartphone does not establish a Bluetooth audio connection with the vehicle; therefore, the audio is directly output from the passenger's smartphone. The information received by the vehicle displays the audio source playback information from the passenger's smartphone, determining that the driver's smartphone, with the highest connection priority, is not currently the target audio source, while simultaneously identifying the passenger's smartphone as the target audio source. Based on the acquired target audio source device description and playback information, the vehicle's in-vehicle system displays a confirmation pop-up window on the center console screen for user verification and confirmation. After the user confirms the Bluetooth audio connection through interaction with the center console screen, the vehicle and the target audio source establish a Bluetooth audio connection based on the A2DP protocol.

[0092] Thus, this application provides a method for establishing a Bluetooth audio connection when the device currently connected to the vehicle is not the target sound source.

[0093] Under predetermined conditions, a Bluetooth audio connection based on the Bluetooth audio transmission protocol is established with the sound source, including:

[0094] 036: If the highest priority audio source among the accessed audio sources broadcast by the Bluetooth service is not the target audio source, automatically establish a Bluetooth audio connection with the target audio source based on the Bluetooth audio transmission protocol according to the status information.

[0095] The processor is used to automatically establish a Bluetooth audio connection with the target audio source based on the Bluetooth audio transmission protocol, according to the status information, if the highest priority audio source among the accessed audio sources broadcast by the Bluetooth service is not the target audio source.

[0096] Specifically, when multiple potential sound sources within the vehicle are connected to a Bluetooth service broadcast established based on BLE, these sound sources can be prioritized according to their location within the vehicle cabin or other parameters that distinguish them. During the subsequent establishment of an A2DP-based Bluetooth audio connection, the system defaults to connecting to the potential sound source with the highest priority. However, it's possible that the highest-priority potential sound source might not be playing audio while a lower-priority potential sound source is. In this case, the target sound source playing audio might not be able to establish a Bluetooth audio connection with the vehicle immediately, resulting in sound still emanating from the source. Therefore, before establishing a connection, the vehicle needs to reconfirm the target sound source for the current Bluetooth audio connection establishment process based on device description information and sound source playback information. In some examples, the vehicle's in-vehicle system can automatically search for the target sound source to establish a Bluetooth audio connection based on the acquired device description information and sound source playback information. After the vehicle's in-vehicle system confirms the target sound source, the vehicle automatically establishes a Bluetooth audio connection with the corresponding sound source based on the A2DP protocol.

[0097] For example, in some scenarios, there are smartphones belonging to the driver and passenger in the vehicle cabin. The vehicle determines that the driver's smartphone has the highest connection priority in the Bluetooth service broadcast, based on their positions within the cabin, while the passenger's smartphone does not. In this case, the vehicle's default audio output is an FM radio. The driver's smartphone is not playing audio, while the passenger's smartphone is playing a program. Due to the connection priority issue, the passenger's smartphone does not establish a Bluetooth audio connection with the vehicle; therefore, the audio is output directly from the passenger's smartphone. The information received by the vehicle at this point shows the audio source information from the passenger's smartphone. It determines that the driver's smartphone, which has the highest connection priority, is not currently the target audio source, and simultaneously identifies the passenger's smartphone as the target audio source. The vehicle then automatically establishes an A2DP-based Bluetooth audio connection with the passenger's smartphone.

[0098] In summary, the vehicle control method provided in this application can be based on, as follows: Figure 5 The process shown is implemented.

[0099] This application also provides a computer-readable storage medium storing a computer program that, when executed by one or more processors, implements the vehicle control method described above.

[0100] In the description of this specification, the references to terms such as "some embodiments," "in one example," "exemplarily," etc., indicate that a specific feature, structure, material, or characteristic described in connection with an embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0101] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the function involved, as will be understood by those skilled in the art to which embodiments of this application pertain.

[0102] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.

Claims

1. A vehicle control method, characterized in that, The method includes: Establish a communication connection with the sound source based on the Bluetooth Low Energy protocol; Based on the communication connection, obtain the status information of the sound source; Establish a Bluetooth audio connection with the sound source; When the status information indicates that the sound source does not use Bluetooth in the vehicle cabin for sound output by default, the sound path of the vehicle system is switched to the Bluetooth path, and the audio content of the sound source is output in the cabin based on the Bluetooth audio connection. Establishing a Bluetooth audio connection with the sound source includes: If the highest priority audio source among the audio sources broadcast by the Bluetooth service is not the target audio source, a Bluetooth audio connection is automatically established with the target audio source based on the Bluetooth audio transmission protocol according to the status information. The status information includes sound source playback information and device description information. The sound source playback information includes the audio information currently being played by the sound source, the status information of the currently output sound, and the information of the application used to output the sound. The device description information includes the attributes of the device and the current Bluetooth network connection information.

2. The method according to claim 1, characterized in that, The establishment of a communication connection with the sound source based on the Bluetooth Low Energy protocol includes: Based on the Bluetooth Low Energy protocol, broadcast Bluetooth services. In response to the access broadcast by the sound source according to the Bluetooth service, a communication connection is established with the sound source.

3. The method according to claim 1, characterized in that, The step of obtaining the status information of the sound source based on the communication connection includes: The system receives the sound source playback information and the device description information sent by the sound source, which are obtained by the system through its own monitoring of the sound source.

4. The method according to claim 1, characterized in that, Establishing a Bluetooth audio connection with the sound source includes: If the sound source and the vehicle do not establish a Bluetooth audio connection via the Bluetooth audio transmission protocol by default, a Bluetooth audio connection request determined based on the status information is sent to the user. In response to the user's confirmation, a Bluetooth audio connection is established with the sound source based on the Bluetooth audio transmission protocol.

5. The method according to claim 1, characterized in that, Establishing a Bluetooth audio connection with the sound source includes: If the sound source and the vehicle do not establish a Bluetooth audio connection via the Bluetooth audio transmission protocol by default, the system will automatically establish a Bluetooth audio connection with the sound source based on the Bluetooth audio transmission protocol according to the status information.

6. The method according to claim 1, characterized in that, Establishing a Bluetooth audio connection with the sound source includes: If the highest priority audio source among the accessed audio sources broadcast by the Bluetooth service is not the target audio source, a Bluetooth audio connection request determined based on the audio output information and device description information will be fed back to the user. In response to the user's confirmation, a Bluetooth audio connection is established with the target sound source based on the Bluetooth audio transmission protocol.

7. A vehicle, characterized in that, The system includes a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the method as described in any one of claims 1-6.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by one or more processors, implements the method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Method and apparatus for playing music in mobile terminal through bluetooth

    CN103594100A