A vehicle control method and system

By using cloud-based systems, vehicle and outbound systems for digital signatures and automated control, the problems of cumbersome and error-prone operation initiation of vehicle transportation modes have been solved, achieving efficient and safe full-vehicle logistics shipments.

CN123145271APending Publication Date: 2026-11-20CHONGQING JINKANG NEW ENERGY VEHICLE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611147479.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-30
Publication Date
2026-11-20

Smart Images

  • Figure CN123145271A_ABST
    Figure CN123145271A_ABST
Patent Text Reader

Abstract

This application discloses a vehicle control method and system applied to a cloud system. The method includes: acquiring outbound information sent by an outbound system, wherein the outbound information is generated by the outbound system after collecting a preset electronic tag of the vehicle and sending it to the cloud system; generating a transportation mode activation command for the vehicle based on the outbound information; acquiring a pre-constructed key pair, the key pair including a private key and a public key paired with the private key; digitally signing the transportation mode activation command using the private key to obtain first signature information; sending the transportation mode activation command, the first signature information, and the public key to the vehicle; receiving the activation command execution result of the transportation mode activation command returned by the vehicle; and sending a control command to the outbound system based on the activation command execution result to instruct the outbound system to perform a release or interception operation on the vehicle. This method can automatically control the activation of the vehicle's transportation mode, meeting the needs of large-scale, high-efficiency whole-vehicle logistics shipments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of vehicle control, specifically relating to a vehicle control method and system. Background Technology

[0002] Currently, vehicle transport modes are widely activated and deactivated manually using diagnostic equipment in OEMs. Typically, operators use OBD (On-Board Diagnostics) wiring harnesses to physically connect the vehicle to the diagnostic equipment, and then manually input diagnostic commands through the diagnostic equipment's human-machine interface to activate or deactivate the transport mode.

[0003] However, the aforementioned manual operation methods are cumbersome and inefficient. Each vehicle requires manual execution of steps such as OBD connection, command input, and device disconnection, which is time-consuming in scenarios involving large-scale vehicle shipments, becoming a bottleneck in logistics efficiency. Furthermore, existing technologies rely on manual labor and are prone to errors. When operators are fatigued or negligent, omissions or misoperations may occur, resulting in some vehicles being dispatched before entering transport mode, posing a risk of abnormal battery drain. Finally, while existing remote vehicle control solutions can remotely issue commands, their triggering method still relies on manual operation and does not consider the vehicle's logistics status, making it difficult to meet the needs of large-scale, high-efficiency whole-vehicle logistics shipments. Summary of the Invention

[0004] The purpose of this application is to provide a vehicle control method and system, which is achieved as follows: In a first aspect, embodiments of this application provide a vehicle control method applied to a cloud system, wherein the cloud system is communicatively connected to both a depot exit system and a vehicle, and the method includes: The system obtains outbound information sent by the outbound system; the outbound information is generated by the outbound system after collecting the vehicle's preset electronic tag and sending it to the cloud system. Based on the information to be dispatched, a transportation mode activation command is generated for the vehicle. Obtain a pre-constructed key pair, the key pair including a private key and a public key paired with the private key; The private key is used to digitally sign the transport mode activation command to obtain first signature information; Send the transportation mode activation command, the first signature information, and the public key to the vehicle; Receive the execution result of the activation command for the transportation mode activation command returned by the vehicle; Based on the execution result of the opening instruction, a control instruction is sent to the outbound system to instruct the outbound system to perform a release or interception operation on the vehicle.

[0005] Secondly, embodiments of this application provide a vehicle control method applied to a vehicle, wherein the vehicle is communicatively connected to a cloud system, the method comprising: The system receives a transportation mode activation command, a first signature information, and a public key from the cloud system. The transportation mode activation command is generated by the cloud system based on outbound information sent by the outbound system. This outbound information is generated by the outbound system after collecting a preset electronic tag of the vehicle and sending it to the cloud system. The first signature information is obtained by the cloud system digitally signing the transportation mode activation command using a private key, and the public key and the private key belong to the same key pair. Obtain the root certificate corresponding to the pre-stored public key, and verify the public key based on the root certificate; If the public key verification passes, the first signature information is verified using the public key. If the first signature information is verified, the transportation mode activation instruction is executed to activate the transportation mode of the vehicle and generate the activation instruction execution result of the transportation mode activation instruction. The execution result of the start command is sent to the cloud system.

[0006] Thirdly, this application provides a vehicle control system, characterized in that the vehicle control system includes a cloud system, a depot exit system, and a vehicle; The outbound system is used to collect the vehicle's preset electronic tag, generate outbound information, and send the outbound information to the cloud system; The cloud system is used to receive the outbound information sent by the outbound system, generate a transportation mode activation command for the vehicle based on the outbound information, and obtain a pre-constructed key pair, the key pair including a private key and a public key paired with the private key, digitally sign the transportation mode activation command using the private key to obtain first signature information, and send the transportation mode activation command, the first signature information and the public key to the vehicle. The vehicle is used to receive the transportation mode activation command, the first signature information, and the public key sent by the cloud system, obtain the root certificate corresponding to the pre-stored public key, verify the public key using the root certificate, verify the first signature information using the public key if the public key verification passes, execute the transportation mode activation command to activate the transportation mode of the vehicle, generate the activation command execution result of the transportation mode activation command, and send the activation command execution result to the cloud system. The cloud system is also used to receive the execution result of the opening instruction returned by the vehicle, and send a control instruction to the outbound system according to the execution result of the opening instruction; The outbound system is also used to receive the control command and perform release or interception operations on the vehicle according to the control command.

[0007] The embodiments of this application have the following advantages: This application obtains outbound information sent by the outbound system. This outbound information is generated by the outbound system after collecting the vehicle's preset electronic tags and sent to the cloud system. This eliminates the need for operators to manually input commands using diagnostic tools, overcoming the cumbersome and inefficient nature of existing technologies. It significantly simplifies the process of activating the transportation mode, effectively shortening the single-vehicle operation time and improving logistics efficiency in scenarios involving large-volume vehicle shipments. Based on the outbound information, this application generates a transportation mode activation command for each vehicle, eliminating the need for manual judgment and intervention. This avoids potential omissions or errors due to operator fatigue or negligence, ensuring that each outbound vehicle reliably triggers the transportation mode activation process. This application obtains a pre-constructed key pair, including a private key and a public key paired with it. The transportation mode activation command is digitally signed using the private key to obtain a first signature. The transportation mode activation command, the first signature, and the public key are then sent to the vehicle, enhancing the security of vehicle control. This application receives the execution result of the vehicle's return transportation mode activation command, and sends a control command to the outbound system based on the execution result to instruct the outbound system to perform release or interception operations on the vehicle. This binds the activation of the vehicle's transportation mode to the vehicle's logistics status, enabling the fulfillment of large-scale, high-efficiency whole-vehicle logistics dispatch needs. Attached Figure Description

[0008] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below.

[0009] Figure 1 This is a flowchart illustrating the steps of a vehicle control method according to an embodiment of this application; Figure 2 This is a flowchart of another vehicle control method provided in an embodiment of this application; Figure 3 This is a logical schematic diagram of a vehicle control method provided in an embodiment of this application; Figure 4 This is a logical diagram illustrating an embodiment of obtaining a public key certificate provided in this application. Detailed Implementation

[0010] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the various embodiments of this application will be described in detail below with reference to the accompanying drawings. However, those skilled in the art will understand that many technical details have been presented in the various embodiments of this application to enable readers to better understand this application. However, the technical solutions claimed in this application can be implemented even without these technical details and various changes and updates based on the following embodiments. The division of the various embodiments below is for the convenience of description and should not constitute any limitation on the specific implementation of this application. The various embodiments can be combined with and referenced by each other without contradiction.

[0011] Reference Figure 1 The diagram shows a flowchart of the steps of a vehicle control method provided in an embodiment of this application.

[0012] In this embodiment, the vehicle control method can be applied to a cloud system. The cloud system is communicatively connected to both the outbound system and the vehicle.

[0013] The vehicle control method provided in this application is executed by a cloud system. The cloud system is a computer system deployed in the cloud, responsible for handling vehicle control-related business logic, such as generating control commands, executing digital signatures, and sending and receiving data. In related technologies, remote vehicle control commands can typically only be initiated by an application provided by the vehicle manufacturer, through which the vehicle owner sends control commands to the vehicle. However, the cloud system in this application can be a marketing cloud system, which is not an application provided by the vehicle manufacturer, but rather a third-party business system distinct from that application.

[0014] The cloud system connects to the outbound system via a communication network, and also connects to the vehicles via the same network. The outbound system is a system deployed at the factory's outbound points, used to identify vehicles awaiting departure and manage the release and interception of vehicles at the outbound gate. The vehicles refer to the transport vehicles awaiting departure; these vehicles are equipped with onboard communication modules, enabling them to interact with the cloud system via cellular networks.

[0015] This method may specifically include the following steps: Step 101: Obtain the outbound information sent by the outbound system; the outbound information is generated by the outbound system after collecting the vehicle's preset electronic tag and sending it to the cloud system.

[0016] In this embodiment of the application, the cloud system can receive outbound information from the outbound system via a communication network.

[0017] Among them, the information to be released from the warehouse can refer to information indicating that the vehicle is currently in a state to be released from the warehouse. This information includes the vehicle identification code, which is generated by the warehouse release system based on the collected preset electronic tags and sent to the cloud system.

[0018] In practice, the outbound system is a device system deployed at the factory's outbound points, responsible for identifying vehicles ready to leave and controlling the release and interception at the outbound gate. After a vehicle completes final assembly and rolls off the production line, a pre-set electronic tag, such as an RFID (Radio Frequency Identification) tag, is installed on its windshield. This electronic tag stores a vehicle identification code. The vehicle identification code can be an identity code used to uniquely identify a vehicle, such as a PIN code (Vehicle Identification Number).

[0019] When a vehicle arrives at the exit scanning point, the exit system uses an RFID reader to collect the preset electronic tag, read the vehicle identification number, and generate exit information based on the reading result. After generating the exit information, the exit system sends this information to the cloud system via the communication network. Upon receiving the exit information, the cloud system can then know that a vehicle is waiting to exit.

[0020] Step 102: Generate a transportation mode activation command for the vehicle based on the information to be shipped out.

[0021] In this embodiment of the application, the cloud system can generate a transportation mode activation instruction for the vehicle based on the information to be dispatched.

[0022] Among them, the transport mode activation command can refer to the command used to instruct the vehicle to activate the transport mode.

[0023] Transportation mode, also known as logistics mode, is a special operating mode in which vehicles operate during transportation. In transportation mode, some functions of the vehicle are restricted, such as limiting the vehicle's remote response function and reducing the vehicle's static current consumption, thereby preventing the battery from being depleted due to the continuous operation of some functions during long-term transportation or parking.

[0024] In its implementation, after receiving the outbound information from the outbound system, the cloud system confirms that the vehicle is currently in a pending outbound state and is about to leave the factory for the store. Based on the vehicle identification number (VIN) included in the pending outbound information, the cloud system identifies the target vehicle to be controlled and generates a transport mode activation command for that vehicle. This command instructs the target vehicle to switch its operating mode to transport mode. The generation of the transport mode activation command is automatically triggered by the cloud system based on the pending outbound information, requiring no manual intervention and achieving automated linkage where activation occurs immediately upon outbound departure.

[0025] Step 103: Obtain a pre-built key pair, which includes a private key and a public key paired with the private key.

[0026] In this embodiment of the application, the cloud system can obtain a pre-constructed key pair, which includes a private key and a public key paired with the private key.

[0027] In asymmetric cryptography, a key pair refers to a combination of keys used for asymmetric cryptography, consisting of a private key and a public key, which are mathematically paired. The private key is used to digitally sign data. The public key, paired with the private key, is used to verify the digital signature generated by the private key.

[0028] In the specific implementation, the key pair is pre-built and stored in a storage location accessible to the cloud system during the preparation phase. In an optional embodiment, the private key is stored in a security system. When the cloud system needs to send control commands, it retrieves the key pair from the storage location, extracts the private key for subsequent signing operations, and extracts the public key to be sent to the vehicle along with the command for vehicle verification. The private key in the key pair is used only for signing and not for encryption or other purposes; the pairing of the public and private keys ensures the correspondence between signature and verification.

[0029] Step 104: Use the private key to digitally sign the transport mode activation command to obtain the first signature information.

[0030] In this embodiment of the application, the cloud system can use a private key to digitally sign the transport mode activation command to obtain the first signature information.

[0031] The first signature information can refer to the signature data generated by the cloud system after digitally signing the transportation mode activation instruction with a private key, which is used by the vehicle to verify the authenticity of the source and the integrity of the content of the instruction.

[0032] In its implementation, after obtaining the private key and the transportation mode activation command, the cloud system performs a hash operation on the command to obtain a digest. Then, it uses the private key to perform cryptographic operations on this digest to generate a first signature. This first signature is sent to the vehicle along with the transportation mode activation command and the public key. Upon receiving it, the vehicle uses the public key to verify the first signature to confirm that the command indeed originated from the cloud system holding the corresponding private key and that the command content has not been tampered with during transmission.

[0033] Step 105: Send the transportation mode activation command, the first signature information, and the public key to the vehicle.

[0034] In this embodiment of the application, the cloud system can send the transportation mode activation command, the first signature information and the public key to the vehicle together.

[0035] In its implementation, after the cloud system digitally signs the transportation mode activation command, it packages the original transportation mode activation command, the first signature information, and the public key from the key pair, and sends them to the target vehicle via the communication network. Upon receiving the data, the vehicle can extract the original command, signature information, and public key to perform subsequent verification and execution processes. The transportation mode activation command informs the vehicle of the operations to be performed, the first signature information is used by the vehicle to verify the source and integrity of the command, and the public key is used by the vehicle to perform signature verification.

[0036] Step 106: Receive the result of the activation command for the transportation mode activation instruction returned by the vehicle.

[0037] In this embodiment of the application, the cloud system can receive the execution result of the activation command of the transportation mode activation command returned by the vehicle.

[0038] The execution result of the activation command can refer to the feedback information generated after the vehicle executes the transportation mode activation command, which is used to indicate the execution status of the command on the vehicle side.

[0039] In practice, after receiving the transportation mode activation command, the first signature information, and the public key, the vehicle verifies and executes the command. Once the vehicle has successfully activated transportation mode, it generates an execution result and sends it back to the cloud system via the communication network. The cloud system, upon receiving this result, can determine whether the vehicle has successfully activated transportation mode.

[0040] Step 107: Send a control command to the outbound system based on the execution result of the opening command to instruct the outbound system to perform a release or interception operation on the vehicle.

[0041] In this embodiment of the application, the cloud system can send a control command to the outbound system based on the execution result of the start command, so as to instruct the outbound system to perform a release or interception operation on the vehicle.

[0042] Among these, control commands refer to instructions generated by the cloud system based on the execution result of the start command, used to control the actions of the outbound system. "Release" refers to the outbound system's operation of allowing vehicles to leave the factory through the outbound exit. "Interception" refers to the outbound system's operation of preventing vehicles from leaving the factory through the outbound exit.

[0043] In practice, after receiving the start command execution result from the vehicle, the cloud system determines whether the transportation mode start command was executed successfully based on the result. If the start command execution result indicates successful execution, the vehicle has successfully entered transportation mode, and the cloud system sends a release command to the outbound system. The outbound system raises the barrier according to the release command, allowing the vehicle to pass through the outbound exit. If the start command execution result indicates failure, the vehicle has not successfully entered transportation mode, and the cloud system sends an interception command to the outbound system. The outbound system keeps the barrier down according to the interception command, preventing the vehicle from passing through the outbound exit.

[0044] This application obtains outbound information sent by the outbound system. This outbound information is generated by the outbound system after collecting the vehicle's preset electronic tags and sent to the cloud system. This eliminates the need for operators to manually input commands using diagnostic tools, overcoming the cumbersome and inefficient nature of existing technologies. It significantly simplifies the process of activating the transportation mode, effectively shortening the single-vehicle operation time and improving logistics efficiency in scenarios involving large-volume vehicle shipments. Based on the outbound information, this application generates a transportation mode activation command for each vehicle, eliminating the need for manual judgment and intervention. This avoids potential omissions or errors due to operator fatigue or negligence, ensuring that each outbound vehicle reliably triggers the transportation mode activation process. This application obtains a pre-constructed key pair, including a private key and a public key paired with it. The transportation mode activation command is digitally signed using the private key to obtain a first signature. The transportation mode activation command, the first signature, and the public key are then sent to the vehicle, enhancing the security of vehicle control. This application receives the execution result of the vehicle's return transportation mode activation command, and sends a control command to the outbound system based on the execution result to instruct the outbound system to perform release or interception operations on the vehicle. This binds the activation of the vehicle's transportation mode to the vehicle's logistics status, enabling the fulfillment of large-scale, high-efficiency whole-vehicle logistics dispatch needs.

[0045] Optionally, the cloud system also communicates with the inbound system. In this embodiment, in addition to communicating with the outbound system, the cloud system can also establish a communication connection with the inbound system.

[0046] The inbound system is deployed at the vehicle transportation destination, such as the vehicle receiving area of ​​a 4S store, and is responsible for identifying vehicles arriving at the store. When a vehicle arrives at the store after a long-distance transport, the inbound system obtains the vehicle identification number by collecting a preset electronic tag on the vehicle and sends the relevant information about the vehicle's arrival to the cloud system. The cloud system, through communication with the inbound system, can detect the vehicle's arrival at the store, thus triggering the process of closing the vehicle's transport mode. The inbound scenario corresponds to the outbound scenario; the transport mode is activated when leaving the store to protect the vehicle's battery during transport, and the transport mode is deactivated upon arrival at the store to restore the vehicle's normal function.

[0047] The method also includes the following steps: S1011, Obtain the pending entry information sent by the entry system; the pending entry information is generated by the entry system after collecting the vehicle's preset electronic tag and sending it to the cloud system; S1012, Based on the information to be put into storage, generate a transportation mode shutdown command for the vehicle; S1013, use the private key to digitally sign the transport mode shutdown command to obtain the second signature information; S1014, Send the transport mode shutdown command, second signature information and public key to the vehicle; S1015, receive the result of the closing instruction execution of the transportation mode closing instruction returned by the vehicle, and update the vehicle's entry status according to the closing instruction execution result.

[0048] In this embodiment of the application, the cloud system can receive the warehousing information sent by the warehousing system through a communication network.

[0049] The information to be entered into the warehouse can refer to information indicating that the vehicle is currently in a state of waiting to be entered into the warehouse. This information includes the vehicle identification code, which is generated by the warehouse entry system based on the collected preset electronic tags and sent to the cloud system.

[0050] In practice, the inbound system is a device system deployed at the store's receiving point, responsible for identifying vehicles arriving at the store. After a vehicle completes long-distance transportation and arrives at the store, it drives into the store's designated receiving area, where the inbound system's scanning point is located. Upon arrival, store personnel drive the vehicle into the scanning area, and the inbound system uses an RFID reader to collect a preset electronic tag on the vehicle's windshield, reads the vehicle identification number, and generates inbound information based on the reading result.

[0051] After the inbound system generates the inbound information, it sends this information to the cloud system via the communication network. Once the cloud system receives the inbound information, it knows that the vehicle has arrived at the store, thus triggering the subsequent transportation mode closure process. This step corresponds to the outbound scenario in step 101, the difference being that the triggering scenario changes from factory outbound to store-to-store.

[0052] In this embodiment of the application, the cloud system can generate a transportation mode shutdown command for the vehicle based on the information to be put into storage.

[0053] The "transportation mode deactivation command" refers to the instruction used to instruct the vehicle to deactivate its transportation mode. The vehicle activates transportation mode during departure from the warehouse via steps 101 to 107, and this mode remains active throughout the transportation process to protect the vehicle's battery. Upon arrival at the store, the transportation mode must be deactivated to restore all vehicle functions for subsequent vehicle inspection, sales demonstration, or delivery to the customer.

[0054] In its implementation, after receiving the pending entry information from the warehousing system, the cloud system confirms that the vehicle is currently in a pending entry state and has already arrived at the store after transportation. Based on the vehicle identification number (VIN) included in the pending entry information, the cloud system identifies the target vehicle to be controlled and generates a transportation mode shutdown command for that vehicle. This shutdown command instructs the target vehicle to exit transportation mode and return to normal operating mode, restoring all vehicle functions to normal operation. The generation of the transportation mode shutdown command is automatically triggered by the cloud system based on the pending entry information, requiring no manual intervention and achieving automated linkage for shutdown upon arrival at the store.

[0055] In this embodiment of the application, the cloud system can use a private key to digitally sign the transport mode shutdown command to obtain second signature information.

[0056] The second signature information refers to the signature data generated by the cloud system using a private key to digitally sign the transportation mode closure command. This signature is used by the vehicle to verify the authenticity of the closure command's source and the integrity of its content. The second signature information and the first signature information correspond to different types of control commands. The first signature information is for opening commands, and the second signature information is for closing commands. Both are generated in the same way, the difference being the content of the signed command.

[0057] In its implementation, after obtaining the private key and the transportation mode shutdown command, the cloud system performs a hash operation on the command to obtain its digest. Then, it uses the private key to perform cryptographic operations on this digest to generate a second signature. This second signature is sent to the vehicle along with the transportation mode shutdown command and the public key. Upon receiving it, the vehicle uses the public key to verify the second signature, confirming that the shutdown command indeed originated from the cloud system holding the corresponding private key and that the command content has not been tampered with during transmission.

[0058] In this embodiment of the application, the cloud system can send the transportation mode shutdown command, the second signature information and the public key to the vehicle together.

[0059] In its implementation, after the cloud system digitally signs the transport mode shutdown command, it packages the original transport mode shutdown command, the second signature information, and the public key from the key pair, and sends them to the target vehicle via the communication network. Upon receiving the data, the vehicle can extract the original shutdown command, the second signature information, and the public key to perform subsequent verification and execution procedures. The transport mode shutdown command informs the vehicle of the operations to be performed, the second signature information is used by the vehicle to verify the source and integrity of the shutdown command, and the public key is used by the vehicle to perform signature verification.

[0060] In this embodiment of the application, the cloud system can receive the execution result of the closing instruction of the transportation mode closing instruction returned by the vehicle, and update the vehicle's entry status according to the closing instruction execution result.

[0061] The result of the shutdown command execution can refer to the feedback information generated after the vehicle executes the transport mode shutdown command, which is used to indicate the execution status of the shutdown command on the vehicle side.

[0062] In the specific implementation, after receiving the transport mode closure command, the second signature information, and the public key, the vehicle verifies and executes the closure command. After the vehicle completes the closure of the transport mode, it generates a closure command execution result and returns this result to the cloud system via the communication network. Upon receiving this execution result, the cloud system determines whether the vehicle has successfully closed its transport mode. Regardless of whether the closure command execution is successful or not, the cloud system updates the vehicle's entry status based on the closure command execution result.

[0063] Unlike the outbound scenario in step 107, this application does not intercept business operations in the inbound scenario. In the outbound scenario, if the transportation mode fails to activate, the vehicle needs to be intercepted to prevent it from leaving the warehouse, ensuring that the vehicle can only be shipped while in transportation mode. However, in the inbound scenario, the vehicle has already arrived at the store, and there is a fixed vehicle inspection process. During the inspection, store staff will manually confirm or manually deactivate the transportation mode. Therefore, the cloud system does not prevent the vehicle from entering the warehouse due to a failed deactivation command. The cloud system only records and updates the vehicle's inbound status, allowing store staff to know the current status of the transportation mode, facilitating subsequent vehicle inspection and processing. This differentiated processing strategy ensures both the security of the outbound process and the logistics efficiency of the inbound process, avoiding the blockage of the in-store logistics process due to abnormal deactivation command execution.

[0064] Optionally, the cloud system also communicates with the security system.

[0065] In this embodiment, the cloud system, in addition to communicating with the outbound system, inbound system, and vehicle, can also establish a communication connection with the security system. The security system is a dedicated device system for performing cryptographic operations and key management, responsible for key pair generation, secure storage of private keys, and digital signature operations. The cloud system does not directly generate and store private keys; instead, it completes key-related operations through interaction with the security system, thereby ensuring the security of the private keys.

[0066] The steps to obtain a pre-built key pair include: S1021, A key pair generation request is sent to the security system, so that the security system generates the key pair in response to the key pair generation request; wherein, the private key is stored in the security system; S1022, Receive the public key returned by the security system.

[0067] In this embodiment of the application, the cloud system sends a key pair generation request to the security system.

[0068] A key pair generation request can refer to an instruction issued by the cloud system to the security system, instructing the security system to generate a key pair. This request may include generation parameters such as key type and key length.

[0069] In practice, key pair creation occurs during the preparation phase. When the cloud system needs to obtain a key pair, it generates a key pair generation request and sends this request to the security system via the communication network. Upon receiving the request, the security system begins the key pair generation operation. The cloud system does not generate the key pair itself; instead, it requests the security system to perform the generation, ensuring the security of the key pair generation process.

[0070] The key pair is generated by the security system in response to a key pair generation request. After generating the key pair, the security system can store the private key internally and return the public key to the cloud system.

[0071] In this embodiment, the cloud system receives the public key returned by the security system. Thus, the cloud system obtains the public key for subsequent transmission to the vehicle, while the private key remains within the security system, which is responsible for its safekeeping and use.

[0072] In its implementation, during the subsequent digital signature step, the cloud system sends the instruction to enable the transport mode requiring signature to the security system. The security system internally uses its stored private key to perform the signature calculation and then returns the signature result to the cloud system. The cloud system only holds the public key, not the private key. The signing capability of the private key is invoked by sending a signature request to the security system. Therefore, the key pair information obtained by the cloud system only contains the public key. Although the private key is part of the key pair, it is not stored in the cloud system; the cloud system uses the private key through the security system.

[0073] This application sends a key pair generation request to the security system through the cloud system, and the security system generates the key pair, thereby realizing the secure use of the key pair and ensuring the security of the digital signature.

[0074] Optionally, the step of digitally signing the transport mode activation command with a private key to obtain the first signature information includes: S1031, Send the transport mode activation command to the security system; S1032, Receive the first signature information returned by the security system; the first signature information is obtained by the security system calling the private key to digitally sign the transport mode start instruction.

[0075] In this embodiment, the cloud system sends the transport mode activation command to the security system.

[0076] The transportation mode activation command can refer to a command generated by the cloud system to instruct the vehicle to activate transportation mode. The security system is a dedicated device system for performing cryptographic operations and key management, responsible for the secure storage of private keys and digital signature operations.

[0077] In its implementation, after generating the transport mode activation command, the cloud system can choose not to sign the command itself, but instead send it to the security system via the communication network. Upon receiving the transport mode activation command, the security system prepares to perform the subsequent digital signature operation. The cloud system delegates the signing operation to the security system, allowing the private key to complete the signing without leaving the security system.

[0078] In this embodiment, the cloud system receives the first signature information returned by the security system. The first signature information is obtained by the security system digitally signing the transport mode activation command using the private key.

[0079] In its implementation, after receiving the transport mode activation command from the cloud system, the security system internally uses the stored private key to perform a digital signature operation on the transport mode activation command, generating a first signature. After completing the signature operation, the security system returns the first signature to the cloud system; the private key never leaves the security system.

[0080] After receiving the first signature information, the cloud system sends the first signature information, along with the transportation mode activation command and the public key, to the vehicle. Through this method, the cloud system, without directly holding the private key, completes the digital signature of the transportation mode activation command through interaction with the security system, ensuring the security of the signature operation.

[0081] This application presents a technical solution that sends a transportation mode activation command to a security system via a cloud system. The security system then uses a private key stored within the security system to digitally sign the command and return the signature information. This solution ensures that the private key does not leave the security system during the signing process, thus solving the technical problem of the private key being easily leaked during the signing operation. It achieves isolated access to the private key and secure execution of the digital signature, guaranteeing the authenticity and integrity of the remote vehicle control command.

[0082] Optionally, the cloud system also communicates with the vehicle control platform.

[0083] In this embodiment, the cloud system, in addition to communicating with the outbound system, inbound system, security system, and vehicle, can also establish a communication connection with the vehicle control platform. The vehicle control platform is a cloud-based vehicle network access platform responsible for unified access management and security verification of remote vehicle control commands, serving as a data relay node between the cloud system and the vehicle. The cloud system does not directly send control commands to the vehicle; instead, it first sends them to the vehicle control platform, which then verifies them before forwarding them to the vehicle.

[0084] The steps for sending the transportation mode activation command, the first signature information, and the public key to the vehicle include: S1041, The transportation mode activation command, the first signature information and the public key are sent to the vehicle control platform so that the vehicle control platform can perform compliance verification on the transportation mode activation command, the first signature information and the public key; S1042, if the vehicle control platform verifies the transportation mode activation command, the first signature information and the public key, the vehicle control platform will forward the transportation mode activation command, the first signature information and the public key to the vehicle.

[0085] In this embodiment, the cloud system sends the transportation mode activation command, the first signature information, and the public key to the vehicle control platform. This allows the vehicle control platform to verify the compliance of the transportation mode activation command, the first signature information, and the public key.

[0086] The vehicle control platform can refer to a cloud-based vehicle network access platform responsible for unified access management and security verification of remote vehicle control commands. Compliance verification refers to the legality check performed by the vehicle control platform on the received data, used to confirm the validity of the sender's identity and whether the command content complies with preset security policies.

[0087] In practice, after the cloud system completes the digital signature, it combines the original text of the transportation mode activation command, the first signature information, and the public key into a data packet and sends it to the vehicle control platform via the communication network. Upon receiving the data packet, the vehicle control platform authenticates the cloud system to confirm whether it is a legitimate and authorized source of the command. The vehicle control platform also verifies whether the transportation mode activation command belongs to a pre-configured list of allowed command types. Only when the cloud system's authentication is successful and the command is within the whitelist range does the vehicle control platform consider the verification successful. If the verification fails, the vehicle control platform refuses to forward the command, and the process terminates.

[0088] In this embodiment of the application, after the vehicle control platform passes the verification, it forwards the transportation mode activation command, the first signature information and the public key to the vehicle.

[0089] In practice, after the vehicle control platform completes compliance verification and all verification results are passed, it forwards the transportation mode activation command, the first signature information, and the public key sent by the cloud system to the target vehicle through the vehicle network communication channel. After receiving the above data, the vehicle executes the subsequent signature verification and command execution process.

[0090] By means of the above method, this application introduces a vehicle control platform as an intermediate verification node between the cloud system and the vehicle to perform dual verification of the source and content of the command. Only commands that pass the verification can enter the vehicle network channel and reach the vehicle, thereby realizing the secure control of remote vehicle control commands and preventing illegal or unauthorized commands from reaching the vehicle.

[0091] Optionally, based on the execution result of the activation command, a control command is sent to the outbound system to instruct the outbound system to perform a release or interception operation on the vehicle, including: S1051, if the result of the instruction to enable the transportation mode is successfully executed, a release instruction is sent to the outbound system to instruct the outbound system to perform a release operation on the vehicle. S1052, if the result of the start command execution indicates that the transport mode start command execution failed, then resend the transport mode start command, the first signature information and the public key to the vehicle until the result of the start command execution is successful or the number of retries reaches the preset threshold. S1053, if the number of retries reaches the preset threshold and the result of the start command indicates that the transport mode start command failed to be executed, then an interception command is sent to the outbound system to instruct the outbound system to perform an interception operation on the vehicle.

[0092] In this embodiment, after receiving the start command execution result returned by the vehicle, the cloud system determines the execution status indicated by the execution result. If the start command execution result indicates that the transportation mode start command was successfully executed, a release command is sent to the outbound system to instruct the outbound system to perform a release operation on the vehicle.

[0093] The release instruction refers to the instruction sent from the cloud system to the outbound system, instructing the outbound system to allow the vehicle to pass through the outbound gate. Upon receiving the release instruction, the outbound system executes the release operation, allowing the vehicle to leave the factory.

[0094] In its implementation, the cloud system parses the execution result of the activation command to obtain the execution status information it carries. When the execution status information indicates that the transportation mode activation command has been successfully executed on the vehicle side, the cloud system determines that the vehicle has successfully entered transportation mode. The cloud system then generates a release command and sends it to the outbound system. Upon receiving the release command, the outbound system executes the release operation, allowing the vehicle to leave the factory through the outbound gate.

[0095] In this embodiment of the application, after receiving the start command execution result returned by the vehicle, if the execution result indicates that the transport mode start command execution failed, the cloud system resends the transport mode start command, the first signature information and the public key to the vehicle.

[0096] Retry refers to the process by which the cloud system sends the same command to the vehicle again after the command execution has failed. The preset threshold refers to the maximum number of retries pre-configured by the cloud system, used to limit the number of retry cycles and prevent infinite retries.

[0097] In its implementation, the cloud system parses the execution result of the activation command. When the execution status information indicates that the transportation mode activation command failed to execute on the vehicle side, the cloud system does not immediately determine that the process has ended, but instead initiates a retry mechanism. The cloud system resends the transportation mode activation command, the first signature information, and the public key to the vehicle, and attempts again to enable the vehicle to start transportation mode.

[0098] After each retry, the cloud system waits for the vehicle to return a new execution result. If the new execution result indicates success, it proceeds to S1051 to perform the release operation. If the new execution result still indicates failure, it continues to retry. The cloud system accumulates the number of retries with each retry and compares the accumulated number with a preset threshold.

[0099] In this embodiment of the application, when the number of retries reaches a preset threshold and the execution result of the start command still indicates execution failure, the cloud system sends an interception command to the outbound system.

[0100] The interception command can refer to a message sent from the cloud system to the outbound system, instructing the outbound system to prevent vehicles from passing through the outbound gate. Upon receiving the interception command, the outbound system executes the interception operation, preventing the vehicle from leaving the factory.

[0101] In its implementation, the cloud system checks the cumulative number of retries after each retry. When the cumulative number of retries reaches a preset threshold, the cloud system stops retries and retrieves the execution result returned by the vehicle. If the execution result still indicates that the transport mode activation command failed, the cloud system confirms that the vehicle cannot successfully activate transport mode. The cloud system generates an interception command and sends it to the outbound system. Upon receiving the interception command, the outbound system executes the interception operation, preventing the vehicle from leaving the factory through the outbound gate and prompting on-site staff for manual intervention.

[0102] This application utilizes a cloud-based system to control release when the activation command is successfully executed, automatically retry when execution fails, and control interception when retrying fails after exhausting all attempts. This constructs a complete business closed loop including a retry mechanism in outbound scenarios, solving the technical problems of vehicles not being able to automatically recover when activation fails due to network fluctuations or temporary faults, and vehicles being released out of the warehouse before the transportation mode is successfully activated. It achieves deterministic control that vehicles can only be released after the transportation mode is successfully activated, eliminating the risk of vehicles being dispatched to the road without activating the transportation mode from the source.

[0103] Reference Figure 2 The diagram illustrates a flowchart of another vehicle control method provided in an embodiment of this application.

[0104] Vehicle control methods can be applied to vehicles. The vehicle communicates and connects with a cloud system.

[0105] This method may specifically include the following steps: Step 201: Receive the transportation mode activation instruction, first signature information, and public key sent by the cloud system; wherein, the transportation mode activation instruction is generated by the cloud system based on the outbound information sent by the outbound system, the outbound information is generated by the outbound system after collecting the vehicle's preset electronic tag and sending it to the cloud system; the first signature information is obtained by the cloud system digitally signing the transportation mode activation instruction with the private key, and the public key and private key belong to the same key pair.

[0106] In this embodiment of the application, the vehicle can receive a transportation mode activation instruction, first signature information and public key sent by the cloud system through a communication network.

[0107] The "transportation mode activation command" can refer to the command generated by the cloud system to instruct the vehicle to activate transportation mode. The "first signature information" can refer to the signature data generated by the cloud system after digitally signing the transportation mode activation command using a private key. The "public key" can refer to the asymmetric key paired with the private key, used to verify the digital signature generated by that private key.

[0108] In practice, after the cloud system completes the digital signature of the transportation mode activation command, it packages the original text of the transportation mode activation command, the first signature information, and the public key and sends them to the vehicle.

[0109] After receiving the aforementioned data, the vehicle's onboard communication module transmits it to the vehicle's control and processing module. The vehicle extracts the transportation mode activation command, the first signature information, and the public key from the received data for subsequent verification and execution processes.

[0110] The content of the transportation mode activation command is generated by the cloud system based on the outbound information collected by the outbound system. The outbound information is obtained by the outbound system collecting preset electronic tags when the vehicle leaves the warehouse. Therefore, the activation command is related to the actual outbound business status of the vehicle.

[0111] The first signature information is obtained by the cloud system using the private key to digitally sign the transport mode opening command. The public key and the private key belong to the same key pair and are mathematically paired.

[0112] Step 202: Obtain the root certificate corresponding to the pre-stored public key, and verify the public key based on the root certificate.

[0113] In this embodiment of the application, the vehicle obtains the root certificate corresponding to the pre-stored public key and verifies the public key based on the root certificate.

[0114] The root certificate can refer to the root certificate of a certificate authority (CA), which is pre-stored in the vehicle and used to verify public key certificates issued by that CA. In this embodiment, the public key can be sent to the vehicle in the form of a public key certificate, which contains the public key and the digital signature of the CA. The root certificate corresponding to the public key can refer to the root certificate of the CA that issued the public key certificate.

[0115] In practice, the vehicle pre-stores the root certificate of the Certificate Authority (CA) before leaving the factory. After receiving the public key from the cloud system, the vehicle retrieves the pre-stored root certificate and verifies the public key against it. Since the public key can be sent in the form of a public key certificate, the vehicle uses the root public key from the root certificate to verify the CA signature in the public key certificate. If the verification passes, it means that the public key certificate was indeed issued by a trusted CA, and the public key within it is trustworthy. If the verification fails, it means that the source of the public key is untrustworthy, the process terminates, and the vehicle does not perform any further operations.

[0116] Step 203: If the public key verification passes, the first signature information is verified using the public key.

[0117] In this embodiment of the application, after the public key verification is successful, the vehicle uses the public key to verify the first signature information.

[0118] Public key verification means that after the vehicle uses the root certificate to verify the public key certificate, it confirms that the public key certificate was issued by a trusted certificate authority and that the source of the public key is trustworthy. Verification of the first signature information means that the vehicle uses the public key to verify the first signature information to confirm the authenticity of the source and integrity of the transportation mode activation command.

[0119] In the specific implementation, after the vehicle completes and passes the public key verification, it extracts the public key from the public key certificate and uses this public key to verify the first signature information. The vehicle performs a hash operation on the received transportation mode activation command to obtain the command's digest information.

[0120] The vehicle uses the public key to decrypt the first signature information, obtaining the decrypted digest information. The vehicle then compares the digest information it calculates with the decrypted digest information.

[0121] If the two match, the first signature verification passes, indicating that the instruction to activate the transportation mode indeed originates from the cloud system holding the corresponding private key, and that the instruction content has not been tampered with during transmission. If the two do not match, the first signature verification fails, the process terminates, and the vehicle does not execute the instruction.

[0122] Step 204: If the first signature information is verified, execute the transportation mode activation command to activate the vehicle's transportation mode and generate the activation command execution result.

[0123] In this embodiment of the application, after the first signature information is verified, the vehicle executes a transportation mode activation command to activate the vehicle's transportation mode and generates an activation command execution result.

[0124] Among them, executing the transport mode activation command can refer to the vehicle performing the operation of activating the transport mode according to the content of the command.

[0125] Transportation mode refers to a special operating mode in which a vehicle operates during transportation, during which some functions of the vehicle are restricted to reduce static current consumption. The activation command execution result refers to the feedback information generated after the vehicle executes the transportation mode activation command, indicating the execution status of the command on the vehicle side.

[0126] In the specific implementation, after the vehicle completes and passes the verification of the first signature information, it confirms that the source of the transportation mode activation command is legitimate and its content is complete. The vehicle's body control module executes the transportation mode activation command, switching the vehicle's operating mode to transportation mode and restricting some vehicle functions to reduce power consumption. After the vehicle completes the activation of transportation mode, it generates an activation command execution result based on the execution status. If the transportation mode is successfully activated, the activation command execution result indicates successful execution. If the transportation mode activation fails, the activation command execution result indicates failure.

[0127] Step 205: Send the execution result of the start command to the cloud system.

[0128] In this embodiment of the application, the vehicle will send the execution result of the start command to the cloud system.

[0129] In the specific implementation, after the vehicle generates the start command execution result, it sends the result to the cloud system via the communication network. Upon receiving the start command execution result, the cloud system determines whether the vehicle has successfully started the transportation mode and accordingly controls the outbound system to perform release or interception operations on the vehicle. Through steps 201 to 205 above, the vehicle completes the entire process from receiving the command, verifying the public key, verifying the signature, executing the start command, to returning the execution result, achieving vehicle-side verification of the legitimacy of the cloud system's commands and reliable execution.

[0130] This application receives a transportation mode activation command, a first signature, and a public key from a cloud system, enabling the vehicle to obtain control commands and signature data from the cloud system, providing a data foundation for subsequent command verification and execution. This application obtains the root certificate corresponding to the pre-stored public key and verifies the public key based on the root certificate, ensuring the trustworthiness of the public key source from the cloud system and preventing the vehicle from receiving public keys from illegal or forged sources, thus guaranteeing the security of subsequent signature verification. After the public key verification is successful, this application uses the public key to verify the first signature information, confirming that the transportation mode activation command indeed originates from the cloud system holding a legitimate private key and that the command content has not been tampered with during transmission, preventing illegal or tampered commands from reaching the vehicle execution layer. After the first signature information verification is successful, this application executes the transportation mode activation command, activating the vehicle's transportation mode and generating an activation command execution result. This allows the vehicle to switch transportation modes after confirming the command's legality and validity, ensuring the legality and reliability of the transportation mode activation operation. This application enables the sending of command execution results to the cloud system, allowing the cloud system to obtain the execution status of the vehicle and control the outbound system to perform release or interception operations based on the execution results. This forms an information closed loop between the vehicle and the cloud system, providing execution feedback for the automated control of outbound operations.

[0131] Optionally, the method further includes the following steps: S2011, receive the transport mode shutdown command, second signature information and public key sent by the cloud system; wherein, the transport mode shutdown command is generated by the cloud system based on the warehousing information sent by the warehousing system, the warehousing information is generated by the warehousing system after collecting the vehicle's preset electronic tag and sent to the cloud system; the second signature information is obtained by the cloud system digitally signing the transport mode shutdown command using the private key; S2012, verify the public key based on the root certificate; S2013, If the public key verification passes, the public key is used to verify the second signature information; S2014, If the second signature information is verified, the transportation mode shutdown command is executed to shut down the vehicle's transportation mode and generate the shutdown command execution result. S2015 sends the result of the shutdown command execution to the cloud system.

[0132] In this embodiment of the application, the vehicle can receive a transport mode shutdown command, a second signature information and a public key sent by the cloud system through a communication network.

[0133] The transportation mode shutdown instruction can refer to a command generated by the cloud system to instruct the vehicle to shut down its transportation mode. The second signature information can refer to the signature data generated by the cloud system after digitally signing the transportation mode shutdown instruction using a private key. The public key can refer to the asymmetric key paired with the private key, used to verify the digital signature generated by that private key.

[0134] In practice, after the cloud system completes the digital signature of the mode-of-transportation shutdown instruction, it packages the original text of the mode-of-transportation shutdown instruction, the second signature information, and the public key and sends them to the vehicle.

[0135] After receiving the aforementioned data, the vehicle's onboard communication module transmits it to the vehicle's control processing module. The vehicle extracts the transport mode shutdown command, second signature information, and public key from the received data for subsequent verification and execution processes.

[0136] The content of the transportation mode closure instruction is generated by the cloud system based on the information to be received collected by the warehousing system. The information to be received is obtained by the warehousing system by collecting preset electronic tags when the vehicle arrives at the store. Therefore, the closure instruction is related to the actual business status of the vehicle at the store.

[0137] The second signature information is obtained by the cloud system using the private key to digitally sign the transport mode closure instruction. The public key and the private key belong to the same key pair and are mathematically paired.

[0138] In this embodiment of the application, the vehicle verifies the public key based on the pre-stored root certificate.

[0139] The root certificate can refer to the root certificate of a certificate authority, which is pre-stored in the vehicle and used to verify public key certificates issued by that certificate authority. The public key can be sent to the vehicle in the form of a public key certificate, which contains the public key and the certificate authority's digital signature.

[0140] In practice, the vehicle pre-stores the root certificate of the Certificate Authority (CA) before leaving the factory. After receiving the public key from the cloud system, the vehicle retrieves the pre-stored root certificate and verifies the public key against it. Since the public key is sent in the form of a public key certificate, the vehicle uses the root public key from the root certificate to verify the CA signature in the public key certificate. If the verification passes, it means that the public key certificate was indeed issued by a trusted CA, and the public key is trustworthy. If the verification fails, it means that the source of the public key is untrustworthy, the process terminates, and the vehicle does not perform any further operations.

[0141] In this embodiment of the application, after the public key verification is successful, the vehicle uses the public key to verify the second signature information.

[0142] In the specific implementation, after the vehicle completes and passes the public key verification, it extracts the public key from the public key certificate and uses this public key to verify the second signature information. The vehicle performs a hash operation on the received transport mode shutdown command to obtain the digest information of the command.

[0143] The vehicle uses the public key to decrypt the second signature information, obtaining the decrypted digest information. The vehicle then compares its self-calculated digest information with the decrypted digest information.

[0144] If the two signatures match, the second signature verification passes, indicating that the transportation mode shutdown command indeed originates from the cloud system holding the corresponding private key, and that the command content has not been tampered with during transmission. If the two signatures do not match, the second signature verification fails, the process terminates, and the vehicle does not execute the command.

[0145] In this embodiment of the application, after the second signature information is verified, the vehicle executes a transport mode shutdown command to shut down the vehicle's transport mode and generates a shutdown command execution result.

[0146] The result of the shutdown command execution can refer to the feedback information generated after the vehicle executes the transport mode shutdown command, which is used to indicate the execution status of the shutdown command on the vehicle side.

[0147] In the specific implementation, after the vehicle completes and passes the verification of the second signature information, it confirms that the source of the transportation mode shutdown command is legitimate and its content is complete. The vehicle's body control module executes the transportation mode shutdown command, switching the vehicle's operating mode from transportation mode to normal operating mode and restoring all vehicle functions. After the vehicle completes the shutdown of the transportation mode, it generates a shutdown command execution result based on the execution status. If the transportation mode shutdown is successful, the shutdown command execution result indicates successful execution. If the transportation mode shutdown fails, the shutdown command execution result indicates failure.

[0148] In this embodiment of the application, the vehicle sends the result of the shutdown command execution to the cloud system.

[0149] In practice, after the vehicle generates a shutdown command execution result, it sends the result to the cloud system via the communication network. Upon receiving the shutdown command execution result, the cloud system updates the vehicle's entry status based on the result and records the execution status of the transportation mode shutdown command.

[0150] This application presents a technical solution that uses a vehicle to receive a transportation mode shutdown command, a second signature information, and a public key sent by a cloud system. The public key is verified based on the root certificate, and the second signature information is verified using the public key. After successful verification, the shutdown command is executed and the execution result is returned. This solution enables the cloud system to automatically trigger the shutdown of the transportation mode based on the information to be put into storage collected by the storage system. This solves the technical problem that the transportation mode remains on after the vehicle arrives at the store and requires manual shutdown, and achieves automated control of shutdown upon arrival at the store.

[0151] Optionally, embodiments of this application also provide a vehicle control system, which includes a cloud system, a depot exit system, and a vehicle.

[0152] The outbound system is used to collect the vehicle's preset electronic tags, generate outbound information, and send the outbound information to the cloud system; The cloud system is used to receive outbound information sent by the outbound system, generate a transportation mode activation command for the vehicle based on the outbound information, and obtain a pre-built key pair. The key pair includes a private key and a public key paired with the private key. The transportation mode activation command is digitally signed using the private key to obtain the first signature information. The transportation mode activation command, the first signature information, and the public key are sent to the vehicle. The vehicle is used to receive the transportation mode activation command, first signature information and public key sent by the cloud system, obtain the root certificate corresponding to the pre-stored public key, verify the public key with the root certificate, and if the public key verification passes, verify the first signature information with the public key. If the first signature information verification passes, execute the transportation mode activation command, activate the vehicle's transportation mode, generate the activation command execution result, and send the activation command execution result to the cloud system. The cloud system is also used to receive the execution result of the opening command returned by the vehicle, and send control commands to the outbound system based on the execution result of the opening command. The outbound system is also used to receive control commands and, based on these commands, to release or intercept vehicles.

[0153] In this embodiment, the functions performed by the outbound system, the cloud system, and the vehicle correspond to the steps in the aforementioned method embodiments. The functions performed by the outbound system can be referred to the relevant description of the outbound system in step 101. The functions performed by the cloud system can be referred to the relevant description of the cloud system in steps 101 to 107. The functions performed by the vehicle can be referred to the relevant description of the vehicle in steps 201 to 205. The specific implementation methods involved in the interaction between the systems, such as instruction generation, digital signature, public key transmission, root certificate verification, signature verification, instruction execution, execution result return, and release or interception control, have been described in detail in the aforementioned method embodiments and will not be repeated here.

[0154] Optionally, the vehicle control system may also include a parking system.

[0155] The warehousing system is used to collect the vehicle's preset electronic tags, generate warehousing information, and send the warehousing information to the cloud system; The cloud system is also used to receive the information to be put into storage sent by the storage system, generate a transportation mode shutdown command for the vehicle based on the information to be put into storage, digitally sign the transportation mode shutdown command with a private key to obtain a second signature information, and send the transportation mode shutdown command, the second signature information and the public key to the vehicle. The vehicle is also used to receive the transportation mode shutdown command, second signature information and public key sent by the cloud system. The public key is verified according to the root certificate. If the public key verification is successful, the second signature information is verified using the public key. If the second signature information verification is successful, the transportation mode shutdown command is executed to shut down the vehicle's transportation mode, generate the shutdown command execution result, and send the shutdown command execution result to the cloud system. The cloud system is also used to receive the results of the closing command returned by the vehicle and update the vehicle's entry status based on the results of the closing command execution.

[0156] In this embodiment, the functions performed by the warehousing system, the cloud system, and the vehicle correspond to the steps in the aforementioned method embodiments. The functions performed by the warehousing system can be referred to the relevant description of the warehousing system in step S1011. The functions performed by the cloud system can be referred to the relevant description of the cloud system in steps S1011 to S1015. The functions performed by the vehicle can be referred to the relevant description of the vehicle in steps S2011 to S2015. The specific implementation methods involved in the interaction between the systems, such as closing instruction generation, digital signature, public key transmission, root certificate verification, signature verification, instruction execution, execution result return, and warehousing status update, have been described in detail in the aforementioned method embodiments and will not be repeated here.

[0157] Reference Figure 3 , Figure 3A logical schematic diagram of a vehicle control method provided in an embodiment of this application is shown.

[0158] like Figure 3 As shown, after generating a control command, the cloud system digitally signs the command using its private key to obtain signature information. The control command can be a transportation mode activation command in an outbound scenario or a transportation mode deactivation command in an inbound scenario. When the control command is a transportation mode activation command, the cloud system digitally signs the activation command using its private key to obtain first signature information; when the control command is a transportation mode deactivation command, the cloud system digitally signs the deactivation command using its private key to obtain second signature information. The cloud system then sends the control command, signature information, and public key together to the vehicle control platform. The signature information is either the first signature information or the second signature information, corresponding to the activation command or the deactivation command, respectively.

[0159] After receiving the control commands, signature information, and public key from the cloud system, the vehicle control platform performs compliance verification on the data. This verification includes authentication of the cloud system and whitelisting of the command type. If the verification passes, the vehicle control platform forwards the control commands, signature information, and public key to the in-vehicle terminal. If the verification fails, the vehicle control platform refuses to forward the data, and the process terminates.

[0160] After receiving the control command, signature information, and public key forwarded by the vehicle control platform, the vehicle terminal retrieves the pre-stored root certificate and verifies the public key based on the root certificate. If the public key verification passes, the vehicle terminal uses the public key to verify the signature information to confirm the authenticity of the command's source and the integrity of its content. If the signature information verification passes, the vehicle terminal sends the control command to the vehicle domain controller. If the signature information verification fails, the vehicle terminal returns a verification failure status to the vehicle control platform.

[0161] After receiving a control command from the vehicle terminal, the vehicle domain controller executes the command. If the control command is a transport mode activation command, the vehicle domain controller activates the vehicle's transport mode; if the control command is a transport mode deactivation command, the vehicle domain controller deactivates the vehicle's transport mode. After completing the execution, the vehicle domain controller returns the command execution result to the vehicle terminal.

[0162] The vehicle terminal sends the command execution result to the vehicle control platform, and the vehicle control platform forwards the command execution result to the cloud system.

[0163] After receiving the execution result of the instruction, the cloud system performs differentiated business processing based on the execution result and the type of control instruction.

[0164] In the outbound scenario, the control command is the transportation mode activation command. If the command execution result indicates success, the cloud system sends a release command to the outbound system, instructing it to release the vehicle. If the command execution result indicates failure, the cloud system sends an interception command to the outbound system, instructing it to intercept the vehicle. In the inbound scenario, the control command is the transportation mode deactivation command. After receiving the command execution result, regardless of success or failure, the cloud system updates the vehicle's inbound status according to the deactivation command result, without intercepting the inbound transaction.

[0165] Reference Figure 4 , Figure 4 The illustration shows a logical diagram of obtaining a public key certificate according to an embodiment of this application.

[0166] like Figure 4 As shown in this embodiment, the cloud system sends a key pair generation request to the security system. Upon receiving the request, the security system generates a key pair internally, comprising a private key and a public key paired with it. The security system stores the private key in a protected storage area within the system and does not export it. The security system then returns the public key to the cloud system. After receiving the public key from the security system, the cloud system generates a certificate signing request file based on the public key and sends the certificate signing request file to a certificate authority.

[0167] After receiving the certificate signing request file from the cloud system, the Certificate Authority (CA) authenticates the cloud system. Once authentication is successful, the CA digitally signs the certificate signing request file, generating a public key certificate. This public key certificate contains the cloud system's public key and the CA's digital signature. The CA then returns the public key certificate to the cloud system. The cloud system receives the returned public key certificate and stores it in its designated storage location. This stored public key certificate is used by vehicles for verification using the root certificate.

[0168] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0169] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus, or computer program products. Therefore, embodiments of this application can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of this application can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0170] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0171] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0172] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0173] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other modifications and updates to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all modifications and updates falling within the scope of the embodiments of the present application.

[0174] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes the aforementioned element.

[0175] The above provides a detailed description of the vehicle control method and system. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, those skilled in the art will recognize that there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A vehicle control method, characterized in that, The method is applied to a cloud system, which is communicatively connected to both the outbound system and the vehicle. The system obtains outbound information sent by the outbound system; the outbound information is generated by the outbound system after collecting the vehicle's preset electronic tag and sending it to the cloud system. Based on the information to be dispatched, a transportation mode activation command is generated for the vehicle. Obtain a pre-constructed key pair, the key pair including a private key and a public key paired with the private key; The private key is used to digitally sign the transport mode activation command to obtain first signature information; Send the transportation mode activation command, the first signature information, and the public key to the vehicle; Receive the execution result of the activation command for the transportation mode activation command returned by the vehicle; Based on the execution result of the opening instruction, a control instruction is sent to the outbound system to instruct the outbound system to perform a release or interception operation on the vehicle.

2. The method according to claim 1, characterized in that, The cloud system is also connected to the warehousing system, and the method further includes the following steps: The system obtains the pending entry information sent by the entry system; the pending entry information is generated by the entry system after collecting the vehicle's preset electronic tag and sending it to the cloud system. Based on the information to be put into storage, a transportation mode shutdown command is generated for the vehicle. The private key is used to digitally sign the transport mode shutdown command to obtain a second signature information; Send the transport mode shutdown command, the second signature information, and the public key to the vehicle; Receive the execution result of the closing instruction of the transportation mode closing instruction returned by the vehicle, and update the vehicle's entry status according to the closing instruction execution result.

3. The method according to claim 1, characterized in that, The cloud system is also connected to the security system. The steps to obtain a pre-built key pair include: A key pair generation request is sent to a security system, so that the security system generates the key pair in response to the key pair generation request; wherein the private key is stored in the security system; Receive the public key returned by the security system.

4. The method according to claim 3, characterized in that, The step of digitally signing the transport mode activation command using the private key to obtain the first signature information includes: Send the transportation mode activation command to the security system; The system receives the first signature information returned by the security system; the first signature information is obtained by the security system using the private key to digitally sign the transport mode activation command.

5. The method according to claim 1, characterized in that, The cloud system is also communicatively connected to the vehicle control platform; the step of sending the transportation mode activation command, the first signature information, and the public key to the vehicle includes: The transportation mode activation command, the first signature information, and the public key are sent to the vehicle control platform so that the vehicle control platform can perform compliance verification on the transportation mode activation command, the first signature information, and the public key. If the vehicle control platform verifies the transportation mode activation command, the first signature information, and the public key, then the vehicle control platform forwards the transportation mode activation command, the first signature information, and the public key to the vehicle.

6. The method according to claim 1, characterized in that, The steps of sending a control command to the outbound system based on the execution result of the opening command, instructing the outbound system to perform a release or interception operation on the vehicle, include: If the execution result of the activation command indicates that the transportation mode activation command was successfully executed, a release command is sent to the outbound system to instruct the outbound system to perform a release operation on the vehicle. If the execution result of the activation command indicates that the transportation mode activation command has failed, then the transportation mode activation command, the first signature information and the public key are resent to the vehicle until the execution result of the activation command is successful or the number of retries reaches a preset threshold. If the number of retries reaches the preset threshold and the execution result of the activation command indicates that the transportation mode activation command failed, an interception command is sent to the outbound system to instruct the outbound system to perform an interception operation on the vehicle.

7. A vehicle control method, characterized in that, Applied to vehicles that communicate with a cloud system, the method includes: The system receives a transportation mode activation command, a first signature information, and a public key from the cloud system. The transportation mode activation command is generated by the cloud system based on outbound information sent by the outbound system. This outbound information is generated by the outbound system after collecting a preset electronic tag of the vehicle and sending it to the cloud system. The first signature information is obtained by the cloud system digitally signing the transportation mode activation command using a private key, and the public key and the private key belong to the same key pair. Obtain the root certificate corresponding to the pre-stored public key, and verify the public key based on the root certificate; If the public key verification passes, the first signature information is verified using the public key. If the first signature information is verified, the transportation mode activation instruction is executed to activate the transportation mode of the vehicle and generate the activation instruction execution result of the transportation mode activation instruction. The execution result of the start command is sent to the cloud system.

8. The method according to claim 7, characterized in that, The method further includes the following steps: The system receives a transportation mode closure instruction, a second signature information, and the public key sent by the cloud system. The transportation mode closure instruction is generated by the cloud system based on the pending entry information sent by the entry system. This pending entry information is generated by the entry system after collecting a preset electronic tag of the vehicle and sending it to the cloud system. The second signature information is obtained by the cloud system digitally signing the transportation mode closure instruction using the private key. The public key is verified based on the root certificate; If the public key verification passes, the public key is used to verify the second signature information; If the second signature information is verified, the transportation mode shutdown command is executed to shut down the transportation mode of the vehicle and generate the shutdown command execution result. The result of the shutdown command execution is sent to the cloud system.

9. A vehicle control system, characterized in that, The vehicle control system includes a cloud system, an outbound system, and vehicles; The outbound system is used to collect the vehicle's preset electronic tag, generate outbound information, and send the outbound information to the cloud system; The cloud system is used to receive the outbound information sent by the outbound system, generate a transportation mode activation command for the vehicle based on the outbound information, and obtain a pre-constructed key pair, the key pair including a private key and a public key paired with the private key, digitally sign the transportation mode activation command using the private key to obtain first signature information, and send the transportation mode activation command, the first signature information and the public key to the vehicle. The vehicle is used to receive the transportation mode activation command, the first signature information, and the public key sent by the cloud system, obtain the root certificate corresponding to the pre-stored public key, verify the public key using the root certificate, verify the first signature information using the public key if the public key verification passes, execute the transportation mode activation command to activate the transportation mode of the vehicle, generate the activation command execution result of the transportation mode activation command, and send the activation command execution result to the cloud system. The cloud system is also used to receive the execution result of the opening instruction returned by the vehicle, and send a control instruction to the outbound system according to the execution result of the opening instruction; The outbound system is also used to receive the control command and perform release or interception operations on the vehicle according to the control command.

10. The system according to claim 9, characterized in that, The vehicle control system also includes an entry system; The warehousing system is used to collect the vehicle's preset electronic tags, generate warehousing information, and send the warehousing information to the cloud system; The cloud system is also used to receive the pending entry information sent by the entry system, generate a transportation mode closure instruction for the vehicle based on the pending entry information, digitally sign the transportation mode closure instruction using the private key to obtain second signature information, and send the transportation mode closure instruction, the second signature information and the public key to the vehicle. The vehicle is also used to receive the transportation mode shutdown command, the second signature information, and the public key sent by the cloud system, verify the public key according to the root certificate, and if the public key verification passes, verify the second signature information using the public key. If the second signature information verification passes, execute the transportation mode shutdown command to shut down the transportation mode of the vehicle, generate the shutdown command execution result, and send the shutdown command execution result to the cloud system. The cloud system is also used to receive the execution result of the closing instruction returned by the vehicle, and update the vehicle's entry status according to the execution result of the closing instruction.