Control method, device and vehicle for vehicle locking / unlocking modes

By detecting the presence of a second digital key inside the vehicle and adjusting the unlocking mode or disconnecting the connection, the problem of being unable to unlock the vehicle due to a leftover digital key was resolved, thus improving the user experience.

CN119734659BActive Publication Date: 2025-10-31GREAT WALL MOTOR CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411910646.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-10-31
Estimated Expiration
2044-12-24

AI Technical Summary

Technical Problem

The vehicle cannot be unlocked if a digital key is left in it, resulting in a poor user experience, especially when the owner does not have the physical key with them.

Method used

The system detects the presence of a second digital key inside the vehicle and switches the unlocking mode from the first unlocking mode to the second unlocking mode, or disconnects the second digital key and adds it to the blacklist so that the vehicle can be unlocked under any circumstances.

Benefits of technology

This technology enables vehicles to unlock even when a second digital key is stored in the vehicle, improving the user experience and avoiding the problem of vehicles being unable to unlock due to a leftover digital key.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119734659B_ABST
    Figure CN119734659B_ABST
Patent Text Reader

Abstract

This application discloses a method, device, and vehicle for controlling the locking and unlocking modes of a vehicle, belonging to the field of vehicle technology. Through the technical solution provided by the embodiments of this application, when the vehicle is in a first locking and unlocking mode and locking is completed using a first digital key, it is determined whether a second digital key is present inside the vehicle. If a second digital key is present in the vehicle, the locking and unlocking mode is adjusted from the first to the second, or the connection with the second digital key is disconnected and the second digital key is added to a blacklist. This enables unlocking of the vehicle even when another digital key is present inside, greatly improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technology, and more specifically, to a control method, apparatus, and vehicle for a vehicle's locking / unlocking mode. Background Technology

[0002] With the development of vehicle technology, more and more vehicles are adopting digital key functionality. Users can configure their mobile devices, such as smartphones, as digital keys to quickly lock, unlock, and start their vehicles. In digital key design, the working area is typically divided into an unlocking / locking area and a starting area. When the digital key is in the unlocking / locking area, the vehicle can be locked / unlocked but cannot be started; conversely, when the digital key is in the starting area, the vehicle can be started but cannot be locked / unlocked.

[0003] In related technologies, vehicles typically support key sharing authorization, which means that by logging into a mobile application with the owner's account, the digital key can be shared with the mobile terminals of other family members and friends. In this way, the vehicle has at least two valid digital keys, and there may be scenarios where two or more digital keys appear around the vehicle at the same time.

[0004] In this scenario, after the car owner and family members get out of the vehicle, a family member might leave a digital key inside. After the owner locks the car with the digital key and leaves, the vehicle automatically connects to the digital key left inside. However, when the owner needs to unlock the vehicle, because the vehicle can only connect to one digital key, and that digital key is located in the vehicle's start area, the vehicle is unable to unlock. If the owner doesn't have a physical key, they will be unable to unlock the vehicle, resulting in a poor user experience. Summary of the Invention

[0005] This application provides a method, device, and vehicle for controlling the locking and unlocking modes of a vehicle, enabling vehicle unlocking even when a digital key remains in the vehicle. The technical solution is as follows:

[0006] On the one hand, a method for controlling the locking and unlocking modes of a vehicle is provided, the method comprising:

[0007] When the vehicle is in the first unlocking / locking mode and is locked using the first digital key, it is determined whether a second digital key is inside the vehicle. In the first unlocking / locking mode, the vehicle can be unlocked / locked when the digital key is outside the vehicle; the vehicle cannot be unlocked / locked when the digital key is inside the vehicle; the vehicle can establish a connection with one digital key at the same time.

[0008] When a second digital key is stored in the vehicle, the vehicle's unlocking / locking mode is changed from the first unlocking / locking mode to the second unlocking / locking mode, or the connection with the second digital key is disconnected and the second digital key is added to the blacklist. In the second unlocking / locking mode, the vehicle can be unlocked / locked whether the digital key is inside or outside the vehicle.

[0009] In one possible implementation, determining whether a second digital key exists in the vehicle when the vehicle is in a first unlocking / locking mode and locking is completed using a first digital key includes:

[0010] When the vehicle is in the first unlocking / locking mode and the locking is completed using the first digital key, a digital key search is performed inside the vehicle via a broadcast signal; if a digital key is found, it is determined that a second digital key exists inside the vehicle; if no digital key is found, it is determined that a second digital key does not exist inside the vehicle.

[0011] Alternatively, when the vehicle is in the first unlocking / locking mode and locking is completed using the first digital key, a digital key search is performed via broadcast signal; if the searched digital key is located inside the vehicle, it is determined that a second digital key is present in the vehicle; if the searched digital key is located outside the vehicle, or if no digital key is searched, it is determined that a second digital key is not present in the vehicle.

[0012] In one possible implementation, the step of searching for the digital key within the vehicle via a broadcast signal when the vehicle is in a first unlocking / locking mode and has been locked using a first digital key includes:

[0013] When the vehicle is in the first unlocking / locking mode and the locking is completed by the first digital key, the connection with the first digital key is actively disconnected after a first preset time and a digital key search is performed using a broadcast signal of the first signal strength, where the first signal strength is the signal strength for digital key search within the vehicle.

[0014] Alternatively, when the vehicle is in the first unlocking / locking mode and locking is completed via the first digital key, after the connection with the first digital key is disconnected, a digital key search is performed using a broadcast signal of the first signal strength.

[0015] In one possible implementation, after adjusting the vehicle's unlocking / locking mode from the first unlocking / locking mode to the second unlocking / locking mode when the second digital key is stored in the vehicle, the method further includes:

[0016] After a second preset time period, disconnect the connection with the second digital key and add the second digital key to the blacklist;

[0017] Digital key search can be performed outside the vehicle via broadcast signal.

[0018] In one possible implementation, after disconnecting the connection with the second digital key and adding the second digital key to the blacklist, the method further includes:

[0019] In response to re-establishing a connection with the first digital key and completing unlocking via the first digital key, the second digital key is removed from the blacklist.

[0020] In one possible implementation, before disconnecting the connection with the second digital key and adding the second digital key to the blacklist, the method further includes:

[0021] Determine whether there are drivers or passengers of a preset type in the vehicle, wherein the preset type of drivers or passengers are those whose age is greater than an age threshold;

[0022] Disconnecting from the second digital key and adding the second digital key to the blacklist includes:

[0023] If there are no passengers of the preset type in the vehicle, disconnect the connection with the second digital key and add the second digital key to the blacklist.

[0024] In one possible implementation, the method further includes:

[0025] When there are passengers of a preset type in the vehicle, the connection with the second digital key is maintained.

[0026] In one possible implementation, if a second digital key is stored in the vehicle, the method further includes at least one of the following:

[0027] Control the vehicle to sound its horn and flash its lights in a preset manner;

[0028] A notification message is sent to the first digital key, indicating that the second digital key was left inside the vehicle.

[0029] In one possible implementation, after adjusting the vehicle's locking / unlocking mode from the first locking / unlocking mode to the second locking / unlocking mode, the method further includes:

[0030] The vehicle is unlocked in response to the locking / unlocking button being pressed.

[0031] Alternatively, in response to the vehicle's lock / unlock button being pressed, the connection with the second digital key is actively disconnected, and a digital key search is performed outside the vehicle via broadcast signal; if the first digital key is found, the vehicle is unlocked.

[0032] In one possible implementation, the method further includes:

[0033] If the first digital key is not found, obtain an object image of the target object whose unlock / lock button has been pressed;

[0034] Based on the object image and the historical in-vehicle images, it is determined whether the target object is the target driver or passenger of the vehicle. The historical in-vehicle images are in-vehicle images collected during the vehicle's last driving process, and the target driver or passenger is the driver or passenger in the vehicle during the last driving process.

[0035] If the target object is the target driver or passenger, the vehicle is unlocked;

[0036] If the target object is not the target driver or passenger, the vehicle remains locked.

[0037] In one possible implementation, after adjusting the vehicle's locking / unlocking mode from the first locking / unlocking mode to the second locking / unlocking mode, the method further includes:

[0038] In the case where the second digital key is an auxiliary digital key to the first digital key, in response to the failure of the second digital key, the connection with the second digital key is disconnected and a digital key search is performed via broadcast signal, and the first digital key can configure the second digital key to be disabled.

[0039] On the one hand, a control device for the locking and unlocking modes of a vehicle is provided, the device comprising:

[0040] The digital key determination module is used to determine whether a second digital key exists inside the vehicle when the vehicle is in a first unlocking / locking mode and the vehicle is locked using a first digital key. In the first unlocking / locking mode, the vehicle can be unlocked / locked when the digital key is outside the vehicle, and cannot be unlocked / locked when the digital key is inside the vehicle. The vehicle can establish a connection with one digital key at a time.

[0041] The control module is configured to, when the second digital key is stored in the vehicle, adjust the vehicle's unlocking / locking mode from the first unlocking / locking mode to the second unlocking / locking mode, or disconnect the connection with the second digital key and add the second digital key to a blacklist. In the second unlocking / locking mode, the vehicle can be unlocked / locked whether the digital key is inside or outside the vehicle.

[0042] In one possible implementation, the digital key determination module is configured to, when the vehicle is in a first unlocking / locking mode and has been locked using the first digital key, perform a digital key search within the vehicle via a broadcast signal; if a digital key is found, determine that a second digital key exists within the vehicle; if no digital key is found, determine that a second digital key does not exist within the vehicle; or, when the vehicle is in the first unlocking / locking mode and has been locked using the first digital key, perform a digital key search via a broadcast signal; if the found digital key is located within the vehicle, determine that a second digital key exists within the vehicle; if the found digital key is located outside the vehicle, or if no digital key is found, determine that a second digital key does not exist within the vehicle.

[0043] In one possible implementation, the digital key determination module is configured to, when the vehicle is in a first unlocking / locking mode and has been locked using the first digital key, actively disconnect from the first digital key after a first preset time period and perform a digital key search using a broadcast signal of a first signal strength, wherein the first signal strength is the signal strength used for digital key search within the vehicle; or, when the vehicle is in the first unlocking / locking mode and has been locked using the first digital key, wait for the connection with the first digital key to be disconnected before performing a digital key search using a broadcast signal of the first signal strength.

[0044] In one possible implementation, the control module is further configured to disconnect the connection with the second digital key and add the second digital key to a blacklist after a second preset time period; and to perform a digital key search outside the vehicle via a broadcast signal.

[0045] In one possible implementation, the control module is further configured to remove the second digital key from the blacklist in response to re-establishing a connection with the first digital key and completing unlocking via the first digital key.

[0046] In one possible implementation, the device further includes:

[0047] A personnel identification model is used to determine whether there are drivers and passengers of a preset type in the vehicle, wherein the preset type of drivers and passengers are drivers and passengers whose age is greater than an age threshold;

[0048] The control module is also used to disconnect the connection with the second digital key and add the second digital key to the blacklist when there are no drivers or passengers of a preset type in the vehicle.

[0049] In one possible implementation, the control module is further configured to maintain a connection with the second digital key in the event that a driver or passenger of a preset type is present in the vehicle.

[0050] In one possible implementation, if a second digital key is stored in the vehicle, the control module is also configured to perform at least one of the following:

[0051] Control the vehicle to sound its horn and flash its lights in a preset manner;

[0052] A notification message is sent to the first digital key, indicating that the second digital key was left inside the vehicle.

[0053] In one possible implementation, the control module is further configured to unlock the vehicle in response to the vehicle's lock / unlock button being pressed; or, in response to the vehicle's lock / unlock button being pressed, actively disconnect the connection with the second digital key and perform a digital key search outside the vehicle via a broadcast signal; and, if the first digital key is found, unlock the vehicle.

[0054] In one possible implementation, the device further includes:

[0055] The image acquisition module is used to acquire an object image of the target object whose unlock / lock button is pressed when the first digital key is not found.

[0056] The object determination module is used to determine whether the target object is the target driver or passenger of the vehicle based on the object image and the historical in-vehicle images. The historical in-vehicle images are in-vehicle images collected during the last driving of the vehicle, and the target driver or passenger is the driver or passenger in the vehicle during the last driving.

[0057] The control module is also used to unlock the vehicle when the target object is the target driver or passenger, and to keep the vehicle locked when the target object is not the target driver or passenger.

[0058] In one possible implementation, the control module is further configured to, in response to the failure of the second digital key, disconnect the connection with the second digital key and perform a digital key search via a broadcast signal when the second digital key is an auxiliary digital key to the first digital key, wherein the first digital key is capable of configuring the second digital key to be invalid.

[0059] On one hand, a vehicle is provided, the vehicle including one or more processors and one or more memories, the one or more memories storing at least one piece of program code, the program code being loaded and executed by the one or more processors to implement the operations performed by the control method for the unlocking and locking modes of the vehicle.

[0060] On one hand, a computer-readable storage medium is provided, wherein at least one piece of program code is stored in the computer-readable storage medium, the program code being loaded and executed by a processor to implement the operations performed by the control method for the unlocking and locking modes of the vehicle.

[0061] The technical solution provided in this application determines whether a second digital key is present in the vehicle when it is in a first unlocking / locking mode and locked using a first digital key. If a second digital key is present in the vehicle, the unlocking / locking mode is changed from the first to the second unlocking / locking mode, or the connection with the second digital key is disconnected and the second digital key is added to a blacklist. This allows the vehicle to be unlocked even when another digital key is present in the vehicle, greatly improving the user experience. Attached Figure Description

[0062] Figure 1 This is a schematic diagram of the implementation environment of a vehicle locking / unlocking mode control method provided in an embodiment of this application;

[0063] Figure 2 This is a flowchart of a control method for the unlocking and locking modes of a vehicle provided in an embodiment of this application;

[0064] Figure 3 This is a flowchart of another vehicle unlocking / locking mode control method provided in an embodiment of this application;

[0065] Figure 4 This is a flowchart of another vehicle unlocking / locking mode control method provided in the embodiments of this application;

[0066] Figure 5 This is a flowchart of another vehicle unlocking / locking mode control method provided in the embodiments of this application;

[0067] Figure 6This is a flowchart of another vehicle unlocking / locking mode control method provided in the embodiments of this application;

[0068] Figure 7 This is a flowchart of another vehicle unlocking / locking mode control method provided in the embodiments of this application;

[0069] Figure 8 This is a schematic diagram of the structure of a vehicle locking / unlocking mode control device provided in an embodiment of this application;

[0070] Figure 9 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application. Detailed Implementation

[0071] The technical solutions in this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

[0072] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of technical features reflected. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.

[0073] In order to illustrate the technical solutions provided in the embodiments of this application, some terms involved in the embodiments of this application will be introduced first.

[0074] Digital Key: A digital key is a vehicle access control system based on digital technology. It uses a smartphone to communicate wirelessly with the vehicle, enabling functions such as remotely unlocking doors and starting the engine. The emergence of digital keys not only simplifies the interaction between car owners and their vehicles but also enhances security and convenience.

[0075] Bluetooth (BT): Bluetooth is a wireless technology that supports short-range communication (generally within 10m) between devices, enabling wireless information exchange between a wide range of devices including mobile phones, PDAs, wireless headsets, laptops, and related peripherals.

[0076] Ultra Wide Band (UWB) is a wireless carrier communication technology that does not use sinusoidal carriers but instead uses nanosecond-level non-sinusoidal narrow pulses to transmit data, thus occupying a very wide spectrum.

[0077] In related technologies, vehicles have at least two digital key unlocking and locking modes, one being a normal mode (the first unlocking and locking mode in this application) and the other a convenient mode (the second unlocking and locking mode in this application). In normal mode, the start area inside the vehicle and the unlocking and locking area outside the vehicle are clearly defined. When the digital key is located in the start area, the vehicle can be powered on / off and started but cannot be unlocked / locked. When the digital key is located in the unlocking and locking area, the vehicle can be unlocked / locked but cannot be powered on / off or started; under normal circumstances, the vehicle is in normal mode. In convenient mode, the start area and unlocking and locking area are merged into a single area. When the digital key is located in this single area, the vehicle can both be powered on / off and started, and can also be unlocked / locked.

[0078] Vehicles typically support key sharing authorization, which allows users to share their digital key with other family and friends via a mobile app that has the owner's account. This means the vehicle will have at least two valid digital keys, and there may be scenarios where more than two digital keys are present around the vehicle at the same time. For ease of explanation, we will refer to the owner's digital key as Digital Key A and the digital key of the owner's family or friends as Digital Key B.

[0079] With the vehicle in normal mode, the owner and family go on a road trip. Initially, digital key A connects to the vehicle via Bluetooth, allowing control of the vehicle's start and lock / unlock functions. Both digital key A and digital key B have Bluetooth signals enabled and are inside the vehicle. Upon arriving at their destination, the owner and family get out of the car, but the family member leaves digital key B inside. The owner takes digital key A to the unlock / lock area, locks the car, and moves away from the vehicle from the Bluetooth connection area. At this point, the Bluetooth communication between digital key A and the vehicle is lost. However, since there is still a valid digital key B inside the car with Bluetooth enabled, the vehicle will connect to digital key B. Later, when the owner returns to the vehicle with digital key A to try to unlock it, they will find that the vehicle cannot be unlocked because the vehicle's only Bluetooth channel is occupied by digital key B left inside, preventing digital key A from connecting. In normal mode, the vehicle start / unlock area where digital key B is located only allows vehicle start, not unlocking / locking. At this point, car owners can only unlock the car door with a physical key. If they do not have the physical key with them when leaving home, they can only open the car door by hiring a locksmith or by breaking a window. The above problems will cause serious complaints from car owners and result in a poor user experience.

[0080] After introducing some terms used in the embodiments of this application, the implementation environment of the embodiments of this application is described below. See [link to documentation]. Figure 1The implementation environment of the vehicle unlocking and locking mode control method provided in this application embodiment includes an on-board terminal 101, a gateway 102, and a body controller 103.

[0081] The vehicle-mounted terminal 101 has data processing capabilities. It can acquire vehicle-related data and process the acquired data to trigger control commands or provide feedback on processing results. In this embodiment, the vehicle-mounted terminal 101 integrates a digital key controller, which enables the implementation of digital key functions.

[0082] Gateway 102 is connected to vehicle terminal 101 and body controller 103 via a bus. As a data transmission relay station, gateway 102 can perform data format conversion and encapsulation. In addition, vehicle terminal 101 can establish a connection with the external network through gateway 102.

[0083] The body controller 103 is used to control the body of the vehicle. For example, in the embodiments of this application, the body controller 103 can control the locking and unlocking, power on / off, and starting of the vehicle.

[0084] After introducing the implementation environment of the embodiments of this application, the application scenarios of the technical solutions provided by the embodiments of this application are described below. The technical solutions provided by the embodiments of this application can be applied in scenarios where a digital key function is configured and only one digital key can be connected at a time. When the vehicle is in normal mode (first unlocking / locking mode), if the vehicle is locked with one digital key and another digital key is present in the vehicle, the vehicle's unlocking / locking mode is changed from normal mode to convenient mode (second unlocking / locking mode), or the vehicle is controlled to add the digital key in the vehicle to a blacklist, so that the user can directly unlock the vehicle or unlock the vehicle with the digital key in hand, avoiding situations where the vehicle cannot be unlocked and improving the user experience.

[0085] After introducing the implementation environment and application scenarios of the embodiments of this application, the technical solutions provided by the embodiments of this application are described below. (See also...) Figure 2 Taking the vehicle-mounted terminal as the executing entity as an example, the method includes the following steps.

[0086] 201. When the vehicle is in the first unlocking / locking mode and the locking is completed by the first digital key, the vehicle terminal determines whether there is a second digital key in the vehicle.

[0087] In this first unlocking / locking mode, the vehicle can be locked or unlocked when the digital key is outside the vehicle. It cannot be locked or unlocked when the digital key is inside the vehicle. The vehicle can only be connected to one digital key at a time; that is, the vehicle has digital key functionality and only supports connection to one digital key at a time. The first unlocking / locking mode is a normal mode, which divides the starting area and the unlocking / locking area. When the digital key is in the unlocking / locking area, the vehicle can be locked or unlocked. When the digital key is in the starting area, the vehicle cannot be locked or unlocked. In this embodiment, the starting area refers to the interior area of ​​the vehicle, and the unlocking / locking area refers to the exterior area. The first digital key is the owner's mobile terminal, such as their mobile phone. Locking via the first digital key indicates that when controlling the vehicle to lock, the vehicle is connected to the first digital key, and the first digital key is located within the unlocking / locking area. The second digital key is another valid digital key for the vehicle, and it can be a mobile terminal belonging to a family member or friend of the owner. In some embodiments, the second digital key is an auxiliary digital key to the first digital key; that is, the second digital key is granted by the first digital key. Since a vehicle can only be connected to one digital key at a time, the connection between the vehicle and the first digital key has been disconnected before it is determined whether the second digital key is present in the vehicle.

[0088] 202. If a second digital key is stored in the vehicle, the vehicle terminal may change the vehicle's locking / unlocking mode from the first locking / unlocking mode to the second locking / unlocking mode, or disconnect the connection with the second digital key and add the second digital key to the blacklist.

[0089] In the first unlocking / locking mode, if a second digital key is stored in the vehicle, it will connect to the vehicle and recognize that the digital key is in the ignition area. The vehicle will then be unable to be locked or unlocked, as it has already been locked using the first digital key. If the user does not have the mechanical key, they will be unable to enter the vehicle. In the second unlocking / locking mode, the vehicle can be locked or unlocked whether the digital key is inside or outside the vehicle. This mode merges the ignition and unlocking areas into a single unit. When the vehicle is connected to the second digital key, it can also be unlocked using the vehicle's lock / unlock button. Alternatively, the connection to the second digital key can be disconnected and the second digital key added to a blacklist, allowing the vehicle to connect to other digital keys. When the user returns to the vicinity of the vehicle with the first digital key, they can then use the first digital key to unlock the vehicle.

[0090] The technical solution provided in this application determines whether a second digital key is present in the vehicle when it is in a first unlocking / locking mode and locked using a first digital key. If a second digital key is present in the vehicle, the unlocking / locking mode is changed from the first to the second unlocking / locking mode, or the connection with the second digital key is disconnected and the second digital key is added to a blacklist. This allows the vehicle to be unlocked even when another digital key is present in the vehicle, greatly improving the user experience.

[0091] It should be noted that steps 201-202 above are a simplified explanation of the vehicle unlocking / locking mode control method provided in the embodiments of this application. The following will provide a more detailed explanation of the vehicle unlocking / locking mode control method provided in the embodiments of this application, using some examples. See [link to relevant documentation]. Figure 3 Taking the vehicle-mounted terminal as the executing entity as an example, the method includes the following steps.

[0092] 301. When the vehicle is in the first unlocking / locking mode and the locking is completed by the first digital key, the vehicle terminal determines whether there is a second digital key in the vehicle.

[0093] In this first unlocking / locking mode, the vehicle can be locked or unlocked when the digital key is outside the vehicle. It cannot be locked or unlocked when the digital key is inside the vehicle. The vehicle can only be connected to one digital key at a time; that is, the vehicle has digital key functionality and only supports connection to one digital key at a time. The first unlocking / locking mode is a normal mode, which divides the vehicle into an activation area and an unlocking / locking area. When the digital key is in the unlocking / locking area, the vehicle can be locked or unlocked. When the digital key is in the activation area, the vehicle cannot be locked or unlocked. In this embodiment, the activation area refers to the interior of the vehicle, and the unlocking / locking area refers to the exterior of the vehicle. The first digital key is the owner's mobile terminal, such as their mobile phone. Locking via the first digital key means that when controlling the vehicle to lock, the vehicle is connected to the first digital key and the first digital key is located within the lock / unlock area. Alternatively, locking via the first digital key means that, with the vehicle connected to the first digital key and the first digital key located within the lock / unlock area, a lock command is sent to the vehicle via the first digital key, and the vehicle locks; or, pressing the vehicle's lock / unlock button triggers the lock command, and the vehicle locks. The second digital key is another valid digital key for the vehicle, and is a mobile terminal belonging to a family member or friend of the vehicle owner. In some embodiments, the second digital key is an auxiliary digital key to the first digital key, meaning the second digital key was granted by the first digital key. Since a vehicle can only be connected to one digital key at a time, the connection between the vehicle and the first digital key is disconnected before determining whether a second digital key is present in the vehicle.

[0094] In one possible implementation, when the vehicle is in a first unlocking / locking mode and locking is completed using the first digital key, the on-board terminal performs a digital key search within the vehicle via a broadcast signal. If a digital key is found, the on-board terminal determines that a second digital key is present in the vehicle. If no digital key is found, the on-board terminal determines that a second digital key is not present in the vehicle.

[0095] The type of broadcast signal is related to the connection method between the digital key and the vehicle. When the digital key is connected to the vehicle via Bluetooth (BT), the broadcast signal is used to search for Bluetooth devices; when the digital key is connected via Ultra-Wideband (UWB), the broadcast signal is used to search for UWB devices. Searching for the digital key inside the vehicle via the broadcast signal involves adjusting the signal strength to ensure the advertising signal's coverage is as close to the vehicle interior as possible. If a second digital key is present in the vehicle, the in-vehicle terminal will establish a connection with the second digital key.

[0096] In this implementation, a digital key search is performed inside the vehicle via a broadcast signal to determine whether a second digital key exists inside the vehicle, and the determination of the second digital key is highly efficient.

[0097] The following two examples illustrate how digital key searching is performed inside a vehicle via broadcast signals in the above implementation.

[0098] Example 1: When the vehicle is in the first unlocking / locking mode and the locking is completed by the first digital key, the vehicle terminal actively disconnects from the first digital key after a first preset time and performs a digital key search using a broadcast signal with a first signal strength, where the first signal strength is the signal strength used for digital key search within the vehicle.

[0099] The first preset duration is set by technicians according to actual conditions, such as 5 seconds, and this embodiment does not limit this setting. The first signal strength is lower than the second signal strength during normal Bluetooth key search, so that the broadcast signal is confined to the vehicle. The first signal strength is calibrated and set by technicians according to actual conditions, and this embodiment does not limit this setting.

[0100] For example, when the vehicle is in the first unlock / lock mode and connected to the first digital key, in response to receiving a successful locking command from the body controller, the on-board terminal determines that locking has been completed using the first digital key. This successful locking command is sent by the body controller after completing the locking operation and is used to indicate that locking is complete. Upon determining that locking has been completed using the first digital key, the on-board terminal starts a timer. When the timer reaches a first preset duration, the on-board terminal performs a disconnection action to actively disconnect from the first digital key. The on-board terminal then sends a broadcast signal of a first signal strength to perform a digital key search.

[0101] Example 2: When the vehicle is in the first unlocking / locking mode and the locking is completed by the first digital key, the vehicle terminal waits for the connection with the first digital key to be disconnected before searching for the digital key using a broadcast signal of the first signal strength.

[0102] The disconnection of the connection with the first digital key means that the first digital key is no longer in the vehicle.

[0103] For example, when the vehicle is in the first unlock / lock mode and connected to the first digital key, in response to receiving a successful locking command from the body controller, the on-board terminal determines that locking was completed using the first digital key. The on-board terminal determines the connection status between the vehicle and the first digital key. If the connection with the first digital key is lost, the on-board terminal sends a broadcast signal of a first signal strength to perform a digital key search.

[0104] Another implementation of step 301 described above will be described below.

[0105] In one possible implementation, when the vehicle is in a first unlocking / locking mode and locking is completed using the first digital key, the on-board terminal performs a digital key search via a broadcast signal. If the searched digital key is located inside the vehicle, the on-board terminal determines that a second digital key is present in the vehicle. If the searched digital key is located outside the vehicle, or if no digital key is searched, the on-board terminal determines that a second digital key is not present in the vehicle.

[0106] Among them, digital key search via broadcast signal refers to sending broadcast signal with normal signal strength, so that the technical solution provided in this application embodiment can also be implemented when the signal strength of the broadcast signal cannot be adjusted.

[0107] In this implementation, a digital key search is performed via broadcast signal, and the presence of a second digital key in the vehicle is determined based on the search results, resulting in a high efficiency in identifying the second digital key.

[0108] In addition, based on the above-described embodiments, the following steps can also be performed.

[0109] In some embodiments, if a digital key is found and the number of found digital keys is 1, the vehicle terminal determines whether the digital key is a first digital key. If the digital key is a first digital key, the vehicle terminal determines that a second digital key does not exist in the vehicle. If the digital key is not a first digital key, the vehicle terminal determines that a second digital key exists in the vehicle. If a digital key is found and the number of found digital keys is greater than 1, the vehicle terminal determines whether the found digital key is located inside or outside the vehicle. If a digital key is located inside the vehicle, the vehicle terminal determines that a second digital key exists in the vehicle. If no digital key is located inside the vehicle, the vehicle terminal determines that a second digital key does not exist in the vehicle.

[0110] The following two examples illustrate the method of searching for digital keys via broadcast signals in the above implementation.

[0111] Example 1: When the vehicle is in the first unlocking / locking mode and the locking is completed by the first digital key, the vehicle terminal actively disconnects from the first digital key after a first preset time and performs a digital key search using a broadcast signal with a second signal strength. The second signal strength is the signal strength used for digital key search within the vehicle.

[0112] The second signal strength is the signal strength during normal Bluetooth key search, which enables Bluetooth key search both inside and outside the vehicle. This second signal strength is calibrated and set by technicians according to actual conditions, and this application embodiment does not limit it.

[0113] For example, when the vehicle is in the first unlock / lock mode and connected to the first digital key, in response to receiving a successful locking command from the body controller, the on-board terminal determines that locking has been completed using the first digital key. This successful locking command is sent by the body controller after completing the locking operation and is used to indicate that locking is complete. Upon determining that locking has been completed using the first digital key, the on-board terminal starts a timer. When the timer reaches a first preset duration, the on-board terminal performs a disconnection action to actively disconnect from the first digital key. The on-board terminal then sends a broadcast signal of a second signal strength to perform a digital key search.

[0114] Example 2: When the vehicle is in the first unlocking / locking mode and the locking is completed by the first digital key, the vehicle terminal waits for the connection with the first digital key to be disconnected before searching for the digital key using a broadcast signal of the second signal strength.

[0115] For example, when the vehicle is in the first unlock / lock mode and connected to the first digital key, in response to receiving a successful locking command from the body controller, the on-board terminal determines that locking was completed using the first digital key. The on-board terminal determines the connection status between the vehicle and the first digital key. If the connection with the first digital key is lost, the on-board terminal sends a broadcast signal of a second signal strength to perform a digital key search.

[0116] The following describes the method for determining whether the digital key is inside or outside the vehicle in the above embodiments.

[0117] In one possible implementation, when a digital key is detected, the vehicle terminal determines the connection signal strength associated with that digital key. If the connection signal strength is greater than or equal to a connection signal strength threshold, the vehicle terminal determines that the digital key is located outside the vehicle; if the connection signal strength is less than the connection signal strength threshold, the vehicle terminal determines that the digital key is located inside the vehicle.

[0118] The connection signal strength threshold is calibrated and configured by technicians according to the actual situation, and this application embodiment does not limit this.

[0119] 302. If a second digital key is stored in the vehicle, the vehicle terminal shall adjust the vehicle’s locking / unlocking mode from the first locking / unlocking mode to the second locking / unlocking mode.

[0120] In the first unlocking / locking mode, if a second digital key is stored in the vehicle, it will connect to the vehicle and be recognized as being in the ignition area. The vehicle will then be unable to be locked or unlocked, as it has already been locked using the first digital key. If the user does not have the mechanical key, they will be unable to enter the vehicle. In the second unlocking / locking mode, the vehicle can be locked or unlocked whether the digital key is inside or outside the vehicle. This mode merges the ignition and unlocking areas into a single unit, allowing the vehicle to be unlocked using the vehicle's lock / unlock button when connected to the second digital key.

[0121] In some embodiments, when a second digital key is stored in the vehicle, in addition to adjusting the locking / unlocking mode in step 302 above, at least one of the following steps can also be performed.

[0122] In one possible implementation, the on-board terminal controls the vehicle to sound its horn and flash its lights in a preset manner.

[0123] The preset mode is set by technicians according to the actual situation, such as setting it to hazard lights, etc., and this application embodiment does not limit this. Controlling the vehicle to honk the horn and flash the lights in the preset mode is to remind the driver and passengers that a second digital key has been left in the vehicle. When the driver and passengers notice the horn and flashing lights, they can return to the vehicle to retrieve the second digital key.

[0124] In this implementation, if a second digital key is stored in the vehicle, the user is alerted by honking the horn and flashing the lights, which can promptly remind the user even before the user has left the vehicle.

[0125] For example, the onboard terminal sends a target control command to the body controller, which instructs the vehicle to sound its horn and flash its lights in a preset manner. Upon receiving the target control command, the body controller then controls the vehicle to sound its horn and flash its lights in the preset manner.

[0126] In one possible implementation, the vehicle terminal sends a notification message to the first digital key, indicating that the second digital key has been left in the vehicle.

[0127] In this embodiment, the first digital key is a mobile terminal. Sending a prompt message to the first digital key can promptly remind the user that a second digital key has been left in the vehicle. The content and format of the prompt message are set by technicians according to the actual situation, and this application embodiment does not limit this.

[0128] For example, the vehicle terminal sends the prompt message to the gateway, which then forwards the prompt message to the first digital key.

[0129] 303. In response to the vehicle's lock / unlock button being pressed, the vehicle terminal unlocks the vehicle.

[0130] The lock / unlock button is usually located on the vehicle door handle, or on the B-pillar and C-pillar of the vehicle. This application does not limit this.

[0131] In one possible implementation, in response to the vehicle's lock / unlock button being pressed, the on-board terminal sends an unlock command to the body controller, causing the body controller to unlock the vehicle based on the unlock command.

[0132] In this implementation, since the vehicle's locking / unlocking mode is switched to the second locking / unlocking mode, the vehicle can still be unlocked by pressing the lock / unlock button even when the vehicle is connected to the second digital key and the second digital key is inside the vehicle (starting area). This allows the vehicle to be unlocked even when another digital key is inside the vehicle, greatly improving the user experience.

[0133] The technical solution provided in this application determines whether a second digital key is present in the vehicle when it is in a first unlocking / locking mode and locked using a first digital key. If a second digital key is present in the vehicle, the unlocking / locking mode is changed from the first to the second unlocking / locking mode. This allows the vehicle to be unlocked even when another digital key is present, significantly improving the user experience.

[0134] The following describes another implementation of the vehicle unlocking mode control method provided in the embodiments of this application. See [link to relevant documentation]. Figure 4 Taking the vehicle-mounted terminal as the executing entity as an example, the method includes the following steps.

[0135] 401. When the vehicle is in the first unlocking / locking mode and the locking is completed by the first digital key, the vehicle terminal determines whether a second digital key exists in the vehicle.

[0136] Step 401 and step 301 belong to the same inventive concept, and the implementation process is described in the relevant description in step 301 above, and will not be repeated here.

[0137] 402. If a second digital key is stored in the vehicle, the vehicle terminal will change the vehicle's locking / unlocking mode from the first locking / unlocking mode to the second locking / unlocking mode.

[0138] Steps 402 and 302 belong to the same inventive concept, and the implementation process is described in the relevant description in step 302 above, which will not be repeated here.

[0139] 403. After the second preset time period, the vehicle terminal disconnects from the second digital key and adds the second digital key to the blacklist.

[0140] Disconnecting from the second digital key frees up the only connection channel between the vehicle and the digital key, allowing the vehicle to establish connections with other digital keys. Adding the second digital key to the blacklist means configuring it to a disconnectable state, preventing it from reconnecting to the vehicle after disconnection. In the second unlocking / locking mode, while the vehicle and the second digital key remain connected, the vehicle can be unlocked using the unlock / lock button on the vehicle. After disconnecting from the second digital key, the vehicle cannot be unlocked without another digital key or physical key, ensuring vehicle security. The second preset duration is set by technicians according to actual conditions, such as 1 hour; this embodiment does not limit this setting.

[0141] In one possible implementation, after a second preset time period, the vehicle terminal disconnects from the second digital key and adds the key identifier of the second digital key to a blacklist to prevent the second digital key from re-establishing a connection with the vehicle.

[0142] It should be noted that adding the second digital key to the blacklist is temporary. Under certain conditions, the permission for the second digital key to establish a connection with the vehicle can be restored.

[0143] In addition to step 403 described above, the following steps can also be performed after step 402.

[0144] In one possible implementation, the vehicle terminal determines whether a preset type of occupant exists in the vehicle; this preset type of occupant is someone older than a certain age threshold. If no preset type of occupant is present in the vehicle, the vehicle terminal disconnects from the second digital key and adds the second digital key to a blacklist.

[0145] The determination of whether a preset type of occupant exists is for the purpose of identifying whether a child is present in the vehicle. This age threshold is set by technicians based on actual circumstances, and this application embodiment does not limit it.

[0146] In this implementation, when the unlocking / locking mode is adjusted to the second unlocking / locking mode, it is determined whether there are preset type of drivers or passengers in the vehicle. If there are no preset type of drivers or passengers, the connection with the second digital key is disconnected and the second digital key is added to the blacklist to ensure vehicle security.

[0147] For example, the in-vehicle terminal acquires an image of the vehicle's interior. The in-vehicle terminal performs object detection on this image to determine if any occupants are present. If occupants are present, the in-vehicle terminal determines their age. If the occupants' age exceeds a threshold, or if no occupants are present in the image, the in-vehicle terminal disconnects from the second digital key and adds it to a blacklist.

[0148] For example, the in-vehicle terminal acquires images of the vehicle interior via an in-vehicle image acquisition component. The in-vehicle terminal inputs these images into a target detection model, which performs target detection to determine if any occupants are present. If occupants are present, the in-vehicle terminal uses an age recognition model to determine their age. If the occupant's age exceeds a threshold, or if no occupants are present in the image, the in-vehicle terminal disconnects from the second digital key and adds it to a blacklist.

[0149] The target detection model is used to detect people, and the age recognition model is a multi-classification model used to classify detected drivers and passengers into corresponding age groups. Both the target detection model and the age recognition model can adopt models from related technologies, and this application embodiment does not limit them.

[0150] Based on the above implementation, optionally, if there are drivers and passengers of a preset type in the vehicle, the vehicle terminal maintains the connection with the second digital key.

[0151] Specifically, when a pre-defined type of passenger is present in the vehicle, the connection between the vehicle and the second digital key is maintained, allowing the vehicle to be unlocked via the lock / unlock button, ensuring that the pre-defined type of passenger is in a vulnerable state. For example, if the pre-defined type of passenger is an infant, maintaining the connection between the vehicle and the second digital key allows for timely assistance if the infant needs help (e.g., if the vehicle is left outdoors in hot weather, causing the interior temperature to rise rapidly).

[0152] 404. The vehicle terminal searches for the digital key outside the vehicle via broadcast signals.

[0153] Among them, searching for digital keys outside the vehicle via broadcast signals refers to adjusting the signal strength of the broadcast signal to maximize the coverage of the advertising signal.

[0154] In one possible implementation, the vehicle terminal performs a digital key search using a broadcast signal with a second signal strength, which is the signal strength used when performing a digital key search outside the vehicle.

[0155] 405. In response to re-establishing a connection with the first digital key and completing unlocking via the first digital key, the vehicle terminal removes the second digital key from the blacklist.

[0156] Re-establishing a connection with the first digital key and unlocking the vehicle using it means that the occupant carrying the first digital key has unlocked the vehicle and can retrieve items or drive the vehicle as needed. Removing the second digital key from the blacklist restores the permission for the second digital key to establish a connection with the vehicle.

[0157] The technical solution provided in this application determines whether a second digital key is present in the vehicle when it is in a first unlocking / locking mode and locked using a first digital key. If a second digital key is present in the vehicle, the unlocking / locking mode is changed from the first to the second unlocking / locking mode, and after a second preset time, the connection with the second digital key is disconnected and the second digital key is added to a blacklist. This allows the vehicle to be unlocked even when another digital key is present in the vehicle, greatly improving the user experience.

[0158] The following describes another implementation of the vehicle unlocking mode control method provided in the embodiments of this application. See [link to relevant documentation]. Figure 5 Taking the vehicle-mounted terminal as the executing entity as an example, the method includes the following steps.

[0159] 501. When the vehicle is in the first unlocking / locking mode and the locking is completed by the first digital key, the vehicle terminal determines whether a second digital key exists in the vehicle.

[0160] Steps 501 and 301 belong to the same inventive concept, and the implementation process is described in the relevant description in step 301 above, which will not be repeated here.

[0161] 502. If a second digital key is stored in the vehicle, the vehicle terminal will adjust the vehicle's locking / unlocking mode from the first locking / unlocking mode to the second locking / unlocking mode.

[0162] Steps 502 and 302 belong to the same inventive concept, and the implementation process is described in the relevant description in step 302 above, which will not be repeated here.

[0163] 503. In response to the vehicle's lock / unlock button being pressed, the vehicle terminal actively disconnects from the second digital key and searches for the digital key outside the vehicle via a broadcast signal.

[0164] In one possible implementation, in response to the vehicle's lock / unlock button being pressed, the on-board terminal disconnects from the second digital key and performs a digital key search using a broadcast signal of second signal strength.

[0165] Optionally, after step 503, the vehicle terminal may perform steps 504 or 505 as appropriate.

[0166] 504. If the first digital key is found, the vehicle terminal unlocks the vehicle.

[0167] If the first digital key is found, it means that the vehicle's occupants have returned to the vehicle and can then unlock it, which provides a high level of security.

[0168] In one possible implementation, upon detecting the first digital key, the vehicle terminal attempts to establish a connection with it. Once a connection is established, the vehicle terminal sends an unlock command to the body control unit, causing the body control unit to unlock the vehicle based on the unlock command.

[0169] Through the steps 501-504 above, the identity of the person unlocking the vehicle can be verified using the first digital key before unlocking the vehicle, thereby improving vehicle security.

[0170] 505. If the first digital key is not found, the vehicle terminal determines whether to unlock the vehicle based on the object image of the target object whose unlock / lock button has been pressed and historical in-vehicle images.

[0171] Among them, the historical in-vehicle images are the in-vehicle images collected during the last trip of the vehicle, that is, the in-vehicle images collected before the vehicle was last turned off / powered down. The historical in-vehicle images can reflect the situation of the drivers and passengers in the vehicle during the last trip.

[0172] In one possible implementation, if the first digital key is not found, the vehicle terminal acquires an image of the target object whose unlock / lock button has been pressed. Based on the object image and historical in-vehicle images, the vehicle terminal determines whether the target object is the target occupant of the vehicle, specifically the occupant who was in the vehicle during the previous trip. If the target object is the target occupant, the vehicle terminal unlocks the vehicle. If the target object is not the target occupant, the vehicle terminal keeps the vehicle locked.

[0173] In this implementation, if the first digital key is not found, the system uses the captured object image and historical in-vehicle images to determine if the target object is the target occupant. If the target object is the target occupant, the security of unlocking the vehicle is high, so unlocking is performed directly. If the target object is not the target occupant, the security of unlocking the vehicle is low, so the vehicle remains locked.

[0174] For example, if the first digital key is not found, the vehicle terminal acquires an image of the target object using the external image acquisition component on the side of the lock / unlock button. The vehicle terminal performs facial segmentation on the object image to obtain the facial region of the target object. The vehicle terminal then matches this facial region against historical interior images to determine if a matching image region exists in those historical interior images. If a matching image region exists in the historical interior images, the vehicle terminal determines that the target object is the target occupant of the vehicle. If no matching image region exists in the historical interior images, the vehicle terminal determines that the target object is not the target occupant of the vehicle. If the target object is the target occupant, the vehicle terminal sends an unlock command to the body controller, causing the body controller to unlock the vehicle based on the unlock command. If the target object is not the target occupant, the vehicle terminal keeps the vehicle locked.

[0175] The process of matching facial regions in the historical images is equivalent to a template matching process. Of course, in addition to the template matching method mentioned above, other image recognition and processing technologies can also be used to determine whether the target object in the object image is the target driver or passenger in the historical in-vehicle image. This application embodiment does not limit this.

[0176] The following describes another implementation of the vehicle unlocking mode control method provided in the embodiments of this application. See [link to relevant documentation]. Figure 6 Taking the vehicle-mounted terminal as the executing entity as an example, the method includes the following steps.

[0177] 601. When the vehicle is in the first unlocking / locking mode and the locking is completed by the first digital key, the vehicle terminal determines whether a second digital key exists in the vehicle.

[0178] Step 601 and step 301 belong to the same inventive concept, and the implementation process is described in the relevant description in step 301 above, and will not be repeated here.

[0179] 602. If a second digital key is stored in the vehicle, the vehicle terminal shall adjust the vehicle's locking / unlocking mode from the first locking / unlocking mode to the second locking / unlocking mode.

[0180] Steps 602 and 302 belong to the same inventive concept, and the implementation process is described in the relevant description in step 302 above, which will not be repeated here.

[0181] 603. In the case where the second digital key is an auxiliary digital key to the first digital key, in response to the failure of the second digital key, the vehicle terminal disconnects from the second digital key and searches for digital keys via a broadcast signal, and the first digital key can configure the second digital key to be disabled.

[0182] The second digital key is an auxiliary digital key to the first digital key, meaning it was issued by the first digital key and the first digital key has control over it. The failure of the second digital key means it can no longer be used to control the vehicle's locking, unlocking, and starting; it can no longer establish a connection with the vehicle. Disconnecting from the second digital key frees up the only connection channel between the vehicle and the digital keys, allowing the vehicle to establish connections with other digital keys.

[0183] In one possible implementation, if the second digital key is an auxiliary digital key to the first digital key, in response to the invalidation of the token transmitted by the second digital key, the vehicle terminal determines that the second digital key is invalid. The vehicle terminal disconnects from the second digital key and performs a digital key search using a broadcast signal of a second signal strength.

[0184] In some embodiments, a target application for controlling the vehicle runs on the first digital key, and in response to a permission removal operation of the second digital key in the target application, the second digital key is configured to be disabled.

[0185] The technical solution provided in this application determines whether a second digital key is present in the vehicle when it is in a first unlocking / locking mode and locked using a first digital key. If a second digital key is present in the vehicle, the unlocking / locking mode is changed from the first unlocking / locking mode to the second unlocking / locking mode. If the second digital key fails, the connection with the second digital key is disconnected, allowing the first digital key to establish a connection with the vehicle. This enables unlocking the vehicle even when another digital key is present, significantly improving the user experience.

[0186] The following describes another implementation of the vehicle unlocking mode control method provided in the embodiments of this application. See [link to relevant documentation]. Figure 7 Taking the vehicle-mounted terminal as the executing entity as an example, the method includes the following steps.

[0187] 701. When the vehicle is in the first unlocking / locking mode and the locking is completed by the first digital key, the vehicle terminal determines whether a second digital key exists in the vehicle.

[0188] Steps 701 and 301 belong to the same inventive concept, and the implementation process is described in the relevant description in step 301 above, and will not be repeated here.

[0189] 702. If a second digital key is stored in the vehicle, the vehicle terminal disconnects from the second digital key and adds the second digital key to the blacklist.

[0190] Specifically, disconnecting the connection with the second digital key and adding the second digital key to the blacklist allows the vehicle to connect with other digital keys. This way, even in the first unlocking mode, when the user returns to the vicinity of the vehicle with the first digital key, the vehicle can still establish a connection with the first digital key and thus unlock the vehicle using the first digital key.

[0191] 703. In response to re-establishing a connection with the first digital key and completing unlocking via the first digital key, the vehicle terminal removes the second digital key from the blacklist.

[0192] The technical solution provided in this application determines whether a second digital key exists inside the vehicle when the vehicle is in a first locking / unlocking mode and locking is completed using a first digital key. If a second digital key is present in the vehicle, the connection to the second digital key is disconnected and the second digital key is added to a blacklist. This allows the vehicle to be unlocked even when another digital key is present in the vehicle, greatly improving the user experience.

[0193] Figure 8This is a schematic diagram of the structure of a vehicle locking / unlocking mode control device provided in an embodiment of this application. See also... Figure 8 The device includes a digital key identification module 801 and a control module 802.

[0194] The digital key determination module 801 is used to determine whether a second digital key exists inside the vehicle when the vehicle is in a first unlocking / locking mode and has been locked using a first digital key. In this first unlocking / locking mode, the vehicle can be locked or unlocked when the digital key is outside the vehicle. The vehicle cannot be locked or unlocked when the digital key is inside the vehicle. The vehicle can be connected to only one digital key at a time.

[0195] The control module 802 is used to, when the second digital key is stored in the vehicle, change the vehicle's unlocking mode from the first unlocking mode to the second unlocking mode, or disconnect the connection with the second digital key and add the second digital key to the blacklist. In the second unlocking mode, the vehicle can be unlocked or locked whether the digital key is inside or outside the vehicle.

[0196] In one possible implementation, the digital key determination module 801 is used to perform a digital key search within the vehicle via a broadcast signal when the vehicle is in a first unlocking / locking mode and has been locked using the first digital key. If a digital key is found, it is determined that a second digital key is present in the vehicle. If no digital key is found, it is determined that a second digital key is not present in the vehicle. Alternatively, when the vehicle is in the first unlocking / locking mode and has been locked using the first digital key, a digital key search is performed via a broadcast signal. If the found digital key is located inside the vehicle, it is determined that a second digital key is present in the vehicle. If the found digital key is located outside the vehicle, or if no digital key is found, it is determined that a second digital key is not present in the vehicle.

[0197] In one possible implementation, the digital key determination module 801 is configured to, when the vehicle is in a first unlocking / locking mode and has been locked using the first digital key, actively disconnect from the first digital key after a first preset time period and perform a digital key search using a broadcast signal of a first signal strength, wherein the first signal strength is the signal strength required for digital key search within the vehicle. Alternatively, when the vehicle is in the first unlocking / locking mode and has been locked using the first digital key, the module waits for the connection with the first digital key to be disconnected before performing a digital key search using the broadcast signal of the first signal strength.

[0198] In one possible implementation, the control module 802 is further configured to disconnect from the second digital key and add the second digital key to a blacklist after a second preset time period. Digital key search is then performed outside the vehicle via a broadcast signal.

[0199] In one possible implementation, the control module 802 is further configured to remove the second digital key from the blacklist in response to re-establishing a connection with the first digital key and completing unlocking via the first digital key.

[0200] In one possible implementation, the device further includes:

[0201] A personnel identification model is used to determine whether there are pre-defined types of drivers and passengers in the vehicle. These pre-defined types of drivers and passengers are those whose age is greater than a certain age threshold.

[0202] The control module 802 is also used to disconnect the connection with the second digital key and add the second digital key to the blacklist when there are no drivers or passengers of a preset type in the vehicle.

[0203] In one possible implementation, the control module 802 is also configured to maintain a connection with the second digital key in the event that a driver or passenger of a preset type is present in the vehicle.

[0204] In one possible implementation, if a second digital key is stored in the vehicle, the control module 802 is also configured to perform at least one of the following:

[0205] Control the vehicle to sound its horn and flash its lights in a preset manner.

[0206] A notification message is sent to the first digital key to indicate that the second digital key was left inside the vehicle.

[0207] In one possible implementation, the control module 802 is further configured to unlock the vehicle in response to the vehicle's lock / unlock button being pressed. Alternatively, in response to the vehicle's lock / unlock button being pressed, it may actively disconnect from the second digital key and perform a digital key search outside the vehicle via a broadcast signal. If the first digital key is found, the vehicle may be unlocked.

[0208] In one possible implementation, the device further includes:

[0209] The image acquisition module is used to acquire an image of the target object whose unlock / lock button has been pressed, in the absence of the first digital key being found.

[0210] The object determination module is used to determine whether the target object is the target driver or passenger of the vehicle based on the object image and historical in-vehicle images. The historical in-vehicle images are in-vehicle images collected during the last driving of the vehicle, and the target driver or passenger is the driver or passenger who was in the vehicle during the last driving.

[0211] The control module 802 is also used to unlock the vehicle when the target object is the target driver or passenger, and to keep the vehicle locked when the target object is not the target driver or passenger.

[0212] In one possible implementation, the control module 802 is further configured to, in the case that the second digital key is an auxiliary digital key to the first digital key, disconnect the connection with the second digital key and perform a digital key search via a broadcast signal in response to the failure of the second digital key, wherein the first digital key is configured to disable the second digital key.

[0213] It should be noted that the vehicle unlocking / locking mode control device provided in the above embodiments is only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the vehicle can be divided into different functional modules to complete all or part of the functions described above. Furthermore, the vehicle unlocking / locking mode control device and the vehicle unlocking / locking mode control method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process is detailed in the method embodiments, which will not be repeated here.

[0214] The technical solution provided in this application determines whether a second digital key is present in the vehicle when it is in a first unlocking / locking mode and locked using a first digital key. If a second digital key is present in the vehicle, the unlocking / locking mode is changed from the first to the second unlocking / locking mode, or the connection with the second digital key is disconnected and the second digital key is added to a blacklist. This allows the vehicle to be unlocked even when another digital key is present in the vehicle, greatly improving the user experience.

[0215] This application also provides a vehicle. Figure 9 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application.

[0216] Typically, vehicle 900 includes one or more processors 901 and one or more memories 902.

[0217] Processor 901 may include one or more processing cores, such as a quad-core processor, a nine-core processor, etc. Processor 901 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 901 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 901 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 901 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0218] The memory 902 may include one or more computer-readable storage media, which may be non-transitory. The memory 902 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 902 are used to store at least one computer program, which is executed by the processor 901 to implement the vehicle unlocking / locking mode control method provided in the method embodiments of this application.

[0219] Those skilled in the art will understand that Figure 9 The structure shown does not constitute a limitation on vehicle 900 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0220] In addition, the device provided in the embodiments of this application may specifically be a chip, component or module. The chip may include a connected processor and a memory. The memory is used to store instructions. When the processor calls and executes the instructions, the chip can execute a method for controlling the unlocking and locking modes of a vehicle provided in the above embodiments.

[0221] This embodiment also provides a computer-readable storage medium storing computer program code. When the computer program code is run on a computer, it causes the computer to execute the above-described related method steps to implement a method for controlling the unlocking and locking modes of a vehicle provided in the above embodiment.

[0222] This embodiment also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned related steps to implement a method for controlling the unlocking and locking modes of a vehicle provided in the above embodiment.

[0223] In this embodiment, the device, computer-readable storage medium, computer program product, or chip are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0224] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0225] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0226] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A control method for the locking / unlocking mode of a vehicle, characterized in that, The method includes: When the vehicle is in the first unlocking / locking mode and is locked using the first digital key, it is determined whether a second digital key is inside the vehicle. In the first unlocking / locking mode, the vehicle can be unlocked / locked when the digital key is outside the vehicle; the vehicle cannot be unlocked / locked when the digital key is inside the vehicle; the vehicle can establish a connection with one digital key at the same time. When the second digital key is stored in the vehicle, the vehicle's unlocking mode is changed from the first unlocking mode to the second unlocking mode, or the connection with the second digital key is disconnected and the second digital key is added to the blacklist. In the second unlocking mode, the vehicle can be unlocked or locked whether the digital key is inside or outside the vehicle. And, after disconnecting the connection with the second digital key and adding the second digital key to the blacklist, the method further includes: In response to re-establishing a connection with the first digital key and completing unlocking via the first digital key, the second digital key is removed from the blacklist.

2. The method according to claim 1, characterized in that, When the vehicle is in a first unlocking / locking mode and locking is completed using a first digital key, determining whether a second digital key is present in the vehicle includes: When the vehicle is in the first unlocking / locking mode and the locking is completed using the first digital key, a digital key search is performed inside the vehicle via a broadcast signal; if a digital key is found, it is determined that a second digital key exists inside the vehicle; if no digital key is found, it is determined that a second digital key does not exist inside the vehicle. Alternatively, when the vehicle is in the first unlocking / locking mode and locking is completed using the first digital key, a digital key search is performed via broadcast signal; if the searched digital key is located inside the vehicle, it is determined that a second digital key is present in the vehicle; if the searched digital key is located outside the vehicle, or if no digital key is searched, it is determined that a second digital key is not present in the vehicle.

3. The method according to claim 2, characterized in that, When the vehicle is in the first unlocking / locking mode and locking is completed using the first digital key, the method of searching for the digital key inside the vehicle via a broadcast signal includes: When the vehicle is in the first unlocking / locking mode and the locking is completed by the first digital key, the connection with the first digital key is actively disconnected after a first preset time and a digital key search is performed using a broadcast signal of the first signal strength, where the first signal strength is the signal strength for digital key search within the vehicle. Alternatively, when the vehicle is in the first unlocking / locking mode and locking is completed via the first digital key, after the connection with the first digital key is disconnected, a digital key search is performed using a broadcast signal of the first signal strength.

4. The method according to claim 1, characterized in that, When a second digital key is stored in the vehicle, after adjusting the vehicle's locking / unlocking mode from the first locking / unlocking mode to the second locking / unlocking mode, the method further includes: After a second preset time period, disconnect the connection with the second digital key and add the second digital key to the blacklist; Digital key search can be performed outside the vehicle via broadcast signal.

5. The method according to claim 1 or 4, characterized in that, Before disconnecting the connection with the second digital key and adding the second digital key to the blacklist, the method further includes: Determine whether there are drivers or passengers of a preset type in the vehicle, wherein the preset type of drivers or passengers are those whose age is greater than an age threshold; Disconnecting from the second digital key and adding the second digital key to the blacklist includes: If there are no passengers of the preset type in the vehicle, disconnect the connection with the second digital key and add the second digital key to the blacklist.

6. The method according to claim 5, characterized in that, The method further includes: When there are passengers of a preset type in the vehicle, the connection with the second digital key is maintained.

7. The method according to claim 1, characterized in that, When a second digital key is stored in the vehicle, the method further includes at least one of the following: Control the vehicle to sound its horn and flash its lights in a preset manner; A notification message is sent to the first digital key, indicating that the second digital key was left inside the vehicle.

8. The method according to claim 1, characterized in that After adjusting the vehicle's locking / unlocking mode from the first locking / unlocking mode to the second locking / unlocking mode, the method further includes: The vehicle is unlocked in response to the locking / unlocking button being pressed. Alternatively, in response to the vehicle's lock / unlock button being pressed, the connection with the second digital key is actively disconnected, and a digital key search is performed outside the vehicle via broadcast signal; if the first digital key is found, the vehicle is unlocked.

9. The method according to claim 8, characterized in that, The method further includes: If the first digital key is not found, obtain an object image of the target object whose unlock / lock button has been pressed; Based on the object image and the historical in-vehicle images, it is determined whether the target object is the target driver or passenger of the vehicle. The historical in-vehicle images are in-vehicle images collected during the vehicle's last driving process, and the target driver or passenger is the driver or passenger in the vehicle during the last driving process. If the target object is the target driver or passenger, the vehicle is unlocked; If the target object is not the target driver or passenger, the vehicle remains locked.

10. The method according to claim 1, characterized in that After adjusting the vehicle's locking / unlocking mode from the first locking / unlocking mode to the second locking / unlocking mode, the method further includes: In the case where the second digital key is an auxiliary digital key to the first digital key, in response to the failure of the second digital key, the connection with the second digital key is disconnected and a digital key search is performed via broadcast signal, and the first digital key can configure the second digital key to be disabled.

11. A control device for the locking / unlocking mode of a vehicle, characterized in that, The device includes: The digital key determination module is used to determine whether a second digital key exists inside the vehicle when the vehicle is in a first unlocking / locking mode and the vehicle is locked using a first digital key. In the first unlocking / locking mode, the vehicle can be unlocked / locked when the digital key is outside the vehicle, and cannot be unlocked / locked when the digital key is inside the vehicle. The vehicle can establish a connection with one digital key at a time. The control module is used to, when the second digital key is stored in the vehicle, adjust the vehicle's unlocking mode from the first unlocking mode to the second unlocking mode, or disconnect the connection with the second digital key and add the second digital key to the blacklist. In the second unlocking mode, the vehicle can be unlocked or locked whether the digital key is inside or outside the vehicle. The control module is further configured to remove the second digital key from the blacklist in response to re-establishing a connection with the first digital key and completing unlocking via the first digital key.

12. A vehicle, characterized in that, The vehicles include: Memory, used to store executable program code; A processor is configured to call and run the executable program code from the memory, causing the vehicle to perform the control method for the vehicle's unlocking and locking modes as described in any one of claims 1 to 10.

Citation Information

Patent Citations

  • Vehicle control method and system and vehicle

    CN104442706A

  • Vehicle and control method thereof

    US20240336228A1