CN115761938A - Method, device, equipment, storage medium and program product for unlocking vehicle - Google Patents

Method, device, equipment, storage medium and program product for unlocking vehicle Download PDF

Info

Publication number
CN115761938A
CN115761938A CN202111032107.0A CN202111032107A CN115761938A CN 115761938 A CN115761938 A CN 115761938A CN 202111032107 A CN202111032107 A CN 202111032107A CN 115761938 A CN115761938 A CN 115761938A
Authority
CN
China
Prior art keywords
unlocking
vehicle
mobile terminal
distance
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111032107.0A
Other languages
Chinese (zh)
Inventor
赵晓娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202111032107.0A priority Critical patent/CN115761938A/en
Publication of CN115761938A publication Critical patent/CN115761938A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

The application provides a method, a device, equipment, a storage medium and a program product for unlocking a vehicle, wherein a mobile terminal acquires terminal information and the relative distance between the mobile terminal and the vehicle; the terminal information is used for determining any one or more of an unlocking distance, an unlocking requirement and a vehicle door to be unlocked; the mobile terminal determines an unlocking requirement according to a comparison result of the relative distance and the unlocking distance; the mobile terminal sends an unlocking demand to the vehicle, so that the vehicle controls the door to be unlocked or locked according to the unlocking demand. According to the scheme, the unlocking requirements, the unlocking distance and the vehicle door to be unlocked can be dynamically adjusted according to the terminal information, and the unlocking method is not limited to unlocking all the vehicle doors when the user enters the specific unlocking distance, so that the requirements of different users in different scenes are met, and the application experience of the user is improved.

Description

Method, device, equipment, storage medium and program product for unlocking vehicle
Technical Field
The present application relates to the field of vehicle unlocking technologies, and in particular, to a method, an apparatus, a device, a storage medium, and a program product for unlocking a vehicle.
Background
Some existing mobile terminals have a function of automatically unlocking a door when approaching a vehicle. And when the distance between the user carrying the mobile terminal with the unlocking authority and the vehicle is less than or equal to the preset unlocking distance, the vehicle responds to the approach of the mobile terminal and unlocks all doors of the vehicle. The problem with this unlocking scheme is that it cannot meet the requirements of different users in different scenarios.
Disclosure of Invention
The application provides a method, a device, equipment, a storage medium and a program product for unlocking a vehicle, so as to provide a more flexible vehicle unlocking scheme.
In order to achieve the above object, the present application provides the following technical solutions:
a first aspect of the present application provides a method of unlocking a vehicle, comprising:
the mobile terminal acquires terminal information and the relative distance between the mobile terminal and the vehicle; the terminal information is used for determining any one or more of an unlocking distance, an unlocking requirement and a vehicle door to be unlocked;
the mobile terminal determines an unlocking requirement according to a comparison result of the relative distance and the unlocking distance;
the mobile terminal sends an unlocking demand to the vehicle, so that the vehicle controls the unlocking or locking of the door to be unlocked according to the unlocking demand.
In some optional embodiments, the terminal information and the relative distance acquired by the mobile terminal may be collectively referred to as terminal environment information of the mobile terminal.
In some alternative embodiments, the door to be unlocked may also be understood as a door located in the unlocked position, and thus determining the door to be unlocked may also be considered determining the unlocked position.
The first aspect of the present application further provides a method for unlocking a vehicle, including:
the vehicle receives the terminal information sent by the mobile terminal and the relative distance between the mobile terminal and the vehicle; the terminal information and the relative distance are both collected by the mobile terminal; the terminal information is used for determining any one or more of an unlocking distance, an unlocking requirement and a vehicle door to be unlocked;
the vehicle determines an unlocking demand according to a comparison result of the relative distance and the unlocking distance;
and controlling the unlocking or locking of the door to be unlocked by the vehicle according to the unlocking requirement.
In some optional embodiments, the mobile terminal may determine an unlocking requirement and a door to be unlocked according to the terminal information and a comparison result of the relative distance and the unlocking distance, and then send the unlocking requirement and the door to be unlocked to the vehicle, so that the vehicle controls the door to be unlocked or locked according to the unlocking requirement.
In some optional embodiments, the mobile terminal may send the terminal information and the relative distance to the vehicle, and the vehicle determines an unlocking requirement and a door to be unlocked according to the terminal information and a comparison result between the relative distance and the unlocking distance, and then controls the door to be unlocked or locked according to the unlocking requirement.
In some optional embodiments, the mobile terminal or the vehicle may determine the unlocking distance and/or the door to be unlocked according to the terminal information, and determine the unlocking requirement according to the comparison result and the terminal information.
In some alternative embodiments, the terminal information may include the geographic location of the mobile terminal and the current time.
In some alternative embodiments, the mobile terminal or vehicle may determine the unlock distance based on the geographic location and the current time.
The advantage of determining the unlocking distance according to the geographic position and the current time is that the unlocking distance is flexibly adjusted according to the use scene during each unlocking, so that the requirements of users under different scenes are met.
In some optional embodiments, the mobile terminal or the vehicle may determine the unlocking distance according to a preset correspondence between the geographic location, the current time, and the unlocking distance.
The advantage of determining the unlocking distance according to the preset corresponding relationship is that the mobile terminal or the vehicle can quickly find the unlocking distance corresponding to the geographic position and the current time based on the corresponding relationship, and the calculation resources consumed by the mobile terminal or the vehicle for determining the unlocking distance are reduced.
In some optional embodiments, when the geographic position is in the preset unsafe zone, or the current time is in the preset unsafe period, the unlocking distance is the first unlocking distance;
when the geographic position is located in a preset safe area and the current time is located in a preset safe time period, the unlocking distance is a second unlocking distance; the first unlocking distance is smaller than the second unlocking distance.
The specific values of the first unlocking distance and the second unlocking distance are not limited in the embodiment of the application. For example, the first unlocking distance may be 2 meters, and the second unlocking distance may be 5 meters.
The advantage of the above-described embodiment is that a shorter unlocking distance is applied in the unsafe zone or period, and the door is unlocked when the user is closer to the vehicle, thereby reducing the safety risk of unlocking the door in advance in the unsafe zone or period.
In some optional embodiments, the terminal information further includes a moving speed of the mobile terminal, and when the mobile terminal or the vehicle determines the unlocking distance, the unlocking distance may be further determined according to the geographic location, the current time and the moving speed.
The advantage of above-mentioned embodiment lies in, can be based on shorter unblock distance unblock door when user's translation rate is slower to avoid appearing the door and being unlocked the back user and not reaching the condition before the door for a long time, reduce the safety risk that unlocks the door in advance and bring.
Optionally, the moving speed of the mobile terminal may be determined according to a change in a relative distance between the mobile terminal and the vehicle within a certain time, and may also be calculated according to an acceleration measured by an accelerometer (which may also be referred to as an acceleration sensor) configured to the mobile terminal within a certain time.
In some optional embodiments, the terminal information further includes status information and direction information; the state information is a motion state or a static state; the direction information is approaching the vehicle or departing from the vehicle.
In some optional embodiments, when the mobile terminal or the vehicle determines the unlocking requirement, the unlocking requirement may be determined according to the comparison result, the state information, and the direction information.
The advantage of determining the unlocking requirement according to the comparison result, the state information and the direction information is as follows:
the comparison result, the state information and the direction information are integrated to determine whether to unlock the vehicle door, so that the unlocking of the vehicle door can better meet the requirements of a user, the vehicle door is prevented from being unlocked under the condition that the user is close to the vehicle but does not need to unlock the vehicle door, and the application experience of the user is improved.
In some optional embodiments, the unlocking requirement is determined according to a preset corresponding relationship between the comparison result, the state information, the direction information and the unlocking requirement.
The advantage of determining the unlocking requirement according to the corresponding relationship is that the mobile terminal or the vehicle can quickly find the unlocking requirement corresponding to the comparison result, the state information and the direction information based on the corresponding relationship, and the computing resources consumed by the mobile terminal or the vehicle for determining the unlocking requirement are reduced.
In some optional embodiments, when the comparison result is that the relative distance is smaller than the unlocking distance, the state information is the motion state, and the direction information is the approaching vehicle, the unlocking requirement is that unlocking is required.
In some optional embodiments, the terminal information further comprises a relative orientation of the mobile terminal and the vehicle, and an identification of the mobile terminal.
In some optional embodiments, the mobile terminal or the vehicle may determine that the door is to be unlocked according to the relative orientation and the identification. After the mobile terminal determines that the vehicle door is to be unlocked, the vehicle door is to be unlocked and the unlocking requirement is sent to the vehicle.
Alternatively, the need for unlocking and the door to be unlocked (or the unlocked position) may be collectively referred to as an unlocking strategy.
The relative orientation and identification of the vehicle door to be unlocked are advantageous in that:
when the door is unlocked every time, only the door which needs to be opened by a user is unlocked, so that redundant operations of unlocking and locking the door which does not need to be opened again are avoided, and potential safety hazards caused by unlocking all doors can be prevented.
In some optional embodiments, the vehicle door to be unlocked is determined according to a preset corresponding relationship among the relative position, the identity mark and the vehicle door position.
The advantage of determining the door to be unlocked according to the corresponding relationship is that the mobile terminal or the vehicle can quickly find the door to be unlocked corresponding to the relative position and the identity based on the corresponding relationship, and the calculation resources consumed by the mobile terminal or the vehicle for determining the door to be unlocked are reduced.
In some optional embodiments, the mobile terminal sends the unlocking requirement to the vehicle, including:
the mobile terminal sends an unlocking demand to the vehicle based on the Bluetooth connection;
or,
the mobile terminal sends an unlocking demand to the vehicle through the server;
in some optional embodiments, the mobile terminal may also send terminal information and relative distance to the vehicle based on the bluetooth connection;
or,
the mobile terminal may transmit the terminal information and the relative distance to the vehicle through the server.
In some optional embodiments, before the mobile terminal obtains the terminal information and the relative distance between the mobile terminal and the vehicle, the method further includes:
the mobile terminal responds to the unlocking operation of a user or responds to the Bluetooth communication range of the mobile terminal in the vehicle, the digital vehicle key function is started, and Bluetooth connection is established with the vehicle.
The second aspect of the present application provides a device for unlocking a vehicle, which is applied to a mobile terminal, and the device includes:
the system comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for acquiring terminal information and the relative distance between the mobile terminal and a vehicle; the terminal information is used for determining any one or more of an unlocking distance, an unlocking requirement and a vehicle door to be unlocked;
the determining unit is used for determining the unlocking requirement according to the comparison result of the relative distance and the unlocking distance;
and the sending unit is used for sending the unlocking requirement to the vehicle, so that the vehicle controls the unlocking or locking of the door to be unlocked according to the unlocking requirement.
The second aspect of the present application further provides a method for unlocking a vehicle, which is applied to the vehicle, and the apparatus includes:
the receiving unit is used for receiving the terminal information sent by the mobile terminal and the relative distance between the mobile terminal and the vehicle; the terminal information and the relative distance are both collected by the mobile terminal; the terminal information is used for determining any one or more of an unlocking distance, an unlocking requirement and a vehicle door to be unlocked;
the second determining unit is used for determining the unlocking requirement according to the comparison result of the relative distance and the unlocking distance;
and the control unit is used for controlling the unlocking or locking of the vehicle door to be unlocked according to the unlocking requirement.
A third aspect of the present application provides an electronic device, comprising: one or more processors and memory
The memory is used for storing one or more programs;
the one or more processors are configured to execute the one or more programs to cause the electronic device to perform the method for unlocking a vehicle provided in any one of the first aspects of the present application.
A fourth aspect of the present application provides a computer storage medium for storing a computer program, which when executed, is particularly adapted to implement the method for unlocking a vehicle provided by any one of the first aspects of the present application.
A fifth aspect of the present application provides a computer program product comprising a plurality of executable computer commands, the computer commands of the computer program product, when executed, being specifically adapted to implement the method for unlocking a vehicle as provided in any one of the first aspect of the present application.
The application provides a method, a device, equipment, a storage medium and a program product for unlocking a vehicle, wherein a mobile terminal acquires terminal information and the relative distance between the mobile terminal and the vehicle; the terminal information is used for determining any one or more of an unlocking distance, an unlocking requirement and a vehicle door to be unlocked; the mobile terminal determines an unlocking requirement according to a comparison result of the relative distance and the unlocking distance; the mobile terminal sends an unlocking demand to the vehicle, so that the vehicle controls the unlocking or locking of the door to be unlocked according to the unlocking demand. According to the scheme, the unlocking demand, the unlocking distance and the door to be unlocked can be dynamically adjusted according to the terminal information, and the unlocking of all doors when a user enters a specific unlocking distance is not limited, so that the demands of different users in different scenes are met, and the application experience of the user is improved.
Drawings
Fig. 1 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present application;
fig. 2 is a schematic view of an application scenario of a digital vehicle key technology disclosed in an embodiment of the present application;
fig. 3 is a schematic view of an application scenario of the method for unlocking a vehicle according to the embodiment of the present application;
fig. 4 is a schematic view of another application scenario of the method for unlocking a vehicle disclosed in the embodiment of the present application;
FIG. 5 is a schematic flow chart diagram illustrating a method for unlocking a vehicle according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a TOF ranging method according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram illustrating a principle of measuring an azimuth based on the AoA technology according to an embodiment of the present application;
fig. 8 is a schematic diagram illustrating a method for sending terminal environment information according to an embodiment of the present disclosure;
fig. 9 is a schematic diagram of another method for sending terminal environment information disclosed in the embodiment of the present application;
FIG. 10 is a schematic flow chart diagram illustrating another method for unlocking a vehicle disclosed in an embodiment of the present application;
fig. 11 is a schematic structural diagram of a device for unlocking a vehicle, disclosed in an embodiment of the present application.
Detailed Description
The terms "first", "second" and "third", etc. in the description and claims of this application and the description of the drawings are used for distinguishing between different objects and not for limiting a particular order.
In the embodiments of the present application, the words "exemplary" or "such as" are used herein to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "such as" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The vehicle unlocking method provided by the application can be applied to any electronic equipment, including but not limited to a mobile phone, a tablet computer, wearable electronic equipment, a vehicle-mounted control system installed on a vehicle and the like. In this embodiment, the structure of the electronic device may be as shown in fig. 1, which is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
As shown in fig. 1, the electronic device may include a processor 110, an internal memory 120, an antenna 1, an antenna 2, a mobile communication module 130, a wireless communication module 140, a sensor module 150, and a display screen 160.
It is to be understood that the structure illustrated in the present embodiment does not constitute a specific limitation to the electronic device. In other embodiments, the electronic device may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. Wherein, the different processing units may be independent devices or may be integrated in one or more processors.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
Internal memory 120 may be used to store computer-executable program code, including instructions. The processor 110 executes various functional applications and data processing of the electronic device by executing instructions stored in the internal memory 120. For example, in the present embodiment, the processor 110 may perform scene composition by executing instructions stored in the internal memory 120. The internal memory 120 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area can store data (such as audio data, a phone book and the like) created in the using process of the electronic equipment. In addition, the internal memory 120 may include a high speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a Universal Flash Storage (UFS), and the like. The processor 110 executes various functional applications and data processing of the electronic device by executing instructions stored in the internal memory 120 and/or instructions stored in a memory provided in the processor
The wireless communication function of the electronic device can be realized by the antenna 1, the antenna 2, the mobile communication module 130, the wireless communication module 140, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 130 may provide a solution including wireless communication of 2G/3G/4G/5G, etc. applied to the electronic device. The mobile communication module 130 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 130 can receive the electromagnetic wave from the antenna 1, and filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 130 can also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 130 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 130 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor displays images or video via the display screen 160. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 130 or other functional modules, independent of the processor 110.
The wireless communication module 140 may provide solutions for wireless communication applied to the electronic device, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), ultra Wide Band (UWB), and the like. The wireless communication module 140 may be one or more devices integrating at least one communication processing module. The wireless communication module 140 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 140 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves via the antenna 2 to radiate the electromagnetic waves.
In some embodiments, the antenna 1 of the electronic device is coupled to the mobile communication module 130 and the antenna 2 is coupled to the wireless communication module 140 so that the electronic device can communicate with a network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou satellite navigation system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The sensor 150 may include various sensors such as an acceleration sensor, a gyro sensor, and a fingerprint sensor.
The digital vehicle key technology is a technology for controlling a vehicle to perform specific operations including unlocking, locking and starting by using a mobile terminal. The mobile terminal used in the digital vehicle key technology may be a smart phone or other portable devices with communication capabilities, where the communication capabilities may include wireless communication capabilities and mobile communication capabilities, and the portable devices include, but are not limited to, various wearable devices, tablet computers, and the like.
Generally, a method for unlocking a vehicle by a mobile terminal is that when the vehicle or the mobile terminal detects that the distance between the vehicle and the mobile terminal is less than or equal to a preset unlocking distance, the vehicle unlocks a vehicle door. When the mobile terminal detects that the distance between the vehicle and the mobile terminal is smaller than or equal to the preset unlocking distance, the mobile terminal can send a signal for unlocking to the vehicle, and the vehicle responds to the signal for unlocking to unlock the vehicle door.
Referring to fig. 2, fig. 2 is a schematic view of a typical application scenario of the digital vehicle key technology disclosed in the embodiment of the present application. As shown in fig. 2, both the smartphone 201 and the vehicle 202 support digital vehicle key technology, and the preset unlocking distance of the vehicle 202 is 5 meters (m). When the smartphone 201 approaches to a position within 5 meters from the vehicle, the vehicle 202 detects that the smartphone 201 is located within 5 meters around the vehicle, and recognizes that the smartphone 201 has the unlocking authority, and then the vehicle 202 controls to unlock all doors. When the user walks to the door position, the user can directly open the door without manually operating a key to unlock the door.
The above digital vehicle key technology has the following problems:
the unlocking distance and the unlocked door cannot be dynamically adjusted along with the change of the scene of the vehicle. In the digital vehicle key technology, the unlock distance of the vehicle is set to a fixed value by a manufacturer or a user. And when the distance between the vehicle and the mobile terminal is smaller than or equal to the preset unlocking distance, the vehicle can only unlock the preassigned vehicle door, but can not unlock different vehicle doors according to different requirements of users.
For example, the unlocking distance is set to 5m as shown in fig. 2, and after the user sets unlocking all doors in advance, the vehicle directly unlocks all doors each time the mobile terminal approaches within 5m of the vehicle.
Example one
First, an application scenario of the method for unlocking a vehicle according to the first embodiment is described with reference to the accompanying drawings.
The steps executed by the vehicle in the method for unlocking the vehicle provided by the embodiment may be specifically executed by an onboard control system installed on the vehicle.
Please refer to fig. 3. In scenario one, a user carrying the mobile phone 301 approaches the vehicle from the left side of the vehicle 302, and when the mobile phone 301 moves to a bluetooth communication range of the vehicle 302, the mobile phone 301 starts to collect terminal environment information, and then sends the collected terminal environment information to the vehicle 302. After the vehicle 302 receives the terminal environment information, the mobile phone 301 is judged to approach from the left side of the vehicle 302 according to the terminal environment information, and the distance between the vehicle 302 and the mobile phone 301 is less than the set unlocking distance by 5 meters; the vehicle 302 controls the left door to unlock.
In the second scenario, the user carrying the mobile phone 301 approaches the vehicle from the right side of the vehicle 302, and when the mobile phone 301 moves to a bluetooth communication range of the vehicle 302, the mobile phone 301 starts to collect the terminal environment information, and then sends the collected terminal environment information to the vehicle 302. After the vehicle 302 receives the terminal environment information, the mobile phone 301 is judged to approach from the right side of the vehicle 302 according to the terminal environment information, and the distance between the vehicle 302 and the mobile phone 301 is less than the set unlocking distance by 5 meters; the vehicle 302 controls the door on the right to unlock.
In the third scenario, the user carrying the mobile phone 301 approaches the vehicle from the left side of the vehicle 302, and when the mobile phone 301 moves to a bluetooth communication range of the vehicle 302, the mobile phone 301 starts to collect the terminal environment information, and then sends the collected terminal environment information to the vehicle 302. After the vehicle 302 receives the terminal environment information, it is judged that the mobile phone 301 approaches from the left side of the vehicle 302 according to the terminal environment information, the distance between the vehicle 302 and the mobile phone 301 is less than the set unlocking distance by 5 meters, and the user is a vehicle owner; the vehicle 302 controls the doors of the vehicle's main cab to unlock.
Please refer to fig. 4. When the vehicle is located in an downtown area or the current time is a night time period, the user carrying the mobile phone 401 approaches the vehicle 402, and when the mobile phone 401 moves to a bluetooth communication range of the vehicle 402, the mobile phone 401 starts to acquire terminal environment information and then sends the acquired terminal environment information to the vehicle 402. After the vehicle 402 receives the terminal environment information, it is judged that the vehicle 402 is currently located in an downtown area according to the terminal environment information, or it is judged that the current time is in a night time period, so that the unlocking distance of the vehicle is set to be 2 meters, and when the distance between the mobile phone 401 and the vehicle 402 is smaller than 2 meters, the vehicle 402 controls a specific vehicle door to unlock.
When the vehicle is not located in an downtown area and the current time is not in a night period, the user carrying the mobile phone 401 approaches the vehicle 402, and when the mobile phone 401 moves to the bluetooth communication range of the vehicle 402, the mobile phone 401 starts to collect the terminal environment information and then sends the collected terminal environment information to the vehicle 402. After the vehicle 402 receives the terminal environment information, it is judged that the vehicle 402 is not in the downtown area at present according to the terminal environment information, and the current time is not in the night time period, so that the unlocking distance of the vehicle is set to be 5 meters, and when the distance between the mobile phone 401 and the vehicle 402 is less than 5 meters, the vehicle 402 controls the specific vehicle door to unlock.
The scenarios shown in fig. 3 and 4 are application scenarios of the vehicle unlocking method provided in the embodiment of the present application, taking an example that the starting condition is that a mobile phone enters a bluetooth communication range of a vehicle. In the vehicle unlocking method provided by the application, the mobile phone can start to collect the terminal environment information in response to various starting conditions, and the starting conditions are not limited in the embodiment of the application.
For example, the method for unlocking the vehicle provided by the embodiment of the application can be started to be executed when the user actively turns on the digital vehicle key function, and can be started to be executed when the mobile phone receives the synchronous state change information of the vehicle.
In some optional embodiments, the terminal environment information acquired by the mobile phone may include a relative distance, and may further include any one or more of information such as an identity, a geographic location, time, a relative position, state information, and direction information.
The state information is used for describing whether the mobile terminal is in a moving state or a static state, and the direction information is used for describing whether the moving direction of the mobile terminal is close to the vehicle or far away from the vehicle when the mobile terminal is in the moving state.
In some optional embodiments, the intelligent decision may be executed by a mobile phone or a vehicle, and the execution subject of the intelligent decision is not limited in the embodiments of the present application. And intelligently making decisions, including adjusting an unlocking distance threshold according to the terminal environment information in the scene, and determining the vehicle door to be unlocked according to the terminal environment information.
As can be seen from the scenes shown in fig. 3 and 4, by executing the vehicle door unlocking method provided by the embodiment, the vehicle can dynamically adjust the unlocking distance and the unlocked vehicle door, so as to meet the requirements of the user in different scenes.
Referring to fig. 5, the method for unlocking a vehicle provided in the present embodiment may include the following steps.
S501, the mobile terminal starts the digital vehicle key function.
The mobile terminal may turn on the digital vehicle key function in response to a user active operation and may also turn on the digital vehicle key function in response to a preset start condition.
For example, the user active operation may be an operation in which the user starts a digital vehicle key function configured on the mobile terminal. In some possible embodiments, the user may start the digital vehicle key function configured on the mobile terminal by generating a specific voice instruction, or clicking an application icon or a specific control on a specific interface, or the like.
In some possible embodiments, the mobile terminal may turn on the digital vehicle key function in response to a variety of preset start conditions. The content and number of the starting conditions are not limited in the embodiment of the present application.
The preset starting condition may include, for example, that the mobile terminal enters a bluetooth communication range of the vehicle, and that the mobile terminal receives a specific notification sent by the vehicle.
In some possible embodiments, the mobile terminal determines whether the mobile terminal enters the bluetooth communication range of the vehicle by:
the first judgment mode is that when the vehicle is not started, the vehicle broadcasts the Bluetooth signal to the surroundings in real time or periodically, if the mobile terminal receives the Bluetooth signal broadcasted by the vehicle, the mobile terminal judges that the vehicle enters the Bluetooth communication range of the vehicle, and if the mobile terminal does not receive the Bluetooth signal broadcasted by the vehicle, the mobile terminal judges that the vehicle does not enter the Bluetooth communication range of the vehicle.
And in the second judgment mode, the mobile terminal broadcasts the Bluetooth signal to the surroundings in real time or periodically, and when nearby vehicles receive the Bluetooth signal broadcast by the mobile terminal, the vehicles feed back a Bluetooth response signal to the mobile terminal broadcasting the Bluetooth signal. If the mobile terminal receives the Bluetooth response signal fed back by the vehicle, the mobile terminal judges that the mobile terminal enters the Bluetooth communication range of the vehicle, and if the mobile terminal does not receive the Bluetooth response signal fed back by the vehicle, the mobile terminal judges that the mobile terminal does not enter the Bluetooth communication range of the vehicle.
When the vehicle is not started or the battery is in a low-power state, the vehicle-mounted control system can operate in a low-power mode. In the low-power mode, the vehicle-mounted control system sends synchronous state change information to the mobile terminal after establishing Bluetooth connection with the mobile terminal, or sends the synchronous state change information to the mobile terminal through the server at certain time intervals, so that the mobile terminal establishing Bluetooth connection with the vehicle executes operation of acquiring terminal environment information according to subsequent steps. The synchronization state change information of the vehicle may be transmitted in a Digital Key Event (DK Event) format. The DK Event is a message format specified in Car Connectivity Consortium (CCC) Digital Key protocol version 3 (Digital Key Release 3) and applied to interaction between a vehicle and a mobile terminal.
When the mobile terminal is connected with the vehicle through the Bluetooth, the vehicle authenticates the mobile terminal to identify whether the mobile terminal has the authority of unlocking the vehicle. If the mobile terminal has the authority of unlocking the vehicle, the vehicle receives the request of establishing the Bluetooth connection, and the Bluetooth connection between the mobile terminal and the vehicle is successful; and if the mobile terminal does not have the authority of unlocking the vehicle, the vehicle refuses the request of establishing the Bluetooth connection, and the Bluetooth connection between the mobile terminal and the vehicle fails. In order to ensure that the mobile terminal has the authority to unlock the vehicle door, when a user needs to activate the digital vehicle key function of the mobile terminal for the first time, the mobile terminal and a specific vehicle are paired in corresponding application software according to a prompt so that the mobile terminal and the specific vehicle can finish service binding.
After the mobile terminal and the vehicle establish the bluetooth connection, the subsequent steps of the embodiment are executed. Specifically, the subsequent steps in this embodiment are executed after the mobile terminal and the vehicle establish the bluetooth connection successfully, and if the mobile terminal and the vehicle do not establish the bluetooth connection, the subsequent steps are not executed.
In some possible embodiments, when the mobile terminal turns on the digital vehicle key function in response to the active operation of the user, the mobile terminal may be out of the bluetooth communication range of the vehicle, so that the mobile terminal cannot establish a bluetooth connection with the vehicle, and the mobile terminal does not perform the subsequent steps of the embodiments of the present application.
In some possible embodiments, if the mobile terminal cannot establish the bluetooth connection with the vehicle after the digital vehicle key function is turned on, the mobile terminal may try to establish the bluetooth connection with the vehicle again after waiting for a certain time; or, the mobile terminal may output failure prompt information on the display screen, the failure prompt information being used to prompt the user whether to retry to establish a bluetooth connection with the vehicle, and after the user confirms that the mobile terminal retries to establish a bluetooth connection with the vehicle.
And S502, the mobile terminal collects terminal environment information.
The terminal environment information includes an identity, a geographic location, time, a relative position, a relative distance, state information, direction information and the like.
The time refers to the current time of the mobile terminal. For example, the mobile terminal at 18:10 turns on the digital vehicle key function, the time collected by the mobile terminal in step S502 may be 18:10.
the state information may be a moving state or a static state, and the direction information may be approaching to the vehicle or departing from the vehicle.
In some possible embodiments, the mobile terminal starts to collect the terminal environment information immediately after the digital vehicle key function is turned on.
In other possible embodiments, the mobile terminal waits for a period of time before starting to collect the terminal environment information after turning on the digital vehicle key function.
The identity identifier is pre-assigned information for uniquely identifying a mobile terminal, and can be used for completing authentication of a vehicle to the mobile terminal and distinguishing roles of users of the mobile terminal, for example, whether the user of the mobile terminal is a vehicle owner or an associated passenger can be distinguished through the identity identifier of the mobile terminal, and a general identity identifier can be stored in an internal memory of the mobile terminal.
For example, the id may be a number sequence generated by the vehicle or the server for the mobile terminal when the mobile terminal registers the digital vehicle key function, or may be a physical Address (MAC Address) of the mobile terminal, such as a bluetooth MAC Address.
The geographical position refers to a geographical position where the mobile terminal is located when the terminal environment information starts to be collected. The mobile terminal may obtain its own geographic location at a particular time in a number of ways.
Illustratively, the mobile terminal can obtain its own geographic location using GPS technology provided by the wireless communication module shown in fig. 1.
The time refers to the time when the mobile terminal collects the terminal environment information. For example, if the mobile terminal separately starts the digital vehicle key function at 8 o 'clock 10 and starts to collect the terminal environment information, the time is 8 o' clock 10 min.
The relative distance refers to a distance between the mobile terminal and the vehicle. The distance between the mobile terminal and the vehicle can be obtained by any one of the following ranging methods:
in the first ranging method, after receiving any bluetooth Signal transmitted by a vehicle, the mobile terminal detects Received Signal Strength Indicator (RSSI) data of the Received bluetooth Signal. The RSSI data of the Bluetooth signals is related to the transmission distance of the Bluetooth signals, after the RSSI data of the Bluetooth signals sent by the vehicle is detected, the transmission distance from the vehicle to the mobile terminal of the Bluetooth signals can be calculated according to the RSSI data, and the transmission distance is determined as the distance between the mobile terminal and the vehicle.
In the second ranging mode, the mobile terminal measures the distance between the mobile terminal and the vehicle by using a Time of Flight (TOF) technology based on UWB. When measuring distance, the TOF technology has higher measurement accuracy, and the measurement result error obtained by the TOF technology can be generally controlled to be in a centimeter level.
Referring to fig. 6, taking TOF measurement distance as an example, a mobile terminal sends a ranging UWB signal to a vehicle at time S1, the ranging UWB signal reaches the vehicle after a time Tp, the time when the vehicle receives the ranging UWB signal is S2, the vehicle feeds back the UWB signal to the mobile terminal at time S3 after receiving the ranging UWB signal, where a time period from time S2 to time S3 is called a reply processing delay Tr, the feedback UWB signal carries the reply processing delay Tr, the feedback UWB signal reaches the mobile terminal after the time Tp, and the mobile terminal receives the feedback UWB signal at time S4. After receiving the feedback UWB signal, the mobile terminal may determine a time period between the time S1 and the time S4, which is recorded as loop Delay (Round Trip Delay) Td, and calculate a time Tp required for transmitting the UWB signal once (once) between the vehicle and the mobile terminal according to the following formula (1) according to the loop Delay and the reply processing Delay Tr carried in the feedback UWB signal.
Figure BDA0003245730570000111
And finally, the mobile terminal calculates the distance between the mobile terminal and the vehicle according to the time Tp of one-time transmission and the preset UWB signal transmission speed. For example, the transmission speed of the UWB signal may be set to the speed of light.
UWB signals refer to radio signals transmitted based on UWB technology.
In the CCC digital car key protocol, a mobile terminal and a vehicle can establish a UWB ranging session based on Bluetooth connection, the mobile terminal and the vehicle negotiate to determine a UWB configuration identifier and other parameters related to UWB ranging in the session establishing process, and after the UWB configuration identifier and the related parameters are determined, the mobile terminal and the vehicle can use the determined parameters of the mobile terminal and the vehicle to send and receive UWB signals, so that the detection of the relative distance between the mobile terminal and the vehicle is realized based on the principle.
The relative orientation refers to the direction of the mobile terminal relative to the vehicle.
In some possible embodiments, the relative orientation may include the mobile terminal being at the front left of the vehicle, the mobile terminal being at the rear left of the vehicle, the mobile terminal being at the front right of the vehicle, and the mobile terminal being at the rear right of the vehicle. In other possible embodiments, the relative orientation may also be divided into only the mobile terminal on the left side of the vehicle and the mobile terminal on the right side of the vehicle.
In some possible embodiments, to ensure accuracy and precision of the relative position estimation, in a case where a plurality of ranging base stations are arranged, the ranging terminal may detect an azimuth Angle between itself and the ranging base stations using an Angle of Arrival (AoA) method based on UWB.
Illustratively, the ranging terminal may be a mobile terminal held by a user, and the ranging base station may be an antenna array on a vehicle for receiving UWB signals. Referring to fig. 7, an antenna array 710 for receiving UWB signals may be disposed in a vehicle interior, where the antenna array 710 includes a receiver and antennas 711 to 713 coupled to the receiver. After the mobile terminal transmits the UWB signal, the antennas 711 to 713 all receive the UWB signal, and the UWB signal transmitted by the mobile terminal has a deviation in phase or time at which the antennas 711 to 713 are reached due to a deviation in position of the antennas 711 to 713, so that the receiver calculates an azimuth angle between the mobile terminal and the vehicle as shown in fig. 7 according to a phase difference or a time difference between signals received by the antennas 711, 712, and 713, and the calculated azimuth angle is transmitted from the vehicle to the mobile terminal. And the mobile terminal determines the relative position of the mobile terminal according to a preset corresponding relation table of the azimuth angle and the relative position. The corresponding relation table of the azimuth and the relative azimuth can be configured in the memory of the mobile terminal in advance by the manufacturer of the mobile terminal.
In some alternative embodiments, the vehicle may also be used as a ranging terminal, the mobile terminal is used as a ranging base station, a plurality of UWB antennas are arranged on the mobile terminal, the vehicle sends a UWB signal to the mobile terminal, and the mobile terminal calculates an azimuth angle between the vehicle and the mobile terminal based on the method.
For example, the corresponding relationship table of azimuth and relative azimuth may be the following table 1:
TABLE 1
Angular interval of azimuth Relative orientation
0°~90° Vehicle right front
90°~180° Vehicle rear right
180°~270° Left rear of vehicle
270°~360° Left front of vehicle
According to table 1, after obtaining the azimuth angle, the mobile terminal can determine which angle interval shown in table 1 the current azimuth angle belongs to, and further determine the relative azimuth corresponding to the angle interval to which the current azimuth angle belongs as the relative azimuth of the mobile terminal.
For example, assuming that the azimuth angle obtained by the mobile terminal is 110 °, the mobile terminal may determine that the azimuth angle of 110 ° belongs to the angle interval of 90 ° to 180 ° shown in table 1, and further determine that the relative azimuth of the mobile terminal is that the mobile terminal is at the rear right of the vehicle.
In some alternative embodiments, the detection of the relative distance and the relative orientation may also be obtained based on the algorithm of Phase Difference of Arrival (PDOA), time Difference of Arrival (TDOA), and the like. The embodiment of the present application does not limit the specific detection method of the relative distance and the relative orientation.
In some alternative embodiments, TOF techniques may also be implemented based on other wireless signals, such as infrared light signals, acoustic wave signals, and the like, without being limited to UWB signals.
The state information includes two states of motion and still. In some possible embodiments, the mobile terminal may obtain its own speed by using the acceleration sensor, and if the speed is greater than or equal to a specific speed threshold, the mobile terminal determines that its own state information is a moving state, and if the speed is less than the specific speed threshold, the mobile terminal determines that its own state information is a static state.
In other possible embodiments, the mobile terminal may determine its own status information according to a difference between a plurality of relative distances obtained within a certain time. For example, the mobile terminal may perform 3 times of measurement in 1 second by using a first distance measurement method or a second distance measurement method, and if a difference between a relative distance measured each time and a relative distance measured in a previous time is not greater than a set threshold, the mobile terminal determines that its own state information is static, and if a difference between a relative distance measured in any one time and a relative distance measured in the previous time is greater than the threshold, the mobile terminal determines that its own state information is moving. Alternatively, the aforementioned threshold value may be set to 5 cm.
And the direction information comprises that the mobile terminal approaches the vehicle and the mobile terminal is far away from the vehicle. The mobile terminal may obtain the direction information in various ways, and the method for obtaining the direction information is not limited in this embodiment. In general, when the state information of the vehicle is moving, the terminal environment information may include the direction information, and when the state information is stationary, the terminal environment information may not include the direction information.
In some possible embodiments, the mobile terminal may determine its own direction information according to a plurality of relative distances obtained within a certain time, and if a plurality of relative distances measured sequentially within a certain time decrease from early to late with the measurement time, the mobile terminal determines the direction information as approaching the vehicle, and if a plurality of relative distances measured sequentially within a certain time increase from early to late with the measurement time, the mobile terminal determines the direction information as departing from the vehicle.
For example, within 1 second, the mobile terminal S5 measures the relative distance L5 at the time, measures the relative distance L6 at the time S6, measures the relative distance L7 at the time S7, and after S5 and S6 at the time S7 after S6, and if the relative distances L5, L6, and L7 gradually decrease, the mobile terminal determines that the direction information is approaching the vehicle, whereas if the relative distances L5, L6, and L7 gradually increase, the mobile terminal determines that the direction information is away from the vehicle.
In some optional embodiments, the terminal environment information may further include a scene type determined according to a geographical location and time, and includes role information determined according to an identity of the mobile terminal.
In some possible embodiments, the scene type may be preset to be various.
Illustratively, the scene types may include both secure scenes and non-secure scenes. In this example, the mobile terminal may determine the geographic location and time to determine whether the corresponding scene type is a safe scene or a non-safe scene in the following manner:
and if the time is within a preset non-safety time period or the geographic position is within a preset non-safety area, determining that the corresponding scene type is a non-safety scene, and if the time is within a safety time period and the geographic position is within a preset safety area, determining that the corresponding scene type is a safety scene.
A secure period, a secure region, and an insecure region, which may be predetermined by the user or a related vendor and may be updated during use.
For example, the non-safety period may be 19:00 to the next day 4:00, the unsafe area may include a particular street, cell, public facility, etc.
For example, the safety zone may be set by the user as a zone within a certain distance around the residence, and the safety period may be set by the user as a daytime period, for example 8:00 to 17:00.
in some possible embodiments, the scene type table may be stored in an internal memory of the mobile terminal. The scene type table may be pre-stored in an internal memory when the mobile terminal is shipped from a factory, or may be downloaded from a server by the mobile terminal. The mobile terminal can update the local scene type table according to the update data packet provided by the server.
S503, the mobile terminal sends the terminal environment information to the vehicle.
In the method for unlocking the vehicle door provided by this embodiment, the mobile terminal may send the terminal environment information to the vehicle in a plurality of ways, and the way for sending the terminal environment information by the mobile terminal is not limited in this embodiment.
For example, the mobile terminal may transmit the terminal environment information to the vehicle through the network. The mobile terminal can be accessed into a wireless local area network based on the wireless communication module shown in fig. 1, or accessed into a mobile communication network based on the mobile communication module shown in fig. 1, the terminal environment information is sent to a terminal manufacturer server through the wireless local area network or the mobile communication network, the terminal manufacturer server sends the terminal environment information to a vehicle manufacturer server through a server interface, and finally, the vehicle manufacturer server sends the terminal environment information to a vehicle through the mobile communication network or the wireless local area network.
For example, the mobile terminal may also transmit the terminal environment information to the vehicle based on a bluetooth connection established between itself and the vehicle. When the mobile terminal sends the terminal environment information based on the bluetooth connection, the specific way of sending the terminal environment information based on the bluetooth connection is different according to the different digital car key protocols applied to the mobile terminal and the vehicle, and please refer to the embodiments shown in fig. 8 and 9 for the specific sending way.
And S504, controlling the vehicle door to unlock according to the unlocking strategy corresponding to the terminal environment information.
The unlocking strategy specifically comprises an unlocking requirement and an unlocking position. The unlocking requirements comprise unlocking requirements and unlocking requirements, the unlocking requirements can be determined according to geographic positions, time, relative distances, state information and direction information in the terminal environment information, and the unlocking positions can be determined according to the various terminal environment information, the role information and the relative directions.
The unlock position is a position of the door to be unlocked. Taking a common four-door vehicle as an example, the four-door vehicle generally includes a left front door, a left rear door, a right front door and a right rear door, and the unlocking position may include any one or more of the left front, the left rear, the right front and the right rear.
For example, if the unlock position is the front left, only the front left door of the vehicle is unlocked when the vehicle unlocks the doors, and the doors at other positions maintain the locked state.
In some possible embodiments, the unlock position in the unlock policy may also be replaced by an unlock identification. The unlocking mark refers to the mark of the vehicle door needing to be unlocked.
In step S504, if the unlocking requirement in the unlocking strategy determined by the vehicle is that unlocking is required, the vehicle unlocks the vehicle door corresponding to the unlocking position, and the method is ended.
In some possible embodiments, the vehicle may determine the unlocking strategy corresponding to the terminal environment information in any one of the following decision manners.
In the first decision manner, a plurality of correspondence tables are stored in a local memory of the vehicle, and may include, for example, an unlocking position table, an unlocking distance table, and an unlocking demand table, where a plurality of correspondence tables are recorded in the correspondence tables. After the vehicle receives the terminal environment information sent by the mobile terminal, the corresponding unlocking position, unlocking distance, unlocking requirements and the like are found out in the corresponding relation tables by utilizing the terminal environment information, so that an unlocking strategy corresponding to the terminal environment information is obtained, and finally, the vehicle door at the unlocking position is unlocked or the vehicle door is controlled to be in a locking state according to the determined unlocking strategy.
For example, the unlock position table may be as shown in table 2 below:
TABLE 2
Figure BDA0003245730570000141
The role information in table 2 is determined according to the identity carried by the terminal environment information, or may be directly carried by the terminal environment information.
In some optional embodiments, the column of role information in table 2 may also be replaced with an id, and accordingly, the "owner" may be replaced with the id of the owner, and the "associated passenger" may be replaced with the id of the associated passenger.
Each of the unlock positions corresponds to each door of the vehicle, and therefore, in some optional embodiments, the column of the unlock positions in table 2 may be replaced by a door to be unlocked. The unlocking position is determined based on table 2, which is equivalent to determining the door to be unlocked based on table 2, for example, if the identification is the identification of the vehicle owner and the relative position is the front left door, the door to be unlocked is determined to be the front left door.
In some alternative embodiments, the unlocked position may also include a position corresponding to the trunk door, i.e., directly behind the vehicle. At this time, when the relative orientation is such that the user is located directly behind the vehicle, the unlock position may be determined to be directly behind, that is, to unlock the trunk door. In some optional embodiments, the determination of the unlocked position may further take into account the geographic location and the current time.
For example, if the geographic location is in an unsafe area, or if the current time is in an unsafe period, only one location is determined when the unlocking location is determined, for example, when the owner of the vehicle is located at the front left, the unlocking location is determined to be the front left; if the geographic position is located in the safe area and the current time is located in the safe time period, two or more positions may be determined when determining the unlock position, for example, two positions on the left side of the unlock position are determined when the owner of the vehicle is located at the left front, or all four positions are determined as the unlock position.
In some alternative embodiments, the unlock position may also be determined based only on the geographic location and the current time. For example, if the geographic position is located in an unsafe area, or if the current time is located in an unsafe time period, when the unlocking position is determined, the unlocking position is determined to be the front left; if the geographic position is located in the safe area and the current time is located in the safe time period, all four positions may be determined as the unlocked positions when the unlocked positions are determined.
In some optional embodiments, the unlock position may also be a plurality of positions determined according to detected character information, relative orientation, and the like of a plurality of mobile terminals. In addition, when the mobile terminal with the identity mark as the owner of the vehicle is positioned on the left side of the vehicle and the mobile terminal with the identity mark as the associated passenger is positioned on the right front side of the vehicle, the door to be unlocked is determined to be a left front door and a right front door respectively. In the scenario of this embodiment, when the vehicle detects information such as relative directions, relative distances, and the like of the plurality of mobile terminals, an interval detection mode may be adopted, a sequential detection mode may also be adopted, and the present invention is not limited to this.
When the mobile terminal registers the digital vehicle key function, the mobile terminal prompts a user to configure corresponding role information aiming at the identity of the mobile terminal, after the user configures the role information, the mobile terminal locally stores the identity and the corresponding role information and sends the identity and the corresponding role information to the vehicle, and therefore the vehicle or the mobile terminal can determine the corresponding identity information according to the identity.
In some optional embodiments, the identity and the corresponding role information may also be stored in the vehicle, and after the vehicle receives the identity, the role information corresponding to the identity of the mobile terminal is found according to the correspondence between the identity and the role information stored in the vehicle.
In some possible embodiments, when configuring the role information, if the role information configured by the user is an owner, the mobile terminal may prompt the user to input specific verification information, and then send the verification information to the server, and the server detects whether the user is an owner according to the verification information, and stores the role information of the owner after detecting that the user is an owner. And if the role information configured by the user is the associated passenger, the mobile terminal sends an authentication request to the mobile terminal of the owner, and the role information of the associated passenger is stored after the mobile terminal of the owner passes the authentication. For example, the associated passenger may include the owner's relatives and friends.
For example, the unlock distance table may be as shown in table 3 below:
TABLE 3
Type of scene Distance of unlocking
Security scene 5m
Non-secure scenes 2 m
In some alternative embodiments, the unlock distance table may also be as shown in table 4 below:
TABLE 4
Region(s) Time period Distance of unlocking
Secure area Safe period of time 5m
Insecure area Safe period of time 2 m
Secure area Period of non-safety 2 m
Based on the unlocking distance table shown in table 4, after the vehicle obtains the terminal environment information, the scene type may not be determined, but it may be respectively determined whether the geographic position is located in the safe area and whether the time belongs to the safe time period, and if the geographic position is located in the safe area and the time belongs to the safe time period, a larger unlocking distance is applicable; on the contrary, if the geographic position is located in the unsafe area, or the time belongs to the unsafe time period, or the geographic position is located in the unsafe area and the time belongs to the unsafe time period, the smaller unlocking distance is applicable.
In some optional embodiments, the terminal environment information collected by the mobile terminal may also include a geographical location without a time, or may include a time without a geographical location. For the former case, the vehicle may apply a larger unlocking distance (e.g., 5 meters) after determining that the geographic location is in the safe area and a smaller unlocking distance (e.g., 2 meters) after determining that the geographic location is in the unsafe area. For the latter case, the vehicle may apply a larger unlocking distance (e.g., 5 meters) after determining that the time is in the safe period, and apply a smaller unlocking distance (e.g., 2 meters) after determining that the time is in the unsafe period.
The division of the secure area and the insecure area, and the division of the secure period and the insecure period may be performed based on various standards, which are not limited in the embodiments of the present application.
For example, the safe area and the unsafe area may be divided based on the amount of daily traffic in the area, and if the specific area is an area with a large daily traffic, such as the aforementioned downtown area, the area is set as the unsafe area, whereas if the specific area is an area with a small daily traffic, such as an area other than the aforementioned downtown area, the area is set as the safe area.
When the flow of people is large, the door is unlocked early, so that articles in the automobile are easier to be stolen or damaged, and when the flow of people is small, the risk is low, so that the area with large flow of people can be set as an unsafe area, and the area with small flow of people is set as a safe area, so that the door is controlled to be unlocked in the area with large flow of people based on a short unlocking distance, and the safety risk of the area with large flow of people is reduced.
Illustratively, the secure area and the non-secure area may also be set by a user. For example, the user may set an area within a certain distance of the vicinity of the residence as a safe area, and correspondingly, the mobile terminal or the vehicle may automatically recognize an arbitrary area other than the safe area as an unsafe area. Alternatively, the user may define a portion of the area as a secure area and a portion of the area as an insecure area.
For example, the safe period and the unsafe period may be divided based on whether it is at night, that is, the night period is set as the unsafe period and the day period is set as the safe period.
Illustratively, the secure period and the non-secure period may also be divided based on user settings, and the user may set a specified time period in the day, for example, 9:00 to 17:00 is set to a safe period, and correspondingly, the mobile terminal or the vehicle may recognize a period other than the safe period as an unsafe period.
The reason why the safe period and the unsafe period are divided based on whether or not at night is because visibility in the nighttime period is generally lower than visibility in the daytime period, which results in a higher risk of unlocking the door in advance in the nighttime period than in the daytime period, and by setting the nighttime period to the unsafe period and applying a shorter unlocking distance, it is possible to avoid unlocking the door at an early stage in the nighttime period, thereby reducing the risk of unlocking the door in advance in the nighttime period.
The present embodiment does not limit the configuration of the terminal environment information. In some possible embodiments, the terminal environment information may include a moving speed of the mobile terminal in addition to the aforementioned information. When the terminal environment information includes a moving speed, the vehicle may further determine a corresponding unlocking distance according to the moving speed. For example, when the moving speed is lower than a preset speed threshold value, the vehicle may set the unlocking distance to 2 meters regardless of whether the current scene type of the vehicle is an unsafe scene, when the moving speed is higher than or equal to the speed threshold value and the current scene type of the vehicle is a safe scene, the unlocking distance may be set to 5 meters, and when the moving speed is higher than or equal to the speed threshold value and the current scene type of the vehicle is an unsafe scene, the unlocking distance may be set to 2 meters.
In some possible embodiments, the mobile terminal may further determine the unlocking distance only according to the geographic location, only according to the current time, or only according to the moving speed, and the information used for determining the unlocking distance is not limited in the embodiments of the present application.
In some alternative embodiments, the moving speed of the mobile terminal may be calculated based on an acceleration sensor of the mobile terminal, or may be determined according to a change in the relative distance between the mobile terminal and the vehicle over a certain time.
When the moving speed is lower than the speed threshold value, if the unlocking distance is long (for example, the unlocking distance is 5 meters), the user can reach the front of the vehicle door for a long time after the vehicle door is unlocked, at this time, other people may open the vehicle door, and the unlocking distance is shortened (for example, shortened to 2 meters) when the moving speed is lower than the speed threshold value, so that the situations can be avoided, the user can reach the front of the vehicle door in a short time after the vehicle door is unlocked, and the safety risk is reduced.
For example, the unlock requirement table may be as shown in table 5 below:
TABLE 5
Less than the unlocking distance Status information Direction information Requirement for unlocking
Is that Exercise of sports Approaching vehicle Need to be unlocked
Is that Exercise of sports Remote vehicle Without unlocking
Is that At rest Approaching vehicle Without unlocking
Whether or not Exercise apparatus Approaching vehicle Without unlocking
It should be noted that the correspondence relationships shown in tables 2 to 5 above are only some optional examples provided in the embodiments of the present application. In some optional embodiments of the present application, each correspondence table may record more correspondences as needed, and the present embodiment does not limit the number and content of the correspondences of the specific record.
When the vehicle determines the unlocking strategy according to the first decision-making mode, the vehicle firstly searches for a corresponding unlocking position in an unlocking position table shown in table 2 according to role information and relative orientation, then determines an unlocking distance corresponding to a scene type according to an unlocking distance table shown in table 3 or table 4, finally determines whether the relative distance is smaller than the unlocking distance, and determines a corresponding unlocking requirement by using a determination result and state information and direction information in terminal environment information based on an unlocking requirement table shown in table 5.
If the determined unlocking strategy is that the unlocking requirement is not needed, the vehicle controls each vehicle door to keep a locking state, and if the determined unlocking strategy is that the unlocking requirement is needed, the vehicle door at the unlocking position is unlocked.
In some optional embodiments, when the vehicle determines the unlocking strategy, the unlocking requirement may be determined first, if the unlocking requirement is that unlocking is not required, the current unlocking process is ended without determining the unlocking position, and if the unlocking requirement is that unlocking is required, the vehicle further determines the unlocking position and then unlocks the door at the unlocking position.
The benefit of determining the unlocking strategy based on the first decision-making mode is as follows:
based on the first decision-making mode, the vehicle can search a plurality of corresponding relation tables by using the terminal environment information, the table search operation is easy to implement, and the complexity is low, so that the corresponding relation tables are searched to determine the unlocking strategy, the computing resources used when the unlocking method is implemented every time can be reduced, and the unlocking strategy corresponding to the terminal environment information can be quickly determined.
For ease of understanding, some examples of terminal environment information and corresponding unlocking policies are given below:
example one, the geographic location is not located in a downtown area, the time is not in a night period, the mobile terminal is in state information and is close to a vehicle, the relative distance is 4 meters, the relative direction is the front left, and the role information is the owner of the vehicle.
After the vehicle receives the terminal environment information in the first example, the scene type can be determined to be a safe scene according to the geographic position and time, the unlocking distance is set to be 5 meters according to the table 3, and then the unlocking requirement is determined to be needed unlocking according to the information that the relative distance is smaller than the unlocking distance by 5 meters, the mobile terminal moves and approaches the vehicle, and the like. Further, the vehicle determines that the unlocking position corresponding to the relative direction and the role information is the left front based on the table 2, and therefore the vehicle unlocks the door of the left front.
Example two, the geographic location is not located in the downtown area, the time is not within the nighttime period, the mobile terminal is in state information and is close to the vehicle, the relative distance is 3 meters, the relative position is the right side, and the role information is the associated passenger.
After the vehicle receives the terminal environment information of the second example, the scene type can be determined to be a safe scene according to the geographic position and the time, the unlocking distance is set to be 5 meters according to the table 3, and then the unlocking requirement is determined to be needed unlocking according to the information that the relative distance is smaller than the unlocking distance by 5 meters, the mobile terminal is moving and approaches the vehicle and the like. Further, the vehicle determines that the unlocking positions corresponding to the relative position and the role information are the right front side and the right rear side based on the table 2, so that the vehicle unlocks the doors on the right front side and the right rear side.
Example three, the geographic location is in an downtown area, or the time is in a night period, the mobile terminal is in state information and is close to the vehicle, the relative distance is 3.5 meters, the relative position is the right side, and the role information is the associated passenger.
After receiving the terminal environment information of the third example, the vehicle can determine that the scene type is an unsafe scene according to the geographic position and time, further set the unlocking distance to be 2 meters according to the table 3, and then determine that the unlocking requirement is that unlocking is not needed according to the fact that the relative distance is larger than the unlocking distance by 2 meters, and then the unlocking process is finished.
And in the fourth example, the geographic position is not located in an downtown area, the time is not in a night time period, the moving speed of the mobile phone is lower than a speed threshold value, the mobile terminal is in state information and close to a vehicle, the relative distance is 1.5 meters, the relative direction is the left front direction, and the role information is the owner of the vehicle.
After the vehicle receives the terminal environment information of example four, it can be determined that the scene type is a safe scene according to the geographic position and time, but the moving speed is lower than the speed threshold value, so that the vehicle sets the unlocking distance to be 2 meters, and then it is determined that the unlocking requirement is needed to unlock according to the information that the relative distance is smaller than the unlocking distance by 2 meters, the mobile terminal is moving and approaches the vehicle, and the like. Further, the vehicle determines that the unlocking position corresponding to the relative position and the role information is the left front based on the table 2, and therefore the vehicle unlocks the door of the left front.
And in a second decision mode, the vehicle can analyze the terminal environment information sent by the mobile terminal based on a machine learning technology or a deep learning technology, and obtains an unlocking strategy corresponding to the terminal environment information through analysis.
The implementation of the decision mode two may be:
and the vehicle calls an unlocking strategy model obtained based on machine learning technology or deep learning technology training, and the terminal environment information is input into the unlocking strategy model to obtain a first confidence coefficient set and a second confidence coefficient set.
The first confidence set includes the confidence corresponding to each optional unlocking position of the vehicle, for example, the confidence corresponding to the left front, the confidence corresponding to the left rear, the confidence corresponding to the right front, and the confidence corresponding to the right rear, and the second confidence set includes the confidence corresponding to different unlocking requirements.
And finally, the vehicle selects the unlocking position corresponding to the maximum confidence coefficient in the first confidence coefficient set as the unlocking position corresponding to the terminal environment information, or selects the unlocking requirement corresponding to the maximum confidence coefficient in the second confidence coefficient set as the unlocking requirement corresponding to the terminal environment information by taking all the vehicle door positions with confidence coefficients larger than a threshold value as the unlocking position of the current time.
In some optional embodiments, the unlocking policy model may be obtained by:
the method comprises the steps of obtaining a plurality of terminal environment information, configuring corresponding unlocking positions and unlocking requirements for each terminal environment information in a manual labeling mode, and training a pre-constructed machine learning model or deep learning model by using a sample set formed by the terminal environment information with the configured unlocking positions and unlocking requirements, so as to obtain an unlocking strategy model.
Optionally, the process of obtaining the unlocking strategy model may be executed by a server of a vehicle manufacturer, and the server trains to obtain the unlocking strategy model and then provides the unlocking strategy model for the vehicle.
Aiming at the decision mode II, the unlocking strategy model can be stored in a local memory of the vehicle, and when the vehicle needs to determine the unlocking strategy, the unlocking strategy model is called from the memory by a vehicle-mounted processor; or the unlocking strategy model can be stored in the server, when the vehicle needs to determine the unlocking strategy, the vehicle sends the terminal environment information to the server through the network, the server calls the unlocking strategy model to analyze the terminal environment information to obtain the corresponding unlocking strategy, and then the unlocking strategy is fed back to the vehicle.
The unlocking strategy model stored in the memory of the vehicle may be downloaded from a server by the vehicle, or may be written into the memory of the vehicle in advance when the vehicle is shipped.
The vehicle or the server can update the unlocking strategy model according to the user feedback data in the using process of the unlocking strategy model.
The benefit of determining the unlocking strategy based on the unlocking strategy model is that:
when the unlocking strategy is determined based on the correspondence table, if the specific terminal environment information is not recorded in the correspondence table, the unlocking strategy cannot be determined. And analyzing the terminal environment information by using the unlocking strategy model can avoid the above situation, analyze any terminal environment information acquired by the mobile terminal to obtain a corresponding unlocking strategy, and improve the application range of the method of the embodiment of the application.
The vehicle unlocking method provided by the embodiment of the application has the following beneficial effects:
on the first hand, the comparison of the relative distance and the unlocking distance is synthesized by the vehicle, the state information, the direction information and other information of the mobile terminal judges whether to unlock the vehicle door, when the relative distance is larger than the unlocking distance, the mobile terminal keeps static, and the vehicle door is kept in a locking state when the mobile terminal is far away from the vehicle, so that the unlocking of the vehicle door is ensured to be more in line with the requirements of a user, and the problem that the vehicle door is unlocked by the vehicle when the user does not need to unlock the vehicle door is avoided.
In the second aspect, the unlocking distance can be dynamically adjusted according to information such as the type of the scene where the mobile terminal is located, the unlocking distance is shortened in non-safety scenes such as downtown areas and night periods, and safety risks caused by unlocking the car door in advance in the non-safety scenes can be reduced. And then be suitable for longer unblock distance under the safe scene, then can accomplish the unblock of door earlier, guarantee that the user does not need to wait and just can directly open the door when arriving the door, improve user experience.
And in the third aspect, the unlocking position is determined according to the relative position, the identity identification and other information of the mobile terminal, and only the vehicle door needing to be opened can be unlocked in each unlocking process, so that redundant operation of unlocking and locking the vehicle door not needing to be opened again is avoided, and potential safety hazards caused by unlocking all the vehicle doors can be prevented.
And after receiving the terminal environment information, the vehicle feeds back an unlocking result to the mobile terminal, wherein the unlocking result is that the vehicle door is unlocked or the vehicle door is not unlocked. If the unlocking result received by the mobile terminal is that the vehicle door is unlocked, the vehicle unlocking method provided by the embodiment is ended, and if the unlocking result received by the mobile terminal is that the vehicle door is not unlocked, the mobile terminal may execute the method of the embodiment shown in fig. 5 again to send the terminal environment information to the vehicle again until the mobile terminal receives the unlocking result of the vehicle door unlocking.
In some optional embodiments, if the unlocking result received by the mobile terminal is that the vehicle door is unlocked, the mobile terminal may display a prompt message that the vehicle door is successfully unlocked on the display screen, and if the unlocking result received by the mobile terminal is that the vehicle door is not unlocked, the mobile terminal may display a prompt message that the vehicle door is unsuccessfully unlocked on the display screen. When the prompt message of the failure of unlocking the vehicle door is displayed, the mobile terminal can respond to the operation of unlocking again by the user and execute the method of the embodiment shown in fig. 5 again. The operation of unlocking again by the user may be a click operation of a retry button displayed on the display screen by the user.
In some optional embodiments, after the vehicle unlocks any of the doors, it may be detected whether the unlocked door is opened within a preset time period, and if the vehicle does not detect that the unlocked door is opened within the preset time period, the vehicle locks the unlocked door again. For example, the preset time period may be 10 seconds.
The terminal environment information collected by the mobile terminal in the foregoing embodiment is only one example of the vehicle unlocking method provided in the embodiment of the present application. In some optional embodiments, the terminal environment information collected by the mobile terminal may include only a part of the information listed in the above embodiments.
In some alternative examples, the vehicle may determine the unlocking requirement by:
in a first mode, the terminal environment information may include state information, direction information and a relative distance, and after the vehicle receives the terminal environment information, the relative distance is compared with a preset unlocking distance to obtain a comparison result of the relative distance and the unlocking distance. And if the relative distance is smaller than the unlocking distance according to the comparison result, judging whether the vehicle identification state information is movement or not and judging whether the direction information is an approaching vehicle or not. If the state information is recognized as movement and the direction information is recognized as approaching vehicles, the vehicles determine that unlocking is needed, and then specific doors are unlocked; if it is recognized that the state information is not motion or the direction information is not approaching the vehicle, the vehicle determines that unlocking is not required.
In a second mode, the terminal environment information may include a geographic location, a time, a moving speed, and a relative distance. After the vehicle receives the information, the unlocking distance is determined according to the geographic position, the time and the moving speed, and then the unlocking requirement is determined according to whether the relative distance is smaller than the unlocking distance. In this example, when the vehicle determines that the unlocking requirement is needed to unlock, all doors of the vehicle may be directly unlocked, or only a plurality of doors preset by the user may be unlocked.
In some optional examples, the vehicle may determine the unlocked position by:
in a third mode, the terminal environment information may include a relative position, an identity and a relative distance. And after receiving the information, the vehicle judges whether the relative distance is smaller than a preset unlocking distance, if so, the vehicle determines an unlocking position according to the relative direction and the identity identification, and then unlocks the vehicle door corresponding to the unlocking position. In the present example, the unlocking distance may be a fixed value, such as a fixed unlocking distance of 5 meters.
When determining the unlocking position, the geographic position and the current time may also be considered, and for a specific embodiment, reference may be made to the content of determining the unlocking position according to the geographic position and the current time, which is not described herein again.
Further, the above-mentioned modes one to three may be combined in some embodiments.
For example, the vehicle may determine the unlocking requirement according to a combination of the first mode and the second mode, that is, the terminal environment information may include state information, direction information, relative distance, geographic position, time and moving speed, after the vehicle receives the terminal environment information, the vehicle determines the unlocking distance according to the geographic position, the time and the moving speed, determines the unlocking requirement according to the state information, the direction information, and a comparison result of the relative distance and the unlocking distance, and then controls unlocking or locking of the vehicle door according to the unlocking requirement. In this example, when the vehicle determines that the unlocking requirement is the unlocking requirement, all doors of the vehicle may be directly unlocked, only a plurality of doors preset by the user may be unlocked, and the door to be unlocked corresponding to the unlocking position determined according to the third mode may be unlocked.
For example, the vehicle may determine the unlocking requirement and the unlocking position according to a combination of the first mode and the third mode, that is, the terminal environment information may include state information, direction information, a relative distance, a relative direction and an identification, after receiving the terminal environment information, the vehicle determines the unlocking requirement according to the state information, the direction information, a comparison result of the relative distance and a preset unlocking distance, determines the unlocking position according to the relative direction and the identification, and controls the door of the unlocking position to be unlocked or locked according to the unlocking requirement.
Exemplary Digital Car Key protocols commonly used between a mobile terminal and a vehicle include Digital Key Release3 established by the Car Connectivity association (CCC) and related protocols established by the Intelligent Car Connectivity Industry ecology association (ICCE).
Referring to fig. 8, when a digital car key protocol (hereinafter, abbreviated as an ICCE protocol) established by the ICCE is applied between the mobile terminal and the vehicle, the mobile terminal may transmit the terminal environment information to the vehicle in several communication manners as follows.
In the ICCE protocol, after the mobile terminal and the vehicle establish Bluetooth connection, the mobile terminal sends a notification request message to the vehicle at regular time, and the vehicle feeds back a notification response message to the mobile terminal after receiving the notification request message.
When the mobile terminal sends the notification request message, the collected terminal environment information is added in the notification request message, and then the notification request message carrying the terminal environment information is sent to the vehicle.
Illustratively, the notification request message may include: a message type field value 0x03, a message destination field value 0x01, and terminal environment information. Where 0x03 denotes a notification type message, and 0x01 denotes that the message is used for state synchronization.
In the second transmission mode, in the ICCE protocol, after the mobile terminal and the vehicle establish a bluetooth connection, the vehicle may transmit a terminal information request instruction to the mobile terminal at regular time, and the mobile terminal feeds back a terminal information response message to the vehicle in response to the terminal information request instruction.
After the mobile terminal receives the terminal information request instruction each time, if the mobile terminal has collected the terminal environment information, the mobile terminal can feed back the terminal information and the collected terminal environment information to the vehicle when feeding back the terminal information response message.
Illustratively, the terminal information request instruction may include: a message type field value of 0x02, and a message destination field value of 0x06. Where 0x02 denotes an instruction type message, and 0x06 denotes that the instruction is used to acquire terminal information.
The advantage of transmitting the terminal environment information by the first transmission method and the second transmission method is that:
in the first sending mode and the second sending mode, the mobile terminal can add the terminal environment information into the original message defined by the ICCE protocol, so that the interaction of the terminal environment information is realized by utilizing the established interaction flow and the vehicle in the ICCE protocol, and the increase of the interaction flow between the mobile terminal and the vehicle is avoided.
And in the third sending mode, after the Bluetooth connection is established between the mobile terminal and the vehicle, the vehicle immediately sends an environment information request instruction to the mobile terminal. After the mobile terminal receives the environment information request instruction, if the mobile terminal finishes the acquisition of the terminal environment information, the mobile terminal responds to the environment information request instruction and feeds back an environment information response message to the vehicle, if the mobile terminal finishes the acquisition of the terminal environment information, the mobile terminal continues to acquire the terminal environment information, and after the acquisition is finished, the mobile terminal feeds back the environment information response message to the vehicle. The environment information response message carries the terminal environment information collected by the mobile terminal.
For example, the context information request instruction may include: a message type field value of 0x02, and a message destination field value of 0x09. Where 0x02 denotes an instruction type message, and 0x09 denotes an instruction for acquiring terminal environment information.
The advantage of sending the terminal environment information by the third sending mode is that:
in the third sending mode, the mobile terminal sends the terminal environment information through an independent message, so that errors in the transmission process of the terminal environment information are avoided, and the terminal environment information can be accurately transmitted to the vehicle.
Referring to fig. 9, when the communication protocol applied between the mobile terminal and the vehicle is Digital Key Release3 formulated for CCC, the mobile terminal may transmit the terminal environment information to the vehicle as follows.
And in the fourth sending mode, the vehicle sends a Ranging Session Request message (RS _ RQ) to the mobile terminal, wherein the Ranging Session Request message is used for starting a handshake process for establishing a Ranging Session.
The mobile terminal transmits a Ranging Session Response message (RS _ RS) to the vehicle in Response to the Ranging Session request message. When the mobile terminal sends the ranging session response message, if the terminal environment information is acquired, the terminal environment information is added into the ranging session response message, and the ranging session response message carrying the terminal environment information is sent.
The ranging session request message carries information such as a version of a CCC Digital Key standard used for the interaction selected by the vehicle, a UWB configuration identifier of the vehicle and the like. And the UWB configuration identifier of the vehicle is used for enabling the mobile terminal and the vehicle to negotiate and select UWB configuration parameters supported by both sides, such as a physical layer related parameter set.
The ranging session response message carries information such as a Radio Frequency (RF) channel in addition to the terminal environment information.
And in the fifth sending mode, the vehicle sends a Ranging Session Setup Request (RSS _ RQ) to the mobile terminal, wherein the Ranging Session Setup Request is used for initiating a handshake process in a Ranging Session.
The ranging session establishment request message may carry parameter information used in UWB ranging procedures such as a UWB channel, and the specific content of the message may refer to UWB ranging related standard 802.15.4 formulated by IEEE.
The mobile terminal transmits a Ranging Session Setup Response message (RSS _ RS) to the vehicle in Response to the Ranging Session Setup request message to complete the Setup handshake procedure in the Ranging Session.
The ranging session establishment response message carries the terminal environment information, and also carries parameter information used in the UWB ranging process, such as the start time reference of the UWB clock.
When sending the ranging session establishment response message, if the mobile terminal has collected the terminal environment information, the mobile terminal adds the terminal environment information to the ranging session establishment response message and sends the ranging session establishment response message carrying the terminal environment information.
Six transmission modes
The vehicle transmits a Ranging Session Request (RS _ RQ) message to the mobile terminal.
The mobile terminal transmits a demand Capability exchange (requisition Capability exchange) Notification message, which may be transmitted in a format of a digital key Event Notification (DK Event Notification), to the vehicle for notifying the other party of the use of a Ranging Capability (Ranging Capability) message to negotiate relevant parameters required for UWB Ranging.
The vehicle sends a Ranging Capability Request (RC _ RQ) message to the mobile terminal, and the message is sent to the mobile phone by the vehicle in the Ranging Capability interaction process. The ranging capability request message carries the version of the CCC Digital Key standard supported by the vehicle, the UWB configuration identifier of the vehicle and other information.
The mobile terminal transmits a Ranging Capability Response message (RC _ RS) to the vehicle. When sending the ranging capability response message, if the mobile terminal has collected the terminal environment information, the mobile terminal adds the terminal environment information to the ranging capability response message and sends the ranging capability response message carrying the terminal environment information.
The ranging capability response message carries the version of the CCC Digital Key standard used for the interaction, which is selected by the mobile terminal, and information such as the UWB configuration identifier of the mobile terminal, in addition to the terminal environment information. And the UWB configuration identifier of the mobile terminal is used for enabling the mobile terminal and the vehicle to negotiate and select UWB configuration parameters supported by both sides, such as a physical layer related parameter set.
The effect of sending the terminal environment information through the fourth sending mode to the sixth sending mode is consistent with the effect of sending the terminal environment information through the first sending mode and the second sending mode, and the description is omitted.
Seven transmission modes
The vehicle transmits a Ranging Session Request (RS _ RQ) message to the mobile terminal.
The mobile terminal sends a Current EnvInfo Acquire Notification message to the vehicle, wherein the message can be sent in a digital key Event Notification (DK Event Notification) format, and the Current environmental information acquisition message is used for declaring that the mobile terminal has completed the acquisition of the terminal environmental information to the vehicle and can send the terminal environmental information to the vehicle.
The vehicle responds to the Current environment information obtaining message, and sends a Current environment information Request message (CEI _ RQ) to the mobile terminal, wherein the Current EnvInfo Request message is used for requesting to obtain the Current environment information of the mobile terminal.
The mobile terminal transmits a Current environment information Response message (CEI _ RS) to the vehicle. When sending the current environment information response message, the mobile terminal adds the terminal environment information into the current environment information response message and sends the current environment information response message carrying the terminal environment information.
The effect of sending the terminal environment information through the seventh sending mode is consistent with the effect of sending the terminal environment information through the third sending mode, and the description is omitted.
Example two
S1001, the mobile terminal starts the digital vehicle key function.
S1002, the mobile terminal collects terminal environment information.
The specific implementation of steps S1001 and S1002 is the same as steps S501 and S502 in the embodiment shown in fig. 5, and will not be described again.
S1003, the mobile terminal determines an unlocking strategy corresponding to the terminal environment information.
The way of the mobile terminal determining the unlocking strategy corresponding to the terminal environment information is consistent with the way of the vehicle determining the unlocking strategy corresponding to the terminal environment information in step S504.
When the mobile terminal determines the unlocking policy based on the correspondence table as shown in tables 2 to 5, the correspondence table may be stored in the internal memory of the mobile terminal shown in fig. 1.
In some possible embodiments, when the mobile terminal determines the unlocking policy corresponding to the terminal environment information based on the machine learning technique or the deep learning technique, the unlocking policy model may be stored in an internal memory of the mobile terminal, and when step S1003 is executed, the processor of the mobile terminal loads the unlocking policy model from the internal memory so as to analyze the unlocking policy corresponding to the terminal environment information by using the unlocking policy model.
In other possible embodiments, the unlocking policy model may also be stored in the server, when the mobile terminal executes step S1003, the mobile terminal sends the terminal environment information to the server, and after receiving the terminal environment information, the server loads the stored unlocking policy model, analyzes the terminal environment information sent by the mobile terminal using the unlocking policy model, obtains a corresponding unlocking policy, and then feeds back the unlocking policy to the mobile terminal.
The manner in which the mobile terminal obtains the unlocking strategy model is the same as the manner in which the vehicle obtains the unlocking strategy model in step S504, and is not described again.
And S1004, the mobile terminal sends the unlocking strategy corresponding to the terminal environment information to the vehicle.
The manner in which the mobile terminal sends the unlocking policy to the vehicle may be the same as the manner in which the mobile terminal sends the terminal environment information to the vehicle in step S503, and is not described again.
And S1005, controlling the door of the vehicle to be unlocked according to the unlocking strategy by the vehicle.
The specific implementation of step S1005 is consistent with the way in which the vehicle door is controlled to unlock according to the unlocking strategy in step S504, and will not be described again.
The terminal environment information collected by the mobile terminal in the foregoing embodiment is only one example of the vehicle unlocking method provided in the embodiment of the present application. In some optional embodiments, the terminal environment information collected by the mobile terminal may include only a part of the information listed in the above embodiments. Therefore, the specific content of the unlocking strategy determined by the mobile terminal according to the terminal environment information can be adjusted correspondingly.
In an alternative example, the terminal environment information may include a geographical location, time, moving speed, and relative distance. The mobile terminal determines an unlocking distance according to the geographic position, the time and the moving speed, determines an unlocking requirement according to whether the relative distance is smaller than the unlocking distance, and sends the unlocking requirement to the vehicle as an unlocking strategy. After the vehicle receives the unlocking strategy, if the unlocking requirement is that unlocking is needed, the vehicle can directly unlock all doors of the vehicle, and can only unlock a plurality of doors preset by a user.
In another alternative example, the terminal environment information may include a relative position, an identity, and a relative distance. After the mobile terminal collects terminal environment information, an unlocking position is determined according to the relative position and the identity mark, then an unlocking requirement is determined according to whether the relative distance is smaller than a preset unlocking distance, and the unlocking requirement and the unlocking position are used as an unlocking strategy to be sent to the vehicle. After the vehicle receives the unlocking strategy, if the unlocking requirement is that unlocking is needed, unlocking the door corresponding to the unlocking position; and if the unlocking position is not needed to be unlocked, controlling the door corresponding to the unlocking position to be locked by the vehicle, and not unlocking the door. In the present example, the unlocking distance may be a fixed value, such as a fixed unlocking distance of 5 meters.
In yet another alternative example, the terminal environment information may include state information, direction information, and relative distance. After the mobile terminal collects the terminal environment information, the relative distance is compared with a preset unlocking distance, and a comparison result of the relative distance and the unlocking distance is obtained. If the comparison result shows that the relative distance is smaller than the unlocking distance, the mobile terminal identifies whether the state information is movement or not and whether the direction information is an approaching vehicle or not. If the state information is recognized as motion and the direction information is recognized as an approaching vehicle, the mobile terminal determines that the unlocking requirement is that unlocking is needed; if the state information is not recognized to be motion or the direction information is not recognized to be approaching to the vehicle, the mobile terminal determines that the unlocking requirement is that unlocking is not needed. And then the mobile terminal sends the unlocking requirement as an unlocking strategy to the vehicle, after the vehicle receives the unlocking strategy, if the unlocking requirement is unlocking requirement, the vehicle unlocks the specific vehicle door, and if the unlocking requirement is unlocking requirement, the vehicle does not unlock the vehicle door.
The embodiment of the present application further provides a device for unlocking a vehicle, which is applied to a mobile terminal, please refer to fig. 11, and the device may include the following units:
an acquisition unit 1101 configured to acquire terminal information and a relative distance between the mobile terminal and the vehicle; the terminal information is used for determining any one or more of an unlocking distance, an unlocking requirement and a vehicle door to be unlocked.
The determining unit 1102 is configured to determine an unlocking requirement according to a comparison result between the relative distance and the unlocking distance.
The sending unit 1103 is configured to send an unlocking demand to the vehicle, so that the vehicle controls the door to be unlocked or locked according to the unlocking demand.
In some optional embodiments, the device for unlocking a vehicle according to the embodiments of the present application may also not include a determining unit, and in this case, after the obtaining unit obtains the terminal information and the relative distance, the sending unit directly sends the terminal information and the relative distance to the vehicle, so that the vehicle determines a corresponding unlocking strategy according to the terminal information and the relative distance and controls unlocking or locking of the vehicle door.
In some optional embodiments, the terminal information is used to determine the unlocking requirement, and to determine the geographic location and/or the door to be unlocked.
In some optional embodiments, the terminal information comprises a geographic location of the mobile terminal and a current time.
In some alternative embodiments, the unlock distance is determined based on a geographic location and a current time.
In some optional embodiments, the unlocking distance is determined according to a preset correspondence between the geographic location, the current time, and the unlocking distance.
In some optional embodiments, when the geographic position is in a preset unsafe zone, or the current time is in a preset unsafe period, the unlocking distance is a first unlocking distance;
when the geographic position is located in a preset safe area and the current time is located in a preset safe time period, the unlocking distance is a second unlocking distance; the first unlocking distance is smaller than the second unlocking distance.
In some optional embodiments, the terminal information further includes a moving speed of the mobile terminal; the unlocking distance is determined according to the geographic position, the time and the moving speed.
In some optional embodiments, the terminal information further includes state information and direction information; the state information is a motion state or a static state; the direction information is approaching the vehicle or departing from the vehicle.
In some optional embodiments, the unlocking requirement is determined according to the comparison result, the state information and the direction information.
In some optional embodiments, the unlocking requirement is determined according to a preset corresponding relationship between the comparison result, the state information, the direction information and the unlocking requirement.
In some optional embodiments, when the comparison result is that the relative distance is smaller than the unlocking distance, the state information is the motion state, and the direction information is the approaching vehicle, the unlocking requirement is that unlocking is required.
In some optional embodiments, the terminal information further comprises a relative orientation of the mobile terminal and the vehicle, and an identification of the mobile terminal.
In some optional embodiments, the door to be unlocked is determined based on the relative orientation and the identification.
In some optional embodiments, the vehicle door to be unlocked is determined according to a preset corresponding relationship among the relative position, the identity mark and the vehicle door position.
In some optional embodiments, the mobile terminal sends the unlocking requirement to the vehicle, including:
the mobile terminal sends an unlocking demand to the vehicle based on the Bluetooth connection;
or,
the mobile terminal sends an unlocking demand to the vehicle through the server.
In some optional embodiments, before the mobile terminal obtains the terminal information and the relative distance between the mobile terminal and the vehicle, the method further includes:
the mobile terminal responds to the unlocking operation of a user or responds to the Bluetooth communication range of the mobile terminal in the vehicle, the digital vehicle key function is started, and Bluetooth connection is established with the vehicle.
The specific working principle of the device for unlocking a vehicle provided by the embodiment of the application can refer to the relevant steps in the method for unlocking a vehicle provided by any embodiment of the application, so that the device has the beneficial effect consistent with the method for unlocking a vehicle provided by the embodiment of the application, and the details are not repeated here.
An embodiment of the present application further provides an electronic device, which includes: one or more processors and memory storage to store one or more programs;
the one or more processors are configured to execute the one or more programs to cause the electronic device to perform the method for unlocking the vehicle provided by any embodiment of the present application.
In some alternative embodiments, the electronic device may be the electronic device shown in fig. 1, the processor may be the processor 110 shown in fig. 1, and the memory may be the internal memory 120 shown in fig. 1.
The embodiment of the present application further provides a computer storage medium, which is used for storing a computer program, and when the stored computer program is executed, the method for unlocking a vehicle provided by the embodiment of the present application is specifically implemented.
The embodiment of the present application further provides a computer program product, which includes a plurality of executable computer commands, and when the computer commands of the product are executed, the computer program product is specifically used for implementing the method for unlocking a vehicle provided in any embodiment of the present application.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (22)

1. A method of unlocking a vehicle, comprising:
the method comprises the steps that a mobile terminal obtains terminal information and the relative distance between the mobile terminal and a vehicle; the terminal information is used for the mobile terminal to determine any one or more of an unlocking distance, an unlocking requirement and a vehicle door to be unlocked;
the mobile terminal determines the unlocking requirement according to the comparison result of the relative distance and the unlocking distance;
and the mobile terminal sends the unlocking requirement to the vehicle, so that the vehicle controls the unlocking or locking of the door to be unlocked according to the unlocking requirement.
2. A method of unlocking a vehicle, comprising:
the method comprises the steps that a mobile terminal obtains terminal information and the relative distance between the mobile terminal and a vehicle;
the mobile terminal sends the terminal information and the relative distance to the vehicle, so that the vehicle determines an unlocking requirement according to a comparison result of the relative distance and the unlocking distance, and controls the unlocking or locking of the vehicle door to be unlocked according to the unlocking requirement; the terminal information is used for determining any one or more of an unlocking distance, an unlocking requirement and a door to be unlocked of the vehicle.
3. Method according to claim 1 or 2, characterized in that the terminal information is used for determining the unlocking requirement and for determining the unlocking distance and/or the vehicle door to be unlocked.
4. The method according to any of claims 1 to 3, characterized in that the terminal information comprises the geographical location and the current time of the mobile terminal.
5. The method of claim 4, wherein the unlock distance is determined based on the geographic location and the current time.
6. The method of claim 5, wherein the unlocking distance is determined according to a preset correspondence between the geographic location, the current time, and the unlocking distance.
7. The method of claim 6, wherein the unlocking distance is a first unlocking distance when the geographic location is in a preset unsafe zone or the current time is in a preset unsafe period;
when the geographic position is located in a preset safety area and the current time is located in a preset safety time period, the unlocking distance is a second unlocking distance; the first unlocking distance is smaller than the second unlocking distance.
8. The method according to any one of claims 3 to 7, wherein the terminal information further includes a moving speed of the mobile terminal; the unlocking distance is determined according to the geographic position, the current time and the moving speed.
9. The method according to any one of claims 1 to 8, wherein the terminal information further comprises status information and direction information; the state information is a motion state or a static state; the direction information is approaching the vehicle or departing from the vehicle.
10. The method of claim 9, wherein the unlocking requirement is determined according to the comparison result, the state information and the direction information.
11. The method according to claim 10, wherein the unlocking requirement is determined according to a preset corresponding relationship between the comparison result, the state information, the direction information and the unlocking requirement.
12. The method according to claim 11, wherein when the comparison result is that the relative distance is smaller than the unlocking distance, the state information is a motion state, and the direction information is an approaching vehicle, the unlocking requirement is that unlocking is required.
13. The method according to any of claims 1 to 12, characterized in that the terminal information further comprises the relative orientation of the mobile terminal and the vehicle, and the identity of the mobile terminal.
14. The method of claim 13, wherein the door to be unlocked is determined based on the relative orientation and the identification;
and when the mobile terminal sends the unlocking requirement to the vehicle, the mobile terminal sends the door to be unlocked and the unlocking requirement to the vehicle.
15. The method according to claim 14, wherein the vehicle door to be unlocked is determined according to a preset correspondence of the relative orientation, the identification and the vehicle door position.
16. The method of claim 1, wherein the mobile terminal sending the unlocking requirement to the vehicle comprises:
the mobile terminal sends the unlocking requirement to the vehicle based on Bluetooth connection;
or,
and the mobile terminal sends the unlocking requirement to the vehicle through a server.
17. The method of claim 1, wherein before the mobile terminal obtains the terminal information and the relative distance between the mobile terminal and the vehicle, further comprising:
the mobile terminal receives an unlocking operation of a user;
or,
the mobile terminal detects that the mobile terminal is within the Bluetooth communication range of the vehicle.
18. A vehicle unlocking device is characterized by being applied to a mobile terminal and comprising:
the mobile terminal comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring terminal information and the relative distance between the mobile terminal and a vehicle; the terminal information is used for determining any one or more of an unlocking distance, an unlocking requirement and a vehicle door to be unlocked;
the determining unit is used for determining the unlocking requirement according to the comparison result of the relative distance and the unlocking distance;
and the sending unit is used for sending the unlocking requirement to the vehicle so that the vehicle controls the unlocking or locking of the door to be unlocked according to the unlocking requirement.
19. A method for unlocking a vehicle is applied to a mobile terminal, and the device comprises the following steps:
the mobile terminal comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring terminal information and the relative distance between the mobile terminal and a vehicle;
the sending unit is used for sending the terminal information and the relative distance to the vehicle, enabling the vehicle to determine an unlocking requirement according to a comparison result of the relative distance and the unlocking distance, and controlling the unlocking or locking of a vehicle door to be unlocked according to the unlocking requirement; the terminal information is used for determining any one or more of an unlocking distance, an unlocking requirement and a door to be unlocked of the vehicle.
20. An electronic device, characterized in that the electronic device comprises: one or more processors and memory for storing one or more programs;
the one or more processors are configured to execute the one or more programs to cause the electronic device to perform the method of unlocking a vehicle as provided by any of claims 1-17.
21. A computer storage medium for storing a computer program, which, when executed, is particularly adapted to carry out a method of unlocking a vehicle as provided in any one of claims 1 to 17.
22. A computer program product comprising a plurality of executable computer commands, the computer commands of the computer product, when executed, being embodied to implement a method of unlocking a vehicle as claimed in any one of claims 1 to 17.
CN202111032107.0A 2021-09-03 2021-09-03 Method, device, equipment, storage medium and program product for unlocking vehicle Pending CN115761938A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111032107.0A CN115761938A (en) 2021-09-03 2021-09-03 Method, device, equipment, storage medium and program product for unlocking vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111032107.0A CN115761938A (en) 2021-09-03 2021-09-03 Method, device, equipment, storage medium and program product for unlocking vehicle

Publications (1)

Publication Number Publication Date
CN115761938A true CN115761938A (en) 2023-03-07

Family

ID=85332512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111032107.0A Pending CN115761938A (en) 2021-09-03 2021-09-03 Method, device, equipment, storage medium and program product for unlocking vehicle

Country Status (1)

Country Link
CN (1) CN115761938A (en)

Similar Documents

Publication Publication Date Title
CN111801967B (en) Electronic device using multiple subscriber identity modules and method for providing communication service thereof
US9426724B2 (en) Apparatus, system and method of controlling wireless scanning
US20190037034A1 (en) Mobile terminal and method for controlling the same
CN103002551B (en) A kind of electricity saving method of communication terminal
US9794734B2 (en) Terminal switching method, access device, terminal, and system
CN113553600B (en) Resource acquisition method, system, server and storage medium
CN114257960B (en) Bluetooth connection method and device
US10015257B2 (en) Vehicle access point scanning for acquiring network access via an external access point
WO2014100943A1 (en) Method and apparatus for controlling wireless fidelity device in terminal, and terminal
CN111970659A (en) Vehicle control method and system based on terminal equipment
CN109152088B (en) Wireless device connection management method
KR101808696B1 (en) Mobile terminal and method for controlling of thereof
CN109462626A (en) A kind of vehicle enters system and car key, vehicle sharing method
US20230134028A1 (en) METHOD AND APPARATUS OF POSITIONING BETWEEN UEs, COMMUNICATION DEVICE AND STORAGE MEDIUM
CN113765546A (en) Virtual card switching method and electronic equipment
US20240244574A1 (en) Method for tracking area processing
CN113573239B (en) Virtual card switching method, electronic equipment and wearable equipment
EP2767104B1 (en) Method and apparatus for controlling a device
CN115529551A (en) Data interaction method, device, system, mobile terminal and storage medium
CN112449305B (en) WiFi connection method, control method, mobile terminal, equipment and server
CN115761938A (en) Method, device, equipment, storage medium and program product for unlocking vehicle
CN118235445A (en) Method and system for accessing functions of a vehicle via a mobile device
CN110228447A (en) The method and onboard system of the keyless entry function of vehicle are realized using intelligent antenna equipment
US11640453B2 (en) User authentication facilitated by an additional device
CN114449446A (en) Virtual card switching method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination