Vehicle lock control method, mobile terminal and vehicle

By establishing a short-distance communication network between the mobile terminal and the target vehicle, generating and sending encrypted key data, the problem that the vehicle cannot be unlocked or locked in a network-free area is solved, and the vehicle's handling and intelligence are improved.

CN119559718APending Publication Date: 2025-03-04SHANGHAI XIAOPENG MOTORS TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411747219.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

In the prior art, vehicles cannot be unlocked or locked when there is no network area, resulting in limited vehicle handling and intelligence.

Method used

By establishing a short-distance communication network connection between the mobile terminal and the target vehicle, the mobile terminal receives the user's vehicle control request and generates encrypted key data, and sends it to the target vehicle for decryption and vehicle control command generation, realizing the unlocking or locking operation of the vehicle.

Benefits of technology

In the absence of network signals, the vehicle is unlocked and locked through a short-range communication network, which improves the vehicle's manipulation and intelligence, and solves the problem of not being able to control the vehicle when the network signal is poor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119559718A_ABST
    Figure CN119559718A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle lock control method, a mobile terminal and a vehicle, and relates to the technical field of vehicle control. The method comprises the following steps: establishing communication connection between a target vehicle and a mobile terminal through a near field communication network; the mobile terminal receives a vehicle control request initiated by a user, and generates encrypted key data according to the vehicle control request; the mobile terminal sends the key data to the target vehicle through a near field communication network; the target vehicle decrypts the encrypted key data to generate a vehicle control instruction; and the target vehicle is controlled to be unlocked or locked based on the vehicle control instruction, so that the controllability and intelligence of the vehicle are improved, and the problem that the vehicle cannot be unlocked or locked by depending on network remote control when the network signal is poor in the related technology is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle control technology, and in particular to a vehicle lock control method, a mobile terminal and a vehicle. Background Art

[0002] In the related art, most vehicles control the unlocking or locking of the vehicle through an application provided on a mobile terminal. Specifically, the user needs to send a control instruction to the vehicle by triggering the unlocking control or locking control provided by the application, and the vehicle controls the vehicle to unlock or lock according to the control instruction sent by the mobile terminal.

[0003] However, the above-mentioned vehicle lock control method needs to rely on the communication network to be implemented. When the vehicle is parked in an area without a network, there is a problem that the vehicle cannot be unlocked or locked. Summary of the invention

[0004] The purpose of the present invention is to provide a vehicle lock control method, a mobile terminal and a vehicle in order to solve the technical problems existing in the prior art in view of the above-mentioned deficiencies in the prior art.

[0005] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:

[0006] In a first aspect, an embodiment of the present application provides a vehicle lock control method, which is applied to a mobile terminal, and the method includes:

[0007] The mobile terminal establishes a communication connection with the target vehicle via a short-range communication network;

[0008] The mobile terminal receives a vehicle control request;

[0009] The mobile terminal generates encrypted key data according to the vehicle control request;

[0010] The mobile terminal sends the encrypted key data to the target vehicle through the short-range communication network, so that the target vehicle controls the target vehicle to be unlocked or locked based on the encrypted key data.

[0011] Optionally, generating encrypted key data according to the vehicle control request includes:

[0012] Obtaining an authentication message pre-stored on the mobile terminal, the authentication message including: a user name, a password and a serial number;

[0013] The encrypted key data is generated according to the authentication message and the vehicle control request.

[0014] Optionally, generating the encrypted key data according to the authentication message and the vehicle control request includes:

[0015] Using a pre-stored private key to sign the authentication message to generate a signature result;

[0016] Use the pre-stored symmetric key to process the vehicle control request and generate a hash value;

[0017] The signature result and the hash value are combined into the encrypted key data.

[0018] Optionally, the mobile terminal establishes a communication connection with the target vehicle via a short-range communication network, including:

[0019] Sending a connection request to the target vehicle, wherein the connection request includes: a connection instruction and a connection token;

[0020] A connection response returned by the target vehicle is received, and a communication connection is established with the target vehicle via a short-range communication network.

[0021] Optionally, before the target vehicle and the mobile terminal establish a communication connection via the short-range communication network, the method further includes:

[0022] Sending an authentication request to the target vehicle, the authentication request comprising: a first random number;

[0023] Receiving a second random number returned by the target vehicle;

[0024] Generate a first ciphertext according to the second random number, the first random number and a mobile terminal authentication key pre-stored on the mobile terminal, and send the first ciphertext to the target vehicle;

[0025] Receive an authentication verification response returned by the target vehicle.

[0026] In a second aspect, an embodiment of the present application provides a vehicle lock control method, which is applied to a target vehicle, and the method includes:

[0027] The target vehicle establishes a communication connection with the mobile terminal via a short-range communication network;

[0028] The target vehicle receives the encrypted key data sent by the mobile terminal via the short-range communication network;

[0029] The target vehicle decrypts the encrypted key data to generate a vehicle control instruction;

[0030] The target vehicle is controlled to be unlocked or locked based on the vehicle control instruction.

[0031] Optionally, decrypting the encrypted key data to generate a vehicle control instruction includes:

[0032] Using a public key pre-stored on the target vehicle, verifying the signature result in the encrypted key data to generate a verification result, wherein the verification result includes: passing legal verification or failing legal verification;

[0033] If the verification result is that the legal verification is passed, the hash value in the encrypted key data is verified using a pre-stored symmetric key to generate a vehicle control instruction.

[0034] Optionally, the target vehicle and the mobile terminal establish a communication connection via a short-range communication network, including:

[0035] Receiving a connection request sent by the mobile terminal, wherein the connection request includes: a connection instruction and a connection token;

[0036] The connection token is compared with a pre-stored verification token. If they are consistent, the connection instruction is executed and a connection response is returned to the mobile terminal, so that the target vehicle and the mobile terminal establish a communication connection via a short-range communication network.

[0037] Optionally, before the target vehicle and the mobile terminal establish a communication connection via the short-range communication network, the method further includes:

[0038] receiving an authentication request sent by the mobile terminal, the authentication request comprising: a first random number;

[0039] Performing authentication verification according to the authentication request and generating an authentication verification result, wherein the authentication verification result includes: passing the authentication verification or failing the authentication verification;

[0040] If the authentication verification result is that the authentication verification is passed, an authentication verification response is returned to the mobile terminal, and the vehicle control unit on the target vehicle wakes up the entire vehicle system.

[0041] Optionally, performing authentication verification according to the authentication request and generating an authentication verification result includes:

[0042] Generate a second random number according to the authentication request, and send the second random number to the mobile terminal;

[0043] Generate a second ciphertext according to the second random number, the first random number and a pre-stored vehicle-side authentication key;

[0044] Acquire a first ciphertext returned by the mobile terminal, where the first ciphertext is generated by the mobile terminal based on the second random number, the first random number, and a mobile terminal authentication key pre-stored on the mobile terminal;

[0045] An authentication verification result is generated according to a comparison result of the first ciphertext and the second ciphertext.

[0046] In a third aspect, an embodiment of the present application provides a mobile terminal, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the mobile terminal is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the method provided in the first aspect.

[0047] In a fourth aspect, an embodiment of the present application provides a vehicle, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the vehicle is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the vehicle lock control method provided in the second aspect.

[0048] In a fifth aspect, an embodiment of the present application provides a vehicle lock control system, including: a mobile terminal and a target vehicle;

[0049] The mobile terminal executes the steps of the vehicle lock control method provided in the first aspect;

[0050] The target vehicle executes the steps of the vehicle lock control method provided in the second aspect.

[0051] The beneficial effects of this application are:

[0052] The embodiment of the present application provides a vehicle lock control method, a mobile terminal and a vehicle, the method comprising: the target vehicle and the mobile terminal establish a communication connection via a short-distance communication network; the mobile terminal receives a vehicle control request initiated by a user, and generates encrypted key data according to the vehicle control request; the mobile terminal sends the key data to the target vehicle via the short-distance communication network; the target vehicle decrypts the encrypted key data and generates a vehicle control instruction; the target vehicle controls the target vehicle to unlock or lock based on the vehicle control instruction. This scheme is mainly for when the vehicle is parked in a remote area or an underground parking lot, because the network signal is too weak or even no signal, the mobile terminal can establish a communication connection with the target vehicle via a short-distance communication network, and receive the vehicle control request issued by the user through the mobile terminal, and generate encrypted key data according to the vehicle control request, and send the encrypted key data to the target vehicle via the short-distance communication network, the target vehicle generates a vehicle control instruction according to the encrypted key data, and uses the vehicle control instruction to perform unlocking / locking operations, thereby improving the controllability and intelligence of the vehicle, and solving the problem that the vehicle cannot be unlocked or locked when the network signal is poor due to network remote control in the related technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0054] Figure 1 A schematic diagram of a vehicle lock control application scenario provided in an embodiment of the present application;

[0055] Figure 2 A schematic diagram of a flow chart of a vehicle lock control method provided in an embodiment of the present application;

[0056] Figure 3 A schematic diagram of the car lock control applet interface running on a mobile terminal provided in an embodiment of the present application;

[0057] Figure 4 A flowchart of another vehicle lock control method provided in an embodiment of the present application;

[0058] Figure 5 A schematic diagram of obtaining an authentication message in another vehicle lock control method provided in an embodiment of the present application;

[0059] Figure 6 A flowchart of another vehicle lock control method provided in an embodiment of the present application;

[0060] Figure 7 A flow chart of another vehicle lock control method provided in an embodiment of the present application;

[0061] Figure 8 A flowchart of another vehicle lock control method provided in an embodiment of the present application;

[0062] Fig. 9 A flow chart of another vehicle lock control method provided in an embodiment of the present application;

[0063] Fig.10 A flowchart of another vehicle lock control method provided in an embodiment of the present application;

[0064] Fig.11 A schematic diagram of authentication interaction in another vehicle lock control method provided in an embodiment of the present application;

[0065] Fig.12 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application.

[0066] Icons: 1-target vehicle; 2-mobile terminal. DETAILED DESCRIPTION

[0067] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.

[0068] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0069] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.

[0070] A vehicle lock control application scenario provided by the present application will be introduced in detail through the following embodiments.

[0071] Figure 1 A schematic diagram of a vehicle lock control application scenario provided in an embodiment of the present application, referring to Figure 1 As shown, the vehicle lock control application scenario may include a target vehicle 1 and a mobile terminal 2, wherein a communication connection is established between the target vehicle 1 and the mobile terminal 2 via a short-range communication network (such as Bluetooth, NFC, ZigBee, wireless local area network, etc.).

[0072] Exemplarily, for example, the mobile terminal 2 can be a device with operating and display functions such as a smart phone, a tablet computer, and a portable wearable device, that is, it can establish a communication connection with the target vehicle 1 through a short-range communication network to realize some control functions of the target vehicle 1, such as unlocking / locking, opening / closing the trunk, opening / closing the windows, etc.

[0073] For example, the target vehicle 1 is equipped with an in-vehicle Bluetooth, and if the mobile terminal 2 has a built-in Bluetooth, when the mobile terminal 2 enters the communication range of the in-vehicle Bluetooth, the built-in Bluetooth of the mobile terminal 2 matches and connects with the in-vehicle Bluetooth of the target vehicle 1, and authentication is performed. After the authentication is successful, the mobile terminal 2 can be used to control the target vehicle 1 to perform unlocking / locking operations, which solves the problem in related technologies that rely on network remote control and cannot unlock or lock the vehicle when the network signal is poor.

[0074] The implementation principles and corresponding beneficial effects of the vehicle lock control method steps provided in this application will be explained through multiple specific embodiments as follows.

[0075] refer to Figure 2 As shown, it is a flow chart of a vehicle lock control method provided in an embodiment of the present application; optionally, the execution subject of the method may be the above Figure 1 It should be understood that in other embodiments, the order of some steps in the vehicle lock control method can be interchanged according to actual needs, or some steps can be omitted or deleted. Figure 2 As shown, the method includes:

[0076] S201. A target vehicle and a mobile terminal establish a communication connection via a short-range communication network.

[0077] It should be noted that this solution is mainly aimed at when the vehicle is parked in a remote area or underground parking lot, and the network signal is too weak or even there is no signal, and the car lock control solution provided by the relevant technology cannot be unlocked / locked normally. It is proposed that: when the mobile terminal enters the communication range of the on-board Bluetooth on the target vehicle, the Bluetooth of the mobile terminal 2 can be matched and connected with the on-board Bluetooth of the target vehicle 1 via the short-range communication network, and authentication can be performed. After the authentication is successful, the mobile terminal 2 can be used to control the target vehicle 1 to perform unlocking / locking operations, thereby improving the controllability and intelligence of the vehicle.

[0078] Among them, authentication is mainly to identify the identity information of the mobile terminal and the target vehicle, improve the safety and legality of vehicle operation, prevent any mobile terminal from unlocking / locking the target vehicle, and improve the vehicle's anti-theft function.

[0079] S202: The mobile terminal receives a vehicle control request and generates encrypted key data according to the vehicle control request.

[0080] The vehicle control request includes: an unlocking request or a locking request.

[0081] In one possible implementation, for example, referring to Figure 3As shown, a car lock control applet is running on the mobile terminal, and the car lock control applet can be opened normally even without a communication network.

[0082] Among them, reference Figure 3 As shown, after the user enters the car lock control applet, he first enters the login interface. The login interface is provided with a receiving control and a rejecting control. The user can trigger the receiving control or the rejecting control to determine whether the mobile terminal and the target vehicle have established a communication connection via the short-range communication network; and after the authorization is passed, the user can trigger the unlocking control or the locking control in the control interface to send an unlocking request or a locking request to the mobile terminal. The mobile terminal generates encrypted key data according to the received unlocking request or the locking request, thereby improving the security of communication between the mobile terminal and the target vehicle.

[0083] S203: The mobile terminal sends the encrypted key data to the target vehicle via the short-range communication network.

[0084] S204: The target vehicle decrypts the encrypted key data and generates a vehicle control instruction.

[0085] S205: The target vehicle is controlled to be unlocked or locked based on the vehicle control command.

[0086] In one feasible manner, for example, the mobile terminal can send the encrypted key data to the vehicle control unit in the target vehicle via Bluetooth, and the vehicle control unit uses a pre-stored key that is the same as the mobile terminal to decrypt the encrypted key data and generate a vehicle control instruction, that is, the vehicle control instruction includes: an unlocking instruction or a locking instruction; then, the vehicle control unit in the target vehicle can send the generated vehicle control instruction to the actuator in the target vehicle, so that the actuator controls the door of the target vehicle to unlock or lock under the action of the vehicle control instruction, and after the vehicle is locked successfully, it sends a voice prompt message (such as a beep sound), thereby improving the user experience and solving the problem in the related technology that the vehicle cannot be unlocked or locked when the network signal is poor due to remote control relying on the network.

[0087] In summary, the embodiment of the present application provides a vehicle lock control method, which includes: the target vehicle and the mobile terminal establish a communication connection via a short-distance communication network; the mobile terminal receives the vehicle control request initiated by the user, and generates encrypted key data according to the vehicle control request; the mobile terminal sends the key data to the target vehicle through the short-distance communication network; the target vehicle decrypts the encrypted key data and generates a vehicle control instruction; the target vehicle controls the target vehicle to unlock or lock based on the vehicle control instruction. This solution is mainly for when the vehicle is parked in a remote area or underground parking lot, because the network signal is too weak or even no signal, the mobile terminal can establish a communication connection with the target vehicle via a short-distance communication network, and receive the vehicle control request issued by the user through the mobile terminal, and generate encrypted key data according to the vehicle control request, and send the encrypted key data to the target vehicle via the short-distance communication network, the target vehicle generates a vehicle control instruction according to the encrypted key data, and uses the vehicle control instruction to perform unlocking / locking operations, which improves the controllability and intelligence of the vehicle, and solves the problem that the vehicle cannot be unlocked or locked when the network signal is poor due to network remote control in the related technology.

[0088] Optionally, refer to Figure 4 As shown, the above step S202 includes:

[0089] S401: Obtain an authentication message pre-stored in a mobile terminal.

[0090] The authentication message includes: user name, password and serial number.

[0091] S402: Generate encrypted key data according to the authentication message and the vehicle control request.

[0092] It should be understood that before the target vehicle and the mobile terminal establish a communication connection via the short-range communication network, it is necessary to obtain an authentication message from the digital key platform to perform a double authentication on the target vehicle and the mobile terminal to ensure the legitimacy and security of the authentication message.

[0093] Among them, reference Figure 5 As shown in the figure, the specific process of obtaining the authentication message is as follows:

[0094] First, the mobile terminal sends an authentication message request to the digital key platform. The authentication message request includes: the applet identifier KeyId and the applet user identifier id running on the mobile terminal;

[0095] Second, the digital key platform verifies whether the key status corresponding to the mini-program identifier KeyId is available based on the authentication message request. If available, it verifies whether the mini-program user identifier id is associated with the mini-program identifier KeyId. If so, it obtains the same certificate shared with the target vehicle, generates an authentication message and updates the counter; the certificate contains the structure of {

[0096] Symmetric Key

[0097] "Public Key"

[0098] Private Key

[0099] }

[0100] Among them, the symmetric key is used to decrypt the ciphertext message, and the public key is used to verify the digital signature in the message;

[0101] The certificate proposed in this scheme has the following advantages:

[0102] 1. Certificate pre-configuration management mechanism

[0103] Pre-set certificates: The present invention adopts the method of pre-setting certificates, that is, a certain number of key message certificates are stored in advance on the mobile terminal. This method simplifies the process of user key creation, and users can complete key creation and management only when there is a network.

[0104] Certificate activation and use: The pre-set certificates are activated through the digital key platform when used for the first time, ensuring the legitimacy and security of the certificates. After that, users can use these certificates to generate key messages at any time.

[0105] 2. Serial number management mechanism

[0106] Serial number generation and verification: Each key message will be assigned an incremental serial number when it is generated. The vehicle side and digital key platform will record and verify these serial numbers to ensure the timeliness and validity of the key message.

[0107] Serial number synchronization: Through the serial number synchronization mechanism between the vehicle side and the digital key platform, the system ensures consistent authentication of the key message serial number, thereby preventing outdated or unauthorized key messages from being used.

[0108] 3. Independent Certificate

[0109] Independent certificates for mobile terminals: Assign independent certificates to mobile terminals, and customize security policies based on the specific needs of the App.

[0110] Mini Program Unified Certificate: Considering the cache limitation of Mini Program, the present invention allows all Mini Programs to use the same preset certificate. The security and consistency of Mini Program keys are ensured through the unified update strategy of the digital key platform.

[0111] In this embodiment, for example, the mobile terminal concatenates the acquired user name, password, serial number and unlock request / lock request to generate encrypted key data.

[0112] Optionally, refer to Figure 6 As shown, the above step S402 includes:

[0113] S601: Use a pre-stored private key to sign the authentication message to generate a signature result.

[0114] S602: Use the pre-stored symmetric key to process the vehicle control request and generate a hash value.

[0115] S603: Combine the signature result and the hash value into encrypted key data.

[0116] In another feasible method, for example, the private key in the certificate pre-acquired on the mobile terminal is used to sign the user name, password and serial number to generate a signature result SS; then, the symmetric key in the pre-acquired certificate is used to hash the unlock request / lock request, the hash value Hash, and the signature result SS is concatenated with the hash value Hash to generate encrypted key data.

[0117] Optionally, refer to Figure 7 As shown, the above step S204 includes:

[0118] S701. Use the public key pre-stored on the target vehicle to verify the signature result and generate a verification result.

[0119] The verification results include: passing the legal verification or failing the legal verification.

[0120] S702: If the verification result is that the legal verification has been passed, the hash value is verified using the pre-stored symmetric key to generate a vehicle control instruction.

[0121] In this embodiment, the target vehicle uses the public key in the pre-stored certificate to verify the signature result, obtain the user name, password and serial number, and compare the user name, password and serial number with the user name, password and serial number of the mobile terminal previously bound to the target vehicle. If the comparison is consistent, it is determined that the legitimacy verification has passed; then, the hash value is verified using the pre-stored symmetric key to generate a vehicle control instruction, i.e., an unlock instruction / lock instruction, so that the target vehicle can control the door on the target vehicle to perform an unlock operation or a lock operation based on the vehicle control instruction.

[0122] Among them, using the pre-stored symmetric key to verify the hash value can ensure that the message is not tampered with during transmission, achieve an anti-tampering effect, and also ensure the integrity of the message.

[0123] The following embodiments will be used to explain in detail how a mobile terminal and a target vehicle establish a communication connection via a short-range communication network.

[0124] Optionally, refer to Figure 8As shown, the above step S201 includes:

[0125] S801. The mobile terminal sends a connection request to the target vehicle.

[0126] The connection request includes: a connection instruction and a connection token.

[0127] S802: The target vehicle receives the connection request and compares the connection token with the pre-stored verification token. If they are consistent, the connection instruction is executed to establish a communication connection between the target vehicle and the mobile terminal via the short-range communication network.

[0128] In this embodiment, the mobile terminal sends a connection request to the target vehicle, and the target vehicle determines whether the connection token sent by the mobile terminal is consistent with the verification token stored in itself. If they are consistent, the connection instruction is executed; if they are inconsistent, it is considered as an illegal operation and the connection instruction is refused. In this way, the security and reliability of communication between the two parties can be improved.

[0129] The following examples will explain in detail how the mobile terminal and the target vehicle are authenticated.

[0130] Optionally, refer to Fig. 9 As shown, before the above step S201, it also includes:

[0131] S901. The mobile terminal sends an authentication request to the target vehicle.

[0132] The authentication request includes: a first random number.

[0133] S902: The target vehicle performs authentication verification according to the authentication request and generates an authentication verification result.

[0134] The authentication result includes: passing the authentication or failing the authentication.

[0135] S903: If the authentication verification result is that the authentication verification is passed, the vehicle control unit on the target vehicle wakes up the vehicle system.

[0136] In this example, for example, the mobile terminal sends an authentication request to the target vehicle, and the target vehicle performs authentication verification on the received authentication request and generates an authentication verification result, which includes: passing the authentication verification or failing the authentication verification. Optionally, if the target vehicle does not receive the authentication request sent by the mobile terminal within 10 seconds, the communication connection is automatically disconnected; if the mobile terminal passes the authentication of the target vehicle, the vehicle control unit on the target vehicle wakes up the vehicle system.

[0137] Optionally, refer to Fig.10 As shown, the above step S903 includes:

[0138] S1001. Generate a second random number according to an authentication request, and send the second random number to a mobile terminal.

[0139] S1002. Generate a second ciphertext based on the second random number, the first random number and a pre-stored vehicle-side authentication key.

[0140] S1003. Obtain the first ciphertext returned by the mobile terminal.

[0141] The first ciphertext is generated by the mobile terminal based on the second random number, the first random number and a mobile terminal authentication key pre-stored in the mobile terminal.

[0142] S1004. Generate an authentication verification result according to the comparison result of the first ciphertext and the second ciphertext.

[0143] In one possible implementation, for example, referring to Fig.11 As shown, after receiving the first random number RAND1 sent by the mobile terminal, the target vehicle generates a second random number RAND2 and sends the second random number RAND1 to the mobile terminal; at this time, the target vehicle uses the pre-stored vehicle-side authentication key K1 to encrypt the second random number RAND2 and the first random number RAND1 to generate a second ciphertext K2=hamc(K1, RAND2+RAND1); then, the target vehicle receives the first ciphertext K2' returned by the mobile terminal, wherein the first ciphertext K2' is generated by the mobile terminal using the pre-stored mobile terminal authentication key K1 to encrypt the second random number RAND2 and the first random number RAND1, that is, K2'=hamc(K1, RAND2+RAND1), wherein the mobile terminal authentication key is the same as the vehicle-side authentication key, both of which are recorded as K1; finally, the first ciphertext is compared with the second ciphertext, if they are consistent, the authentication verification result is determined to be passed; if they are inconsistent, the authentication verification result is determined to be failed.

[0144] Optionally, refer to Fig.12 As shown, a vehicle provided in an embodiment of the present application includes: a processor 1201 and a memory 1202.

[0145] The memory 1102 is used to store programs, and the processor 701 calls the programs stored in the memory 702 to execute the above method embodiment. The specific implementation method and technical effect are similar and will not be repeated here.

[0146] Optionally, the present invention also provides a program product, such as a computer-readable storage medium, comprising a program, which is used to execute the above method embodiment when executed by a processor.

[0147] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0148] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0149] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0150] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.

Claims

1. A vehicle lock control method, characterized in that: Applied to a mobile terminal, the method comprises: The mobile terminal establishes a communication connection with the target vehicle via a short-range communication network; The mobile terminal receives a vehicle control request; The mobile terminal generates encrypted key data according to the vehicle control request; The mobile terminal sends the encrypted key data to the target vehicle through the short-range communication network, so that the target vehicle controls the target vehicle to be unlocked or locked based on the encrypted key data.

2. The method according to claim 1, characterized in that The step of generating encrypted key data according to the vehicle control request includes: Obtaining an authentication message pre-stored on the mobile terminal, the authentication message including: a user name, a password and a serial number; The encrypted key data is generated according to the authentication message and the vehicle control request.

3. The method according to claim 2, characterized in that The step of generating the encrypted key data according to the authentication message and the vehicle control request includes: Using a pre-stored private key to sign the authentication message to generate a signature result; Use the pre-stored symmetric key to process the vehicle control request and generate a hash value; The signature result and the hash value are combined into the encrypted key data.

4. The method according to claim 1, characterized in that: The mobile terminal establishes a communication connection with the target vehicle via a short-range communication network, including: Sending a connection request to the target vehicle, wherein the connection request includes: a connection instruction and a connection token; A connection response returned by the target vehicle is received, and a communication connection is established with the target vehicle via a short-range communication network.

5. The method according to claim 4, characterized in that Before the target vehicle and the mobile terminal establish a communication connection via the short-range communication network, the method further includes: Sending an authentication request to the target vehicle, the authentication request comprising: a first random number; Receiving a second random number returned by the target vehicle; Generate a first ciphertext according to the second random number, the first random number and a mobile terminal authentication key pre-stored on the mobile terminal, and send the first ciphertext to the target vehicle; Receive an authentication verification response returned by the target vehicle.

6. A vehicle lock control method, characterized in that: Applied to a target vehicle, the method comprises: The target vehicle establishes a communication connection with the mobile terminal via a short-range communication network; The target vehicle receives the encrypted key data sent by the mobile terminal via the short-range communication network; The target vehicle decrypts the encrypted key data to generate a vehicle control instruction; The target vehicle is controlled to be unlocked or locked based on the vehicle control instruction.

7. The method according to claim 6, characterized in that The decrypting the encrypted key data to generate a vehicle control instruction includes: Using a public key pre-stored on the target vehicle, verifying the signature result in the encrypted key data to generate a verification result, wherein the verification result includes: passing legal verification or failing legal verification; If the verification result is that the legal verification is passed, the hash value in the encrypted key data is verified using a pre-stored symmetric key to generate the vehicle control instruction.

8. The method according to claim 6, characterized in that The target vehicle and the mobile terminal establish a communication connection via a short-range communication network, including: Receiving a connection request sent by the mobile terminal, wherein the connection request includes: a connection instruction and a connection token; The connection token is compared with a pre-stored verification token. If they are consistent, the connection instruction is executed and a connection response is returned to the mobile terminal, so that the target vehicle and the mobile terminal establish a communication connection via a short-range communication network.

9. The method according to claim 8, characterized in that Before the target vehicle and the mobile terminal establish a communication connection via the short-range communication network, the method further includes: receiving an authentication request sent by the mobile terminal, the authentication request comprising: a first random number; Performing authentication verification according to the authentication request and generating an authentication verification result, wherein the authentication verification result includes: passing the authentication verification or failing the authentication verification; If the authentication verification result is that the authentication verification is passed, an authentication verification response is returned to the mobile terminal, and the vehicle control unit on the target vehicle wakes up the entire vehicle system.

10. The method according to claim 9, characterized in that The performing authentication verification according to the authentication request and generating an authentication verification result includes: Generate a second random number according to the authentication request, and send the second random number to the mobile terminal; Generate a second ciphertext according to the second random number, the first random number and a pre-stored vehicle-side authentication key; Acquire a first ciphertext returned by the mobile terminal, where the first ciphertext is generated by the mobile terminal based on the second random number, the first random number, and a mobile terminal authentication key pre-stored on the mobile terminal; An authentication verification result is generated according to a comparison result of the first ciphertext and the second ciphertext.

11. A mobile terminal, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the mobile terminal is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of any method as described in claims 1-5.

12. A vehicle, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the vehicle is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of any method as described in claims 6-10.

Citation Information

Cited By

  • Two-wheel vehicle searching and local authorization control method and system in off-line environment

    CN122336970A