Car control method and system based on digital key
By using networkless communication methods and local authentication data for identity and permission verification in networkless scenarios, the security problem of digital key vehicle control is solved, and vehicle security and user identity verification accuracy in networkless scenarios are improved.
Patent Information
- Application Number
- CN202411057143.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-11-19
AI Technical Summary
In the absence of network scenario, reliable communication cannot be achieved between vehicles, cloud and mobile terminals, resulting in the security of digital key-controlled vehicles being threatened, and the existing technology is difficult to effectively solve this problem.
By sending digital keys using networkless communication between the mobile terminal and the vehicle to be controlled, and verifying the identity information and permissions of local authentication data on the vehicle to be controlled, limiting the number of vehicles without network control and validity period to ensure authentication Accuracy and safety of results.
It effectively improves the security of digital key vehicle control in the Internet-free scenario, prevents illegal users from bypassing permission settings by modifying data, and ensures the security of the vehicle and the accuracy of user identity verification.
Smart Images

Figure CN118977678A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital key vehicle control, and in particular to a vehicle control method and system based on a digital key. Background Art
[0002] Digital keys are an emerging trend in the field of automotive technology. Digital keys allow users to control their vehicles without carrying physical keys, making it more convenient for users to control their vehicles. However, in weak or no network conditions such as underground garages, the vehicle, cloud, and mobile terminals cannot achieve reliable communication, which makes the security of digital key use a new challenge.
[0003] Therefore, how to improve the security of digital key car control in offline scenarios is a technical problem that needs to be solved urgently. Summary of the invention
[0004] The present invention provides a vehicle control method and system based on a digital key, which improves the security of vehicle control using a digital key in a network-free scenario.
[0005] The embodiment of the present invention provides the following solution:
[0006] In a first aspect, an embodiment of the present invention provides a vehicle control method based on a digital key, the vehicle control method is applied to a vehicle side, and the method includes:
[0007] When the mobile terminal and the vehicle to be controlled are not connected to the Internet, receiving a digital key sent by the mobile terminal via a wireless communication method, wherein the digital key includes user identity information of the mobile terminal;
[0008] Perform identity information verification and authority verification on the digital key according to the local authentication data of the vehicle to be controlled to obtain the authentication result;
[0009] When the authentication result is authentication passed, a data packet including the authentication passed is encoded and sent to the mobile terminal;
[0010] When the authentication result is authentication failure, the data packet including the authentication failure is encoded and sent to the mobile terminal.
[0011] In an optional embodiment, identity information verification and authority verification are performed on the digital key according to the local authentication data of the vehicle to be controlled to obtain an authentication result, including:
[0012] Compare and verify the user identity information of the digital key according to the local identity information of the local authentication data;
[0013] When the user identity information is verified and the authentication type of the digital key is off-network authentication, the digital key is verified for authority according to the authority conditions contained in the local authentication data, where the authority conditions include the upper limit of the number of consecutive off-network vehicle control operations in off-network communication mode;
[0014] When the permission check is passed, the authentication result of passed authentication is output;
[0015] When the permission check fails, the authentication result indicating that the authentication failed is output.
[0016] In an optional embodiment, the digital key is verified according to the permission conditions contained in the local authentication data, including:
[0017] Determine whether the number of times the digital key represents the number of times the vehicle is controlled without a network has reached the upper limit;
[0018] When the number of times the vehicle is not under network control reaches the upper limit, the authentication result indicating authentication failure is output;
[0019] When the number of times the vehicle is controlled without a network has not reached the upper limit, the validity period of the digital key is verified according to the local time of the vehicle to be controlled, and the authentication result of the authentication passing is output when the verification passes.
[0020] In an optional embodiment, after the number of times the vehicle is not network-controlled reaches an upper limit, the method further includes:
[0021] Active communication decoupling in a network-free communication mode is performed on the vehicle to be controlled, so that the vehicle to be controlled actively disconnects the communication connection state with the mobile terminal in the network-free communication mode.
[0022] In an optional embodiment, the method further includes:
[0023] When the mobile terminal and the vehicle to be controlled are in a communication connection state of Internet connection, the number of records of continuous execution of network-free vehicle control in the network-free communication mode is updated to the initial value.
[0024] In a second aspect, an embodiment of the present invention further provides a vehicle control method based on a digital key, the vehicle control method is applied to a mobile terminal, and the method includes:
[0025] When the mobile terminal and the vehicle to be controlled are not connected to the Internet, a digital key is sent to the vehicle to be controlled via a wireless communication method, wherein the digital key includes the user identity information of the mobile terminal;
[0026] Receive and parse the authentication result returned by the vehicle to be controlled, wherein the authentication result is the verification result of the identity information verification and authority verification of the digital key by the vehicle to be controlled based on the local authentication data in a network-free communication mode;
[0027] When the authentication result is resolved as authentication passed, outputting first display information including authentication passed;
[0028] When the authentication result is resolved as authentication failure, second display information including authentication failure is output.
[0029] In an optional embodiment, the method further includes:
[0030] When the mobile terminal and the vehicle to be controlled are connected via the Internet, the application instruction for the digital key is sent to the cloud;
[0031] Receive the digital key issued by the cloud based on the application instruction, and store the digital key issued by the cloud locally.
[0032] In an optional embodiment, sending a digital key to a vehicle to be controlled via a wireless communication method includes:
[0033] Generate a task of entering user identity information when the mobile terminal is in a no-network state;
[0034] Entering the user's current identity information into the mobile terminal according to the input task;
[0035] The current identity information is compiled into the digital key, and the digital key is sent to the vehicle to be controlled via wireless communication.
[0036] In an optional embodiment, after outputting the second display information including authentication failure, the method further includes:
[0037] Generate an activation task for the digital key so that the user can reactivate the digital key through the activation task to control the car without a network.
[0038] In a third aspect, an embodiment of the present invention further provides a vehicle control system based on a digital key, the system comprising a mobile terminal and a vehicle to be controlled connected via a wireless communication method, the wireless communication method being a wireless communication method other than an Internet connection;
[0039] The mobile terminal is used to send a digital key to the vehicle to be controlled via a wireless communication method, wherein the digital key includes the user identity information of the mobile terminal;
[0040] The vehicle to be controlled is used to verify the identity information and authority of the digital key according to the local authentication data to obtain the authentication result;
[0041] When the authentication result is authentication passed, the vehicle to be controlled encodes the data packet including the authentication passed and sends it to the mobile terminal;
[0042] When the authentication result is an authentication failure, the vehicle to be controlled encodes the data packet including the authentication failure and sends it to the mobile terminal.
[0043] Compared with the prior art, the vehicle control method and system based on digital key of the present invention has the following advantages:
[0044] The technical solution of the present invention sends a digital key to a vehicle to be controlled via a mobile terminal via a network-free communication method. The vehicle to be controlled verifies the identity information and authority of the digital key based on the local authentication data to obtain an authentication result. When the authentication result is authentication passed, the vehicle to be controlled encodes the data packet including the authentication passed and sends it to the mobile terminal. When the authentication result is authentication failed, the vehicle to be controlled encodes the data packet including the authentication failed and sends it to the mobile terminal. Since it is difficult to modify the local authentication data of the vehicle to be controlled, the digital key is verified based on the local authentication data of the vehicle to be controlled, which effectively prevents the permission setting of the digital key from being bypassed by modifying the data through the mobile terminal, thereby improving the security of using the digital key in a network-free scenario. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0046] Figure 1 A flow chart of a vehicle control method based on a digital key provided by an embodiment of the present invention;
[0047] Figure 2 A logical schematic diagram of a vehicle-side digital key-based vehicle control provided by an embodiment of the present invention;
[0048] Figure 3 A flow chart of a vehicle control method based on a digital key by a mobile terminal provided in an embodiment of the present invention;
[0049] Figure 4 A logical schematic diagram of a mobile terminal controlling a vehicle based on a digital key provided in an embodiment of the present invention;
[0050] Figure 5 A logical schematic diagram of a digital key-based vehicle control system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0051] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention belong to the scope of protection of the embodiments of the present invention.
[0052] Currently, for digital key car control in offline scenarios, the number of one-time keys is mostly limited based on mobile terminals. However, mobile terminals are easily modified by illegal users, resulting in insufficient security of digital key car control in offline scenarios. The following embodiments of the present invention will specifically explain how to improve the security of digital key car control in offline scenarios.
[0053] See also Figure 1 , Figure 1 A flow chart of a vehicle control method based on a digital key provided in an embodiment of the present invention. The vehicle control method is applied to a vehicle end and can be run based on a TBOX (Telematics Box, a vehicle-mounted remote communication unit) of the vehicle. The vehicle control method includes:
[0054] S11. When the mobile terminal and the vehicle to be controlled are not connected to the Internet, a digital key sent by the mobile terminal is received via a wireless communication method, wherein the digital key includes user identity information of the mobile terminal.
[0055] Specifically, the mobile terminal can be the user's mobile phone, or it can be a smart wearable device carried by the user, such as a smart watch. The mobile terminal and the vehicle to be controlled are not connected through Internet communication. The reason may be equipment failure, or it may be in a basement or other situation where the base station cannot be connected. The off-network communication method can be Bluetooth, or it can be other radio frequency wireless communication methods, which can enable the mobile terminal and the vehicle to be controlled to communicate wirelessly without going through the Internet. In order to enable the user to control the vehicle without a network, the mobile terminal sends a digital key containing the user's identity information to the vehicle to be controlled. The user's identity information can be the user's fingerprint or the user's facial image, etc., and the information can be used to implement identity identification through the user's unique biometric feature. There is no specific limitation here. After receiving the digital key sent by the mobile terminal, step S12 is entered.
[0056] S12. Perform identity information verification and authority verification on the digital key according to the local authentication data of the vehicle to be controlled to obtain an authentication result.
[0057] Specifically, local authentication data is data stored in the vehicle to be controlled, which is used to verify the digital key sent by the mobile terminal in an offline state. It is understandable that since most of the vehicles to be controlled are embedded systems, their system architecture is developed based on the Linux operating system. Compared with mobile terminals developed using operating systems such as Android (or Android), the stored data inside the vehicle to be controlled is more difficult to be tampered with. Therefore, verifying the digital key based on local authentication data has higher security.
[0058] The purpose of the identity information verification described in the embodiment of the present invention is to verify whether the user identity of the digital key sent by the mobile terminal is legal. When the identity information verification is successful, the authority of the digital key is further verified to determine whether the digital key has the authority to control the vehicle without a network. When the identity information verification fails, it means that the mobile terminal user who sent the digital key is not the user of the vehicle to be controlled, and an error code is returned to the mobile terminal; similarly, when the authority verification fails, it means that the digital key has no authority to control the vehicle without a network, and an error code is still returned to the mobile terminal.
[0059] Exemplarily, step S12 includes sub-steps S12-1 to S12-4, which are specifically described as follows:
[0060] S12-1. Compare and verify the user identity information of the digital key based on the local identity information of the local authentication data.
[0061] Multiple users can be configured based on the vehicle's usage requirements, and different vehicle control permissions can be configured for different users. For example, all vehicle control permissions can be opened to the vehicle owner, and the vehicle multimedia and mobile terminal interconnection can be restricted for other users. When implementing identity information verification, the corresponding target user can be determined in the user library of the vehicle to be controlled by the user name of the digital key, and the user identity information of the digital key can be verified by the local user corresponding to the local authentication data of the target user. If the two verifications are consistent, or the difference in the verification results is less than the preset value, it is determined that the identity information verification has passed.
[0062] S12-2. When the user identity information is verified and the authentication type of the digital key is off-network authentication, the digital key is verified for authority according to the authority conditions contained in the local authentication data, wherein the authority conditions include the upper limit of the number of consecutive off-network vehicle control operations in off-network communication mode.
[0063] The authentication types of digital keys include network authentication and non-network authentication. When the mobile terminal communicates with the vehicle to be controlled via the Internet, network authentication is used to implement the digital key authority authentication; when the mobile terminal communicates with the vehicle to be controlled via non-network communication, non-network authentication is used to implement the digital key authority authentication. Since the authority conditions include the upper limit of the number of consecutive non-network control of the vehicle under non-network communication, users can implement limited vehicle control under non-network conditions, improving the safety of using digital keys in non-network scenarios.
[0064] In practical applications, since only limiting the number of times a digital key can be used to control a vehicle still poses a risk of theft and abuse, in a specific implementation, sub-step S12-2 includes the following steps:
[0065] The first step is to determine whether the number of times the digital key represents the number of times the vehicle is not controlled by the network has reached the upper limit. The upper limit can be set based on actual needs, for example, set to 5 times. Different times can also be set based on different user types, for example, the upper limit for the vehicle owner is set to 10 times; the upper limit for other users is set to 5 times, and the upper limit for other users can also be configured by the vehicle owner.
[0066] In the second step, when the number of times the vehicle is controlled without a network reaches the upper limit, it means that the digital key has reached the limit of controlling the vehicle without a network. In order to ensure the safety of the vehicle, the use permission will no longer be open, and the authentication result of failed authentication will be output. The authentication result can be represented as a binary number, for example, the output is 0 when the authentication fails and the output is 1 when the authentication succeeds; of course, the authentication result can also be represented as a data packet, which is not specifically limited here.
[0067] The third step is to verify the validity period of the digital key according to the local time of the vehicle to be controlled when the number of times the vehicle is not controlled by the network has not reached the upper limit, and output the authentication result of authentication passing when the verification passes. It can be understood that the local time of the vehicle to be controlled is the on-board clock, which is difficult to tamper with; and the local time of the mobile terminal can be modified by user operation. Therefore, the validity period of the digital key is verified by the local time of the vehicle to be controlled, which has higher security. When implementing the validity period verification, the local time of the vehicle to be controlled is used to determine whether the issuance time of the digital key is valid. For example, the issuance time of the digital key of the mobile terminal is May 2024, with a validity period of 1 month. When the local time of the vehicle to be controlled is in July, the digital key is invalid after the validity period verification, and the authority verification is in a failed state; when the local time of the vehicle to be controlled is in June, the digital key is valid after the validity period verification, and the authority verification is in a passed state.
[0068] S12-3, when the authority check is in the pass state, the authentication result of the authentication is output. As mentioned above, the authentication result can be represented as a binary number or a data packet. When the authority check is in the pass state, it means that the user of the mobile terminal has the authority to control the vehicle, and then enter step S13.
[0069] S12-4, when the authority check fails, output the authentication result indicating that the authentication failed. When the authority check passes, it means that the user of the mobile terminal does not have the authority to control the vehicle, and then proceed to step S14.
[0070] At this point, the identity information and authority verification have been performed through the digital key of the mobile terminal, and the authentication result has been obtained.
[0071] S13. When the authentication result is authentication passed, encode the data packet including the authentication passed and send it to the mobile terminal.
[0072] Specifically, the method of encoding the data packet that has passed the authentication can be determined based on the wireless communication method between the mobile terminal and the vehicle to be controlled. For example, when the mobile terminal and the vehicle to be controlled communicate via Bluetooth, the data packet that has passed the authentication is encoded based on the Bluetooth communication protocol and sent to the mobile terminal to feedback the authentication information to the user of the mobile terminal.
[0073] S14. When the authentication result is authentication failure, encode the data packet including the authentication failure and send it to the mobile terminal.
[0074] Similarly, when the authentication fails, it means that the user of the mobile terminal has no control authority over the vehicle. The data packet of the authentication failure is encoded based on the Bluetooth communication protocol and sent to the mobile terminal to feedback the authentication failure information to the user of the mobile terminal.
[0075] To further improve the safety of controlling the vehicle without a network, after the number of times of controlling the vehicle without a network reaches an upper limit, the method further includes:
[0076] Active communication decoupling of the non-network communication mode is performed on the controlled vehicle, so that the controlled vehicle actively disconnects the communication connection state with the mobile terminal in the non-network communication mode. For example, when the controlled vehicle and the mobile terminal are connected by Bluetooth, the controlled vehicle actively exits the Bluetooth communication state with the mobile terminal. Since the controlled vehicle and the mobile terminal have been decoupled in communication, the mobile terminal cannot continue to implement permission authentication through the non-network communication mode, thereby improving the security of digital key control of the vehicle in the non-network state.
[0077] Due to the uncertainty of vehicle driving, after the vehicle is controlled without network through the mobile terminal, the number of times the vehicle is controlled will be recorded. If it continues to accumulate, the vehicle may not be controlled without network again because the upper limit is reached. Based on this, in a specific implementation method, the method also includes:
[0078] When the mobile terminal and the vehicle to be controlled are in a communication connection state connected to the Internet, the number of records of continuous execution of the non-network controlled vehicle in the non-network communication mode will be updated to the initial value. That is, the number of records of the non-network controlled vehicle is reset. The next time the mobile terminal implements the non-network controlled vehicle on the controlled vehicle, the number of authentication implementations will be restored to the initial value. This control strategy can improve the convenience of the non-network controlled vehicle. It should be noted that when the mobile terminal and the vehicle to be controlled are in a communication connection state connected to the Internet, the mobile terminal and the vehicle to be controlled are both connected to the server in the cloud. After completing the non-network controlled vehicle, it can be monitored whether it is in the network controlled vehicle state; if so, the number of non-network controlled vehicles is reset to the initial value.
[0079] The following embodiment of the present invention will explain the overall logic of the vehicle-side implementation of network-free control. Figure 2 , Figure 2 The logical schematic diagram of the vehicle-side digital key-based vehicle control provided in the embodiment of the present invention specifically includes:
[0080] S20, the vehicle receives the authentication command. The vehicle to be controlled receives the authentication command sent by the mobile terminal in a network-free communication mode.
[0081] S21, the vehicle side identifies the user's fingerprint information. The controlled vehicle identifies the user's fingerprint of the authentication instruction based on the local authentication data.
[0082] S22: Determine whether the user fingerprint information is recognized.
[0083] S23: When the user fingerprint information is not recognized, it is determined that the user of the mobile terminal has no authority to control the vehicle, and an error code is returned.
[0084] S24. When the user fingerprint information is recognized, continue to determine whether it is a network-free authentication instruction.
[0085] S25. When it is determined that the authentication instruction is not a network-free authentication instruction, it indicates that the vehicle to be controlled is connected to the mobile terminal via the Internet, and the network-free restriction system is reset, including resetting the number of network-free vehicle control times.
[0086] S26, when the authentication instruction is determined to be a networkless authentication instruction, continue to determine whether the number of times the networkless vehicle is used has reached the upper limit according to the user level. The user level can be divided based on the vehicle owner and the user, and the number of networkless vehicle uses of the vehicle owner is greater than the number of networkless vehicle uses of the user.
[0087] S27. When the number of times the non-network-controlled vehicle is used reaches the upper limit, an error code is returned to the mobile terminal.
[0088] S28, comparing the validity period of the digital key. The controlled vehicle determines whether the digital key of the mobile terminal is within the validity period based on the local clock, and returns an error code to the mobile terminal if the validity period has expired.
[0089] S29: If the digital key of the mobile terminal is within a limited period, the vehicle is controlled without Internet access.
[0090] Furthermore, the embodiment of the present invention also provides a vehicle control method based on a digital key. The vehicle control method is applied to a mobile terminal. The control method can be run on the mobile terminal. Please refer to Figure 3 , Figure 3 This is a flow chart of a mobile terminal controlling a vehicle without a network. The vehicle control method includes:
[0091] S31. When the mobile terminal and the vehicle to be controlled are not connected to the Internet, a digital key is sent to the vehicle to be controlled via a wireless communication method, wherein the digital key includes the user identity information of the mobile terminal.
[0092] Specifically, the user identity information of the mobile terminal can be sent via the cloud. When the mobile terminal and the vehicle to be controlled are connected via the Internet, a digital key containing the same identity information can be sent via the cloud to the vehicle to be controlled and the mobile terminal. When the mobile terminal and / or the vehicle to be controlled has no network signal, the two cannot connect to the cloud via the Internet, and thus cannot implement network control of the vehicle. The digital key containing the user identity information is sent to the vehicle to be controlled via a non-network communication method, and the non-network communication method can use Bluetooth communication.
[0093] In actual application, since the digital key containing the user's identity information can be copied when the mobile terminal is connected to the network, if it is copied to other users' mobile terminals by illegal means, it will also cause the security of the non-network controlled car to be insufficient. Based on this, in a specific implementation, step S31 includes sub-steps S31-1 to S31-3, which are specifically described as follows:
[0094] S31-1. Generate a task for entering user identity information when the mobile terminal is in a no-network state. A vehicle control APP (Application) can be installed on the mobile terminal, and a new entry task can be created through the APP.
[0095] S31-2, input the user's current identity information into the mobile terminal according to the input task. The user can be guided to input the current identity information through the operation page of the input task, and the current identity information can be any one of fingerprint and facial image, as long as the user's identity verification can be implemented.
[0096] S31-3, compile the current identity information into the digital key, and send the digital key to the vehicle to be controlled via a network-free communication method. The current identity information is compiled through the mobile terminal, and after the compilation is completed, it is sent to the vehicle to be controlled. Since the user identity information sent by the mobile terminal is entered by the user, it can effectively prevent the user identity information from being stolen, further improving the security of the network-free controlled vehicle.
[0097] So far, when the mobile terminal and the vehicle to be controlled are not connected to the Internet, the digital key has been sent to the vehicle to be controlled via wireless communication.
[0098] S32. Receive and parse the authentication result returned by the vehicle to be controlled, wherein the authentication result is the verification result of the identity information verification and authority verification of the digital key by the vehicle to be controlled based on the local authentication data in a network-free communication mode.
[0099] Specifically, in order to improve the safety of the off-network controlled vehicle, the embodiment of the present invention authenticates the digital key based on the local authentication data stored locally by the vehicle to be controlled. The purpose of identity information verification is to determine whether the user of the mobile terminal is the user of the vehicle to be controlled; the purpose of authority verification is to determine whether the digital key has the authority to control the vehicle. The authentication result can be sent to the mobile terminal in the form of a data packet based on the off-network communication protocol. After receiving the authentication result, the mobile terminal parses it and enters step S33 or step S34 based on the parsed authentication result.
[0100] S33. When the authentication result is resolved as authentication passed, output first display information including authentication passed.
[0101] Specifically, the first display information may be information displayed in a pop-up window on the mobile terminal, which prompts the user that the digital key sent by the user has been authenticated. If the authentication is passed, it means that the mobile terminal has the authority to control the vehicle without a network, and the vehicle can continue to be controlled, such as unlocking the vehicle, turning on the vehicle air conditioner, and starting the vehicle.
[0102] S34: When the authentication result is resolved as authentication failure, output second display information including authentication failure.
[0103] Specifically, the authentication failure indicates that the user of the mobile terminal does not have the authority to control the vehicle, and the second display information is output as a prompt. The second display information can also be information displayed in a pop-up window, which can represent the authentication result of the authentication failure.
[0104] In actual applications, since the stored data of the mobile terminal may be copied, if the permission to repeat the authentication is still retained after the authentication fails, an illegal user may continue to operate until the permission to control the vehicle without network is cracked. Based on this, in a specific implementation, after outputting the second display information including the authentication failure, the method further includes:
[0105] Generate a digital key activation task so that the user can reactivate the digital key to control the car without network through the activation task. The activation task can be a re-authentication of the mobile terminal, or a re-purchase of the digital key through other ports to ensure the security of the car without network. It should be noted that the generation of the activation task can also be triggered by other scenarios. For example, when the number of times the car is controlled without network reaches the upper limit, it means that the user of the mobile terminal does not have the permission to control the car without network, and the digital key activation task can also be generated.
[0106] Those skilled in the art can understand that the digital key of the non-network controlled vehicle described in the embodiment of the present invention can be obtained from the cloud under network conditions, which specifically includes the following steps:
[0107] In the first step, when the mobile terminal and the vehicle to be controlled are connected via the Internet, it means that the digital key can be obtained from the cloud, and the mobile terminal sends the application instruction for the digital key to the cloud. After the cloud generates the digital key, it sends the digital key to the vehicle to be controlled and the mobile terminal.
[0108] The second step is to receive the digital key issued by the cloud based on the application instruction, and store the digital key issued by the cloud locally, so as to implement the offline vehicle control of the mobile terminal through offline communication in an offline scenario.
[0109] The following embodiment of the present invention will explain the overall logic of the mobile terminal implementing the network-free control. Figure 4 , Figure 4 The logical schematic diagram of a mobile terminal controlling a vehicle based on a digital key provided in an embodiment of the present invention specifically includes:
[0110] S41. Apply for a digital key via the Internet. When the mobile terminal is connected to the Internet, apply for a digital key from the cloud.
[0111] S42. Store the digital key locally.
[0112] S43, enter the vehicle control process.
[0113] S44, determining whether the mobile terminal (or mobile phone) has no network connection.
[0114] S45. When the mobile terminal has no network connection, send an off-network authentication instruction.
[0115] S46. When the mobile terminal has a network connection, send a network authentication instruction.
[0116] S47, judging whether the vehicle to be controlled has passed the authentication.
[0117] S48. Send a vehicle control command when the authentication is passed.
[0118] Based on the same technical concept as the vehicle control method, an embodiment of the present invention further provides a vehicle control system based on a digital key, the system comprising a mobile terminal and a vehicle to be controlled connected via a non-network communication method, the non-network communication method being a wireless communication method other than an Internet connection;
[0119] The mobile terminal is used to send a digital key to the vehicle to be controlled via a network-free communication method, wherein the digital key includes the user identity information of the mobile terminal; the user identity information may be entered by the user when executing network-free vehicle control, or may be local data stored in the mobile terminal.
[0120] The vehicle to be controlled is used to verify the identity information and authority of the digital key according to the local authentication data to obtain the authentication result. When the authentication result is authentication passed, the vehicle to be controlled will encode the data packet including the authentication passed and send it to the mobile terminal; when the authentication result is authentication failed, the vehicle to be controlled will encode the data packet including the authentication failed and send it to the mobile terminal.
[0121] The following embodiments of the present invention will specifically explain how to implement network-free car control based on the digital key control system. Figure 5 , Figure 5 This is a logical diagram of a non-network controlled car based on a digital key control system. Specifically includes:
[0122] S501: Determine whether the mobile terminal has no network.
[0123] S502: When the mobile terminal has no network, the mobile terminal sends an off-network authentication instruction.
[0124] S503: When the mobile terminal has network access, the mobile terminal implements network-controlled vehicle operation.
[0125] S504: The vehicle side resets the number of times the non-network-controlled vehicle is used.
[0126] S505: The vehicle receives the authentication instruction.
[0127] S506: The vehicle side identifies the user's fingerprint information.
[0128] S507: Determine whether the user fingerprint information is recognized.
[0129] S508: When the user's fingerprint information is not recognized, it is determined that the user has no authority to control the vehicle and an error code is returned.
[0130] S509: When the user fingerprint information is recognized, the vehicle side continues to determine whether it is a network-free authentication instruction; when it is determined to be a network-based authentication instruction, it enters step S503 to implement network-based vehicle control.
[0131] S510: When it is determined that the command is an off-network authentication command, the vehicle determines whether the number of off-network usage times has reached an upper limit.
[0132] S511. Return an error code when the upper limit is reached.
[0133] S512. The mobile terminal prompts the user that the vehicle has failed to be controlled without a network based on the error code.
[0134] S513: The vehicle side compares the digital key based on the local vehicle clock to see whether it is within the expiration date.
[0135] S514: When the digital key expires, the vehicle returns an error code.
[0136] S515. The mobile terminal prompts the user that the vehicle has failed to be controlled without a network based on the error code.
[0137] S516. Implement normal off-line vehicle control when the digital key has not expired.
[0138] The technical solution provided in the embodiments of the present invention has at least the following technical effects or advantages:
[0139] The digital key is sent to the vehicle to be controlled via a mobile terminal via a network-free communication method. The vehicle to be controlled verifies the identity information and authority of the digital key based on the local authentication data to obtain the authentication result. When the authentication result is authentication passed, the vehicle to be controlled will encode the data packet including the authentication passed and send it to the mobile terminal. When the authentication result is authentication failed, the vehicle to be controlled will encode the data packet including the authentication failed and send it to the mobile terminal. Since it is difficult to modify the local authentication data of the vehicle to be controlled, the digital key is verified based on the local authentication data of the vehicle to be controlled, which effectively prevents the digital key's authority setting from being bypassed by modifying the data through the mobile terminal, thereby improving the security of using the digital key in a network-free scenario.
[0140] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0141] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (modules, systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded computer, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0142] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0143] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0144] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0145] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A vehicle control method based on a digital key, characterized in that: The method is applied to a vehicle side, and the method comprises: When the mobile terminal and the vehicle to be controlled are not connected to the Internet, receiving a digital key sent by the mobile terminal via a wireless communication method, wherein the digital key includes user identity information of the mobile terminal; Performing identity information verification and authority verification on the digital key according to the local authentication data of the vehicle to be controlled to obtain an authentication result; When the authentication result is authentication passed, encoding the data packet including the authentication passed and sending it to the mobile terminal; When the authentication result is authentication failure, a data packet including the authentication failure is encoded and sent to the mobile terminal.
2. The vehicle control method based on a digital key according to claim 1, characterized in that: The performing identity information verification and authority verification on the digital key according to the local authentication data of the vehicle to be controlled to obtain an authentication result includes: Comparing and verifying the user identity information of the digital key according to the local identity information of the local authentication data; When the user identity information is verified and the authentication type of the digital key is off-network authentication, the digital key is verified for authority according to the authority conditions contained in the local authentication data, wherein the authority conditions include an upper limit on the number of consecutive off-network vehicle control operations in the off-network communication mode; When the authority check is in a passed state, an authentication result indicating that the authentication is passed is output; When the authority check is in a failed state, an authentication result indicating that the authentication failed is output.
3. The vehicle control method based on digital key according to claim 2, characterized in that: The performing authority verification on the digital key according to the authority condition included in the local authentication data includes: Determine whether the number of times the digital key represents the number of times the vehicle is controlled without a network has reached the upper limit; When the number of vehicles without network control reaches the upper limit, outputting an authentication result indicating authentication failure; When the number of times the vehicle is controlled without a network has not reached the upper limit, the validity period of the digital key is verified according to the local time of the vehicle to be controlled, and an authentication result indicating that the authentication is passed is output when the verification passes.
4. The vehicle control method based on digital key according to claim 3 is characterized in that: After the number of times the vehicle has no network control reaches the upper limit, the method further includes: Active communication decoupling of the network-free communication mode is performed on the vehicle to be controlled, so that the vehicle to be controlled actively disconnects the communication connection state with the mobile terminal in the network-free communication mode.
5. The vehicle control method based on digital key according to claim 1, characterized in that: The method further comprises: When the mobile terminal and the vehicle to be controlled are in a communication connection state of Internet connection, the number of records of continuously executing the network-free vehicle control in the network-free communication mode is updated to an initial value.
6. A vehicle control method based on a digital key, characterized in that: The method is applied to a mobile terminal, and the method comprises: When the mobile terminal and the vehicle to be controlled are not connected to the Internet, sending a digital key to the vehicle to be controlled via a wireless communication method, wherein the digital key includes the user identity information of the mobile terminal; Receiving and parsing the authentication result returned by the vehicle to be controlled, wherein the authentication result is a verification result of identity information verification and authority verification of the digital key by the vehicle to be controlled based on local authentication data in a network-free communication mode; When the authentication result is resolved as authentication passed, outputting first display information including the authentication passed; When the authentication result is resolved as authentication failure, second display information including the authentication failure is output.
7. The vehicle control method based on digital key according to claim 6, characterized in that: The method further comprises: When the mobile terminal and the vehicle to be controlled are connected via the Internet, sending an application instruction for a digital key to the cloud; Receive the digital key issued by the cloud based on the application instruction, and store the digital key issued by the cloud locally.
8. The vehicle control method based on digital key according to claim 6, characterized in that: The sending of the digital key to the vehicle to be controlled via a wireless communication method includes: generating a task for entering the user identity information when the mobile terminal is in a no-network state; inputting the current identity information of the user into the mobile terminal according to the input task; The current identity information is compiled into the digital key, and the digital key is sent to the vehicle to be controlled via a wireless communication method.
9. The vehicle control method based on digital key according to claim 6, characterized in that: After outputting the second display information including the authentication failure, the method further includes: An activation task for the digital key is generated, so that the user can reactivate the digital key through the activation task to control the vehicle without a network.
10. A vehicle control system based on a digital key, characterized in that: The system includes a mobile terminal and a vehicle to be controlled connected via a non-network communication method, wherein the non-network communication method is a wireless communication method other than an Internet connection; The mobile terminal is used to send a digital key to the vehicle to be controlled via a wireless communication method, wherein the digital key includes the user identity information of the mobile terminal; The vehicle to be controlled is used to perform identity information verification and authority verification on the digital key according to local authentication data to obtain an authentication result; When the authentication result is authentication passed, the vehicle to be controlled encodes the data packet including the authentication passed and sends it to the mobile terminal; When the authentication result is an authentication failure, the vehicle to be controlled encodes the data packet including the authentication failure and sends it to the mobile terminal.
Citation Information
Patent Citations
Vehicle with monitoring function, and monitoring method
CN112477803A
Vehicle control method, device and system based on Bluetooth key and computer storage medium
CN115665739A
Bluetooth key generation method of network-free vehicle machine, vehicle machine, system and storage medium
CN116206385A
Control method and device
CN117935402A
Method for operating a communication device of a motor vehicle
DE102016223862A1
