Vehicle-to-everything (V2X) multi-level transmission system, method, equipment and storage medium
By using an asymmetric encryption algorithm to generate public-private key pairs in the vehicle network system and performing multi-level verification between the vehicle terminal, the car manufacturer's platform, and the third-party platform, the security and resource waste issues in data transmission from the vehicle to the third-party platform are solved, and the integrity and reliability of the data are achieved.
Patent Information
- Application Number
- CN202310798306.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-30
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2043-06-30
AI Technical Summary
The lack of effective security mechanisms for data transmission from vehicles to third-party platforms means that data may be eavesdropped on, tampered with, or replaced during transmission, affecting data integrity and reliability. At the same time, the existing multiple transmission methods result in resource waste.
A public-private key pair is generated using an asymmetric encryption algorithm and sent to the vehicle manufacturer's platform and the third-party platform respectively. The data is signed using the private key, and multi-level verification is performed between the vehicle terminal, the vehicle manufacturer's platform, and the third-party platform to ensure the integrity and authenticity of the data.
With low resource consumption, it achieves data transmission security and reliability, prevents data from being tampered with during transmission, reduces the number of data packets, and improves transmission efficiency and data consistency.
Smart Images

Figure CN117014524B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle network data transmission technology, specifically to vehicle network multi-level transmission systems, methods, devices, and storage media. Background Technology
[0002] Currently, data transmission from the vehicle to third-party platforms (such as national monitoring platforms) occurs through the vehicle manufacturer's cross-domain communication system. In this process, the vehicle sends its own collected data and forwarded data (such as 32960 data) directly to the vehicle manufacturer's platform, which then forwards the data to the third-party platform. However, due to the lack of effective security mechanisms, the authenticity of the transmitted data cannot be guaranteed. This means that data may be eavesdropped on, tampered with, or replaced during transmission, thus jeopardizing data integrity and reliability.
[0003] To address the aforementioned issues, existing technologies typically employ multiple transmissions and multiple data packets to protect data security. Multiple transmissions occur between different platforms, with each transmission corresponding to a single data packet, ensuring data security. While this method improves data security, it also wastes resources and negatively impacts the reliability of the vehicle-to-everything (V2X) system. Therefore, there is a need to research a more efficient and secure data transmission mechanism that avoids resource waste while ensuring data transmission security. Summary of the Invention
[0004] In view of this, the present invention provides a multi-level transmission system, method, device and storage medium for vehicle networking, which achieves the effect of ensuring the security and reliability of data transmission with low resource consumption.
[0005] In a first aspect, the present invention provides a multi-level transmission system for vehicle-to-everything (V2X) communication, comprising: a vehicle terminal, a vehicle manufacturer platform, and a third-party platform; the vehicle terminal is used to generate a public-key-private key pair based on a preset asymmetric encryption algorithm, the public-key-private key pair containing a first public key, a second public key, and a private key, send the first public key to the vehicle manufacturer platform, send the second public key to the third-party platform, sign the forwarded data based on the private key, and combine and encapsulate it with vehicle manufacturer-collected data to generate a vehicle-end message, which is then transmitted to the vehicle manufacturer platform; the vehicle manufacturer platform is used to receive the vehicle-end message, and verify and respond to the vehicle-end message based on the first public key; if the verification is successful, the verification success result is fed back to the vehicle terminal, and the fields in the vehicle-end message are extracted, arranged, and encapsulated to generate a vehicle manufacturer platform message; the vehicle manufacturer platform message is then transmitted to the third-party platform; the third-party platform is used to verify and respond to the vehicle manufacturer platform message based on the second public key, and after successful verification, the verification success result is fed back to the vehicle manufacturer platform, and the forwarded data is extracted.
[0006] This invention's implementation scheme generates a public-private key pair using an asymmetric encryption algorithm, and sends the public key to both the vehicle manufacturer's platform and a third-party platform, enabling data encryption and decryption. Simultaneously, signing the forwarded data with the private key ensures the data's origin and integrity. This system solves the problem of tampering with forwarded data on the vehicle manufacturer's platform; regardless of at which stage the data is tampered with, it can be detected, thus ensuring the authenticity and integrity of messages between the vehicle and the vehicle manufacturer's platform.
[0007] In one optional implementation, the forwarded data is used to send to the vehicle manufacturer platform and the national platform; the vehicle manufacturer collected data is used to send to the vehicle manufacturer platform, including: vehicle manufacturer-defined data length, vehicle manufacturer-defined data, P7 signature length, and P7 signature value.
[0008] The embodiments of this invention set up forwarding data and vehicle manufacturer collection data separately. By placing the forwarding data and vehicle manufacturer collection data in the same data packet, the number of data packets and transmission times can be reduced, preventing the waste of transmission resources and thus improving the efficiency of data transmission. The vehicle manufacturer platform and the national platform can receive the same data at the same time, thereby ensuring data consistency.
[0009] In one optional implementation, the vehicle terminal is configured to perform P1 digital signature on the forwarded data based on the private key to generate a P1 signature value; combine the vehicle manufacturer's custom data length, vehicle manufacturer's custom data, forwarded data length, forwarded data, forwarded data P1 signature length, and forwarded data P1 signature value into data to be signed, and perform P7 digital signature on the data to be signed to generate a P7 signature value; the vehicle terminal is further configured to encapsulate the start character, message serial number, time, vehicle VIN, vehicle manufacturer's custom data length, vehicle manufacturer's custom data, forwarded data length, forwarded data, forwarded data P1 signature length, forwarded data P1 signature value, P7 signature length, P7 signature value, and checksum in sequence to generate a vehicle terminal message.
[0010] The embodiments of this invention use P1 and P7 digital signatures to verify the integrity and authenticity of forwarded data. The P1 signature value is used to verify the consistency of the data forwarded by the vehicle manufacturer's platform, while the P7 signature value is used by the vehicle manufacturer's platform to verify the integrity of the entire vehicle-side message. Encapsulating data in a specific order improves data parsing efficiency, thereby preventing data from being tampered with or forged by the vehicle manufacturer's platform during transmission, ensuring data reliability and security.
[0011] In one optional implementation, the vehicle manufacturer platform is used to decrypt the P7 signature value in the vehicle-side message based on the first public key, and compare the decryption result with the vehicle manufacturer's custom data length, vehicle manufacturer's custom data, forwarded data length, forwarded data, forwarded data P1 signature length, and forwarded data P1 signature value in the vehicle-side message to confirm whether they are consistent. If they are consistent, the signature verification is successful.
[0012] The implementation scheme of this invention decrypts the P7 signature value in the vehicle-side message, verifies the signature, and compares the results to ensure the integrity and security of data transmission, thereby guaranteeing data consistency and preventing data tampering.
[0013] In one optional implementation, the vehicle manufacturer platform is used to extract, arrange, and encapsulate the start character, message serial number, time, vehicle VIN, forwarding data length, forwarding data, forwarding data P1 signature length, and forwarding data P1 signature value in the vehicle-side message to generate a vehicle manufacturer platform message after successful signature verification.
[0014] The embodiment of this invention extracts information from vehicle-side messages and arranges and encapsulates it in a specific order. This ensures that the retrieved data is complete and consistent, improving the reliability of data transmission.
[0015] In one optional implementation, the third-party platform is used to decrypt the P1 signature value of the forwarded data in the vehicle manufacturer platform message based on the second public key, and compare the decryption result with the forwarded data in the vehicle manufacturer platform message to confirm whether they are consistent. If they are consistent, the signature verification is successful.
[0016] The implementer of this invention uses a third-party platform to verify the P1 signature value of the forwarded data in the vehicle manufacturer's platform messages using the second public key. Only a third-party platform possessing the corresponding second public key can perform decryption and verification operations. This ensures that the data transmitted from the vehicle manufacturer's platform has not been tampered with, guaranteeing the reliability and integrity of data transmission.
[0017] Secondly, the present invention provides a multi-level transmission method for vehicle-to-everything (V2X) networks, applied to a vehicle terminal in the aforementioned V2X multi-level transmission system. The method includes: generating a public-private key pair based on a preset asymmetric encryption algorithm, wherein the public-private key pair includes a first public key, a second public key, and a private key; sending the first public key to a vehicle manufacturer platform; sending the second public key to a third-party platform; signing forwarded data based on the private key; combining and encapsulating the data to generate a vehicle-end message; and transmitting the vehicle-end message to the vehicle manufacturer platform.
[0018] The embodiment of this invention uses a private key to sign forwarded data, generating P1 and P7 signature values, and sends the corresponding first and second public keys to the vehicle manufacturer's platform and a third-party platform. This achieves separate signature verification of data; only a specific platform with its corresponding valid public key can encrypt and decrypt the data, thereby protecting the privacy of transmitted data.
[0019] In one optional implementation, the method applied to the vehicle manufacturer platform in the aforementioned vehicle-to-everything (V2X) multi-level transmission system includes: receiving a first public key and a vehicle terminal message sent by a vehicle terminal, and verifying and responding to the vehicle terminal message based on the first public key; if the verification is successful, feeding back the verification success result to the vehicle terminal, and extracting, arranging, and encapsulating fields from the vehicle terminal message to generate a vehicle manufacturer platform message; and transmitting the vehicle manufacturer platform message to a third-party platform.
[0020] In this embodiment of the invention, because the vehicle manufacturer's platform cannot tamper with the data, it can only verify the signature of the data collected by the vehicle manufacturer in the vehicle-side messages. Therefore, the vehicle manufacturer's platform can ensure data security. This helps prevent malicious tampering or alteration of data that is not permitted by the vehicle terminal, thereby improving the security of data transmission and processing.
[0021] In one optional implementation, the method is applied to a third-party platform in a vehicle-to-everything (V2X) multi-level transmission system. The method includes: receiving a second public key sent by a vehicle terminal and a vehicle manufacturer platform message sent by a vehicle manufacturer platform; verifying and responding to the vehicle manufacturer platform message based on the second public key; and, upon successful verification, feeding back the successful verification result to the vehicle manufacturer platform and extracting and forwarding data.
[0022] In this embodiment of the invention, a third-party platform can verify whether the message has been tampered with by the vehicle manufacturer's platform. By performing public key verification on the vehicle manufacturer's platform message, if the verification is successful, it can be confirmed that the data has not been tampered with or damaged, thus protecting the data security and integrity during data transmission.
[0023] Thirdly, the present invention provides a computer device, comprising: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to perform the vehicle-to-everything (V2X) multi-level transmission method of the second aspect or any corresponding embodiment described above.
[0024] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute the vehicle-to-everything (V2X) multi-level transmission method of the second aspect or any corresponding embodiment thereof. Attached Figure Description
[0025] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0026] Figure 1 This is an application scenario diagram of a vehicle-to-everything (V2X) multi-level data transmission system according to an embodiment of the present invention;
[0027] Figure 2 This is a schematic diagram of the structure of a vehicle-to-everything (V2X) multi-level data transmission system according to an embodiment of the present invention;
[0028] Figure 3 This is a diagram of the vehicle-side data reporting format of a multi-level data transmission system for vehicle networking according to an embodiment of the present invention;
[0029] Figure 4 This is a schematic diagram of vehicle-side data encapsulation in a vehicle-to-everything (V2X) multi-level data transmission system according to an embodiment of the present invention;
[0030] Figure 5 This is a diagram of the vehicle manufacturer platform data reporting format of the vehicle networking multi-level data transmission system according to an embodiment of the present invention;
[0031] Figure 6 This is a flowchart illustrating a multi-level data transmission method for vehicle networking according to an embodiment of the present invention;
[0032] Figure 7 This is a flowchart illustrating another vehicle-to-everything (V2X) multi-level data transmission method according to an embodiment of the present invention.
[0033] Figure 8 This is a schematic diagram of the hardware structure of the computer device according to an embodiment of the present invention. Detailed Implementation
[0034] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0035] This invention provides a multi-level data transmission system for vehicle-to-everything (V2X) networks, applicable to security verification scenarios for multi-level data transmission in V2X networks, with reference to... Figure 1 , Figure 1This diagram illustrates an application scenario of the vehicle-to-everything (V2X) multi-level data transmission system of this invention. The diagram showcases the data transmission and interaction process between the vehicle terminal, the vehicle manufacturer's platform, and a third-party platform. The vehicle reports vehicle data, including forwarded data and data collected by the vehicle manufacturer. Simultaneously, it transmits signature data twice, first to the vehicle manufacturer's platform for verification and response. The vehicle manufacturer's platform then extracts and forwards the data, generating a message that is transmitted to the third-party platform, including the outgoing data and the initial signature. The third-party platform then verifies the signature and responds. Through this system, the vehicle only needs to perform two signatures before sending data once, simultaneously completing the upload and verification of two types of data. This transmission efficiency is higher than the traditional method of signing different signature data and sending them to different platforms. It enables secure verification and transmission of vehicle data, with corresponding verification operations at each stage to ensure data integrity and authenticity.
[0036] According to an embodiment of the present invention, an implementation scheme for a multi-level data transmission system for vehicle networking is provided, with reference to... Figure 2 The system includes: a vehicle terminal 201, a vehicle manufacturer platform 202, and a third-party platform 203; the vehicle terminal 201 is used to generate a public-private key pair based on a preset asymmetric encryption algorithm, wherein the public-private key pair contains a first public key, a second public key, and a private key, send the first public key to the vehicle manufacturer platform 202, send the second public key to the third-party platform 203, sign the forwarded data based on the private key, and combine and encapsulate it with the vehicle manufacturer's collected data to generate a vehicle-end message, and transmit the vehicle-end message to the vehicle manufacturer platform 202; The vehicle manufacturer platform 202 is used to receive vehicle-side messages and verify and respond to the vehicle-side messages based on the first public key; if the verification is successful, the verification success result is fed back to the vehicle terminal, and the fields in the vehicle-side message are extracted, arranged, and encapsulated to generate the vehicle manufacturer platform message; the vehicle manufacturer platform message is transmitted to the third-party platform 203; the third-party platform 203 is used to verify and respond to the vehicle manufacturer platform message based on the second public key, and after successful verification, the verification success result is fed back to the vehicle manufacturer platform, and the forwarded data is extracted.
[0037] It's important to clarify that a vehicle terminal refers to a device installed in a vehicle that generates a public-private key pair using a pre-set asymmetric encryption algorithm (such as SM2) and encapsulates it into a data packet for upload. The vehicle manufacturer's platform is the central hub for receiving and processing vehicle data; it's essentially an intermediary company that processes vehicle data. Third-party platforms are those in the multi-level data transmission system of the Internet of Vehicles (IoV) that need to obtain data forwarded from vehicle terminals, such as national monitoring platforms.
[0038] For example, suppose a vehicle terminal sends a message containing data such as the vehicle's location, speed, and acceleration. Upon receiving the message, the vehicle manufacturer's platform uses a first public key to verify its integrity and authenticity. If verification is successful, the platform extracts these fields, arranges and encapsulates them as needed, and generates a platform message. This platform then transmits the message to a third-party platform. Upon receiving the message, the third-party platform uses a second public key to verify its integrity and authenticity. If verification is successful, the platform can extract the forwarded data, for example, to analyze vehicle driving conditions or provide travel subsidies according to regulations.
[0039] This invention's implementation scheme generates a public-private key pair using an asymmetric encryption algorithm, and sends the public key to both the vehicle manufacturer's platform and a third-party platform, enabling data encryption and decryption. Simultaneously, signing the forwarded data with the private key ensures the data's origin and integrity. This system solves the problem of tampering with forwarded data on the vehicle manufacturer's platform; regardless of at which stage the data is tampered with, it can be detected, thus ensuring the authenticity and integrity of messages between the vehicle and the vehicle manufacturer's platform.
[0040] Furthermore, the forwarded data is used to send to the vehicle manufacturer platform and the national platform; the vehicle manufacturer collected data is used to send to the vehicle manufacturer platform, including: vehicle manufacturer-defined data length, vehicle manufacturer-defined data, P7 signature length, and P7 signature value.
[0041] For example, refer to Figure 3 , Figure 3 This is a diagram illustrating the vehicle-side data reporting format of the multi-level data transmission system for the Internet of Vehicles (IoV) of this invention. Using GB / T 32960 data as an example, this section represents the forwarded data (refer to...). Figure 3 The data in sections 1-4 and 7-10 needs to be sent to the car manufacturer's platform and third-party platforms. Another part of the data is collected by the car manufacturer (see...). Figure 3 The section containing 5-6 and 11-12 is only for corporate receipt.
[0042] The embodiments of this invention set up forwarding data and vehicle manufacturer collection data separately. By placing the forwarding data and vehicle manufacturer collection data in the same data packet, the number of data packets and transmission times can be reduced, preventing the waste of transmission resources and thus improving the efficiency of data transmission. The vehicle manufacturer platform and the national platform can receive the same data at the same time, thereby ensuring data consistency.
[0043] Furthermore, the vehicle terminal is used to perform P1 digital signature on the forwarded data based on the private key to generate a P1 signature value; combine the vehicle manufacturer's custom data length, vehicle manufacturer's custom data, forwarded data length, forwarded data, forwarded data P1 signature length, and forwarded data P1 signature value into data to be signed, and perform P7 digital signature on the data to be signed to generate a P7 signature value; the vehicle terminal is also used to encapsulate the start character, message serial number, time, vehicle VIN, vehicle manufacturer's custom data length, vehicle manufacturer's custom data, forwarded data length, forwarded data, forwarded data P1 signature length, forwarded data P1 signature value, P7 signature length, P7 signature value, and check bit in sequence to generate a vehicle terminal message.
[0044] For example, refer to Figure 4 , Figure 4 This is a schematic diagram of vehicle-side data encapsulation in the multi-level data transmission system for the Internet of Vehicles (IoV) of the present invention. The vehicle terminal uses the private key corresponding to the second public key to perform a P1 digital signature on the GB / T 32960 data, generating a P1 signature value (see reference). Figure 4 (Sequence number 10 field). The vehicle terminal will follow the requirements of the vehicle manufacturer's platform (refer to...). Figure 4 Fields numbered 5 to 10 in the sequence are combined sequentially to form the part to be signed. The vehicle terminal uses the private key corresponding to the first public key to perform a P7 digital signature on the part to be signed (refer to...). Figure 4 (Field 12 in the sequence). The vehicle terminal will generate data from other fields and fields 1 to 3 according to... Figure 3 The message format shown is assembled and packaged to form a vehicle-side message, which is then sent to the vehicle manufacturer's platform.
[0045] The embodiments of this invention use P1 and P7 digital signatures to verify the integrity and authenticity of forwarded data. The P1 signature value is used to verify the consistency of the data forwarded by the vehicle manufacturer's platform, while the P7 signature value is used by the vehicle manufacturer's platform to verify the integrity of the entire vehicle-side message. Encapsulating data in a specific order improves data parsing efficiency, thereby preventing data from being tampered with or forged by the vehicle manufacturer's platform during transmission, ensuring data reliability and security.
[0046] Furthermore, the vehicle manufacturer platform is used to decrypt the P7 signature value in the vehicle-side message based on the first public key, and compare the decryption result with the vehicle manufacturer's custom data length, vehicle manufacturer's custom data, forwarded data length, forwarded data, forwarded data P1 signature length, and forwarded data P1 signature value in the vehicle-side message to confirm whether they are consistent. If they are consistent, the signature verification is successful.
[0047] For example, the vehicle manufacturer's platform will use the vehicle's digital certificate public key pair Figure 3Decrypt 12 in the message format field, and then compare the decrypted result with... Figure 3 The signature verification is performed by comparing fields 5 to 10 in the message format field. If the decrypted result matches these fields, the signature verification is successful; otherwise, it fails. Based on the signature verification result, a response is sent to the vehicle terminal. The vehicle terminal can then perform subsequent processing according to its policy, such as re-reporting or other operations.
[0048] The implementation scheme of this invention decrypts the P7 signature value in the vehicle-side message, verifies the signature, and compares the results to ensure the integrity and security of data transmission, thereby guaranteeing data consistency and preventing data tampering.
[0049] Furthermore, the vehicle manufacturer platform is used to extract, arrange, and encapsulate the start character, message serial number, time, vehicle VIN, forwarding data length, forwarding data, forwarding data P1 signature length, and forwarding data P1 signature value in the vehicle terminal message after successful signature verification to generate a vehicle manufacturer platform message.
[0050] For example, refer to Figure 5 , Figure 5 This diagram illustrates the data reporting format of the vehicle manufacturer's platform in the multi-level data transmission system for vehicle networking of this invention. If the vehicle manufacturer's platform successfully verifies the signature, then... Figure 5 The structure in the data packet is then used to extract, arrange, and encapsulate the data packet fields to generate a message for the car manufacturer's platform, which is then sent to a third-party platform.
[0051] The embodiment of this invention extracts information from vehicle-side messages and arranges and encapsulates it in a specific order. This ensures that the retrieved data is complete and consistent, improving the reliability of data transmission.
[0052] Furthermore, the third-party platform is used to decrypt the P1 signature value of the forwarded data in the vehicle manufacturer platform message based on the second public key, and compare the decryption result with the forwarded data in the vehicle manufacturer platform message to confirm whether they are consistent. If they are consistent, the signature verification is successful.
[0053] For example, a third-party platform receives and uses the corresponding second public key pair. Figure 5 Decrypt the 10 in the middle, and combine the result with Figure 5 The system compares the results with the eight verification codes. If the verification codes match, the verification is successful; otherwise, it fails. The third-party platform then returns the verification results to the car manufacturer's platform, which will then process the results according to its own strategy.
[0054] The implementer of this invention uses a third-party platform to verify the P1 signature value of the forwarded data in the vehicle manufacturer's platform messages using the second public key. Only a third-party platform possessing the corresponding second public key can perform decryption and verification operations. This ensures that the data transmitted from the vehicle manufacturer's platform has not been tampered with, guaranteeing the reliability and integrity of data transmission.
[0055] According to embodiments of the present invention, an embodiment of a multi-level data transmission method for vehicle-to-everything (V2X) networks is also provided. It should be noted that the steps shown in the flowcharts in the accompanying drawings can be executed in a computer system, such as a set of computer-executable instructions. Although a logical order is shown in the flowcharts, the execution order or described steps shown herein can be appropriately adjusted in certain circumstances.
[0056] This implementation plan also provides a method for multi-level data transmission in vehicle-to-everything (V2X) networks, which is applied to the vehicle terminal in the aforementioned multi-level V2X transmission system. Figure 6 This is a flowchart of a multi-level data transmission method for vehicle networking according to an embodiment of the present invention, such as... Figure 6 As shown, the process includes the following steps:
[0057] Step S601: Generate a public-private key pair based on a preset asymmetric encryption algorithm, send the first public key to the car manufacturer platform, and send the second public key to a third-party platform.
[0058] It is understood that the public-private key pair includes a first public key, a second public key, and a private key. By using different public-private key pairs, data isolation can be achieved between different platforms. The first public key is sent to the vehicle manufacturer's platform, and the second public key is sent to the third-party platform. The vehicle manufacturer's platform can only access and process data related to it, and the third-party platform can only access and process data related to it, further achieving data isolation.
[0059] Step S602: Sign the forwarded data based on the private key, combine and encapsulate it to generate a vehicle-side message, and transmit the vehicle-side message to the vehicle manufacturer's platform.
[0060] The embodiment of this invention uses a private key to sign forwarded data, generating P1 and P7 signature values, and sends the corresponding first and second public keys to the vehicle manufacturer's platform and a third-party platform. This achieves separate signature verification of data; only a specific platform with its corresponding valid public key can encrypt and decrypt the data, thereby protecting the privacy of transmitted data.
[0061] This implementation plan also provides a method for multi-level data transmission in the Internet of Vehicles (IoV), which is applied to the vehicle manufacturer's platform in the aforementioned multi-level IoV transmission system. Figure 7 This is a flowchart of a multi-level data transmission method for vehicle networking according to an embodiment of the present invention, such as... Figure 7 As shown, the process includes the following steps:
[0062] Step S701: Receive the first public key and vehicle terminal message sent by the vehicle terminal, and verify and respond to the vehicle terminal message based on the first public key.
[0063] Understandably, the vehicle terminal will send its configured first public key and vehicle-side messages to the OEM platform. The OEM platform uses the pre-obtained first public key to verify the signature of the vehicle-side messages to confirm their integrity and authenticity. If the signature verification is successful, the OEM platform will send a response to the vehicle terminal indicating successful verification.
[0064] In step S702, if the signature verification is successful, the signature verification result is fed back to the vehicle terminal, and the fields in the vehicle terminal message are extracted, arranged and encapsulated to generate the vehicle enterprise platform message.
[0065] Step S703: Transmit the vehicle manufacturer platform message to a third-party platform.
[0066] In this embodiment of the invention, because the vehicle manufacturer's platform cannot tamper with the data, it can only verify the signature of the data collected by the vehicle manufacturer in the vehicle-side messages. Therefore, the vehicle manufacturer's platform can ensure data security. This helps prevent malicious tampering or alteration of data that is not permitted by the vehicle terminal, thereby improving the security of data transmission and processing.
[0067] This implementation also provides a method for multi-level data transmission in the Internet of Vehicles (IoV), applied to a third-party platform in an IoV multi-level transmission system. The method includes: receiving a second public key sent by a vehicle terminal and a vehicle manufacturer platform message sent by the vehicle manufacturer platform; verifying and responding to the vehicle manufacturer platform message based on the second public key; and, upon successful verification, sending the verification result back to the vehicle manufacturer platform and extracting and forwarding data.
[0068] Understandably, assuming the third-party platform is the national platform, when the forwarded data uploaded by the vehicle terminal is the vehicle's mileage with a value of 5000, the data transmission needs to pass through the vehicle manufacturer's platform. The vehicle manufacturer's platform, subjectively wanting the national platform to receive the correct forwarded data to avoid impacting its own profits, might tamper with the data during transmission. However, by providing the vehicle manufacturer's platform with the first public key, the platform can only sign and decrypt custom data using this key, not the original forwarded data the vehicle terminal intends to send to the national platform. Therefore, it can be guaranteed that the vehicle terminal can send the correct and complete forwarded data (i.e., mileage 5000) to the national platform in a single upload. The national platform can then subsequently issue subsidies to the vehicle terminal based on the mileage and existing subsidy schemes.
[0069] In this embodiment of the invention, a third-party platform can verify whether the message has been tampered with by the vehicle manufacturer's platform. By performing public key verification on the vehicle manufacturer's platform message, if the verification is successful, it can be confirmed that the data has not been tampered with or damaged, thus protecting the data security and integrity during data transmission.
[0070] The present invention also provides a computer device, please refer to the following embodiments. Figure 8 , Figure 8 This is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as... Figure 8 As shown, the computer device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 8 Take a processor 10 as an example.
[0071] Processor 10 may be a central processing unit, a data processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.
[0072] The memory 20 stores instructions executable by at least one processor 10 to cause the at least one processor 10 to perform the method shown in the above embodiment.
[0073] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0074] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.
[0075] The computer device also includes a communication interface 30 for communicating with other devices or communication networks.
[0076] The present invention also provides a computer-readable storage medium in which the methods described herein can be implemented in hardware or firmware, or implemented as recordable on a storage medium, or implemented as computer code originally stored on a remote storage medium or a non-transitory machine-readable storage medium and subsequently stored on a local storage medium after being downloaded via a network. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium may be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium may also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.
[0077] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and all such modifications and variations fall within the scope defined herein.
Claims
1. A vehicle-to-everything (V2X) multi-level data transmission system, characterized in that, The system includes: vehicle terminal, vehicle manufacturer platform, and third-party platform; The vehicle terminal is used to generate a public-private key pair based on a preset asymmetric encryption algorithm. The public-private key pair includes a first public key and its corresponding private key, and a second public key and its corresponding private key. The first public key is sent to the vehicle manufacturer's platform, and the second public key is sent to a third-party platform. The forwarded data is signed based on the private keys corresponding to the first and second public keys, and combined with vehicle manufacturer-collected data to generate a vehicle-end message, which is then transmitted to the vehicle manufacturer's platform. The forwarded data is used to send to both the vehicle manufacturer's platform and a national supervision platform, where the third-party platform is the national supervision platform. The vehicle manufacturer-collected data, used to send to the vehicle manufacturer's platform, includes: a vehicle manufacturer-defined data length, vehicle manufacturer-defined data, a P7 signature length, and a P7 signature value. The vehicle terminal is used to perform P1 digital signature on the forwarded data based on the private key corresponding to the second public key, generating a P1 signature value; combine the vehicle manufacturer's custom data length, vehicle manufacturer's custom data, forwarded data length, forwarded data, forwarded data P1 signature length, and forwarded data P1 signature value into data to be signed, and perform P7 digital signature on the data to be signed based on the private key corresponding to the first public key, generating a P7 signature value; the vehicle terminal is also used to encapsulate the start character, message serial number, time, vehicle VIN, vehicle manufacturer's custom data length, vehicle manufacturer's custom data, forwarded data length, forwarded data, forwarded data P1 signature length, forwarded data P1 signature value, P7 signature length, P7 signature value, and check bit in sequence to generate a vehicle terminal message; The vehicle manufacturer platform is used to receive vehicle-side messages, decrypt the P7 signature value in the vehicle-side message based on the first public key, and compare the decryption result with the vehicle manufacturer's custom data length, vehicle manufacturer's custom data, forwarded data length, forwarded data, forwarded data P1 signature length, and forwarded data P1 signature value in the vehicle-side message to confirm whether they are consistent. If they are consistent, the signature verification is successful. If the signature verification is successful, the signature verification success result is fed back to the vehicle terminal, and the relevant fields of forwarded data in the vehicle-side message are extracted, arranged, and encapsulated to generate the vehicle manufacturer platform message; the vehicle manufacturer platform message is then transmitted to a third-party platform. The third-party platform is used to decrypt the P1 signature value of the forwarded data in the vehicle manufacturer platform message based on the second public key, and compare the decryption result with the forwarded data in the vehicle manufacturer platform message to confirm whether they are consistent. If they are consistent, the signature verification is successful. After the signature verification is successful, the signature verification result is fed back to the vehicle manufacturer platform to extract the forwarded data.
2. The system according to claim 1, characterized in that, The vehicle manufacturer platform is used to extract, arrange, and encapsulate the start character, message serial number, time, vehicle VIN, forwarding data length, forwarding data, forwarding data P1 signature length, and forwarding data P1 signature value in the vehicle terminal message after successful verification to generate a vehicle manufacturer platform message.
3. A multi-level data transmission method for vehicle-to-everything (V2X) networks, characterized in that: The method, applied to a vehicle terminal in the vehicle-to-everything (V2X) multi-level data transmission system according to any one of claims 1-2, comprises: A public-private key pair is generated based on a preset asymmetric encryption algorithm. The public-private key pair contains a first public key and its corresponding private key, and a second public key and its corresponding private key. The first public key is sent to the vehicle manufacturer's platform, and the second public key is sent to a third-party platform. The forwarded data is signed based on the private key corresponding to the first public key and the private key corresponding to the second public key, and the data is combined and encapsulated to generate a vehicle-side message, which is then transmitted to the vehicle manufacturer's platform. The forwarded data is used to send to the vehicle manufacturer's platform and the national supervision platform, where the third-party platform is the national supervision platform; the vehicle manufacturer's collected data is used to send to the vehicle manufacturer's platform, and includes: vehicle manufacturer-defined data length, vehicle manufacturer-defined data, P7 signature length, and P7 signature value; the signing of the forwarded data based on the private key corresponding to the first public key and the private key corresponding to the second public key, and the combination and encapsulation to generate the vehicle-side message, includes: Based on the private key corresponding to the second public key, the forwarded data is digitally signed using the P1 method to generate a P1 signature value; The data to be signed is composed of the automaker-defined data length, the automaker-defined data, the forwarded data length, the forwarded data, the forwarded data P1 signature length, and the forwarded data P1 signature value. The data to be signed is then digitally signed using the P7 method based on the private key corresponding to the first public key to generate the P7 signature value. The start character, message serial number, time, vehicle VIN, vehicle manufacturer-defined data length, vehicle manufacturer-defined data, forwarded data length, forwarded data, forwarded data P1 signature length, forwarded data P1 signature value, forwarded data P7 signature length, P7 signature value, and checksum are sequentially encapsulated to generate the vehicle-side message.
4. A multi-level data transmission method for vehicle-to-everything (V2X) networks, characterized in that: The method, applied to a vehicle manufacturer platform in the vehicle-to-everything (V2X) multi-level data transmission system according to any one of claims 1-2, comprises: Receive the first public key and vehicle terminal message sent by the vehicle terminal, and decrypt the P7 signature value in the vehicle terminal message based on the first public key. Then compare the decryption result with the length of the vehicle manufacturer's custom data, the length of the forwarded data, the forwarded data, the P1 signature length of the forwarded data, and the P1 signature value of the forwarded data in the vehicle terminal message to confirm whether they are consistent. If they are consistent, the signature verification is successful. If the signature verification is successful, the signature verification result will be fed back to the vehicle terminal, and the fields related to the forwarded data in the vehicle terminal message will be extracted, arranged and encapsulated to generate the vehicle enterprise platform message. The vehicle manufacturer's platform message is transmitted to a third-party platform.
5. A multi-level data transmission method for vehicle-to-everything (V2X) networks, characterized in that: The method, applied to a third-party platform in the vehicle-to-everything (V2X) multi-level data transmission system according to any one of claims 1-2, comprises: The system receives the second public key sent by the vehicle terminal and the vehicle platform message sent by the vehicle platform. Based on the second public key, it decrypts the P1 signature value of the forwarded data in the vehicle platform message and compares the decryption result with the forwarded data in the vehicle platform message to confirm whether they are consistent. If they are consistent, the signature verification is successful. After successful signature verification, the system sends the successful signature verification result back to the vehicle platform and extracts the forwarded data.
6. A computer device, characterized in that, include: The system includes a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to perform the vehicle-to-everything (V2X) multi-level data transmission method as described in any one of claims 3 to 5.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to execute the vehicle-to-everything (V2X) multi-level data transmission method as described in any one of claims 3 to 5.
Citation Information
Patent Citations
Signature verification method, device and system
CN104767613A
Driving behavior analysis method and system
CN115027485A
