Bluetooth service control method and device, electronic equipment and vehicle

By acquiring the vehicle's current scene mode, the status of the in-vehicle Bluetooth service is dynamically adjusted, solving the problem that the in-vehicle Bluetooth system cannot dynamically adjust according to different scenes, and realizing a personalized and intelligent user experience.

CN121056848APending Publication Date: 2025-12-02GREAT WALL MOTOR CO LTD
View PDF 18 Cites 0 Cited by

Patent Information

Application Number
CN202511361922.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-23
Publication Date
2025-12-02

AI Technical Summary

Technical Problem

Current in-vehicle Bluetooth systems have fixed supported protocols and service types during the initialization phase, which makes it impossible to dynamically adjust according to different scenarios, fail to meet users' personalized needs, and result in functional redundancy or missing functions, affecting user experience.

Method used

By acquiring the vehicle's current scene mode, the target Bluetooth service status is determined, and adjustments are made based on the target status and the current status to achieve dynamic Bluetooth service enable control, automatically adjusting Bluetooth service support according to different scene modes.

Benefits of technology

It enables dynamic Bluetooth service control based on application scenarios, providing a more personalized and intelligent user experience, reducing unnecessary power consumption and performance overhead, and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121056848A_ABST
    Figure CN121056848A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicle Bluetooth, and provides a Bluetooth service control method and device, electronic equipment and a vehicle, and the method comprises the steps: obtaining a current scene mode of the vehicle, and determining a target state of a vehicle Bluetooth service according to the current scene mode; the method comprises the following steps: acquiring a target state of a vehicle Bluetooth service, judging whether a first device connected with a vehicle machine through Bluetooth exists, responding to the existence of the first device, acquiring a current state of the vehicle Bluetooth service, and adjusting the state of the vehicle Bluetooth service according to the target state and the current state. The target state is the state corresponding to the current actual scene mode of the vehicle, and the state of the Bluetooth service is adjusted according to the target state and the current state, so that the limitation of traditional vehicle-mounted Bluetooth service solidification is broken through, the enabling control of the dynamic Bluetooth service based on the application scene is realized, and the user experience is improved. The Bluetooth service support can be automatically adjusted according to different scene modes, and more personalized and intelligent user experience is provided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of vehicle Bluetooth, and more particularly to a Bluetooth service control method, apparatus, electronic device, and vehicle. Background Technology

[0002] Bluetooth technology, as an important standard for short-range wireless communication, has been widely used in consumer electronics, the Internet of Things, automotive electronics and other fields.

[0003] In actual vehicle use, different scenarios require different Bluetooth services. However, current in-vehicle Bluetooth systems have fixed supported protocols and service types during the initialization phase, resulting in fixed Bluetooth services provided by the in-vehicle Bluetooth system, which cannot meet user needs. Summary of the Invention

[0004] In view of this, the purpose of this disclosure is to provide a Bluetooth service control method, device, electronic device and vehicle to solve the problem that the current vehicle Bluetooth system has fixed supported protocols and service types during the initialization stage, and therefore the Bluetooth service provided by the vehicle Bluetooth system is a fixed Bluetooth service, which cannot meet the needs of users.

[0005] To achieve the above objectives, a first aspect of this disclosure provides a Bluetooth service control method, the method comprising: Obtain the current scene mode of the vehicle, and determine the target state of the vehicle's Bluetooth service based on the current scene mode; Determine if a first device is connected to the vehicle's infotainment system via Bluetooth; In response to the presence of the first device, the current state of the vehicle Bluetooth service is obtained, and the state of the vehicle Bluetooth service is adjusted according to the target state and the current state.

[0006] Based on the same inventive concept, a second aspect of this disclosure provides a Bluetooth service control device, comprising: The target state determination module is configured to acquire the current scene mode of the vehicle and determine the target state of the vehicle's Bluetooth service based on the current scene mode. The judgment module is configured to determine whether a first device is connected to the vehicle's infotainment system via Bluetooth. The state adjustment module is configured to, in response to the presence of the first device, obtain the current state of the vehicle Bluetooth service and adjust the state of the vehicle Bluetooth service according to the target state and the current state.

[0007] Based on the same inventive concept, a third aspect of this disclosure proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the Bluetooth service control method as described above when executing the computer program.

[0008] Based on the same inventive concept, a fourth aspect of this disclosure provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the Bluetooth service control method as described above.

[0009] Based on the same inventive concept, the fifth aspect of this disclosure provides a vehicle including the Bluetooth service control device described in the second aspect, the electronic device described in the third aspect, or the storage medium described in the fourth aspect.

[0010] As can be seen from the above, this disclosure proposes a Bluetooth service control method, device, electronic device, and vehicle. It obtains the current scene mode of the vehicle and determines the target state of the vehicle's Bluetooth service based on the current scene mode. That is, it determines the target state of the vehicle's Bluetooth service based on the vehicle's current actual scene, thereby associating the state of the vehicle's Bluetooth service with the actual scene. It determines whether a first device connected to the vehicle's infotainment system via Bluetooth exists, wherein the first device is the device connected to the vehicle's infotainment system via Bluetooth. If the first device exists, it obtains the current state of the vehicle's Bluetooth service and adjusts the state of the vehicle's Bluetooth service based on the target state and the current state. Because the target state corresponds to the vehicle's current actual scene mode, by adjusting the state of the Bluetooth service based on the target state and the current state, it breaks through the limitations of traditional fixed in-vehicle Bluetooth services, realizing dynamic Bluetooth service enable control based on application scenarios. It can automatically adjust Bluetooth service support according to different scene modes, providing a more personalized and intelligent user experience. Attached Figure Description

[0011] To more clearly illustrate the technical solutions in this disclosure or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0012] Figure 1 This is a flowchart of a Bluetooth service control method according to an embodiment of the present disclosure; Figure 2 This is a first flowchart of a Bluetooth service control method according to another embodiment of the present disclosure; Figure 3This is a second flowchart of a Bluetooth service control method according to another embodiment of the present disclosure; Figure 4 This is a third flowchart of a Bluetooth service control method according to another embodiment of the present disclosure; Figure 5 This is a structural block diagram of a Bluetooth service control device according to an embodiment of the present disclosure; Figure 6 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. Detailed Implementation

[0013] To make the objectives, technical solutions, and advantages of this disclosure clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.

[0014] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this disclosure should have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms "first," "second," and similar terms used in the embodiments of this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0015] The following are definitions of terms used in this disclosure: HFP: Hands-Free Profile, used for in-vehicle Bluetooth phone functionality, supports features such as voice calls, volume control, and caller ID, and is the core communication protocol for in-vehicle Bluetooth.

[0016] A2DP: Advanced Audio Distribution Profile (A2DP) is used for high-quality audio transmission, supports Bluetooth music playback, audio streaming, and other functions, and provides a stereo audio experience.

[0017] PBAP: Phone Book Access Profile, used to synchronize mobile phone contacts to the vehicle system, supporting functions such as contact information reading and call log synchronization.

[0018] MAP: Message Access Service (MAP) is a Bluetooth service used for message management. It allows for message synchronization and interaction between in-vehicle systems and mobile devices. When a mobile phone receives an SMS or instant message, the in-vehicle system receives and parses the message content via Bluetooth, and then broadcasts it to relevant applications. This allows the driver to safely view and manage messages through the in-vehicle screen or voice prompts without leaving the driver's seat, thereby improving safety and convenience while driving.

[0019] SDP: Service Discovery Protocol (ADP) is a standard protocol used by Bluetooth devices to query the types and features of services supported by each other, and it is a key step in the Bluetooth connection establishment process.

[0020] HCI: Host Controller Interface, is the command interface in the Bluetooth protocol stack used to control Bluetooth connections, supporting operations such as connection establishment, disconnection, and status query.

[0021] BLE: Bluetooth Low Energy (BLE) technology is used to broadcast device status information, supports low-power, short-range data transmission, and is suitable for status notification scenarios.

[0022] Bluetooth technology, as an important standard for short-range wireless communication, has been widely used in consumer electronics, the Internet of Things, automotive electronics and other fields.

[0023] In today's automotive technology field, in-vehicle Bluetooth systems, as an important communication and entertainment component, are widely used in various vehicles. However, from a technical architecture perspective, most current in-vehicle Bluetooth systems have their supported protocols and service types fixed during the initialization phase, with a one-to-one correspondence between supported protocols and service types. That is, if an in-vehicle Bluetooth system determines that it supports service type A and service type B during initialization, then after the vehicle leaves the factory, the Bluetooth services corresponding to service type A and service type B will remain continuously enabled when the vehicle's Bluetooth is in use. This means that once the vehicle leaves the factory, the Bluetooth services provided by the in-vehicle Bluetooth system are limited to a fixed range; that is, when the vehicle's Bluetooth is turned on, all Bluetooth services corresponding to all service types supported by the in-vehicle Bluetooth system will be enabled simultaneously.

[0024] However, in actual vehicle use, different scenarios require different Bluetooth services. For example, when the vehicle is in driving mode, it indicates that the driver is focused on driving. To avoid distracting the driver from in-vehicle entertainment functions, the Bluetooth service corresponding to these functions should be turned off to ensure safe driving. Current in-vehicle Bluetooth systems limit the total number of Bluetooth services they can provide during the initialization phase. Once Bluetooth is enabled, all Bluetooth services are always enabled, meaning the Bluetooth services provided by the in-vehicle Bluetooth system are fixed. It cannot selectively enable or disable Bluetooth services based on different scenarios, and therefore cannot select the appropriate Bluetooth service from the full range of services available to suit the current situation. Consequently, it cannot meet user needs.

[0025] Meanwhile, in scenarios where certain Bluetooth services are not needed, the in-vehicle Bluetooth system still maintains related connections and resources, resulting in unnecessary power consumption and performance overhead.

[0026] In other words, the current in-vehicle Bluetooth system has fixed supported protocols and service types during the initialization phase, which makes it impossible to dynamically adjust according to actual usage scenarios. This results in functional redundancy or missing functions, which not only limits the functional expandability of the in-vehicle Bluetooth system, but also affects the user experience and fails to meet users' needs for personalization and diversification.

[0027] Therefore, to address the problems existing in the aforementioned in-vehicle Bluetooth system, this embodiment proposes a Bluetooth service control method, such as... Figure 1 As shown, the method includes: Step 101: Obtain the current scene mode of the vehicle, and determine the target state of the vehicle Bluetooth service based on the current scene mode.

[0028] In specific implementation, the current scene mode of the vehicle is obtained. The current scene mode is the mode corresponding to the current in-vehicle scene. The current scene mode can be divided into driving mode, parking mode, meeting mode, entertainment mode, safety mode, etc.

[0029] In this embodiment, the current scene mode can be obtained by recognizing the in-vehicle scene. Specifically, in-vehicle sensors acquire image information, voice information, etc., and simultaneously acquire vehicle operation information and in-vehicle application status information. The in-vehicle application status information reflects whether the in-vehicle application is in a working state; the in-vehicle application can be a car phone, in-vehicle entertainment application, etc. At least one of the image information, voice information, in-vehicle application status information, and operation information is input into a scene recognition model. The scene recognition model processes the data and outputs the vehicle's current scene mode. The scene recognition model is a pre-trained neural network model used for recognizing in-vehicle scenes.

[0030] For example, the vehicle's operating information is obtained as the vehicle speed is zero. The status information of the in-vehicle application is obtained as the in-vehicle music software is running. At this time, the vehicle operating information and the status information of the in-vehicle application are input into the scene recognition model. After processing by the scene recognition model, the current scene mode of the vehicle is output as parking mode.

[0031] In this embodiment, the current scene mode can be determined by the user's selection. Specifically, the system receives the user's selection instruction for the scene mode, determines the scene mode corresponding to the selection instruction, and uses it as the current scene mode.

[0032] In this embodiment, the selection command is generated via touch or voice. For example, if the selection command is generated by the user's touch input on the vehicle's infotainment system, the user can generate the selection command by clicking a virtual or physical button on the system. The virtual button can be a button displayed on the vehicle's infotainment screen.

[0033] The vehicle's in-vehicle Bluetooth system includes multiple vehicle Bluetooth services. These services provide various functions for communication and data transmission between devices using Bluetooth technology, such as audio playback, hands-free calling, and file transfer, aiming to achieve seamless connectivity and convenient interaction between devices.

[0034] In this embodiment, the vehicle Bluetooth service can be specifically divided into communication services, entertainment services, and data transmission and interaction services. The communication services can be further divided into hands-free calling services, phonebook access services, and message access services. Specifically, the hands-free calling service allows users to make hands-free calls through the in-vehicle system. When a call comes in, the vehicle's audio system automatically switches to a different ringtone. The driver can answer the call using in-vehicle buttons or voice commands, eliminating the need to manually operate the phone and improving driving safety. The phonebook access service synchronizes contact information and call logs from the phone to the in-vehicle system, allowing users to directly search for and dial contact numbers on the in-vehicle screen. The message access service supports sending and receiving SMS messages on the in-vehicle system. When a phone receives an SMS message, the in-vehicle system receives and parses the message content, then broadcasts the message content to relevant applications.

[0035] The entertainment services, such as audio playback, allow users to play music, audio, and other media content from their mobile phones or other devices through the car's audio system, enhancing the entertainment experience while driving. The data transmission and interaction services include file transfer and vehicle information display services. The file transfer service allows the in-vehicle Bluetooth system to synchronize data and transfer files with devices such as mobile phones, for example, transferring music files from a mobile phone to the in-vehicle storage system. The vehicle information display service, via Bluetooth connection, allows the vehicle to send real-time vehicle diagnostics and performance information, such as speed, fuel consumption, and fault codes, to devices like mobile phones, enabling users to monitor the vehicle's status at any time.

[0036] In this embodiment, hands-free calling service is provided through the HFP protocol, phonebook access service is provided through the BPAP protocol, message access service is provided through the MAP protocol, and audio playback service is provided through the A2DP protocol.

[0037] Different scenario modes require different vehicle Bluetooth services, and consequently, the status of these services differs across scenario modes. Specifically, if a scenario mode requires a particular vehicle Bluetooth service, then that service will be in an enabled state within that scenario mode. An enabled vehicle Bluetooth service indicates that it has been activated and is functioning correctly, providing its functionality. An disabled Bluetooth service indicates that it is not currently activated or enabled and cannot function correctly.

[0038] For example, if there are three vehicle Bluetooth services in the vehicle Bluetooth system, namely vehicle Bluetooth service A, vehicle Bluetooth service B, and vehicle Bluetooth service C, and the vehicle Bluetooth service required by the vehicle's scenario mode is vehicle Bluetooth service A, then vehicle Bluetooth service A is determined to be in an enabled state, while vehicle Bluetooth services B and vehicle Bluetooth service C are both in an disabled state.

[0039] In this embodiment, the target state of each vehicle Bluetooth service can be determined by searching the database according to the current scene mode of the vehicle. The database stores the correspondence between scene modes and the state of each vehicle Bluetooth service, and the target state includes an enabled state or a disabled state.

[0040] The following example, using a vehicle Bluetooth system including hands-free calling, audio playback, and phonebook access services, illustrates the correspondence between scene modes and the status of each vehicle Bluetooth service: If the current scenario mode is driving mode, then the focus is on calls and navigation to avoid music interference. Therefore, the hands-free calling service is enabled, the audio playback service is disabled, and the phonebook access service is enabled.

[0041] If the current scenario mode is parking mode, then all functions are supported and can be used freely. Therefore, the hands-free calling service, audio playback service, and phonebook access service are enabled.

[0042] If the current scenario mode is conference mode, then it is in silent mode to avoid interfering with the conference. Therefore, the hands-free calling service, audio playback service, and phonebook access service are disabled.

[0043] If the current scene mode is entertainment mode, then the focus is on the music playback experience, so the hands-free calling service is disabled, the audio playback service is enabled, and the phonebook access service is disabled.

[0044] If the current scenario mode is security mode, then communication is prioritized. Therefore, hands-free calling service is enabled, audio playback service is disabled, and phonebook access service is enabled.

[0045] In this embodiment, the target vehicle Bluetooth service corresponding to the current scene mode can be determined by searching a database based on the vehicle's current scene mode. The target vehicle Bluetooth service represents the vehicle Bluetooth service required under the current scene mode, and the database stores the correspondence between scene modes and vehicle Bluetooth services. After determining the target vehicle Bluetooth service, the target state of each vehicle Bluetooth service in the in-vehicle Bluetooth system is determined based on the target vehicle Bluetooth service. That is, the target state of the determined target vehicle Bluetooth service is enabled, and the target state of all vehicle Bluetooth services other than the target vehicle Bluetooth service is disabled.

[0046] Step 102: Determine if there is a first device connected to the vehicle's infotainment system via Bluetooth.

[0047] In specific implementation, after determining the target state of the vehicle Bluetooth service corresponding to the current scenario mode, it is determined whether there is a first device connected to the vehicle system via Bluetooth, that is, the first device is a device connected to the vehicle system via Bluetooth.

[0048] In this embodiment, the presence of the first device can be determined using a status identifier, specifically as follows: The vehicle's infotainment system records information about all successfully paired devices, including device names. When a device is connected to the system via Bluetooth, the system displays a preset status indicator (e.g., "connected") next to the device name. The system can then detect these status indicators to determine if a device is currently connecting. If a device with the preset status indicator is present, it is selected as the first connected device.

[0049] In this embodiment, the determination of whether a first device exists can be made through the Bluetooth function module, specifically as follows: The vehicle's infotainment system can sense the connection status of devices through its own Bluetooth module, thereby determining the presence of a first device. For example, the audio system detects the audio input source. If the audio input source is a Bluetooth device and audio is playing, the system can determine that a Bluetooth device is connected. Similarly, the Bluetooth phone module monitors the connection status in real time. When a Bluetooth device connects, the system's Bluetooth phone function is activated and ready to answer calls. The system can determine the connection status of Bluetooth devices based on these changes in the status of the Bluetooth modules. If the Bluetooth module is active, it confirms the presence of a first device connected to the system via Bluetooth.

[0050] In this embodiment, the presence of the first device can be determined by the transmission status of the Bluetooth signal, specifically as follows: When a Bluetooth device connects to the vehicle's infotainment system, the system continuously receives Bluetooth signals from that device. The system can determine whether the device is connected by detecting the strength and stability of the Bluetooth signal. If the Bluetooth signal suddenly interrupts or weakens to a certain level, the system assumes the device has disconnected; otherwise, the device is considered connected, indicating that a first device is connected to the system via Bluetooth.

[0051] Step 103: In response to the presence of the first device, obtain the current state of the vehicle Bluetooth service, and adjust the state of the vehicle Bluetooth service according to the target state and the current state.

[0052] In specific implementation, when it is determined that there is a first device connected to the vehicle's infotainment system via Bluetooth, the current state of the vehicle's Bluetooth service is obtained, wherein the current state represents the actual state of the vehicle's Bluetooth service at the current moment.

[0053] The state of the vehicle Bluetooth service is adjusted based on the target state and the current state. It is understood that the adjusted state of the vehicle Bluetooth service may be the target state or it may remain in the current state.

[0054] The above scheme obtains the vehicle's current scene mode and determines the target state of the vehicle's Bluetooth service based on this scene mode. That is, it determines the target state of the vehicle's Bluetooth service according to the vehicle's current actual scene, thus associating the state of the vehicle's Bluetooth service with the actual scene. It determines whether a first device connected to the vehicle's infotainment system via Bluetooth exists. If the first device exists, it obtains the current state of the vehicle's Bluetooth service and adjusts the state of the vehicle's Bluetooth service according to the target state and the current state. Because the target state corresponds to the vehicle's current actual scene mode, adjusting the Bluetooth service state based on the target state and the current state breaks through the limitations of traditional fixed in-vehicle Bluetooth services. It achieves dynamic Bluetooth service enable control based on application scenarios, automatically adjusting Bluetooth service support according to different scene modes, providing a more personalized and intelligent user experience.

[0055] In some embodiments, if the current state of the vehicle Bluetooth service is enabled and the target state is disabled, it means that in the current scenario, the vehicle Bluetooth service should be disabled, i.e., the state of the vehicle Bluetooth service is adjusted from enabled to disabled. Specifically, step 103, adjusting the state of the vehicle Bluetooth service based on the target state and the current state, includes: Step 1031: In response to the current state being enabled and the target state being disabled, disconnect the vehicle Bluetooth service and send a disconnection prompt message to the first device; Step 1032: Adjust the status of the vehicle Bluetooth service from the current status to the target status.

[0056] In specific implementation, if the current state of the vehicle Bluetooth service is enabled, and the target state of the vehicle Bluetooth service determined according to the current scenario mode is disabled, then the vehicle Bluetooth service should be disabled under the current scenario mode. Therefore, the vehicle Bluetooth service is disconnected, and a disconnection prompt message is sent to the first device, wherein the disconnection prompt message indicates to the first device that the vehicle Bluetooth service has been disconnected.

[0057] After disconnecting the vehicle Bluetooth service, the status of the vehicle Bluetooth service is adjusted from the current status to the target status.

[0058] For example, device A is connected to the vehicle's infotainment system via Bluetooth. The current scenario mode is driving mode. The target state of the vehicle's Bluetooth service corresponding to driving mode is determined to be: hands-free calling service is enabled, audio playback service is disabled, and phonebook access service is enabled.

[0059] The current status of the vehicle's Bluetooth service is as follows: hands-free calling service is enabled, audio playback service is enabled, and phonebook access service is enabled. At this point, the status of the audio playback service needs to be changed from enabled to disabled. This involves disconnecting the Bluetooth connection corresponding to the audio playback service and sending a disconnection message to device A, informing device A that the audio playback service between it and the vehicle's infotainment system has been disconnected. After this, the audio playback service status becomes disabled, and the adjusted vehicle Bluetooth service status is: hands-free calling service is enabled, audio playback service is disabled, and phonebook access service is enabled.

[0060] In another example, device B is connected to the vehicle's infotainment system via Bluetooth. The current scenario mode is conference mode. The target state of the vehicle's Bluetooth service corresponding to the driving mode is determined to be that the hands-free calling service is disabled, the audio playback service is disabled, and the phonebook access service is disabled.

[0061] The current status of the vehicle's Bluetooth service is as follows: hands-free calling service is enabled, audio playback service is disabled, and phonebook access service is enabled. At this point, the status of hands-free calling service and phonebook access service needs to be changed from enabled to disabled. This involves disconnecting the Bluetooth connections corresponding to hands-free calling service and phonebook access service, and sending a disconnection message to device B to inform device B that the hands-free calling service and phonebook access service between device B and the vehicle's infotainment system have been disconnected. After this, the status of hands-free calling service and phonebook access service will both become disabled. The corresponding adjusted vehicle Bluetooth service status will then be: hands-free calling service disabled, audio playback service disabled, and phonebook access service disabled.

[0062] The above solution determines the corresponding target state based on the current scenario mode. When the target state of the vehicle Bluetooth service is disabled and the current state is enabled, the vehicle Bluetooth service is disconnected. This ensures that the state of the vehicle Bluetooth service matches the current scenario mode, meets the requirements of the current scenario mode, and improves the user's driving experience.

[0063] In some embodiments, if the current state of the vehicle Bluetooth service is disabled and the target state is enabled, it means that the vehicle Bluetooth service should be enabled in the current scenario. However, since the vehicle Bluetooth service is disabled because the first device is not connected, a connection request is sent to the first device to adjust the state of the vehicle Bluetooth service. Specifically, step 103, which adjusts the state of the vehicle Bluetooth service based on the target state and the current state, includes: Step 103A: In response to the current state being disabled and the target state being enabled, a service connection request is sent to the first device. Step 103B: Receive the response result sent by the first device, and adjust the status of the vehicle Bluetooth service according to the response result.

[0064] In practice, if the current state of the vehicle Bluetooth service is disabled, and the target state of the vehicle Bluetooth service is enabled based on the current scenario mode, then the vehicle Bluetooth service should be enabled in the current scenario mode.

[0065] Since the vehicle Bluetooth service is disabled because the first device is not connected to the vehicle Bluetooth service, i.e., the vehicle Bluetooth service is not connected and activated, a service connection request is sent to the first device at this time. The service connection request includes the vehicle Bluetooth service in order to request the establishment of the vehicle Bluetooth service with the first device.

[0066] The first device receives the service connection request, and based on its own needs and capabilities, provides a response result. The device then adjusts the status of the vehicle Bluetooth service according to the specific response result. The response result indicates whether the vehicle Bluetooth service connection was successful; that is, the response result indicates either a successful connection or a failed connection.

[0067] Specifically, the process of adjusting the state of the vehicle's Bluetooth service based on the response results includes: Step 103B1: In response to the response result being a successful connection, the status of the vehicle Bluetooth service is adjusted from the current status to the target status.

[0068] In practice, if the first device responds with a successful connection, it indicates that a connection for the vehicle Bluetooth service has been established between the vehicle's infotainment system and the first device. This means the vehicle Bluetooth service has been activated and is ready to function. Therefore, the state of the vehicle Bluetooth service is adjusted from its current state to the target state, i.e., the adjusted state is enabled.

[0069] For example, device C is connected to the vehicle's infotainment system via Bluetooth. The current scenario mode is parking mode. The target state of the vehicle's Bluetooth services corresponding to parking mode is determined to be that hands-free calling service is enabled, audio playback service is enabled, and phonebook access service is enabled.

[0070] The current status of the vehicle's Bluetooth service is found to be: hands-free calling service is disabled, audio playback service is enabled, and phonebook access service is enabled. Therefore, the hands-free calling service needs to be enabled. At this point, a service connection request is sent to device C to request connection to the hands-free calling service.

[0071] Upon receiving a response from device C, if the response indicates a successful connection, it means the hands-free calling service has been activated. At this point, the hands-free calling service becomes enabled, and the corresponding adjusted vehicle Bluetooth service states are: hands-free calling service enabled, audio playback service enabled, and phonebook access service enabled.

[0072] or, Step 103B2: In response to the response result being a connection failure, the state of the vehicle's Bluetooth service is maintained at the current state. In practice, if the first device responds with a connection failure, it indicates that a connection for the vehicle Bluetooth service has not yet been established between the vehicle's infotainment system and the first device; that is, the vehicle Bluetooth service is not activated and remains unavailable. Therefore, the vehicle Bluetooth service maintains its current state, i.e., the adjusted vehicle Bluetooth service is in an enabled state.

[0073] For example, device D is connected to the vehicle's infotainment system via Bluetooth. The current scenario mode is entertainment mode. The target state of the vehicle's Bluetooth service corresponding to the parking mode is determined to be that the hands-free calling service is disabled, the audio playback service is enabled, and the phonebook access service is disabled.

[0074] The current status of the vehicle's Bluetooth service is found to be that hands-free calling, audio playback, and phonebook access are all disabled. Therefore, the audio playback service needs to be enabled. At this point, a service connection request is sent to device D to request a connection to the audio playback service.

[0075] Upon receiving a response from device D, if the response indicates a connection failure, it means that device D has not agreed to enable the audio playback service, i.e., the audio playback service is not activated. At this time, the audio playback service remains disabled, and the corresponding adjusted vehicle Bluetooth service status is: hands-free calling service disabled, audio playback service disabled, and phonebook access service disabled.

[0076] The above scheme determines the corresponding target state based on the current scenario. When the target state of the vehicle Bluetooth service is enabled, but the current state is disabled, a service connection request is sent to the first device. The first device then decides whether to connect to enable the vehicle Bluetooth service, thus ensuring the security and privacy of the first device and preventing data leakage, malware infection, and unauthorized access. It also avoids accidental connections and interference, meets personalized user needs, and improves the user experience.

[0077] In some embodiments, after determining the target state of the vehicle Bluetooth service corresponding to the current scenario mode, if there is no first device currently connected to the vehicle infotainment system via Bluetooth, the target state corresponding to the vehicle Bluetooth service is stored in a database for subsequent use when other devices connect to the vehicle infotainment system. That is, after determining in step 102 whether there is a first device connected to the vehicle infotainment system via Bluetooth, the method further includes: Step 104: In response to the absence of the first device, the target state is associated with and stored with the vehicle Bluetooth service.

[0078] In specific implementation, after determining the target state of the vehicle Bluetooth service corresponding to the current scenario mode, it is determined whether there is a first device connected to the vehicle system via Bluetooth, that is, the first device is a device connected to the vehicle system via Bluetooth.

[0079] If there is no first device connected to the vehicle's infotainment system via Bluetooth at this time, the target state is associated with the vehicle's Bluetooth service and stored in the database. It can be understood that the current state of the vehicle's Bluetooth service is the target state.

[0080] With the above solution, when there is no first device connected to the vehicle's infotainment system via Bluetooth, the target state of the vehicle's Bluetooth service is determined and stored in the database. At this time, the state of the vehicle's Bluetooth service is also the target state. If a device sends a service state query request to the vehicle's infotainment system later, the target state can be retrieved and sent to that device.

[0081] In some embodiments, if a service status query request is received from another device after storing the target status corresponding to the current scene mode in the database, the target status can be retrieved from the database and sent to the other device. That is, after step 104 associates and stores the target status with the vehicle Bluetooth service, the method further includes: Step 10A: Receive a service status query request sent by the second device and retrieve the target status; Step 10B: Generate a service status query response packet based on the target status, and send the service status query response packet to the second device.

[0082] In practice, after storing the target state corresponding to the current scenario mode in the database, a service status query request is received from the second device. This indicates that the second device wants to enable the vehicle Bluetooth service with the vehicle's infotainment system. The service status query request is an SDP query request.

[0083] At this point, the vehicle's infotainment system retrieves the stored target state, generates a service status query response packet based on the target state, and sends the service status query response packet to the second device. Specifically, the target state is encapsulated into a service status query response packet according to the format specified by SDP, and then sent to the second device via Bluetooth.

[0084] It is understandable that the vehicle's infotainment system and the second device have already established a Bluetooth connection before the vehicle's infotainment system receives the service status query request from the second device. That is, the second device first needs to send a Bluetooth connection request to the vehicle's infotainment system, and only after the vehicle's infotainment system responds to the Bluetooth connection request and establishes a Bluetooth communication connection with the second device can the second device send a service status query request to the vehicle's infotainment system.

[0085] In some embodiments, after adjusting the state of the vehicle Bluetooth service, the adjusted state of the vehicle Bluetooth service can be sent to all devices connected to the vehicle's infotainment system to inform them of the current actual state of the vehicle Bluetooth service. That is, after step 103, the system further includes: Step 10a: Determine the actual status of the adjusted vehicle Bluetooth service; Step 10b: Obtain all third devices connected to the vehicle's infotainment system via Bluetooth, and send status broadcast information to each third device, wherein the status broadcast information includes the actual status of the vehicle's Bluetooth service.

[0086] In practice, after adjusting the state of the vehicle Bluetooth service based on the target state and the current state, the actual state of the adjusted vehicle Bluetooth service is determined.

[0087] The system acquires all third-party devices connected to the vehicle's infotainment system via Bluetooth and sends status broadcast information to each of these devices. Since all third-party devices are connected to the vehicle's infotainment system via Bluetooth, the status broadcast information is a BLE broadcast and includes the actual status of the vehicle's Bluetooth service.

[0088] Based on the same inventive concept, another embodiment of this disclosure provides a Bluetooth service control method applied to an in-vehicle infotainment system. The in-vehicle Bluetooth system of the infotainment system supports protocols including HFP, A2DP, and PBAP. Figure 2 As shown, the method specifically includes: Step 201: Determine and adjust the status of the vehicle's Bluetooth service based on the vehicle's current scenario mode.

[0089] Step 202: Determine whether the protocol type corresponding to the vehicle Bluetooth service is HFP, A2DP, or PBAP. If yes, proceed to step 203; otherwise, end the process.

[0090] In practice, the current scene mode of the vehicle is obtained, and the state of the vehicle's Bluetooth service is adjusted accordingly. Since the in-vehicle Bluetooth system supports protocols including HFP, A2DP, and PBAP, the system first determines whether the protocol type corresponding to the vehicle's Bluetooth service is HFP, A2DP, or PBAP.

[0091] Step 203: Determine the target state of the corresponding vehicle Bluetooth service based on the vehicle's current scene mode.

[0092] In practice, the database is searched based on the vehicle's current scenario mode to determine the target state of each vehicle's Bluetooth service corresponding to the current scenario mode. The database stores the correspondence between scenario modes and the state of each vehicle's Bluetooth service, and the target state includes an enabled state or a disabled state.

[0093] Step 204: Determine if there is a first device connected to the vehicle's infotainment system. If yes, proceed to step 205; otherwise, end the process.

[0094] In specific implementation, after determining the target state of the vehicle Bluetooth service corresponding to the current scenario mode, it is determined whether there is a first device connected to the vehicle system via Bluetooth, that is, the first device is a device connected to the vehicle system via Bluetooth.

[0095] Step 205: Determine whether to adjust the state to a disabled state. If yes, proceed to step 206; otherwise, proceed to step 207.

[0096] Step 206: Disconnect and disable the vehicle's Bluetooth service.

[0097] Step 207: Broadcast the vehicle's Bluetooth service status as enabled.

[0098] In practice, if a first device is present, it is determined whether the vehicle Bluetooth service should be disabled. If yes, it indicates that the vehicle Bluetooth service should be disabled in the current scenario. Therefore, the vehicle Bluetooth service is disconnected, and its status is changed from the current state to the target state. If no, it remains enabled, and the vehicle Bluetooth service status is broadcast as enabled via BLE.

[0099] This solution overcomes the limitations of traditional fixed in-vehicle Bluetooth services, enabling dynamic service enablement control based on application scenarios and giving the in-vehicle Bluetooth system intelligent service management capabilities. By dynamically disabling unnecessary Bluetooth services, system resource consumption is reduced, power consumption is lowered, and overall system performance is improved. Simultaneously, it can automatically adjust Bluetooth service support according to different in-vehicle application scenarios (driving, conferencing, entertainment, etc.), providing a more personalized and intelligent user experience. Finally, real-time notification of service status changes is achieved through the BLE broadcast mechanism, ensuring that surrounding devices can promptly obtain the latest service support information.

[0100] Based on the same inventive concept, another embodiment of this disclosure provides a Bluetooth service control method applied to an in-vehicle infotainment system. The in-vehicle Bluetooth system of the infotainment system supports protocols including HFP, A2DP, and PBAP. Figure 3 As shown, the method specifically includes: Step 301: Obtain the current scene mode of the vehicle.

[0101] Step 302: Determine whether the current scene mode is driving mode. If yes, proceed to step 303. If no, proceed to step 304.

[0102] Step 303: The target state of the vehicle Bluetooth service corresponding to the HFP and PBAP protocols is enabled, and the target state of the vehicle Bluetooth service corresponding to the A2DP protocol is disabled.

[0103] Step 304: Determine whether the current scene mode is parking mode. If yes, proceed to step 305. If no, proceed to step 306.

[0104] Step 305: The target state of the vehicle Bluetooth service corresponding to the HFP protocol, PBAP protocol, and A2DP protocol is enabled.

[0105] Step 306: Determine whether the current scene mode is a safe mode. If yes, proceed to step 307; otherwise, proceed to step 308.

[0106] Step 307: The target state of the vehicle Bluetooth service corresponding to the HFP and PBAP protocols is enabled, and the target state of the vehicle Bluetooth service corresponding to the A2DP protocol is disabled.

[0107] Step 308: The target state of the vehicle Bluetooth services corresponding to the HFP protocol, PBAP protocol and A2DP protocol is the default state, wherein the default state is the enabled state.

[0108] Step 309: Adjust the state of the vehicle Bluetooth service according to the determined target state.

[0109] In practice, the current scene mode of the vehicle is obtained, and the target state of each vehicle Bluetooth service corresponding to the current scene mode is determined based on the current scene mode. The target state includes an enabled state or a disabled state.

[0110] After determining the target state of the vehicle Bluetooth service corresponding to the current scenario mode, it is determined whether there is a first device connected to the vehicle infotainment system via Bluetooth, that is, the first device is a device connected to the vehicle infotainment system via Bluetooth.

[0111] When a first device connected to the vehicle's infotainment system via Bluetooth is identified, the current state of the vehicle's Bluetooth service is obtained. This current state represents the actual state of the vehicle's Bluetooth service at the current moment. The state of the vehicle's Bluetooth service is adjusted based on the target state and the current state. It is understood that the adjusted state of the vehicle's Bluetooth service may be the target state or it may remain in the current state.

[0112] The above solution allows users to control Bluetooth services according to their actual needs, avoiding unnecessary functional interference and providing a more focused and personalized user experience. Simultaneously, dynamically disabling unnecessary Bluetooth services reduces system resource consumption, lowers power consumption, and improves overall system performance.

[0113] Based on the same inventive concept, another embodiment of this disclosure provides a Bluetooth service control method, which describes how, after determining the target state of the vehicle's Bluetooth service corresponding to the current scenario mode, if no device is connected to the vehicle's infotainment system via Bluetooth, the target state is stored. If another device sends an SDP query request, the interaction process between the vehicle's infotainment system and the other device is described.

[0114] This embodiment uses a mobile phone as an example for illustration. Figure 4 As shown, the method specifically includes: Step 401: The mobile phone initiates a Bluetooth connection request.

[0115] Step 402: The vehicle system receives the Bluetooth connection request sent by the mobile phone.

[0116] Step 403: The mobile phone sends an SDP query request.

[0117] Step 404: The vehicle system determines the target status of the vehicle's Bluetooth service.

[0118] Step 405: If the target state of the vehicle Bluetooth service corresponding to the HFP is enabled, the vehicle system determines that the vehicle Bluetooth service corresponding to the HFP is supported.

[0119] Step 406: If the target state of the vehicle Bluetooth service corresponding to A2DP is enabled, the vehicle system determines that the vehicle Bluetooth service corresponding to A2DP is supported.

[0120] Step 407: If the target state of the vehicle Bluetooth service corresponding to PBAP is enabled, the vehicle system determines that the vehicle Bluetooth service corresponding to A2DP is supported.

[0121] Step 408: The vehicle system builds an SDP response package and sends it to the mobile phone.

[0122] In practice, the second device first needs to send a Bluetooth connection request to the vehicle's infotainment system. After the vehicle's infotainment system responds to the Bluetooth connection request and establishes a Bluetooth communication connection with the second device, the second device can then send a service status query request to the vehicle's infotainment system.

[0123] After storing the target state corresponding to the current scenario mode in the database, a service status query request is received from the second device, indicating that the second device wants to enable the vehicle Bluetooth service with the vehicle's infotainment system. This service status query request is an SDP query request.

[0124] At this point, the vehicle's infotainment system retrieves the stored target state, generates a service status query response packet based on the target state, and sends the service status query response packet to the second device. Specifically, the target state is encapsulated into a service status query response packet according to the format specified by SDP, and then sent to the second device via Bluetooth.

[0125] It should be noted that the method of this disclosure embodiment can be executed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario, where multiple devices cooperate to complete the task. In such a distributed scenario, one of these devices may execute only one or more steps of the method of this disclosure embodiment, and the multiple devices will interact with each other to complete the method described.

[0126] It should be noted that the above description describes some embodiments of this disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in a different order than that shown in the above embodiments and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0127] Based on the same inventive concept, corresponding to any of the above embodiments, this disclosure also provides a Bluetooth service control device.

[0128] refer to Figure 5 , Figure 5 The Bluetooth service control device for this embodiment includes: The target state determination module 501 is configured to acquire the current scene mode of the vehicle and determine the target state of the vehicle's Bluetooth service based on the current scene mode. The judgment module 502 is configured to determine whether there is a first device connected to the vehicle's infotainment system via Bluetooth; The state adjustment module 503 is configured to, in response to the presence of the first device, obtain the current state of the vehicle Bluetooth service and adjust the state of the vehicle Bluetooth service according to the target state and the current state.

[0129] In some embodiments, the state adjustment module 503 is specifically configured as follows: In response to the current state being enabled and the target state being disabled, the vehicle Bluetooth service is disconnected, and a disconnection notification message is sent to the first device. Adjust the status of the vehicle's Bluetooth service from the current status to the target status.

[0130] In some embodiments, the state adjustment module 503 is specifically configured as follows: In response to the current state being disabled and the target state being enabled, a service connection request is sent to the first device; Receive the response result sent by the first device, and adjust the status of the vehicle Bluetooth service according to the response result.

[0131] In some embodiments, the state adjustment module 503 is specifically configured as follows: In response to a successful connection, the status of the vehicle's Bluetooth service is adjusted from the current status to the target status; or... In response to a connection failure, the state of the vehicle's Bluetooth service is maintained at the current state.

[0132] In some embodiments, the apparatus further includes a storage module, which is specifically configured to: In response to the absence of the first device, the target state is associated with and stored in the vehicle Bluetooth service.

[0133] In some embodiments, the apparatus further includes a status query module, which is specifically configured to: Upon receiving a service status query request from the second device, retrieve the target status; A service status query response packet is generated based on the target status, and the service status query response packet is sent to the second device.

[0134] In some embodiments, the apparatus further includes a broadcast module, which is specifically configured to: Determine the actual status of the adjusted vehicle Bluetooth service; The system acquires all third-party devices connected to the vehicle's infotainment system via Bluetooth and sends status broadcast information to each of these devices, wherein the status broadcast information includes the actual status of the vehicle's Bluetooth service.

[0135] For ease of description, the above apparatus is described in terms of its functions, divided into various modules. Of course, in implementing this disclosure, the functions of each module can be implemented in one or more software and / or hardware.

[0136] The apparatus of the above embodiments is used to implement the corresponding Bluetooth service control method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0137] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the Bluetooth service control method described in any of the above embodiments.

[0138] Figure 6 This embodiment illustrates a more specific hardware structure of an electronic device. The device may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.

[0139] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0140] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0141] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.

[0142] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0143] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.

[0144] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.

[0145] The electronic devices described above are used to implement the corresponding Bluetooth service control methods in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0146] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this disclosure also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the Bluetooth service control method as described in any of the above embodiments.

[0147] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.

[0148] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the Bluetooth service control method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0149] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides a vehicle, including the Bluetooth service control device in the above embodiments, the electronic device in the above embodiments, and the computer-readable storage medium in the above embodiments, wherein the vehicle device implements the Bluetooth service control method described in any of the above embodiments.

[0150] The vehicles described in the above embodiments are used to implement the Bluetooth service control method described in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0151] It is understood that before using the technical solutions of the various embodiments in this disclosure, users will be informed of the type, scope of use, and usage scenarios of the personal information involved in an appropriate manner, and user authorization will be obtained.

[0152] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose, based on the prompt message, whether to provide personal information to the software or hardware such as electronic devices, applications, servers, or storage media performing the operations of this disclosed technical solution.

[0153] As an optional but not limited implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0154] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0155] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this disclosure (including the claims) is limited to these examples; within the framework of this disclosure, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this disclosure as described above, which are not provided in detail for the sake of brevity.

[0156] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this disclosure, the provided drawings may or may not show well-known power / ground connections to integrated circuit (IC) chips and other components. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this disclosure, and this also takes into account the fact that the details of implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this disclosure will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuits) have been set forth to describe exemplary embodiments of this disclosure, it will be apparent to those skilled in the art that the embodiments of this disclosure can be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0157] Although this disclosure has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.

[0158] This disclosure is intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A Bluetooth service control method, characterized in that, include: Obtain the current scene mode of the vehicle, and determine the target state of the vehicle's Bluetooth service based on the current scene mode; Determine if a first device is connected to the vehicle's infotainment system via Bluetooth; In response to the presence of the first device, the current state of the vehicle Bluetooth service is obtained, and the state of the vehicle Bluetooth service is adjusted according to the target state and the current state.

2. The method according to claim 1, characterized in that, The step of adjusting the state of the vehicle Bluetooth service based on the target state and the current state includes: In response to the current state being enabled and the target state being disabled, the vehicle Bluetooth service is disconnected, and a disconnection notification message is sent to the first device. Adjust the status of the vehicle's Bluetooth service from the current status to the target status.

3. The method according to claim 1, characterized in that, The step of adjusting the state of the vehicle Bluetooth service based on the target state and the current state includes: In response to the current state being disabled and the target state being enabled, a service connection request is sent to the first device; Receive the response result sent by the first device, and adjust the status of the vehicle Bluetooth service according to the response result.

4. The method according to claim 3, characterized in that, The step of adjusting the status of the vehicle's Bluetooth service based on the response result includes: In response to a successful connection, the status of the vehicle's Bluetooth service is adjusted from the current status to the target status; or... In response to a connection failure, the state of the vehicle's Bluetooth service is maintained at the current state.

5. The method according to claim 1, characterized in that, After determining whether a first device is connected to the vehicle's infotainment system via Bluetooth, the process also includes: In response to the absence of the first device, the target state is associated with and stored in the vehicle Bluetooth service.

6. The method according to claim 5, characterized in that, After associating and storing the target state with the vehicle Bluetooth service, the method further includes: Upon receiving a service status query request from the second device, retrieve the target status; A service status query response packet is generated based on the target status, and the service status query response packet is sent to the second device.

7. The method according to claim 1, characterized in that, After adjusting the state of the vehicle Bluetooth service based on the target state and the current state, the method further includes: Determine the actual status of the adjusted vehicle Bluetooth service; The system acquires all third-party devices connected to the vehicle's infotainment system via Bluetooth and sends status broadcast information to each of these devices, wherein the status broadcast information includes the actual status of the vehicle's Bluetooth service.

8. A Bluetooth service control device, characterized in that, include: The target state determination module is configured to acquire the current scene mode of the vehicle and determine the target state of the vehicle's Bluetooth service based on the current scene mode. The judgment module is configured to determine whether a first device is connected to the vehicle's infotainment system via Bluetooth. The state adjustment module is configured to, in response to the presence of the first device, obtain the current state of the vehicle Bluetooth service and adjust the state of the vehicle Bluetooth service according to the target state and the current state.

9. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the method as described in any one of claims 1 to 7.

10. A vehicle, characterized in that, The vehicle includes the electronic equipment as described in claim 9.

Citation Information

Patent Citations

  • Bluetooth starting method and Bluetooth device

    CN105487887A

  • Bluetooth apparatus of vehicle, method and appratus for managing communication connection of vehicle

    CN108990028A

  • Method, device and equipment for realizing Bluetooth service connection

    CN111918258A

  • Method for realizing Bluetooth data communication and audio call of vehicle machine

    CN113347617A

  • Automatic connection method for vehicle Bluetooth equipment

    CN114501388A