Method, device, electronic equipment and readable storage medium for unlocking vehicle
By using a cloud service platform for vehicle unlocking systems to perform triple verification, the problem of existing car unlocking methods being simple and insecure has been solved, achieving vehicle unlocking that is highly secure, convenient, and low-cost.
Patent Information
- Application Number
- CN202311434228.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-31
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2043-10-31
AI Technical Summary
Existing car unlocking methods are relatively simple but have low security, and traditional keys are inconvenient to carry, easy to lose, and costly.
The cloud service platform of the vehicle unlocking system receives the vehicle identification code and the encrypted data signature packet, and performs triple verification: verifying whether the timestamp is within the allowed range, and whether the facial image on the vehicle matches the facial image on the cloud. If they match, an unlocking command is sent to the vehicle system.
It improves vehicle unlocking security, avoids the inconvenience of carrying keys, reduces the number of keys, and lowers costs.
Smart Images

Figure CN117423177B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and more particularly to a method, apparatus, electronic device, and readable storage medium for unlocking a vehicle. Background Technology
[0002] Current car unlocking methods rely on a matched key and the central locking system's wireless remote control. The car's antenna receives the key's electronic signal command, which is then recognized by the door's electronic controller to activate the actuator and perform the locking / unlocking action. However, with societal development, the demand for fast and secure identity verification is increasing. Facial recognition technology is now widely used in property management, financial payments, smart homes, and many other fields, significantly improving the security and convenience of people's lives. Traditional car key unlocking methods no longer meet these needs, as they suffer from several problems: firstly, keys are inconvenient to carry and easily lost; secondly, strangers can easily unlock the vehicle with the key, compromising security; and thirdly, keys are expensive to manufacture, as traditional cars only have two keys, making key duplication costly and time-consuming.
[0003] Among related technologies, there are solutions for unlocking vehicles using facial recognition, which can enhance the convenience and security of traditional vehicle unlocking methods. However, existing solutions only unlock the vehicle if the user is a registered user. This unlocking method is relatively simple and has low security. Summary of the Invention
[0004] In view of this, embodiments of this application provide a method, apparatus, electronic device, and readable storage medium for unlocking a vehicle, in order to solve the problem that the vehicle unlocking methods in the prior art are relatively simple and have low security.
[0005] A first aspect of this application provides a method for unlocking a vehicle, applied to a cloud service platform for a vehicle unlocking system. The vehicle unlocking system further includes a vehicle-end system wirelessly connected to the cloud service platform. The method for unlocking the vehicle includes:
[0006] Receive the vehicle identification code and encrypted data signature packet sent from the vehicle system;
[0007] When the vehicle identification code is the same as the pre-stored cloud identification code, retrieve the pre-stored first cloud facial image and cloud key corresponding to the cloud identification code;
[0008] Based on the cloud key, the data signature packet is decrypted to obtain the vehicle's facial image and current timestamp;
[0009] Verify that the current timestamp is within the allowed time range;
[0010] Verify whether the facial image on the vehicle matches the facial image on the cloud.
[0011] If the current timestamp is within the allowed time range and the vehicle-side facial image matches the first cloud-based facial image, a first unlocking command is sent to the vehicle-side system so that the vehicle-side system can control the vehicle to unlock.
[0012] A second aspect of this application provides a vehicle unlocking device applied to a cloud service platform for a vehicle unlocking system. The vehicle unlocking system further includes a vehicle-end system wirelessly connected to the cloud service platform. The vehicle unlocking device includes:
[0013] The first receiving module is configured to receive the vehicle identification code and the encrypted data signature packet sent from the vehicle system.
[0014] The acquisition module is configured to acquire the first cloud-based facial image and cloud key pre-stored for the corresponding cloud-based identification code when the vehicle-side identification code is the same as the pre-stored cloud-based identification code.
[0015] The decryption module is configured to decrypt the data signature packet based on the cloud key to obtain the vehicle-side facial image and the current timestamp;
[0016] The first verification module is configured to verify whether the current timestamp is within the allowed time range;
[0017] The second verification module is configured to verify whether the vehicle-side facial image matches the first cloud-based facial image.
[0018] The unlocking module is configured to send a first unlocking command to the vehicle system if the current timestamp is within the allowed time range and the vehicle-side facial image matches the first cloud-based facial image, so that the vehicle-side system can control the vehicle to unlock.
[0019] A third aspect of this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above-described method.
[0020] A fourth aspect of this application provides a readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described method.
[0021] The beneficial effects of this application embodiment compared with the prior art are as follows: It receives a vehicle identification code and an encrypted data signature packet sent from the vehicle-side system; when the vehicle identification code matches a pre-stored cloud identification code, it obtains the pre-stored first cloud facial image and cloud key corresponding to the cloud identification code; based on the cloud key, it decrypts the data signature packet to obtain the vehicle facial image and current timestamp; it verifies whether the current timestamp is within the allowed time range; it verifies whether the vehicle facial image matches the first cloud facial image; if the current timestamp is within the allowed time range and the vehicle facial image matches the first cloud facial image, it sends a first unlocking command to the vehicle-side system, enabling the vehicle-side system to control vehicle unlocking. Using the above technical means, it is first necessary to decrypt the data signature packet sent from the vehicle-side system, and then verify the decrypted vehicle facial image and current timestamp twice, which is equivalent to passing triple verification to unlock the vehicle, thus improving the security of vehicle unlocking. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 This is a flowchart illustrating a method for unlocking a vehicle provided in an embodiment of this application;
[0024] Figure 2 This is a schematic diagram of the architecture of a vehicle unlocking system provided in an embodiment of this application;
[0025] Figure 3 This is a schematic diagram of the locking / unlocking and early warning process of a vehicle unlocking system provided in an embodiment of this application;
[0026] Figure 4 This is a schematic diagram of the structure of a vehicle unlocking device provided in an embodiment of this application;
[0027] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0028] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0029] A method and apparatus for unlocking a vehicle according to an embodiment of this application will now be described in detail with reference to the accompanying drawings.
[0030] Figure 1 This is a flowchart illustrating a method for unlocking a vehicle provided in an embodiment of this application. Figure 1 A flowchart illustrating a method for unlocking a vehicle can be derived from... Figure 2 The vehicle unlocking system is executed by a cloud service platform. The vehicle unlocking system also includes a vehicle-side system wirelessly connected to the cloud service platform. Vehicle unlocking methods include:
[0031] S101, receive the vehicle identification code and the encrypted data signature packet sent from the vehicle system;
[0032] S102, when the vehicle identification code is the same as the pre-stored cloud identification code, obtain the pre-stored first cloud facial image and cloud key corresponding to the cloud identification code;
[0033] S103, based on the cloud key, decrypts the data signature packet to obtain the vehicle-side facial image and current timestamp;
[0034] S104, Verify whether the current timestamp is within the allowed time range;
[0035] S105, verify whether the vehicle-side facial image matches the first cloud-based facial image;
[0036] S106, if the current timestamp is within the allowed time range and the vehicle-side facial image matches the first cloud-based facial image, send the first unlocking command to the vehicle-side system so that the vehicle-side system can control the vehicle to unlock.
[0037] Specifically, such as Figure 2As shown, the vehicle unlocking system mainly comprises a mobile terminal, a cloud service platform, and a vehicle-side system. The mobile terminal includes an information collection module, a vehicle warning module, and a vehicle locking module. The information collection module includes a facial data acquisition unit and a vehicle information input unit. The facial data acquisition unit is used to collect facial data, and the vehicle information input unit is used to collect vehicle data. The cloud service platform includes a data verification module, a vehicle control command module, and a data storage module. The data verification module includes a facial data verification unit and a vehicle information verification unit, and the data storage module includes a vehicle data storage unit and a facial data storage unit. The vehicle-side system includes a vehicle-side image processing module and a body control processing module. The vehicle-side image processing module includes a vehicle camera assembly and an image processing and recognition unit. The body control processing module includes a vehicle remote communication system, a body controller, and various ECU (Engine Control Unit) actuators.
[0038] Specifically, the mobile terminal has a car owner's app. The car owner can use this app to collect relevant data and upload it to a cloud service platform. The cloud service platform is responsible for storing the uploaded data. When a user gets into the car, the vehicle's system performs facial recognition and transmits the facial recognition data to the cloud service platform. The cloud service platform then verifies and compares the stored data with the data uploaded by the vehicle's system. Based on the comparison result, it issues a warning or issues an unlock command to the vehicle's system. The mobile terminal can be a smartphone, tablet, etc. Figure 3 As shown, car owners enter vehicle-related information and facial information through a mobile app for subsequent facial recognition verification. The specific steps are as follows:
[0039] (1) The car owner's APP on the mobile terminal receives the Bluetooth connection command triggered by the car owner, so that the mobile terminal connects to the vehicle system for the first time via Bluetooth, and obtains the vehicle key by connecting to the vehicle system. The vehicle key is automatically compatible with the vehicle system.
[0040] (2) The information collection module of the car owner's APP on the mobile terminal receives the vehicle information input instruction triggered by the car owner. The input vehicle information may include vehicle model, license plate number, vehicle VIN code (vehicle identification code), name, ID number, vehicle registration certificate and related purchase information, etc. The vehicle VIN code is the unique ID of the vehicle. The obtained vehicle terminal key and vehicle data are uploaded to the cloud service platform. The data verification module of the cloud service platform verifies whether the vehicle data matches the locally stored vehicle data. If the vehicle data verification is successful, the vehicle data, vehicle terminal key and vehicle identification code are all stored in the data storage module. Specifically, after the vehicle data is verified by the vehicle information verification unit, the vehicle data, vehicle terminal key and vehicle identification code are all stored in the vehicle data storage unit of the data storage module. The locally stored vehicle data can be the vehicle data that the car owner stored on the cloud service platform when purchasing the car.
[0041] (3) After the vehicle data verification is passed, the information collection module of the car owner APP on the mobile terminal receives the facial information collection instruction triggered by the car owner and starts to collect facial data. It collects facial data by calling the camera device of this mobile terminal and uploads the collected facial data to the cloud service platform. Multiple facial data can be repeatedly recorded. After verifying the integrity of the facial data, the data verification module of the cloud service platform extracts the features of the facial data to obtain facial feature data. The facial feature data is bound to the vehicle data through the vehicle identification code and stored in the data storage module. Specifically, after the facial data is verified to be complete by the facial data verification unit, the facial data is extracted to obtain facial feature data. The facial feature data is bound to the vehicle data through the vehicle identification code and stored in the facial data storage unit.
[0042] Therefore, the vehicle owner sends the vehicle identification code, vehicle data, facial feature data, and vehicle key to the cloud service platform via the mobile terminal's vehicle owner APP. After the cloud service platform verifies the information, the vehicle identification code, vehicle data, facial feature data, and vehicle key are stored in the data storage module as the cloud identification code, cloud vehicle data, first cloud facial image, and cloud key, respectively, for subsequent verification.
[0043] In some embodiments, the vehicle unlocking system further includes a mobile terminal wirelessly connected to a cloud service platform, and the vehicle unlocking method further includes:
[0044] Receive vehicle identification number, facial data and vehicle key sent from mobile terminal;
[0045] Verify that the facial data is complete;
[0046] If the facial data is complete, feature extraction is performed on the facial data to obtain facial feature data. The facial feature data is used as the first cloud facial image, the vehicle key is used as the cloud key, and the vehicle identification code is used as the cloud identification code. A correspondence is established between the cloud identification code and the first cloud facial image and the cloud key.
[0047] Pre-store cloud identification code, first cloud facial image, cloud key and corresponding relationship.
[0048] Specifically, the cloud service platform receives vehicle identification number (VIN), vehicle data, facial data, and vehicle key from the mobile terminal. The vehicle data can include vehicle model, license plate number, name, ID number, and vehicle registration information. Then, it verifies the completeness of the facial data. This facial data can include the facial data of multiple people, including the vehicle owner; for example, it can include the vehicle owner's facial data and the facial data of a familiar person, such as a relative or friend. If the facial data is complete, feature extraction is performed to obtain first and second facial feature data. The first facial feature data is used as the first cloud-based facial image, the second facial feature data as the second cloud-based facial image, the vehicle key as the cloud-based key, and the vehicle identification number as the cloud-based identification number. A correspondence is established between the cloud-based identification number and the first, second, and cloud-based facial images and keys. The cloud-based identification number, the first cloud-based facial image, the second cloud-based facial image, the cloud-based key, and the corresponding relationships are pre-stored. The first facial feature data is the vehicle owner's facial feature data, and the second facial feature data is the facial feature data of a familiar person.
[0049] like Figure 3 As shown, when a user approaches the vehicle door of the vehicle-side system, the vehicle's camera component intelligently captures the user's facial image and transmits it to the image processing and recognition unit. Based on the received facial image, the image processing and recognition unit extracts facial feature images and a current timestamp, encrypts the facial feature data and timestamp to form a data signature packet, and transmits the stored vehicle-side identification code and data signature packet to the cloud service platform. When the vehicle-side identification code matches the cloud identification code pre-stored on the cloud service platform, the pre-stored first cloud facial image and cloud key are retrieved based on the cloud identification code. The facial feature image uploaded by the vehicle-side system's image processing and recognition unit is compared one by one with the first cloud facial image to determine if they match. If the facial feature image matches the first cloud facial image, the verification is successful; if they do not match, the verification fails.
[0050] Specifically, the vehicle-mounted system's camera component acquires the user's facial image and outputs it to the image processing unit. The image processing unit uses the Holistic method, which provides global information, to extract and locate the facial image, obtaining a complete facial image. Using the LBP algorithm, the complete facial image is proportionally divided into a 7x7 histogram, from which facial feature data is extracted. Based on the locally stored vehicle-mounted key, the facial feature data and the current timestamp are encrypted using MD5 to form a data signature packet. Finally, the data signature packet and the locally stored vehicle-mounted identification code are uploaded to the data verification module of the cloud service platform.
[0051] The cloud service platform's data verification module receives the vehicle identification code and encrypted data signature packet sent from the vehicle-side system. When the vehicle identification code matches the pre-stored cloud identification code, it retrieves the pre-stored first cloud facial image and cloud key corresponding to the cloud identification code. Based on the cloud key, it decrypts the data signature packet using the MD5 decryption method to obtain the vehicle facial image and current timestamp. It verifies whether the current timestamp is within the allowed time range. It verifies whether the vehicle facial image matches the first cloud facial image using a geometric feature matching algorithm. If the current timestamp is within the allowed time range and the vehicle facial image matches the first cloud facial image, both verifications are successful. The vehicle control command module sends a first unlocking command to the vehicle remote communication system of the vehicle-side system. The vehicle remote communication system receives the first unlocking command and identifies it to form multiple vehicle control commands. The body controller sends the corresponding vehicle control requests of each vehicle control command to the corresponding ECU actuators, which then complete the corresponding vehicle control commands, enabling the vehicle-side system to unlock the vehicle.
[0052] The order of the two verifications is not specifically limited. It can first verify whether the current timestamp is within the allowed time range, and then verify whether the vehicle-side facial image matches the first cloud-based facial image; alternatively, it can first verify whether the vehicle-side facial image matches the first cloud-based facial image, and then verify whether the current timestamp is within the allowed time range.
[0053] In one embodiment, first verifying whether the current timestamp is within the allowed time range, and then verifying whether the vehicle-side facial image matches the first cloud-based facial image, may specifically include:
[0054] Based on the current timestamp, the first verification is performed, which includes verifying whether the current timestamp is within the allowed time range;
[0055] If the current timestamp is within the allowed time range, the first verification will succeed;
[0056] In response to the successful first verification, a second verification is performed based on the facial image on the vehicle. The second verification includes verifying whether the facial image on the vehicle matches the first facial image on the cloud.
[0057] If the facial image on the vehicle matches the first facial image on the cloud, the second verification is successful.
[0058] Upon successful verification on the second attempt, a first unlocking command is sent to the vehicle system, enabling the vehicle system to unlock the vehicle.
[0059] In another embodiment, verifying whether the vehicle-side facial image matches the first cloud-based facial image, and then verifying whether the current timestamp is within the allowed time range, may specifically include:
[0060] Based on the facial image on the vehicle, the first verification is performed, which includes verifying whether the facial image on the vehicle and the facial image on the cloud match.
[0061] If the facial image on the vehicle matches the first facial image on the cloud, the first verification is successful;
[0062] In response to the successful first verification, a second verification is performed based on the current timestamp. The second verification includes verifying whether the current timestamp is within the allowed time range.
[0063] If the current timestamp is within the allowed time range, the second verification will succeed;
[0064] Upon successful verification on the second attempt, a first unlocking command is sent to the vehicle system, enabling the vehicle system to unlock the vehicle.
[0065] According to the technical solution provided in this application, the system receives a vehicle identification code and an encrypted data signature packet sent from the vehicle-side system. When the vehicle identification code matches a pre-stored cloud identification code, the system obtains a pre-stored first cloud facial image and a cloud key corresponding to the cloud identification code. Based on the cloud key, the data signature packet is decrypted to obtain the vehicle facial image and a current timestamp. The system verifies whether the current timestamp is within the allowed time range and whether the vehicle facial image matches the first cloud facial image. If the current timestamp is within the allowed time range and the vehicle facial image matches the first cloud facial image, a first unlocking command is sent to the vehicle-side system, enabling the system to unlock the vehicle. Using this technical method, the system first needs to decrypt the data signature packet sent from the vehicle-side system, and then verify the decrypted vehicle facial image and current timestamp twice, effectively requiring triple verification to unlock the vehicle. This improves the security of vehicle unlocking and eliminates the need to carry a key, making it convenient and efficient.
[0066] In some embodiments, the method for unlocking a vehicle further includes:
[0067] If the current timestamp is outside the allowed time range, or if the vehicle-side facial image and the first cloud-based facial image do not match, a warning message is sent to the mobile terminal, and a first mismatch message is sent to the vehicle-side system.
[0068] Specifically, such as Figure 3As shown, if the current timestamp is outside the allowed time range, or if the vehicle-mounted facial image and the first cloud-based facial image do not match, the cloud service platform sends a warning message to the vehicle warning module of the mobile owner's app. The warning message may include the vehicle-mounted facial image, vehicle status, and corresponding command options. The mobile owner's app displays a warning message to alert the owner that someone is attempting to unlock the vehicle. The owner can view the current vehicle-mounted facial image in the vehicle warning module of the mobile owner's app and determine whether it is an unknown person. The owner can perform the following actions through the vehicle lock control module of the mobile owner's app:
[0069] Optionally, when the vehicle identification code is the same as the pre-stored cloud identification code, the pre-stored first cloud facial image and cloud key of the corresponding cloud identification code are obtained, including: when the vehicle identification code is the same as the pre-stored cloud identification code, the pre-stored first cloud facial image, second cloud facial image and cloud key of the corresponding cloud identification code are obtained.
[0070] Optionally, the warning information includes a facial image of the vehicle; other methods for unlocking the vehicle include:
[0071] Verify whether the facial image on the vehicle matches the facial image on the second cloud platform.
[0072] If the facial image on the vehicle matches the facial image on the second cloud, send the matching information to the mobile terminal.
[0073] Receive a second unlocking command sent by the mobile terminal based on matching information and facial image on the vehicle;
[0074] The second unlocking command is forwarded to the vehicle system, enabling the vehicle system to unlock the vehicle.
[0075] Specifically, the first cloud-based facial image refers to the vehicle owner's own facial image, and the second cloud-based facial image refers to the facial image of a familiar person. This familiar person could be a relative or friend of the vehicle owner. If the vehicle's facial image does not match the first cloud-based facial image, but matches the second cloud-based facial image, it can be determined that a familiar person is attempting to unlock the vehicle using facial recognition. Figure 3 As shown, if a familiar person attempts to unlock the vehicle using facial recognition, the vehicle control module of the owner's mobile app can be linked to the cloud service platform's vehicle control command module to manually send a second unlocking command to the vehicle system for remote unlocking.
[0076] Alternatively, vehicle unlocking methods may also include:
[0077] If the facial image on the vehicle does not match the second facial image on the cloud, a second mismatch message is sent to the mobile terminal.
[0078] Specifically, if the facial image on the vehicle does not match the first cloud-based facial image or the second cloud-based facial image, it can be determined that an unknown person is attempting to unlock the vehicle using facial recognition.
[0079] Optionally, the warning information may also include vehicle status and corresponding instruction options;
[0080] When the vehicle status of the vehicle-end system is locked, the corresponding command options include forced locking command and third unlocking command.
[0081] When the vehicle status of the vehicle-end system is unlocked and not started, the corresponding command options include forced engine shutdown command and forced lock command.
[0082] When the vehicle status of the vehicle-side system is active, the corresponding command options include monitoring commands and forced locking commands.
[0083] Alternatively, vehicle unlocking methods may also include:
[0084] Receive control commands from the mobile terminal based on the second mismatch information, vehicle status, and corresponding command options for any command option;
[0085] Forward control commands to the vehicle system so that the vehicle system can control the vehicle.
[0086] Optionally, forwarding control commands to the vehicle-side system to enable the vehicle-side system to control the vehicle includes:
[0087] When the control command is a forced locking command, the forced locking command is forwarded to the vehicle-side system so that the vehicle-side system can control the vehicle to lock in a forced manner.
[0088] When the control command is a forced shutdown command, the forced shutdown command is forwarded to the vehicle system so that the vehicle system can control the vehicle to shut down.
[0089] When the control command is a monitoring command, the monitoring command is forwarded to the vehicle-side system so that the vehicle-side system can return the vehicle's location and the real-time status of the vehicle's interior.
[0090] Specifically, such as Figure 3 As shown, if an unknown person attempts to unlock the vehicle using facial recognition, the vehicle owner can also check the current vehicle status in the vehicle alert module of the owner's mobile app.
[0091] When the vehicle status of the vehicle-side system is locked, the corresponding command options include forced locking command and third unlocking command; the vehicle owner can manually trigger the forced locking command button through the vehicle owner APP on the mobile terminal, and forward the forced locking command to the vehicle-side system through the cloud service platform, so that the vehicle-side system can control the vehicle to lock.
[0092] When the vehicle status of the vehicle-side system is unlocked and not started, the corresponding command options include forced shutdown command and forced locking command. The vehicle owner can manually trigger the forced shutdown command button through the vehicle owner APP on the mobile terminal, and forward the forced shutdown command to the vehicle-side system through the cloud service platform, so that the vehicle-side system can control the vehicle to shut down.
[0093] When the vehicle's status is active, the corresponding command options include monitoring commands and forced locking commands. The vehicle owner can manually trigger the monitoring command button via the owner's mobile app. This command is then forwarded to the vehicle's system through the cloud service platform, allowing the system to return the vehicle's location and real-time interior status, thus enabling vehicle monitoring. Specifically, the owner can enable the vehicle's location service to view its current location and activate the vehicle's camera module to view the interior status.
[0094] According to the technical solution provided in this application, if a stranger attempts to unlock the vehicle, an alert will be issued, reminding the vehicle owner on the mobile terminal's owner APP. This enhances the security of vehicle identity authentication, making it difficult for others to impersonate. Furthermore, the vehicle unlocking system can complete multiple facial recognition verifications, allowing multiple individuals to identify and unlock the vehicle, reducing the number of vehicle keys and key costs.
[0095] All of the above-mentioned optional technical solutions can be combined in any way to form the optional embodiments of this application, and will not be described in detail here.
[0096] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0097] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.
[0098] Figure 4 This is a schematic diagram of a vehicle unlocking device provided in an embodiment of this application. The vehicle unlocking device is applied to a cloud service platform for a vehicle unlocking system. The vehicle unlocking system also includes a vehicle-end system wirelessly connected to the cloud service platform, such as... Figure 4 As shown, the vehicle unlocking device includes:
[0099] The first receiving module 401 is configured to receive the vehicle identification code and the encrypted data signature packet sent from the vehicle system.
[0100] The acquisition module 402 is configured to acquire the first cloud facial image and cloud key pre-stored for the corresponding cloud identification code when the vehicle identification code is the same as the pre-stored cloud identification code.
[0101] The decryption module 403 is configured to decrypt the data signature packet based on the cloud key to obtain the vehicle-side facial image and the current timestamp;
[0102] The first verification module 404 is configured to verify whether the current timestamp is within the allowed time range;
[0103] The second verification module 405 is configured to verify whether the vehicle-side facial image matches the first cloud-based facial image.
[0104] The unlocking module 406 is configured to send a first unlocking command to the vehicle system if the current timestamp is within the allowed time range and the vehicle-side facial image matches the first cloud-based facial image, so that the vehicle-side system can control the vehicle to unlock.
[0105] According to the technical solution provided in this application, the system receives a vehicle identification code and an encrypted data signature packet sent from the vehicle-side system. When the vehicle identification code matches a pre-stored cloud identification code, the system obtains a pre-stored first cloud facial image and a cloud key corresponding to the cloud identification code. Based on the cloud key, the data signature packet is decrypted to obtain the vehicle facial image and a current timestamp. The system verifies whether the current timestamp is within the allowed time range and whether the vehicle facial image matches the first cloud facial image. If the current timestamp is within the allowed time range and the vehicle facial image matches the first cloud facial image, a first unlocking command is sent to the vehicle-side system, enabling the vehicle-side system to unlock the vehicle. By using the above technical means, decrypting the data signature packet sent from the vehicle-side system and verifying the decrypted vehicle facial image and current timestamp twice is equivalent to requiring triple verification to unlock the vehicle, thus improving the security of vehicle unlocking.
[0106] In some embodiments, the vehicle unlocking system further includes a mobile terminal wirelessly connected to a cloud service platform, and the vehicle unlocking device further includes:
[0107] The warning module is configured to send a warning message to the mobile terminal and a first mismatch message to the vehicle system if the current timestamp is not within the allowed time range, or if the vehicle-side facial image and the first cloud-based facial image do not match.
[0108] Optionally, the acquisition module 402 is specifically configured to acquire the pre-stored first cloud facial image, second cloud facial image and cloud key corresponding to the cloud identification code when the vehicle-side identification code is the same as the pre-stored cloud identification code.
[0109] In some embodiments, the warning information includes a facial image of the vehicle; the vehicle unlocking device further includes:
[0110] The third verification module is configured to verify whether the vehicle-side facial image matches the second cloud-based facial image.
[0111] The first sending module is configured to send matching information to the mobile terminal if the vehicle-side facial image matches the second cloud-based facial image.
[0112] The second receiving module is configured to receive a second unlocking command sent by the mobile terminal based on matching information and a facial image of the vehicle.
[0113] The first forwarding module is configured to forward the second unlocking command to the vehicle system, so that the vehicle system can control the vehicle to unlock.
[0114] In some embodiments, the vehicle unlocking device further includes:
[0115] The second sending module is configured to send a second mismatch message to the mobile terminal if the facial image on the vehicle terminal does not match the facial image on the second cloud terminal.
[0116] In some embodiments, the warning information also includes vehicle status and corresponding instruction options;
[0117] When the vehicle status of the vehicle-end system is locked, the corresponding command options include forced locking command and third unlocking command.
[0118] When the vehicle status of the vehicle-end system is unlocked and not started, the corresponding command options include forced engine shutdown command and forced lock command.
[0119] When the vehicle status of the vehicle-side system is active, the corresponding command options include monitoring commands and forced locking commands.
[0120] In some embodiments, the vehicle unlocking device further includes:
[0121] The third receiving module is configured to receive control commands from the mobile terminal based on the second mismatch information, vehicle status, and corresponding command options for any command option.
[0122] The second forwarding module forwards control commands to the vehicle-side system, enabling the vehicle-side system to control the vehicle.
[0123] In some embodiments, the second forwarding module is configured as follows:
[0124] When the control command is a forced locking command, the forced locking command is forwarded to the vehicle-side system so that the vehicle-side system can control the vehicle to lock in a forced manner.
[0125] When the control command is a forced shutdown command, the forced shutdown command is forwarded to the vehicle system so that the vehicle system can control the vehicle to shut down.
[0126] When the control command is a monitoring command, the monitoring command is forwarded to the vehicle-side system so that the vehicle-side system can return the vehicle's location and the real-time status of the vehicle's interior.
[0127] In some embodiments, the vehicle unlocking system further includes a mobile terminal wirelessly connected to a cloud service platform, and the vehicle unlocking device further includes:
[0128] The third receiving module is configured to receive vehicle identification code, facial data and vehicle key sent from the mobile terminal;
[0129] The fourth verification module is configured to verify the completeness of facial data;
[0130] The module is configured to extract features from the facial data if the facial data is complete, obtain facial feature data, use the facial feature data as the first cloud facial image, use the vehicle key as the cloud key, use the vehicle identification code as the cloud identification code, and establish a correspondence between the cloud identification code and the first cloud facial image and cloud key.
[0131] The data storage module is configured to pre-store the cloud identification code, the first cloud facial image, the cloud key, and the corresponding relationship.
[0132] Figure 5 This is a schematic diagram of the electronic device 5 provided in an embodiment of this application. Figure 5 As shown, the electronic device 5 of this embodiment includes: a processor 501, a memory 502, and a computer program 503 stored in the memory 502 and executable on the processor 501. When the processor 501 executes the computer program 503, it implements the steps in the various method embodiments described above. Alternatively, when the processor 501 executes the computer program 503, it implements the functions of each module / unit in the various device embodiments described above.
[0133] Electronic device 5 can be a desktop computer, laptop, handheld computer, cloud server, or other electronic device. Electronic device 5 may include, but is not limited to, processor 501 and memory 502. Those skilled in the art will understand that... Figure 5 This is merely an example of electronic device 5 and does not constitute a limitation on electronic device 5. It may include more or fewer components than shown, or different components.
[0134] The processor 501 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0135] The memory 502 can be an internal storage unit of the electronic device 5, such as a hard disk or RAM of the electronic device 5. The memory 502 can also be an external storage device of the electronic device 5, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, etc., equipped on the electronic device 5. The memory 502 can also include both internal and external storage units of the electronic device 5. The memory 502 is used to store computer programs and other programs and data required by the electronic device.
[0136] Based on the same inventive concept, embodiments of this application provide a readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method as described in any of the above embodiments.
[0137] The readable storage medium provided in this application has the same inventive concept and the same beneficial effects as the previous embodiments. For the contents not shown in detail in the readable storage medium, please refer to the previous embodiments, and will not be repeated here.
[0138] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0139] If integrated modules / units are implemented as software functional units and sold or used as independent products, they can be stored in a readable storage medium (e.g., a computer-readable storage medium). Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program may include computer program code, which may be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable storage medium may include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.
[0140] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for unlocking a vehicle, characterized in that, A cloud service platform for a vehicle unlocking system, the vehicle unlocking system further including a vehicle-end system wirelessly connected to the cloud service platform, the method comprising: Receive the vehicle identification code and the encrypted data signature packet sent from the vehicle system; When the vehicle identification code is the same as the pre-stored cloud identification code, the pre-stored first cloud facial image and cloud key corresponding to the cloud identification code are obtained; Based on the cloud key, the data signature packet is decrypted to obtain the vehicle-mounted facial image and the current timestamp; Verify whether the current timestamp is within the allowed time range; Verify whether the vehicle-mounted facial image matches the first cloud-based facial image; If the current timestamp is within the allowed time range and the vehicle-side facial image matches the first cloud-based facial image, a first unlocking command is sent to the vehicle-side system so that the vehicle-side system can control the vehicle to unlock.
2. The method according to claim 1, characterized in that, The vehicle unlocking system also includes a mobile terminal wirelessly connected to the cloud service platform, and the method further includes: If the current timestamp is not within the allowed time range, or if the vehicle-side facial image and the first cloud-based facial image do not match, a warning message is sent to the mobile terminal, and a first mismatch message is sent to the vehicle-side system.
3. The method according to claim 2, characterized in that, When the vehicle identification code is the same as the pre-stored cloud identification code, the pre-stored first cloud facial image and cloud key corresponding to the cloud identification code are obtained, including: when the vehicle identification code is the same as the pre-stored cloud identification code, the pre-stored first cloud facial image, second cloud facial image and cloud key corresponding to the cloud identification code are obtained. The warning information includes the vehicle-mounted facial image; the method further includes: Verify whether the vehicle-mounted facial image matches the second cloud-based facial image; If the vehicle-mounted facial image matches the second cloud-based facial image, a matching information is sent to the mobile terminal. Receive a second unlocking command sent by the mobile terminal based on the matching information and the vehicle-side facial image; The second unlocking command is forwarded to the vehicle-mounted system, so that the vehicle-mounted system can control the vehicle to unlock.
4. The method according to claim 3, characterized in that, The method further includes: If the vehicle-mounted facial image does not match the second cloud-based facial image, a second mismatch message is sent to the mobile terminal. The warning information also includes vehicle status and corresponding command options; When the vehicle in the vehicle-end system is in an unlocked state, the corresponding command options include a forced locking command and a third unlocking command. When the vehicle status of the vehicle-end system is unlocked and not started, the corresponding command options include the forced engine shutdown command and the forced lock command. When the vehicle in the vehicle-end system is in the started state, the corresponding instruction options include monitoring instructions and the forced locking instruction.
5. The method according to claim 4, characterized in that, The method further includes: Receive a control command from the mobile terminal based on the second mismatch information, the vehicle status, and the corresponding command option, for any of the command options. The control command is forwarded to the vehicle-mounted system so that the vehicle-mounted system can control the vehicle.
6. The method according to claim 5, characterized in that, The forwarding of the control command to the vehicle-mounted system, so that the vehicle-mounted system can control the vehicle, includes: When the control command is a forced locking command, the forced locking command is forwarded to the vehicle-side system so that the vehicle-side system controls the vehicle to be forcibly locked. When the control command is a forced shutdown command, the forced shutdown command is forwarded to the vehicle-side system so that the vehicle-side system controls the vehicle to force shutdown. When the control command is a monitoring command, the monitoring command is forwarded to the vehicle-side system so that the vehicle-side system can return the vehicle's location and the vehicle's internal status.
7. The method according to any one of claims 1-6, characterized in that, The vehicle unlocking system also includes a mobile terminal wirelessly connected to the cloud service platform, and the method further includes: Receive vehicle identification code, facial data, and vehicle key sent from the mobile terminal; Verify that the facial data is complete; If the facial data is complete, feature extraction is performed on the facial data to obtain facial feature data. The facial feature data is used as the first cloud facial image, the vehicle key is used as the cloud key, and the vehicle identification code is used as the cloud identification code. A correspondence is established between the cloud identification code and the first cloud facial image and the cloud key. The cloud identification code, the first cloud facial image, the cloud key, and the corresponding relationship are pre-stored.
8. A vehicle unlocking device, characterized in that, A cloud service platform for a vehicle unlocking system, the vehicle unlocking system further comprising a vehicle-end system wirelessly connected to the cloud service platform, the device comprising: The first receiving module is configured to receive a vehicle identification code and an encrypted data signature packet sent from the vehicle system. The acquisition module is configured to acquire a first cloud-based facial image and a cloud-based key corresponding to the cloud-based identification code when the vehicle-side identification code is the same as the pre-stored cloud-based identification code. The decryption module is configured to decrypt the data signature packet based on the cloud key to obtain the vehicle-side facial image and the current timestamp; The first verification module is configured to verify whether the current timestamp is within the allowed time range; The second verification module is configured to verify whether the vehicle-mounted facial image matches the first cloud-based facial image. The unlocking module is configured to send a first unlocking command to the vehicle system if the current timestamp is within an allowed time range and the vehicle-side facial image matches the first cloud-based facial image, so that the vehicle-side system controls the vehicle to unlock.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 7.
10. A readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Vehicle control method and device and vehicle
CN111559342A
Method for unlocking vehicle based on light sensing element, intelligent vehicle and storage medium
CN114103874A