Communication methods, devices, storage media and vehicles for in-vehicle Ethernet

By utilizing multiple computing cores to collaboratively process data packets during the vehicle's communication process, the vehicle-mounted Ethernet communication system achieves high computing power and low latency, solving the problem of existing technologies being unable to balance computing power and latency.

CN116527711BActive Publication Date: 2026-03-13CHINA FAW CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-28
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

Existing vehicle Ethernet communication systems cannot balance high computing power and low latency when using only a single or multiple computing cores for communication.

Method used

In the first communication process of the vehicle, the first processing core is used to parse the data packet to obtain a general data packet, and other processing cores are used to convert it into target data to realize the calculation results of the vehicle function. At the same time, in the second communication process, multiple processing cores are used to convert the data into data packets that meet the preset socket type and send them.

Benefits of technology

It improves the computing power of the vehicle Ethernet communication system while reducing system latency, solving the problem that single-core or multi-core communication cannot simultaneously achieve high computing power and low latency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116527711B_ABST
    Figure CN116527711B_ABST
Patent Text Reader

Abstract

This invention discloses a communication method, apparatus, storage medium, and vehicle for in-vehicle Ethernet. The method includes: during the execution of a first communication process in the vehicle, acquiring a data packet to be received, wherein the first communication process is a process for receiving messages based on the Ethernet communication protocol; using a first processing core to parse the data packet to be received to obtain a general data packet, wherein the first processing core is any one of multiple processing cores, and the general data packet is a data packet satisfying a preset socket type; using other processing cores to convert the acquired general data packet into target data, wherein the target data is used to calculate the implementation result of vehicle functions; and executing the first communication process based on the target data. This invention solves the technical problem of in-vehicle Ethernet communication systems provided by related technologies, which cannot simultaneously achieve high computing power and low latency due to the use of only a single or multiple processing cores for communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automotive communication, and more specifically, to a communication method, apparatus, storage medium, and vehicle for in-vehicle Ethernet. Background Technology

[0002] With the continuous development of automobile manufacturing technology, the amount of data generated and required to be transmitted during vehicle operation is increasing. In order to improve the efficiency of vehicle data transmission and processing, many vehicles are now equipped with in-vehicle Ethernet communication systems. These systems can transmit vehicle data at high speeds (100-150Mb / s), thereby facilitating the implementation of vehicle functions (such as on-board diagnostic systems, in-vehicle infotainment systems, and advanced driver assistance systems) and enhancing the user experience.

[0003] However, the in-vehicle Ethernet communication system provided by the relevant technologies has the following problems: using only a single processing core to transmit and process vehicle data results in poor system computing power and low efficiency in data transmission and processing; or using only multiple processing cores to transmit and process vehicle data results in large system latency, that is, poor timeliness of data transmission and processing, which in turn leads to large system errors.

[0004] As can be seen from the above analysis, the in-vehicle Ethernet communication system provided by the aforementioned technologies only uses a single or multiple processing cores for communication, which leads to the inability to balance high computing power and low latency. There is currently no effective solution to this problem. Summary of the Invention

[0005] This invention provides a vehicle-mounted Ethernet communication method, apparatus, storage medium, and vehicle, to at least solve the technical problem that the vehicle-mounted Ethernet communication system provided by related technologies cannot simultaneously achieve high computing power and low latency due to the use of only a single or multiple computing cores for communication.

[0006] According to one aspect of the present invention, a communication method for in-vehicle Ethernet is provided, comprising:

[0007] During the execution of the vehicle's first communication process, a data packet to be received is acquired. This first communication process is a message receiving process based on the Ethernet communication protocol. It executes a program corresponding to a vehicle function, and the data packet to be received is determined by the vehicle function. A first processing core is used to parse the data packet to obtain a general data packet. The first processing core can be any one of multiple processing cores, and the general data packet is a data packet that meets a preset socket type. Other processing cores are used to convert the acquired general data packet into target data. These other processing cores are one or more processing cores other than the first processing core. The target data is used to calculate the implementation result of the vehicle function. Based on the target data, the first communication process is executed.

[0008] Optionally, the first processing core is used to parse the data packet to be received to obtain a general data packet, including: using the first processing core to parse the data packet to be received to obtain a 5-tuple data packet, wherein the 5-tuple data packet is used to determine the 5-tuple information of the data packet to be received; and using the first processing core to parse the 5-tuple data packet to obtain a general data packet.

[0009] Optionally, the communication method of the vehicle-mounted Ethernet also includes: using any one of the multiple processing cores to parse the data packet to be received to obtain a general data packet; using any one of the processing cores to obtain the general data packet and convert the general data packet into target data.

[0010] Optionally, the communication method of vehicular Ethernet further includes: in response to protocol conversion requirements, obtaining protocol conversion rules, wherein the protocol conversion rules are used to determine the target protocol type of the general data packet and the generation rules of the target received data packet, wherein the target received data packet is a data packet that satisfies the target protocol type; processing the general data packet based on the generation rules to generate the target received data packet; and converting the target received data packet using a first processing core or any processing core to obtain the target data.

[0011] Optionally, the vehicle-mounted Ethernet communication method further includes: acquiring data to be sent in a second communication process of the vehicle, wherein the second communication process is a process for sending messages based on the Ethernet communication protocol, the second communication process is used to implement a vehicle function, and the data to be sent is determined by the vehicle function; using one or more of the multiple processing cores, converting the data to be sent into a general data packet, wherein the general data packet is a data packet that meets a preset socket type; using any one of the multiple processing cores, acquiring the general data packet, and processing the general data packet to obtain a target data packet, wherein the target data packet is the data packet to be sent corresponding to the second communication process; and sending the target data packet based on the Ethernet communication protocol.

[0012] Optionally, a general data packet can be obtained using any one of the multiple processing cores, and the general data packet can be processed to obtain the target data packet. This includes: encapsulating the general data packet using any one of the multiple processing cores to obtain a 5-tuple data packet, wherein the 5-tuple data packet is used to determine the 5-tuple information of the general data packet; and encapsulating the 5-tuple data packet using any one of the multiple processing cores to obtain the target data packet.

[0013] Optionally, the communication method of vehicular Ethernet further includes: in response to protocol conversion requirements, obtaining protocol conversion rules, wherein the protocol conversion rules are used to determine the target protocol type of the general data packet and the generation rules of the target transmission data packet, wherein the target transmission data packet is a data packet that satisfies the target protocol type; and processing the general data packet based on the generation rules to generate the target transmission data packet.

[0014] According to another aspect of the present invention, an in-vehicle Ethernet communication device is also provided, comprising:

[0015] The acquisition module is used to acquire data packets to be received during the operation of the vehicle's first communication process. The first communication process is a process that receives messages based on the Ethernet communication protocol and is used to execute a program corresponding to a vehicle function. The data packets to be received are determined by the vehicle function. The first parsing module is used to parse the data packets to be received using a first processing core to obtain a general data packet. The first processing core is any one of multiple processing cores, and the general data packet is a data packet that meets a preset socket type. The first conversion module is used to convert the acquired general data packet into target data using other processing cores. The other processing cores are one or more processing cores other than the first processing core. The target data is used to calculate the implementation result of the vehicle function. The execution module is used to execute the first communication process based on the target data.

[0016] Optionally, the first parsing module is further configured to: use the first processing core to parse the data packet to be received to obtain a 5-tuple data packet, wherein the 5-tuple data packet is used to determine the 5-tuple information of the data packet to be received; and use the first processing core to parse the 5-tuple data packet to obtain a general data packet.

[0017] Optionally, the communication method of the vehicle-mounted Ethernet further includes: a second parsing module, used to parse the data packet to be received using any one of the multiple processing cores to obtain a general data packet; using any one of the processing cores to obtain the general data packet and convert the general data packet into target data.

[0018] Optionally, the communication method of the vehicle-mounted Ethernet further includes: a second conversion module, used to obtain protocol conversion rules in response to protocol conversion requirements, wherein the protocol conversion rules are used to determine the target protocol type of the general data packet and the generation rules of the target received data packet, wherein the target received data packet is a data packet that satisfies the target protocol type; based on the generation rules, the general data packet is processed to generate the target received data packet; and the target received data packet is converted using the first processing core or any processing core to obtain the target data.

[0019] Optionally, the vehicle-mounted Ethernet communication method further includes: a sending module, used to acquire data to be sent in the second communication process of the vehicle, wherein the second communication process is a process of sending messages based on the Ethernet communication protocol, the second communication process is used to implement a vehicle function, and the data to be sent is determined by the vehicle function; using one or more of the multiple processing cores, converting the data to be sent into a general data packet, wherein the general data packet is a data packet that meets a preset socket type; using any one of the multiple processing cores, acquiring the general data packet, and processing the general data packet to obtain a target data packet, wherein the target data packet is the data packet to be sent corresponding to the second communication process; and sending the target data packet based on the Ethernet communication protocol.

[0020] Optionally, the above-mentioned sending module is further configured to: encapsulate a general data packet using any one of the multiple processing cores to obtain a 5-tuple data packet, wherein the 5-tuple data packet is used to determine the 5-tuple information of the general data packet; and encapsulate the 5-tuple data packet using any one of the multiple processing cores to obtain a target sending data packet.

[0021] Optionally, the communication method of the vehicle-mounted Ethernet further includes: a third conversion module, used to obtain protocol conversion rules in response to protocol conversion requirements, wherein the protocol conversion rules are used to determine the target protocol type of the general data packet and the generation rules of the target general data packet, wherein the target general data packet is a data packet that meets the target protocol type; and based on the generation rules, the general data packet is processed to generate the target general data packet.

[0022] According to another aspect of the present invention, a storage medium is also provided, the storage medium including a stored program, wherein, when the program is running, it controls the device where the storage medium is located to execute any of the aforementioned vehicle Ethernet communication methods.

[0023] According to another aspect of the present invention, a vehicle is also provided, including an on-board memory and an on-board processor, wherein the on-board memory stores a computer program and the on-board processor is configured to run the computer program to execute the on-board Ethernet communication method of any of the foregoing embodiments.

[0024] In this embodiment of the invention, during the operation of the vehicle's first communication process, a data packet to be received is first acquired. The first communication process is a process that receives messages based on the Ethernet communication protocol. The first communication process is used to execute a program corresponding to a vehicle function. The data packet to be received is determined by the vehicle function. Next, the data packet to be received is parsed using a first processing core to obtain a general data packet. The first processing core is any one of multiple processing cores. The general data packet is a data packet that meets a preset socket type. Then, other processing cores are used to convert the acquired general data packet into target data. The other processing cores are one or more processing cores other than the first processing core. The target data is used to calculate the implementation result of the vehicle function. Finally, the first communication process is executed based on the target data.

[0025] It is easy to understand that the method provided by the present invention processes (parses / converts) the data packets to be received and general data packets in the first communication process by utilizing the first processing core and the other processing cores respectively. This achieves the goal of improving the computing power of the vehicle Ethernet communication system while reducing the system latency. Thus, it realizes the technical effect of reducing system latency based on a single processing core (the first processing core) and improving system computing power based on multiple processing cores (the other processing cores). This solves the problem that the vehicle Ethernet communication system provided by related technologies cannot simultaneously achieve high computing power and low latency due to using only a single or multiple processing cores for communication. Attached Figure Description

[0026] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this invention, illustrate exemplary embodiments of the invention and are used to explain the invention, but do not constitute an undue limitation of the invention. In the drawings:

[0027] Figure 1 This is a structural block diagram of a vehicle terminal for an optional communication method for in-vehicle Ethernet according to an embodiment of the present invention.

[0028] Figure 2 This is a schematic diagram of an optional in-vehicle Ethernet communication system according to an embodiment of the present invention;

[0029] Figure 3 This is a flowchart of a vehicle-mounted Ethernet communication method according to an embodiment of the present invention;

[0030] Figure 4 This is a schematic diagram of an optional in-vehicle Ethernet communication process according to an embodiment of the present invention;

[0031] Figure 5This is a schematic diagram of another optional vehicle Ethernet communication process according to an embodiment of the present invention;

[0032] Figure 6 This is a structural block diagram of an optional in-vehicle Ethernet communication device according to an embodiment of the present invention;

[0033] Figure 7 This is a structural block diagram of another optional in-vehicle Ethernet communication device according to an embodiment of the present invention;

[0034] Figure 8 This is a structural block diagram of another optional vehicle Ethernet communication device according to an embodiment of the present invention;

[0035] Figure 9 This is a structural block diagram of another optional vehicle Ethernet communication device according to an embodiment of the present invention;

[0036] Figure 10 This is a structural block diagram of another optional vehicle-mounted Ethernet communication device according to an embodiment of the present invention. Detailed Implementation

[0037] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0038] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0039] According to an embodiment of the present invention, a method embodiment of a communication method for in-vehicle Ethernet is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0040] Figure 1 This is a structural block diagram of a vehicle terminal for an optional communication method for in-vehicle Ethernet according to an embodiment of the present invention, such as... Figure 1 As shown, the vehicle terminal 10 (or a mobile device 10 that communicates with the vehicle) may include one or more processors 102 (processors 102 may include, but are not limited to, processing devices such as microprocessors (MCUs) or field-programmable gate arrays (FPGAs),) a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display device 110, an input / output device 108 (i.e., I / O devices), a Universal Serial Bus (USB) port (which may be included as one of the ports of a computer bus, not shown in the figure), a network interface (not shown in the figure), a power supply (not shown in the figure), and / or a camera (not shown in the figure). Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the vehicle terminal 1 described above. For example, the vehicle terminal 10 may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0041] It should be noted that the aforementioned one or more processors 102 and / or other data processing circuits may be embodied, in whole or in part, as software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuitry may be a single, independent processing module, or may be integrated, in whole or in part, into any other element within the vehicle terminal 10 (or mobile device).

[0042] The memory 104 can be used to store software programs and modules for application software, such as the program instructions / data storage device corresponding to the vehicle Ethernet communication method in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, thereby realizing the aforementioned vehicle Ethernet communication method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the vehicle terminal 10 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0043] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of the vehicle terminal 10. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module, used for wireless communication with the Internet.

[0044] Figure 2 This is a schematic diagram of an optional in-vehicle Ethernet communication system according to an embodiment of the present invention, such as... Figure 2 As shown, the vehicle-mounted Ethernet communication system includes: a power module 001, a monitoring module 002, an Ethernet transceiver 003, and a multi-core microcontroller 200. The multi-core microcontroller 200 includes: a computing core (1, 2, ..., n), a data memory 201, a program memory 202, and an Ethernet controller 203.

[0045] Still as Figure 2As shown, in the aforementioned vehicle-mounted Ethernet communication system, the power supply module 001 provides safe power to the monitoring module 002, Ethernet transceiver 003, and multi-core microcontroller 200. The monitoring module 002 monitors the status of system components such as the power supply module 001, Ethernet transceiver 003, and multi-core microcontroller 200. When a certain safety hazard occurs, causing Ethernet communication failure, the monitoring module 002 can control the entire vehicle-mounted Ethernet communication system to enter a safe state and simultaneously shut down the Ethernet transceiver 003. The Ethernet transceiver 003 connects to the internal Ethernet bus of the target vehicle where the vehicle-mounted Ethernet communication system is located and enables the exchange of Ethernet data and electrical signals between the Ethernet bus and the Ethernet data. Phase conversion; the multi-core microcontroller 200 is used to communicate with the Ethernet transceiver 303 to process the acquired Ethernet data to realize the vehicle function corresponding to the Ethernet data; the computing cores (1, 2, ..., n) are used to run one or more software programs of the target vehicle; the data memory 201 is used to store the data required for the operation of the aforementioned one or more software programs. It should also be noted that the data memory 201 contains multiple data storage blocks, each of which is used to store the data of the corresponding computing core; the program memory 202 is used to store the program required for the operation of the aforementioned one or more software programs; the Ethernet controller 203 is used to realize the mutual conversion between Ethernet data and Ethernet protocol.

[0046] Under the above operating environment, the embodiments of the present invention provide as follows: Figure 3 The communication method of the in-vehicle Ethernet shown is as follows: Figure 3 This is a flowchart of a vehicle-mounted Ethernet communication method according to an embodiment of the present invention, such as... Figure 3 As shown above, Figure 3 The embodiments shown may include at least the following implementation steps, that is, the technical solutions implemented by steps S301 to S304.

[0047] Step S301: During the operation of the vehicle's first communication process, a data packet to be received is acquired. The first communication process is a process that receives messages based on the Ethernet communication protocol. The first communication process is used to execute a program corresponding to a vehicle function. The data packet to be received is determined by the vehicle function.

[0048] In one optional solution provided by step S301 above, the Ethernet communication protocol is the communication rule agreed upon by the two communicating parties corresponding to the first communication process. This Ethernet communication protocol may include, but is not limited to: Transmission Control Protocol (TCP), Internet Protocol (IP), User Datagram Protocol (UDP), and Internet Control Message Protocol (ICMP). The data packet to be received may be a data packet that conforms to the above Ethernet communication protocol, and may include, but is not limited to: TCP / IP data packets and UDP data packets. Furthermore, the vehicle functions may include, but are not limited to: infotainment functions, autonomous driving functions, system updates and upgrades, and intelligent human-machine interaction functions.

[0049] Figure 4 This is a schematic diagram of an optional in-vehicle Ethernet communication process according to an embodiment of the present invention, such as... Figure 2 , Figure 4 As shown, an optional vehicle-mounted Ethernet communication system provided by the present invention includes: an Ethernet driver module 401, used to configure the Ethernet controller 203, write Ethernet software data into the Ethernet controller 203, and read data from the Ethernet controller 203 into the corresponding software; and an Ethernet interface module 402, used to obtain TCP / IP packets, UDP packets, and other data packets (the aforementioned data packets to be received) from the Ethernet driver module 401, and to provide Ethernet communication operation information. It should also be noted that the Ethernet communication operation information may include, but is not limited to: message reception notification, message transmission notification, and hardware fault diagnosis information.

[0050] Step S302: Using the first processing core, the received data packet is parsed to obtain a general data packet. The first processing core is any one of multiple processing cores, and the general data packet is a data packet that meets the preset socket type.

[0051] In one optional solution provided by step S302 above, the preset socket type can be a socket type pre-set by a technician. It should also be noted that the preset socket type can include, but is not limited to: stream socket, datagram socket, and raw socket.

[0052] Still as Figure 4As shown, the optional vehicle-mounted Ethernet communication system provided by the present invention further includes: an Ethernet communication protocol stack module 403, used to obtain TCP / IP data packets, UDP data packets, and other data packets from the Ethernet interface module 402, and parse the obtained data packets into 5-tuple data packets; and a network nesting word module 404, used to obtain the aforementioned 5-tuple data packets from the Ethernet protocol stack module 403, and parse the 5-tuple data packets to obtain a general data packet that satisfies the above-mentioned preset socket type.

[0053] Step S303: Using other processing cores, the acquired general data packet is converted into target data. The other processing cores are one or more processing cores other than the first processing core. The target data is used to calculate the implementation result of the vehicle function.

[0054] In one optional solution provided by step S303 above, the target data can be one or more functional data corresponding to the vehicle function. Specifically, for example, the audio (video) signal corresponding to the in-vehicle audio (video) playback function, the available parking space signal and the motion signal corresponding to the target parking space corresponding to the automatic parking assist function, etc. The above implementation result can be the actual effect achieved by the vehicle function after calculating (or processing) the target data. Specifically, for example, if the vehicle function is an automatic parking assist function, based on the motion signal corresponding to the target parking space of the automatic parking assist function, the vehicle is controlled to move towards the target parking space. During this process, it can be determined whether the vehicle has reached the target parking space.

[0055] Step S304: Based on the target data, execute the first communication process.

[0056] In the optional solution provided by the present invention, a first communication process is executed based on the target data. Specifically, the method may be as follows: assuming that the first communication process is an audio switching process and the target data is an audio switching signal, after the vehicle's audio control device obtains the audio switching signal, it parses the audio switching signal to determine the audio switching operation (such as switching to the next audio or switching to the previous audio), and further executes the audio switching operation to realize the audio switching function.

[0057] In this embodiment of the invention, during the operation of the vehicle's first communication process, a data packet to be received is first acquired. The first communication process is a process that receives messages based on the Ethernet communication protocol. The first communication process is used to execute a program corresponding to a vehicle function. The data packet to be received is determined by the vehicle function. Next, the data packet to be received is parsed using a first processing core to obtain a general data packet. The first processing core is any one of multiple processing cores. The general data packet is a data packet that meets a preset socket type. Then, other processing cores are used to convert the acquired general data packet into target data. The other processing cores are one or more processing cores other than the first processing core. The target data is used to calculate the implementation result of the vehicle function. Finally, the first communication process is executed based on the target data.

[0058] It is easy to understand that the method provided by the present invention processes (parses / converts) the data packets to be received and general data packets in the first communication process by utilizing the first processing core and the other processing cores respectively. This achieves the goal of improving the computing power of the vehicle Ethernet communication system while reducing the system latency. Thus, it realizes the technical effect of reducing system latency based on a single processing core (the first processing core) and improving system computing power based on multiple processing cores (the other processing cores). This solves the problem that the vehicle Ethernet communication system provided by related technologies cannot simultaneously achieve high computing power and low latency due to using only a single or multiple processing cores for communication.

[0059] The methods described in the embodiments of the present invention will be further described below.

[0060] In an optional embodiment, in step S302, the first processing core is used to parse the received data packet to obtain a general data packet, including:

[0061] Step S3021: Using the first processing core, the data packet to be received is parsed to obtain a quintuple data packet, wherein the quintuple data packet is used to determine the quintuple information of the data packet to be received.

[0062] Step S3022: Using the first processing core, the quintuple data packet is parsed to obtain a general data packet.

[0063] In one optional scheme provided by steps S3021 to S3022 above, the above-mentioned five-tuple information may be the source IP address, source port, destination IP address, destination port, and transport layer protocol of the data packet to be received.

[0064] The following combination Figure 4 The above methods will be further explained.

[0065] Still as Figure 4 As shown, during the operation of the first communication process (i.e., receiving Ethernet packets), in the computing core 1, the Ethernet driver module 401 reads Ethernet packet data from the Ethernet controller 203 to obtain the data packet to be received (such as TCP / IP data packet or UDP data packet). The Ethernet interface module 402 obtains the data packet to be received from the Ethernet driver module 401. Then, the Ethernet communication protocol stack module 403 obtains the data packet to be received from the Ethernet interface module 402. The Ethernet communication protocol stack module 403 parses the data packet to be received to obtain a 5-tuple data packet. Further, the network nesting word module 404 obtains the aforementioned 5-tuple data packet from the Ethernet communication protocol stack module 403 and parses it to obtain a general data packet. Further, the data packet routing module 406.1 obtains the general data packet from the network nesting word module 404.

[0066] In an optional embodiment, the in-vehicle Ethernet communication method further includes:

[0067] Step S3031: Use any one of the multiple processing cores to parse the received data packet to obtain a general data packet;

[0068] Step S3032: Use any one of the processing cores to obtain a general data packet and convert the general data packet into target data.

[0069] The following combination Figure 4 The above methods will be further explained.

[0070] Still as Figure 4 As shown, during the operation of the first communication process, when the Ethernet communication protocol stack module 403 and the application software group 408.1 are in the same processing core (i.e., processing core 1), the data packet routing module 406.1 obtains the general data packet and transmits it to the communication interface module 407.1. Then, the communication interface module 407.1 converts the obtained general data packet into target data. Further, the application software group 408.1 obtains the target data from the communication interface module 407.1 and performs calculations (or other processing) on ​​the target data to realize the vehicle function corresponding to the first communication process.

[0071] Still as Figure 4As shown, during the operation of the first communication process, when the Ethernet communication protocol stack module 403 and the application software group 408.2 are on different processing cores, the packet routing module 406.1 obtains the general data packet and writes it into the data storage block 409.2 of the data storage 409. Then, the packet routing module 406.2 obtains the general data packet from the data storage block 409.2 and transmits it to the communication interface module 407.2. Further, the communication interface module 407.2 converts the general data packet into target data. Then, the application software group 408.2 obtains the target data from the communication interface module 407.2 and performs calculations (or other processing) on ​​the target data to realize the vehicle function corresponding to the first communication process.

[0072] Still as Figure 4 As shown, it should also be noted that the data storage device 409 is equivalent to Figure 2 The data storage 201 shown is used to store the data required for the application software group (408.1, 408.2, ..., 408.n) to run. Each data storage block in the data storage 409 is used to store the data of the corresponding computing core. Specifically, for example, data storage block 409.1 is used to store the data of computing core 1, data storage block 409.2 is used to store the data of computing core 2, and data storage block 409.n is used to store the data of computing core n.

[0073] In the above optional embodiments, the technical effect that can be achieved is as follows: During the operation of the first communication process, when the Ethernet communication protocol stack module and the application software group are in different computing cores, a part of the first communication process (the aforementioned Ethernet driver module 401, Ethernet interface module 402, Ethernet communication protocol stack module 403, network nesting word module 404, and protocol conversion module 405 described later) is executed by one computing core, and another part of the first communication process (the aforementioned packet routing module 406.2, communication interface module 407.2, and application software group 408.2) is executed by one or more other computing cores. Furthermore, during this process, a single computing core (one of the different computing cores) is always utilized in conjunction with... Figure 2 The Ethernet controller 203 shown interacts with data, thereby not only reducing the latency of the vehicle Ethernet communication system, but also improving the computing power of the vehicle Ethernet communication system, and thus improving the processing efficiency of communication data (including data packets to be received, general data packets, quintuple data packets, target data, etc.).

[0074] In an optional embodiment, the in-vehicle Ethernet communication method further includes:

[0075] Step S3041: In response to the protocol conversion requirement, obtain the protocol conversion rules, wherein the protocol conversion rules are used to determine the target protocol type of the general data packet and the generation rules of the target received data packet, wherein the target received data packet is a data packet that satisfies the target protocol type;

[0076] Step S3042: Based on the generation rules, process the general data packet to generate the target received data packet;

[0077] Step S3043: Using the first processing core or any processing core, the target received data packet is converted to obtain the target data.

[0078] In one optional scheme provided by steps S3041 to S3043 above, the target protocol type may be, but is not limited to, TCP / IP protocol, Controller Area Network (CAN) bus protocol, and Local Interconnect Network (LIN) bus protocol. The generation rule may include, but is not limited to, splitting the general data packet and combining the general data packet. Specifically, as an optional implementation, the generation rule may be to split the general data packet into a target received data packet of size 300 bytes; as another optional implementation, the generation rule may be to combine the general data packet into a target received data packet of size 1000 bytes.

[0079] The following combination Figure 4 The above methods will be further explained.

[0080] Still as Figure 4 As shown, when communication protocol conversion is required for communication data, the protocol conversion module 405 obtains the parsed general data packet from the network nesting module 404, and generates a target receiving data packet based on the above generation rules and the general data packet. Further, the data packet routing module 406.1 obtains the generated target receiving data packet and transmits it to the communication interface module 407.1 to further convert the target receiving data packet into target data; or, after obtaining the generated target receiving data packet, the data packet routing module 406.1 stores the target receiving data packet in the data storage block 409.2 so that the computing core 2 can retrieve the target data.

[0081] In an optional embodiment, the in-vehicle Ethernet communication method further includes:

[0082] Step S3061: In the second communication process of the vehicle, data to be sent is acquired. The second communication process is a process for sending messages based on the Ethernet communication protocol. The second communication process is used to implement a vehicle function. The data to be sent is determined by the vehicle function.

[0083] Step S3062: Using one or more of the multiple processing cores, the data to be sent is converted into a general data packet, wherein the general data packet is a data packet that meets the preset socket type;

[0084] Step S3063: Using any one of the multiple processing cores, obtain a general data packet and process the general data packet to obtain a target data packet to be sent, wherein the target data packet to be sent is the data packet to be sent corresponding to the second communication process;

[0085] Step S3064: Based on the Ethernet communication protocol, send data packets to the target.

[0086] In one optional solution provided by steps S3061 to S3064 above, the data to be sent is the functional data corresponding to the vehicle function, specifically, for example, the fault diagnosis result corresponding to the vehicle fault diagnosis function, the system update data corresponding to the system upgrade and update function, etc.

[0087] The following combination Figure 5 The above methods will be further explained.

[0088] Figure 5 This is a schematic diagram of another optional in-vehicle Ethernet communication process according to an embodiment of the present invention, such as... Figure 5 As shown, during the second communication process (i.e., sending Ethernet packets), when the Ethernet communication protocol stack module 403 and the application software group 408.1 are on the same processing core (i.e., processing core 1), the communication interface module 407.1 obtains the data to be sent from the application software group 408.1 and converts it into a general data packet. After the data packet routing module 406.1 obtains the general data packet, it transmits it to the network nesting word module 404, and it is processed by subsequent processing modules (including the network nesting word module 404, the Ethernet communication protocol module 403, the Ethernet interface module 402, and the Ethernet driver module 401) to obtain the target data packet. This target data packet is then written to... Figure 2 The Ethernet controller 203 shown further transmits data packets to the target based on the Ethernet communication protocol.

[0089] Still as Figure 5As shown, during the operation of the second communication process described above, when the Ethernet communication protocol stack module 403 and the application software group 408.2 are on different processing cores, the communication interface module 407.2 obtains the data to be sent from the application software group 408.2 and converts it into a general data packet. After obtaining the general data packet, the data packet routing module 406.2 writes it into the data storage block 409.1. Then, the data packet routing module 406.1 obtains the general data packet from the data storage block 409.1 and transmits it to the network nesting module 404. Further, it is processed by subsequent processing modules (including the network nesting module 404, the Ethernet communication protocol module 403, the Ethernet interface module 402, and the Ethernet driver module 401) to obtain the target data packet, which is then written into... Figure 2 The Ethernet controller 203 shown further transmits data packets to the target based on the Ethernet communication protocol.

[0090] In the above optional embodiments, the technical effect that can be achieved is as follows: During the operation of the second communication process, when the Ethernet communication protocol stack module and the application software group are in different computing cores, a part of the second communication process (the aforementioned Ethernet driver module 401, Ethernet interface module 402, Ethernet communication protocol stack module 403, network nesting word module 404, and protocol conversion module 405 described later) is executed by one computing core, and another part of the second communication process (the aforementioned packet routing module 406.2, communication interface module 407.2, and application software group 408.2) is executed by one or more other computing cores. Furthermore, during this process, a single computing core (one of the different computing cores) is always utilized in conjunction with... Figure 2 The Ethernet controller 203 shown interacts with data, thereby not only reducing the latency of the vehicle Ethernet communication system, but also improving the computing power of the vehicle Ethernet communication system, and thus improving the processing efficiency of communication data (including data packets to be received, general data packets, quintuple data packets, target data, etc.).

[0091] In an optional embodiment, in step S3063, a general data packet is obtained using any one of the multiple processing cores, and the general data packet is processed to obtain the target transmission data packet, including:

[0092] Step S30631: Using any one of the multiple processing cores, encapsulate the general data packet to obtain a quintuple data packet, wherein the quintuple data packet is used to determine the quintuple information of the general data packet;

[0093] Step S30632: Using any one of the multiple processing cores, encapsulate the quintuple data packet to obtain the target data packet.

[0094] The following combination Figure 5 The above methods will be further explained.

[0095] Still as Figure 5 As shown, during the operation of the second communication process, in the computing core 1 (any one of the multiple computing cores mentioned above), the network nesting module 404 obtains the general data packet converted from the data packet routing module 406.1 and encapsulates the general data packet into a five-tuple data packet. The five-tuple data packet contains the five-tuple information of the data to be sent. Further, the Ethernet communication protocol stack module 403 obtains the five-tuple data packet from the network nesting module 404 and encapsulates the five-tuple data packet into a target transmission data packet (including TCP / IP data packets, UDP data packets, etc.). Then, the Ethernet interface module 402 obtains the target transmission data packet and transmits it to the Ethernet driver module 401. The Ethernet driver module 401 writes the obtained target transmission data packet into... Figure 2 In the Ethernet controller 203 shown.

[0096] In an optional embodiment, the in-vehicle Ethernet communication method further includes:

[0097] Step S3071: In response to the protocol conversion requirement, obtain the protocol conversion rules, wherein the protocol conversion rules are used to determine the target protocol type of the general data packet and the generation rules of the target general data packet, wherein the target general data packet is a data packet that meets the target protocol type;

[0098] Step S3072: Based on the generation rules, process the general data packet to generate the target general data packet.

[0099] In one optional solution provided by steps S3071 to S3072 above, the target protocol type may be, but is not limited to, TCP / IP protocol, Controller Area Network (CAN) bus protocol, and Local Interconnect Network (LIN) bus protocol. The generation rule may include, but is not limited to, splitting the general data packet and combining the general data packets. Specifically, as an optional implementation, the generation rule may be to split the general data packet into a target general data packet of size 300 bytes; as another optional implementation, the generation rule may be to combine the general data packet into a target general data packet of size 1000 bytes.

[0100] The following combination Figure 5 The above methods will be further explained.

[0101] Still as Figure 5 As shown, when communication protocol conversion is required for communication data, the protocol conversion module 405 obtains the general data packet obtained from the data packet routing module 406.1 after data conversion, and generates a target general data packet based on the above generation rules and the general data packet. Then, the protocol conversion module 405 transmits the generated target general data packet to the network nesting module 404, and it is processed by subsequent processing modules (including the network nesting module 404, the Ethernet communication protocol module 403, the Ethernet interface module 402, and the Ethernet driver module 401) to obtain the target transmission data packet, and writes the target transmission data packet into... Figure 2 In the Ethernet controller 203 shown, further, based on the Ethernet communication protocol, the Ethernet controller 203 sends a data packet to the target.

[0102] It is understood that, according to the method steps provided in the above embodiments of the present invention, the technical effect achieved by the technical solution of the present invention is as follows: During the operation of the Ethernet communication process (the first communication process and the second communication process mentioned above), when the Ethernet communication protocol stack module and the application software group are in different computing cores, a part of the Ethernet communication process is executed using one computing core, and another part of the Ethernet communication process is executed using one or more other computing cores. Furthermore, during this process, a single computing core (one of the different computing cores) is always used to interact with the Ethernet controller, thereby not only reducing the latency of the vehicle-mounted Ethernet communication system but also improving the computing power of the vehicle-mounted Ethernet communication system, and thus improving the processing efficiency of communication data. In addition, the technical solution of the present invention can also utilize the Ethernet communication protocol stack module to realize the conversion of Ethernet communication protocols, thereby meeting the protocol conversion requirements of different Ethernet communication data and improving the flexibility of the vehicle-mounted Ethernet communication method.

[0103] In this embodiment, an in-vehicle Ethernet communication device is also provided. This device is used to implement the above embodiments and preferred embodiments, and details already described will not be repeated. As used below, a "module" is a combination of software and / or hardware that can perform a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0104] Figure 6 This is a structural block diagram of an optional in-vehicle Ethernet communication device according to an embodiment of the present invention, such as... Figure 6 As shown, the device includes:

[0105] The acquisition module 601 is used to acquire data packets to be received during the operation of the vehicle's first communication process. The first communication process is a process that receives messages based on the Ethernet communication protocol. The first communication process is used to execute a program corresponding to a vehicle function. The data packets to be received are determined by the vehicle function.

[0106] The first parsing module 602 is used to parse the received data packet using the first processing core to obtain a general data packet. The first processing core is any one of multiple processing cores, and the general data packet is a data packet that meets the preset socket type.

[0107] The first conversion module 603 is used to convert the acquired general data packet into target data using other processing cores. The other processing cores are one or more processing cores other than the first processing core. The target data is used to calculate the implementation result of the vehicle function.

[0108] Execution module 604 is used to execute the first communication process based on the target data.

[0109] Optionally, the first parsing module 602 is further configured to: use the first processing core to parse the data packet to be received to obtain a 5-tuple data packet, wherein the 5-tuple data packet is used to determine the 5-tuple information of the data packet to be received; and use the first processing core to parse the 5-tuple data packet to obtain a general data packet.

[0110] Optionally, Figure 7 This is a structural block diagram of another optional in-vehicle Ethernet communication device according to an embodiment of the present invention, such as... Figure 7 As shown, the device includes Figure 6 In addition to all the modules shown, it also includes: a second parsing module 605, which is used to parse the data packet to be received using any one of the multiple processing cores to obtain a general data packet; and to obtain the general data packet using any one of the processing cores and convert the general data packet into target data.

[0111] Optionally, Figure 8 This is a structural block diagram of another optional in-vehicle Ethernet communication device according to an embodiment of the present invention, such as... Figure 8 As shown, the device includes Figure 7In addition to all the modules shown, it also includes: a second conversion module 606, used to obtain protocol conversion rules in response to protocol conversion requirements, wherein the protocol conversion rules are used to determine the target protocol type of the general data packet and the generation rules of the target received data packet, wherein the target received data packet is a data packet that meets the target protocol type; based on the generation rules, the general data packet is processed to generate the target received data packet; and the target received data packet is converted using the first processing core or any processing core to obtain the target data.

[0112] Optionally, Figure 9 This is a structural block diagram of another optional in-vehicle Ethernet communication device according to an embodiment of the present invention, such as... Figure 9 As shown, the device includes Figure 8 In addition to all the modules shown, it also includes: a sending module 607, used to acquire data to be sent in the second communication process of the vehicle, wherein the second communication process is a process of sending messages based on the Ethernet communication protocol, the second communication process is used to implement a vehicle function, and the data to be sent is determined by the vehicle function; using one or more of the multiple processing cores, the data to be sent is converted into a general data packet, wherein the general data packet is a data packet that meets the preset socket type; using any one of the multiple processing cores, the general data packet is acquired and processed to obtain the target data packet to be sent, wherein the target data packet to be sent is the data packet to be sent corresponding to the second communication process; and the target data packet to be sent based on the Ethernet communication protocol.

[0113] Optionally, the sending module 607 is further configured to: encapsulate a general data packet using any one of the multiple processing cores to obtain a 5-tuple data packet, wherein the 5-tuple data packet is used to determine the 5-tuple information of the general data packet; and encapsulate the 5-tuple data packet using any one of the multiple processing cores to obtain a target sending data packet.

[0114] Optionally, Figure 10 This is a structural block diagram of another optional in-vehicle Ethernet communication device according to an embodiment of the present invention, such as... Figure 10 As shown, the device includes Figure 9 In addition to all the modules shown, it also includes: a third conversion module 608, which is used to obtain protocol conversion rules in response to protocol conversion requirements. The protocol conversion rules are used to determine the target protocol type of the general data packet and the generation rules of the target general data packet. The target general data packet is a data packet that meets the target protocol type. Based on the generation rules, the general data packet is processed to generate the target general data packet.

[0115] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.

[0116] In this embodiment, a storage medium is also provided, which includes a stored program, wherein the program controls the device where the storage medium is located to execute any of the aforementioned vehicle Ethernet communication methods when it is running.

[0117] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:

[0118] Step S1: During the operation of the vehicle's first communication process, a data packet to be received is acquired. The first communication process is a process that receives messages based on the Ethernet communication protocol. The first communication process is used to execute a program corresponding to a vehicle function. The data packet to be received is determined by the vehicle function.

[0119] Step S2: Using the first processing core, the received data packet is parsed to obtain a general data packet. The first processing core is any one of multiple processing cores, and the general data packet is a data packet that meets the preset socket type.

[0120] Step S3: Using other processing cores, the acquired general data packet is converted into target data. The other processing cores are one or more processing cores other than the first processing core. The target data is used to calculate the implementation result of the vehicle function.

[0121] Step S4: Execute the first communication process based on the target data.

[0122] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing computer programs, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0123] In this embodiment, a vehicle is also provided, including an on-board memory and an on-board processor. The on-board memory stores a computer program, and the on-board processor is configured to run the computer program to execute the on-board Ethernet communication method of any of the foregoing embodiments.

[0124] Optionally, in this embodiment, the on-board processor can be configured to perform the following steps via a computer program:

[0125] Step S1: During the operation of the vehicle's first communication process, a data packet to be received is acquired. The first communication process is a process that receives messages based on the Ethernet communication protocol. The first communication process is used to execute a program corresponding to a vehicle function. The data packet to be received is determined by the vehicle function.

[0126] Step S2: Using the first processing core, the received data packet is parsed to obtain a general data packet. The first processing core is any one of multiple processing cores, and the general data packet is a data packet that meets the preset socket type.

[0127] Step S3: Using other processing cores, the acquired general data packet is converted into target data. The other processing cores are one or more processing cores other than the first processing core. The target data is used to calculate the implementation result of the vehicle function.

[0128] Step S4: Execute the first communication process based on the target data.

[0129] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and their optional implementations, which will not be repeated here.

[0130] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0131] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0132] In the several embodiments provided by this invention, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection can be through some interfaces; the indirect coupling or communication connection of units or modules can be electrical or other forms.

[0133] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0134] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0135] If the integrated unit is implemented as 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. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0136] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A communication method of an in-vehicle Ethernet, characterized by, The method comprises the following steps: During running of a first communication process of a vehicle, a data packet to be received is acquired, wherein the first communication process is a process of receiving messages based on an Ethernet communication protocol, the first communication process is used for executing a program corresponding to a vehicle function of the vehicle, and the data packet to be received is determined by the vehicle function; A first operation core is used to parse the data packet to be received to obtain a general data packet, wherein the first operation core is any one of a plurality of operation cores, and the general data packet is a data packet satisfying a preset socket type; Other operation cores are used to convert the acquired general data packet into target data, wherein the other operation cores are one or more operation cores of the plurality of operation cores except the first operation core, and the target data is used to calculate an implementation result of the vehicle function; The first communication process is executed based on the target data; The method further comprises the following steps:

2. The communication method of the in-vehicle Ethernet according to claim 1, characterized by, In a second communication process of the vehicle, data to be sent is acquired, wherein the second communication process is a process of sending messages based on the Ethernet communication protocol, the second communication process is used to implement a vehicle function of the vehicle, and the data to be sent is determined by the vehicle function; one or more operation cores of a plurality of operation cores are used to convert the data to be sent into a general data packet, wherein the general data packet is a data packet satisfying a preset socket type; any one of the plurality of operation cores is used to acquire the general data packet and process the general data packet to obtain a target sending data packet, wherein the target sending data packet is a data packet to be sent corresponding to the second communication process; and the target sending data packet is sent based on the Ethernet communication protocol. The method further comprises the following steps: The first operation core is used to parse the data packet to be received to obtain a five-tuple data packet, wherein the five-tuple data packet is used to determine five-tuple information of the data packet to be received; 3. The communication method of the in-vehicle Ethernet according to claim 1, characterized by, The first operation core is used to parse the five-tuple data packet to obtain a general data packet. The method further comprises the following steps: Any one of the plurality of operation cores is used to parse the data packet to be received to obtain the general data packet; 4. The communication method of the in-vehicle Ethernet according to claim 1 or 3, characterized by, The general data packet is acquired by the any one of the operation cores, and the general data packet is converted into the target data. The method further comprises the following steps: In response to a protocol conversion requirement, a protocol conversion rule is acquired, wherein the protocol conversion rule is used to determine a target protocol type of the general data packet and a generation rule of a target receiving data packet, wherein the target receiving data packet is a data packet satisfying the target protocol type; The general data packet is processed based on the generation rule to generate the target receiving data packet; The target receiving data packet is converted by the first operation core or the any one of the operation cores to obtain the target data.

5. The communication method of the in-vehicle Ethernet according to claim 1, characterized by, The method comprises the following steps: The method comprises the following steps: The method comprises the following steps:

6. The communication method of the in-vehicle Ethernet according to claim 1, characterized by, The method further comprises the following steps: In response to a protocol conversion requirement, a protocol conversion rule is obtained, wherein the protocol conversion rule is used to determine a target protocol type of the general data packet and a generation rule of a target general data packet, wherein the target general data packet is a data packet meeting the target protocol type; Based on the generation rule, the general data packet is processed to generate the target general data packet.

7. A communication apparatus of an in-vehicle Ethernet, characterized by comprising: The method comprises the following steps: A first analysis module is configured to analyze the to-be-received data packet by using a first operation core to obtain a general data packet, wherein the first operation core is any one of a plurality of operation cores, and the general data packet is a data packet meeting a preset socket type. A first conversion module is configured to convert the obtained general data packet into target data by using other operation cores, wherein the other operation cores are one or more operation cores of the plurality of operation cores except the first operation core, and the target data is used to calculate an implementation result of the vehicle function. An execution module is configured to execute the first communication process based on the target data. The device is further configured to obtain to-be-sent data in a second communication process of the vehicle, wherein the second communication process is a process of sending messages based on the Ethernet communication protocol, the second communication process is used to implement a vehicle function of the vehicle, and the to-be-sent data is determined by the vehicle function; one or more operation cores of a plurality of operation cores are used to convert the to-be-sent data into a general data packet, wherein the general data packet is a data packet meeting a preset socket type; any one of the plurality of operation cores is used to obtain the general data packet and process the general data packet to obtain a target sending data packet, wherein the target sending data packet is a to-be-sent data packet corresponding to the second communication process; and the target sending data packet is sent based on the Ethernet communication protocol. The storage medium comprises a stored program, wherein the program controls a device where the storage medium is located to execute the communication method of the vehicle-mounted Ethernet according to any one of claims 1 to 6 when the program is running.

8. A storage medium, characterized by ​ 9. A vehicle characterized by comprising: The vehicle-mounted Ethernet communication method according to any one of claims 1 to 6 is executed by a vehicle-mounted processor arranged to run a computer program stored in a vehicle-mounted memory.

Citation Information

Patent Citations

  • System architecture for vehicle control, communication method, vehicle, medium and chip

    CN115334110A

  • Automobile central gateway system based on multi-core heterogeneity and implementation method

    CN115811536A