Vehicle networking method, electronic equipment and computer storage medium
By setting up vehicle connectivity functions in electronic devices, wireless connection between mobile phones and vehicle devices can be intelligently achieved, solving the problem of cumbersome operation, improving vehicle connectivity efficiency, and ensuring driving safety.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2026-03-10
AI Technical Summary
In existing technologies, the process of connecting mobile phones and vehicle systems is cumbersome and inefficient, especially since manual operation during driving may threaten driving safety.
By setting up vehicle connectivity functions in electronic devices, the system can intelligently enable interaction between electronic devices and vehicle-mounted devices in response to user triggers. It will only enter the vehicle connectivity scenario when the interaction parameters meet preset conditions and provide wireless network connectivity.
It enables intelligent interconnection between mobile phones and vehicle-mounted devices, avoiding cumbersome operations, improving vehicle connectivity efficiency, and ensuring driving safety.
Smart Images

Figure CN121645172A_ABST
Abstract
Description
Technical Field
[0001] This application relates to interconnection technology between mobile phones and vehicle systems, and more particularly to a vehicle connectivity method, electronic device, and computer storage medium. Background Technology
[0002] Currently, with the continuous advancement of technology, automobiles are no longer just a means of transportation, but also intelligent partners that integrate advanced technologies. However, many problems still exist in daily use.
[0003] For example, in some older car infotainment systems, the user experience may be limited due to network connectivity constraints. Although many newer models support in-vehicle connectivity, network instability and high costs are common problems. Therefore, users often use their mobile hotspots to connect to the car, but this method is cumbersome and inconvenient, resulting in inefficient communication between the phone and the car's infotainment system.
[0004] In other words, using existing technologies to connect mobile phones and vehicle systems requires users to manually perform a series of operations on either the vehicle or the phone. This makes the connection process relatively cumbersome, and some users even manually operate their phones while driving, threatening driving safety. Currently, there is an urgent need for an intelligent method to improve vehicle connectivity efficiency. Summary of the Invention
[0005] This application provides a vehicle connectivity method, electronic device, and computer storage medium that can improve vehicle connectivity efficiency.
[0006] The technical solution of this application is implemented as follows:
[0007] In a first aspect, embodiments of this application provide a vehicle connectivity method, which is applied in an electronic device and includes:
[0008] In response to a triggering operation on the vehicle's infotainment system, the triggering method is triggered to obtain a successful triggering result, thereby enabling interaction between the electronic device and the target vehicle.
[0009] If the interaction parameters between the electronic device and the target vehicle meet preset conditions, the electronic device is determined to enter the vehicle connectivity scenario so that the electronic device provides a wireless network to the vehicle-mounted device.
[0010] Secondly, embodiments of this application provide an electronic device, including: a processor and a storage medium storing processor-executable instructions; the storage medium performs operations via a communication bus dependent on the processor, and when the instructions are executed by the processor, the vehicle connectivity method described in one or more of the above embodiments is executed.
[0011] Thirdly, embodiments of this application provide a computer storage medium storing executable instructions. When the executable instructions are executed by one or more processors, the processors execute the vehicle connectivity method described in one or more of the above embodiments.
[0012] This application provides a vehicle connectivity method, electronic device, and computer storage medium, including: responding to a triggering operation on a triggering method of a vehicle-mounted device of a target vehicle, triggering the triggering method to obtain a successful triggering result so that the electronic device and the target vehicle can interact; and determining that the electronic device enters a vehicle connectivity scenario when the interaction parameters between the electronic device and the target vehicle meet preset conditions so that the electronic device provides a wireless network to the vehicle-mounted device. In other words, in this application embodiment, by responding to a triggering operation on a triggering method of a vehicle-mounted device of a target vehicle, the triggering method is triggered, and a successful triggering result is obtained, thereby enabling interaction between the electronic device and the vehicle-mounted device. When the interaction parameters meet preset conditions, the vehicle connectivity scenario is entered, thereby providing a wireless network to the vehicle-mounted device, establishing a wireless connection between the electronic device and the vehicle-mounted device, and realizing vehicle connectivity. Thus, by triggering the method, interaction parameters can be obtained. Based on this, when the interaction parameters meet preset conditions, a wireless connection between the electronic device and the vehicle-mounted device can be intelligently realized, avoiding cumbersome operations in related technologies and achieving intelligent vehicle connectivity, thereby improving vehicle connectivity efficiency. Attached Figure Description
[0013] Figure 1 A flowchart illustrating an optional vehicle connectivity method provided in an embodiment of this application;
[0014] Figure 2 A flowchart illustrating an example of an optional vehicle connectivity method provided in this application embodiment;
[0015] Figure 3 A flowchart illustrating an optional vehicle connectivity method provided in this application embodiment, as an example two.
[0016] Figure 4 A flowchart illustrating an optional vehicle connectivity method, example three, provided as an embodiment of this application;
[0017] Figure 5 A flowchart illustrating an optional vehicle connectivity method, example four, provided as an embodiment of this application;
[0018] Figure 6 A schematic diagram of an optional vehicle connectivity device provided in an embodiment of this application;
[0019] Figure 7 This is a schematic diagram of an optional electronic device provided in an embodiment of this application. Detailed Implementation
[0020] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0021] To address the technical problem of low vehicle connectivity efficiency caused by cumbersome operations in wireless connections between electronic devices and in-vehicle systems, this application provides a vehicle connectivity method that is applied to electronic devices. Figure 1 A flowchart illustrating an optional vehicle connectivity method provided in an embodiment of this application is shown below. Figure 1 As shown, the vehicle connectivity method may include:
[0022] S101: In response to the triggering operation of the triggering method of the vehicle's infotainment system, the triggering method is triggered and a successful triggering result is obtained so that the electronic device and the vehicle's infotainment system can interact.
[0023] In related technologies, many car owners may face the following scenario: they need to manually turn their mobile hotspot on and off every time they get in and out of the car. This series of operations is cumbersome and results in low efficiency of the interconnection between the mobile phone and the car's system.
[0024] To address the cumbersome technical issue of manually establishing a wireless connection between a mobile phone and a vehicle in related technologies, this application embodiment addresses this problem by setting up a vehicle connectivity function in the electronic device, enabling the vehicle device to intelligently connect to the network via the electronic device's hotspot, thereby achieving intelligent vehicle connectivity.
[0025] Specifically, regarding the vehicle connectivity function in this application embodiment, when a user issues a trigger operation for the triggering method of the vehicle's infotainment system, the electronic device receives the trigger operation information for the triggering method of the vehicle's infotainment system, thereby triggering the triggering method and obtaining a triggering result. The triggering result can include two results: one is a successful triggering result, which enables the electronic device to interact with the target vehicle, and the other is a failed triggering result, which prevents the electronic device from interacting with the target vehicle.
[0026] In this embodiment, a successful trigger enables interaction between the electronic device and the target vehicle. Specifically, only after a successful trigger does the system determine whether to enter the vehicle-to-everything (V2X) scenario by checking if the interaction parameters meet preset conditions. Conversely, for a failed trigger, the system does not determine whether to enter the V2X scenario by checking if the interaction parameters meet preset conditions.
[0027] S102: When the interaction parameters between the electronic device and the target vehicle meet the preset conditions, determine that the electronic device enters the vehicle connectivity scenario so that the electronic device can provide wireless network to the vehicle's infotainment system.
[0028] When the selected triggering method is triggered successfully via S102, the electronic device interacts with the target vehicle. This can be achieved by triggering the selected triggering method to establish a connection between the electronic device and the target vehicle's device, or by using the electronic device's default triggering method to establish a connection between the electronic device and the target vehicle's device, and then using this connection to enable interaction between the electronic device and the target vehicle's device to obtain interaction parameters.
[0029] It should be noted that the interaction parameters obtained are different for the connection between the electronic device and different devices of the target vehicle. The interaction parameters here can be the signal quality parameters of the signals generated during the interaction, or the type of events listened to during the interaction. Here, the embodiments of this application do not make specific limitations on this.
[0030] When the interaction parameters between the electronic device and the target vehicle meet preset conditions, the electronic device enters the vehicle connectivity scenario, enabling it to activate its hotspot, provide a wireless network to the vehicle's infotainment system, and establish a wireless connection. When the interaction parameters between the electronic device and the target vehicle do not meet the preset conditions, the electronic device does not enter the vehicle connectivity scenario.
[0031] In this way, by selecting the triggering method, the electronic device can intelligently provide a wireless network to the vehicle's infotainment system to establish a wireless connection.
[0032] To allow users to flexibly select the triggering method, in one optional embodiment, the above method may further include:
[0033] In response to the selection of the triggering method for the vehicle connectivity scenario, the triggering method of the vehicle's in-vehicle device is determined.
[0034] Understandably, setting the triggering method for vehicle connectivity scenarios in electronic devices allows users to select the triggering method for a vehicle connectivity scenario before using the vehicle connectivity function. This enables the electronic device to respond to the selection of the triggering method for the vehicle connectivity scenario, thereby determining the triggering method for the target vehicle's in-vehicle device.
[0035] Here, at least one triggering method can be set for the vehicle connectivity function. Each triggering method can bind one or more vehicle-mounted devices. In this way, by selecting a triggering method and then selecting the target vehicle under the selected triggering method, the triggering method of the target vehicle's vehicle-mounted device can be determined.
[0036] In addition, the above-mentioned triggering methods may include one or more triggering methods. For different vehicles, there may be one or more triggering methods. Here, the embodiments of this application do not make specific limitations in this regard.
[0037] In this way, the triggering method of the target vehicle's in-vehicle equipment can be determined.
[0038] To determine the triggering method of the vehicle's infotainment system, in one optional embodiment, in response to the selection operation of the triggering method for the vehicle-to-everything (V2X) scenario, determining the triggering method of the vehicle's infotainment system may include:
[0039] S011: In response to the selection of the vehicle connectivity function, display the option of triggering the vehicle connectivity scenario on the current display interface of the electronic device;
[0040] S012: In response to the selection of the triggering method for the vehicle connectivity scenario, determine the triggering method of the vehicle's infotainment system.
[0041] Understandably, the triggering method of the vehicle's infotainment system can be determined through the two steps S011 and S012 described above. Specifically, if the electronic device has a vehicle connectivity option, then in order to enable the vehicle connectivity function, the user can manually select the vehicle connectivity function. For example, the user selects the vehicle connectivity function option, and the electronic device responds to the selection operation, thereby displaying the triggering method option for the vehicle connectivity scenario on the current display interface of the electronic device.
[0042] The user selects the triggering method for the vehicle connectivity scenario, and the electronic device responds to the selection to determine the triggering method for the target vehicle's in-vehicle device.
[0043] In this way, by setting the triggering methods for vehicle connectivity functions and vehicle scenarios, electronic devices can enable vehicle connectivity functions and select the triggering method for vehicle connectivity functions, thereby intelligently realizing the interconnection between electronic devices and vehicle-mounted devices.
[0044] Furthermore, in order to determine the triggering method of the vehicle's infotainment system, in an optional embodiment, S012 may include:
[0045] In response to the selection of the triggering method for the vehicle-to-everything (V2X) scenario, the vehicle bound to the selected triggering direction is displayed on the current display interface of the electronic device.
[0046] In response to the selection of a target vehicle among the bound vehicles, determine the triggering method of the vehicle's in-vehicle equipment.
[0047] Understandably, when a user selects a trigger method for a vehicle-to-everything (V2X) scenario, the vehicles bound to the selected trigger method are displayed on the current display interface of the electronic device. Here, the number of vehicles bound to the selected trigger method can be one or more, and this application embodiment does not specifically limit this.
[0048] The bound vehicles are displayed on the current screen. The user selects the target vehicle from the bound vehicles, thus determining the triggering method of the target vehicle's in-vehicle device.
[0049] In this way, by selecting the target vehicle from the vehicles bound under the triggering method, the triggering method of the vehicle's in-vehicle equipment can be determined, laying the foundation for intelligent vehicle connectivity.
[0050] To enable users to activate vehicle connectivity, in one optional embodiment, the method further includes:
[0051] When the electronic device is connected to other devices in the target vehicle for the first time, the vehicle connectivity options are displayed on the current display interface of the electronic device.
[0052] Understandably, when an electronic device connects for the first time to other devices in the target vehicle—meaning devices other than the vehicle's infotainment system—it indicates a need for wireless connectivity between the electronic device and the vehicle's infotainment system. Therefore, the vehicle connectivity option is displayed on the electronic device's current screen. The user selects this option to activate the vehicle connectivity function.
[0053] Among these, the other devices can be Bluetooth car keys, Near Field Communication (NFC) car keys, in-vehicle Bluetooth, in-vehicle Wireless Fidelity (Wi-Fi), and in-vehicle dashcams, etc.
[0054] Thus, by reminding users to activate the vehicle connectivity function based on the initial connection status between the electronic device and other devices in the target vehicle, the electronic device can promptly activate the vehicle connectivity function, thereby achieving intelligent vehicle connectivity.
[0055] In addition to the methods described above, to remind users to enable the vehicle connectivity function, in an optional embodiment, the method further includes:
[0056] If the target vehicle is instructed to provide a wireless network to the vehicle's infotainment system within a preset time period after startup, based on the obtained history of the electronic device, the vehicle connectivity option will be displayed on the current display screen of the electronic device.
[0057] Understandably, the historical records of the electronic device are obtained, which store connection records between the electronic device and the target vehicle. These connection records may include connection time and connection method.
[0058] If the historical record indicates that the target vehicle's electronic devices provide wireless network access to the vehicle's infotainment system within a preset time period after startup, it indicates that the electronic devices and the vehicle's infotainment system require intelligent vehicle connectivity. Therefore, the vehicle connectivity option is displayed on the electronic device's current screen. The user selects this option to enable the vehicle connectivity function.
[0059] The duration of the preset time period can be set according to needs, for example, 30 minutes.
[0060] It should be noted that, in addition to the preset time period after the target vehicle is started, the option of vehicle connectivity can also be displayed on the current display interface of the electronic device when the obtained electronic device history indicates that the electronic device provides wireless network to the vehicle device within the preset time period after the target vehicle is unlocked.
[0061] In this way, by judging the connection records in the history of electronic devices, it is possible to accurately determine whether there is a need for vehicle connectivity between electronic devices and vehicle-mounted devices, which helps to remind users to enable vehicle connectivity in a timely manner.
[0062] In addition to the methods described above, to remind users to enable the vehicle connectivity function, in an optional embodiment, the method further includes:
[0063] If the target vehicle is instructed to project its screen to the vehicle's infotainment system within a preset time period after startup, based on the obtained history of the electronic device, the vehicle connectivity options will be displayed on the current display screen of the electronic device.
[0064] Understandably, the historical records of electronic devices are obtained, which store interaction records between the electronic devices and the vehicle. These interaction records may include: interaction time and interaction method.
[0065] If the historical record indicates that the target vehicle's electronic device projects its screen to the vehicle's infotainment system within a preset time period after startup, it indicates that the electronic device and the vehicle's infotainment system require intelligent vehicle connectivity. Therefore, the vehicle connectivity option is displayed on the electronic device's current screen. The user selects this option to enable the vehicle connectivity function.
[0066] It should be noted that, in addition to the preset time period after the target vehicle is started, it can also be: when the historical record of the electronic device indicates that the electronic device will project the target vehicle's screen to the vehicle's infotainment system within a preset time period after the vehicle is unlocked, the option of vehicle connectivity function can be displayed on the current display interface of the electronic device.
[0067] In this way, by judging the interaction records in the history of electronic devices, it is possible to accurately determine whether there is a need for vehicle connectivity between electronic devices and vehicle-mounted devices, which helps to remind users to enable vehicle connectivity in a timely manner.
[0068] Regarding the above-mentioned triggering methods, in one optional embodiment, the triggering method includes one or more of the following: a first triggering method, a second triggering method, and a third triggering method.
[0069] Understandably, the above-mentioned triggering methods may include one or more of the first, second and third triggering methods.
[0070] The first triggering method is activating the Bluetooth car key; the second triggering method is activating the NFC car key; and the third triggering method is enabling the in-vehicle Bluetooth connection. In other words, in the vehicle connectivity function, entry into the vehicle connectivity scenario can be triggered by activating the Bluetooth car key, activating the NFC car key, enabling the in-vehicle Bluetooth connection, or any two or three of the above triggering methods. This application embodiment does not specifically limit this method.
[0071] In this way, one or more of the above-mentioned triggering methods can be used to enter the vehicle connectivity scenario, providing multiple options for different vehicles and expanding the applicability of vehicle connectivity functions.
[0072] Regarding the first triggering method described above, in order to enable the electronic device to interact with the target vehicle through the triggering method, in an optional embodiment, S101 may include:
[0073] S101A1: When the triggering method is the first triggering method and the first triggering method is triggered, activate the Bluetooth car key for the target vehicle;
[0074] S101A2: When the Bluetooth car key is successfully activated, the activated Bluetooth car key function enables electronic devices to interact with the target vehicle.
[0075] Understandably, when the first triggering method is selected for the vehicle's infotainment system, the Bluetooth car key is activated for the target vehicle. In related technologies, the Bluetooth car key function is implemented by installing the vehicle manufacturer's application package (Android application package, APK).
[0076] When the Bluetooth car key is successfully activated via the APK, the electronic device interacts with the target vehicle. The activated Bluetooth car key function allows the electronic device to lock or unlock the target vehicle or start or stop the target vehicle. In this way, the activated Bluetooth car key function enables the electronic device to interact with the target vehicle.
[0077] In this way, by successfully activating the Bluetooth car key function, electronic devices and vehicle-mounted devices can interact, thereby obtaining interaction parameters to determine whether the electronic device has entered the vehicle connectivity scenario, thus realizing intelligent vehicle connectivity.
[0078] Regarding the triggering method for activating the Bluetooth car key, in order to intelligently achieve vehicle connectivity, in one optional embodiment, S102 may include:
[0079] Based on the activated Bluetooth car key function, the first signal quality parameters between the electronic device and the target vehicle are obtained;
[0080] If the first signal quality parameter is greater than the first preset threshold, it is determined that the electronic device has entered the vehicle-to-everything (V2X) scenario so that the electronic device can provide wireless network to the vehicle-mounted equipment.
[0081] Understandably, the activated Bluetooth car key function enables interaction between the electronic device and the target vehicle. In order to obtain the interaction parameters between the two, the signal quality parameters of the signal between the electronic device and the vehicle's infotainment system are obtained and denoted as the first signal quality parameter. This is used as the interaction parameter corresponding to the triggering method of activating the Bluetooth car key.
[0082] The first signal parameter is then compared with a first preset threshold. When the first signal quality parameter is greater than the first preset threshold, it is determined that the electronic device has entered the vehicle connectivity scenario, allowing the electronic device to activate its hotspot and provide a wireless network to the vehicle's infotainment system, establishing a wireless connection. When the first signal quality parameter is less than the first preset threshold, it is determined that the electronic device has not entered the vehicle connectivity scenario.
[0083] When the first signal quality parameter is equal to the first preset threshold, the electronic device may or may not enter the vehicle connectivity scenario. Here, the embodiments of this application do not specifically limit this.
[0084] In this way, when the first trigger method is selected, the connection between electronic devices and vehicle-mounted devices is intelligently realized, improving vehicle connectivity efficiency.
[0085] Furthermore, in order to obtain the first signal quality parameter, in one optional embodiment, based on the activated Bluetooth car key function, the first signal quality parameter between the electronic device and the target vehicle is obtained, including:
[0086] The identifier of the vehicle's infotainment system is obtained from the APK corresponding to the Bluetooth car key function of the electronic device via the CarLink module of the electronic device.
[0087] The CarLink module and the OAF module of the electronic device are used to obtain the Media Access Control Address (MAC) address of the vehicle infotainment device corresponding to the device's identifier.
[0088] The MAC address of the vehicle's infotainment device is mapped to the corresponding LinkHandle to obtain the first signal quality parameters between the electronic device and the target vehicle.
[0089] Understandably, electronic devices are equipped with CarLink and OAF modules. When a user activates the Bluetooth car key via the car manufacturer's APK, the APK reports the vehicle's device identifier and Bluetooth scanning filter rules to the CarLink module. The CarLink module is responsible for managing vehicle connectivity functions, such as activating and maintaining the car manufacturer's APK in the car key function, and initiating the screen mirroring process in the vehicle's infotainment system.
[0090] The CarLink module registers the vehicle's device identifier and ScanFilter with the OAF module. The OAF module's primary function is connectivity discovery scanning. Based on the received vehicle device identifier and ScanFilter, the OAF module continuously scans for surrounding Bluetooth Low Energy (BLE) broadcast signals and filters out broadcast information corresponding to the vehicle's device identifier. The OAF module then reports the scanned broadcast information (scanRecord) to the CarLink module. The ScanRecord includes all information carried in the broadcast packet, such as the MAC address of the vehicle device to be used subsequently.
[0091] The CarLink module is responsible for activating the car manufacturer's APK and informing it of the vehicle's device identifier and MAC address. Subsequent Bluetooth car key functionality is then handled by the car manufacturer's APK. Finally, the CarLink module broadcasts the vehicle's device identifier, MAC address, and key locking / unlocking events. The broadcast events are then mapped to the corresponding LinkHandle based on the device's MAC address. The LinkHandle then periodically retrieves the Received Signal Strength Indication (RSSI) from the controller (the underlying chip's software). This RSSI is the primary signal quality parameter.
[0092] In this way, the first signal quality parameters can be obtained, thereby determining whether to enter the vehicle connectivity scenario, which provides a foundation for realizing intelligent vehicle connectivity.
[0093] Regarding the second triggering method, in order to enable the electronic device to interact with the target vehicle through the triggering method, in an optional embodiment, S101 may include:
[0094] S101B1: When the triggering method is the second triggering method and the second triggering method is triggered, activate the NFC car key for the target vehicle;
[0095] S101B2: When the NFC car key is successfully activated, the activated NFC car key function enables electronic devices to interact with the target vehicle.
[0096] Understandably, when the second triggering method is selected for the vehicle's infotainment system, the NFC car key is activated for the target vehicle. In related technologies, the NFC car key function is accomplished by the wallet within the electronic device.
[0097] When an NFC car key is successfully activated via a wallet, the electronic device interacts with the target vehicle. This allows the electronic device to lock or unlock the vehicle or start or stop it using the activated NFC car key function.
[0098] In this way, by successfully activating the NFC car key function, electronic devices and vehicle-mounted devices can interact to obtain interaction parameters to determine whether to enter the vehicle scenario, thus realizing intelligent vehicle connectivity.
[0099] Regarding the method of activating NFC car keys, in order to intelligently realize vehicle connectivity, in one optional embodiment, S102 may include:
[0100] After successfully activating the NFC car key, the card identifier of the NFC car key will be stored locally;
[0101] Listen for key events related to the card identifier;
[0102] In the case where the key event is one of the first preset events, it is determined that the electronic device enters the vehicle connectivity scenario so that the electronic device can provide wireless network to the vehicle's infotainment system.
[0103] Understandably, the NFC car key function enables interaction between electronic devices and vehicle-mounted devices. In order to obtain the interaction parameters between the two, after the NFC car key is successfully activated, the card identifier of the NFC car key is stored locally, so that the electronic device can listen to the card.
[0104] By listening to the key events of the card identifier, the key events are used as the interaction parameters corresponding to the triggering method of activating the NFC car key.
[0105] The key event is then compared with the first preset event. If the key event is one of the events in the first preset event, the electronic device is determined to have entered the vehicle connectivity scenario, enabling it to activate its hotspot and provide a wireless network to the vehicle's infotainment system, thus establishing a wireless connection. If the key event is not one of the events in the first preset event, the electronic device is determined not to have entered the vehicle connectivity scenario.
[0106] In this way, when the second trigger method is selected, the connection between electronic devices and vehicle-mounted devices is intelligently realized, improving vehicle connectivity efficiency.
[0107] In one optional embodiment, the first preset event includes one or more of the following: unlocking event and start event.
[0108] Understandably, the first preset event can be one or both of the unlocking event and the start event. That is, when the key event is the unlocking event and / or the start event, the electronic device enters the vehicle connectivity scenario.
[0109] Thus, by listening to the events identified by the card and comparing them with the first preset event, it is determined whether to enter the vehicle connectivity scenario, thereby realizing intelligent vehicle connectivity by adopting the second triggering method.
[0110] Regarding the third triggering method described above, in order to enable the electronic device to interact with the target vehicle through the triggering method, in an optional embodiment, S101 may include:
[0111] S101C1: When the triggering method is the third triggering method and the third triggering method is triggered, a Bluetooth connection is established with the Bluetooth device of the target vehicle via the vehicle Bluetooth.
[0112] S101C2: When a Bluetooth connection with a Bluetooth device is successful, the electronic device enables interaction between the electronic device and the target vehicle through the Bluetooth connection with the Bluetooth device.
[0113] Understandably, when the third triggering method is selected for the vehicle's infotainment system, a Bluetooth connection is established with the Bluetooth device in the target vehicle via the vehicle's Bluetooth.
[0114] When a Bluetooth connection is successfully established with a Bluetooth device, the electronic device and the Bluetooth device interact via Bluetooth, enabling interaction between the electronic device and the target vehicle.
[0115] In this way, by successfully establishing a Bluetooth connection with the Bluetooth device, the electronic device and the vehicle's infotainment system can interact, thereby obtaining interaction parameters to determine whether to enter the vehicle scenario, thus realizing intelligent vehicle connectivity.
[0116] To achieve in-vehicle Bluetooth connectivity, for the reconnecting device, in one optional embodiment, a Bluetooth connection is established with the target vehicle's Bluetooth device via in-vehicle Bluetooth, including:
[0117] If the Bluetooth device is a previously connected device, a Bluetooth connection is established with the Bluetooth device via the vehicle's Bluetooth system.
[0118] Understandably, for devices that have already been connected, i.e., reconnection devices, a Bluetooth connection can be directly established between the electronic device and the Bluetooth device.
[0119] In this way, a Bluetooth connection with the reconnecting device was achieved, and the third triggering method was successfully triggered, laying the foundation for further determination of whether to enter the vehicle connectivity scenario.
[0120] To achieve in-vehicle Bluetooth connectivity, for devices that have not been previously connected, in one optional embodiment, a Bluetooth connection is established with the target vehicle's Bluetooth device via in-vehicle Bluetooth, including:
[0121] If the Bluetooth device is a device that has not been connected before, and the device name of the device that has not been connected before exists in the local database, a Bluetooth connection is established with the Bluetooth device via the vehicle's Bluetooth system.
[0122] Understandably, when pairing a new device with a previously unconnected device, the electronic device will identify the name of the other Bluetooth device and compare it with the device names of the in-vehicle infotainment devices in the local database. The names of the Bluetooth devices in the local database can be provided by the partner automaker.
[0123] If the name matches the name in the local database and the devices are successfully paired, the user will be notified that the device has successfully configured the intelligent vehicle connectivity trigger method; otherwise, the user will be notified that the device has failed to configure the intelligent vehicle connectivity trigger method.
[0124] In this way, Bluetooth connection with previously unconnected devices was achieved, and the third triggering method was successfully triggered, laying the foundation for further determination of whether to enter the vehicle connectivity scenario.
[0125] Regarding the triggering method for enabling in-vehicle Bluetooth connection, in order to intelligently realize vehicle connectivity, in one optional embodiment, S102 may include:
[0126] Based on the Bluetooth connection with the Bluetooth device, obtain the second signal quality parameter between the electronic device and the Bluetooth device;
[0127] If the second signal quality parameter is greater than the first preset threshold, it is determined that the electronic device has entered the vehicle connectivity scenario so that the electronic device can provide wireless network to the vehicle device.
[0128] Understandably, the Bluetooth connection with the Bluetooth device enables the electronic device and the target vehicle to interact via Bluetooth. In order to obtain the interaction parameters between the two, the signal quality parameters of the signal between the electronic device and the vehicle device are obtained here, denoted as the second signal quality parameter, and this is used as the interaction parameter corresponding to the triggering method of activating the vehicle Bluetooth connection.
[0129] The second signal parameter is then compared with the first preset threshold. When the second signal quality parameter is greater than the first preset threshold, it is determined that the electronic device has entered the vehicle connectivity scenario, allowing the electronic device to activate its hotspot and provide a wireless network to the vehicle's infotainment system, establishing a wireless connection. When the second signal quality parameter is less than the first preset threshold, it is determined that the electronic device has not entered the vehicle connectivity scenario.
[0130] When the second signal quality parameter is equal to the first preset threshold, the electronic device may or may not enter the vehicle connectivity scenario. Here, the embodiments of this application do not specifically limit this.
[0131] In this way, when the third trigger method is selected, the connection between electronic devices and vehicle-mounted devices is intelligently realized, improving vehicle connectivity efficiency.
[0132] Furthermore, in order to obtain the second signal quality parameter, in one optional embodiment, based on the Bluetooth connection with the Bluetooth device, the second signal quality parameter between the electronic device and the Bluetooth device is obtained, including:
[0133] Obtain the MAC address of the vehicle's infotainment system via the target vehicle's Bluetooth module;
[0134] The MAC address of the vehicle's infotainment device is mapped to the corresponding LinkHandle to obtain the second signal quality parameter between the electronic device and the Bluetooth device.
[0135] Understandably, when an electronic device establishes a Bluetooth connection with the target vehicle's Bluetooth device, it can obtain the MAC address and device name of the vehicle's infotainment system through the target vehicle's Bluetooth module. This allows the electronic device to obtain the MAC address and device name of the vehicle's infotainment system.
[0136] Then, the MAC address of the vehicle's infotainment device is mapped to the corresponding LinkHandle, and the RSSI on that Link is periodically obtained from the controller through the LinkHandle, which is the second signal quality parameter.
[0137] In this way, the second signal quality parameter can be obtained, thereby determining whether the electronic device has entered the vehicle connectivity scenario, providing a foundation for realizing intelligent vehicle connectivity.
[0138] The above describes how to enter the vehicle connectivity scenario under the first, second, and third triggering methods, respectively. It should be noted that in this embodiment, any two or all three of the above triggering methods can also be used to determine whether the electronic device enters the vehicle connectivity scenario.
[0139] In an optional embodiment where the first and third triggering methods described above are used, the triggering methods are both the first and third triggering methods, and S102 may include:
[0140] If both the first signal quality parameter and the second signal quality parameter are greater than the first preset threshold, the electronic device is determined to enter the vehicle connectivity scenario.
[0141] Understandably, for the first triggering method described above, the interaction parameter under the first triggering method is the first signal quality parameter, and for the third triggering method described above, the interaction parameter under the third triggering method is the second signal quality parameter.
[0142] Therefore, for in-vehicle devices, to determine whether to enter a vehicle connectivity scenario, a first signal quality parameter is compared with a first preset threshold, and a second signal quality parameter is compared with the first preset threshold. Only when both the first and second signal quality parameters are greater than the first preset threshold is it determined that the electronic device and the in-vehicle device have a vehicle connectivity requirement, and the electronic device is determined to enter the vehicle connectivity scenario. Otherwise, it is not entered into the vehicle connectivity scenario.
[0143] Thus, by comparing the first signal quality parameter and the second signal quality parameter with the first preset threshold respectively, it is determined whether to enter the vehicle connectivity scenario. This method determines how to enter the vehicle connectivity scenario under the fusion triggering method of the first and third triggering methods, thereby expanding the applicability of the vehicle connectivity function.
[0144] In an optional embodiment where the first and second triggering methods described above are used, the triggering method is either the first or the second triggering method, and S102 may include:
[0145] If the first signal quality parameter is greater than the first preset threshold, or if the key event is the first preset event, it is determined that the electronic device has entered the vehicle connectivity scenario so that the electronic device can provide wireless network to the vehicle device.
[0146] Understandably, for the first triggering method mentioned above, the interaction parameter under the first triggering method is the first signal quality parameter, and for the second triggering method mentioned above, the interaction parameter under the second triggering method is the key event.
[0147] Therefore, for in-vehicle devices, to determine whether to enter a vehicle connectivity scenario, a first signal quality parameter is compared with a first preset threshold, and a key event is compared with a first preset event. Only when the first signal quality parameter is greater than the first preset threshold, or the key event is one of the events in the first preset events, is it determined that the electronic device and the in-vehicle device have a vehicle connectivity requirement, and at this time, the electronic device is determined to enter the vehicle connectivity scenario. Otherwise, it does not enter the vehicle connectivity scenario.
[0148] Thus, by comparing the first signal quality parameter with the first preset threshold and the key event with the first preset event, it is determined whether to enter the vehicle connectivity scenario. This determines how to enter the vehicle connectivity scenario under the fusion triggering method of the first triggering method and the second triggering method, thus expanding the applicability of the vehicle connectivity function.
[0149] In an optional embodiment where the second and third triggering methods described above are used, S102 may include:
[0150] If the second signal quality parameter is greater than the first preset threshold, or if the key event is the first preset event, it is determined that the electronic device has entered the vehicle connectivity scenario so that the electronic device can provide wireless network to the vehicle device.
[0151] Understandably, for the second triggering method mentioned above, the interaction parameter under the second triggering method is the key event, and for the third triggering method mentioned above, the interaction parameter under the third triggering method is the second signal quality parameter.
[0152] Therefore, for in-vehicle devices, to determine whether to enter a vehicle connectivity scenario, a second signal quality parameter is compared with a first preset threshold, and a key event is compared with a first preset event. Only when the second signal quality parameter is greater than the first preset threshold, or the key event is one of the events in the first preset events, is it determined that the electronic device and the in-vehicle device have a vehicle connectivity requirement, and the electronic device is determined to enter the vehicle connectivity scenario. Otherwise, it is not entered into the vehicle connectivity scenario.
[0153] Thus, by comparing the second signal quality parameter with the first preset threshold and the key event with the first preset event, it is determined whether to enter the vehicle connectivity scenario. This determines how to enter the vehicle connectivity scenario under the fusion triggering method of the second and third triggering methods, thus expanding the applicability of the vehicle connectivity function.
[0154] In an optional embodiment where the triggering methods described above are the first, second, and third triggering methods, step S102 may include:
[0155] If the first signal quality parameter and the second signal quality parameter are greater than the first preset threshold, or if the key event is the first preset event, it is determined that the electronic device enters the vehicle connectivity scenario so that the electronic device provides wireless network to the vehicle device.
[0156] Understandably, for the first triggering method mentioned above, the interaction parameter under the first triggering method is the first signal quality parameter; for the second triggering method mentioned above, the interaction parameter under the second triggering method is the key event; and for the third triggering method mentioned above, the interaction parameter under the third triggering method is the second signal quality parameter.
[0157] Therefore, for in-vehicle devices, to determine whether to enter a vehicle connectivity scenario, the first signal quality parameter and the second signal quality parameter are compared with a first preset threshold, and the key event is compared with a first preset event. Only when both the first and second signal quality parameters are greater than the first preset threshold, or when the key event is one of the events in the first preset events, is it determined that the electronic device and the in-vehicle device have a vehicle connectivity requirement, and the electronic device is determined to enter the vehicle connectivity scenario. Otherwise, it is not entered into the vehicle connectivity scenario.
[0158] Thus, by comparing the first signal quality parameter and the second signal quality parameter with the first preset threshold and by comparing the key event with the first preset event, it is determined whether to enter the vehicle connectivity scenario. This method determines how to enter the vehicle connectivity scenario under the fusion triggering method of the first triggering method, the second triggering method and the third triggering method, thereby expanding the applicability of the vehicle connectivity function.
[0159] In one optional embodiment, after electronic devices enter the vehicle connectivity scenario, the above method further includes:
[0160] After electronic devices enter the vehicle-to-everything (V2X) scenario, the hotspot function of the electronic devices is enabled so that the electronic devices can provide wireless networks to the vehicle's infotainment system.
[0161] Understandably, after electronic devices enter the vehicle-to-everything (V2X) scenario, in order to enable electronic devices to provide wireless networks to vehicle-mounted devices to establish wireless connections, the hotspot function of the electronic devices is enabled in this embodiment of the application, thereby enabling the electronic devices to provide wireless networks to vehicle-mounted devices.
[0162] In this way, by enabling the hotspot function, a wireless network is provided to the vehicle's infotainment system, achieving intelligent vehicle connectivity and improving vehicle connectivity efficiency.
[0163] To enable electronic devices to provide wireless networks to in-vehicle infotainment devices, in one optional embodiment, the hotspot function of the electronic device is enabled, thereby allowing the electronic device to provide wireless networks to the in-vehicle infotainment devices, including:
[0164] Enable the hotspot function on your electronic devices;
[0165] If the vehicle's infotainment system has not connected to the hotspot of any electronic device, the username and password of the hotspot are sent to the vehicle's infotainment system based on the connection between the electronic device and the target vehicle, so that the electronic device can provide wireless network access to the vehicle's infotainment system.
[0166] Understandably, once an electronic device enters a vehicle-to-everything (V2X) scenario, it first activates its hotspot function. Vehicle-mounted devices that have previously connected to this hotspot can then directly connect to it, thereby enabling the electronic device to provide a wireless network to the vehicle-mounted devices.
[0167] For in-vehicle devices that have not connected to the hotspot before, the connection between the electronic device and the target vehicle can be established based on the successful trigger result, such as the connection established by the Bluetooth car key, the NFC car key, and the in-vehicle Bluetooth connection. The username and password of the hotspot can be sent to the in-vehicle device, so that the in-vehicle device knows the username and password of the hotspot and can then provide wireless network access to the in-vehicle device.
[0168] In this way, electronic devices can provide wireless networks to in-vehicle devices that have not been connected before, establish wireless connections, and improve vehicle connectivity efficiency.
[0169] Furthermore, to improve the connection efficiency between electronic devices and other vehicle-mounted devices, in one optional embodiment, the above method further includes:
[0170] When electronic devices provide wireless networks to in-vehicle devices to establish wireless connections, adjust the proportion of the wireless network scanning window.
[0171] Understandably, to address the issue of slow connection speeds when electronic devices and vehicle systems are interconnected, the proportion of the underlying scanning window can be dynamically adjusted after the intelligent interconnection function is triggered, thereby balancing connection speed and power consumption.
[0172] To improve call quality of electronic devices in vehicle-to-everything (V2X) scenarios, in one optional embodiment, the above method further includes:
[0173] When an electronic device provides a wireless network to a vehicle-mounted device to establish a wireless connection, the audio channel used by the electronic device when making a call is identified as the audio channel of the vehicle-mounted device.
[0174] Understandably, when an electronic device establishes a wireless connection with a vehicle-mounted device, the audio channel used by the electronic device for calls is determined to be the audio channel of the vehicle-mounted device. In this way, the audio channel of the vehicle-mounted device is used for calls in the vehicle-connected scenario, and the audio channel of the electronic device is used when exiting the vehicle-connected scenario, thereby optimizing the seamless audio switching experience when approaching / moving away from the vehicle during a call.
[0175] To address the issue of severe overheating caused by electronic devices turning on their hotspots in connected vehicle scenarios, in one optional embodiment, the above method further includes:
[0176] If the users connecting to the hotspot of an electronic device include other users besides the vehicle's infotainment system, select a user from the other users and disconnect the wireless connection from the selected user.
[0177] Understandably, when an electronic device's hotspot connection includes multiple other users besides the vehicle's infotainment system, in order to alleviate the problem of severe overheating, a user can be selected from the other users and the connection with the selected user can be disconnected.
[0178] Here, considering that the electronic devices for vehicle-to-everything (V2X) hotspot functions are used in scenarios where they are relatively close to the vehicle, the power consumption and heat generation of the hotspot can be reduced by sacrificing some user experience in edge scenarios. In addition, a set of low-power and low-temperature rise working mode configuration parameters can be issued to enable the underlying chip to operate in a low-power mode, such as limiting the maximum transmission power of the mobile phone, limiting the number of working hardware channels on the mobile phone, and limiting the working bandwidth and speed of the mobile phone, etc.
[0179] After entering a vehicle connectivity scenario, electronic devices need to promptly exit vehicle connectivity functions to reduce power consumption. In one optional embodiment, the above method further includes:
[0180] If the electronic device disconnects from the vehicle's wireless network and the disconnection lasts for a longer than a preset duration, the vehicle connectivity function will be disabled.
[0181] Understandably, upon entering a vehicle connectivity scenario, the electronic device disconnects from the vehicle's wireless network, and the disconnection lasts longer than a preset duration, thus disabling the vehicle connectivity function.
[0182] For example, in scenarios such as sharing a hotspot with the vehicle's infotainment system, projecting the screen of an electronic device onto the vehicle's infotainment system, or connecting an electronic device to the vehicle's Bluetooth to play music or make calls, a timer starts when the connection between the vehicle's infotainment system and the electronic device is lost. If the electronic device does not reconnect within a preset time, it is considered that the conditions for disabling the vehicle connectivity function have been met, and the vehicle connectivity function can be disabled.
[0183] In this way, the vehicle connectivity function was turned off in time, saving power consumption of electronic devices.
[0184] After an electronic device enters the vehicle connectivity scenario via the first triggering method, it needs to exit the vehicle connectivity scenario promptly to reduce power consumption. In an optional embodiment, the above method further includes:
[0185] If the first signal quality parameter is less than the second preset threshold, the electronic device is determined to exit the vehicle connectivity scenario.
[0186] Understandably, for the selected triggering method being the first triggering method, if the first signal quality parameter is less than the second preset threshold, it indicates that the signal quality parameter between the electronic device and the vehicle-mounted device is weak, necessitating the exit from the vehicle connectivity scenario. Therefore, in this case, the electronic device is determined to exit the vehicle connectivity scenario. Otherwise, the electronic device does not exit the vehicle connectivity scenario.
[0187] In this way, by comparing the first signal quality parameter with the second preset threshold, it can be determined whether the electronic device should exit the vehicle connectivity scenario. Timely exiting the vehicle connectivity scenario saves power consumption for the electronic device.
[0188] After an electronic device enters the vehicle connectivity scenario via the second triggering method, it needs to exit the vehicle connectivity scenario promptly to reduce power consumption. In one optional embodiment, the above method further includes:
[0189] If the key event is one of the second preset events, determine that the electronic device exits the vehicle connectivity scenario.
[0190] Understandably, for the selected triggering method being the second triggering method, when the key event is one of the second preset events, where the second preset event is a closing event or a locking event, it means that when the key event is either closing or locking the target vehicle, there is a need for the electronic device and the vehicle's infotainment system to exit the vehicle connectivity scenario. Therefore, in this case, the electronic device is determined to exit the vehicle connectivity scenario. Otherwise, the electronic device does not exit the vehicle connectivity scenario.
[0191] In this way, by judging the type of key events, it can be determined whether the electronic device should exit the vehicle connectivity scenario, and timely exiting the vehicle connectivity scenario can save power consumption for the electronic device.
[0192] After an electronic device enters a vehicle connectivity scenario via a third triggering method, it needs to exit the vehicle connectivity scenario promptly to reduce power consumption. In one optional embodiment, the above method further includes:
[0193] If the second signal quality parameter is less than the first preset threshold, the electronic device is determined to exit the vehicle connectivity scenario.
[0194] Understandably, for the selected triggering method being the third triggering method, if the second signal quality parameter is less than the second preset threshold, it indicates that the signal quality parameter between the electronic device and the vehicle-mounted device is weak, necessitating the exit from the vehicle connectivity scenario. Therefore, in this case, the electronic device is determined to exit the vehicle connectivity scenario. Otherwise, the electronic device does not exit the vehicle connectivity scenario.
[0195] In this way, by comparing the second signal quality parameter with the second preset threshold, it can be determined whether the electronic device should exit the vehicle connectivity scenario. Timely exiting the vehicle connectivity scenario saves power consumption for the electronic device.
[0196] After the electronic device enters the vehicle connectivity scenario via the first triggering method and the third triggering method, it needs to exit the vehicle connectivity scenario in a timely manner to reduce power consumption. In an optional embodiment, the above method further includes:
[0197] If both the first signal quality parameter and the second signal quality parameter are less than the second preset threshold, the electronic device is determined to exit the vehicle connectivity scenario.
[0198] Understandably, for the selected triggering methods, the first and third triggering methods, when both the first and second signal quality parameters are less than the second preset threshold, it indicates that the signal quality parameters between the electronic device and the vehicle-mounted device are weak, necessitating the exit from the vehicle connectivity scenario. Therefore, in this case, the electronic device is determined to exit the vehicle connectivity scenario. Otherwise, the electronic device does not exit the vehicle connectivity scenario.
[0199] In this way, by comparing the first signal quality parameter and the second signal quality parameter with the second preset threshold respectively, it is determined whether the electronic device should exit the vehicle connectivity scenario. Timely exiting the vehicle connectivity scenario saves power consumption for the electronic device.
[0200] After an electronic device enters the vehicle connectivity scenario via the first triggering method and the second triggering method, it needs to exit the vehicle connectivity scenario in a timely manner to reduce power consumption. In an optional embodiment, the above method further includes:
[0201] If the first signal quality parameter is less than the second preset threshold, or if the key event is one of the events in the second preset event, the electronic device is determined to exit the vehicle connectivity scenario.
[0202] Understandably, for the selected triggering methods being the first and second triggering methods, if the first signal quality parameter is less than the second preset threshold, or if the key event is a closing event or a locking event among the second preset events, it indicates that the signal quality parameter between the electronic device and the vehicle-mounted device is weak, or that the electronic device and the vehicle-mounted device are disconnected. In this case, it is determined that the electronic device and the vehicle-mounted device need to exit the vehicle connectivity scenario, so the electronic device is determined to exit the vehicle connectivity scenario. Otherwise, the electronic device does not exit the vehicle connectivity scenario.
[0203] In this way, by using the first signal quality parameters and key events, it is possible to determine whether the electronic device should exit the vehicle connectivity scenario, and timely exiting the vehicle connectivity scenario saves power consumption for the electronic device.
[0204] After an electronic device enters the vehicle connectivity scenario via the second and third triggering methods, it needs to exit the vehicle connectivity scenario promptly to reduce power consumption. In one optional embodiment, the above method further includes:
[0205] If the second signal quality parameter is less than the second preset threshold, or if the key event is one of the events in the second preset event, the electronic device is determined to exit the vehicle connectivity scenario.
[0206] Understandably, for the selected triggering methods being the second and third triggering methods, if the second signal quality parameter is less than the second preset threshold, or if the key event is a shutdown event or a lock event among the second preset events, it indicates that the signal quality parameter between the electronic device and the vehicle-mounted device is weak, or that the electronic device and the vehicle-mounted device are disconnected. In this case, it is determined that the electronic device and the vehicle-mounted device need to exit the vehicle connectivity scenario, so the electronic device is determined to exit the vehicle connectivity scenario. Otherwise, the electronic device does not exit the vehicle connectivity scenario.
[0207] In this way, by using the second signal quality parameters and key events, it is possible to determine whether the electronic device should exit the vehicle connectivity scenario, and timely exiting the vehicle connectivity scenario saves power consumption for the electronic device.
[0208] After an electronic device enters a vehicle connectivity scenario via the first, second, and third triggering methods, it needs to exit the vehicle connectivity scenario promptly to reduce power consumption. In one optional embodiment, the above method further includes:
[0209] If both the first signal quality parameter and the second signal quality parameter are less than the second preset threshold, or if the key event is one of the events in the second preset event, the electronic device is determined to exit the vehicle connectivity scenario.
[0210] Understandably, for the selected triggering methods (first, second, and third), if both the first and second signal quality parameters are less than the second preset threshold, or if the key event is a shutdown or locking event, it indicates that the signal quality parameters between the electronic device and the vehicle-mounted device are weak, or that the electronic device and the vehicle-mounted device are disconnected. In this case, it is determined that the electronic device needs to exit the vehicle connectivity scenario, so the electronic device exits the vehicle connectivity scenario. Otherwise, the electronic device does not exit the vehicle connectivity scenario.
[0211] In this way, by using the first signal quality parameter, the second signal quality parameter, and key events, it is possible to determine whether the electronic device should exit the vehicle connectivity scenario, and timely exiting the vehicle connectivity scenario saves power consumption for the electronic device.
[0212] In addition to the aforementioned vehicle connectivity function, the function of determining the location information of the target vehicle can be further extended. In an optional embodiment, the method further includes:
[0213] After exiting the vehicle connectivity scenario, record the location information of the electronic device;
[0214] The location information of the electronic device is determined as the location information of the target vehicle.
[0215] Understandably, once an electronic device exits a vehicle-to-everything (V2X) scenario, it means there is no longer a need for V2X connectivity between the electronic device and the vehicle's infotainment system. For example, if the user has already parked the target vehicle, then recording the location information of the electronic device can serve as the location information of the target vehicle, making it easier to record the parking location. This facilitates the user's ability to locate the target vehicle.
[0216] In addition to the aforementioned vehicle connectivity function, the method can be further extended to share the real-time location information of the target vehicle. In one optional embodiment, the method further includes:
[0217] Send the real-time location information of the electronic device to the contact person of the electronic device.
[0218] Understandably, in a vehicle-to-everything (V2X) scenario, the electronic device is connected to the vehicle's infotainment system. The real-time location information set on the electronic device is the same as the real-time location information of the target vehicle. Therefore, the electronic device can share its real-time location information with contacts connected to it, allowing those contacts to know the user's real-time location. This makes it convenient for family or friends to track and understand the user's whereabouts.
[0219] In addition to the aforementioned vehicle connectivity functions, the method can be further extended to allow for early start-up and preheating of the target vehicle. In one optional embodiment, the method further includes:
[0220] After the electronic devices provide a wireless network to the vehicle's infotainment system and establish a wireless connection, the target vehicle is started.
[0221] Understandably, after the electronic device establishes a wireless connection with the vehicle's infotainment system, the two devices are relatively close to each other. To save users the trouble of starting and warming up the vehicle after getting in, users can remotely and automatically start the engine and warm up the vehicle when they approach it, ensuring a comfortable driving environment and other related experiences upon entering the vehicle.
[0222] The following examples illustrate the vehicle connectivity method described in one or more of the above embodiments.
[0223] In current technologies, users need to manually perform a series of operations on the vehicle's infotainment system or their mobile phone, making the otherwise convenient connectivity process relatively cumbersome. Some users have even manually operated their phones while driving, threatening driving safety. User research has revealed that users expect a more natural and seamless experience of connection and interaction between the vehicle and smart devices, resulting in a more intelligent and smooth connectivity experience.
[0224] To address this issue, this example proposes an intelligent solution. Using intelligent sensing technology, the system detects the driver's mobile phone. When the phone enters a preset space (such as inside or outside the vehicle), it triggers corresponding functions on the phone (e.g., automatically turning on the phone's hotspot, intelligently adjusting the background Wi-Fi / Bluetooth (BT) scanning window ratio, and automatically recording the vehicle's parking location). This eliminates the cumbersome steps of manual operation, overcomes connectivity challenges, and brings a richer and more convenient driving experience. The overall solution architecture is as follows: Figure 2 As shown.
[0225] Figure 2 A flowchart illustrating an example of an optional vehicle connectivity method provided in this application embodiment; as shown below. Figure 2 As shown, the vehicle connectivity method may include:
[0226] S201: Enable vehicle connectivity and intelligent functions;
[0227] Among them, the aforementioned vehicle connectivity intelligent functions are equivalent to the aforementioned vehicle connectivity functions.
[0228] Specifically, setting the master switch for vehicle connectivity and intelligent functions on the mobile app requires user authorization to enable the function, thereby enhancing the intelligent and seamless connectivity experience. Authorization methods may include, but are not limited to, the following:
[0229] Method 1: When a user connects to a vehicle-connected device for the first time, they are prompted to configure intelligent vehicle-connected functions, thereby increasing the proportion of users familiar with and using the function. A "don't remind me again" option is also provided to reduce user annoyance. Vehicle-connected devices can include: Bluetooth car keys, NFC car keys, in-car Bluetooth, in-car Wi-Fi, and in-car dashcams, etc.
[0230] Method 2: Based on user habits, if the system determines that a user frequently uses the mobile phone and vehicle connectivity functions, it will proactively prompt the user to configure intelligent vehicle connectivity features. Example of usage habits:
[0231] Example 1: If a user frequently turns on their mobile hotspot to share the network with the vehicle for a period of time after triggering the car key to open the car door, it can be determined that the user has a need for the vehicle-connected automatic hotspot function.
[0232] Example 2: If a user frequently triggers the screen mirroring function to provide navigation to the car's infotainment system after connecting to the car's Bluetooth (or unlocking the car with a Bluetooth car key, or unlocking the car with an NFC car key, etc.), it can be determined that the user has a need for the automatic screen mirroring function of the car connection.
[0233] S202: Select trigger method;
[0234] Specifically, when users manually select the trigger method, the primary technical challenge of intelligent vehicle connectivity functions is recognizing the user's presence in a connected vehicle scenario to accurately trigger the connectivity functions. Therefore, this example proposes a multi-technology integrated vehicle connectivity scenario triggering method. This can include one or more of the following three methods:
[0235] Method 1 – Triggered by Bluetooth car key.
[0236] Figure 3 A flowchart illustrating an optional vehicle connectivity method, as provided in this application embodiment, is shown below. Figure 3 As shown, the specific method for triggering the car key via Bluetooth on the mobile phone is as follows:
[0237] S301: Activate Bluetooth car key;
[0238] S302: Determine if the vehicle manufacturer's APK has completed Bluetooth car key activation. If yes, proceed to S304; if no, proceed to S303.
[0239] S303: Wait for Bluetooth car key activation to complete; execute S302;
[0240] S304: The car manufacturer's APK reports CarID and Bluetooth ScanFilter to the CarLink module;
[0241] Among them, the vehicle identifier (CarID) is equivalent to the identifier of the vehicle's infotainment system. The ID rules can be defined by the car manufacturer, and ScanFilter is the scanning filter rule.
[0242] S305: The CarLink module registers CarID and ScanFilter to the OAF module;
[0243] S306: Determine whether the OAF module has scanned the vehicle corresponding to the CarID based on ScanFilter. If yes, proceed to S308; if no, proceed to S307.
[0244] S307: Continuous background scanning; execute S306;
[0245] S308: The OAF module reports the CarID and ScanRecord to the CarLink module;
[0246] The scan record includes the MAC address of the vehicle's infotainment system.
[0247] S309: The CarLink module activates the car manufacturer's APK, informs the car manufacturer's APK of the CarID and ScanRecord results, and broadcasts the CarID, ScanRecord results, and key events such as locking and unlocking.
[0248] S310: The default software module maps the MAC address corresponding to the CarID to the corresponding LinkHandle, and periodically obtains the RSSI on the Link from the controller through the LinkHandle.
[0249] Specifically, the phone first waits for the Bluetooth car key to be activated. In related technologies, all mobile phone Bluetooth car key functions are implemented by installing the car manufacturer's APK to ensure security. After the user completes the Bluetooth car key activation through the car manufacturer's APK, the APK reports the CarID (ID rules are defined by the car manufacturer) and Bluetooth scan filter rules to the CarLink module in the phone.
[0250] The CarLink module is responsible for managing vehicle connectivity functions, such as activating and maintaining the car manufacturer's APK in the car key function, and initiating the screen mirroring process in the car infotainment system. The CarLink module registers the CarID and ScanFilter with the OAF module on the phone.
[0251] The primary function of the OAF module is to perform connectivity discovery scanning. Based on the received CarID and ScanFilter, the OAF module continuously scans for surrounding BLE broadcast signals and filters out broadcast information corresponding to the CarID. The OAF module then reports the ScanRecord, containing the broadcast information for the corresponding CarID, to the CarLink module. The ScanRecord includes all information carried in the broadcast packet, such as the MAC address of any subsequently used vehicle infotainment devices.
[0252] The CarLink module is responsible for pulling the vehicle manufacturer's APK and informing it of the CarID and MAC address. Subsequent Bluetooth car key functionality is then handled by the vehicle manufacturer's APK. Finally, the CarLink module needs to broadcast the CarID, ScanRecord results, and key lock / unlock events. Finally, the broadcast events transmit the MAC address corresponding to the CarID to a pre-defined software module. This module maps the MAC address to the corresponding LinkHandle and periodically retrieves the RSSI of that Link from the controller via the LinkHandle.
[0253] Method 2 – Triggered by NFC car key.
[0254] Figure 4 A flowchart illustrating an optional vehicle connectivity method, example three, provided as an embodiment of this application, is shown below. Figure 4 As shown, the specific triggering method for the mobile phone using the NFC car key is as follows:
[0255] S401: Activate NFC car key;
[0256] S402: Determine if the wallet APK has completed NFC car key activation? If yes, proceed to S404; if no, proceed to S403.
[0257] S403: Wait for NFC car key activation to complete, then execute S402;
[0258] S404: The wallet APK stores NFC card ID information;
[0259] S405: Determine if an unlock / start vehicle / lock event corresponding to the NFC card ID has been received? If yes, proceed to S406; if no, proceed to S407.
[0260] S406: A key event has been broadcast on the wallet.
[0261] S407: Continuous background scanning, execute S405.
[0262] Specifically, the phone first waits for the NFC car key activation to complete. In related technologies, phones with NFC car key functionality are activated within their own wallets. Once the user completes NFC car key activation through the wallet, the ID information of the NFC-enabled car key card is saved to the phone's database.
[0263] Then, the mobile phone continuously monitors for reports of key card swipe events corresponding to the card ID in the database. Key information can include key events such as unlocking, starting the vehicle, and locking.
[0264] Finally, the wallet broadcasts the key events it has detected to the pre-defined software module, which then determines whether to enter that scenario.
[0265] Method 3 – Triggered by in-vehicle Bluetooth.
[0266] Figure 5 A flowchart illustrating an optional vehicle connectivity method, example four, provided as an embodiment of this application, is shown below. Figure 5 As shown, the specific triggering method for the mobile phone using the car's Bluetooth is as follows:
[0267] S501: Initiate connection / reconnection to Bluetooth audio device; execute S502 and S505 respectively;
[0268] S502: Reconnect to the old Bluetooth audio device; execute S503;
[0269] S503: Enter the Bluetooth device interface, pop-up window provides instructions and operation guide; execute S504;
[0270] S504: The user selects a paired vehicle Bluetooth device; execute S509;
[0271] S505: Connect a new Bluetooth audio device; execute S506;
[0272] S506: Identify Bluetooth name; execute S507;
[0273] S507: Determine whether the vehicle information in the identified name database matches and whether the match is successful. If yes, proceed to S509; if no, proceed to S508.
[0274] S508: A pop-up message indicates that the identified Bluetooth audio device does not support the automatic hotspot function of the vehicle system.
[0275] S509: Obtain the MAC address and device name (DeviceName) information of the vehicle's Bluetooth system;
[0276] S510: Maps the MAC address to the corresponding LinkHandle, and periodically obtains the RSSI of the Link from the controller through the LinkHandle.
[0277] Specifically, in-vehicle Bluetooth connectivity includes both previously connected and unconnected scenarios. A previously connected scenario refers to a phone and car infotainment system that have already been paired via Bluetooth. If the phone subsequently upgraded to support smart car connectivity features, then reconnecting to the in-vehicle Bluetooth system is considered a reconnection. An unconnected scenario refers to a phone and car infotainment system that have never been paired before. Therefore, when the phone connects to the in-vehicle Bluetooth system, it is considered a new device and requires manual pairing by the user.
[0278] The phone's Bluetooth module is now complete: For devices that reconnect, the phone will learn user habits from S201 and proactively push information to the user, allowing them to configure the Bluetooth device to support intelligent vehicle connectivity, thereby increasing the adoption rate of this function.
[0279] For newly connected devices, during the pairing process, the phone identifies the name of the peer Bluetooth device and compares it with the vehicle infotainment system's Bluetooth device name template in the database. The Bluetooth device names in the database are provided by partner automakers. If the name matches successfully in the database and the devices pair successfully, the user is notified that the smart vehicle connectivity trigger method has been successfully configured; otherwise, the user is notified that the smart vehicle connectivity trigger method configuration has failed. Regardless of whether it's an old or new device, if the smart vehicle connectivity trigger method configuration is successful, the vehicle infotainment system's Bluetooth MAC address and device name (DeviceName) information are obtained.
[0280] Finally, the pre-installed software module in the phone maps the MAC address to the corresponding LinkHandle, and periodically obtains the RSSI on that Link from the controller through the LinkHandle.
[0281] It should be noted that this example can also select any two or three of the above three methods.
[0282] S203: Determine if the activation trigger condition has been met? If yes, proceed to S204; if no, proceed to S203.
[0283] S204: Automatically open preset functions or complete corresponding operations;
[0284] Specifically, in S203, to determine whether the trigger condition is enabled, the following steps are taken:
[0285] The system integrates multiple triggering methods to comprehensively determine whether to trigger entry into the intelligent vehicle connectivity scenario. For Bluetooth car key triggers and in-vehicle Bluetooth triggers, in addition to key events such as successful unlocking or successful connection, RSSI information on a specified Link is also considered. When the smoothed RSSI > preset threshold 1 (equivalent to the first preset threshold mentioned above), it indicates that entry into the intelligent vehicle connectivity scenario has been triggered. When the smoothed RSSI < preset threshold 2 (equivalent to the second preset threshold mentioned above), it indicates that exiting the intelligent vehicle connectivity scenario has been triggered. Typically, preset threshold 2 < preset threshold 1 to prevent frequent switching between entry and exit.
[0286] For NFC car key triggering, the primary focus is on the critical event of starting / stopping the vehicle, and only secondarily on the critical event of unlocking / locking, in order to minimize the possibility of accidental triggering.
[0287] Among them, the aforementioned key events for starting the vehicle and unlocking the vehicle are equivalent to the aforementioned first preset events, and the aforementioned key events for closing the vehicle and locking the vehicle are equivalent to the aforementioned second preset events.
[0288] Finally, for the results of multiple triggering methods, the Bluetooth car key and the vehicle's Bluetooth first use an AND gate relationship, and then use an OR gate relationship with the NFC car key. That is, the Bluetooth car key and the vehicle's Bluetooth must simultaneously meet the entry threshold condition, or the NFC car key must meet the entry threshold condition, for the fused result to meet the conditions for accessing the intelligent vehicle connectivity function. Table 1 below lists all possible entry scenarios:
[0289] Table 1
[0290] Bluetooth car key NFC car key Car Bluetooth Whether to enter the vehicle connectivity scenario Not configured Not configured Not configured Function off Enter Not configured Not configured Enter Not configured Enter Not configured Enter Not configured Not configured Enter Enter Enter Enter Not configured Enter Enter Not entered Not configured Enter Not entered Enter Not configured Enter Not entered Not entered Not configured Not entered Enter Not configured Enter Enter Enter Not configured Not entered Not entered Not entered Not configured Enter Not entered Not entered Not configured Not entered Not entered Not configured Enter Enter Enter Not configured Enter Not entered Enter Not configured Not entered Enter Enter Not configured Not entered Not entered Not entered Enter Enter Enter Enter Enter Enter Not entered Enter Enter Not entered Enter Enter Enter Not entered Not entered Not entered Not entered Enter Enter Enter Not entered Enter Not entered Enter Not entered Not entered Enter Not entered Not entered Not entered Not entered Not entered
[0291] For the S204, once the intelligent vehicle connectivity scenario is triggered, the preset function train will automatically open and complete the corresponding operation, as follows:
[0292] (a) To address the pain point of cumbersome in-vehicle network operation for users, the system automatically turns on the mobile hotspot, at which point the in-vehicle system will have Wi-Fi enabled by default. If the user has already connected to the mobile hotspot, they can quickly reconnect. If the user has not connected to the mobile hotspot before, the service set identifier (SSID) and password of the hotspot can be sent directly to the vehicle via data transmission from the car key or via in-vehicle Bluetooth data transmission for quick connection, thus saving user operations and improving the convenience of the user experience.
[0293] (b) To address the issue of slow connection speed when connecting mobile phones and vehicle systems, the proportion of the underlying scanning window can be dynamically adjusted after the intelligent interconnection function is triggered, thereby balancing connection speed and power consumption.
[0294] (c) To address the issue that the audio still goes through the vehicle's audio channel when the phone is moved away from the vehicle during a call, the system can automatically switch to the vehicle's audio channel when entering the intelligent connectivity scenario and automatically switch to the phone's audio channel when exiting the intelligent connectivity function. This optimizes the seamless audio switching experience when the phone is near or away from the vehicle during a call.
[0295] (d) Regarding the problem of severe overheating of mobile hotspots, considering that mobile phones with vehicle-to-everything (V2X) hotspot functions are used in scenarios where the mobile phone is relatively close to the vehicle, the power consumption and heat generation of the hotspot can be reduced by sacrificing the user experience in some edge scenarios. Alternatively, a set of low power consumption and low temperature rise working mode configuration parameters can be issued to enable the underlying chip to operate in a low power consumption mode, such as limiting the maximum transmission power of the mobile phone, limiting the number of working hardware channels on the mobile phone, and limiting the working bandwidth and speed of the mobile phone, etc.
[0296] S205: Determine if the shutdown trigger condition has been met? If yes, proceed to S206; if no, proceed to S207.
[0297] S206: Automatically disable preset functions or complete the corresponding operation.
[0298] S207: Keep it on.
[0299] Specifically, the backend continuously monitors whether the conditions for disabling intelligent vehicle connectivity functions have been met. This example also uses a multi-technology integration approach to jointly determine whether the threshold conditions have been met, including the following methods:
[0300] Method 1 – Is there a peer device connected? For functions involving device connections, such as sharing a hotspot from a mobile phone to the car's infotainment system, projecting a mobile phone screen to the car's infotainment system, or connecting a mobile phone to the car's infotainment system via Bluetooth to play music or make calls, a timer starts when the connection between the peer car's infotainment system and the mobile phone is lost. If the phone does not reconnect within the preset time, it is considered that the conditions for disabling the intelligent vehicle connectivity function have been met.
[0301] Method 2 – Triggered by Bluetooth car key or in-vehicle Bluetooth. When a critical event such as locking or turning off the vehicle is received, and the smoothed RSSI is less than the preset RSSI threshold 2, it indicates that the exit from the intelligent vehicle connectivity scenario has been triggered. Typically, the preset threshold 2 (i.e., the RSSI threshold for exiting the intelligent vehicle connectivity scenario) is less than the preset threshold 1 (i.e., the RSSI threshold for entering the intelligent vehicle connectivity scenario) to prevent frequent switching between entering and exiting.
[0302] Method 3 – NFC car key trigger. For NFC car key trigger, the primary focus is on the critical event of closing the vehicle, and only secondarily on the critical event of locking the door, in order to minimize the possibility of accidental triggering.
[0303] Finally, for the fusion scheme that triggers exit, the Bluetooth car key and the vehicle Bluetooth must both reach the exit threshold condition, or the NFC car key must reach the exit threshold condition, or the status of the peer device must reach the exit threshold condition, then the fusion result can meet the conditions for exiting the intelligent vehicle connectivity function.
[0304] In addition, this example illustrates the connectivity functions of mobile phones in vehicle-to-everything (V2X) scenarios. Furthermore, after sensing the relative spatial relationship between the mobile phone and the vehicle's infotainment system through intelligent sensing technology (or multi-technology fusion sensing technology), intelligent V2X functions can be further expanded. For example, after triggering the exit of V2X functions, the mobile phone's location can be automatically recorded as the vehicle's location to facilitate quick locating of the vehicle in the garage later; or intelligent location sharing, where users can choose to share their real-time location with specific contacts, making it convenient for family or friends to track and understand the user's whereabouts; remote vehicle start and preheating, where users can remotely start the vehicle's engine and preheat it when approaching the vehicle via their mobile phone to ensure a comfortable driving environment upon entering the vehicle, and so on.
[0305] Furthermore, existing mobile phone car keys in related technologies are mainly Bluetooth car keys (based on RSSI) and NFC car keys. With technological evolution, potential car key types include: Ultra Wide Band (UWB) car keys, Bluetooth car keys (based on High Aaccuracy Distance Measurements (HADM)), ultrasonic car keys, and so on. Therefore, these different types of car keys can all serve as entry points to trigger intelligent vehicle connectivity functions.
[0306] The core innovation of this example lies in using intelligent sensing technology (or multi-technology fusion sensing technology) to perceive the relative spatial relationship between the mobile phone and the vehicle system. When the mobile phone is detected to enter a preset space (such as the area inside or outside the vehicle), the mobile phone is triggered to start the corresponding functions (such as automatically turning on the mobile hotspot, intelligently adjusting the window ratio of background Wi-Fi / BT scanning, and automatically recording the vehicle's parking position). This eliminates the cumbersome steps of manual operation by the user and dynamically adjusts the technical parameter configuration of the vehicle connectivity scenario, breaking the connectivity problem for users and bringing a richer and more convenient experience to driving life.
[0307] As can be seen, by adopting intelligent sensing technology, this solution can accurately detect the presence of the car owner's mobile phone and automatically realize the vehicle-to-phone interconnection functions, eliminating the complicated steps of manual operation for users. At the same time, the intelligent interconnection function brings users an ultimate experience. For example, the connection protocol has been optimized to ensure fast and stable interconnection between the vehicle and the mobile phone; power consumption and heat generation during mobile phone interconnection have been reduced; and the seamless switching experience of audio paths in call scenarios has been optimized. Through technological innovation, the solution breaks through the interconnection bottleneck for users, bringing a richer, more convenient, lower-consumption, seamless, and smooth experience to driving life.
[0308] This application provides a vehicle connectivity method, device, electronic device, and computer storage medium, including: responding to a triggering operation on a triggering method of a vehicle-mounted device of a target vehicle, triggering the triggering method, obtaining a successful triggering result and enabling interaction between the electronic device and the target vehicle, and determining that the electronic device enters a vehicle connectivity scenario when the interaction parameters between the electronic device and the target vehicle meet preset conditions, so that the electronic device provides a wireless network to the vehicle-mounted device; that is, in this application embodiment, by responding to a triggering operation on a triggering method of a vehicle-mounted device of a target vehicle, the triggering method is triggered, a successful triggering result is obtained, thereby enabling interaction between the electronic device and the vehicle-mounted device, and interaction parameters can be obtained. Based on this, when the interaction parameters meet preset conditions, the vehicle connectivity scenario is entered, thereby providing a wireless network to the vehicle-mounted device, enabling the electronic device and the vehicle-mounted device to establish a wireless connection, realizing vehicle connectivity. In this way, by triggering the method, when the interaction parameters meet preset conditions, a wireless connection between the electronic device and the vehicle-mounted device can be intelligently realized, avoiding the cumbersome operations in related technologies, realizing intelligent vehicle connectivity, and thus improving vehicle connectivity efficiency.
[0309] Based on the same inventive concept as the foregoing embodiments, this application provides a vehicle connectivity device, which is installed in an electronic device. Figure 6 A schematic diagram of an optional vehicle connectivity device provided in an embodiment of this application, as shown below. Figure 6 As shown, the vehicle connectivity device includes: a trigger module 61 and a determination module 62; wherein,
[0310] Trigger module 61 is used to respond to the trigger operation of the trigger mode of the vehicle's in-vehicle equipment of the target vehicle, trigger the trigger mode, and obtain a successful trigger result so that the electronic device and the target vehicle can interact.
[0311] The determination module 62 is used to determine that the electronic device enters the vehicle-to-everything (V2X) scenario when the interaction parameters between the electronic device and the target vehicle meet preset conditions, so that the electronic device can provide wireless network to the vehicle-mounted equipment.
[0312] In an optional embodiment, the device is further configured to:
[0313] In response to the selection of the triggering method for the vehicle connectivity scenario, the triggering method of the vehicle's in-vehicle device is determined.
[0314] In one optional embodiment, in response to a selection operation of the triggering method for the vehicle-to-everything (V2X) scenario, the device determines the triggering method of the vehicle's infotainment system, including:
[0315] In response to the selection of the vehicle connectivity function, the options for triggering the vehicle connectivity scenario are displayed on the current display interface of the electronic device;
[0316] In response to the selection of the triggering method for the vehicle connectivity scenario, the triggering method of the vehicle's in-vehicle device is determined.
[0317] In one optional embodiment, in response to a selection operation of the triggering method for the vehicle-to-everything (V2X) scenario, the device determines the triggering method of the vehicle's infotainment system, including:
[0318] In response to the selection of the triggering method for the vehicle-to-everything (V2X) scenario, the vehicle bound to the selected triggering direction is displayed on the current display interface of the electronic device.
[0319] In response to the selection of a target vehicle among the bound vehicles, determine the triggering method of the vehicle's in-vehicle equipment.
[0320] In an optional embodiment, the device is further used for:
[0321] When the electronic device is connected to other devices in the target vehicle for the first time, the vehicle connectivity options are displayed on the current display screen of the electronic device;
[0322] Other equipment refers to equipment in the target vehicle other than the vehicle-mounted infotainment system.
[0323] In an optional embodiment, the device is further used for:
[0324] If the target vehicle is instructed to provide a wireless network to the vehicle's infotainment system within a preset time period after startup, based on the obtained history of the electronic device, the vehicle connectivity option will be displayed on the current display screen of the electronic device.
[0325] In an optional embodiment, the device is further used for:
[0326] If the target vehicle is instructed to project its screen to the vehicle's infotainment system within a preset time period after startup, based on the obtained history of the electronic device, the vehicle connectivity options will be displayed on the current display screen of the electronic device.
[0327] In one optional embodiment, the triggering method includes one or more of the following: a first triggering method, a second triggering method, and a third triggering method; wherein, the first triggering method is to activate the Bluetooth car key; the second triggering method is to activate the NFC car key; and the third triggering method is to enable the in-vehicle Bluetooth connection.
[0328] In an optional embodiment, the triggering module 61 is specifically used for:
[0329] When the triggering method is the first triggering method and the first triggering method is triggered, activate the Bluetooth car key for the target vehicle;
[0330] Once the Bluetooth car key is successfully activated, the activated Bluetooth car key function enables electronic devices to interact with the target vehicle.
[0331] In an optional embodiment, the determining module 62 is specifically used for:
[0332] Based on the activated Bluetooth car key function, the first signal quality parameters between the electronic device and the target vehicle are obtained;
[0333] If the first signal quality parameter is greater than the first preset threshold, it is determined that the electronic device has entered the vehicle-to-everything (V2X) scenario so that the electronic device can provide wireless network to the vehicle-mounted equipment.
[0334] In an optional embodiment, the determining module 62, based on the enabled Bluetooth car key function, obtains the first signal quality parameters between the electronic device and the target vehicle, including:
[0335] The identifier of the vehicle's infotainment system is obtained from the APK corresponding to the Bluetooth car key function of the electronic device via the CarLink module of the electronic device.
[0336] The CarLink module and the OAF module of the electronic device are used to obtain the MAC address of the vehicle's infotainment device corresponding to its identifier.
[0337] The MAC address of the vehicle's infotainment device is mapped to the corresponding LinkHandle to obtain the first signal quality parameters between the electronic device and the target vehicle.
[0338] In an optional embodiment, the triggering module 61 is specifically used for:
[0339] When the triggering method is the second triggering method and the second triggering method is triggered, activate the NFC car key for the target vehicle;
[0340] Once the NFC car key is successfully activated, the activated NFC car key function enables electronic devices to interact with the target vehicle.
[0341] In an optional embodiment, the determining module 62 is specifically used for:
[0342] After successfully activating the NFC car key, the card identifier of the NFC car key will be stored locally;
[0343] Listen for key events related to the card identifier;
[0344] In the case where the key event is one of the first preset events, it is determined that the electronic device enters the vehicle connectivity scenario so that the electronic device can provide wireless network to the vehicle's infotainment system.
[0345] In one optional embodiment, the first preset event includes one or more of the following: unlocking event, start event.
[0346] In an optional embodiment, the triggering module 61 is specifically used for:
[0347] When the triggering method is the third triggering method and the third triggering method is triggered, a Bluetooth connection is established with the Bluetooth device of the target vehicle via the vehicle's Bluetooth.
[0348] Once a Bluetooth connection is successfully established with a Bluetooth device, the electronic device can interact with the target vehicle via the Bluetooth connection.
[0349] In an optional embodiment, the trigger module 61 establishes a Bluetooth connection with the target vehicle's Bluetooth device via in-vehicle Bluetooth, including:
[0350] If the Bluetooth device is a previously connected device, a Bluetooth connection is established with the Bluetooth device via the vehicle's Bluetooth system.
[0351] In an optional embodiment, the trigger module 61 establishes a Bluetooth connection with the target vehicle's Bluetooth device via in-vehicle Bluetooth, including:
[0352] If the Bluetooth device is a device that has not been connected before, and the device name of the device that has not been connected before exists in the local database, a Bluetooth connection is established with the Bluetooth device via the vehicle's Bluetooth system.
[0353] In an optional embodiment, the determining module 62 is specifically used for:
[0354] Based on the Bluetooth connection with the Bluetooth device, obtain the second signal quality parameter between the electronic device and the Bluetooth device;
[0355] If the second signal quality parameter is greater than the first preset threshold, it is determined that the electronic device has entered the vehicle connectivity scenario so that the electronic device can provide wireless network to the vehicle device.
[0356] In an optional embodiment, the determining module 62, based on the Bluetooth connection with the Bluetooth device, obtains a second signal quality parameter between the electronic device and the Bluetooth device, including:
[0357] Obtain the MAC address of the vehicle's infotainment system via the target vehicle's Bluetooth module;
[0358] The MAC address of the vehicle's infotainment device is mapped to the corresponding LinkHandle to obtain the second signal quality parameter between the electronic device and the Bluetooth device.
[0359] In an optional embodiment, the triggering method is a first triggering method and a third triggering method, and the determining module 62 is specifically used for:
[0360] If both the first signal quality parameter and the second signal quality parameter are greater than the first preset threshold, it is determined that the electronic device has entered the vehicle connectivity scenario.
[0361] The interaction parameters under the first triggering mode are the first signal quality parameters, and the interaction parameters under the third triggering mode are the second signal quality parameters.
[0362] In one optional embodiment, the triggering method is a first triggering method and a second triggering method, and the determining module 62 is specifically used for:
[0363] If the first signal quality parameter is greater than the first preset threshold, or if the key event is one of the first preset events, determine that the electronic device has entered the vehicle connectivity scenario so that the electronic device can provide wireless network to the vehicle device.
[0364] In the first triggering mode, the interaction parameter is the first signal quality parameter, and in the second triggering mode, the interaction parameter is the key event.
[0365] In an optional embodiment, the triggering method is a second triggering method and a third triggering method, and the determining module 62 is specifically used for:
[0366] If the second signal quality parameter is greater than the first preset threshold, or if the key event is one of the events in the first preset event, it is determined that the electronic device enters the vehicle connectivity scenario so that the electronic device provides wireless network to the vehicle device.
[0367] In the second triggering mode, the interaction parameter is the key event, and in the third triggering mode, the interaction parameter is the second signal quality parameter.
[0368] In one optional embodiment, the triggering method is a first triggering method, a second triggering method, and a third triggering method. The determining module 62 is specifically used for:
[0369] If the first signal quality parameter and the second signal quality parameter are greater than the first preset threshold, or if the key event is one of the events in the first preset event, it is determined that the electronic device enters the vehicle connectivity scenario so that the electronic device provides wireless network to the vehicle device.
[0370] Among them, the interaction parameters under the first triggering mode are the first signal quality parameters, the interaction parameters under the second triggering mode are the key events, and the interaction parameters under the third triggering mode are the second signal quality parameters.
[0371] In an optional embodiment, the device is further used for:
[0372] After electronic devices enter the vehicle-to-everything (V2X) scenario, the hotspot function of the electronic devices is enabled so that the electronic devices can provide wireless networks to the vehicle's infotainment system.
[0373] In one optional embodiment, the device enables the hotspot function of the electronic device to provide a wireless network to the vehicle-mounted device, including:
[0374] Enable the hotspot function on your electronic devices;
[0375] If the vehicle's infotainment system has not connected to the hotspot of any electronic device, the username and password of the hotspot are sent to the vehicle's infotainment system based on the connection between the electronic device and the target vehicle, so that the electronic device can provide wireless network access to the vehicle's infotainment system.
[0376] In an optional embodiment, the device is further used for:
[0377] When electronic devices provide wireless networks to in-vehicle devices to establish wireless connections, adjust the proportion of the wireless network scanning window.
[0378] In an optional embodiment, the device is further used for:
[0379] When an electronic device provides a wireless network to a vehicle-mounted device to establish a wireless connection, the audio channel used by the electronic device when making a call is identified as the audio channel of the vehicle-mounted device.
[0380] In an optional embodiment, the device is further used for:
[0381] If the users connecting to the hotspot of an electronic device include other users besides the vehicle's infotainment system, select a user from the other users and disconnect the wireless connection from the selected user.
[0382] In an optional embodiment, the device is further used for:
[0383] If the electronic device disconnects from the vehicle's wireless network and the disconnection time exceeds the preset duration, the vehicle connectivity function will be turned off.
[0384] In an optional embodiment, the device is further used for:
[0385] If the first signal quality parameter is less than the second preset threshold, the electronic device is determined to exit the vehicle connectivity scenario.
[0386] In an optional embodiment, the device is further used for:
[0387] If the key event is one of the second preset events, determine that the electronic device exits the vehicle connectivity scenario.
[0388] In one alternative embodiment, the second preset event includes one or more of the following: a close event or a lock event.
[0389] In an optional embodiment, the device is further used for:
[0390] If the second signal quality parameter is less than the second preset threshold, the electronic device is determined to exit the vehicle connectivity scenario.
[0391] In an optional embodiment, the device is further used for:
[0392] If both the first signal quality parameter and the second signal quality parameter are less than the second preset threshold, the electronic device is determined to exit the vehicle connectivity scenario.
[0393] In an optional embodiment, the device is further used for:
[0394] If the first signal quality parameter is less than the second preset threshold, or if the key event is one of the events in the second preset event, the electronic device is determined to exit the vehicle connectivity scenario.
[0395] In an optional embodiment, the device is further used for:
[0396] If the second signal quality parameter is less than the second preset threshold, or if the key event is one of the events in the second preset event, the electronic device is determined to exit the vehicle connectivity scenario.
[0397] In an optional embodiment, the device is further used for:
[0398] If both the first signal quality parameter and the second signal quality parameter are less than the second preset threshold, or if the key event is one of the events in the second preset event, the electronic device is determined to exit the vehicle connectivity scenario.
[0399] In an optional embodiment, the device is further used for:
[0400] After exiting the vehicle connectivity scenario, record the location information of the electronic device;
[0401] The location information of the electronic device is determined as the location information of the target vehicle.
[0402] In an optional embodiment, the device is further used for:
[0403] Send the real-time location information of the electronic device to the contact person of the electronic device.
[0404] In an optional embodiment, the device is further used for:
[0405] After the electronic devices provide a wireless network to the vehicle's infotainment system and establish a wireless connection, the target vehicle is started.
[0406] In practical applications, the triggering module 61 and the determining module 62 mentioned above can be implemented by a processor located on the vehicle-to-everything (V2X) device, specifically a central processing unit (CPU), microprocessor unit (MPU), digital signal processor (DSP), or field programmable gate array (FPGA).
[0407] Figure 7 The following is a schematic diagram of an optional electronic device provided as an embodiment of this application, such as... Figure 7 As shown, this application embodiment provides an electronic device 700, including:
[0408] The processor 71 and the storage medium 72 storing the processor-executable instructions; the storage medium 72 performs operations via the processor 71 through the communication bus 73, and when the instructions are executed by the processor, the vehicle-to-everything (V2X) method executed on the processor side in one or more of the above embodiments is performed.
[0409] It should be noted that in practical applications, the various components in the electronic device are coupled together via the communication bus 73. It can be understood that the communication bus 73 is used to achieve communication between these components. In addition to the data bus, the communication bus 73 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 7 The general labeled all buses as communication bus 73.
[0410] This application provides a computer storage medium storing executable instructions. When the executable instructions are executed by one or more processors, the processors execute the vehicle connectivity method described in one or more of the above embodiments.
[0411] The computer-readable storage medium can be a magnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM), etc.
[0412] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0413] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0414] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0415] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0416] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application.
Claims
1. A vehicle connection method, characterized by, The method is applied to an electronic device, and includes: In response to a triggering operation on a triggering mode of a vehicle machine device of a target vehicle, the triggering mode is triggered, a triggering success result is obtained to enable interaction between the electronic device and the target vehicle; In a case where an interaction parameter of the electronic device and the target vehicle meets a preset condition, it is determined that the electronic device enters the vehicle connection scenario to enable the electronic device to provide wireless network for the vehicle machine device.
2. The method of claim 1, wherein, The method further includes: In response to a selection operation on a triggering mode of a vehicle connection scenario, a triggering mode of a vehicle machine device of the target vehicle is determined.
3. The method of claim 2, wherein, The response to the selection operation on the triggering mode of the vehicle connection scenario to determine the triggering mode of the vehicle machine device of the target vehicle includes: In response to a selection operation on a vehicle connection function, an option of the triggering mode of the vehicle connection scenario is displayed on a current display interface of the electronic device; In response to the selection operation on the triggering mode of the vehicle connection scenario, the triggering mode of the vehicle machine device of the target vehicle is determined.
4. The method of claim 3, wherein, The response to the selection operation on the triggering mode of the vehicle connection scenario to determine the triggering mode of the vehicle machine device of the target vehicle includes: In response to the selection operation on the triggering mode of the vehicle connection scenario, a bound vehicle in a selected triggering direction is displayed on a current display interface of the electronic device; In response to a selection operation on a target vehicle in the bound vehicle, a triggering mode of a vehicle machine device of the target vehicle is determined.
5. The method of claim 3, wherein, The method further includes: In a case where the electronic device is connected to other devices of the target vehicle for the first time, an option of a vehicle connection function is displayed on a current display interface of the electronic device. The other devices are devices other than the vehicle machine device in the target vehicle.
6. The method of claim 3, wherein, The method further includes: In a case where the obtained historical record of the electronic device indicates that the electronic device provides wireless network for the vehicle machine device within a preset time period after the target vehicle starts, an option of a vehicle connection function is displayed on a current display interface of the electronic device.
7. The method of claim 3, wherein, The method further includes: In a case where the obtained historical record of the electronic device indicates that the electronic device performs screen projection for the vehicle machine device within a preset time period after the target vehicle starts, an option of a vehicle connection function is displayed on a current display interface of the electronic device.
8. The method of claim 1, wherein, The triggering mode includes one or more of a first triggering mode, a second triggering mode, and a third triggering mode. The first triggering mode is to open a Bluetooth car key, the second triggering mode is to open an NFC car key, and the third triggering mode is to open a connection of a vehicle-mounted Bluetooth.
9. The method of claim 8, wherein, The response to the triggering operation on the triggering mode of the vehicle machine device of the target vehicle to trigger the triggering mode to obtain a triggering success result to enable interaction between the electronic device and the target vehicle includes: In a case where the triggering mode is the first triggering mode and the first triggering mode is triggered, the target vehicle is opened to the Bluetooth car key. In the case that the Bluetooth car key is successfully opened, the electronic device and the target vehicle are interacted through the opened Bluetooth car key function.
10. The method of claim 9, wherein, In the case that the interaction parameter between the electronic device and the target vehicle meets a preset condition, the electronic device is determined to enter the vehicle connection scene to make the electronic device provide a wireless network for the vehicle machine device, which comprises: Based on the opened Bluetooth car key function, a first signal quality parameter between the electronic device and the target vehicle is acquired. In the case that the first signal quality parameter is greater than a first preset threshold, the electronic device is determined to enter the vehicle connection scene to make the electronic device provide a wireless network for the vehicle machine device.
11. The method of claim 10, wherein, Based on the opened Bluetooth car key function, a first signal quality parameter between the electronic device and the target vehicle is acquired, which comprises: Through the CarLink module of the electronic device, the identification of the vehicle machine device is acquired from the APK corresponding to the Bluetooth car key function of the electronic device; Through the CarLink module and the OAF module of the electronic device, the MAC address of the vehicle machine device corresponding to the identification of the vehicle machine device is acquired; The MAC address of the vehicle machine device is mapped to the corresponding LinkHandle to acquire the first signal quality parameter between the electronic device and the target vehicle.
12. The method of claim 8, wherein, In response to the triggering operation of the triggering mode of the vehicle machine device of the target vehicle, the triggering mode is triggered to obtain a triggering success result to make the electronic device and the target vehicle interact, which comprises: In the case that the triggering mode is the second triggering mode and the second triggering mode is triggered, the NFC car key of the target vehicle is opened; In the case that the NFC car key is successfully opened, the electronic device and the target vehicle are interacted through the opened NFC car key function.
13. The method of claim 12, wherein, In the case that the interaction parameter between the electronic device and the target vehicle meets a preset condition, the electronic device is determined to enter the vehicle connection scene to make the electronic device provide a wireless network for the vehicle machine device, which comprises: After the NFC car key is successfully opened, the card identification of the NFC car key is locally stored; The key event of the card identification is listened to; In the case that the key event is an event in the first preset event, the electronic device is determined to enter the vehicle connection scene to make the electronic device provide a wireless network for the vehicle machine device.
14. The method of claim 13, wherein, The first preset event comprises one or more of the following: unlocking event, starting event.
15. The method of claim 8, wherein, In response to the triggering operation of the triggering mode of the vehicle machine device of the target vehicle, the triggering mode is triggered to obtain a triggering success result to make the electronic device and the target vehicle interact, which comprises: In the case that the triggering mode is the third triggering mode and the third triggering mode is triggered, the vehicle Bluetooth is connected with the Bluetooth device of the target vehicle through the vehicle Bluetooth. In the case of successful Bluetooth connection with the Bluetooth device, the electronic device and the target vehicle are interacted through the Bluetooth connection with the Bluetooth device.
16. The method of claim 15, wherein, The Bluetooth connection with the Bluetooth device of the target vehicle through the vehicle Bluetooth includes: In the case of the Bluetooth device being a connected device, the Bluetooth connection with the Bluetooth device is established through the vehicle Bluetooth.
17. The method of claim 15, wherein, The Bluetooth connection with the Bluetooth device of the target vehicle through the vehicle Bluetooth includes: In the case of the Bluetooth device being an unconnected device and the device name of the unconnected device existing in the local database, the Bluetooth connection with the Bluetooth device is established through the vehicle Bluetooth.
18. The method of claim 15, wherein, The triggering of the trigger mode in response to the triggering operation of the trigger mode of the vehicle machine device of the target vehicle determines that the electronic device enters the vehicle connection scene to enable the electronic device to provide a wireless network for the vehicle machine device, including: Based on the Bluetooth connection with the Bluetooth device, a second signal quality parameter between the electronic device and the Bluetooth device is acquired. In the case that the second signal quality parameter is greater than a first preset threshold, it is determined that the electronic device enters the vehicle connection scene to enable the electronic device to provide a wireless network for the vehicle machine device.
19. The method of claim 18, wherein, The acquisition of the second signal quality parameter between the electronic device and the Bluetooth device based on the Bluetooth connection with the Bluetooth device includes: The MAC address of the vehicle machine device is acquired through the Bluetooth module of the target vehicle. The MAC address of the vehicle machine device is mapped to the corresponding LinkHandle to acquire the second signal quality parameter between the electronic device and the Bluetooth device.
20. The method according to any one of claims 8 to 19, characterized in that, The trigger mode is the first trigger mode and the third trigger mode, and the triggering of the trigger mode in response to the triggering operation of the trigger mode of the vehicle machine device of the target vehicle determines that the electronic device enters the vehicle connection scene to enable the electronic device to provide a wireless network for the vehicle machine device, including: In the case that the first signal quality parameter and the second signal quality parameter are both greater than the first preset threshold, it is determined that the electronic device enters the vehicle connection scene. The interaction parameter under the first trigger mode is the first signal quality parameter, and the interaction parameter under the third trigger mode is the second signal quality parameter.
21. The method according to any one of claims 8 to 19, characterized in that, The trigger mode is the first trigger mode and the second trigger mode, and the triggering of the trigger mode in response to the triggering operation of the trigger mode of the vehicle machine device of the target vehicle determines that the electronic device enters the vehicle connection scene to enable the electronic device to provide a wireless network for the vehicle machine device, including: In the case that the first signal quality parameter is greater than the first preset threshold, or the key event is an event in the first preset event, it is determined that the electronic device enters the vehicle connection scene to enable the electronic device to provide a wireless network for the vehicle machine device. The interaction parameter under the first trigger mode is the first signal quality parameter, and the interaction parameter under the second trigger mode is the key event.
22. The method according to any one of claims 8 to 19, characterized in that, The trigger mode is the second trigger mode and the third trigger mode, and triggering the trigger mode in response to the triggering operation of the trigger mode of the vehicle machine device of the target vehicle determines that the electronic device enters the vehicle connection scene so that the electronic device provides a wireless network to the vehicle machine device, comprising: In the case that the second signal quality parameter is greater than the first preset threshold, or the key event is an event in the first preset event, it is determined that the electronic device enters the vehicle connection scene so that the electronic device provides a wireless network to the vehicle machine device. The interaction parameter in the second trigger mode is the key event, and the interaction parameter in the third trigger mode is the second signal quality parameter.
23. The method according to any one of claims 8 to 19, characterized in that, The trigger mode is the first trigger mode, the second trigger mode and the third trigger mode, and triggering the trigger mode in response to the triggering operation of the trigger mode of the vehicle machine device of the target vehicle determines that the electronic device enters the vehicle connection scene so that the electronic device provides a wireless network to the vehicle machine device, comprising: In the case that the first signal quality parameter and the second signal quality parameter are greater than the first preset threshold, or the key event is an event in the first preset event, it is determined that the electronic device enters the vehicle connection scene so that the electronic device provides a wireless network to the vehicle machine device. The interaction parameter in the first trigger mode is the first signal quality parameter, the interaction parameter in the second trigger mode is the key event, and the interaction parameter in the third trigger mode is the second signal quality parameter.
24. The method of claim 1, wherein, The method further comprises: After the electronic device enters the vehicle connection scene, the hotspot function of the electronic device is started to make the electronic device provide a wireless network to the vehicle machine device.
25. The method of claim 1, wherein, The method further comprises: In the case that the user connecting the hotspot of the electronic device includes other users in addition to the vehicle machine device, a user is selected from the other users, and the wireless connection with the selected user is disconnected.
26. The method of claim 3, wherein, The method further comprises: In the case that the electronic device and the vehicle machine device are disconnected from the wireless network connection, and the disconnection time is greater than a preset time length, the vehicle connection function is closed.
27. The method of claim 10, wherein, The method further comprises: In the case that the first signal quality parameter is less than a second preset threshold, it is determined that the electronic device exits the vehicle connection scene.
28. The method of claim 13, wherein, The method further comprises: In the case that the key event is an event in the second preset event, it is determined that the electronic device exits the vehicle connection scene.
29. The method of claim 28, wherein, The second preset event includes one or more of the following: a closing event or a locking event.
30. The method of claim 18, wherein, The method further comprises: In the case that the second signal quality parameter is less than a second preset threshold, it is determined that the electronic device exits the vehicle connection scene.
31. The method of claim 20, wherein, The method further comprises: In the case that the first signal quality parameter and the second signal quality parameter are both less than a second preset threshold, it is determined that the electronic device exits the vehicle connection scene.
32. The method of claim 21, wherein, The method further comprises: In a case that the first signal quality parameter is less than a second preset threshold, or the key event is an event in second preset events, it is determined that the electronic device exits the vehicle connection scenario.
33. The method of claim 22, wherein, The method further includes: In a case that the second signal quality parameter is less than a second preset threshold, or the key event is an event in second preset events, it is determined that the electronic device exits the vehicle connection scenario.
34. The method of claim 23, wherein, The method further includes: In a case that the first signal quality parameter and the second signal quality parameter are both less than a second preset threshold, or the key event is an event in second preset events, it is determined that the electronic device exits the vehicle connection scenario.
35. The method of claim 1, wherein, The method further includes: After exiting the vehicle connection scenario, location information of the electronic device is recorded. The location information of the electronic device is determined as the location information of the target vehicle.
36. An electronic device, comprising: Comprise: A processor and a storage medium having instructions executable by the processor stored therein; The storage medium executes operations in dependence on the processor via a communication bus, and when the instructions are executed by the processor, the vehicle connection method according to any one of claims 1-35 is executed.
37. A computer storage medium, comprising, The storage medium has executable instructions, and when the executable instructions are executed by one or more processors, the vehicle connection method according to any one of claims 1-35 is executed.
Citation Information
Patent Citations
Method and device for automatically connecting vehicle-mounted equipment to WiFi hotspot, storage medium and terminal
CN113613211A
Method and device for setting position of non-inductive entering vehicle
CN115022836A
WiFi connection method and device, electronic equipment and storage medium
CN117241243A