Vehicle control method, electronic device, and storage medium
Patent Information
- Application Number
- CN202410832757.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-01
- Publication Date
- 2026-10-23
- Estimated Expiration
- 2040-12-01
AI Technical Summary
目前用户在使用虚拟钥匙时,需要先解锁装设虚拟钥匙的电子设备,然后再打开电子设备中的虚拟钥匙应用进行车辆的控制,操作繁琐
[0015]第三方面,本发明提供了一种电子设备,包括存储器,用于存储计算机程序;处理器,与所述存储器相连,用于运行所述计算机程序以实现如上所述的方法。
Smart Images

Figure CN118865525B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive technology, and particularly to the field of intelligent vehicle technology, specifically to a vehicle control method, electronic device, and storage medium. Background Technology
[0002] Virtual keys can replace physical keys to control vehicles when the user is close to them. Currently, using a virtual key requires unlocking the electronic device on which the virtual key is installed, and then opening the virtual key application on the electronic device to control the vehicle, which is a cumbersome process.
[0003] Furthermore, when the virtual key is near the vehicle, it cannot recognize whether the user intends to use it to control the vehicle. For example, when a user parks their vehicle in their own yard, they may not be using the virtual key to control it, but because their phone is relatively close to the vehicle, the virtual key app on the phone will intermittently connect to the vehicle's Bluetooth module (BLE) in the background. The virtual key cannot recognize whether the user intends to use it to control the vehicle, and this also causes the vehicle's electronic devices to be frequently woken up, leading to a drain on the vehicle's battery. Summary of the Invention
[0004] One object of the present invention is to provide a vehicle control method, electronic device and storage medium, wherein the vehicle electronic device can be frequently woken up when the vehicle virtual key is near the vehicle for a long time, so as to avoid the vehicle battery draining.
[0005] Another objective of this invention is to provide a vehicle control method, electronic device, and storage medium, wherein when the current state information of the electronic device meets preset conditions, the electronic device automatically pops up a virtual key interface for controlling the vehicle while the screen is locked, so that the user can enter vehicle control without having to perform the cumbersome operation of unlocking the screen of the electronic device and then activating the virtual key, thereby improving the convenience of using the virtual key.
[0006] Another objective of this invention is to provide a vehicle control method, electronic device, and storage medium, wherein when the current state information of the electronic device meets preset conditions, the electronic device automatically controls the vehicle based on automatic operation permissions, achieving the effect of seamless vehicle entry and effectively improving user experience.
[0007] Another objective of this invention is to provide a vehicle control method, electronic device, and storage medium, wherein when the distance between the electronic device and the vehicle-mounted electronic device is greater than a preset distance threshold, the vehicle is automatically locked to achieve a seamless locking effect and effectively improve the user experience.
[0008] To achieve the above objectives, in a first aspect, the present invention provides a vehicle control method, comprising the following steps: in response to a connection between an electronic device and an in-vehicle electronic device, acquiring the cumulative wake-up time of the in-vehicle electronic device; based on the cumulative wake-up time, determining whether the vehicle has entered a first operating mode; in response to determining that the vehicle has not entered the first operating mode, collecting the current state information of the electronic device; based on the current state information of the electronic device, determining whether a preset condition is met; and in response to determining that the current state information of the electronic device meets the preset condition, controlling the vehicle to enter a second operating mode. The method utilizes the cumulative wake-up time of the in-vehicle electronic device to enable the in-vehicle electronic device to enter a power-off protection mode, which can prevent the vehicle's virtual key from frequently waking up the in-vehicle electronic device when it is near the vehicle for an extended period, thereby preventing the vehicle from losing battery power.
[0009] The step of obtaining the cumulative wake-up duration of the in-vehicle electronic device includes the following steps: in response to determining that the vehicle is in a third operating mode and that the electronic device establishes a connection with the in-vehicle electronic device, recording the timestamp of each connection establishment; based on the timestamps of two adjacent connections, obtaining the time interval between two adjacent connections to determine the increase value of the wake-up duration of the in-vehicle electronic device; and accumulating the increase value of the wake-up duration of the in-vehicle electronic device to obtain the cumulative wake-up duration of the in-vehicle electronic device. Determining the increase value of the wake-up duration of the in-vehicle electronic device each time based on the time interval between two adjacent connections optimizes the obtained cumulative wake-up duration.
[0010] The step of controlling the vehicle to enter the second working mode in response to determining that the current state information of the electronic device meets preset conditions includes the following steps: when the distance between the electronic device and the vehicle-mounted electronic device is within the preset distance range, the current interface of the electronic device is displayed as a virtual key interface; and based on the operation on the virtual key interface, corresponding operation instructions are generated to control the vehicle to enter the second working mode. When the current state information of the electronic device meets the preset conditions, the electronic device can automatically pop up the virtual key interface for controlling the vehicle while the screen is locked. The vehicle can be unlocked directly through the pop-up virtual key interface, eliminating the need for the cumbersome operation of unlocking the electronic device screen first and then activating the virtual key, thus improving the convenience of using the virtual key.
[0011] The step of controlling the vehicle to enter the second operating mode in response to determining that the current state information of the electronic device meets preset conditions includes the following steps: when the distance between the electronic device and the vehicle-mounted electronic device is within the preset distance range, detecting whether automatic operation permission has been obtained; and in response to detecting that automatic operation permission has been obtained, generating an operation command associated with the automatic operation permission to control the vehicle to enter the second operating mode. When the current state information of the electronic device meets the preset conditions, the electronic device automatically controls the vehicle to enter the second operating mode based on the automatic operation permission, achieving a seamless entry into the vehicle and effectively improving the user experience.
[0012] The method further includes the following steps after determining that the current state information of the electronic device meets the preset conditions and controlling the vehicle to enter the second working mode: determining whether the vehicle state meets the preset state; in response to determining that the vehicle state meets the preset state, displaying the current interface of the electronic device as a virtual key interface; and generating corresponding operation instructions based on the operation on the virtual key interface to control the vehicle to enter the fourth working mode. When the vehicle state of the electronic device meets the preset state, the virtual key interface for controlling the vehicle automatically pops up when the electronic device is locked, allowing the user to access vehicle control without the cumbersome operation of unlocking the electronic device screen and then activating the virtual key, thus improving the convenience of using the virtual key.
[0013] The method further includes the following steps after determining that the current state information of the electronic device meets preset conditions and controlling the vehicle to enter the second working mode: determining whether the vehicle state meets a preset state; collecting the distance between the electronic device and the vehicle-mounted electronic device in response to determining that the vehicle state meets the preset state; and generating an operation command to control the vehicle to enter the fourth working mode in response to determining that the distance between the electronic device and the vehicle-mounted electronic device is greater than or equal to a preset distance threshold. When the distance between the electronic device and the vehicle-mounted electronic device is greater than the preset distance threshold, the vehicle is automatically locked, achieving a seamless locking effect and effectively improving the user experience.
[0014] Secondly, the present invention provides a storage medium storing program instructions, which, when executed, implement the method described above.
[0015] Thirdly, the present invention provides an electronic device, including a memory for storing a computer program; and a processor connected to the memory for running the computer program to implement the method described above. Attached Figure Description
[0016] Figure 1The diagram shown illustrates the application of the vehicle control method of the present invention in one embodiment.
[0017] Figure 2 The diagram shown is a schematic flowchart of a vehicle control method according to an embodiment of the present invention.
[0018] Figure 3 The diagram shows the principle flowchart of obtaining the cumulative wake-up time in one embodiment of the vehicle control method of the present invention.
[0019] Figure 4 This is a schematic diagram illustrating the control of clearing the cumulative wake-up time in one embodiment of the vehicle control method of the present invention.
[0020] Figure 5 This is a flowchart illustrating the principle of controlling a vehicle to enter a second working mode in one embodiment of the vehicle control method of the present invention.
[0021] Figure 6 The diagram shows an example of a virtual key interface in one embodiment of the vehicle control method of the present invention.
[0022] Figure 7 The diagram shows an example of a vehicle unlocking method according to an embodiment of the present invention, where a virtual key interface controls the vehicle unlocking.
[0023] Figure 8 This is a flowchart illustrating another principle of controlling a vehicle to enter a second working mode in one embodiment of the vehicle control method of the present invention.
[0024] Figure 9 This is a flowchart illustrating the principle of controlling a vehicle to enter a fourth working mode in one embodiment of the vehicle control method of the present invention.
[0025] Figure 10 This is a flowchart illustrating another principle of controlling a vehicle to enter a fourth operating mode in one embodiment of the vehicle control method of the present invention.
[0026] Figure 11 The diagram shown is a schematic diagram of the principle structure of the electronic device of the present invention in one embodiment.
[0027] Component designation explanation
[0028] 100 Electronic devices
[0029] 101 processor
[0030] 102 Memory
[0031] 110 Virtual Key Interface
[0032] 120 Unlock Indicator Graphic
[0033] 200 vehicles
[0034] 210 Vehicle-mounted electronic equipment
[0035] S100~S500 Steps
[0036] Steps S110~S130
[0037] Steps S511~S512
[0038] Steps S521~S522
[0039] Steps S611~S613
[0040] Steps S621~S623 Detailed Implementation
[0041] The following specific examples illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, unless otherwise specified, the following embodiments and features described therein can be combined with each other.
[0042] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. Therefore, the drawings only show the components related to the present invention and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0043] This embodiment provides a vehicle control method, electronic device, and storage medium to avoid frequently waking up the vehicle's electronic devices when the vehicle virtual key is near the vehicle for a long time, thus preventing the vehicle from running out of power. At the same time, it allows users to access vehicle control without having to perform the cumbersome operation of unlocking the electronic device screen before activating the virtual key, thereby improving the ease of use of the virtual key.
[0044] Figure 1 This diagram illustrates the application of the vehicle control method in this embodiment. Figure 1 The electronic device 100 includes, but is not limited to, mobile devices such as mobile phones, tablets, wearable devices, and smart AI devices, wherein the electronic device 100 is equipped with a virtual key. Figure 1The in-vehicle electronic device 210 is installed in the vehicle 200. The in-vehicle electronic device 210 includes, but is not limited to, an in-vehicle Bluetooth module. Vehicle infotainment systems and in-vehicle boxes equipped with the Bluetooth module can establish a connection with the electronic device 100 via Bluetooth and interact with the virtual key in the electronic device 100. For example... Figure 1 As shown, in the vehicle control method of this embodiment, after the electronic device 100 equipped with the virtual key approaches the vehicle 200, it is determined whether to put the vehicle electronic device 210 into a power-down protection mode based on the cumulative wake-up time of the vehicle electronic device 210. When the vehicle electronic device 210 enters the power-down protection mode, the vehicle electronic device 210 is no longer woken up by the electronic device 100 to establish a Bluetooth connection, thereby avoiding the vehicle electronic device 210 being frequently woken up and thus avoiding power loss of the vehicle electronic device 210. When the vehicle electronic device 210 does not enter the power-down protection mode, the electronic device 100 establishes a Bluetooth connection with the vehicle electronic device 210, and the electronic device 100 controls the vehicle 200 in the locked screen state, so that the user does not have to perform the cumbersome operation of unlocking the screen of the electronic device 100 and then activating the virtual key to enter the vehicle 200 for control, improving the convenience of using the virtual key.
[0045] The principles and implementation methods of the vehicle control method, electronic device and storage medium of this embodiment will be described in detail below, so that those skilled in the art can understand the vehicle control method, electronic device and storage medium of this embodiment without creative effort.
[0046] This embodiment provides a vehicle control method. Figure 2 The diagram shown illustrates the principle flowchart of the vehicle control method in this embodiment.
[0047] like Figure 2 As shown, the vehicle control method includes the following steps:
[0048] Step S100: In response to the connection between the electronic device and the vehicle electronic device, obtain the cumulative wake-up time of the vehicle electronic device;
[0049] Step S200: Based on the accumulated wake-up time, determine whether the vehicle has entered the first working mode;
[0050] Step S300: In response to determining that the vehicle has not entered the first working mode, collect the current status information of the electronic device;
[0051] Step S400: Based on the current state information of the electronic device, determine whether the preset conditions are met;
[0052] Step S500: In response to determining that the current state information of the electronic device meets the preset conditions, control the vehicle to enter the second working mode.
[0053] The steps S100 to S500 of the vehicle control method of this embodiment will be described in detail below.
[0054] Step S100: In response to the connection between the electronic device and the vehicle electronic device, obtain the cumulative wake-up time of the vehicle electronic device.
[0055] In response to the connection between the electronic device 100 and the vehicle electronic device 210, the cumulative wake-up time of the vehicle electronic device 210 is obtained, that is, when the connection between the electronic device 100 and the vehicle electronic device 210 is detected, the cumulative wake-up time of the vehicle electronic device 210 is obtained.
[0056] The connection between the electronic device 100 and the vehicle-mounted electronic device 210 is preferably a Bluetooth connection, but it can also be a short-range wireless network communication such as ZigBee or ANT. This embodiment uses a Bluetooth connection between the electronic device 100 and the vehicle-mounted electronic device 210 as an example for explanation.
[0057] The Bluetooth signal strength is detected, and when the Bluetooth signal strength is within a preset signal strength range, a connection is established between the electronic device 100 and the vehicle-mounted electronic device 210.
[0058] Electronic device 100 is equipped with a virtual key APP, which serves as a Bluetooth mobile phone key for opening and closing the vehicle lock of vehicle 200. When electronic device 100 approaches vehicle 200, it detects the Bluetooth signal strength of vehicle 200. When the detected Bluetooth signal strength of vehicle 200 is within a preset signal strength range, it establishes a connection with vehicle electronic device 210.
[0059] Furthermore, in this embodiment, the vehicle control method further includes: in response to the connection between the electronic device 100 and the vehicle-mounted electronic device 210, prompting that the electronic device 100 and the vehicle-mounted electronic device 210 have established a connection; wherein the prompting method includes one or more combinations of controlling the electronic device 100 and / or controlling the vehicle-mounted electronic device 210 to turn on the screen, pop-up prompts, and voice prompts.
[0060] For example, after the electronic device 100 establishes a connection with the vehicle-mounted electronic device 210, the user is notified by controlling the screen of the electronic device 100 to light up. For example, when the vehicle system and the mobile phone successfully connect via Bluetooth, the mobile phone lock screen is triggered to light up.
[0061] For example, after the electronic device 100 establishes a connection with the vehicle-mounted electronic device 210, a pop-up notification can be displayed on the lock screen of the electronic device 100. For instance, when the vehicle system and the mobile phone successfully connect via Bluetooth, a message will pop up on the mobile phone screen: "Bluetooth connection established with your car".
[0062] Furthermore, after the electronic device 100 establishes a connection with the in-vehicle electronic device 210, a prompt can also be made via voice or vibration. For example, when the vehicle's infotainment system and the mobile phone successfully connect via Bluetooth, the mobile phone will announce: "Bluetooth connection established with your car."
[0063] Figure 3 This is a flowchart illustrating the principle of obtaining the cumulative wake-up time in the vehicle control method of this embodiment. Specifically, as shown... Figure 3 As shown, in this embodiment, obtaining the cumulative wake-up time of the in-vehicle electronic device includes the following steps:
[0064] Step S110: In response to determining that the vehicle is in the third operating mode and that the electronic device establishes a connection with the vehicle electronic device, record the timestamp of each connection establishment.
[0065] In this embodiment, the third working mode refers to a vehicle working mode in which the vehicle 200 is in a state where the vehicle electronic equipment is not awake, such as when the engine is off and locked, in hibernation mode, or in energy-saving mode.
[0066] In the third working mode, the vehicle 200 can be woken up and establish a connection with the electronic device 100. When the electronic device 100 establishes a connection with the vehicle electronic device 210, the timestamp of this connection is recorded.
[0067] For example, when vehicle 200 is turned off and locked, electronic device 100 automatically searches for nearby Bluetooth signals. When electronic device 100 finds the Bluetooth signal of in-vehicle electronic device 210, it establishes a connection with in-vehicle electronic device 210. Alternatively, in-vehicle electronic device 210 can automatically search for nearby Bluetooth signals, and when it finds the Bluetooth signal of electronic device 100, it establishes a connection with electronic device 100. A timestamp is recorded when electronic device 100 establishes a Bluetooth connection with in-vehicle electronic device 210.
[0068] Step S120: Based on the timestamps of two adjacent connections, obtain the time interval between two adjacent connections to determine the increase value of the wake-up duration of the vehicle electronic device.
[0069] By determining the increase value of the wake-up duration of the vehicle electronic device 210 in this embodiment, the cumulative wake-up duration of the vehicle electronic device 210 can be optimized.
[0070] Specifically, in this embodiment, the step of obtaining the time interval between two adjacent connections based on the timestamps of two adjacent connections to determine the increase in the wake-up duration of the vehicle electronic device 210 includes the following steps:
[0071] If the time interval between two consecutive connections is less than a preset time interval, then the increase in wake-up duration is determined to be the difference in timestamps between the two consecutive connections; and
[0072] If the time interval between two consecutive connections is greater than or equal to a preset time interval, then the increase in the wake-up duration is determined to be a preset value.
[0073] The preset time interval is selected from, but is not limited to, 1 to 10 minutes. Under the technical principle of this embodiment, those skilled in the art can set the value or range of the preset time interval according to their needs.
[0074] For example, the preset time interval is 5 minutes.
[0075] If the time interval between two consecutive Bluetooth connections between electronic device 100 and vehicle electronic device 210 is less than 5 minutes, then the wake-up duration of vehicle electronic device 210 is determined to be the difference between the timestamps of the two consecutive Bluetooth connections.
[0076] If the time interval between two consecutive Bluetooth connections between electronic device 100 and vehicle electronic device 210 is greater than or equal to 5 minutes, then the current increment value for determining the wake-up duration of vehicle electronic device 210 is a preset value.
[0077] In this embodiment, the preset value is either a fixed preset value or a preset value with a gradual increase. The fixed preset value is selected within a range of, but not limited to, 1 to 10 minutes. Based on the technical principles of this embodiment, those skilled in the art can set the value or range of the preset value according to their needs. The preset value with a gradual increase is, but not limited to, a preset value determined by a linear increasing curve or a non-linear increasing curve.
[0078] For example, the preset value is a fixed increase of 5 minutes. If the time interval between two consecutive Bluetooth connections between electronic device 100 and vehicle electronic device 210 is greater than or equal to 5 minutes, then the current increase value for determining the wake-up duration of vehicle electronic device 210 is 5 minutes.
[0079] Step S130: Accumulate the increase in the wake-up duration of the vehicle electronic device to obtain the cumulative wake-up duration of the vehicle electronic device.
[0080] That is, the cumulative wake-up time of the vehicle electronic device 210 is the increase in wake-up time determined when the electronic device 100 and the vehicle electronic device 210 are connected for the second time and the first time + the increase in wake-up time determined when the electronic device 100 and the vehicle electronic device 210 are connected for the third time and the second time... the increase in wake-up time determined when the electronic device 100 and the vehicle electronic device 210 are connected for the current time and the previous time.
[0081] In another embodiment, the cumulative wake-up time of the in-vehicle electronic device can also be obtained based on a fixed value that increases with each connection. Specifically, the methods for obtaining the cumulative wake-up time of the in-vehicle electronic device include:
[0082] In response to determining that the vehicle is in a third operating mode and that the electronic device has established a connection with the vehicle electronic device, the wake-up duration of the vehicle electronic device 210 is increased by a preset value.
[0083] The cumulative wake-up duration of the vehicle electronic device is obtained by summing the increase in wake-up duration determined each time the electronic device establishes a connection with the vehicle electronic device.
[0084] In this embodiment, the preset value is either a fixed preset value or a preset value with a gradual increase. The fixed preset value is selected within a range of, but not limited to, 1 to 10 minutes. Based on the technical principles of this embodiment, those skilled in the art can set the value or range of the preset value according to their needs. The preset value with a gradual increase is, but not limited to, a preset value determined by a linear increasing curve or a non-linear increasing curve.
[0085] That is, a preset value is added each time the electronic device establishes a connection with the vehicle-mounted electronic device.
[0086] For example, when the vehicle is in the third operating mode, each time the electronic device establishes a connection with the vehicle-mounted electronic device, the wake-up duration of the vehicle-mounted electronic device 210 is increased by 5 minutes. Then, the 5-minute increase in wake-up duration determined each time the electronic device establishes a connection with the vehicle-mounted electronic device is accumulated to obtain the cumulative wake-up duration of the vehicle-mounted electronic device.
[0087] Step S200: Based on the accumulated wake-up time, determine whether the vehicle has entered the first working mode.
[0088] In this embodiment, determining whether vehicle 200 has entered the first working mode based on the cumulative wake-up time includes:
[0089] The cumulative wake-up time is compared with a preset time threshold. When the cumulative wake-up time is greater than or equal to the preset time threshold, the vehicle 200 is determined to enter the first working mode. When the cumulative wake-up time is less than the preset time threshold, the vehicle 200 is determined not to enter the first working mode.
[0090] The preset duration threshold is selected from, but is not limited to, 10 to 120 minutes. Under the technical principle of this embodiment, those skilled in the art can set the value or range of the preset duration threshold according to their needs.
[0091] For example, if the preset duration threshold is 30 minutes, when the cumulative wake-up time is greater than or equal to 30 minutes, it is determined that vehicle 200 enters the first working mode; when the cumulative wake-up time is less than 30 minutes, it is determined that vehicle 200 does not enter the first working mode.
[0092] In this embodiment, the first working mode is a preset protection working mode, which is also the working mode that protects the vehicle 200 from losing power.
[0093] When it is determined that vehicle 200 has entered the first operating mode, the vehicle control method of this embodiment further includes: in response to determining that vehicle 200 has entered the first operating mode, generating a user notification to notify vehicle 200 of entering the first operating mode, and displaying the user notification on electronic device 100. The user notification includes one or more combinations of text, symbols, graphics, and sound. For example, when vehicle 200 enters the first operating mode, electronic device 100 displays "Virtual key deactivated!".
[0094] In this embodiment, after determining whether the vehicle 200 has entered the first working mode based on the cumulative wake-up time, the method further includes the following step: in response to determining that the vehicle 200 has entered the first working mode, preventing the electronic device 100 from establishing a connection with the vehicle-mounted electronic device 210. That is, upon detecting that the vehicle 200 has entered the first working mode, preventing the electronic device 100 from establishing a connection with the vehicle-mounted electronic device 210.
[0095] The methods for preventing the electronic device 100 from establishing a connection with the vehicle-mounted electronic device 210 include, but are not limited to, stopping the Bluetooth signal search of the electronic device 100 and / or the vehicle-mounted electronic device 210, turning off the Bluetooth of the electronic device 100 and / or the vehicle-mounted electronic device 210, stopping the Bluetooth signal search of the electronic device 100 and / or the vehicle-mounted electronic device 210 for a preset time period, or turning off the Bluetooth of the electronic device 100 and / or the vehicle-mounted electronic device 210 for a preset time period.
[0096] Furthermore, the first working mode is not limited to preventing the electronic device 100 from establishing a connection with the vehicle electronic device 210. Alternatively, in the first working mode, a working mode such as prohibiting the vehicle electronic device 210 from being woken up by Bluetooth can be adopted so that the vehicle electronic device 210 is no longer woken up by the electronic device 100 in the first working mode, in order to prevent the vehicle 200 from losing power.
[0097] As can be seen from the above, in the vehicle control method of this embodiment, the wake-up duration increment of the vehicle electronic device 210 is determined based on the time interval between two adjacent connections between the electronic device 100 and the vehicle electronic device 210, so that the obtained cumulative wake-up duration is optimized. This avoids the vehicle electronic device 210 being frequently woken up when the virtual key of the vehicle 200 is near the vehicle 200 for a long time, so as to avoid the vehicle 200 running out of power, and will not affect the user's normal use of the virtual key of the vehicle 200.
[0098] Figure 4 This diagram illustrates the control of clearing the cumulative wake-up time in one embodiment of the vehicle control method of this embodiment.
[0099] Among them, such as Figure 4 As shown, after determining whether the vehicle 200 has entered the first working mode based on the cumulative wake-up time, the method further includes the following steps: in response to determining that the vehicle has entered the first working mode and detecting a control command input by the user, the cumulative wake-up time is cleared.
[0100] In other words, when the vehicle electronic device 210 is in the first working mode, the electronic device 100 and the vehicle electronic device 210 are no longer connected. When a control command input by the user is detected, the first working mode is exited and the accumulated wake-up time is cleared.
[0101] The control commands input by the user include, but are not limited to, control commands generated by the user through controlling the physical vehicle key 200, and control commands generated by the user through controlling the electronic device 100. For example, control commands generated by the user through preset operations such as shaking the key, or by clicking control buttons in the virtual key APP.
[0102] In this embodiment, when a user-inputted control command is detected and it is determined that the received command is a clear control command from the user to control the vehicle 200, the accumulated wake-up time is reset to zero, and the vehicle electronic device 210 exits the first working mode.
[0103] Step S300: In response to determining that the vehicle has not entered the first working mode, the current status information of the electronic device is collected.
[0104] The current status information of the electronic device 100 is used to determine whether the vehicle 200 has entered the second operating mode. The type of the current status information of the electronic device 100 collected is determined according to the type of the second operating mode.
[0105] The current status information of the electronic device 100 includes, but is not limited to, the distance between the electronic device 100 and the vehicle-mounted electronic device 210, the signal strength of the electronic device 100, and the operating permissions of the electronic device 100.
[0106] Step S400: Based on the current state information of the electronic device, determine whether the preset conditions are met.
[0107] The current status information of the electronic device 100 is collected and compared with preset conditions to determine whether the current status information of the electronic device 100 meets the preset conditions.
[0108] The preset conditions include, but are not limited to, preset distance range, preset signal strength range, and preset operation permissions.
[0109] Step S500: In response to determining that the current state information of the electronic device meets the preset conditions, control the vehicle to enter the second working mode.
[0110] That is, when it is determined that the current state information of the electronic device 100 meets the preset conditions, the vehicle 200 is controlled to enter the second working mode.
[0111] In this embodiment, the second working mode includes, but is not limited to, controllable vehicle 200 working modes such as door unlocking, trunk opening, vehicle system startup, headlights turning on, windows opening, air conditioning turning on, refueling switch turning on, welcome mode, preheating / precooling.
[0112] Figure 5 This diagram illustrates a principle flowchart of controlling a vehicle to enter a second operating mode in one embodiment of the vehicle control method of the present invention. In this embodiment, the current state information of the electronic device 100 is the distance between the electronic device 100 and the vehicle-mounted electronic device 210, and the preset condition includes that the distance between the electronic device 100 and the vehicle-mounted electronic device 210 is within a preset distance range.
[0113] Specifically, such as Figure 5 As shown, the step of controlling the vehicle to enter the second operating mode in response to determining that the current state information of the electronic device meets the preset conditions includes the following steps:
[0114] Step S511: When the distance between the electronic device and the vehicle-mounted electronic device is within the preset distance range, the current interface of the electronic device is set to display a virtual key interface.
[0115] Step S512: Based on the operation of the virtual key interface, generate corresponding operation instructions to control the vehicle to enter the second working mode.
[0116] Before determining that the distance between the electronic device 100 and the vehicle-mounted electronic device 210 is within the preset distance range, this embodiment further includes determining the movement trend of the electronic device 100: determining whether the vehicle 200 is gradually approaching the vehicle 200.
[0117] In this embodiment, the distance between the electronic device 100 and the vehicle 200 is used to determine whether the vehicle 200 is gradually approaching the vehicle 200.
[0118] Specifically, in this embodiment, the method for determining whether the vehicle 200 is gradually approaching the vehicle 200 based on the distance between the electronic device 100 and the vehicle 200 is as follows:
[0119] When electronic device 100 detects the Bluetooth signal of vehicle electronic device 210, it obtains the distance between electronic device 100 and vehicle electronic device 210 based on the strength of the detected Bluetooth signal of vehicle electronic device 210, and determines whether vehicle 200 is gradually approaching vehicle 200 based on the trend of distance change.
[0120] Specifically, the distance between electronic device 100 and vehicle-mounted electronic device 210 is calculated according to the formula d=10^((ABS(RSSI)-H) / (10*n)).
[0121] Wherein, d is the distance between electronic device 100 and vehicle-mounted electronic device 210, in meters;
[0122] RSSI (Received Signal Strength Indication) represents the strength of the Bluetooth signal detected by the vehicle electronic device 210;
[0123] H is the absolute value of the RSSI value when the distance detection device (vehicle-mounted electronic device 210) is 1m. In this embodiment, the optimal range of H is between 45 and 49.
[0124] n is the environmental degradation factor, which needs to be tested and corrected. For example, n can be tested and corrected based on the interior materials of vehicle 200 and the shape of vehicle 200. In this embodiment, the optimal range of n is between 3.25 and 4.5.
[0125] After obtaining the distances d between the electronic device 100 and the vehicle electronic device 210 based on the above formula and the strength of the Bluetooth signal (RSSI) detected at different time points, the size of two adjacent distances is determined sequentially according to the time order. If the distance is getting smaller, it is determined that the electronic device 100 is gradually approaching the vehicle 200. If the distance is getting larger, it is determined that the electronic device 100 is gradually moving away from the vehicle 200.
[0126] As the electronic device 100 gradually approaches the vehicle 200, the distance between the electronic device 100 and the vehicle electronic device 210 is obtained based on the strength of the detected Bluetooth signal of the vehicle electronic device 210. That is, the distance between the electronic device 100 and the vehicle electronic device 210 is calculated according to the formula d=10^((ABS(RSSI)-H) / (10*n)). If the distance between the electronic device 100 and the vehicle electronic device 210 is within the preset distance range, the current interface of the electronic device 100 is set to display the virtual key interface 110.
[0127] In addition, in this embodiment, the distance between the electronic device 100 and the vehicle-mounted electronic device 210 corresponding to the real-time detected Bluetooth signal strength can also be obtained according to a pre-configured strength-distance relationship table between Bluetooth signal strength and distance between the electronic device 100 and the vehicle-mounted electronic device 210.
[0128] In other words, through multiple tests, a strength-distance relationship table can be configured to correspond to the Bluetooth signal strength and the distance between the electronic device 100 and the vehicle-mounted electronic device 210. After detecting a Bluetooth signal, the distance between the electronic device 100 and the vehicle-mounted electronic device 210 is determined by looking up the strength-distance relationship table. Then, based on the time sequence, the magnitude of adjacent distances is judged. If the distance decreases, it is determined that the electronic device 100 is gradually moving closer to the vehicle 200; if the distance increases, it is determined that the electronic device 100 is gradually moving away from the vehicle 200.
[0129] As the electronic device 100 gradually approaches the vehicle 200, if the distance between the electronic device 100 and the vehicle-mounted electronic device 210 is within the preset distance range, the current interface of the electronic device 100 is set to display a virtual key interface 110.
[0130] If the distance between the electronic device 100 and the vehicle-mounted electronic device 210 is too large, the Bluetooth signal strength is too weak, the connection is unstable, and the vehicle 200 is turned on too early, which cannot guarantee the safety of the vehicle 200. If the distance between the electronic device 100 and the vehicle-mounted electronic device 210 is too small, the virtual key interface 110 will be displayed. At this time, the user will already be close to the car door before the vehicle 200 is turned on, which may require the user to wait or operate the mobile phone at the car door, resulting in a poor user experience.
[0131] To achieve a better user experience, in this embodiment, the preset distance range is preferably 1 to 5 meters or 2 to 3 meters. Users can set the preset distance range according to their needs, for example, a preset distance range of 2 meters.
[0132] For example, when the electronic device 100 gradually approaches the vehicle 200, and it is determined that the distance between the electronic device 100 and the vehicle-mounted electronic device 210 is less than or equal to 2 meters, the current interface of the electronic device 100 is set to display the virtual key interface 110.
[0133] In this embodiment, as the electronic device 100 gradually approaches the vehicle 200, the distance between the electronic device 100 and the vehicle 200 is automatically analyzed, and the current interface of the electronic device 100 is automatically displayed as the virtual key interface 110 within a suitable distance.
[0134] Figure 6 This diagram shows an example of a virtual key interface 110 in one embodiment of the vehicle control method of the present invention. Figure 6 As shown, the virtual key interface 110 includes, but is not limited to, one or more of the following: a status indication area indicating the current status of the vehicle 200, an operation area for inputting vehicle 200 control commands, and a configuration area for configuring automatic operation permissions.
[0135] Specifically, when the vehicle status changes, the current status of the vehicle 200 in the status indication area displayed on the virtual key interface 110 is updated in real time.
[0136] The configuration area for configuring automatic operation permissions is used to configure whether the virtual key interface 110 pops up on the lock screen of the electronic device 100, whether the lock screen of the electronic device 100 allows the virtual key interface 110 to be displayed on the lock screen, and whether to enable automatic operation permissions corresponding to the preset conditions.
[0137] For example, if the "Automatically pop up key card when approaching vehicle" option is enabled in the configuration area of the virtual key interface 110, then when the distance between the electronic device 100 and the vehicle electronic device 210 is within the preset distance range, the current interface of the electronic device 100 is allowed to be displayed as the virtual key interface 110.
[0138] Based on the operation of the operation area for inputting vehicle 200 control commands in the virtual key interface 110, corresponding operation commands are generated to control the vehicle 200 to enter the second working mode.
[0139] In this embodiment, the virtual key interface 110 can cover the lock screen interface of the original electronic device 100, so that the electronic device 100 only displays the virtual key interface 110, or the virtual key interface 110 can be displayed in any area of the lock screen interface of the original electronic device 100. The display pattern and layout of the interface content of the virtual key interface 110 are not limited.
[0140] In this embodiment, the corresponding operation instructions generated based on the operation of the virtual key interface 110 include: displaying an unlock indicator graphic 120 in the operation area of the virtual key interface 110, and generating the unlock instruction when the unlock indicator graphic 120 is triggered by a preset unlocking method.
[0141] In this embodiment, the unlock indicator graphic 120 is preferably the same as the lock screen unlock indicator graphic 120 of the electronic device 100.
[0142] Figure 7 This diagram illustrates an example of a vehicle control method of the present invention, where a virtual key interface 110 controls the unlocking of a vehicle 200. (See diagram for example.) Figure 7 As shown, the unlock indicator graphic 120 is a sliding unlock indicator bar, and the unlock indicator graphic 120 is triggered by a preset unlocking method by controlling the sliding unlock indicator bar to slide in a preset direction.
[0143] In this embodiment, the vehicle 200 can be unlocked by sliding to unlock while the electronic device 100 is in the locked state.
[0144] Furthermore, the unlock indicator graphic 120 and its control method can also be any of the following:
[0145] 1) The unlocking indicator graphic 120 is a gesture unlocking indicator graphic 120, which is triggered by inputting a gesture of a preset pattern;
[0146] 2) The unlocking indicator graphic 120 is a password unlocking indicator graphic 120, which is triggered by entering a preset password;
[0147] 3) The unlocking indicator graphic 120 is a fingerprint unlocking indicator graphic 120, which is triggered by inputting a preset fingerprint;
[0148] 4) The unlocking indicator graphic 120 is a face image unlocking indicator graphic 120, which is triggered by inputting a preset face image.
[0149] Therefore, in the vehicle control method of this embodiment, when the current state information of the electronic device 100 meets the preset conditions, the electronic device 100 can automatically pop up the virtual key interface 110 for controlling the vehicle 200 when the screen of the electronic device 100 is locked. The vehicle 200 can be unlocked directly through the pop-up virtual key interface 110, so that the user does not have to perform the cumbersome operation of unlocking the screen of the electronic device 100 and then activating the virtual key to enter the control of the vehicle 200, thereby improving the convenience of using the virtual key.
[0150] Figure 8This is shown as another principle flowchart of controlling a vehicle 200 to enter a second operating mode in one embodiment of the vehicle control method of the present invention. In this embodiment, the current status information of the electronic device 100 can also be operation permissions, and the preset condition is to obtain automatic operation permissions.
[0151] In this embodiment, the preset conditions correspond to different automatic operation permissions depending on the form of the second working mode. These automatic operation permissions include, but are not limited to, automatic door unlocking, trunk opening, vehicle system startup, headlight activation, window opening, fuel switch activation, welcome mode activation, and preheating / precooling automatic operation permissions corresponding to the first working mode.
[0152] like Figure 8 As shown, the step of controlling the vehicle to enter the second operating mode in response to determining that the current state information of the electronic device meets the preset conditions includes the following steps:
[0153] Step S521: If the distance between the electronic device and the vehicle-mounted electronic device is within the preset distance range, detect whether to obtain automatic operation permission;
[0154] Step S522: In response to detecting that automatic operation permission has been obtained, an operation command associated with the automatic operation permission is generated to control the vehicle to enter the second working mode.
[0155] In step S521, the process for determining whether the distance between the electronic device 100 and the vehicle-mounted electronic device 210 is within the preset distance range is the same as the process for determining whether the distance between the electronic device 100 and the vehicle-mounted electronic device 210 is within the preset distance range in step S511. This will not be repeated here.
[0156] The automatic operation permission can be configured via a virtual key in the electronic device 100, or it can be configured in the configuration area of the virtual key interface 110. Configuring the automatic operation permission includes enabling or disabling it.
[0157] Detecting whether automatic operation permission has been obtained, i.e. whether automatic operation permission has been enabled, generates operation instructions associated with the automatic operation permission to control the vehicle 200 to enter the second working mode.
[0158] Therefore, in the vehicle control method of this embodiment, when the current state information of the electronic device 100 meets the preset conditions, the electronic device 100 is automatically controlled to enter the second working mode based on the automatic operation permission, so as to achieve the effect of seamless entry into the vehicle 200 and effectively improve the user experience.
[0159] The vehicle control method of this embodiment can also control the vehicle 200 to enter a fourth operating mode after the vehicle 200 enters the second operating mode. In this embodiment, the fourth operating mode includes, but is not limited to, locking the doors, locking the trunk, turning off the lights, and closing the windows.
[0160] Figure 9 This is a flowchart illustrating the principle of controlling a vehicle 200 to enter a fourth operating mode in one embodiment of the vehicle control method of the present invention. Figure 9 As shown, in this embodiment, after determining that the current state information of the electronic device 100 meets the preset conditions and controlling the vehicle 200 to enter the second working mode, the following steps are further included:
[0161] Step S611: Determine whether the vehicle status meets the preset status;
[0162] Step S612: In response to determining that the vehicle state meets a preset state, the current interface of the electronic device is set to display a virtual key interface; and
[0163] Step S613: Based on the operation of the virtual key interface, generate corresponding operation instructions to control the vehicle to enter the fourth working mode.
[0164] The preset states include, but are not limited to, the vehicle 200 being off, the doors being open or closed, and the vehicle being unoccupied.
[0165] For example, upon detecting that vehicle 200 is turned off and a door performs an opening and closing process, and determining that the vehicle state meets a preset state, the current interface of the electronic device 100 is set to display a virtual key interface 110. The principle of the virtual key interface 110 and the implementation method based on the operation of the virtual key interface 110 is the same as that of the virtual key interface 110 described in step S511 and the implementation method based on the operation of the virtual key interface 110 in step S512. The difference is that the operation command generated in step S512 controls vehicle 200 to enter the second working mode, while the operation command generated in step S611 controls vehicle 200 to enter the fourth working mode. Similar technical features between the implementation principles will not be elaborated further.
[0166] Specifically, generating corresponding operation instructions based on operations on the virtual key interface 110 includes: displaying a lock indicator graphic in the operation area of the virtual key interface 110 where the vehicle 200 control command is input; and generating the lock instruction when the lock indicator graphic is detected to be triggered in a preset lock mode.
[0167] The locking indicator graphic and preset locking method are implemented in the same way as the aforementioned unlocking indicator graphic 120 and preset unlocking method. Further details will not be provided here.
[0168] For example, when vehicle 200 is turned off, the owner opens the door, gets out, and closes the door, the vehicle status is determined to meet the preset status. The current interface of the electronic device 100 is then displayed as the virtual key interface 110, which displays a sliding lock indicator bar. The sliding lock indicator bar is controlled to slide in a preset direction to lock the door.
[0169] Therefore, in the vehicle control method of this embodiment, when the vehicle status of the electronic device 100 meets the preset status, the electronic device 100 is locked and the virtual key interface 110 for controlling the vehicle 200 is automatically popped up, so that the user can enter the control of the vehicle 200 without having to perform the cumbersome operation of unlocking the screen of the electronic device 100 and then activating the virtual key, thereby improving the convenience of using the virtual key.
[0170] Figure 10 This is shown as another principle flowchart of the vehicle control method of this embodiment, in one embodiment, for controlling the vehicle 200 to enter the fourth operating mode. (See attached diagram.) Figure 10 As shown, after determining that the current state information of the electronic device 100 meets the preset conditions and controlling the vehicle 200 to enter the second working mode, the following steps are also included:
[0171] Step S621: Determine whether the vehicle status meets the preset status;
[0172] Step S622, in response to determining that the vehicle state meets a preset state, the distance between the electronic device and the in-vehicle electronic device is collected; and
[0173] Step S623: In response to determining that the distance between the electronic device and the vehicle-mounted electronic device is greater than or equal to a preset distance threshold, an operation command is generated to control the vehicle to enter the fourth working mode.
[0174] The preset states include, but are not limited to, the vehicle 200 being in an off state, the doors being open or closed, or the vehicle being unoccupied.
[0175] The distance between the electronic device 100 and the vehicle-mounted electronic device 210 is obtained by calculating the distance between the electronic device 100 and the vehicle-mounted electronic device 210 according to the formula d=10^((ABS(RSSI)-H) / (10*n)) as described above, or by obtaining the distance between the electronic device 100 and the vehicle-mounted electronic device 210 corresponding to the real-time detected Bluetooth signal strength according to a pre-configured Bluetooth signal strength and distance relationship table between the electronic device 100 and the vehicle-mounted electronic device 210.
[0176] The preset distance threshold is selected within a range of, but not limited to, 1 meter to 5 meters. Under the technical principle of this embodiment, those skilled in the art can set the value or range of the preset distance threshold according to their needs.
[0177] Upon detecting that the vehicle 200 is turned off and the door has completed one opening and closing process, and determining that the vehicle status meets the preset state, if the distance between the electronic device 100 and the vehicle electronic device 210 is greater than or equal to a preset distance threshold, it is highly likely that the user has moved away from the vehicle. At this time, an operation command is generated to control the vehicle 200 to enter a fourth operating mode, such as locking the doors, locking the trunk, turning off the headlights, and closing the windows.
[0178] Therefore, in the vehicle control method of this embodiment, when the distance between the electronic device 100 and the vehicle electronic device 210 is greater than a preset distance threshold, the vehicle 200 is automatically locked to achieve the effect of seamless vehicle locking and effectively improve the user experience.
[0179] To enable those skilled in the art to further understand the principle of the vehicle control method based on virtual keys in this embodiment, the following uses a mobile phone as an example to illustrate the process of unlocking and locking the vehicle 200 by the mobile phone using a virtual key.
[0180] When vehicle 200 is in a vehicle-mode operating state where the ignition is off and locked, in sleep mode, or in energy-saving mode, and the on-board electronic devices are in an inactive state, vehicle 200 can be woken up and establish a connection with electronic device 100. When electronic device 100 establishes a connection with on-board electronic device 210, electronic device 100 is triggered to light up its screen and acquire the cumulative wake-up time of on-board electronic device 210. When the cumulative wake-up time is greater than or equal to a preset time threshold, vehicle 200 is determined to have entered a first operating mode. While vehicle 200 is in the first operating mode, electronic device 100 is prevented from establishing a connection with on-board electronic device 210, and the user is notified. When on-board electronic device 210 is in the first operating mode, electronic device 100 and on-board electronic device 210 no longer connect, and on-board electronic device 210 is no longer woken up by electronic device 100 in the first operating mode, preventing vehicle 200 from losing power. When a control command is detected by the user via shaking, virtual key APP, or other means, the cumulative wake-up time is reset to zero, and on-board electronic device 210 exits the first operating mode.
[0181] When the cumulative wake-up time is less than a preset time threshold, as the electronic device 100 gradually approaches the vehicle 200, and the distance between the electronic device 100 and the vehicle-mounted electronic device 210 is within the preset distance range, the current interface of the electronic device 100 is displayed as a virtual key interface 110. The vehicle 200 can be unlocked directly through the pop-up virtual key interface 110, eliminating the need for the cumbersome process of unlocking the electronic device 100 screen before activating the virtual key, thus improving the convenience of using the virtual key. Alternatively, when the distance between the electronic device 100 and the vehicle-mounted electronic device 210 is within the preset distance range, the system checks whether automatic operation permission is enabled. If automatic operation permission is confirmed, the electronic device 100 automatically controls the vehicle 200 to enter a second working mode based on the automatic operation permission, achieving seamless entry into the vehicle 200 and effectively improving the user experience.
[0182] After the user exits the vehicle, the system detects that the vehicle 200 is turned off and the door has completed one opening and closing process. Confirming that the vehicle status meets a preset condition, the system automatically determines whether the electronic device 100 is gradually moving away from the vehicle 200. If the distance between the electronic device 100 and the vehicle-mounted electronic device 210 is within the preset distance range, the current interface of the electronic device 100 displays a virtual key interface 110. The user can directly lock the vehicle 200 through the pop-up virtual key interface 110, eliminating the need for the cumbersome process of unlocking the electronic device 100 screen before activating the virtual key, thus improving the convenience of using the virtual key. Alternatively, if the vehicle status meets a preset condition and the distance between the electronic device 100 and the vehicle-mounted electronic device 210 is greater than or equal to a preset distance threshold, an operation command is generated to control the vehicle 200 to enter a fourth working mode. This means that the vehicle 200 is automatically locked as the user moves away from the car, achieving a seamless locking effect and effectively improving the user experience.
[0183] like Figure 11 As shown, this embodiment also provides an electronic device 100, which is a user's mobile device such as a mobile phone, PAD, wearable device, or smart AI device; the electronic device 100 includes a memory 102 for storing computer programs; and a processor 101 for running the computer programs to implement the vehicle control method described above.
[0184] The memory 102 is connected to the processor 101 via a system bus and they communicate with each other. The memory 102 stores computer programs, and the processor 101 runs the computer programs to cause the electronic device 100 to perform actions such as... Figures 2 to 10 The vehicle control method is shown above. The vehicle control method has already been described in detail above and will not be repeated here.
[0185] It should also be noted that the system bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This system bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only one thick line is used in the figure, but this does not indicate that there is only one bus or one type of bus. The communication interface is used to enable communication between the database access device and other devices (e.g., clients, read-write libraries, and read-only libraries). Memory 102 may include Random Access Memory (RAM) and may also include non-volatile memory, such as at least one disk storage device.
[0186] The processor 101 mentioned above can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0187] Furthermore, this embodiment also provides a storage medium storing program instructions, which, when executed by the processor 101, implement the vehicle control method described above. The vehicle control method has already been described in detail above and will not be repeated here.
[0188] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented using computer program-related hardware. The aforementioned computer program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0189] In summary, this invention can automatically establish a Bluetooth connection with the vehicle when the user's terminal approaches it, and automatically unlock the vehicle or unlock it via a swipe when the electronic device is locked. This allows users to enter the vehicle without opening their phone screen, achieving a seamless entry experience and effectively improving user experience. This invention can determine whether to automatically unlock the vehicle key or unlock the virtual key via a swipe based on user settings, offering diverse control methods. It automatically determines whether the vehicle is gradually moving away from the electronic device based on the distance between the electronic device and the vehicle, prompting the user whether to lock the vehicle using the virtual key, and can also lock the vehicle while the screen is locked. Therefore, this invention effectively overcomes the various shortcomings of existing technologies and has high industrial application value.
[0190] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in the present invention should still be covered by the claims of the present invention.
Claims
1. A vehicle control method, characterized in that, Includes the following steps: In response to the connection between the electronic device and the vehicle electronic device, the cumulative wake-up time of the vehicle electronic device is obtained, wherein the cumulative wake-up time is the cumulative time during which the vehicle electronic device is woken up multiple times and establishes multiple connections with the electronic device. When the cumulative wake-up time is greater than or equal to a preset time threshold, the vehicle is determined to enter a first working mode, which is a power-off protection mode. In response to determining that the vehicle has entered the first operating mode, prevent the electronic device from establishing a connection with the vehicle-mounted electronic device; In response to determining that the vehicle has not entered the first operating mode, the current status information of the electronic device is collected.
2. The method according to claim 1, wherein, The process of obtaining the cumulative wake-up duration of the in-vehicle electronic device includes the following steps: In response to determining that the vehicle is in a third operating mode and that the vehicle electronic device is woken up and a connection is established with the electronic device, the timestamp of each connection establishment is recorded. The third operating mode is the vehicle operating mode in which the vehicle electronic device is in an unwake-up state. Based on the timestamps of two adjacent connections, the time interval between the two adjacent connections is obtained to determine the increase in the wake-up duration of the in-vehicle electronic device; The cumulative wake-up duration of the vehicle electronic device is obtained by summing the increase in the wake-up duration of the vehicle electronic device.
3. The method according to claim 2, wherein, The step of obtaining the time interval between two adjacent connections based on the timestamps of two adjacent connections, in order to determine the increase in the wake-up duration of the in-vehicle electronic device, includes the following steps: If the time interval between two consecutive connections is less than a preset time interval, then the increase in wake-up duration is determined to be the difference between the timestamps of the two consecutive connections. If the time interval between two consecutive connections is greater than or equal to a preset time interval, then the increase in wake-up duration is determined to be a preset value.
4. The method according to claim 1, wherein, The process of obtaining the cumulative wake-up duration of the in-vehicle electronic device includes the following steps: In response to determining that the vehicle is in a third working mode and that the electronic device has established a connection with the vehicle electronic device, the wake-up duration of the vehicle electronic device is increased by a preset value, and the third working mode is a vehicle working mode in which the vehicle electronic device is in an unwake-up state. The cumulative wake-up duration of the vehicle electronic device is obtained by summing the increase in wake-up duration determined each time the electronic device establishes a connection with the vehicle electronic device.
5. The method according to claim 3 or 4, wherein, The preset value is either a fixed preset value or a preset value that increases gradually.
6. The method according to claim 1, wherein, Preventing the electronic device from establishing a connection with the vehicle-mounted electronic device includes at least one of the following methods: Stop the short-range wireless network communication signal search of the electronic device and / or the vehicle-mounted electronic device; Turn off short-range wireless network communication of electronic devices and / or in-vehicle electronic devices; The search for short-range wireless network communication signals of the electronic device and / or the vehicle-mounted electronic device shall be stopped within a preset time period; Short-range wireless network communication of electronic devices and / or vehicle-mounted electronic devices will be turned off during a preset time period; The aforementioned vehicle-mounted electronic devices are prohibited from being woken up via short-range wireless network communication.
7. The method according to claim 6, wherein, The short-range wireless network communication includes at least one of Bluetooth, ZigBee, and ANT.
8. The method according to claim 1, wherein, After determining that the vehicle has entered the first working mode, the following steps are also included: In response to determining that the vehicle has entered the first operating mode and detecting a control command input by the user, the system exits the first operating mode and clears the accumulated wake-up time.
9. The method according to claim 8, wherein, The user-input control commands include control commands generated by controlling a physical vehicle key, and / or control commands generated by controlling the electronic device; the control commands are control commands for controlling the vehicle.
10. A storage medium storing program instructions, wherein, When the program instructions are executed, they implement the method as described in any one of claims 1 to 9.
11. An electronic device, wherein, It includes a memory for storing a computer program; and a processor connected to the memory for running the computer program to implement the method as claimed in any one of claims 1 to 9.
Citation Information
Patent Citations
Continuous wake-up method and apparatus for intelligent device, intelligent device, and storage medium
WO2019179443A1
Mobile terminal wakeup method and apparatus, and mobile terminal
WO2019228067A1