Method, system, mobile device, vehicle terminal and storage medium for sending remote commands

By negotiating encrypted shared keys and encrypting data transmission in the car remote control system, the risk of remote instructions being tampered with in the existing technology is solved, data security is improved, and user experience and vehicle safety are ensured.

CN117527386BActive Publication Date: 2024-10-18BEIJING TOPSEC NETWORK SECURITY TECH +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311545594.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-20
Publication Date
2024-10-18
Estimated Expiration
2043-11-20

AI Technical Summary

Technical Problem

In existing automobile remote control technology, there is a risk that remote instructions may be tampered with during server transfer, resulting in low data security, affecting user experience and possibly causing property losses.

Method used

By negotiating an encrypted shared key between the mobile device and the car, the encrypted shared key is used to encrypt the vehicle-side verification data, and the car-side encrypted data is decrypted through the decryption shared key to ensure the security of the data during transmission. sex.

Benefits of technology

It effectively reduces the possibility of remote instructions being tampered with during the transfer process, improves data security, and enhances user experience and vehicle safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117527386B_ABST
    Figure CN117527386B_ABST
Patent Text Reader

Abstract

The present application discloses a method, system, mobile device, vehicle end and storage medium for sending remote commands. The method includes: generating vehicle end verification data; receiving the vehicle end public key and server public key sent by the server; generating an encrypted shared key according to the vehicle end public key, the server public key and the client private key of the mobile device; encrypting the vehicle end verification data by the encrypted shared key to generate mobile device encrypted data; sending the mobile device encrypted data to the server so that the server generates vehicle end encrypted data according to the mobile device encrypted data, so that the vehicle end decrypts the vehicle end encrypted data according to the decryption shared key. The present application can ensure the security of data and reduce the possibility of tampering of remote commands during the transfer process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of automobile remote control, and in particular to a method, system, mobile device, vehicle terminal and storage medium for sending remote commands. Background Art

[0002] With the continuous development of the automobile industry, cars are becoming more and more intelligent. Cars have gradually evolved from independent individuals to part of the network. The emergence of car remote control has made the use of cars more convenient. For example, car owners can remotely open and close doors and remotely start car air conditioners through mobile phones, etc., which greatly improves the user experience of car owners. However, data security issues when remotely controlling vehicles are becoming increasingly prominent. In the prior art, remote commands need to be transferred through a server, and the server must record the remote commands issued by the mobile device to the vehicle. There is a risk of remote commands being tampered with during the transfer process. Once the remote commands are tampered with, it will greatly affect the user experience, causing property losses to users or even more serious consequences. Therefore, the vehicle remote control method of the prior art has the problem of low data security. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a method, system, mobile device, vehicle terminal and storage medium for sending remote commands, so as to solve the problem of low data security in the vehicle remote control method of the prior art.

[0004] In order to achieve the above-mentioned object, the first aspect of the present application provides a method for sending a remote command, which is applied to a mobile device, wherein the mobile device communicates with a server, and the server communicates with a vehicle end, and the method comprises:

[0005] Generate vehicle-side verification data;

[0006] Receive the vehicle-side public key and the first server public key sent by the server;

[0007] Generate an encrypted shared key based on the vehicle-side public key, the first server public key and the client private key of the mobile device;

[0008] Encrypting the vehicle-side verification data by encrypting the shared key to generate mobile device encrypted data;

[0009] Sending the encrypted data of the mobile device to the server, so that the server generates the encrypted data of the vehicle side according to the encrypted data of the mobile device, so that the vehicle side decrypts the encrypted data of the vehicle side according to the decryption shared key;

[0010] Among them, the decryption shared key is generated by the vehicle side according to the client public key of the mobile device, the second server public key of the server and the vehicle side private key of the vehicle side.

[0011] In an embodiment of the present application, the encrypted shared key includes a first shared key and a second shared key, and generating the encrypted shared key according to the vehicle-side public key, the first server public key and the client private key of the mobile device includes:

[0012] Generate a first shared key based on the client private key of the mobile device and the vehicle public key;

[0013] A second shared key is generated according to the client private key and the first server public key.

[0014] In an embodiment of the present application, encrypting the vehicle-side verification data by encrypting the shared key to generate mobile device encrypted data includes:

[0015] Encrypting the vehicle-side verification data by using the first shared key to obtain encrypted vehicle-side verification data, and generating a remote instruction according to the encrypted vehicle-side verification data;

[0016] The remote instruction is encrypted by the second shared key to generate mobile device encrypted data.

[0017] In the embodiment of the present application, generating vehicle-side verification data includes:

[0018] Determine the instruction task identification;

[0019] Determine the instruction content according to the instruction task identifier;

[0020] Determine the corresponding message digest algorithm version value according to the instruction content;

[0021] Request the server to generate a dynamic verification code to obtain the dynamic verification code sent by the server;

[0022] Get user ID;

[0023] Generate vehicle-side verification data based on the message digest algorithm version value, dynamic verification code and user ID.

[0024] A second aspect of the present application provides a method for sending a remote command, which is applied to a vehicle end, wherein the vehicle end communicates with a server, and the server communicates with a mobile device. The method includes:

[0025] Receive the client public key, the second server public key and the vehicle-side encrypted data sent by the server;

[0026] Generate a decryption shared key based on the client public key, the second server public key and the vehicle-side private key of the vehicle-side;

[0027] Decrypt the vehicle-side encrypted data by decrypting the shared key to obtain the vehicle-side verification data;

[0028] Among them, the vehicle-side encrypted data is the mobile device encrypted data generated by the server after encrypting the vehicle-side verification data through the encrypted shared key of the mobile device. The encrypted shared key is generated by the mobile device based on the vehicle-side public key of the vehicle, the first server public key of the server and the client private key of the mobile device.

[0029] In the embodiment of the present application, the decryption shared key includes a third shared key and a fourth shared key, and generating the decryption shared key according to the client public key, the second server public key and the vehicle-side private key of the vehicle-side includes:

[0030] Generate a third shared key based on the vehicle-side private key and the client-side public key;

[0031] A fourth shared key is generated according to the vehicle-side private key and the second server public key.

[0032] In the embodiment of the present application, decrypting the vehicle-side encrypted data by decrypting the shared key to obtain the vehicle-side verification data includes:

[0033] Decrypting the vehicle-side encrypted data using the fourth shared key to obtain the remote command;

[0034] The encrypted vehicle-side verification data in the remote command is decrypted by the third shared key to obtain the vehicle-side verification data.

[0035] In an embodiment of the present application, the remote instruction includes an instruction task identifier and a dynamic verification code, and the method further includes:

[0036] According to the instruction task identifier, search for the corresponding target dynamic verification code from the target dynamic verification code set pushed by the server;

[0037] Compare the dynamic verification code with the target dynamic verification code;

[0038] When the dynamic verification code is the same as the target dynamic verification code, the encrypted vehicle-side verification data in the remote instruction is decrypted using the third shared key.

[0039] In an embodiment of the present application, the method further includes:

[0040] Determine the push time of any target dynamic verification code in the target dynamic verification code set;

[0041] Get the validity period of any target dynamic verification code;

[0042] Determine whether any target dynamic verification code has timed out based on the push time and validity period of any target dynamic verification code;

[0043] When any target dynamic verification code times out, delete the any target dynamic verification code.

[0044] In an embodiment of the present application, the method further includes:

[0045] Determine the target message digest algorithm version value according to the remote instruction;

[0046] Compare the vehicle-side verification data with the target message digest algorithm version value;

[0047] When the vehicle-side verification data and the target message digest algorithm version value are consistent, the remote command is executed.

[0048] A third aspect of the present application provides a mobile device, including:

[0049] a memory configured to store instructions; and

[0050] The processor is configured to call instructions from the memory and implement the above method for sending remote instructions when executing the instructions.

[0051] A fourth aspect of the present application provides a vehicle end, including:

[0052] a memory configured to store instructions; and

[0053] The processor is configured to call instructions from the memory and implement the above method for sending remote instructions when executing the instructions.

[0054] A fifth aspect of the present application provides a system for sending a remote instruction, comprising:

[0055] The mobile device is configured to encrypt the vehicle-side verification data by using the encryption shared key to generate mobile device encrypted data;

[0056] The server communicates with the mobile device and is configured to receive the mobile device encrypted data and generate the vehicle-side encrypted data based on the mobile device encrypted data;

[0057] The vehicle side communicates with the server and is configured to decrypt the vehicle side encrypted data according to the decryption shared key.

[0058] A sixth aspect of the present application provides a machine-readable storage medium having instructions stored thereon, the instructions being used to enable a machine to execute the above-mentioned method for sending remote instructions.

[0059] Through the above technical solution, the mobile device generates vehicle-side verification data, and receives the vehicle-side public key and the first server public key sent by the server, and then generates an encrypted shared key based on the vehicle-side public key, the first server public key and the client private key of the mobile device, and then encrypts the vehicle-side verification data through the encrypted shared key to generate mobile device encrypted data, and finally sends the mobile device encrypted data to the server, so that the server generates vehicle-side encrypted data based on the mobile device encrypted data, so that the vehicle-side decrypts the vehicle-side encrypted data based on the decryption shared key. In this way, the mobile device can ensure the security of the data through the encrypted shared key, and reduce the possibility of remote instructions being tampered with during the transfer process.

[0060] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:

[0062] Figure 1 A flowchart of a method for sending a remote instruction according to an embodiment of the present application is schematically shown;

[0063] Figure 2 A flowchart of a method for sending a remote instruction according to another embodiment of the present application is schematically shown;

[0064] Figure 3 A timing diagram of a shared key negotiation according to a specific embodiment of the present application is schematically shown;

[0065] Figure 4 A timing diagram for sending a remote command according to a specific embodiment of the present application is schematically shown;

[0066] Figure 5 A schematic diagram of the structure of a mobile device according to an embodiment of the present application is shown;

[0067] Figure 6 A schematic diagram of the structure of a vehicle end according to an embodiment of the present application is shown schematically. DETAILED DESCRIPTION

[0068] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution 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 specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0069] It should be noted that if the embodiments of the present application involve directional indications (such as up, down, left, right, front, back...), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0070] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0071] Figure 1 The following schematically shows a flow chart of a method for sending a remote command according to an embodiment of the present application. Figure 1 As shown, an embodiment of the present application provides a method for sending a remote command, which is applied to a mobile device, the mobile device communicates with a server, and the server communicates with a vehicle end. The method may include the following steps:

[0072] Step 101, generating vehicle-side verification data;

[0073] Step 102: receiving the vehicle-side public key and the first server public key sent by the server;

[0074] Step 103: Generate an encrypted shared key according to the vehicle-side public key, the first server public key and the client private key of the mobile device;

[0075] Step 104: Encrypt the vehicle-side verification data by using the encrypted shared key to generate mobile device encrypted data;

[0076] Step 105: Send the mobile device encrypted data to the server, so that the server generates vehicle-side encrypted data according to the mobile device encrypted data, so that the vehicle-side decrypts the vehicle-side encrypted data according to the decryption shared key;

[0077] Among them, the decryption shared key is generated by the vehicle side according to the client public key of the mobile device, the second server public key of the server and the vehicle side private key of the vehicle side.

[0078] In an embodiment of the present application, a system for sending remote instructions may include a mobile device, a server, and a vehicle end. The server communicates with the mobile device and the vehicle end respectively, and can be used to transfer the remote instructions generated by the mobile device so that the mobile device can control the vehicle end. First, the mobile device can generate vehicle end verification data, where the vehicle end verification data is a message digest algorithm version value including a message digest algorithm version value corresponding to the instruction content, a dynamic verification code, and a combination of data of a user identifier of the mobile device. The vehicle end can verify the mobile device based on the vehicle end verification data.

[0079] Through the Curve25519 algorithm, the mobile device can generate a client public key and a client private key, and the vehicle side can generate a vehicle side public key and a vehicle side private key. For any mobile device, the server can generate a corresponding first server public key and a first server private key. After generating the first server public key and the first server private key, the server can send the first server public key to the mobile device. In addition, the server, as a data transfer device, can receive the vehicle side public key of the vehicle side and forward the vehicle side public key to the mobile device. In this way, the mobile device can generate an encrypted shared key based on the vehicle side public key, the first server public key and the client private key of the mobile device. The encrypted shared key is a key determined after negotiation between the two devices. The encrypted shared key may include a first shared key and a second shared key. Among them, the first shared key is a shared key between the mobile device and the vehicle side during data transmission, and the second shared key is a shared key between the mobile device and the server during data transmission.

[0080] The mobile device can encrypt the vehicle-side verification data by the first shared key in the encrypted shared key, and further encrypt the remote instruction including the encrypted vehicle-side verification data by the second shared key, thereby obtaining the mobile device encrypted data. Subsequently, the mobile device can send the mobile device encrypted data to the server. While the mobile device generates the encrypted shared key, the server can receive the client public key sent by the mobile device, and generate the fifth shared key according to the first server private key and the client public key through the Curve25519 algorithm. Among them, the second shared key is the same as the fifth shared key. In this way, the key negotiation process between the mobile device and the server can be completed. After receiving the mobile device encrypted data sent by the mobile device, the server can decrypt the mobile device encrypted data by the fifth shared key, and further encrypt it again by the sixth shared key to generate the vehicle-side encrypted data, so that the vehicle-side can decrypt the vehicle-side encrypted data according to the decryption shared key.

[0081] Through the above technical solution, the mobile device generates vehicle-side verification data, and receives the vehicle-side public key and the first server public key sent by the server, and then generates an encrypted shared key based on the vehicle-side public key, the first server public key and the client private key of the mobile device, and then encrypts the vehicle-side verification data through the encrypted shared key to generate mobile device encrypted data, and finally sends the mobile device encrypted data to the server, so that the server generates vehicle-side encrypted data based on the mobile device encrypted data, so that the vehicle-side decrypts the vehicle-side encrypted data based on the decryption shared key. In this way, the mobile device can ensure the security of the data through the encrypted shared key, and reduce the possibility of remote instructions being tampered with during the transfer process.

[0082] In the embodiment of the present application, step 101, generating vehicle-side verification data may include:

[0083] Determine the instruction task identification;

[0084] Determine the instruction content according to the instruction task identifier;

[0085] Determine the corresponding message digest algorithm version value according to the instruction content;

[0086] Request the server to generate a dynamic verification code to obtain the dynamic verification code sent by the server;

[0087] Get user ID;

[0088] Generate vehicle-side verification data based on the message digest algorithm version value, dynamic verification code and user ID.

[0089] In an embodiment of the present application, the vehicle-side verification data is a message digest algorithm version value that is a combination of data including a message digest algorithm version value corresponding to the instruction content, a dynamic verification code, and a user identifier of the mobile device. Therefore, after obtaining the optional instruction from the server, the mobile device can determine the instruction task identifier, and determine the instruction content based on the instruction task identifier, and then determine the corresponding message digest algorithm version value based on the instruction content. At the same time, the mobile device requests the server to generate a dynamic verification code each time it sends a remote instruction to obtain the dynamic verification code sent by the server. The dynamic verification code can be used to ensure the uniqueness and timeliness of the remote instruction, thereby further reducing the possibility of the remote instruction being cracked. Each mobile device has a user identifier, so the mobile device can also obtain the user identifier. In this way, the mobile device can generate vehicle-side verification data based on the message digest algorithm version value, the dynamic verification code, and the user identifier.

[0090] In the embodiment of the present application, the encrypted shared key may include a first shared key and a second shared key. Step 103, generating the encrypted shared key according to the vehicle-side public key, the first server public key and the client private key of the mobile device may include:

[0091] Generate a first shared key based on the client private key of the mobile device and the vehicle public key;

[0092] A second shared key is generated according to the client private key and the first server public key.

[0093] In an embodiment of the present application, the encrypted shared key may include a first shared key and a second shared key. Among them, the first shared key is a shared key between the mobile device and the vehicle-side during data transmission, and the second shared key is a shared key between the mobile device and the server during data transmission. Since the encrypted shared key needs to be generated after negotiation between different devices, the mobile device can generate an encrypted shared key based on the vehicle-side public key, the first server public key and the client private key of the mobile device. Specifically, the mobile device can generate a first shared key based on the client private key and the vehicle-side public key forwarded by the server, and generate a second shared key based on the client private key and the first server public key. In this way, the mobile device can encrypt the vehicle-side verification data through the first shared key, and encrypt the remote command through the second shared key to ensure the security of the data.

[0094] In the embodiment of the present application, step 104, encrypting the vehicle-side verification data by encrypting the shared key to generate mobile device encrypted data may include:

[0095] Encrypting the vehicle-side verification data by using the first shared key to obtain encrypted vehicle-side verification data, and generating a remote instruction according to the encrypted vehicle-side verification data;

[0096] The remote instruction is encrypted by the second shared key to generate mobile device encrypted data.

[0097] In an embodiment of the present application, after the mobile device generates the first shared key and the second shared key, it can encrypt the vehicle-side verification data through the first shared key to obtain encrypted vehicle-side verification data. The remote instruction includes encrypted vehicle-side verification data, a dynamic verification code, an instruction task identifier, and instruction content. Among them, the dynamic verification code is obtained after the mobile device requests the server, the instruction content can be determined after the mobile device obtains the optional instruction from the server, and the instruction task identifier can be obtained after the mobile device requests from the server. In this way, after obtaining the encrypted vehicle-side verification data, the mobile device can generate a remote instruction, and then encrypt the remote instruction through the second shared key to generate mobile device encrypted data. In this way, the encryption process of the remote instruction can be completed.

[0098] Figure 2 A flowchart of a method for sending a remote instruction according to another embodiment of the present application is schematically shown. Figure 2 As shown, another embodiment of the present application provides a method for sending a remote command, which is applied to a vehicle end, the vehicle end communicates with a server, and the server communicates with a mobile device. The method may include:

[0099] Step 201: receiving the client public key, the second server public key and the vehicle-side encrypted data sent by the server;

[0100] Step 202: Generate a decryption shared key according to the client public key, the second server public key and the vehicle-side private key of the vehicle-side;

[0101] Step 203: decrypt the vehicle-side encrypted data by decrypting the shared key to obtain vehicle-side verification data;

[0102] Among them, the vehicle-side encrypted data is the mobile device encrypted data generated by the server after encrypting the vehicle-side verification data through the encrypted shared key of the mobile device. The encrypted shared key is generated by the mobile device based on the vehicle-side public key of the vehicle, the first server public key of the server and the client private key of the mobile device.

[0103] In an embodiment of the present application, after receiving the mobile device encrypted data sent by the mobile device, the server can decrypt the mobile device encrypted data through the fifth shared key to obtain the remote instruction. The server can compare the dynamic verification code in the remote instruction with the dynamic verification code corresponding to the remote instruction stored in the server. If the comparison is consistent and the dynamic verification code in the remote instruction is within the validity period, the server can record the remote instruction this time. In addition, through the Curve25519 algorithm, the server can generate a sixth shared key based on the second server private key and the vehicle-side public key of the vehicle-side. The server can encrypt the remote instruction again through the sixth shared key to obtain the vehicle-side encrypted data. Subsequently, the server can send the vehicle-side encrypted data to the vehicle-side. In this way, the server decrypts the mobile device encrypted data through the fifth shared key during the transfer process, and obtains the vehicle-side encrypted data after encrypting it through the sixth shared key, which can ensure that the remote instruction will not be parsed by devices other than the communication node during the transmission process, further enhancing the security of the data.

[0104] The vehicle side can decrypt the vehicle side encrypted data. Through the Curve25519 algorithm, the vehicle side can generate a vehicle side public key and a vehicle side private key. For any vehicle side, the server can generate a corresponding second server public key and a second server private key. After generating the second server public key and the second server private key, the server can send the second server public key to the vehicle side. In addition, the server, as a data transfer device, can receive the client public key of the mobile device and forward the client public key to the vehicle side, so that the vehicle side can generate a decryption shared key based on the client public key, the second server public key and the vehicle side private key of the vehicle side. The decryption shared key is a key determined after negotiation between the two end devices. The decryption shared key includes a third shared key and a fourth shared key. The third shared key is a key generated after negotiation between the vehicle side and the mobile device. The fourth shared key is a key generated after negotiation between the vehicle side and the server. Through the fourth shared key, the vehicle side can decrypt the vehicle side encrypted data to obtain the remote instruction. Through the third shared key, the vehicle side can decrypt the encrypted vehicle side verification data in the remote instruction to obtain the vehicle side verification data. In this way, based on the vehicle-side verification data, the vehicle-side can verify the integrity of the remote command and verify the identity information of the mobile device.

[0105] In the embodiment of the present application, the decryption shared key may include a third shared key and a fourth shared key. Step 202, generating the decryption shared key according to the client public key, the second server public key and the vehicle-side private key of the vehicle-side may include:

[0106] Generate a third shared key based on the vehicle-side private key and the client-side public key;

[0107] A fourth shared key is generated according to the vehicle-side private key and the second server public key.

[0108] In an embodiment of the present application, the decryption shared key may include a third shared key and a fourth shared key. Among them, the third shared key is a key generated after negotiation between the vehicle side and the mobile device. The fourth shared key is a key generated after negotiation between the vehicle side and the server. Since the decryption shared key needs to be generated after negotiation between different devices, the vehicle side can generate a decryption shared key based on the client public key, the second server public key and the vehicle side private key of the vehicle side. Specifically, the vehicle side can generate a third shared key based on the vehicle side private key and the client public key of the vehicle side, and generate a fourth shared key based on the vehicle side private key and the second server public key. In this way, the vehicle side can decrypt the encrypted vehicle side verification data through the third shared key, and decrypt the vehicle side encrypted data through the fourth shared key, so that the vehicle side can obtain remote instructions.

[0109] In the embodiment of the present application, step 203, decrypting the vehicle-side encrypted data by decrypting the shared key to obtain the vehicle-side verification data may include:

[0110] Decrypting the vehicle-side encrypted data using the fourth shared key to obtain the remote command;

[0111] The encrypted vehicle-side verification data in the remote command is decrypted by the third shared key to obtain the vehicle-side verification data.

[0112] In an embodiment of the present application, the vehicle side can decrypt the vehicle side encrypted data by decrypting the shared key. The decrypted shared key includes a third shared key and a fourth shared key. The vehicle side can first decrypt the vehicle side encrypted data by the fourth shared key to obtain the remote command, and then decrypt the encrypted vehicle side verification data in the remote command by the third shared key to obtain the vehicle side verification data. In this way, through the vehicle side verification data, the vehicle side can verify the integrity of the remote command and the identity information of the mobile device, and execute the remote command after the verification is passed.

[0113] In an embodiment of the present application, the method may further include:

[0114] Determine the push time of any target dynamic verification code in the target dynamic verification code set;

[0115] Get the validity period of any target dynamic verification code;

[0116] Determine whether any target dynamic verification code has timed out based on the push time and validity period of any target dynamic verification code;

[0117] When any target dynamic verification code times out, delete the any target dynamic verification code.

[0118] To ensure the timeliness of the remote command, in an embodiment of the present application, the vehicle end can determine the push time of any target dynamic verification code in the target dynamic verification code set, that is, the time when the server pushes the any target dynamic verification code to the vehicle end. In addition, the vehicle end can obtain the effective duration of any target dynamic verification code. The effective durations of the target dynamic verification codes in the target dynamic verification code set can be all the same, can be partially the same, or each target dynamic verification code can correspond to a different effective duration, which can be determined according to actual conditions and is not limited here. Subsequently, the vehicle end can determine whether the any target dynamic verification code has timed out according to the push time and effective duration of the any target dynamic verification code. In the case of any target dynamic verification code timeout, the vehicle end can delete the any target dynamic verification code, so that it can be ensured that the remote command does not need to be executed when receiving a remote command containing a dynamic verification code corresponding to the any target dynamic verification code. In the case of any target dynamic verification code not timeout, the vehicle end can continue to store any target dynamic verification code in the target dynamic verification code set. In this way, by ensuring the timeliness of the dynamic verification code, the timeliness of the remote command can be guaranteed.

[0119] In an embodiment of the present application, the remote instruction includes an instruction task identifier and a dynamic verification code, and the method may further include:

[0120] According to the instruction task identifier, search for the corresponding target dynamic verification code from the target dynamic verification code set pushed by the server;

[0121] Compare the dynamic verification code with the target dynamic verification code;

[0122] When the dynamic verification code is the same as the target dynamic verification code, the encrypted vehicle-side verification data in the remote instruction is decrypted using the third shared key.

[0123] In an embodiment of the present application, after the vehicle-side encrypted data is decrypted by decrypting the shared password, the vehicle-side can obtain the remote instruction. The remote instruction includes encrypted vehicle-side verification data, a dynamic verification code, an instruction task identifier, and instruction content. Each time the mobile device requests the server to generate a dynamic verification code, the server can push the generated dynamic verification code to the mobile device and the vehicle-side at the same time, and then generate a target dynamic verification code set in the vehicle-side. The target dynamic verification code set can be used to verify the dynamic verification code in the remote instruction. The vehicle-side can search the target dynamic verification code corresponding to the instruction task identifier from the target dynamic verification code set according to the instruction task identifier, and further compare the dynamic verification code with the target dynamic verification code. When the dynamic verification code is the same as the target dynamic verification code, the vehicle-side only needs to decrypt the encrypted vehicle-side verification data in the remote instruction through the third shared key. When the dynamic verification code is different from the target dynamic verification code, the vehicle-side can filter the remote instruction.

[0124] In an embodiment of the present application, the method may further include:

[0125] Determine the target message digest algorithm version value according to the remote instruction;

[0126] Compare the vehicle-side verification data with the target message digest algorithm version value;

[0127] When the vehicle-side verification data and the target message digest algorithm version value are consistent, the remote command is executed.

[0128] In an embodiment of the present application, the remote instruction includes encrypted vehicle-side verification data, a dynamic verification code, an instruction task identifier, and instruction content. After the vehicle-side obtains the remote instruction and the vehicle-side verification data, it can determine the target message digest algorithm version value based on the message digest algorithm version value corresponding to the instruction content, the dynamic verification code, and the user identifier bound to the vehicle-side, thereby further comparing the vehicle-side verification data and the target message digest algorithm version value. When the vehicle-side verification data and the target message digest algorithm version value are consistent, the vehicle-side can execute the remote instruction. When the vehicle-side verification data and the target message digest algorithm version value are inconsistent, the vehicle-side may not execute the remote instruction. In this way, the security of the vehicle-side can be improved.

[0129] Figure 3 A timing diagram of a shared key negotiation according to a specific embodiment of the present application is schematically shown. Figure 3 As shown, in a specific embodiment of the present application, the shared key negotiation includes the following steps:

[0130] S301, generating a vehicle-side public key and a vehicle-side private key;

[0131] S302, sending the vehicle-side public key;

[0132] S303, generating a second server public key and a second server private key;

[0133] S304, returning the second server public key;

[0134] S305, obtaining a sixth shared key according to the second server private key and the vehicle-side public key;

[0135] S306, obtaining a fourth shared key according to the vehicle-side private key and the second server public key;

[0136] S307, generating a client public key and a client private key;

[0137] S308, sending the client public key;

[0138] S309, generating a first server public key and a first server private key;

[0139] S310, returning the first server public key;

[0140] S311, obtaining a second shared key according to the client private key and the first server public key;

[0141] S312, obtaining a fifth shared key according to the first server private key and the client public key;

[0142] S313, sending the client public key encrypted by the sixth shared key;

[0143] S314, decrypt using the fourth shared key to obtain the client public key;

[0144] S315, obtaining a third shared key according to the vehicle-side private key and the client-side public key;

[0145] S316, encrypting a request for a vehicle-side public key using a second shared key;

[0146] S317, sending a request;

[0147] S318, decrypt the request using the fifth shared key to obtain request information, and encrypt the vehicle-side public key using the fifth shared key;

[0148] S319, returning the encrypted vehicle-side public key;

[0149] S320, decrypt using the second shared key to obtain the vehicle-side public key;

[0150] S321. Obtain a first shared key according to the client private key and the vehicle public key.

[0151] It should be noted that the shared key negotiation process is not limited to the above execution order, and can be adjusted according to actual conditions. For example, the execution order of S301 to S306 and S307 to S312 can be interchanged. In a specific embodiment of the present application, the vehicle side can generate a vehicle side public key and a vehicle side private key, and send the vehicle side public key to the server. The server can generate a second server public key and a second server private key for the vehicle side, and return the second server public key to the vehicle side. In this way, the server can obtain the sixth shared key based on the second server private key and the vehicle side public key, and the vehicle side can obtain the fourth shared key based on the vehicle side private key and the second server public key. Among them, the fourth shared key is the same as the sixth shared key. The mobile device can generate a client public key and a client private key, and send the client public key to the server. The server generates a first server public key and a first server private key for the mobile device, and returns the first server public key to the mobile device. In this way, the mobile device can obtain the second shared key based on the client private key and the first server public key, and the server can obtain the fifth shared key based on the first server private key and the client public key. The second shared key is the same as the fifth shared key.

[0152] In addition, the server can send the client public key encrypted by the sixth shared key, and the vehicle side can use the fourth shared key to decrypt and obtain the client public key, so that the vehicle side can obtain the third shared key based on the vehicle side private key and the client public key. Similarly, the mobile device can encrypt the request for the vehicle side public key through the second shared key and send the request to the server. The server can decrypt the request through the fifth shared key to obtain the request information, encrypt the vehicle side public key, and then return the encrypted vehicle side public key to the mobile device. The mobile device uses the second shared key to decrypt the encrypted vehicle side public key to obtain the vehicle side public key, and then obtains the first shared key based on the client private key and the vehicle side public key. The first shared key is the same as the third shared key. In this way, the shared key negotiation process of the mobile device, the server and the vehicle side can be completed.

[0153] Figure 4 A timing diagram of sending a remote command according to a specific embodiment of the present application is schematically shown. Figure 4 As shown, in a specific embodiment of the present application, sending a remote instruction includes the following steps:

[0154] S401, using a second shared key to encrypt a request for obtaining a dynamic verification code and an instruction task identifier;

[0155] S402, sending a request;

[0156] S403, decrypt the request using the fifth shared key to generate a dynamic verification code and an instruction task identifier, and encrypt the dynamic verification code and the instruction task identifier using the fifth shared key;

[0157] S404, returning a dynamic verification code and an instruction task identifier;

[0158] S405, encrypting the dynamic verification code and the instruction task identifier using a sixth shared key;

[0159] S406, push dynamic verification code and instruction task identifier;

[0160] S407, decrypt using the fourth shared key to obtain a dynamic verification code and an instruction task identifier;

[0161] S408, generating vehicle-side verification data, and encrypting the vehicle-side verification data using a first shared key;

[0162] S409, encrypting the remote instruction including the encrypted vehicle-side verification data using the second shared key;

[0163] S410, sending encrypted data to a mobile device;

[0164] S411, decrypting the encrypted data of the mobile device using the fifth shared key, verifying the dynamic verification code, and recording the remote command;

[0165] S412, encrypting the remote instruction using the sixth shared key;

[0166] S413, pushing the vehicle-side encrypted data to the vehicle-side;

[0167] S414, using the fourth shared key to decrypt and obtain the remote instruction, and verifying the dynamic verification code;

[0168] S415, determining a target message digest algorithm version value corresponding to the remote instruction;

[0169] S416. Decrypt the encrypted vehicle-side verification data using the third shared key, and compare the vehicle-side verification data with the target message digest algorithm version value. If they are consistent, execute the remote command.

[0170] In a specific embodiment of the present application, the mobile device can use the second shared key to encrypt a request to obtain a dynamic verification code and a command task identifier, and send the request to the server. After receiving the request, the server can use the fifth shared key to decrypt the request, generate a dynamic verification code and a command task identifier, and further use the fifth shared key to encrypt the dynamic verification code and the command task identifier, return the dynamic verification code and the command task identifier to the mobile device, and encrypt the dynamic verification code and the command task identifier using the sixth shared key, and push the dynamic verification code and the command task identifier to the vehicle end. The vehicle end can use the fourth shared key to decrypt and obtain the dynamic verification code and the command task identifier.

[0171] Subsequently, the mobile device can generate vehicle-side verification data, and encrypt the vehicle-side verification data by the first shared key, and then encrypt the remote instruction including the encrypted vehicle-side verification data by the second shared key to generate mobile device encrypted data. The mobile device can send the mobile device encrypted data to the server. The server can use the fifth shared key to decrypt the mobile device encrypted data to obtain and verify the dynamic verification code, and further record the remote instruction when the dynamic verification code is verified. In order to ensure that the remote instruction will not be parsed by devices other than the communication node during the transmission process, the server uses the sixth shared key to encrypt the remote instruction to generate vehicle-side encrypted data. Subsequently, the server pushes the vehicle-side encrypted data to the vehicle side, so that the vehicle side can use the fourth shared key to decrypt the remote instruction and verify the dynamic verification code in the remote instruction. After the verification is passed, the vehicle side can determine the target message digest algorithm version value corresponding to the remote instruction, and use the third shared key to decrypt the encrypted vehicle-side verification data, and then compare the obtained vehicle-side verification data with the target message digest algorithm version value, and execute the remote instruction when the comparison is consistent. In this way, the remote instruction sending process from the mobile device and the server to the vehicle side can be completed.

[0172] Figure 5 The structure block diagram of a mobile device according to an embodiment of the present application is schematically shown. Figure 5 As shown, an embodiment of the present application provides a mobile device, which may include:

[0173] Memory 510, configured to store instructions; and

[0174] The processor 520 is configured to call instructions from the memory 510 and implement the above-mentioned method for sending remote instructions when executing the instructions.

[0175] Specifically, in the embodiment of the present application, the processor 520 may be configured to:

[0176] Generate vehicle-side verification data;

[0177] Receive the vehicle-side public key and the first server public key sent by the server;

[0178] Generate an encrypted shared key based on the vehicle-side public key, the first server public key and the client private key of the mobile device;

[0179] Encrypting the vehicle-side verification data by encrypting the shared key to generate mobile device encrypted data;

[0180] Sending the encrypted data of the mobile device to the server, so that the server generates the encrypted data of the vehicle side according to the encrypted data of the mobile device, so that the vehicle side decrypts the encrypted data of the vehicle side according to the decryption shared key;

[0181] Among them, the decryption shared key is generated by the vehicle side according to the client public key of the mobile device, the second server public key of the server and the vehicle side private key of the vehicle side.

[0182] Furthermore, the processor 520 may be configured to:

[0183] Generate a first shared key based on the client private key of the mobile device and the vehicle public key;

[0184] A second shared key is generated according to the client private key and the first server public key.

[0185] Furthermore, the processor 520 may be configured to:

[0186] Encrypting the vehicle-side verification data by using the first shared key to obtain encrypted vehicle-side verification data, and generating a remote instruction according to the encrypted vehicle-side verification data;

[0187] The remote instruction is encrypted by the second shared key to generate mobile device encrypted data.

[0188] Furthermore, the processor 520 may be configured to:

[0189] Determine the instruction task identification;

[0190] Determine the instruction content according to the instruction task identifier;

[0191] Determine the corresponding message digest algorithm version value according to the instruction content;

[0192] Request the server to generate a dynamic verification code to obtain the dynamic verification code sent by the server;

[0193] Get user ID;

[0194] Generate vehicle-side verification data based on the message digest algorithm version value, dynamic verification code and user ID.

[0195] Through the above technical solution, the mobile device generates vehicle-side verification data, and receives the vehicle-side public key and the first server public key sent by the server, and then generates an encrypted shared key based on the vehicle-side public key, the first server public key and the client private key of the mobile device, and then encrypts the vehicle-side verification data through the encrypted shared key to generate mobile device encrypted data, and finally sends the mobile device encrypted data to the server, so that the server generates vehicle-side encrypted data based on the mobile device encrypted data, so that the vehicle-side decrypts the vehicle-side encrypted data based on the decryption shared key. In this way, the mobile device can ensure the security of the data through the encrypted shared key, and reduce the possibility of remote instructions being tampered with during the transfer process.

[0196] Figure 6 The structure block diagram of a vehicle terminal according to an embodiment of the present application is schematically shown. Figure 6 As shown, an embodiment of the present application provides a vehicle end, which may include:

[0197] Memory 610, configured to store instructions; and

[0198] The processor 620 is configured to call instructions from the memory 610 and implement the above-mentioned method for sending remote instructions when executing the instructions.

[0199] Specifically, in the embodiment of the present application, the processor 620 may be configured to:

[0200] Receive the client public key, the second server public key and the vehicle-side encrypted data sent by the server;

[0201] Generate a decryption shared key based on the client public key, the second server public key and the vehicle-side private key of the vehicle-side;

[0202] Decrypt the vehicle-side encrypted data by decrypting the shared key to obtain the vehicle-side verification data;

[0203] The vehicle-side encrypted data is the mobile device encrypted data generated by the server after the mobile device encrypts the vehicle-side verification data by using the encrypted shared key, and the encrypted shared key is generated by the mobile device according to the vehicle-side public key of the vehicle, the first server public key of the server and the client private key of the mobile device. Further, the processor 620 can also be configured to:

[0204] Generate a third shared key based on the vehicle-side private key and the client-side public key;

[0205] A fourth shared key is generated according to the vehicle-side private key and the second server public key.

[0206] Furthermore, the processor 620 may be further configured to:

[0207] Decrypting the vehicle-side encrypted data using the fourth shared key to obtain the remote command;

[0208] The encrypted vehicle-side verification data in the remote command is decrypted by the third shared key to obtain the vehicle-side verification data.

[0209] Furthermore, the processor 620 may be further configured to:

[0210] According to the instruction task identifier, search for the corresponding target dynamic verification code from the target dynamic verification code set pushed by the server;

[0211] Compare the dynamic verification code with the target dynamic verification code;

[0212] When the dynamic verification code is the same as the target dynamic verification code, the encrypted vehicle-side verification data in the remote instruction is decrypted using the third shared key.

[0213] Furthermore, the processor 620 may be further configured to:

[0214] Determine the push time of any target dynamic verification code in the target dynamic verification code set;

[0215] Get the validity period of any target dynamic verification code;

[0216] Determine whether any target dynamic verification code has timed out based on the push time and validity period of any target dynamic verification code;

[0217] When any target dynamic verification code times out, delete the any target dynamic verification code.

[0218] Furthermore, the processor 620 may be further configured to:

[0219] Determine the target message digest algorithm version value according to the remote instruction;

[0220] Compare the vehicle-side verification data with the target message digest algorithm version value;

[0221] When the vehicle-side verification data and the target message digest algorithm version value are consistent, the remote command is executed.

[0222] Through the above technical solution, the vehicle side receives the client public key, the second server public key and the vehicle side encrypted data sent by the server, and generates a decryption shared key based on the client public key, the second server public key and the vehicle side private key of the vehicle side, and then decrypts the vehicle side encrypted data through the decryption shared key to obtain the vehicle side verification data. After the server generates vehicle side encrypted data based on the mobile device encrypted data, it can send the vehicle side encrypted data to the vehicle side. The vehicle side decrypts the vehicle side encrypted data based on the decryption shared key to obtain the remote command, and executes the remote command after verifying the remote command, which can improve the security of the vehicle side and reduce the vehicle side security risk caused by tampering with the remote command.

[0223] The present application also provides a system for sending remote instructions, which may include:

[0224] The mobile device is configured to encrypt the vehicle-side verification data by using the encryption shared key to generate mobile device encrypted data;

[0225] The server communicates with the mobile device and is configured to receive the mobile device encrypted data and generate the vehicle-side encrypted data based on the mobile device encrypted data;

[0226] The vehicle side communicates with the server and is configured to decrypt the vehicle side encrypted data according to the decryption shared key.

[0227] In an embodiment of the present application, a system for sending remote instructions includes a mobile device, a server, and a vehicle side. The server serves as a data transfer device and communicates with the mobile device and the vehicle side respectively. The mobile device can encrypt the vehicle side verification data and the remote instruction including the vehicle side verification data by encrypting the shared key to generate mobile device encrypted data. The server can generate vehicle side encrypted data based on the mobile device encrypted data. The vehicle side can decrypt the vehicle side encrypted data based on the decryption shared key to obtain the remote instruction. In this way, the remote instruction sending process from the mobile device to the server and then from the server to the vehicle side can be completed.

[0228] An embodiment of the present application also provides a machine-readable storage medium, on which instructions are stored, and the instructions are used to enable a machine to execute the above-mentioned method for sending remote instructions.

[0229] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0230] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes 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 processor, 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.

[0231] 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 comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0232] 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 in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0233] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0234] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0235] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0236] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0237] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for sending remote instructions, It is characterized in that Applied to a mobile device, the mobile device communicates with a server, the server communicates with a vehicle end, the method comprises: Determine the instruction task identification; Determine the content of the instruction according to the instruction task identifier; Determine the corresponding message digest algorithm version value according to the instruction content; Requesting the server to generate a dynamic verification code to obtain the dynamic verification code sent by the server; Get user ID; Generate vehicle-side verification data according to the message digest algorithm version value, the dynamic verification code and the user identifier, wherein the vehicle-side verification data is used for the vehicle-side to verify the mobile device; Receiving the vehicle-side public key and the first server public key sent by the server; Generate a first shared key according to the client private key of the mobile device and the vehicle-side public key; generating a second shared key according to the client private key and the first server public key, the second shared key being the same as a fifth shared key obtained by the server according to the first server private key of the server and the client public key of the mobile device; Encrypting the vehicle-side verification data by using the first shared key to obtain encrypted vehicle-side verification data, and generating a remote instruction according to the encrypted vehicle-side verification data; Encrypting the remote instruction by using the second shared key to generate mobile device encrypted data; Sending the mobile device encrypted data to the server, so that the server decrypts the mobile device encrypted data by the fifth shared key to obtain and verify the dynamic verification code, and records the remote instruction when the dynamic verification code is verified, and then encrypts the remote instruction by the sixth shared key to generate vehicle-side encrypted data, so that the vehicle-side decrypts the vehicle-side encrypted data by the fourth shared key to obtain the remote instruction, and then decrypts the encrypted vehicle-side verification data in the remote instruction by the third shared key to obtain the vehicle-side verification data; Among them, the third shared key is generated by the vehicle side according to the vehicle side private key and the client public key, the fourth shared key is generated by the vehicle side according to the vehicle side private key and the second server public key, and the sixth shared key is generated by the server according to the second server private key and the vehicle side public key.

2. A method for sending remote instructions, It is characterized in that Applied to a vehicle side, the vehicle side communicates with a server, the server communicates with a mobile device, and the method includes: Receiving the client public key of the mobile device, the second server public key and vehicle-side encrypted data sent by the server; Generate a third shared key according to the vehicle-side private key of the vehicle-side and the client public key, wherein the third shared key is the same as the first shared key generated by the mobile device according to the client private key of the mobile device and the vehicle-side public key sent by the server; Generate a fourth shared key according to the vehicle-side private key and the second server public key, the fourth shared key being the same as a sixth shared key generated by the server according to the second server private key of the server and the vehicle-side public key; Decrypting the vehicle-side encrypted data using the fourth shared key to obtain a remote instruction; Decrypting the encrypted vehicle-side verification data in the remote command by using the third shared key to obtain the vehicle-side verification data, wherein the vehicle-side verification data is the mobile device determining the command task identifier, determining the command content according to the command task identifier, determining the corresponding message digest algorithm version value according to the command content, requesting the server to generate a dynamic verification code to obtain the dynamic verification code sent by the server, and obtaining the user identifier, and generating the vehicle-side verification data according to the message digest algorithm version value, the dynamic verification code and the user identifier, wherein the vehicle-side verification data is used by the vehicle-side to verify the mobile device; Among them, the vehicle-side encrypted data is the mobile device encrypted data generated by the server decrypting the mobile device through the fifth shared key to obtain and verify the dynamic verification code, and record the remote instruction when the dynamic verification code verification is passed, and then encrypt the remote instruction through the sixth shared key to generate the fifth shared key. The server obtains the fifth shared key based on the first server private key of the server and the client public key. The mobile device encrypted data is the encrypted vehicle-side verification data generated by the mobile device by the mobile device encrypting the vehicle-side verification data generated by the mobile device through the first shared key, generating a remote instruction based on the encrypted vehicle-side verification data, and encrypting the remote instruction through the second shared key. The second shared key is generated by the mobile device based on the client private key and the first server public key sent by the server, and the second shared key is the same as the fifth shared key.

3. The method according to claim 2, It is characterized in that The remote instruction includes an instruction task identifier and a dynamic verification code, and the method further includes: According to the instruction task identifier, searching for a corresponding target dynamic verification code from the target dynamic verification code set pushed by the server; Comparing the dynamic verification code with the target dynamic verification code; When the dynamic verification code is the same as the target dynamic verification code, the encrypted vehicle-side verification data in the remote instruction is decrypted by using the third shared key.

4. The method according to claim 3, It is characterized in that The method further comprises: Determine the push time of any target dynamic verification code in the target dynamic verification code set; Obtain the validity period of any target dynamic verification code; Determine whether the arbitrary target dynamic verification code has timed out according to the push time and effective duration of the arbitrary target dynamic verification code; When the arbitrary target dynamic verification code times out, the arbitrary target dynamic verification code is deleted.

5. The method according to claim 2, It is characterized in that The method further comprises: Determine a target message digest algorithm version value according to the remote instruction; Comparing the vehicle-side verification data with the target message digest algorithm version value; When the vehicle-side verification data and the target message digest algorithm version value are consistent, the remote instruction is executed.

6. A mobile device, It is characterized in that include: a memory configured to store instructions; as well as A processor is configured to call the instructions from the memory and implement the method for sending remote instructions according to claim 1 when executing the instructions.

7. A vehicle end, It is characterized in that include: a memory configured to store instructions; as well as A processor is configured to call the instructions from the memory and implement the method for sending remote instructions according to any one of claims 2 to 5 when executing the instructions.

8. A system for sending remote instructions, It is characterized in that include: The mobile device according to claim 6, configured to encrypt the vehicle-side verification data by using the first shared key and the second shared key to generate mobile device encrypted data; A server, in communication with the mobile device, configured to receive the mobile device encrypted data and generate vehicle-side encrypted data according to the mobile device encrypted data; The vehicle end according to claim 7 communicates with the server and is configured to decrypt the vehicle end encrypted data according to the third shared key and the fourth shared key.

9. A machine-readable storage medium, It is characterized in that The machine-readable storage medium stores instructions, which are used to enable a machine to execute the method for sending remote instructions according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method for vehicle safety remote control and diagnosis and system thereof

    CN106713264A

  • Secure communication method for vehicle, related device and communication system

    CN116633531A