Vehicle unlocking and locking method, device, equipment, storage medium and product

By detecting the vehicle's status and receiving smart key signals for legal authentication, the safety hazards during vehicle charging or power supply are resolved, enabling safe locking and unlocking operations and improving the user experience.

CN119305508BActive Publication Date: 2026-02-03ZHEJIANG GEELY HLDG GRP CO LTD +2
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411531644.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2026-02-03
Estimated Expiration
2044-10-30

AI Technical Summary

Technical Problem

Existing technology cannot perform vehicle locking/unlocking operations when the vehicle is being recharged or supplied with electricity, leading to safety hazards or waste of human resources.

Method used

By detecting the vehicle's current status, if the preset conditions are met, the system receives the lock/unlock signal from the smart key, performs the lock/unlock operation after authentication, and the preset mode indicates that the vehicle is performing a charging or power supply operation.

Benefits of technology

When the vehicle is charging or powered, the system determines whether to lock or unlock based on the smart key's locking/unlocking signals, eliminating safety hazards and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119305508B_ABST
    Figure CN119305508B_ABST
Patent Text Reader

Abstract

The application discloses a vehicle unlocking and locking method, device, equipment, storage medium and product, and relates to the technical field of vehicle control. The method comprises the following steps: when it is detected that a vehicle is in a preset mode, the current state of the vehicle is acquired; if the current state meets preset conditions, an unlocking and locking signal sent by an intelligent key is received; and whether to perform an unlocking and locking operation on the vehicle is determined according to the unlocking and locking signal; wherein the preset mode is used to indicate that the vehicle is performing a power compensation action or a power supply action. Compared with a traditional vehicle unlocking and locking method, since the above-mentioned method of the application determines whether to perform an unlocking and locking operation on the vehicle based on the unlocking and locking signal sent by the intelligent key when the vehicle is performing a power compensation action or a power supply action and the current state of the vehicle meets preset conditions, the safety hazard of the vehicle in a power compensation and supply state and the inability of a person accompanying the vehicle to keep watch on the spot is eliminated, and the vehicle experience of the person accompanying the vehicle is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle control technology, and in particular to a vehicle unlocking / locking method, device, equipment, storage medium, and product. Background Technology

[0002] In current vehicle usage scenarios, the vehicle can only be locked or unlocked after the power supply switches to OFF. When the vehicle's battery is being charged or powering the RV's mounting system, if accompanying personnel need to leave the site for other work, the vehicle cannot be unlocked or unlocked, posing a security risk of theft of items inside. However, to eliminate this security risk, accompanying personnel must remain on-site throughout, resulting in a waste of human resources. Therefore, the industry urgently needs a method that allows vehicle unlocking and unlocking even when the vehicle is being charged or powered. Summary of the Invention

[0003] The main objective of this application is to provide a vehicle unlocking and locking method, apparatus, device, storage medium, and product, which aims to solve the technical problem that the prior art cannot perform vehicle unlocking and locking operations when the vehicle is being recharged or supplied with power.

[0004] To achieve the above objectives, this application provides a vehicle unlocking / locking method, the method comprising the following steps:

[0005] When a vehicle is detected to be in a preset mode, the current state of the vehicle is obtained;

[0006] If the current state meets the preset conditions, then the unlocking / locking signal sent by the smart key is received;

[0007] Determine whether to perform an unlocking / locking operation on the vehicle based on the unlocking / locking signal;

[0008] The preset mode is used to indicate that the vehicle is performing a charging or power supply operation.

[0009] In one embodiment, the step of obtaining the current state of the vehicle when it is detected that the vehicle is in a preset mode includes:

[0010] When the vehicle is in a high-voltage state, monitor whether the vehicle outputs a power replenishment status signal or a power supply status signal.

[0011] If so, the vehicle is determined to be in a preset mode, and the current state of the vehicle is obtained, including the current gear and the current speed of the vehicle.

[0012] In one embodiment, before the step of receiving the unlock / lock signal from the smart key if the current state meets a preset condition, the method further includes:

[0013] If the vehicle is currently in a preset gear and the vehicle's current speed is less than a preset value, then the current state is determined to meet the preset conditions.

[0014] If the vehicle is not in a preset gear or the vehicle's current speed is greater than or equal to a preset value, then the current state is determined to not meet the preset conditions, and the current state is continuously monitored.

[0015] In one embodiment, the unlocking signal includes an unlocking command and authentication information, and the step of determining whether to perform an unlocking operation on the vehicle based on the unlocking signal includes:

[0016] The legality of the unlocking / locking signal is verified based on the authentication information.

[0017] If the unlock signal passes the validity authentication, the vehicle is unlocked or locked based on the unlock command.

[0018] If the unlock signal fails the validity authentication, the unlock command will be refused and the user will be notified of the unlock error.

[0019] In one embodiment, the step of authenticating the legitimacy of the unlock / lock signal based on the authentication information includes:

[0020] Upon receiving the authentication information, an initial verification code is sent to the smart key;

[0021] The system receives an encrypted verification code from the smart key and performs legality authentication on the unlock / lock signal based on the encrypted verification code. The encrypted verification code is obtained by encrypting the initial verification code with the smart key.

[0022] In one embodiment, the step of performing an unlocking / locking operation on the vehicle based on the unlocking / locking command if the unlocking / locking signal passes the validity authentication includes:

[0023] If the unlock signal passes the validity authentication, the unlock command is parsed to obtain an unlock request message, which includes a preamble, a command code, and a rolling code.

[0024] The door lock motor of the vehicle is driven based on the unlocking / locking request message, so that the vehicle performs a vehicle unlocking or vehicle locking action.

[0025] Furthermore, to achieve the above objectives, this application also proposes a vehicle unlocking device, which includes:

[0026] The status acquisition module is used to acquire the current status of the vehicle when it is detected that the vehicle is in a preset mode;

[0027] The instruction receiving module is used to receive the unlocking / locking signal issued by the smart key if the current state meets the preset conditions.

[0028] The judgment and execution module is used to determine whether to perform an unlocking and locking operation on the vehicle based on the unlocking and locking signal.

[0029] In addition, to achieve the above objectives, this application also proposes a vehicle unlocking device, the device comprising: a memory, a processor, and a vehicle unlocking program stored in the memory and executable on the processor, the vehicle unlocking program being configured to implement the steps of the vehicle unlocking method as described above.

[0030] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, storing a vehicle unlocking program, which, when executed by a processor, implements the steps of the vehicle unlocking method described above.

[0031] In addition, to achieve the above objectives, the present invention also provides a computer program product, the computer program product including a vehicle unlocking and locking program, which, when executed by a processor, implements the steps of the vehicle unlocking and locking method described above.

[0032] This application obtains the current state of the vehicle when it is detected to be in a preset mode; if the current state meets preset conditions, it receives an unlock / lock signal from the smart key; and determines whether to perform an unlock / lock operation on the vehicle based on the unlock / lock signal. The preset mode indicates that the vehicle is performing a charging or power supply operation. Compared to traditional vehicle unlocking / locking methods, this application's method, by determining whether to perform an unlock / lock operation based on the unlock / lock signal from the smart key when the vehicle is performing a charging or power supply operation and the vehicle's current state meets preset conditions, eliminates the safety hazards when the vehicle is in a charging / power supply state and accompanying personnel cannot be present to supervise, thereby improving the user experience for accompanying personnel. Attached Figure Description

[0033] Figure 1 This is a schematic diagram of the vehicle unlocking / locking device in the hardware operating environment involved in the embodiments of this application;

[0034] Figure 2 This is a flowchart illustrating the first embodiment of the vehicle unlocking and locking method of this application;

[0035] Figure 3 This is a flowchart illustrating the second embodiment of the vehicle unlocking and locking method of this application;

[0036] Figure 4 This is a flowchart illustrating the third embodiment of the vehicle unlocking and locking method of this application;

[0037] Figure 5 This is a structural block diagram of the first embodiment of the vehicle unlocking and locking device of this application.

[0038] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0039] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of this application.

[0040] Reference Figure 1 , Figure 1 This is a schematic diagram of the vehicle unlocking / locking device structure in the hardware operating environment involved in the embodiments of this application.

[0041] like Figure 1 As shown, the vehicle unlocking / locking device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be high-speed random access memory (RAM) or stable non-volatile memory (NVM), such as a disk storage device. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.

[0042] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the vehicle unlocking and locking device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0043] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and a vehicle unlocking / locking program.

[0044] exist Figure 1In the vehicle unlocking and locking device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the vehicle unlocking and locking device of this application can be set in the vehicle unlocking and locking device. The vehicle unlocking and locking device calls the vehicle unlocking and locking program stored in the memory 1005 through the processor 1001 and executes the vehicle unlocking and locking method provided in the embodiment of this application.

[0045] This application provides a vehicle locking / unlocking method, referring to... Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the vehicle unlocking and locking method of this application.

[0046] In this embodiment, the vehicle unlocking and locking method includes the following steps:

[0047] Step S10: When the vehicle is detected to be in a preset mode, obtain the current state of the vehicle.

[0048] It should be noted that the executing entity of the method in this embodiment can be a device with data processing and program execution functions, such as a smart terminal or a computer, or an electronic device with the same or similar functions, such as the aforementioned vehicle unlocking and locking device. The following description uses a vehicle unlocking and locking device as an example to illustrate this embodiment and the subsequent embodiments.

[0049] Understandably, the aforementioned preset modes can be modes used to indicate that the vehicle is performing a charging or power supply operation, such as camping mode.

[0050] It should be understood that the current state of the vehicle may include the vehicle's current gear, current speed, current battery level, current temperature, etc., and this embodiment does not limit this.

[0051] In a specific implementation, the vehicle's PMS (Powertrain Management System) can be used to detect whether the vehicle is in a preset mode, or the vehicle's VCM (Vehicle Control Module) or MCU (Microcontroller Unit) can be used to detect whether the vehicle is in a preset mode. This embodiment does not limit this.

[0052] Step S20: If the current state meets the preset conditions, then receive the unlock / lock signal sent by the smart key.

[0053] It should be noted that the aforementioned smart key can be either a physical smart key or an electronic smart key. A physical smart key is a key that communicates with the vehicle using radio frequency or infrared technology. It has a built-in electronic chip and antenna, enabling communication with the vehicle's electronic system to achieve keyless entry and start. An electronic smart key is a virtual key that integrates key functionality into a smartphone or other smart device. It uses wireless communication technology to enable interaction between the vehicle and the smart device, thus achieving keyless entry and start. The aforementioned unlocking / locking signal can be a high-frequency signal containing unlock / lock commands.

[0054] It should be understood that the PEPS (Passive Entry Passive Start) module, built on radio frequency identification (RFID) technology, can receive the unlocking and locking signals emitted by the smart key.

[0055] Step S30: Determine whether to perform an unlocking / locking operation on the vehicle based on the unlocking / locking signal.

[0056] It should be understood that, provided the vehicle's current state meets preset conditions, the decision to lock or unlock the vehicle can be made by verifying the lock / unlock signal. For example, the lock / unlock signal can be parsed to determine its validity, or the lock / unlock signal can be matched with a preset signal to determine whether to lock or unlock the vehicle. This embodiment does not impose any limitations on these methods.

[0057] This embodiment obtains the current state of the vehicle when it is detected to be in a preset mode; if the current state meets preset conditions, it receives an unlock / lock signal from the smart key; and determines whether to perform an unlock / lock operation on the vehicle based on the unlock / lock signal. The preset mode indicates that the vehicle is performing a charging or power supply operation. Compared to traditional vehicle unlocking / locking methods, this embodiment eliminates the safety hazards when the vehicle is in a charging or power supply state and the current state meets preset conditions, based on the unlock / lock signal from the smart key. This improves the user experience for passengers.

[0058] refer to Figure 3 , Figure 3 This is a flowchart illustrating the second embodiment of the vehicle unlocking and locking method of this application.

[0059] In one feasible implementation, step S10 may include:

[0060] Step S101: When the vehicle is in a high-voltage state, monitor whether the vehicle outputs a power supply status signal or a power supply status signal.

[0061] It should be understood that vehicle power systems are generally divided into two main categories: low-voltage DC and high-voltage. High-voltage electricity is provided by the battery pack and is primarily used to drive the electric motor, enabling the vehicle to move forward, reverse, and charge. Due to the larger current, vehicles can use higher voltages to improve energy conversion efficiency. Therefore, when a vehicle's high-voltage power system is activated and operational, it means the vehicle is in a high-voltage state. For example, if the vehicle's system power mode is ON or Ready, it indicates that its high-voltage power system is activated and operational, meaning the vehicle is in a high-voltage state.

[0062] In practice, the vehicle's powertrain management system can be used to monitor whether the vehicle outputs a charging status signal or a power supply status signal.

[0063] Step S102: If yes, then determine that the vehicle is in a preset mode and obtain the current state of the vehicle, which includes the current gear and the current speed of the vehicle.

[0064] Understandably, when a vehicle is in a high-voltage state and outputs a charging status signal or a power supply status signal, it can be determined that the vehicle is performing a charging action or a power supply action (for example, the vehicle is charging the power battery or supplying power to other devices), and thus the vehicle can be determined to be in a preset mode.

[0065] In one feasible implementation, prior to step S20, the following may also be included:

[0066] Step S11: If the vehicle is currently in a preset gear and the vehicle's current speed is less than a preset value, then the current state is determined to meet the preset conditions.

[0067] Step S12: If the vehicle is not in a preset gear or the vehicle's current speed is greater than or equal to a preset value, then the current state is determined to not meet the preset conditions, and the current state is continuously monitored.

[0068] It should be noted that the above preset conditions indicate that the vehicle can perform the locking and unlocking operation under safe conditions. That is, when the vehicle's current gear is in the preset gear and the vehicle's current speed is less than the preset value, the vehicle can perform the locking and unlocking operation under safe conditions. When the vehicle's current gear is not in the preset gear or the vehicle's current speed is greater than or equal to the preset value, the vehicle cannot perform the locking and unlocking operation under safe conditions.

[0069] Understandably, the preset gear can be P (parking) or N (neutral), and the preset speed can be 3 km / h, 1 km / h, etc.

[0070] This embodiment monitors whether the vehicle outputs a charging status signal or a power supply status signal when the vehicle is in a high-voltage state. If so, it determines that the vehicle is in a preset mode and obtains the vehicle's current state, which includes the vehicle's current gear and current speed. If the vehicle's current gear is a preset gear and the vehicle's current speed is less than a preset value, the current state is determined to meet the preset conditions. If the vehicle's current gear is not a preset gear or the vehicle's current speed is greater than or equal to the preset value, the current state is determined not to meet the preset conditions, and the current state is continuously monitored. Compared to traditional vehicle locking / unlocking methods, this embodiment determines whether the vehicle is performing a charging / unlocking action by monitoring whether it outputs a charging status signal or a power supply status signal. Simultaneously, it determines whether to receive the locking / unlocking signal from the smart key based on the vehicle's current gear and current speed. This allows for receiving the locking / unlocking signal to perform the locking / unlocking operation while ensuring vehicle safety.

[0071] refer to Figure 4 , Figure 4 This is a flowchart illustrating the third embodiment of the vehicle unlocking and locking method of this application.

[0072] In one feasible implementation, the unlocking signal includes an unlocking command and authentication information, and step S30 may include:

[0073] Step S301: Perform legality authentication on the unlock / lock signal based on the authentication information.

[0074] It should be noted that the aforementioned unlocking and locking commands may include vehicle identification information, location and distance information, time information, unlocking and locking operation information, etc., and the aforementioned authentication information may include the smart key's unique identifier, dynamic token, encryption algorithm, etc.

[0075] In practice, the legitimacy of the lockout / unlock signal can be verified by checking the aforementioned authentication information.

[0076] Step S302: If the unlocking / locking signal passes the validity authentication, then the vehicle is unlocked / locked based on the unlocking / locking command.

[0077] It should be understood that if the unlock / lock signal passes the validity authentication, the unlock / lock command contained in the unlock / lock signal can be executed through the vehicle's BCM (Body Control Module), thereby enabling the unlocking or locking operation of the vehicle.

[0078] Step S303: If the unlocking signal fails the validity authentication, the unlocking command is refused to be executed and the unlocking error is reported to the user.

[0079] In one feasible implementation, step S301 may include:

[0080] Step S3011: When the authentication information is received, send an initial verification code to the smart key.

[0081] It should be noted that the initial verification code mentioned above can be a dynamically and randomly generated string, such as A1b2c3D4.

[0082] In the specific implementation, once the above authentication information passes the verification, the PEPS module can receive the authentication information and send the initial verification code to the smart key.

[0083] Step S3012: Receive the encrypted verification code fed back by the smart key, and perform legality authentication on the unlock / lock signal based on the encrypted verification code. The encrypted verification code is obtained by the smart key after encrypting the initial verification code.

[0084] In its implementation, the PEPS module immediately encrypts the initial verification code after sending it to the smart key, obtaining the target verification code. Simultaneously, the smart key, upon receiving the initial verification code, also encrypts it using the encryption algorithm contained in the authentication information, obtaining an encrypted verification code. Therefore, the target verification code and the encrypted verification code can be compared to authenticate the legality of the unlocking / locking signal. More specifically, if the target verification code and the encrypted verification code are the same, the unlocking / locking signal passes legality authentication; if they are different, the unlocking / locking signal fails legality authentication. In particular, both the PEPS module and the smart key can use a jump code algorithm to encrypt the initial verification code. This algorithm transforms the initial verification code according to certain rules. These rules can be shifting characters by a specified number of positions (e.g., shifting the first letter N positions forward, swapping the second and third letters), or inserting other specified characters (e.g., inserting the character 'S' between the fourth and fifth positions). This embodiment does not impose any restrictions on these rules.

[0085] In one feasible implementation, step S302 may include:

[0086] Step S3021: If the unlock signal passes the validity authentication, the unlock command is parsed to obtain an unlock request message, which includes a preamble, a command code, and a rolling code.

[0087] Understandably, to execute unlock / lock commands more accurately, the aforementioned unlock / lock request message may include a prefix bit, a command code, and a rolling code. The prefix bit helps the decoder identify the structure and format of the information for correct data parsing; the command code indicates the specific operation to be performed (e.g., unlocking the right front door, locking the left rear door); and the rolling code is used for secure communication or authentication, further enhancing the security of the unlock / lock operation.

[0088] Step S3022: Drive the door lock motor of the vehicle based on the unlocking / locking request message, so that the vehicle performs a vehicle unlocking action or a vehicle locking action.

[0089] This embodiment sends an initial verification code to the smart key upon receiving the authentication information; receives an encrypted verification code from the smart key and performs legality authentication on the unlock / lock signal based on the encrypted verification code, which is obtained by encrypting the initial verification code by the smart key; if the unlock / lock signal passes legality authentication, the unlock / lock command is parsed to obtain an unlock / lock request message, which includes a preamble, a command code, and a rolling code; the vehicle's door lock motor is driven based on the unlock / lock request message to enable the vehicle to perform either unlocking or locking actions; if the unlock / lock signal fails legality authentication, the unlock / lock command is refused, and an unlock / lock error is reported to the user. Compared to traditional vehicle unlocking / locking methods, this embodiment uses an encrypted verification code obtained by encrypting the initial verification code by the smart key to authenticate the unlock / lock signal sent by the smart key, thereby preventing unauthorized personnel from unlocking or locking the vehicle and improving vehicle security.

[0090] Furthermore, this application also proposes a storage medium storing a vehicle unlocking / locking program, which, when executed by a processor, implements the steps of the vehicle unlocking / locking method described above.

[0091] Reference Figure 5 , Figure 5 This is a structural block diagram of the first embodiment of the vehicle unlocking and locking device of this application.

[0092] like Figure 5 As shown, the vehicle unlocking / locking device proposed in this application includes:

[0093] The status acquisition module 501 is used to acquire the current status of the vehicle when it is detected that the vehicle is in a preset mode;

[0094] The instruction receiving module 502 is used to receive the unlocking / locking signal issued by the smart key if the current state meets the preset conditions.

[0095] The judgment execution module 503 is used to determine whether to perform an unlocking operation on the vehicle based on the unlocking signal.

[0096] This embodiment obtains the current state of the vehicle when it is detected to be in a preset mode; if the current state meets preset conditions, it receives an unlock / lock signal from the smart key; and determines whether to perform an unlock / lock operation on the vehicle based on the unlock / lock signal. The preset mode indicates that the vehicle is performing a charging or power supply operation. Compared to traditional vehicle unlocking / locking methods, this embodiment eliminates the safety hazards when the vehicle is in a charging or power supply state and the current state meets preset conditions, based on the unlock / lock signal from the smart key. This improves the user experience for passengers.

[0097] Based on the first embodiment of the vehicle unlocking and locking device described in this application, a second embodiment of the vehicle unlocking and locking device of this application is proposed.

[0098] In this embodiment, the status acquisition module 501 is further configured to monitor whether the vehicle outputs a charging status signal or a power supply status signal when the vehicle is in a high-voltage state; if so, it determines that the vehicle is in a preset mode and acquires the current status of the vehicle, the current status including the vehicle's current gear and the vehicle's current speed.

[0099] Furthermore, the instruction receiving module 502 is also configured to determine that the current state meets the preset conditions if the vehicle's current gear is in a preset gear and the vehicle's current speed is less than a preset value; and to determine that the current state does not meet the preset conditions if the vehicle's current gear is not in a preset gear or the vehicle's current speed is greater than or equal to a preset value, and to continuously monitor the current state.

[0100] Furthermore, the judgment execution module 503 is also used to perform legality authentication on the unlocking / locking signal based on the authentication information; if the unlocking / locking signal passes the legality authentication, the vehicle is unlocked / locked based on the unlocking / locking command; if the unlocking / locking signal fails the legality authentication, the unlocking / locking command is refused to be executed and an unlocking / locking error is reported to the user.

[0101] Furthermore, the judgment execution module 503 is also used to send an initial verification code to the smart key when the authentication information is received; receive an encrypted verification code fed back by the smart key, and perform legality authentication on the unlocking / locking signal based on the encrypted verification code, wherein the encrypted verification code is obtained by the smart key after encrypting the initial verification code.

[0102] Furthermore, the judgment execution module 503 is also used to parse the unlocking command if the unlocking signal passes the legality authentication, to obtain an unlocking request message, the unlocking request message including a preamble, a command code and a rolling code; and to drive the door lock motor of the vehicle based on the unlocking request message, so that the vehicle performs a vehicle unlocking action or a vehicle locking action.

[0103] Other embodiments or specific implementations of the vehicle unlocking and locking device of this application can be found in the above-described method embodiments, and will not be repeated here.

[0104] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0105] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0106] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory / random access memory, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0107] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A method for unlocking and locking a vehicle, characterized in that, The method includes the following steps: When a vehicle is detected to be in a preset mode, the current state of the vehicle is obtained; If the current state meets the preset conditions, then the unlocking / locking signal sent by the smart key is received; Determine whether to perform an unlocking / locking operation on the vehicle based on the unlocking / locking signal; The preset mode is used to indicate that the vehicle is performing a charging or power supply operation; The unlocking / locking signal contains an unlocking / locking command and authentication information. The step of determining whether to perform an unlocking / locking operation on the vehicle based on the unlocking / locking signal includes: When the authentication information is received, an initial verification code is sent to the smart key, and the target verification code is obtained by encrypting the initial verification code. The system receives the encrypted verification code fed back by the smart key, and performs legality authentication on the unlocking / locking signal based on the target verification code and the encrypted verification code. The encrypted verification code is obtained by the smart key after encrypting the initial verification code. If the unlock signal passes the validity authentication, the vehicle is unlocked or locked based on the unlock command. If the unlock signal fails the validity authentication, the unlock command will be refused and the user will be notified of the unlock error.

2. The vehicle unlocking and locking method as described in claim 1, characterized in that, The step of obtaining the current state of the vehicle when it is detected that the vehicle is in a preset mode includes: When the vehicle is in a high-voltage state, monitor whether the vehicle outputs a power replenishment status signal or a power supply status signal. If so, the vehicle is determined to be in a preset mode, and the current state of the vehicle is obtained, including the current gear and the current speed of the vehicle.

3. The vehicle unlocking and locking method as described in claim 2, characterized in that, Before the step of receiving the unlock / lock signal from the smart key if the current state meets the preset conditions, the method further includes: If the vehicle is currently in a preset gear and the vehicle's current speed is less than a preset value, then the current state is determined to meet the preset conditions. If the vehicle is not in a preset gear or the vehicle's current speed is greater than or equal to a preset value, then the current state is determined to not meet the preset conditions, and the current state is continuously monitored.

4. The vehicle unlocking and locking method as described in claim 1, characterized in that, The step of performing a locking / unlocking operation on the vehicle based on the locking / unlocking command if the unlocking / unlocking signal passes the validity authentication includes: If the unlock signal passes the validity authentication, the unlock command is parsed to obtain an unlock request message, which includes a preamble, a command code, and a rolling code. The door lock motor of the vehicle is driven based on the unlocking / locking request message, so that the vehicle performs a vehicle unlocking or vehicle locking action.

5. A vehicle unlocking / locking device, characterized in that, The vehicle unlocking / locking device includes: The status acquisition module is used to acquire the current status of the vehicle when it is detected that the vehicle is in a preset mode; The instruction receiving module is used to receive the unlocking / locking signal issued by the smart key if the current state meets the preset conditions. The judgment and execution module is used to determine whether to perform an unlocking and locking operation on the vehicle based on the unlocking and locking signal; The unlocking signal includes an unlocking instruction and authentication information. The judgment and execution module is further used for: When the authentication information is received, an initial verification code is sent to the smart key, and the target verification code is obtained by encrypting the initial verification code. The system receives the encrypted verification code fed back by the smart key, and performs legality authentication on the unlocking / locking signal based on the target verification code and the encrypted verification code. The encrypted verification code is obtained by the smart key after encrypting the initial verification code. If the unlock signal passes the validity authentication, the vehicle is unlocked or locked based on the unlock command. If the unlock signal fails the validity authentication, the unlock command will be refused and the user will be notified of the unlock error.

6. A vehicle unlocking / locking device, characterized in that, The device includes: a memory, a processor, and a vehicle unlocking / locking program stored in the memory and executable on the processor, the vehicle unlocking / locking program being configured to implement the steps of the vehicle unlocking / locking method as described in any one of claims 1 to 4.

7. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and the storage medium stores a vehicle unlocking and locking program. When the vehicle unlocking and locking program is executed by a processor, it implements the steps of the vehicle unlocking and locking method as described in any one of claims 1 to 4.

8. A computer program product, characterized in that, The computer program product includes a vehicle unlocking / locking program, which, when executed by a processor, implements the steps of the vehicle unlocking / locking method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Method and device for controlling charge port door lock of new energy automobile and new energy automobile

    CN107143222A

  • Vehicle remote encryption unlocking control method and control system and vehicle

    CN113415255A

  • Vehicle door opening control method and device, storage medium and vehicle

    CN118008051A