Communication method and device of vehicle multi-core microcontroller and electronic equipment
By receiving encrypted information, decrypting identity authentication information and determining the transmission path in the communication method of the vehicle multi-core microcontroller, combined with asymmetric encryption technology, the problem of low communication security of multi-core microcontrollers is solved, and the secure transmission of data is achieved and Access control.
Patent Information
- Application Number
- CN202411131727.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2024-12-24
AI Technical Summary
The communication methods of vehicle multi-core microcontrollers in the prior art lack effective access control and authentication mechanisms, some data lack encryption measures, and symmetric encryption algorithms have security risks, resulting in low communication security.
By receiving the encrypted information sent by the vehicle domain controller, using the private key to obtain the identity authentication information, and determining the information transmission path based on the identity authentication information, and transmitting the identity authentication information and target vehicle data using asymmetric encryption to ensure that the data is in the transmission process. security.
It improves the communication security of vehicle multi-core microcontrollers, prevents data leakage and tampering, and realizes fine-grained access control of vehicle data and confidentiality and integrity during transmission.
Smart Images

Figure CN119179672A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a communication method, device and electronic equipment for a vehicle multi-core microcontroller. Background Art
[0002] With the development of the automotive industry, in order to adapt to the collaborative work of multiple buses, vehicle multi-core microcontrollers (MCU) came into being. For example, a multi-core Ethernet controller, each core is responsible for implementing a specific function. However, although multi-core MCUs play an important role in automotive bus design, there are some problems in security authentication. At present, for single-core MCUs, security verification is only added when accessing the Electronic Control Unit (ECU), and a symmetric encryption algorithm is used. For the access to multi-core microcontrollers and the encrypted communication between their cores, the existing technology does not adopt an effective strategy to ensure security. Therefore, the communication method of multi-core MCUs in the prior art has the following problems:
[0003] 1. Lack of effective access control and authentication mechanisms: In the process of accessing multi-core MCUs, there is a lack of necessary security authentication processes. Attackers can easily collect vehicle data and analyze it using standardized protocols in the automotive network industry to obtain sensitive data such as vehicle information and driving information.
[0004] 2. Lack of encryption measures for some important data: Usually, automobile manufacturers only add security verification to the data they consider important, but do not take effective encryption measures for the communication between the processing cores of the multi-core MCU, which provides an opportunity for attackers.
[0005] 3. Symmetric encryption algorithms have security risks: Symmetric encryption is currently used for data encryption. However, the key of symmetric encryption is easy to be intercepted and cracked during transmission. In addition, the key management is relatively complicated, which brings risks to the security of the automobile system.
[0006] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0007] The embodiments of the present invention provide a communication method, device and electronic device for a vehicle multi-core microcontroller, so as to at least solve the technical problem of low security of the communication method for a vehicle multi-core microcontroller in the related art.
[0008] According to one embodiment of the present invention, a communication method for a vehicle multi-core microcontroller is provided, comprising: receiving first encrypted information sent by a vehicle domain controller, wherein the first encrypted information is obtained by encrypting identity authentication information by a client, and the identity authentication information is used to determine target vehicle data; decrypting the first encrypted information using first private key information to obtain identity authentication information; determining a first information transmission path based on the identity authentication information, wherein the first information transmission path is determined based on the security level of a target processing core in the vehicle multi-core microcontroller; sending the identity authentication information to the target processing core based on the first information transmission path; and in response to receiving the target vehicle data sent by the target processing core, sending the target vehicle data to the client, so that the client performs vehicle diagnostic operations based on the target vehicle data.
[0009] Optionally, determining the first information transmission path based on the identity authentication information includes: determining a target processing core based on the identity authentication information; in response to a security level of the target processing core being higher than that of the first processing core, determining the first information transmission path according to the security level ranking of the processing cores in the vehicle multi-core microcontroller, wherein the security level ranking indicates that the security level of the processing core is from low to high.
[0010] Optionally, sending identity authentication information to a target processing core of a vehicle multi-core microcontroller based on an information transmission path includes: determining a first transit processing core based on a first information transmission path, wherein a security level of the first transit processing core is between the first processing core and the target processing core; authenticating the identity authentication information using key information of the first transit processing core to obtain a verification result, wherein the key information of the first transit processing core is determined based on asymmetric encryption; in response to the verification result indicating that the identity authentication information passes the authentication of the first transit processing core, sending the identity authentication information to the target processing core via the first transit processing core.
[0011] Optionally, sending the target vehicle data to the client includes: encrypting the target vehicle data using first private key information and first public key information to obtain encrypted vehicle data, wherein the first public key information represents public key information of the client; and sending the encrypted vehicle data to the client.
[0012] According to one embodiment of the present invention, a communication method for a vehicle multi-core microcontroller is also provided, including: receiving identity authentication information sent by a first processing core based on a first information transmission path; determining target vehicle data based on the identity authentication information; and sending the target vehicle data to the first processing core based on a second information transmission path, wherein the second information transmission path is determined based on the first information transmission path.
[0013] Optionally, sending the target vehicle data to the first processing core based on the second information transmission path includes: obtaining a second transit processing core, wherein the second transit processing core represents a transit processing core of the second information transmission path; transmitting the target vehicle data between the second transit processing cores in an asymmetric encryption manner until the target vehicle data is sent to the first processing core.
[0014] According to one embodiment of the present invention, a communication device for a vehicle multi-core microcontroller is also provided, including: a receiving module, used to receive first encrypted information sent by a vehicle domain controller, wherein the first encrypted information is obtained by encrypting identity authentication information by a client, and the identity authentication information is used to determine target vehicle data; a decryption module, used to decrypt the first encrypted information using first private key information to obtain identity authentication information; a determination module, used to determine a first information transmission path based on the identity authentication information, wherein the first information transmission path is determined based on the security level of a target processing core in the vehicle multi-core microcontroller; a sending module, used to send the identity authentication information to the target processing core based on the first information transmission path; the sending module is also used to send the target vehicle data to the client in response to receiving the target vehicle data sent by the target processing core, so that the client performs vehicle diagnostic operations based on the target vehicle data.
[0015] Optionally, the determination module is also used to: determine the target processing core based on identity authentication information; in response to the target processing core having a higher security level than the first processing core, determine the first information transmission path according to the security level ranking of the processing cores in the vehicle multi-core microcontroller, wherein the security level ranking indicates that the security level of the processing core is from low to high.
[0016] Optionally, the determination module is also used to determine the first transit processing core based on the first information transmission path, wherein the security level of the first transit processing core is between the first processing core and the target processing core; the communication device of the vehicle multi-core microcontroller also includes a processing module, which is used to use the key information of the first transit processing core to authenticate the identity authentication information to obtain a verification result, wherein the key information of the first transit processing core is determined based on asymmetric encryption; the determination module is also used to send the identity authentication information to the target processing core via the first transit processing core in response to the verification result indicating that the identity authentication information passes the authentication of the first transit processing core.
[0017] Optionally, the communication device of the vehicle multi-core microcontroller also includes an encryption module, which is used to encrypt the target vehicle data using the first private key information and the first public key information to obtain encrypted vehicle data, wherein the first public key information represents the public key information of the client; the sending module is also used to send the encrypted vehicle data to the client.
[0018] According to one embodiment of the present invention, a communication device for a vehicle multi-core microcontroller is also provided, including: a receiving module for receiving identity authentication information sent by a first processing core based on a first information transmission path; a determination module for determining target vehicle data based on the identity authentication information; and a sending module for sending the target vehicle data to the first processing core based on a second information transmission path, wherein the second information transmission path is determined based on the first information transmission path.
[0019] Optionally, the communication device of the vehicle multi-core microcontroller also includes an acquisition module for acquiring a second transit processing core, wherein the second transit processing core represents a transit processing core of a second information transmission path; the sending module is also used to transmit target vehicle data between the second transit processing cores in an asymmetric encryption manner until the target vehicle data is sent to the first processing core.
[0020] According to one embodiment of the present invention, there is also provided an electronic device, comprising: a memory storing an executable program; and a processor for running the program, wherein the above-mentioned communication method of the vehicle multi-core microcontroller is executed when the program is running.
[0021] According to one embodiment of the present invention, a non-volatile storage medium is further provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned communication method of the vehicle multi-core microcontroller when running.
[0022] According to one embodiment of the present invention, a computer program product is also provided, including a computer program, and when the computer program is executed by a processor, the communication method of the vehicle multi-core microcontroller is implemented.
[0023] In an embodiment of the present invention, a method of receiving first encrypted information sent by a vehicle domain controller is adopted, the first encrypted information is decrypted using first private key information to obtain identity authentication information, and a first information transmission path is determined based on the identity authentication information, and then the identity authentication information is sent to a target processing core of a vehicle multi-core microcontroller based on the first information transmission path, and finally in response to receiving target vehicle data sent by the target processing core, the target vehicle data is sent to a client, so that the client performs vehicle diagnostic operations based on the target vehicle data, and the purpose of safely transmitting the target vehicle data is achieved by determining the information transmission path based on the security level of the target processing core and using an asymmetric encryption method during the transmission process, thereby achieving the technical effect of improving the security of the communication method of the vehicle multi-core microcontroller, thereby solving the technical problem of low security of the communication method of the vehicle multi-core microcontroller in the related art. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0025] Figure 1 is a flow chart of a communication method of a vehicle multi-core microcontroller according to one embodiment of the present invention;
[0026] Figure 2 is a flow chart of another communication method of a vehicle multi-core microcontroller according to one embodiment of the present invention;
[0027] Figure 3 is a flow chart of another communication method of a vehicle multi-core microcontroller according to one embodiment of the present invention;
[0028] Figure 4 is a schematic diagram of a communication method of a vehicle multi-core microcontroller according to one embodiment of the present invention;
[0029] Figure 5 is a structural block diagram of a communication device of a vehicle multi-core microcontroller according to one embodiment of the present invention;
[0030] Figure 6 It is a structural block diagram of another communication device of a vehicle multi-core microcontroller according to one embodiment of the present invention. DETAILED DESCRIPTION
[0031] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0033] According to an embodiment of the present invention, a method embodiment of a communication method for a vehicle multi-core microcontroller is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0034] The method embodiment can be executed in an electronic device or a similar computing device including a memory and a processor. Taking running on a vehicle terminal as an example, the vehicle terminal may include one or more processors (the processor may include but is not limited to a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microcontroller unit (MCU), a programmable logic device (Field Programmable Gate Array, FPGA), a neural network processor (Neural-network Processor Unit, NPU), a tensor processor (Tensor Processing Unit, TPU), an artificial intelligence (Artificial Intelligence, AI) type processor, etc.) and a memory for storing data. Optionally, the above-mentioned vehicle terminal may also include a transmission device, an input and output device, and a display device for communication functions. It can be understood by those of ordinary skill in the art that the above-mentioned structural description is only for illustration and does not limit the structure of the above-mentioned vehicle terminal. For example, the vehicle terminal may also include more or fewer components than the above-mentioned structural description, or have a configuration different from the above-mentioned structural description.
[0035] The memory can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the communication method of the vehicle multi-core microcontroller in the embodiment of the present invention. The processor executes various functional applications and data processing by running the computer program stored in the memory, that is, the communication method of the vehicle multi-core microcontroller is realized. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include a memory remotely arranged relative to the processor, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0036] The transmission device is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly.
[0037] The display device may be, for example, a touch screen type liquid crystal display (LCD) and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of a mobile terminal. In some embodiments, the mobile terminal has a graphical user interface (GUI), and a user may interact with the GUI by finger contacts and / or gestures on a touch-sensitive surface, wherein the human-computer interaction functions here may optionally include the following interactions: creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving emails, call interfaces, playing digital videos, playing digital music and / or web browsing, etc. The executable instructions for executing the above human-computer interaction functions are configured / stored in a computer program product or readable storage medium executable by one or more processors.
[0038] Figure 1 is a flow chart of a communication method of a vehicle multi-core microcontroller according to one embodiment of the present invention, wherein the execution subject of the method is a first processing core of the multi-core microcontroller, such as Figure 1 As shown, the method comprises the following steps:
[0039] Step S101, receiving first encrypted information sent by a vehicle domain controller, wherein the first encrypted information is obtained by encrypting identity authentication information by a client, and the identity authentication information is used to determine target vehicle data;
[0040] In step S101, the above-mentioned identity authentication information is sent by the client to the vehicle domain controller (Domain Controller Unit, DCU) through the on-board diagnostic system (On-Board Diagnostics, OBD) interface, and the vehicle DCU then sends it to the first processing core of the multi-core MCU, wherein the first processing core of the multi-core MCU is recorded as core A. The above-mentioned identity authentication information includes but is not limited to: the client's media access control address (Media Access Control, MAC), Internet Protocol address (Internet Protocol, IP), vehicle data to be collected, encryption algorithm used in the transmission process, client's public key, and the validity period of the identity authentication information, sending time and other information.
[0041] Specifically, the client first uses the public key information of the A core to encrypt the identity authentication information to obtain the first encrypted information, that is, the first encrypted information is the ciphertext form of the identity authentication information, and uses its own private key information to digitally sign the identity authentication information to generate digital signature information, and then sends the first encrypted information and digital signature information to the vehicle DCU through the vehicle OBD interface. At the same time, the client publishes its own public key information to the cloud so that other devices can obtain it. When the vehicle DCU receives the first encrypted information and digital signature information sent by the client, it obtains the public key information publicly released by the client, and uses the public key information of the client to verify the digital signature information to determine that the first encrypted information comes from the client. After the vehicle DCU determines that the identity authentication information sent by the client has passed the verification, it sends the first encrypted information to the A core.
[0042] Step S102, using the first private key information to decrypt the first encrypted information to obtain identity authentication information;
[0043] In step S102, the first private key information is used to represent the private key information of core A.
[0044] Specifically, after receiving the first encrypted information, core A uses its own private key information to decrypt the first encrypted information to obtain identity authentication information.
[0045] Step S103, determining a first information transmission path based on the identity authentication information, wherein the first information transmission path is determined based on a security level of a target processing core in a multi-core microcontroller of the vehicle;
[0046] In step S103, the first information transmission path is used to represent a path for sending identity authentication information from core A to a target processing core, wherein core A has the lowest security level, and the first information transmission path is determined according to the security level of the target processing core.
[0047] Step S104, sending the identity authentication information to the target processing core based on the first information transmission path;
[0048] Specifically, core A sends the identity authentication information to the target processing core according to the first information transmission path, wherein during the transmission process, the identity authentication information is transmitted using an asymmetric encryption method.
[0049] Step S105 , in response to receiving the target vehicle data sent by the target processing core, sending the target vehicle data to the client, so that the client performs a vehicle diagnosis operation based on the target vehicle data.
[0050] Specifically, when the target processing core receives the identity authentication information, it returns the target vehicle data to the A core according to the identity authentication information; when the A core receives the target vehicle data, it sends the target vehicle data to the client; after receiving the target vehicle data, the client uses the target vehicle data to perform diagnostic operations.
[0051] Based on the above steps S101 to S105, a method of receiving the first encrypted information sent by the vehicle domain controller is adopted, the first encrypted information is decrypted using the first private key information to obtain identity authentication information, and a first information transmission path is determined based on the identity authentication information, and then the identity authentication information is sent to the target processing core of the vehicle multi-core microcontroller based on the first information transmission path. Finally, in response to receiving the target vehicle data sent by the target processing core, the target vehicle data is sent to the client, so that the client performs vehicle diagnostic operations based on the target vehicle data. By determining the information transmission path based on the security level of the target processing core and using an asymmetric encryption method during the transmission process, the purpose of safely transmitting the target vehicle data is achieved, thereby achieving the technical effect of improving the security of the communication method of the vehicle multi-core microcontroller, and further solving the technical problem of low security of the communication method of the vehicle multi-core microcontroller in the related art.
[0052] Optionally, in step S103, determining the first information transmission path based on the identity authentication information includes:
[0053] Step S1031, determining a target processing core based on identity authentication information;
[0054] Specifically, the target processing core is determined according to the vehicle data to be collected in the identity authentication information. If the vehicle data to be collected is non-sensitive vehicle data, the target processing core is the A core. For example, the vehicle's mileage, fuel consumption data, vehicle speed, engine temperature and other basic operating parameters, the leakage of which will not pose a direct threat to the safety of the owner or the vehicle. If the vehicle data to be collected is low-sensitivity vehicle data, the target processing core is the second processing core, recorded as the B core. For example, vehicle data such as the vehicle's driving route (non-real-time location), driving habit analysis (such as the number of sudden accelerations and sudden brakes), and vehicle maintenance reminders, although these data have a certain impact on the privacy of the owner, compared with more sensitive information, their leakage risk is lower. If the vehicle data to be collected is medium-sensitive vehicle data, the target processing core is the third processing core, recorded as the C core. For example, vehicle data such as the owner's name, contact information, and vehicle maintenance history, if these information are improperly used or leaked, it will cause certain economic losses to the owner. If the vehicle data to be collected is highly sensitive vehicle data, the target processing core is the third processing core, recorded as the D core. For example, vehicle data such as vehicle identification number (VIN), vehicle real-time location information, remote control command history, vehicle safety system status, etc., the leakage of such information will directly lead to serious accidents such as vehicle theft and tracking. The vehicle data security levels corresponding to cores A, B, C, and D are from low to high, and this application does not limit the number of processing cores.
[0055] Step S1032, in response to the target processing core having a higher security level than the first processing core, determining the first information transmission path according to the security level ranking of the processing cores in the vehicle multi-core microcontroller, wherein the security level ranking indicates that the security level of the processing cores is from low to high.
[0056] Specifically, when the security level of the target processing core is higher than that of the A core, the first information transmission path is determined from low to high according to the security level of the processing cores in the vehicle multi-core microcontroller. For example, the vehicle multi-core microcontroller is a quad-core gigabit multi-core microcontroller, wherein the vehicle data security levels corresponding to the first processing core A core, the second processing core B core, the third processing core C core, and the fourth processing core D core are from low to high. When the target processing core is the D core, the first information transmission path is A core->B core->C core->D core.
[0057] Specifically, when the target processing core is core A, core A directly sends the target vehicle data to the client.
[0058] Based on the above steps S1031 to S1032, a target processing core is determined based on the identity authentication information; in response to the target processing core having a higher security level than the first processing core, a first information transmission path is determined according to the security level ranking of the processing cores in the vehicle multi-core microcontroller. By determining the target processing core based on the sensitivity of the vehicle data and ranking the data transmission paths according to the security level of the processing cores, it is possible to effectively prevent sensitive data from being illegally accessed or tampered with during transmission, and data of different sensitivities are allocated to processing cores of different security levels for processing and transmission, thereby achieving fine-grained control of access to vehicle data.
[0059] Optionally, in step S104, sending the identity authentication information to a target processing core of the vehicle multi-core microcontroller based on the information transmission path includes:
[0060] Step S1041, determining a first transit processing core based on the first information transmission path, wherein the security level of the first transit processing core is between the first processing core and the target processing core;
[0061] Step S1042, using the key information of the first transit processing core to authenticate the identity authentication information, and obtain a verification result, wherein the key information of the first transit processing core is determined based on asymmetric encryption;
[0062] Specifically, when core A sends the identity authentication information to the first transit processing core, core A encrypts the identity authentication information using its own private key to obtain the ciphertext form of the identity authentication information, and simultaneously uses the public key of the first transit processing core to digitally sign the identity authentication information to obtain the digital signature information of the identity authentication information; core A sends the ciphertext of the identity authentication information and the digital signature information to the first transit processing core; after the first transit processing core receives the ciphertext of the identity authentication information and the digital signature information sent by core A, it first uses the public key information of core A to verify the digital signature information to determine that the above information is sent by core A, and then uses its own public key information to decrypt the ciphertext of the identity authentication information to obtain the identity authentication information.
[0063] Step S1043, in response to the verification result indicating that the identity authentication information passes the identity authentication of the first transit processing core, the identity authentication information is sent to the target processing core via the first transit processing core.
[0064] Specifically, when the first transit processing core sends the identity authentication information to the target processing core, the first transit processing core uses its own private key to encrypt the identity authentication information to obtain the ciphertext form of the identity authentication information, and uses the public key of the target processing core to digitally sign the identity authentication information to obtain the digital signature information of the identity authentication information; the first transit processing core sends the ciphertext of the identity authentication information and the digital signature information to the target processing core; after the target processing core receives the ciphertext of the identity authentication information and the digital signature information sent by the first transit processing core, it first verifies the digital signature information using the public key information of the first transit processing core to determine that the above information is sent by the first transit processing core, and then decrypts the ciphertext of the identity authentication information using its own public key information to obtain the identity authentication information. The identity authentication information undergoes multiple layers of encryption and digital signatures during transmission, including from the A core to the first transit processing core, and from the first transit processing core to the target processing core. This multi-layer protection mechanism significantly improves the security of data during transmission and prevents data leakage and tampering. In addition, the use of asymmetric encryption technology for encryption and digital signature ensures the confidentiality and integrity of data transmission.
[0065] Specifically, the transit processing core to be passed in the information transmission is determined according to the first information transmission path. When the identity authentication information is sent from the A core to the first transit processing core, the identity authentication information is authenticated using the key information of the first transit processing core to obtain a verification result. When the verification result indicates that the identity authentication information passes the identity authentication of the first transit processing core, the first transit processing core sends the identity authentication information to the target processing core.
[0066] Based on the above steps S1041 to S1043, a first transit processing core is determined based on the first information transmission path; the identity authentication information is authenticated using the key information of the first transit processing core to obtain a verification result; in response to the verification result indicating that the identity authentication information passes the identity authentication of the first transit processing core, the identity authentication information is sent to the target processing core via the first transit processing core, and the identity authentication information is transmitted step by step along the information transmission path, and identity authentication is performed at each transit processing core. This step-by-step transmission and verification method ensures that the identity authentication information is strictly reviewed at each step in the transmission process, thereby improving the reliability of the identity authentication information, and further increasing the difficulty of leaking the identity authentication information.
[0067] Optionally, in step S105, sending the target vehicle data to the client includes:
[0068] Step S1051, encrypting the target vehicle data using the first private key information and the first public key information to obtain encrypted vehicle data, wherein the first public key information represents the public key information of the client;
[0069] Step S1052, sending the encrypted vehicle data to the client.
[0070] Specifically, when core A receives the target vehicle data sent by the target processing core, core A uses its own private key to encrypt the target vehicle data to obtain the encrypted vehicle data, and uses the public key of the client to digitally sign the target vehicle data to obtain the digital signature information of the target vehicle data; core A sends the encrypted vehicle data and digital signature information to the vehicle DCU; after the vehicle DCU receives the encrypted vehicle data and digital signature information sent by core A, it first uses the public key information of core A to verify the digital signature information to determine that the above information is sent by core A, and then sends the encrypted vehicle data to the client; after the client receives the encrypted vehicle data, it uses its own public key information to decrypt the encrypted vehicle data to obtain the target vehicle data.
[0071] Based on the above steps S1051 to S1052, the target vehicle data is encrypted using the first private key information and the first public key information to obtain encrypted vehicle data; the encrypted vehicle data is sent to the client, and the target vehicle data is encrypted using the private key of core A, ensuring that only the client with the corresponding private key can decrypt the data during transmission, thereby preventing data leakage, and digital signature technology ensures that the data is not tampered with during transmission, and verifies that the source of the data is indeed core A, which helps prevent man-in-the-middle attacks and data forgery.
[0072] Figure 2 is a flow chart of another communication method of a vehicle multi-core microcontroller according to one embodiment of the present invention, wherein the execution subject of the method is a target processing core of the multi-core microcontroller, such as Figure 2 As shown, the method comprises the following steps:
[0073] Step S201, receiving identity authentication information sent by the first processing core based on the first information transmission path;
[0074] Step S202, determining target vehicle data based on identity authentication information;
[0075] Step S203: sending the target vehicle data to the first processing core based on the second information transmission path, wherein the second information transmission path is determined based on the first information transmission path.
[0076] Specifically, after the target processing core receives the identity authentication information sent by the A core, it determines the target vehicle data based on the identity authentication information, and then sends the target vehicle data to the A core based on the second information transmission path, wherein the second information transmission path is determined according to the first information transmission path. For example, the vehicle multi-core microcontroller is a quad-core gigabit multi-core microcontroller, wherein the vehicle data security levels corresponding to the first processing core A core, the second processing core B core, the third processing core C core, and the fourth processing core D core are from low to high. When the target processing core is the D core, the first information transmission path is A core->B core->C core->D core, and the second information transmission path is D core->C core->B core->A core.
[0077] Based on the above steps S201 to S203, a method is adopted in which the identity authentication information sent by the first processing core based on the first information transmission path is received, the target vehicle data is determined based on the identity authentication information, and the target vehicle data is sent to the first processing core of the vehicle multi-core microcontroller based on the second information transmission path. By determining the information transmission path and using an asymmetric encryption method during the transmission process, the purpose of safely transmitting the target vehicle data is achieved, thereby achieving the technical effect of improving the security of the communication method of the vehicle multi-core microcontroller, and further solving the technical problem of low security of the communication method of the vehicle multi-core microcontroller in the related technology.
[0078] Optionally, in step S203, sending the target vehicle data to the first processing core based on the second information transmission path includes:
[0079] Step S2031, obtaining a second transit processing core, wherein the second transit processing core represents a transit processing core of a second information transmission path;
[0080] Step S2032, transmitting the target vehicle data between the second transfer processing cores in an asymmetric encryption manner until the target vehicle data is sent to the first processing core.
[0081] Specifically, the transfer processing core of the second information transmission path is obtained; when the target vehicle data is sent to the A core via the second transfer processing core, the target vehicle data is transmitted between the second transfer processing cores in an asymmetric encryption manner. The transfer processing core to be passed in the information transmission is determined according to the second information transmission path. When the target vehicle data is sent from the target processing core to the second transfer processing core, the key information of the second transfer processing core is used to authenticate the target vehicle data to obtain a verification result. When the verification result indicates that the target vehicle data has passed the identity authentication of the second transfer processing core, the second transfer processing core sends the target vehicle data to the A core.
[0082] Furthermore, when the target processing core sends the target vehicle data to the second transit processing core, the target processing core encrypts the target vehicle data using its own private key to obtain the ciphertext form of the target vehicle data, and digitally signs the target vehicle data using the public key of the second transit processing core to obtain the digital signature information of the target vehicle data; the target processing core sends the ciphertext and digital signature information of the target vehicle data to the second transit processing core; after the second transit processing core receives the ciphertext and digital signature information of the target vehicle data sent by the target processing core, it first uses the public key information of the target processing core to verify the digital signature information to determine that the above information is sent by the target processing core, and then uses its own public key information to decrypt the ciphertext of the target vehicle data to obtain the target vehicle data.
[0083] Specifically, when the second transit processing core sends the target vehicle data to core A, the second transit processing core uses its own private key to encrypt the target vehicle data to obtain the ciphertext form of the target vehicle data, and uses the public key of core A to digitally sign the target vehicle data to obtain the digital signature information of the target vehicle data; the second transit processing core sends the ciphertext and digital signature information of the target vehicle data to core A; after core A receives the ciphertext and digital signature information of the target vehicle data sent by the second transit processing core, it first uses the public key information of the second transit processing core to verify the digital signature information to determine that the above information is sent by the second transit processing core, and then uses its own public key information to decrypt the ciphertext of the target vehicle data to obtain the target vehicle data.
[0084] Based on the above steps S2031 to S2032, a second transit processing core is obtained; the target vehicle data is transmitted between the second transit processing cores in an asymmetric encryption manner until the target vehicle data is sent to the first processing core, and the target vehicle data is transmitted step by step according to the second information transmission path, and identity authentication is performed at each transit processing core. This step-by-step transmission and verification method ensures that the target vehicle data is strictly reviewed at each step in the transmission process, thereby increasing the difficulty of data leakage and the security of the target vehicle data.
[0085] Figure 3 is a flow chart of another communication method of a vehicle multi-core microcontroller according to one embodiment of the present invention, such as Figure 3 As shown, the method comprises the following steps:
[0086] Step S301, receiving first encrypted information sent by the vehicle domain controller;
[0087] Step S302, decrypting the first encrypted information to obtain identity authentication information;
[0088] Step S303, determining a target processing core and a first information transmission path based on the identity authentication information;
[0089] Step S304, sending identity authentication information in an asymmetric encryption manner;
[0090] Step S305, verifying identity authentication information;
[0091] Step S306, sending identity authentication information in an asymmetric encryption manner;
[0092] Step S307, receiving identity authentication information;
[0093] Step S308, determining target vehicle data based on identity authentication information;
[0094] Step S309, sending the target vehicle data in an asymmetric encryption manner;
[0095] Step S310, verifying target vehicle data;
[0096] Step S311, sending the target vehicle data in an asymmetric encryption manner;
[0097] Step S312, sending the encrypted vehicle data to the client.
[0098] Based on the above steps S301 to S312, a method of receiving the first encrypted information sent by the vehicle domain controller is adopted, the first encrypted information is decrypted using the first private key information to obtain identity authentication information, and a first information transmission path is determined based on the identity authentication information, and then the identity authentication information is sent to the target processing core of the vehicle multi-core microcontroller based on the first information transmission path. Finally, in response to receiving the target vehicle data sent by the target processing core, the target vehicle data is sent to the client, so that the client performs vehicle diagnostic operations based on the target vehicle data. By determining the information transmission path based on the security level of the target processing core and using an asymmetric encryption method during the transmission process, the purpose of safely transmitting the target vehicle data is achieved, thereby achieving the technical effect of improving the security of the communication method of the vehicle multi-core microcontroller, and further solving the technical problem of low security of the communication method of the vehicle multi-core microcontroller in the related technology.
[0099] Figure 4 is a schematic diagram of a communication method of a vehicle multi-core microcontroller according to one embodiment of the present invention, such as Figure 4As shown in the figure, the solid line represents the sending process of the identity authentication information, and the dotted line represents the transmission process of the target vehicle data. The communication method of the vehicle multi-core MCU is described by taking the vehicle multi-core MCU as a quad-core gigabit MCU and the target processing core as the D core as an example. The client first uses the public key information of the A core to encrypt the sent identity authentication information to obtain the first encrypted information, and uses its own private key information to digitally sign the sent identity authentication information to generate digital signature information, and then sends the first encrypted information and digital signature information to the vehicle DCU through the vehicle OBD interface. At the same time, the client publishes its own public key information in the cloud so that other devices can obtain it. When the vehicle DCU receives the first encrypted information and digital signature information sent by the client, it obtains the public key information publicly released by the client, and verifies the digital signature information using the public key information of the client to determine that the first encrypted information comes from the client. After the vehicle DCU determines that the identity authentication information sent by the client has passed the verification, it sends the first encrypted information to the A core. After receiving the first encrypted information, the A core uses its own private key information to decrypt the first encrypted information to obtain the identity authentication information. Core A determines that the target processing core is core D based on the identity authentication information, thereby determining the first information transmission path as: core A->core B->core C->core D.
[0100] When core A sends the identity authentication information to core B, core A encrypts the identity authentication information with its own private key to obtain the ciphertext form of the identity authentication information, and uses core B's public key to digitally sign the identity authentication information to obtain the digital signature information of the identity authentication information; core A sends the ciphertext of the identity authentication information and the digital signature information to core B; after core B receives the ciphertext of the identity authentication information and the digital signature information sent by core A, it first verifies the digital signature information with the public key information of core A to confirm that the above information is sent by core A, and then decrypts the ciphertext of the identity authentication information with its own public key information to obtain the identity authentication information. Using the same encryption process, core B sends the identity authentication information to core C. When the C core sends the identity authentication information to the D core, the C core uses its own private key to encrypt the identity authentication information to obtain the ciphertext form of the identity authentication information, and uses the public key of the D core to digitally sign the identity authentication information to obtain the digital signature information of the identity authentication information; the C core sends the ciphertext of the identity authentication information and the digital signature information to the D core; after the D core receives the ciphertext of the identity authentication information and the digital signature information sent by the first transit processing core, it first uses the public key information of the C core to verify the digital signature information to determine that the above information is sent by the C core, and then uses its own public key information to decrypt the ciphertext of the identity authentication information to obtain the identity authentication information.
[0101] After receiving the identity authentication information sent by the A core, the D core determines the target vehicle data based on the identity authentication information, and then sends the target vehicle data to the A core based on the second information transmission path, wherein the second information transmission path is D core->C core->B core->A core. The encryption method in the process of sending the target vehicle data is the same as the encryption method in the first information transmission path, which will not be repeated here. When the A core receives the target vehicle data sent by the D core, the A core encrypts the target vehicle data using its own private key to obtain the encrypted vehicle data, and at the same time uses the public key of the client to digitally sign the target vehicle data to obtain the digital signature information of the target vehicle data; the A core sends the encrypted vehicle data and the digital signature information to the vehicle DCU; after the vehicle DCU receives the encrypted vehicle data and the digital signature information sent by the A core, it first uses the public key information of the A core to verify the digital signature information to determine that the above information is sent by the A core, and then sends the encrypted vehicle data to the client; after the client receives the encrypted vehicle data, it uses its own public key information to decrypt the encrypted vehicle data to obtain the target vehicle data; the client uses the target vehicle data to perform diagnostic operations on the vehicle.
[0102] Based on the above embodiments, a method of receiving the first encrypted information sent by the vehicle domain controller is adopted, the first encrypted information is decrypted using the first private key information to obtain identity authentication information, and the first information transmission path is determined based on the identity authentication information, and then the identity authentication information is sent to the target processing core of the vehicle multi-core microcontroller based on the first information transmission path. Finally, in response to receiving the target vehicle data sent by the target processing core, the target vehicle data is sent to the client, so that the client performs vehicle diagnostic operations based on the target vehicle data. By determining the information transmission path based on the security level of the target processing core and using an asymmetric encryption method during the transmission process, the purpose of safely transmitting the target vehicle data is achieved, thereby achieving the technical effect of improving the security of the communication method of the vehicle multi-core microcontroller, and further solving the technical problem of low security of the communication method of the vehicle multi-core microcontroller in the related technology.
[0103] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0104] In an embodiment of the present invention, a communication device for a vehicle multi-core microcontroller is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated hereafter. As used below, the term "module" may be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0105] Figure 5 1 is a block diagram of a communication device of a vehicle multi-core microcontroller according to one embodiment of the present invention. Figure 5 As shown, the device comprises:
[0106] The receiving module 501 is used to receive first encrypted information sent by the vehicle domain controller, wherein the first encrypted information is obtained by encrypting the identity authentication information by the client, and the identity authentication information is used to determine the target vehicle data;
[0107] The decryption module 502 is used to decrypt the first encrypted information using the first private key information to obtain identity authentication information;
[0108] A determination module 503, configured to determine a first information transmission path based on the identity authentication information, wherein the first information transmission path is determined based on a security level of a target processing core in a multi-core microcontroller of the vehicle;
[0109] A sending module 504, configured to send the identity authentication information to a target processing core based on the first information transmission path;
[0110] The sending module 504 is further configured to send the target vehicle data to the client in response to receiving the target vehicle data sent by the target processing core, so that the client performs a vehicle diagnosis operation based on the target vehicle data.
[0111] Optionally, the determination module 503 is also used to: determine the target processing core based on the identity authentication information; in response to the security level of the target processing core being higher than the first processing core, determine the first information transmission path according to the security level ranking of the processing cores in the vehicle multi-core microcontroller, wherein the security level ranking indicates that the security level of the processing core is from low to high.
[0112] Optionally, the determination module 503 is also used to determine the first transit processing core based on the first information transmission path, wherein the security level of the first transit processing core is between the first processing core and the target processing core; the communication device of the vehicle multi-core microcontroller also includes a processing module 505, which is used to authenticate the identity authentication information using the key information of the first transit processing core to obtain a verification result, wherein the key information of the first transit processing core is determined based on asymmetric encryption; the determination module 503 is also used to send the identity authentication information to the target processing core via the first transit processing core in response to the verification result indicating that the identity authentication information has passed the identity authentication of the first transit processing core.
[0113] Optionally, the communication device of the vehicle multi-core microcontroller also includes an encryption module 506, which is used to encrypt the target vehicle data using the first private key information and the first public key information to obtain encrypted vehicle data, wherein the first public key information represents the public key information of the client; the sending module 504 is also used to send the encrypted vehicle data to the client.
[0114] Figure 6 is a structural block diagram of another communication device of a vehicle multi-core microcontroller according to one embodiment of the present invention, such as Figure 6 As shown, the device comprises:
[0115] A receiving module 601, configured to receive identity authentication information sent by the first processing core based on the first information transmission path;
[0116] A determination module 602, configured to determine target vehicle data based on identity authentication information;
[0117] The sending module 603 is used to send the target vehicle data to the first processing core based on the second information transmission path, wherein the second information transmission path is determined based on the first information transmission path.
[0118] Optionally, the communication device of the vehicle multi-core microcontroller also includes an acquisition module 604, which is used to acquire a second transit processing core, wherein the second transit processing core represents a transit processing core of a second information transmission path; the sending module 603 is also used to transmit target vehicle data between the second transit processing cores in an asymmetric encryption manner until the target vehicle data is sent to the first processing core.
[0119] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0120] According to one embodiment of the present invention, there is also provided an electronic device, comprising: a memory storing an executable program; and a processor for running the program, wherein the above-mentioned communication method of the vehicle multi-core microcontroller is executed when the program is running.
[0121] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0122] Step S1, receiving first encrypted information sent by a vehicle domain controller, wherein the first encrypted information is obtained by encrypting identity authentication information by a client, and the identity authentication information is used to determine target vehicle data;
[0123] Step S2, using the first private key information to decrypt the first encrypted information to obtain identity authentication information;
[0124] Step S3, determining a first information transmission path based on the identity authentication information, wherein the first information transmission path is determined based on a security level of a target processing core in a multi-core microcontroller of the vehicle;
[0125] Step S4, sending the identity authentication information to the target processing core based on the first information transmission path;
[0126] Step S5, in response to receiving the target vehicle data sent by the target processing core, sending the target vehicle data to the client, so that the client performs a vehicle diagnosis operation based on the target vehicle data.
[0127] According to one embodiment of the present invention, a non-volatile storage medium is further provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned communication method of the vehicle multi-core microcontroller when running.
[0128] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
[0129] Step S1, receiving first encrypted information sent by a vehicle domain controller, wherein the first encrypted information is obtained by encrypting identity authentication information by a client, and the identity authentication information is used to determine target vehicle data;
[0130] Step S2, using the first private key information to decrypt the first encrypted information to obtain identity authentication information;
[0131] Step S3, determining a first information transmission path based on the identity authentication information, wherein the first information transmission path is determined based on a security level of a target processing core in a multi-core microcontroller of the vehicle;
[0132] Step S4, sending the identity authentication information to the target processing core based on the first information transmission path;
[0133] Step S5, in response to receiving the target vehicle data sent by the target processing core, sending the target vehicle data to the client, so that the client performs a vehicle diagnosis operation based on the target vehicle data.
[0134] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0135] According to one embodiment of the present invention, a computer program product is also provided, including a computer program, and when the computer program is executed by a processor, the communication method of the vehicle multi-core microcontroller is implemented.
[0136] Optionally, in this embodiment, the computer program product may be configured as a computer program for executing the following steps:
[0137] Step S1, receiving first encrypted information sent by a vehicle domain controller, wherein the first encrypted information is obtained by encrypting identity authentication information by a client, and the identity authentication information is used to determine target vehicle data;
[0138] Step S2, using the first private key information to decrypt the first encrypted information to obtain identity authentication information;
[0139] Step S3, determining a first information transmission path based on the identity authentication information, wherein the first information transmission path is determined based on a security level of a target processing core in a multi-core microcontroller of the vehicle;
[0140] Step S4, sending the identity authentication information to the target processing core based on the first information transmission path;
[0141] Step S5, in response to receiving the target vehicle data sent by the target processing core, sending the target vehicle data to the client, so that the client performs a vehicle diagnosis operation based on the target vehicle data.
[0142] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0143] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0144] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0145] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0146] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0147] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0148] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0149] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A communication method for a vehicle multi-core microcontroller, characterized in that: include: Receiving first encrypted information sent by the vehicle domain controller, wherein the first encrypted information is obtained by encrypting identity authentication information by the client, and the identity authentication information is used to determine the target vehicle data; Decrypting the first encrypted information using the first private key information to obtain the identity authentication information; Determining a first information transmission path based on the identity authentication information, wherein the first information transmission path is determined based on a security level of a target processing core in a multi-core microcontroller of the vehicle; sending the identity authentication information to the target processing core based on the first information transmission path; In response to receiving the target vehicle data sent by the target processing core, the target vehicle data is sent to the client, so that the client performs a vehicle diagnostic operation based on the target vehicle data.
2. The communication method of a vehicle multi-core microcontroller according to claim 1, characterized in that: Determining the first information transmission path based on the identity authentication information includes: Determining the target processing core based on the identity authentication information; In response to the target processing core having a higher security level than the first processing core, the first information transmission path is determined according to the security level ranking of the processing cores in the vehicle multi-core microcontroller, wherein the security level ranking indicates that the security levels of the processing cores are from low to high.
3. The communication method of a vehicle multi-core microcontroller according to claim 1, characterized in that: The target processing core for sending the identity authentication information to the vehicle multi-core microcontroller based on the information transmission path includes: Determining a first transit processing core based on the first information transmission path, wherein a security level of the first transit processing core is between the first processing core and the target processing core; authenticating the identity authentication information using key information of the first transit processing core to obtain a verification result, wherein the key information of the first transit processing core is determined based on asymmetric encryption; In response to the verification result indicating that the identity authentication information passes the identity authentication of the first transit processing core, the identity authentication information is sent to the target processing core via the first transit processing core.
4. The communication method of a vehicle multi-core microcontroller according to claim 1, characterized in that: Sending the target vehicle data to the client comprises: Encrypting the target vehicle data using the first private key information and the first public key information to obtain encrypted vehicle data, wherein the first public key information represents the public key information of the client; The encrypted vehicle data is sent to the client.
5. A communication method for a vehicle multi-core microcontroller, characterized in that: include: Receiving identity authentication information sent by the first processing core based on the first information transmission path; Determining target vehicle data based on the identity authentication information; The target vehicle data is sent to the first processing core based on a second information transmission path, wherein the second information transmission path is determined based on the first information transmission path.
6. The communication method of a vehicle multi-core microcontroller according to claim 5, characterized in that: Sending the target vehicle data to the first processing core based on the second information transmission path includes: Acquire a second transit processing core, wherein the second transit processing core represents a transit processing core of the second information transmission path; The target vehicle data is transmitted between the second transit processing cores in an asymmetric encryption manner until the target vehicle data is sent to the first processing core.
7. A communication device for a vehicle multi-core microcontroller, characterized in that: include: A receiving module, configured to receive first encrypted information sent by a vehicle domain controller, wherein the first encrypted information is obtained by encrypting identity authentication information by a client, and the identity authentication information is used to determine target vehicle data; A decryption module, used to decrypt the first encrypted information using the first private key information to obtain the identity authentication information; a determination module, configured to determine a first information transmission path based on the identity authentication information, wherein the first information transmission path is determined based on a security level of a target processing core in a multi-core microcontroller of the vehicle; A sending module, configured to send the identity authentication information to the target processing core based on the first information transmission path; The sending module is further used to send the target vehicle data to the client in response to receiving the target vehicle data sent by the target processing core, so that the client performs a vehicle diagnosis operation based on the target vehicle data.
8. A communication device for a vehicle multi-core microcontroller, characterized in that: include: A receiving module, used for receiving identity authentication information sent by the first processing core based on the first information transmission path; A determination module, used to determine target vehicle data based on the identity authentication information; A sending module is used to send the target vehicle data to the first processing core based on a second information transmission path, wherein the second information transmission path is determined based on the first information transmission path.
9. An electronic device, characterized in that: include: A memory storing an executable program; A processor, used to run the program, wherein the program, when running, executes the communication method for a vehicle multi-core microcontroller as described in any one of claims 1 to 6.
10. A non-volatile storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the communication method for a vehicle multi-core microcontroller as described in any one of claims 1 to 6 when running.
11. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the communication method of the vehicle multi-core microcontroller according to any one of claims 1 to 6.
