Vehicle remote control method and device, vehicle and storage medium
By using the preset security certificate and security algorithm to generate a key pair for proofreading and verification in the vehicle remote control system, the problem of poor security in the transmission of remote control instructions in the existing technology is solved, and higher security and reliability are achieved. .
Patent Information
- Application Number
- CN202410831160.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-10-11
AI Technical Summary
Existing vehicle remote control methods have poor security when transmitting control instructions and are easily tampered with and impersonated, resulting in risks during remote control.
By establishing a preset security certificate and security algorithm between the client and the server to generate a key pair, and performing proofreading and verification during the transmission process, this ensures the security of the target remote control instructions before and after they are transmitted to the vehicle and avoids tampering. risk.
It effectively reduces the possibility of tampering with target remote control instructions during the transmission process, ensures that the vehicle operates according to the verified instructions, and improves the security of remote control.
Smart Images

Figure CN118764475A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle control, and in particular to a vehicle remote control method, device, vehicle and storage medium. Background Art
[0002] At present, in order to improve the convenience of users controlling vehicles, most manufacturers will develop corresponding vehicle control software. Users can use the vehicle control software to remotely send control commands to the vehicle to realize remote control of the vehicle. However, in the existing method of transmitting control commands, the control commands are generally simply encrypted, and then the encrypted commands are transmitted through the mobile network. The entire transmission process is easy to be cracked, resulting in the risk of tampering or impersonation even for encrypted commands, resulting in poor security when actually remotely controlling the vehicle. Summary of the invention
[0003] Embodiments of the present invention provide a vehicle remote control method, device, vehicle and storage medium to at least solve the technical problem of poor security in remote control of a vehicle in the related art.
[0004] According to one aspect of an embodiment of the present invention, a vehicle remote control method is provided, which is applied to a server, and includes: receiving a target remote control instruction sent by a client through a first transmission channel, wherein the target remote control instruction is obtained by the client signing the vehicle remote control instruction based on a preset security certificate, and the first transmission channel is used to represent the transmission channel established between the client and the server; proofreading the target remote control instruction; in response to successful proofreading of the target remote control instruction, transmitting the target remote control instruction to the vehicle through a second transmission channel, wherein the target remote control instruction is used to control the operation of the vehicle when verification is passed, and the second transmission channel is used to represent the transmission channel established between the server and the vehicle.
[0005] Furthermore, the above method also includes: receiving a certificate application request sent by the client, wherein the certificate application request is used to represent a request constructed by the client based on the vehicle identification and the client identification for obtaining a preset security certificate; verifying the certificate application request to obtain a request verification result; in response to the request verification result being that the certificate application request is normal, sending the preset security certificate to the client.
[0006] Furthermore, the above method also includes: generating a first key pair based on a preset security certificate and a preset security algorithm corresponding to the preset security certificate; sending the first key contained in the first key pair to the vehicle through a handshake request, and receiving a second key sent by the vehicle, wherein the second key is used to represent the key contained in the second key pair generated by the vehicle based on the preset security certificate and the preset security algorithm, one end of the handshake request is the service end, and the other end of the handshake request is the vehicle; performing security verification on the second key to obtain a first verification result, and receiving a second verification result sent by the vehicle, wherein the second verification result is used to represent the result obtained by the vehicle performing security verification on the first key; in response to the first verification result being that the security verification of the second key is passed, and the second verification result being that the security verification of the first key is passed, establishing a second transmission channel based on the handshake request.
[0007] According to another aspect of an embodiment of the present invention, a vehicle remote control method is also provided, which is applied to a client, including: in response to monitoring a vehicle remote control command, signing the vehicle remote control command based on a preset security certificate to obtain a target remote control command; sending the target remote control command to a server through a first transmission channel, wherein the target remote control command is transmitted to the vehicle by the server through a second transmission channel if the proofreading is successful, and the target remote control command is used to control the operation of the vehicle if the verification is passed, the first transmission channel is used to represent the transmission channel established between the client and the server, and the second transmission channel is used to represent the transmission channel established between the server and the vehicle.
[0008] According to another aspect of an embodiment of the present invention, a vehicle remote control method is also provided, which is applied to a vehicle and includes: receiving a target remote control instruction sent by a server through a second transmission channel, wherein the target remote control instruction is sent to the vehicle by the server after successful verification, and the target remote control instruction is obtained by signing the vehicle remote control instruction by the client based on a preset security certificate, and sent to the server through a first transmission channel, the first transmission channel is used to represent a transmission channel established between the client and the server, and the second transmission channel is used to represent a transmission channel established between the server and the vehicle; verifying the target remote control instruction; and in response to successful verification of the target remote control instruction, controlling the operation of the vehicle based on the target remote control instruction.
[0009] Furthermore, the target remote control command is verified, including: parsing the target remote control command within a preset time period to obtain the command identifier, signature information and control command of the target remote control command; verifying the signature information based on a preset security certificate to obtain a signature verification result; verifying the command identifier based on the vehicle identifier of the vehicle to obtain an identifier verification result; in response to the signature verification result being that the signature information is valid, and the identifier verification result being that the command identifier matches the vehicle identifier, determining that the verification of the target remote control command is successful.
[0010] Furthermore, the above method also includes: in response to receiving a certificate storage instruction, verifying the certificate storage instruction to obtain an instruction verification result, wherein the certificate storage instruction is constructed by the client based on the certificate identifier and client identifier of a preset security certificate; in response to the instruction verification result being that the certificate storage instruction is secure, storing the preset security certificate in a preset certificate library.
[0011] Further, the certificate storage instruction is verified to obtain an instruction verification result, including: obtaining a preset algorithm root certificate chain that matches the certificate identifier from a root certificate chain library, wherein the root certificate chain library is used to store the association between the certificate identifier and the preset algorithm root certificate chain; verifying the certificate contained in the certificate storage instruction based on the preset algorithm root certificate chain to obtain a certificate verification result; in response to the certificate verification result being that the certificate contained in the certificate storage instruction is a preset security certificate, determining that the instruction verification result is that the certificate storage instruction is secure; in response to the certificate verification result being that the certificate contained in the certificate storage instruction is not a preset security certificate, determining that the instruction verification result is that the certificate storage instruction is unsafe.
[0012] According to another aspect of an embodiment of the present invention, a vehicle remote control device is also provided, which is applied to a server and includes: a first receiving module, used to receive a target remote control instruction sent by a client through a first transmission channel, wherein the target remote control instruction is obtained by the client signing the vehicle remote control instruction based on a preset security certificate, and the first transmission channel is used to characterize the transmission channel established between the client and the server; an instruction proofreading module, used to proofread the target remote control instruction; an instruction transmission module, used to transmit the target remote control instruction to the vehicle through a second transmission channel in response to successful proofreading of the target remote control instruction, wherein the target remote control instruction is used to control the operation of the vehicle when verification is passed, and the second transmission channel is used to characterize the transmission channel established between the server and the vehicle.
[0013] Furthermore, the above-mentioned device also includes: a request receiving module, which is used to receive a certificate application request sent by the client, wherein the certificate application request is used to represent a request constructed by the client based on the vehicle identification and the client identification for obtaining a preset security certificate; a request verification module, which is used to verify the certificate application request and obtain a request verification result; and a certificate sending module, which is used to send the preset security certificate to the client in response to the request verification result being that the certificate application request is normal.
[0014] Furthermore, the above-mentioned device also includes: a key generation module, which is used to generate a first key pair based on a preset security certificate and a preset security algorithm corresponding to the preset security certificate; a key transmission module, which is used to send the first key contained in the first key pair to the vehicle through a handshake request, and receive the second key sent by the vehicle, wherein the second key is used to represent the key contained in the second key pair generated by the vehicle based on the preset security certificate and the preset security algorithm, one end of the handshake request is the service end, and the other end of the handshake request is the vehicle; a key verification module, which is used to perform security verification on the second key to obtain a first verification result, and receive the second verification result sent by the vehicle, wherein the second verification result is used to represent the result obtained by the vehicle performing security verification on the first key; a channel establishment module, which is used to establish a second transmission channel based on the handshake request in response to the first verification result being that the security verification of the second key is passed, and the second verification result being that the security verification of the first key is passed.
[0015] According to another aspect of an embodiment of the present invention, a vehicle remote control device is also provided, which is applied to a client and includes: an instruction generation module, which is used to sign the vehicle remote control instruction based on a preset security certificate in response to monitoring the vehicle remote control instruction, and obtain a target remote control instruction; an instruction sending module, which is used to send the target remote control instruction to the server through a first transmission channel, wherein the target remote control instruction is transmitted to the vehicle through a second transmission channel by the server when the proofreading is successful, and the target remote control instruction is used to control the operation of the vehicle when the verification is passed, the first transmission channel is used to represent the transmission channel established between the client and the server, and the second transmission channel is used to represent the transmission channel established between the server and the vehicle.
[0016] According to another aspect of an embodiment of the present invention, a vehicle remote control device is also provided, which is applied to a vehicle and includes: a first receiving module, used to receive a target remote control instruction sent by a server through a second transmission channel, wherein the target remote control instruction is sent to the vehicle by the server after successful verification, and the target remote control instruction is obtained by signing the vehicle remote control instruction by the client based on a preset security certificate, and sent to the server through the first transmission channel, the first transmission channel is used to represent the transmission channel established between the client and the server, and the second transmission channel is used to represent the transmission channel established between the server and the vehicle; an instruction verification module, used to verify the target remote control instruction; and a vehicle control module, used to control the operation of the vehicle based on the target remote control instruction in response to successful verification of the target remote control instruction.
[0017] Furthermore, the instruction verification module is also used to: parse the target remote control instruction within a preset time period to obtain the instruction identification, signature information and control instructions of the target remote control instruction; verify the signature information based on a preset security certificate to obtain a signature verification result; verify the instruction identification based on the vehicle identification of the vehicle to obtain an identification verification result; in response to the signature verification result being that the signature information is valid, and the identification verification result being that the instruction identification matches the vehicle identification, determine that the verification of the target remote control instruction is successful.
[0018] Furthermore, the above-mentioned device also includes: a second verification module, which is used to verify the certificate storage instruction in response to receiving the certificate storage instruction and obtain an instruction verification result, wherein the certificate storage instruction is constructed by the client based on the certificate identifier and client identifier of the preset security certificate; a certificate storage module, which is used to store the preset security certificate to the preset certificate library in response to the instruction verification result being that the certificate storage instruction is secure.
[0019] Furthermore, the second verification module is also used to: obtain a preset algorithm root certificate chain that matches the certificate identifier from a root certificate chain library, wherein the root certificate chain library is used to store the association between the certificate identifier and the preset algorithm root certificate chain; verify the certificate contained in the certificate storage instruction based on the preset algorithm root certificate chain to obtain a certificate verification result; in response to the certificate verification result being that the certificate contained in the certificate storage instruction is a preset security certificate, determine that the instruction verification result is that the certificate storage instruction is secure; in response to the certificate verification result being that the certificate contained in the certificate storage instruction is not a preset security certificate, determine that the instruction verification result is that the certificate storage instruction is unsafe.
[0020] According to another aspect of an embodiment of the present invention, a vehicle is further provided, comprising: a memory storing an executable program; and a processor for running the program, wherein the method in each embodiment of the present invention is executed when the program is running.
[0021] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the methods in various embodiments of the present invention.
[0022] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the method in each embodiment of the present invention is implemented.
[0023] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method in each embodiment of the present invention is implemented.
[0024] According to another aspect of the embodiments of the present invention, a computer program is further provided. When the computer program is executed by a processor, the methods in the embodiments of the present invention are implemented.
[0025] In an embodiment of the present invention, a target remote control instruction sent by a client is received through a first transmission channel; the target remote control instruction is proofread; in response to successful proofreading of the target remote control instruction, the target remote control instruction is transmitted to the vehicle through a second transmission channel. By signing and authenticating the vehicle remote control instruction with a preset security certificate at the client, and transmitting the authenticated target remote control instruction to the server through the first transmission channel corresponding to the domain preset security certificate, the possibility of the target remote control instruction being tampered with before being transmitted to the server can be reduced. The target remote control instruction can be proofread at the server to further avoid tampering with the target remote control instruction. Then, if the proofreading passes, the target remote control instruction is transmitted to the vehicle through a second transmission channel matching the preset security certificate, further reducing the possibility of the instruction being tampered with before the vehicle receives the target remote control instruction. Finally, the target remote control instruction is verified again in the vehicle, and the vehicle is controlled to run according to the target remote control instruction only if the verification passes. The potential security risk in the target remote control instruction can be further reduced, thereby ensuring the safety of the vehicle when running according to the template remote control instruction, thereby solving the technical problem of poor security of remote control of the vehicle in the related art. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0027] Figure 1 is a flow chart of a vehicle remote control method according to an embodiment of the present application;
[0028] Figure 2 is a flow chart of another vehicle remote control method according to an embodiment of the present application;
[0029] Figure 3 is a flow chart of another vehicle remote control method according to an embodiment of the present application;
[0030] Figure 4 is a schematic diagram of a remote control command transmission link according to an embodiment of the present application;
[0031] Figure 5 is a schematic diagram of a remote control security protection mechanism process according to an embodiment of the present application;
[0032] Figure 6 is a schematic diagram of a secure communication establishment process according to an embodiment of the present application;
[0033] Figure 7 is a structural block diagram of a vehicle remote control device according to an embodiment of the present application;
[0034] Figure 8 is a structural block diagram of another vehicle remote control device according to an embodiment of the present application;
[0035] Fig. 9 It is a structural block diagram of another vehicle remote control device according to an embodiment of the present application. DETAILED DESCRIPTION
[0036] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below 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, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0037] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0038] Example 1
[0039] According to an embodiment of the present invention, a method embodiment of vehicle remote control is provided, which is applied to a server. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0040] Figure 1 is a flow chart of a vehicle remote control method according to an embodiment of the present application, which is applied to a server, such as Figure 1 As shown, the method comprises the following steps:
[0041] Step S102: receiving a target remote control instruction sent by a client through a first transmission channel.
[0042] The target remote control command is obtained by the client signing the vehicle remote control command based on a preset security certificate, and the first transmission channel is used to represent the transmission channel established between the client and the server.
[0043] The above-mentioned server is connected to the client and the vehicle, and can be used to forward information sent by the client to the vehicle, or forward information sent by the vehicle to the client, for example, it can be a TSP (Telecommunication Service Provider). The above-mentioned client may refer to a device independent of the vehicle, which can generate target remote control instructions according to the operation input by the user. The above-mentioned target remote control instructions may refer to instructions for controlling the operation of different on-board devices in the vehicle. The above-mentioned preset security certificate may refer to a certificate used to authenticate the vehicle remote control instructions to ensure the security of the on-board remote control instructions. The above-mentioned first transmission channel may refer to a channel corresponding to the preset security certificate, which is used to transmit the target remote control instructions authenticated by the preset security certificate between the client and the server.
[0044] In an optional solution of this embodiment, in order to remotely control the operation of the vehicle-mounted device on the vehicle, the user can input the corresponding control content in the operation interface of the client, and the client can generate the above-mentioned target remote control instruction according to the control content input by the user, and then send the target remote control instruction to the server, and the corresponding server can receive and forward the target remote control instruction sent by the client to the vehicle, so that the vehicle can execute the target remote control instruction to achieve the operation of remote control of the vehicle-mounted device. In order to avoid malicious programs in the client that will generate control instructions with security risks, the above-mentioned preset security certificate can be configured in the client, and when it is determined that the user needs to generate instructions for controlling the operation of the vehicle-mounted device, the above-mentioned preset security certificate can be retrieved from the preset security certificate library, and the vehicle remote control instruction input by the user can be signed by the preset security certificate to obtain the above-mentioned target remote control instruction. If it is determined that the vehicle remote control instruction is not input by the user, the client can not use the above-mentioned preset security certificate to sign the vehicle remote control instruction to avoid protecting and authenticating instructions with security risks. In order to avoid tampering during the transmission of the target remote control command, a transmission channel for transmitting the target remote control command can be established between the client and the server based on the above-mentioned preset security certificate, that is, the above-mentioned first transmission channel, and the target remote control command sent by the client can be transmitted to the server using the first transmission channel.
[0045] Step S104, proofreading the target remote control instruction.
[0046] In an optional solution of this embodiment, after receiving the target remote control instruction sent by the client, the server can proofread the target remote control instruction to determine whether the target remote control instruction is safe, for example, extracting the client identifier of the client, the vehicle identifier of the target receiving vehicle, the certificate identifier of the preset security certificate and other information from the target remote control instruction, and then verifying this information to determine whether the target remote control instruction is safe. It should be noted that in order to avoid transmitting the target remote control instruction to the wrong vehicle, an association relationship can be established between the client, the server and the vehicle. For example, the user can use his own identity information to establish corresponding user accounts on the client, the server and the vehicle management system respectively. The corresponding server can quickly proofread the target remote control instruction through the user accounts corresponding to the client and the vehicle management system, so as to improve the proofreading efficiency while ensuring the safety of the target remote control instruction.
[0047] Step S106 , in response to the target remote control command being successfully verified, transmitting the target remote control command to the vehicle via the second transmission channel.
[0048] Among them, the target remote control command is used to control the operation of the vehicle when the verification is passed, and the second transmission channel is used to represent the transmission channel established between the server and the vehicle.
[0049] The second transmission channel may refer to a channel corresponding to a preset security certificate and used to transmit a target remote control command authenticated by the preset security certificate between the server and the vehicle.
[0050] In an optional solution of this embodiment, when the server successfully verifies the target remote control instruction, that is, after judging that the target remote control instruction is safe, the server can transmit the target remote control instruction to the vehicle so that the vehicle can operate according to the target remote control instruction sent by the client. In order to avoid the target remote control instruction being tampered with during the transmission process or in the server, resulting in security risks, the server can also transmit the target remote control instruction to the vehicle through the above-mentioned second transmission channel. After receiving the target remote control instruction, the corresponding vehicle can verify the target remote control instruction to further ensure the safety of the target remote control instruction, and then operate according to the target remote control instruction if the target remote control instruction is verified. If the target remote control instruction is not verified, the vehicle can also feedback the instruction abnormality to the customer to prompt the user to check.
[0051] In an embodiment of the present invention, a target remote control instruction sent by a client is received through a first transmission channel; the target remote control instruction is proofread; in response to successful proofreading of the target remote control instruction, the target remote control instruction is transmitted to the vehicle through a second transmission channel. By signing and authenticating the vehicle remote control instruction with a preset security certificate at the client, and transmitting the authenticated target remote control instruction to the server through the first transmission channel corresponding to the domain preset security certificate, the possibility of the target remote control instruction being tampered with before being transmitted to the server can be reduced. The target remote control instruction can be proofread in the service order to further avoid the target remote control instruction being tampered with, and then the target remote control instruction is transmitted to the vehicle through the second transmission channel matching the preset security certificate if the proofreading is passed, further reducing the possibility of the instruction being tampered with before the vehicle receives the target remote control instruction. Finally, the target remote control instruction is verified again in the vehicle, and the vehicle is controlled to run according to the target remote control instruction only if the verification is passed, which can further reduce the potential security risks in the target remote control instruction, thereby ensuring the safety of the vehicle when running according to the template remote control instruction, thereby solving the technical problem of poor security of remote control of the vehicle in the related art.
[0052] Furthermore, the above method also includes: receiving a certificate application request sent by the client, wherein the certificate application request is used to represent a request constructed by the client based on the vehicle identification and the client identification for obtaining a preset security certificate; verifying the certificate application request to obtain a request verification result; in response to the request verification result being that the certificate application request is normal, sending the preset security certificate to the client.
[0053] In an optional scheme of the present embodiment, in order to facilitate the management of the preset security certificate, the preset security certificate deployed in the client can be sent by the server. In order to avoid the server from mistakenly sending the preset security certificate to other clients, the client can first construct a certificate application request based on the vehicle identification and the client identification to obtain the preset security certificate, and send the certificate application request to the server. After receiving the certificate application request, the server can verify the certificate application request to obtain the above-mentioned request verification result, such as determining whether the client receiving the preset security certificate is safe, or whether the level of the preset security certificate applied for matches the client, whether the client has the authority to use the preset security certificate, etc. If the request verification result is that the certificate application request is normal, the server can send the corresponding preset security certificate to the client. If the request verification result is that the certificate application request is abnormal, the server may not send the corresponding preset security certificate, and send a prompt message to the client, such as prompting the client that it does not have the right to use, the client authentication fails, etc., to facilitate the user to view the reason for the failure to obtain the preset security certificate.
[0054] Furthermore, the above method also includes: generating a first key pair based on a preset security certificate and a preset security algorithm corresponding to the preset security certificate; sending the first key contained in the first key pair to the vehicle through a handshake request, and receiving a second key sent by the vehicle, wherein the second key is used to represent the key contained in the second key pair generated by the vehicle based on the preset security certificate and the preset security algorithm, one end of the handshake request is the service end, and the other end of the handshake request is the vehicle; performing security verification on the second key to obtain a first verification result, and receiving a second verification result sent by the vehicle, wherein the second verification result is used to represent the result obtained by the vehicle performing security verification on the first key; in response to the first verification result being that the security verification of the second key is passed, and the second verification result being that the security verification of the first key is passed, establishing a second transmission channel based on the handshake request.
[0055] In an optional scheme of the present embodiment, in order to be able to stably transmit the target remote control command to the vehicle, the server can first generate a first key pair based on a preset security certificate and a preset security algorithm corresponding to the preset certificate, and the corresponding vehicle management system can also generate a second key pair based on the preset security certificate and the corresponding preset security algorithm, and then the server can send a handshake request to the vehicle management system, and send the first key contained in the first key pair to the vehicle management system through the handshake request, the vehicle management system can send the second key contained in the second key pair to the server through the handshake request, the corresponding server can perform security verification on the second key to obtain a first verification result, the vehicle management system can perform security verification on the first key to obtain a second verification result, and send the second verification result to the server, when the server determines that the first verification result is that the second key is secure and the second verification result is that the first key is secure, the above-mentioned second transmission channel can be established through the handshake request to transmit the corresponding target remote control command.
[0056] Example 2
[0057] According to another aspect of an embodiment of the present invention, a vehicle remote control method is provided, which is applied to a client. Figure 2 is a flow chart of another vehicle remote control method according to an embodiment of the present application, such as Figure 2 As shown, the method may include the following steps:
[0058] Step S202 , in response to monitoring the vehicle remote control command, signing the vehicle remote control command based on a preset security certificate to obtain a target remote control command.
[0059] The above-mentioned vehicle remote control command may refer to a command input by a user through a client for controlling the operation of a vehicle.
[0060] In an optional scheme of the present embodiment, the client can monitor in real time whether the above-mentioned vehicle remote control command is input. If input, in order to prevent the vehicle remote control command from being tampered with and then sent to the vehicle, the client can use a preset security certificate to sign the vehicle remote control command to obtain the above-mentioned target remote command, so that the server, vehicle and other terminals can verify the authentication status of the target remote control command to avoid the server transmitting instructions that may pose a security risk to the vehicle.
[0061] Step S204: sending the target remote control instruction to the server through the first transmission channel.
[0062] Among them, the target remote control command is transmitted to the vehicle through the second transmission channel by the server when the proofreading is successful. The target remote control command is used to control the operation of the vehicle when the verification is passed. The first transmission channel is used to represent the transmission channel established between the client and the server, and the second transmission channel is used to represent the transmission channel established between the server and the vehicle.
[0063] In an optional scheme of the present embodiment, in order to ensure the security of the target remote control instructions during the transmission process, the target remote control instructions can be sent to the server through the first transmission channel. The server can proofread the received target remote control instructions, and if the proofreading passes, transmit the target remote control instructions to the vehicle through the second transmission channel. The management system on the vehicle can further verify the received target remote control instructions, and if the verification passes, start executing the above-mentioned target remote control instructions to control the operation of the vehicle.
[0064] Example 3
[0065] According to another aspect of an embodiment of the present invention, a vehicle remote control method is provided, which is applied to a vehicle. Figure 3 is a flow chart of another vehicle remote control method according to an embodiment of the present application, such as Figure 3 As shown, the method may include the following steps:
[0066] Step S302: receiving a target remote control instruction sent by the server through the second transmission channel.
[0067] Among them, the target remote control command is sent to the vehicle by the server after successful proofreading. The target remote control command is obtained by the client by signing the vehicle remote control command based on a preset security certificate, and is sent to the server through a first transmission channel. The first transmission channel is used to represent the transmission channel established between the client and the server, and the second transmission channel is used to represent the transmission channel established between the server and the vehicle.
[0068] In an optional scheme of the present embodiment, the client can sign the vehicle remote control command input by the user through a preset security certificate to obtain the corresponding target remote control command, and then transmit the target remote control command to the server through the first transmission channel. The server can proofread the target remote control command and send the target remote control command to the vehicle through the second transmission channel if the proofreading passes. The corresponding vehicle can receive and execute the target remote control command through the second transmission channel to realize the user's remote control operation operation.
[0069] Step S304: verify the target remote control instruction.
[0070] In an optional scheme of this embodiment, in order to avoid potential risks caused by tampering of the target remote control instructions during transmission, the vehicle management system can also verify the target remote control instructions after receiving them to determine whether the target remote control instructions are safe and whether they comply with the client's operating permissions.
[0071] Step S306 , in response to successful verification of the target remote control command, controlling the vehicle operation based on the target remote control command.
[0072] In an optional scheme of the present embodiment, if the target remote control instruction is verified, the safety of the target remote control instruction can be judged. At this time, the vehicle management system can control the vehicle operation according to the target remote control instruction. If the target remote control instruction is not verified, it can be judged that the target remote control instruction is currently unsafe. At this time, the vehicle management system can feedback relevant content of the command execution failure to the client, so as to facilitate the user to view the reason for the command execution failure.
[0073] Furthermore, the target remote control command is verified, including: parsing the target remote control command within a preset time period to obtain the command identifier, signature information and control command of the target remote control command; verifying the signature information based on a preset security certificate to obtain a signature verification result; verifying the command identifier based on the vehicle identifier of the vehicle to obtain an identifier verification result; in response to the signature verification result being that the signature information is valid, and the identifier verification result being that the command identifier matches the vehicle identifier, determining that the verification of the target remote control command is successful.
[0074] In an optional solution of this embodiment, when the target remote control instruction is verified, the vehicle management system can first parse the target remote control instruction within a preset time period, such as within 3 seconds of receiving the target remote control instruction, to determine the instruction identifier corresponding to the target remote control instruction, such as the client identifier, user identity information, etc., as well as the signature information, control instructions, etc. of the target remote control instruction, and then verify the above-mentioned signature information using a preset security certificate to obtain a signature verification result, and verify the instruction identifier by using the vehicle identifier to obtain a corresponding identifier verification result. If the signature verification result is that the signature information is valid, and the identifier verification result is that the instruction identifier matches the vehicle identifier, the vehicle management system can determine that the target remote control instruction verification is successful; if the signature verification result is that the signature information is invalid, or the identifier verification result is that the instruction identifier does not match the vehicle identifier, it can be determined that the target remote control instruction verification is unsuccessful. In addition, the vehicle management system can also perform authority verification on the detected control instruction. If the control instruction is within the authority range of the client, it can be determined that the control instruction is normal, and the vehicle management system can control the vehicle operation according to the control instruction.
[0075] Furthermore, the above method also includes: in response to receiving a certificate storage instruction, verifying the certificate storage instruction to obtain an instruction verification result, wherein the certificate storage instruction is constructed by the client based on the certificate identifier and client identifier of a preset security certificate; in response to the instruction verification result being that the certificate storage instruction is secure, storing the preset security certificate in a preset certificate library.
[0076] In an optional scheme of the present embodiment, the preset security certificate deployed in the management system of the vehicle may be sent by the client, and the corresponding client may construct a certificate storage instruction based on the certificate identifier and the client identifier of the preset security certificate, and send it to the server through the first transmission. The server may verify the certificate storage instruction and send the certificate storage instruction to the management system of the vehicle after the verification. The management system of the vehicle may verify the received certificate storage instruction again to obtain the above-mentioned instruction verification result. If the instruction verification result is that the certificate storage instruction is safe, the corresponding preset security certificate may be stored in the preset certificate library; if the instruction verification result is that the certificate storage instruction is unsafe, the preset security certificate may not be stored, and the relevant content of the storage failure may be fed back to the client for user viewing convenience.
[0077] Further, the certificate storage instruction is verified to obtain an instruction verification result, including: obtaining a preset algorithm root certificate chain that matches the certificate identifier from a root certificate chain library, wherein the root certificate chain library is used to store the association between the certificate identifier and the preset algorithm root certificate chain; verifying the certificate contained in the certificate storage instruction based on the preset algorithm root certificate chain to obtain a certificate verification result; in response to the certificate verification result being that the certificate contained in the certificate storage instruction is a preset security certificate, determining that the instruction verification result is that the certificate storage instruction is secure; in response to the certificate verification result being that the certificate contained in the certificate storage instruction is not a preset security certificate, determining that the instruction verification result is that the certificate storage instruction is unsafe.
[0078] In an optional scheme of the present embodiment, when verifying the certificate storage instruction, the vehicle's management system may first obtain a preset algorithm root certificate chain that matches the certificate identifier of the preset security certificate from the root certificate chain library, and use the preset algorithm root certificate chain to verify the certificate contained in the certificate storage instruction to determine whether the certificate currently contained in the certificate storage instruction is the preset security certificate. If the certificate verification result is that the certificate contained in the certificate storage instruction is the preset security certificate, then it can be determined that the instruction verification result is that the certificate storage instruction is secure; if the certificate verification result is that the certificate contained in the certificate storage instruction is not the preset security certificate, then it can be determined that the instruction verification result is that the certificate storage instruction is insecure.
[0079] To facilitate understanding of the above target remote control command transmission process, Figure 4 is a schematic diagram of a remote control command transmission link according to an embodiment of the present application, such as Figure 4As shown, in the remote control command transmission link for transmitting the target remote control command, at least a first transmission link 41, a second transmission link 42, APP (Application), TSP, TBOX (Telematics Box), PKI (Public Key Infrastructure) and BCM (Body Control Module, body control module), wherein APP may correspond to the client, and may be used to sign the vehicle remote control instruction through a preset security certificate to obtain a template remote control instruction, and then send the target remote control instruction to the server through the first transmission link. TSP and PKI may correspond to the server, and may proofread the received target remote control instruction, and then send the target remote control instruction to the vehicle through the second transmission link. TSP may be responsible for the operation platform, service platform, cloud platform and data platform, and provide users with a series of vehicle-based remote services and applications. PKI may be used to issue a preset security certificate. TBOX and BCM may correspond to the vehicle management system, and may verify the target remote control instruction after receiving the target remote control instruction, and control the vehicle to run according to the target remote control instruction after the verification is passed. TBOX integrates the body network and wireless communication functions, and is usually installed under the dashboard of the vehicle. It can be used to provide network services for the vehicle. BCM may be responsible for monitoring and controlling various electronic functions related to the body, and managing vehicle-mounted equipment such as windows, door locks, and air conditioners. In the remote control command transmission link, different terminals can use the same root certificate or root certificate chain to ensure that these multiple terminals can be in the same security trust domain. APP, TBOX, and TSP have their own communication certificates, and APP and TBOX are one machine and one secret.
[0080] Figure 5 is a schematic diagram of a remote control security protection mechanism process according to an embodiment of the present application, such as Figure 5 As shown, the steps of the remote control security protection mechanism process may include:
[0081] 501: When registering a user, the APP can use the mobile phone number as the account and the vehicle's VIN (Vehicle Identification Number) to bind the user information, and use the mobile phone number + VIN as the certificate application subject to apply for the APP SM2 algorithm certificate, that is, the preset security certificate.
[0082] 502: After receiving the APP certificate application request, TSP can call the national cryptographic PKI system to issue a certificate to the APP.
[0083] 503: After the APP applies for the SM2 algorithm national secret certificate, it can use the national secret certificate and TSP to establish an SSL formal secure communication link based on the national secret algorithm. After the APP applies for the APP national secret certificate, the APP's own certificate will be issued.
[0084] 504: After TSP receives the APP national encryption algorithm certificate, it can send the APP certificate to the vehicle through the TBOX security link.
[0085] 505: TBOX can forward the certificate to BCM. BCM uses the preset national secret algorithm root certificate chain to verify the legitimacy of the APP certificate to ensure that the vehicle side and the APP side are based on the same security and trusted root. At the same time, it compares the VIN and other information in the APP certificate subject with the vehicle information to see if they match.
[0086] 506: After verification, the APP certificate subject is securely stored and the certificate verification result is fed back to achieve the binding of the APP security certificate and the vehicle.
[0087] 507: When performing remote control, the APP can call the national secret algorithm certificate to establish a national secret SSL security channel with the TSP, that is, the first transmission channel, and use the APP algorithm certificate to perform SM2 signature on the key information of the remote control command, and form a complete remote control command, that is, the target remote control instruction (including command + SM2 signature, key information includes the control sender's mobile phone number, command time, and control object VIN).
[0088] 508: After receiving the remote control command, the TSP can check the basic information and send it to the dispatching end after passing the check.
[0089] 509: The vehicle-side TBox and TSP maintain a national secret SSL dual-direction identity authentication secure channel link, that is, the second transmission route. After receiving the remote control command, the TBox can forward the remote control command to the vehicle-side controller;
[0090] 510: The vehicle-side controller retrieves the securely stored APP national secret algorithm certificate, compares the APP signature certificate information with the mobile phone number of the remote control command sender and the VIN of the controlled object to see if they match, and verifies whether the remote control command time is valid. If they match, the certificate is used to verify the remote control command SM2 signature information. If the verification passes, it proves that key information such as the remote control command initiator, control end, command time, etc. are all valid and have not been tampered with. At this time, the vehicle can be controlled to run according to the remote control command.
[0091] Figure 6It is a schematic diagram of a secure communication establishment process according to an embodiment of the present application. A domestic cryptographic algorithm can be used to establish a secure transmission channel between the client and the server. Among them, LDAP (Lightweight Directory Access Protocol) is an application layer network protocol that can be connected to the TSP deployed in the server, such as Figure 6 As shown, the steps of the secure communication establishment process may include:
[0092] 601: Each time before the client initiates an access request to the TSP, it first checks the current certificate status (including whether the certificate file exists, the consistency between the private key and the certificate), determines whether the certificate file exists, and reads the CN (Common Name) information of the certificate to see if it matches the local device information VIN and SN, and calls the SDK to check the consistency between the private key of the local certificate and the certificate.
[0093] 602: The client initiates an access request to the TSP. The request includes information such as the supported GM SSL protocol, protocol version 1, client random number, and supported cryptographic algorithm suite.
[0094] 603: After receiving the request, the TSP initiates a response to the client. The response content includes the confirmed protocol version, TSP random number, the cipher suite selected by the TSP, the session identifier, etc. The TSP also sends the TSP signature certificate and the TSP encryption certificate.
[0095] 604: The client calls the local root certificate to authenticate the validity of the TSP certificate. After the TSP certificate is verified, the client uses the TSP public key to encrypt the GM SSL (General Motors Secure Sockets Layer Session) session random number, and sends the encrypted random number, communication certificate, handshake notification and other information to the TSP.
[0096] 605: TSP obtains the certificate verification information table from LDAP.
[0097] 606: LDAP feeds back the corresponding certificate verification information table to the TSP.
[0098] 607: TSP can use the obtained certificate verification information table to verify whether the client certificate is a legally issued certificate, and verify the validity of the terminal certificate (for example: certificate entry / expiration date, whether the certificate is frozen / revoked) through the OCSP (Online Certificate Status Protocol) service.
[0099] 608: If the certificate validity verification is successful, the random number sent by the client is decrypted to complete the key storage.
[0100] 609: TSP returns a notification of successful GM SSL establishment to the client.
[0101] Example 4
[0102] According to another aspect of an embodiment of the present invention, a vehicle remote control device is provided, which is applied to a server.
[0103] Figure 7 is a structural block diagram of a vehicle remote control device according to an embodiment of the present application, such as Figure 7 As shown, the device includes: a first receiving module 702 , an instruction checking module 704 and an instruction transmission module 706 .
[0104] Among them, the first receiving module 702 is used to receive the target remote control command sent by the client through the first transmission channel, wherein the target remote control command is obtained by the client signing the vehicle remote control command based on a preset security certificate, and the first transmission channel is used to represent the transmission channel established between the client and the server; the instruction proofreading module 704 is used to proofread the target remote control command; the instruction transmission module 706 is used to respond to the successful proofreading of the target remote control command, and transmit the target remote control command to the vehicle through the second transmission channel, wherein the target remote control command is used to control the operation of the vehicle when the verification is passed, and the second transmission channel is used to represent the transmission channel established between the server and the vehicle.
[0105] Furthermore, the above-mentioned device also includes: a request receiving module, which is used to receive a certificate application request sent by the client, wherein the certificate application request is used to represent a request constructed by the client based on the vehicle identification and the client identification for obtaining a preset security certificate; a request verification module, which is used to verify the certificate application request and obtain a request verification result; and a certificate sending module, which is used to send the preset security certificate to the client in response to the request verification result being that the certificate application request is normal.
[0106] Furthermore, the above-mentioned device also includes: a key generation module, which is used to generate a first key pair based on a preset security certificate and a preset security algorithm corresponding to the preset security certificate; a key transmission module, which is used to send the first key contained in the first key pair to the vehicle through a handshake request, and receive the second key sent by the vehicle, wherein the second key is used to represent the key contained in the second key pair generated by the vehicle based on the preset security certificate and the preset security algorithm, one end of the handshake request is the service end, and the other end of the handshake request is the vehicle; a key verification module, which is used to perform security verification on the second key to obtain a first verification result, and receive the second verification result sent by the vehicle, wherein the second verification result is used to represent the result obtained by the vehicle performing security verification on the first key; a channel establishment module, which is used to establish a second transmission channel based on the handshake request in response to the first verification result being that the security verification of the second key is passed, and the second verification result being that the security verification of the first key is passed.
[0107] Example 5
[0108] Figure 8 is a structural block diagram of another vehicle remote control device according to an embodiment of the present application, such as Figure 8 As shown, the device includes: an instruction generating module 802 and an instruction sending module 804.
[0109] Among them, according to another aspect of an embodiment of the present invention, a vehicle remote control device is also provided, which is applied to a client, including: an instruction generation module, which is used to respond to the monitoring of the vehicle remote control instruction, sign the vehicle remote control instruction based on a preset security certificate, and obtain the target remote control instruction; an instruction sending module, which is used to send the target remote control instruction to the server through a first transmission channel, wherein the target remote control instruction is transmitted to the vehicle through a second transmission channel by the server if the proofreading is successful, and the target remote control instruction is used to control the operation of the vehicle if the verification is passed, the first transmission channel is used to represent the transmission channel established between the client and the server, and the second transmission channel is used to represent the transmission channel established between the server and the vehicle.
[0110] Example 6
[0111] According to another aspect of an embodiment of the present invention, a vehicle remote control device is provided, which is applied to a vehicle. Fig. 9 is a structural block diagram of another vehicle remote control device according to an embodiment of the present application, such as Fig. 9 As shown, the device includes: a second receiving module 902 , an instruction verification module 904 and a vehicle control module 906 .
[0112] Among them, it includes: a second receiving module 902 is used to receive the target remote control command sent by the server through the second transmission channel, wherein the target remote control command is sent to the vehicle by the server after successful proofreading, and the target remote control command is obtained by the client by signing the vehicle remote control command based on a preset security certificate, and sent to the server through the first transmission channel, the first transmission channel is used to represent the transmission channel established between the client and the server, and the second transmission channel is used to represent the transmission channel established between the server and the vehicle; the command verification module 904 is used to verify the target remote control command; the vehicle control module 906 is used to control the vehicle operation based on the target remote control command in response to the successful verification of the target remote control command.
[0113] Furthermore, the instruction verification module is also used to: parse the target remote control instruction within a preset time period to obtain the instruction identification, signature information and control instructions of the target remote control instruction; verify the signature information based on a preset security certificate to obtain a signature verification result; verify the instruction identification based on the vehicle identification of the vehicle to obtain an identification verification result; in response to the signature verification result being that the signature information is valid, and the identification verification result being that the instruction identification matches the vehicle identification, determine that the verification of the target remote control instruction is successful.
[0114] Furthermore, the above-mentioned device also includes: a second verification module, which is used to verify the certificate storage instruction in response to receiving the certificate storage instruction and obtain an instruction verification result, wherein the certificate storage instruction is constructed by the client based on the certificate identifier and client identifier of the preset security certificate; a certificate storage module, which is used to store the preset security certificate to the preset certificate library in response to the instruction verification result being that the certificate storage instruction is secure.
[0115] Furthermore, the second verification module is also used to: obtain a preset algorithm root certificate chain that matches the certificate identifier from a root certificate chain library, wherein the root certificate chain library is used to store the association between the certificate identifier and the preset algorithm root certificate chain; verify the certificate contained in the certificate storage instruction based on the preset algorithm root certificate chain to obtain a certificate verification result; in response to the certificate verification result being that the certificate contained in the certificate storage instruction is a preset security certificate, determine that the instruction verification result is that the certificate storage instruction is secure; in response to the certificate verification result being that the certificate contained in the certificate storage instruction is not a preset security certificate, determine that the instruction verification result is that the certificate storage instruction is unsafe.
[0116] Example 7
[0117] An embodiment of the present application further provides a vehicle, comprising: a memory storing an executable program; and a processor for running the program, wherein the method in each embodiment of the present invention is executed when the program is running.
[0118] Example 8
[0119] An embodiment of the present application further provides a computer-readable storage medium, which includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the methods in various embodiments of the present invention.
[0120] Example 9
[0121] An embodiment of the present application further provides a computer program product, including a computer program, which implements the methods in various embodiments of the present invention when executed by a processor.
[0122] Example 10
[0123] An embodiment of the present application further provides a computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium is used to store a computer program, and when the computer program is executed by a processor, the method in each embodiment of the present invention is implemented.
[0124] Embodiment 11
[0125] The embodiments of the present application further provide a computer program, which implements the methods in the above-mentioned embodiments of the present invention when executed by a processor.
[0126] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0127] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0128] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0129] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0130] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0131] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0132] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A vehicle remote control method, characterized in that: Applied to the server, including: receiving a target remote control instruction sent by a client through a first transmission channel, wherein the target remote control instruction is obtained by the client signing a vehicle remote control instruction based on a preset security certificate, and the first transmission channel is used to represent a transmission channel established between the client and the server; Proofreading the target remote control instruction; In response to successful verification of the target remote control command, the target remote control command is transmitted to the vehicle via a second transmission channel, wherein the target remote control command is used to control the operation of the vehicle when verification is passed, and the second transmission channel is used to represent a transmission channel established between the server and the vehicle.
2. The method according to claim 1, characterized in that: The method further comprises: Receiving a certificate application request sent by the client, wherein the certificate application request is used to represent a request constructed by the client based on the vehicle identifier and the client identifier for obtaining the preset security certificate; Verifying the certificate application request to obtain a request verification result; In response to the request verification result being that the certificate application request is normal, sending the preset security certificate to the client.
3. The method according to claim 1, characterized in that The method further comprises: Generate a first key pair based on the preset security certificate and a preset security algorithm corresponding to the preset security certificate; Sending a first key included in the first key pair to the vehicle through a handshake request, and receiving a second key sent by the vehicle, wherein the second key is used to represent a key included in a second key pair generated by the vehicle based on the preset security certificate and the preset security algorithm, one end of the handshake request is the server, and the other end of the handshake request is the vehicle; Perform security verification on the second key to obtain a first verification result, and receive a second verification result sent by the vehicle, wherein the second verification result is used to represent a result obtained by the vehicle performing security verification on the first key; In response to the first verification result being that the security verification of the second key has passed, and the second verification result being that the security verification of the first key has passed, establishing the second transmission channel based on the handshake request.
4. A vehicle remote control method, characterized in that: Applied to the client, including: In response to monitoring a vehicle remote control command, signing the vehicle remote control command based on a preset security certificate to obtain a target remote control command; The target remote control command is sent to the server through the first transmission channel, wherein the target remote control command is transmitted to the vehicle by the server through the second transmission channel when the verification is successful, and the target remote control command is used to control the operation of the vehicle when the verification is passed. The first transmission channel is used to represent the transmission channel established between the client and the server, and the second transmission channel is used to represent the transmission channel established between the server and the vehicle.
5. A vehicle remote control method, characterized in that: Applied to vehicles, including: receiving a target remote control instruction sent by the server through the second transmission channel, wherein the target remote control instruction is sent by the server to the vehicle when the verification is successful, and the target remote control instruction is obtained by the client by signing the vehicle remote control instruction based on a preset security certificate, and is sent to the server through the first transmission channel, the first transmission channel is used to represent the transmission channel established between the client and the server, and the second transmission channel is used to represent the transmission channel established between the server and the vehicle; Verifying the target remote control instruction; In response to successful verification of the target remote control command, the vehicle operation is controlled based on the target remote control command.
6. The method according to claim 5, characterized in that Verifying the target remote control instruction includes: Parsing the target remote control instruction within a preset time period to obtain the instruction identifier, signature information and control instruction of the target remote control instruction; Verifying the signature information based on the preset security certificate to obtain a signature verification result; Verifying the command identifier based on the vehicle identifier of the vehicle to obtain an identifier verification result; In response to the signature verification result being that the signature information is valid, and the identifier verification result being that the instruction identifier matches the vehicle identifier, it is determined that the target remote control instruction verification is successful.
7. The method according to claim 5, characterized in that The method further comprises: In response to receiving the certificate storage instruction, verifying the certificate storage instruction to obtain an instruction verification result, wherein the certificate storage instruction is constructed by the client based on the certificate identifier of the preset security certificate and the client identifier; In response to the instruction verification result being that the certificate storage instruction is safe, the preset security certificate is stored in a preset certificate library.
8. The method according to claim 7, characterized in that Verifying the certificate storage instruction to obtain an instruction verification result includes: Obtaining a preset algorithm root certificate chain that matches the certificate identifier from a root certificate chain library, wherein the root certificate chain library is used to store the association relationship between the certificate identifier and the preset algorithm root certificate chain; Verify the certificate contained in the certificate storage instruction based on the preset algorithm root certificate chain to obtain a certificate verification result; In response to the certificate verification result being that the certificate included in the certificate storage instruction is the preset security certificate, determining that the instruction verification result is that the certificate storage instruction is secure; In response to the certificate verification result being that the certificate included in the certificate storage instruction is not the preset security certificate, it is determined that the instruction verification result is that the certificate storage instruction is not secure.
9. A vehicle remote control device, characterized in that: Applied to the server, including: A first receiving module, configured to receive a target remote control instruction sent by a client through a first transmission channel, wherein the target remote control instruction is obtained by the client signing the vehicle remote control instruction based on a preset security certificate, and the first transmission channel is used to represent a transmission channel established between the client and the server; An instruction checking module, used for checking the target remote control instruction; A command transmission module is used to transmit the target remote control command to the vehicle through a second transmission channel in response to successful verification of the target remote control command, wherein the target remote control command is used to control the operation of the vehicle when the verification is passed, and the second transmission channel is used to represent the transmission channel established between the server and the vehicle.
10. A vehicle remote control device, characterized in that: Applied to the client, including: An instruction generation module, for responding to monitoring a vehicle remote control instruction, signing the vehicle remote control instruction based on a preset security certificate to obtain a target remote control instruction; The command sending module is used to send the target remote control command to the server through the first transmission channel, wherein the target remote control command is transmitted to the vehicle through the second transmission channel by the server when the verification is successful, and the target remote control command is used to control the operation of the vehicle when the verification is passed. The first transmission channel is used to represent the transmission channel established between the client and the server, and the second transmission channel is used to represent the transmission channel established between the server and the vehicle.
11. A vehicle remote control device, characterized in that: Applied to vehicles, including: A first receiving module is used to receive a target remote control instruction sent by a server through a second transmission channel, wherein the target remote control instruction is sent by the server to the vehicle when the verification is successful, and the target remote control instruction is obtained by the client by signing the vehicle remote control instruction based on a preset security certificate, and is sent to the server through a first transmission channel, the first transmission channel is used to represent the transmission channel established between the client and the server, and the second transmission channel is used to represent the transmission channel established between the server and the vehicle; An instruction verification module, used to verify the target remote control instruction; The vehicle control module is used to control the operation of the vehicle based on the target remote control command in response to successful verification of the target remote control command.
12. A vehicle, characterized in that: include: A memory storing an executable program; A processor, configured to run the program, wherein the program executes the method according to any one of claims 1 to 3 when running.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored executable program, wherein when the executable program is run, the device where the storage medium is located is controlled to execute the method according to any one of claims 1 to 3.
14. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 3.
Citation Information
Cited By
Remote control method, system and equipment based on edge server and medium
CN120750987A
