Communication network monitoring system and method based on vehicle and vehicle

By deploying a firewall, virus detection and intrusion detection module integrated with multi-core processors in the vehicle, monitoring and responding to abnormal traffic data, the security of intelligent connected vehicles is solved and the effect of improving the security of vehicle network communication is achieved.

CN118900183APending Publication Date: 2024-11-05BEIJING DIDI INFINITY TECH & DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310475870.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-27
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

With the popularization of intelligent connected and autonomous driving technologies in automobiles, security issues in automobile communications are becoming increasingly prominent. The existing technology lacks the deployment of network security defense measures on the vehicle side, resulting in an increase in the risk of attacks and intrusions of intelligent connected vehicles.

Method used

Design a vehicle-based communication network monitoring system, and use multi-core processors to integrate vehicle-mounted firewall module, virus detection module, Ethernet traffic intrusion detection module and CAN traffic intrusion detection module to monitor cloud server, Ethernet bus and CAN bus transmission respectively , identify and deal with abnormal traffic data, and improve the security of vehicle network communication.

Benefits of technology

Without increasing hardware costs, the deployment of network security defense systems on the vehicle side is realized, which enhances the security of vehicle network communications. Through the collaborative work of multi-core processors, the coverage and depth of Ethernet and CAN bus intrusion detection are improved through the collaborative work of multi-core processors. Defensive ability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118900183A_ABST
    Figure CN118900183A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of automatic driving, in particular to a communication network monitoring system and method based on a vehicle and the vehicle, and a first multi-core processor in the monitoring system comprises a first A core and a first M core; the first A core is in communication connection with the cloud server and the first Ethernet bus, and the first M core is in communication connection with the first CAN bus; a vehicle-mounted firewall module, a vehicle-mounted virus searching and killing module and a first Ethernet traffic intrusion detection module are integrated in the first A core, and a first CAN traffic intrusion detection module is integrated in the first M core. Thus, the monitoring system responsible for network security defense is deployed at the vehicle end without increasing the hardware cost, and the security of vehicle network communication can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of autonomous driving technology, and in particular to a vehicle-based communication network monitoring system, method and vehicle. Background Art

[0002] With the popularization of intelligent vehicle networking and autonomous driving technology, cars are no longer isolated units. On the one hand, cars can obtain relevant autonomous driving information by exchanging information with the external environment through the network, which can provide users with a rich experience; on the other hand, with the improvement of intelligence, more and more devices are being used to realize intelligent operation, and the lines connecting these devices are becoming more and more complicated, usually including the use of CAN bus network and Ethernet as the backbone network to connect these intelligent devices for overall coordinated control.

[0003] However, at the same time, the risk of attacks and intrusions on cars is gradually increasing, so the security issues of car communications are becoming increasingly prominent. Therefore, in order to prevent smart connected cars from being attacked and invaded, it is necessary to deploy comprehensive network security defense measures on the autonomous driving system. Summary of the invention

[0004] In view of this, the embodiments of the present application at least provide a vehicle-based communication network monitoring system, method and vehicle, which realizes the deployment of a monitoring system responsible for network security defense on the vehicle side, and can improve the security of vehicle network communications without increasing hardware costs.

[0005] This application mainly includes the following aspects:

[0006] In a first aspect, an embodiment of the present application provides a vehicle-based communication network monitoring system, which includes a first multi-core processor, which includes a first A core and a first M core; the first A core is communicatively connected to a cloud server and a first Ethernet bus, respectively, and the first M core is communicatively connected to a first CAN bus; the first A core integrates an on-board firewall module, an on-board virus detection module, and a first Ethernet traffic intrusion detection module, and the first M core integrates a first CAN traffic intrusion detection module; wherein the first A core is used to monitor the message data transmitted by the cloud server and the message data transmitted by the first Ethernet bus, respectively, and determine whether they are abnormal traffic data; the first M core is used to monitor the message data transmitted by the first CAN bus, and determine whether they are abnormal traffic data.

[0007] In one possible implementation, the vehicle-based communication network monitoring system also includes at least one second multi-core processor, the second multi-core processor includes a second A core and a second M core; the second A core is communicatively connected to a second Ethernet bus, and the second M core is communicatively connected to a second CAN bus; a second Ethernet traffic intrusion detection module is integrated in the second A core, and a second CAN traffic intrusion detection module is integrated in the second M core; wherein the second A core is used to monitor message data transmitted by the second Ethernet bus to determine whether it is abnormal traffic data; the second M core is used to monitor message data transmitted by the second CAN bus to determine whether it is abnormal traffic data.

[0008] In a second aspect, an embodiment of the present application further provides a vehicle, wherein the vehicle comprises the vehicle-based communication network monitoring system described in the first aspect or any possible implementation manner of the first aspect.

[0009] In a third aspect, an embodiment of the present application further provides a vehicle-based communication network monitoring method, which is applied to the vehicle-based communication network monitoring system described in the first aspect or any possible implementation scheme of the first aspect, and the vehicle-based communication network monitoring method includes: separately monitoring the message data transmitted by the cloud server and the message data transmitted by the first Ethernet bus to determine whether they are abnormal traffic data; and monitoring the message data transmitted by the first CAN bus to determine whether they are abnormal traffic data.

[0010] In a fourth aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the vehicle-based communication network monitoring method described in the second aspect above.

[0011] In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the vehicle-based communication network monitoring method described in the second aspect are executed.

[0012] The vehicle-based communication network monitoring system, method and vehicle provided in the embodiments of the present application adopt a first multi-core processor having a first A core and a first M core, and an on-board firewall module, an on-board virus detection module and a first Ethernet traffic intrusion detection module are integrated in the first A core, and a first CAN traffic intrusion detection module is integrated in the first M core. Compared with the prior art in which no network security defense measures are deployed on the vehicle side, the present application deploys an on-board firewall module, an on-board virus detection module, a first Ethernet traffic intrusion detection module and a CAN traffic intrusion detection module in the first multi-core processor of the vehicle, and realizes the deployment of a monitoring system responsible for network security defense on the vehicle side without increasing hardware costs, thereby improving the security of vehicle network communications.

[0013] Furthermore, the vehicle-based communication network monitoring system provided by the embodiment of the present application also includes at least one second multi-core processor, the second multi-core processor includes a second A core and a second M core; the second A core is communicatively connected to the second Ethernet bus, the second M core is communicatively connected to the second CAN bus; the second A core is integrated with a second Ethernet traffic intrusion detection module, and the second M core is integrated with a second CAN traffic intrusion detection module. In this way, the present application can increase the coverage of Ethernet bus and CAN bus intrusion detection by deploying Ethernet traffic intrusion detection modules and CAN traffic intrusion detection modules on both the first multi-core processor and the second multi-core processor of the vehicle, while increasing in-depth defense, which can further improve the security of vehicle network communications.

[0014] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0016] Figure 1 One of the structural schematic diagrams of a vehicle-based communication network monitoring system provided in an embodiment of the present application is shown;

[0017] Figure 2 A second structural diagram of a vehicle-based communication network monitoring system provided in an embodiment of the present application is shown;

[0018] Figure 3A schematic diagram of the structure of inter-core communication between A core and M core in the same multi-core processor provided by an embodiment of the present application is shown;

[0019] Figure 4 A schematic diagram of the structure of inter-core communication between A core and M core in different multi-core processors provided in the embodiments of the present application is shown;

[0020] Figure 5 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application is shown;

[0021] Figure 6 A flow chart of a vehicle-based communication network monitoring method provided in an embodiment of the present application is shown;

[0022] Figure 7 A flow chart for detecting message data of a CAN bus provided in an embodiment of the present application is shown;

[0023] Figure 8 A flow chart for detecting external traffic data provided by an embodiment of the present application is shown;

[0024] Fig. 9 A flow chart for detecting an external device provided in an embodiment of the present application is shown;

[0025] Fig.10 A flow chart of detecting message data of an Ethernet bus provided by an embodiment of the present application is shown;

[0026] Fig.11 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0027] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art, under the guidance of the content of the present application, can add one or more other operations to the flowchart, or remove one or more operations from the flowchart.

[0028] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0029] In order to enable those skilled in the art to use the contents of this application, the following implementation methods are given in combination with the specific application scenario of "autonomous driving". For those skilled in the art, the general principles defined here can be applied to other embodiments and application scenarios without departing from the spirit and scope of this application.

[0030] The following systems, vehicles, methods, electronic devices or computer-readable storage media of the embodiments of the present application can be applied to any scenario requiring autonomous driving. The embodiments of the present application are not limited to specific application scenarios. Any vehicle-based communication network monitoring system, method and vehicle solution provided by the embodiments of the present application are within the scope of protection of the present application.

[0031] It should be noted that there are more than one bus technology in modern cars, including at least CAN bus and Ethernet bus. Among them, CAN bus, as the most mainstream vehicle bus communication system, is mainly responsible for transmitting signal data on the car, such as temperature, position, engine speed, and other data that does not require a lot of bandwidth. However, the transmission speed and load capacity of CAN bus are limited. With the increase in the number of devices, it is proposed to use Ethernet as the backbone network of the vehicle to ensure the data transmission rate.

[0032] It is worth noting that before this application was filed, with the popularization of intelligent vehicle networking and autonomous driving technology, cars are no longer isolated units. On the one hand, cars exchange information with the external environment through the network to obtain relevant autonomous driving information, which can provide users with a rich experience; on the other hand, with the improvement of intelligence, more and more devices are being used to realize intelligent operation, and the lines connecting these devices are becoming more and more complicated, usually including the use of CAN bus network and Ethernet as the backbone network to connect these intelligent devices for overall coordinated control.

[0033] However, at the same time, the risk of attacks and intrusions on cars is gradually increasing, so the security issues of car communications are becoming increasingly prominent. Therefore, in order to prevent smart connected cars from being attacked and invaded, it is necessary to deploy comprehensive network security defense measures on the autonomous driving system. However, there is currently no concept related to car security architecture, and related security modules are rarely deployed on the car side. At present, the overall car-side security is still in the research and development stage.

[0034] In response to the above problems, the vehicle communication network monitoring system provided by the embodiment of the present application includes a first multi-core processor, and the first multi-core processor includes a first A core and a first M core; the first A core is respectively connected to the cloud server and the first Ethernet bus for communication, and the first M core is connected to the first CAN bus for communication; the first A core is integrated with an on-board firewall module, an on-board virus detection module, and a first Ethernet traffic intrusion detection module, and the first M core is integrated with a first CAN traffic intrusion detection module; wherein the first A core is used to monitor the message data transmitted by the cloud server and the message data transmitted by the first Ethernet bus, respectively, and determine whether they are abnormal traffic data; the first M core is used to monitor the message data transmitted by the first CAN bus, and determine whether they are abnormal traffic data. In this way, the present application realizes the deployment of a monitoring system responsible for network security defense on the vehicle side without increasing the hardware cost, which can improve the security of vehicle network communication.

[0035] To facilitate the understanding of the present application, the technical solution provided by the present application is described in detail below in conjunction with specific embodiments.

[0036] Figure 1 One of the structural schematic diagrams of a vehicle-based communication network monitoring system 1 provided in an embodiment of the present application is shown; Figure 2 FIG2 shows a second structural diagram of a vehicle-based communication network monitoring system 1 provided in an embodiment of the present application. Figure 1 As shown, the vehicle-based communication network monitoring system 1 includes a first multi-core processor 10, and the first multi-core processor 10 includes a first A core 11 and a first M core 12; the first A core 11 is respectively connected to the cloud server and the first Ethernet bus for communication, and the first M core 12 is connected to the first CAN bus for communication; the first A core 11 is integrated with a vehicle-mounted firewall module 111, a vehicle-mounted virus detection module 112, and a first Ethernet traffic intrusion detection module 113, and the first M core 12 is integrated with a first CAN traffic intrusion detection module 121. Among them, the first A core 11 is used to monitor the message data transmitted by the cloud server and the message data transmitted by the first Ethernet bus, respectively, and determine whether they are abnormal traffic data; the first M core 12 is used to monitor the message data transmitted by the first CAN bus, and determine whether they are abnormal traffic data.

[0037] It should be noted that the multi-core processor provided in this application can be a multi-core processor based on the ARM architecture, which generally adopts a Cortex chip, and the multi-core processor can include multiple cores that can independently execute instructions, and these cores can be regarded as a single unit or cluster; multiprocessing can be defined as running two or more instruction sequences simultaneously in a single device containing two or more cores. At present, multiprocessing is a widely used technology, which is applicable to both systems of general application processors and fields traditionally defined as embedded systems.

[0038] Here, for this application, the vehicle's original processor that meets the multi-core requirements can be used as a multi-core processor. In addition, considering that the first multi-core processor 10 in this application is responsible for communicating with the cloud server, the performance requirements for the first multi-core processor 10 are relatively high. Therefore, the vehicle's central processing unit or the vehicle-mounted T-BOX can be selected as the first multi-core processor 10, and a vehicle-mounted firewall module 111, a vehicle-mounted virus detection module 112, a first Ethernet traffic intrusion detection module 113 and a CAN traffic intrusion detection module are deployed in the first multi-core processor 10. Without increasing the hardware cost, the monitoring system responsible for network security defense is deployed on the vehicle side, which can improve the security of vehicle network communications.

[0039] Specifically, Cortex chips can be divided into the following three categories according to different applications: Cortex-M (Embedded Microcontroller Processors), Cortex-R (Embedded Real-time Applications Processors) and Cortex-A (Application Processors), among which Cortex-M, i.e. the M core in this application, is a microcontroller core for various embedded applications, mainly used for applications of small microcontrollers, general low-end, industrial, consumer electronics microcontrollers, cannot run operating systems (only supports ucos2), tends to control, and is equivalent to an advanced single-chip microcomputer. Cortex-R is mainly used for applications with high real-time performance requirements; Cortex-A, i.e. the A core in the application, is an application processor core for performance-intensive systems, usually used for applications that require operating systems or high-performance support. Cortex-A provides a series of solutions for devices using operating systems (such as Linux or Android), which are used in various applications, from low-cost handheld devices to smartphones, tablets, set-top boxes, and enterprise network equipment.

[0040] For this application, considering that the embedded controller requires real-time control, the sensors and actuators connected to it require high real-time processing and control, and CAN bus transmission is generally used. Usually, the CAN protocol stack is generally integrated in the M core, and CAN intrusion detection directly receives CAN messages through the existing CAN protocol stack, without forwarding or re-implementing the protocol stack. Moreover, the M core has the advantages of small size and low power consumption, which can meet the requirements of deeply embedded and cost-sensitive applications. It has the advantages of being simple and easy to operate, and can be used in scenarios such as smart sensor nodes. Based on the above content, this application develops a CAN traffic intrusion detection module based on the M core of a multi-core processor, and adapts to the redefinition and development of the vehicle side to achieve the transformation from the traditional security module from the IT field to the vehicle side. Finally, the CAN traffic intrusion detection module is integrated in the M core. This deployment is more reasonable and can save resources.

[0041] Here, considering that the A core has inherent advantages in Linux or other complex operating systems, and compared to the M core, the A core has higher computing power than the M core. In addition, due to the insufficient computing power of the M core, it is also impossible to integrate firewall functions and virus detection functions. Therefore, this application only integrates firewall functions and virus detection functions in the first A core 11 responsible for communicating with the cloud server, and serves as the only node in the car that communicates with the cloud server, and is also the only node that interacts with the outside world. This deployment is more reasonable and can save resources in the car to a certain extent. In addition, since the SOMEIP protocol stack is integrated in the A core, Ethernet intrusion detection can receive SOMEIP messages through the existing protocol stack, without forwarding or re-implementing the protocol stack, and the Ethernet traffic intrusion detection module can be integrated in the A core. Since such a deployment can save resources and make rational use of resources, this deployment has certain rationality. In summary, the present application uses the first A core 11 of the first multi-core processor 10 to communicate with the cloud server, and develops firewall functions, virus detection functions, and Ethernet intrusion detection on the vehicle side in the first A core 11 to adapt to the vehicle side, so as to realize the transformation of the traditional security module from the IT field to the vehicle side field. Finally, the vehicle-mounted firewall module 111, the vehicle-mounted virus detection module 112, and the first Ethernet traffic intrusion detection module 113 are integrated in the first A core 11. The vehicle-mounted firewall module 111 and the vehicle-mounted virus detection module 112 are used together and deployed in the vehicle, and can be used as a node for communicating with the cloud server. The vehicle-mounted firewall module 111 performs access and traffic control, and the vehicle-mounted virus detection module 112 is responsible for terminal virus detection.

[0042] It should be noted that abnormal traffic data includes but is not limited to intrusion traffic data and attack traffic data. Abnormal traffic data is, for example, data packets with forged MAC addresses, data packets with modified payloads, denial of service (DoS) attack data, etc.

[0043] It should be understood that through the first multi-core processor 10 in the vehicle-based communication network monitoring system 1 of the present application, the message data transmitted by the cloud server, the message data transmitted by the first Ethernet bus, and the message data transmitted by the first CAN bus can be monitored. In this way, a first multi-core processor 10 is responsible for both cloud communication and processing in-vehicle Ethernet signals and in-vehicle CAN signals, thereby achieving network security for in-vehicle networks and network security for external communications.

[0044] It should be noted that Figure 1 It is shown that the vehicle-based communication network monitoring system 1 in the present application only includes one first multi-core processor 10; Figure 2 The illustrated example shows a situation in which the vehicle-based communication network monitoring system 1 in the present application includes a first multi-core processor 10 and at least one second multi-core processor 20 .

[0045] In one possible implementation, Figure 2 FIG. 2 shows a second structural diagram of a vehicle-based communication network monitoring system 1 provided in an embodiment of the present application, such as Figure 2 As shown, the vehicle-based communication network monitoring system 1 also includes at least one second multi-core processor 20, and the second multi-core processor 20 includes a second A core 21 and a second M core 22; the second A core 21 is communicatively connected to the second Ethernet bus, and the second M core 22 is communicatively connected to the second CAN bus; the second A core 21 is integrated with a second Ethernet traffic intrusion detection module 211, and the second M core 22 is integrated with a second CAN traffic intrusion detection module 221; wherein, the second A core 21 is used to monitor the message data transmitted by the second Ethernet bus to determine whether it is abnormal traffic data; the second M core 22 is used to monitor the message data transmitted by the second CAN bus to determine whether it is abnormal traffic data.

[0046] Here, the first multi-core processor 10 in the present application may be a central processing unit or a T-BOX, and the second multi-core processor 20 may be a domain controller.

[0047] In addition, considering that only the first multi-core processor 10 is the only one communicating with the cloud server, only the first A core 11 in the first multi-core processor 10 needs to integrate the vehicle-mounted firewall module 111 and the vehicle-mounted virus detection module 112, and the second A core 21 in the second multi-core processor 20 does not need to have firewall functions and virus detection functions. Therefore, only the second Ethernet traffic intrusion detection module 211 is integrated in the second A core 21 of the second multi-core processor 20, and the second CAN traffic intrusion detection module 221 is integrated in the second M core 22. In this way, the present application communicates with the cloud server through the first multi-core processor 10, and at least one second multi-core processor 20 processes the vehicle-side CAN and Ethernet signals.

[0048] It can be understood that the first Ethernet bus that the first A core 11 in the first multi-core processor 10 is responsible for detecting is different from the second Ethernet bus that the second A core 21 in the second multi-core processor 20 is responsible for detecting. Similarly, the first CAN bus that the first M core 12 in the first multi-core processor 10 is responsible for detecting is different from the second CAN bus that the second M core 22 in the second multi-core processor 20 is responsible for detecting. In this way, integrating CAN traffic intrusion detection modules in the M cores of multiple multi-core processors can increase the coverage of CAN bus intrusion detection and increase in-depth defense. Similarly, integrating Ethernet traffic intrusion detection modules in the A cores of multiple multi-core processors can increase the coverage of intrusion detection of in-vehicle Ethernet and increase in-depth defense.

[0049] Figure 3 FIG. 1 shows a schematic diagram of the structure of inter-core communication between A core and M core in the same multi-core processor provided by an embodiment of the present application; Figure 3 As shown, the first CAN traffic intrusion detection module 121 is used to generate a first CAN traffic anomaly log after determining that the message data transmitted by the first CAN bus is abnormal traffic data, and transmit the first CAN traffic anomaly log to the first A core 11 through inter-core communication; the first A core 11 is used to determine whether the first multi-core processor 10 to which the first A core 11 belongs supports communication with the cloud server after receiving the first CAN traffic anomaly log, and after determining that communication is supported, store the first CAN traffic anomaly log and upload it to the cloud server.

[0050] Here, the inter-core communication between the A core and the M core in the same multi-core processor is specifically described: the first M core 12 in the first multi-core processor 10 in the present application is unable to save data due to limited computing power. Therefore, after the first M core 12 generates a first CAN traffic anomaly log, it is necessary to transmit the first CAN traffic anomaly log to the first A core 11 in the first multi-core processor 10 through inter-core communication, wherein the first CAN traffic anomaly log can be transmitted periodically or immediately according to the urgency of the first CAN traffic anomaly log; after the transmission is completed, it is also necessary to determine whether the first multi-core processor 10 supports communication with the cloud server, and after determining that communication is supported, the first CAN traffic anomaly log needs to be stored and uploaded to the cloud server, so that the cloud server can record and warn.

[0051] Specifically, the first CAN traffic intrusion detection module 121 is also used to determine that the message data transmitted by the first CAN bus is abnormal traffic data under the following circumstances: the CAN identifier in the message data transmitted by the first CAN bus is not the CAN identifier in the whitelist; or, the signal value range in the message data transmitted by the first CAN bus is not within the preset marked value range; or, the period of the message data transmitted by the first CAN bus is a repeated transmission period; or, the message data transmitted by the first CAN bus fails to pass the UDS detection; or, the message data transmitted by the first CAN bus causes the load rate of the first CAN bus to increase rapidly.

[0052] Here, the CAN traffic intrusion detection module should have at least the following functions: (1) whitelist detection function. The CAN ID whitelist in the car is fixed, and detection can be performed by directly filtering the CAN ID in the non-whitelist; (2) signal range detection function. The value range of the signal in the message data is detected; (3) message cycle detection to prevent replay; (4) UDS intrusion detection function; (5) denial of service attack detection. Detect behaviors that cause the CAN bus load rate to increase rapidly; (6) alarm and log functions. When the above (1) described behavior occurs, the car records the log. When (2)(3)(4)(5) intrusion behavior occurs, the log is uploaded immediately, the log is saved in the car, and the car computer is notified to alarm.

[0053] Figure 4 FIG. 4 shows a schematic diagram of the structure of inter-core communication between A core and M core in different multi-core processors provided in the embodiment of the present application; Figure 4As shown, the second CAN traffic intrusion detection module 221 is used to generate a second CAN traffic anomaly log after determining that the message data transmitted by the second CAN bus is abnormal traffic data, and transmit the second CAN traffic anomaly log to the second A core 21 through inter-core communication; the second A core 21 is used to determine whether the second multi-core processor 20 to which the second A core 21 belongs supports communication with the cloud server after receiving the second CAN traffic anomaly log, and after determining that communication cannot be supported, transmit the second CAN traffic anomaly log to the first A core 11 in the first multi-core processor 10 that supports communication with the cloud server through a preset protocol; the first A core 11, after receiving the second CAN traffic anomaly log, stores the second CAN traffic anomaly log and uploads it to the cloud server.

[0054] Here, the inter-core communication between the A core and the M core in different multi-core processors is specifically described: Similar to the first M core 12, the second M core 22 in the second multi-core processor 20 in the present application cannot save data due to limited computing power. Therefore, after the second M core 22 generates a second CAN traffic exception log, it is necessary to transmit the second CAN traffic exception log to the second A core 21 in the second multi-core processor 20 through inter-core communication for caching. The second A core 21 is usually integrated into the system and has caching capabilities. There is no need to add a cache chip or storage chip to the second M core 22, which can save resources. At the same time, in vehicle development, the second M core 22 generally has a small memory, and the log is transmitted to the second A core 21 through inter-core communication, which is easier to adapt in the vehicle. After the transmission is completed, it is also necessary to determine whether the second multi-core processor 20 supports communication with the cloud server, and after determining that communication is not supported, the second CAN traffic anomaly log needs to be transmitted to the first A core 11 in the first multi-core processor 10 that supports communication with the cloud server through a preset protocol. After receiving the second CAN traffic anomaly log, the first A core 11 in the first multi-core processor 10 stores the second CAN traffic anomaly log and uploads it to the cloud server, so that the cloud server can record and warn. Among them, the preset protocol can be the SOMEIP protocol or the IIC protocol; according to the urgency of the second CAN traffic anomaly log, the second CAN traffic anomaly log can be selected to be transmitted regularly or immediately.

[0055] Specifically, the second CAN traffic intrusion detection module 221 is also used to determine that the message data transmitted by the second CAN bus is abnormal traffic data under the following circumstances: the CAN identifier in the message data transmitted by the second CAN bus is not the CAN identifier in the whitelist; or, the signal value range in the message data transmitted by the second CAN bus is not within the preset marked value range; or, the period of the message data transmitted by the second CAN bus is a repeated transmission period; or, the message data transmitted by the second CAN bus fails to pass the UDS detection; or, the message data transmitted by the second CAN bus causes the load rate of the second CAN bus to increase rapidly.

[0056] It should be noted that inter-core communication interacts through shared memory. The inter-core communication data segment includes count, log and integrity check code, where the count value is 0-255 in a cycle, representing the sequence number of the inter-core communication message sent, which can prevent replay attacks; the integrity check code is count and log sha256 to ensure the integrity of the log information and prevent tampering.

[0057] In a possible implementation, the working process of the vehicle-mounted firewall module 111 is described below, that is, the vehicle-mounted firewall module 111 is used to: receive the target data sent by the cloud server, and determine whether the target data meets the non-invasive behavior characteristic condition; if the non-invasive behavior characteristic condition is met, the target data is allowed to enter the vehicle for processing; if the non-invasive behavior characteristic condition is not met, the target data is refused to enter the vehicle for processing, and an external traffic intrusion log is generated to determine whether the external traffic intrusion log meets the upload log condition; if the upload log condition is met, after uploading the external traffic intrusion log to the cloud server, the external traffic intrusion log is stored and an early warning is issued; if the upload log condition is not met, the external traffic intrusion log is stored; wherein the non-invasive behavior characteristic condition includes at least one of the following conditions: no network virus exists, does not come from an address in the blacklist, does not belong to attack traffic data, does not belong to intrusion traffic data, and authentication is successful; the upload log condition includes at least one of the following conditions: there is a network virus, it belongs to attack traffic data, it belongs to intrusion traffic data, and authentication fails for more than three times in a row.

[0058] It should be noted that, between the links communicating with the cloud server, all traffic data must first pass through the vehicle-mounted firewall module 111, which should at least have: (1) network virus detection function, that is, the function of preventing viruses from spreading on the network; (2) blacklist function, which denies the connection and access of addresses in the blacklist, and can update the relevant list; (3) authentication system, which configures the security authentication of the interaction between the vehicle and the cloud server in the firewall; (4) abnormal traffic monitoring, which monitors when abnormal traffic data occurs in a certain channel; (5) the ability to resist flooding attacks; and (6) alarm and log functions.

[0059] In a specific implementation, the vehicle-mounted firewall module 111 first determines whether the target data sent by the cloud server meets the non-invasive behavior characteristic conditions. If it is confirmed that the target data meets the non-invasive behavior characteristic conditions, it means that the target data is normal data rather than abnormal data, and it is allowed to enter the vehicle for processing; if it is confirmed that the target data does not meet the non-invasive behavior characteristic conditions, it means that the target data is abnormal data and is not allowed to enter the vehicle for processing, and an external traffic intrusion log will be generated, and it will be determined whether the generated external traffic intrusion log needs to be uploaded to the cloud server. Specifically, after confirming that the external traffic intrusion log meets the log upload conditions, after uploading the external traffic intrusion log to the cloud server, the external traffic intrusion log is stored and an early warning is issued; if the external traffic intrusion log does not meet the log upload conditions, the external traffic intrusion log is directly stored.

[0060] In addition, the urgency of uploading can be determined based on the content of the external traffic intrusion log. The urgency is divided into general level and emergency level. If the urgency is determined to be the emergency level, it will be directly uploaded to the cloud server for early warning. Emergency level situations include the presence of network viruses in the target data, attack traffic data, and intrusion traffic data. If the urgency is determined to be the general level, it can be uploaded to the cloud server at a scheduled time. General level situations include the target data being data from an address on the blacklist.

[0061] Here, the vehicle-mounted firewall module 111 is in the first A core 11 of the first multi-core processor 10 and can communicate directly with the cloud server. Therefore, the vehicle-mounted firewall module 111 does not need to communicate between cores or across processors to upload logs, and the communication efficiency is relatively high.

[0062] In a possible implementation, the vehicle-mounted virus detection module 112 is used to: detect whether any external device connected to the vehicle's WiFi device, external USB, or Bluetooth device carries a virus; if at least one external device carries a virus, disconnect the external device carrying the virus, generate a virus carrying log, upload the virus carrying log to the cloud server, and store and issue an early warning; if all external devices do not carry a virus, allow external data carried by each external device to enter the vehicle for processing.

[0063] It should be noted that the vehicle-mounted virus detection module 112 in the present application is a module for performing virus detection on in-vehicle terminals. The vehicle-mounted virus detection module 112 has at least: (1) virus detection capability for systems installed with multi-core processors; (2) virus detection capability for USB access devices; (3) WIFI virus detection capability; (4) Bluetooth-carried virus detection capability; and (5) alarm and log functions.

[0064] Here, in addition to detecting whether the vehicle's external devices carry viruses, the vehicle-mounted virus detection module 112 can also determine the urgency of uploading the virus-carrying log, which is divided into general level and emergency level. If the urgency is determined to be an emergency level, it will be directly uploaded to the cloud server for early warning. Emergency level situations include the presence of viruses in external devices; if the urgency is determined to be a general level, it can be uploaded to the cloud server regularly.

[0065] Like the vehicle-mounted firewall module 111, the vehicle-mounted virus detection module 112 is also located in the first A core 11 of the first multi-core processor 10 and can communicate directly with the cloud server. Therefore, the vehicle-mounted virus detection module 112 does not need to communicate between cores or across processors to upload logs, and has high communication efficiency.

[0066] In a possible implementation, the first Ethernet traffic intrusion detection module 113 is used to: detect whether the message data transmitted by the first Ethernet bus is abnormal traffic data; if it is abnormal traffic data, refuse the abnormal traffic data from entering the vehicle for processing, and generate a first Ethernet traffic anomaly log; determine whether the first multi-core processor 10 to which the first Ethernet intrusion detection module belongs supports communication with the cloud server; if it is determined that communication is supported, determine whether it is necessary to upload the log immediately, and if so, immediately upload the first Ethernet traffic anomaly log to the cloud server for storage and warning; if not, regularly upload the first Ethernet traffic log to the cloud server for storage and warning.

[0067] In a specific implementation, after the first Ethernet traffic intrusion detection module 113 generates the first Ethernet traffic anomaly log, since the first Ethernet traffic intrusion detection module 113 belongs to the first A core 11 in the first multi-core processor 10, and the first A core 11 can communicate with the cloud server, the first Ethernet traffic intrusion detection module 113 can directly transmit the first Ethernet traffic anomaly log to the cloud server through the first A core 11.

[0068] In addition, the first Ethernet traffic intrusion detection module 113 also has the function of judging whether the first Ethernet traffic abnormality log needs to be uploaded immediately. If it needs to be uploaded immediately, it means that the urgency is high. After uploading, the vehicle can be notified for early warning.

[0069] Here, the first Ethernet traffic intrusion detection module 113 includes a first whitelist detection unit and a first UDS detection unit; wherein the first whitelist detection unit is used to perform whitelist detection on the network address, request identifier and message identifier in the message data transmitted by the first Ethernet bus, and determine whether the message data transmitted by the first Ethernet bus is abnormal traffic data based on the detection result; the first UDS detection unit is used to perform UDS detection on the message data transmitted by the first Ethernet bus, and determine whether the message data transmitted by the first Ethernet bus is abnormal traffic data based on the detection result.

[0070] Here, the first whitelist detection unit detects the network address (IP address), and when the IP address does not belong to the address in the whitelist, it is determined that the message data transmitted by the first Ethernet bus is abnormal traffic data; the first whitelist detection unit detects the request identifier (messageID), and when the messageID does not belong to the identifier in the whitelist, it is determined that the message data transmitted by the first Ethernet bus is abnormal traffic data; the first whitelist detection unit detects the message identifier (requestID), and when the requestID does not belong to the identifier in the whitelist, it is determined that the message data transmitted by the first Ethernet bus is abnormal traffic data.

[0071] Here, the first UDS detection unit performs UDS detection on the message data transmitted by the first Ethernet bus. For example, if multiple attempts to crack a certain service are found in the message data, it is considered that the message data transmitted by the first Ethernet bus is abnormal traffic data.

[0072] In a possible implementation, the second Ethernet traffic intrusion detection module 211 is used to: detect whether the message data transmitted by the second Ethernet bus is abnormal traffic data; if it is abnormal traffic data, refuse the abnormal traffic data from entering the vehicle for processing, and generate a second Ethernet traffic anomaly log; determine whether the second multi-core processor 20 to which the second Ethernet intrusion module belongs supports communication with the cloud server; if it is determined that communication is not supported, transmit the second Ethernet traffic anomaly log to the first A core 11 in the first multi-core processor 10 that supports communication with the cloud server through a preset protocol, and determine whether the log needs to be uploaded immediately. If so, the first A core 11 immediately uploads the second Ethernet traffic anomaly log to the cloud server for storage and warning; if not, the first A core 11 periodically uploads the second Ethernet traffic anomaly log to the cloud server for storage and warning.

[0073] In a specific implementation, after the second Ethernet traffic intrusion detection module 211 generates the second Ethernet traffic anomaly log, since the second Ethernet traffic intrusion detection module 211 belongs to the second A core 21 in the second multi-core processor 20, and the second A core 21 cannot communicate with the cloud server, it is necessary to transmit the second Ethernet traffic anomaly log to the first A core 11 in the first multi-core processor 10 through a preset protocol, and the first A core 11 transmits the second Ethernet traffic anomaly log to the cloud server.

[0074] In a possible implementation, the vehicle-based communication network monitoring system 1 also includes an external security storage module 30, which is communicatively connected to the first A core 11 of the first multi-core processor 10; wherein the external security storage module 30 is used to store CAN traffic anomaly logs, Ethernet traffic anomaly logs, external traffic intrusion logs, and virus-carrying logs.

[0075] In a specific implementation, the external security storage module 30 and the first multi-core processor 10 can be integrated into the same PCB by means of chip plug-in. The external traffic intrusion log generated by the vehicle-mounted firewall module 111, the virus-carrying log generated by the vehicle-mounted virus detection module 112, and the first Ethernet traffic anomaly log generated by the first Ethernet traffic intrusion detection module 113 can be directly written into the external security storage module 30 by the first A core 11. The first CAN traffic anomaly log generated by the first M core 12 needs to be transmitted to the first A core 11 through inter-core communication, and then directly written into the external security storage module 30 by the first A core 11. The second CAN traffic anomaly log generated by the second M core 22 and the second Ethernet traffic anomaly log generated by the second A core 21 need to be first transmitted to the first A core 11 through a preset protocol, and then directly written into the external security storage module 30 by the first A core 11.

[0076] Here, all logs of the second A core 21 are sent to the first A core 11 responsible for communicating with the cloud server through the SOMEIP protocol or the IIC protocol, and are uniformly scheduled and stored by the first A core 11 responsible for communicating with the cloud server. In this way, all in-vehicle data only needs to be stored in an external secure storage module 30 for unified management, which can save resources. At the same time, there is often only one high-performance first multi-core processor 10 in the car responsible for interacting with the cloud server, so this deployment is more reasonable.

[0077] Figure 5 A schematic diagram of the structure of a vehicle 500 provided in an embodiment of the present application is shown. Figure 5 As shown, the vehicle includes Figure 1 or Figure 2 A vehicle-based communication network monitoring system 1 is shown.

[0078] Based on the same application concept, the embodiments of the present application also provide a vehicle-based communication network monitoring method corresponding to the vehicle-based communication network monitoring system provided in the above embodiments. Since the principle of solving the problem by the method in the embodiments of the present application is similar to that of the vehicle-based communication network monitoring system in the above embodiments of the present application, the implementation of the method can refer to the implementation of the method, and the repeated parts will not be repeated.

[0079] Figure 6 A flow chart of a vehicle-based communication network monitoring method provided in an embodiment of the present application is shown. The vehicle-based communication network monitoring method is applied to Figure 1 or Figure 2 The vehicle-based communication network monitoring system shown in the figure comprises a first multi-core processor, wherein the first multi-core processor comprises a first A core and a first M core, and the vehicle-based communication network monitoring method comprises the following steps:

[0080] S601: The first A core monitors the message data transmitted by the cloud server and the message data transmitted by the first Ethernet bus respectively, and determines whether they are abnormal traffic data.

[0081] S602: The first M core monitors the message data transmitted by the first CAN bus to determine whether it is abnormal traffic data.

[0082] In a possible implementation, the vehicle-based communication network monitoring system also includes at least one second multi-core processor, and the second multi-core processor includes a second A core and a second M core; the vehicle-based communication network monitoring method also includes: the second A core monitors the message data transmitted by the second Ethernet bus to determine whether it is abnormal traffic data; the second M core monitors the message data transmitted by the second CAN bus to determine whether it is abnormal traffic data.

[0083] In one possible implementation, Figure 7 The flowchart of detecting the message data of the CAN bus provided by the embodiment of the present application is shown as follows: Figure 7 As shown, the vehicle-based communication network monitoring method also includes:

[0084] S701: After determining that the message data transmitted by the first CAN bus is abnormal traffic data, the first M core generates a first CAN traffic abnormality log, and transmits the first CAN traffic abnormality log to the first A core through inter-core communication;

[0085] S702: After receiving the first CAN traffic exception log, the first A core determines whether the first multi-core processor to which the first A core belongs supports communication with the cloud server, and after determining that communication is supported, stores the first CAN traffic exception log and uploads it to the cloud server.

[0086] In a possible implementation, the vehicle-based communication network monitoring method also includes: after the second M core determines that the message data transmitted by the second CAN bus is abnormal traffic data, it generates a second CAN traffic abnormality log, and transmits the second CAN traffic abnormality log to the second A core through inter-core communication; after receiving the second CAN traffic abnormality log, the second A core determines whether the second multi-core processor to which the second A core belongs supports communication with the cloud server, and after determining that communication cannot be supported, transmits the second CAN traffic abnormality log to the first A core in the first multi-core processor that supports communication with the cloud server through a preset protocol; after receiving the second CAN traffic abnormality log, the first A core stores the second CAN traffic abnormality log and uploads it to the cloud server.

[0087] In a possible implementation, the vehicle-based communication network monitoring method also includes: the first M core determines that the message data transmitted by the first CAN bus is abnormal traffic data under the following circumstances: the CAN identifier in the message data transmitted by the first CAN bus is not the CAN identifier in the whitelist; or, the signal value range in the message data transmitted by the first CAN bus is not within the preset marked value range; or, the period of the message data transmitted by the first CAN bus is a repeated transmission period; or, the message data transmitted by the first CAN bus fails to pass the UDS detection; or, the message data transmitted by the first CAN bus causes the load rate of the first CAN bus to increase rapidly.

[0088] In one possible implementation, Figure 8 A flow chart for detecting external traffic data provided by an embodiment of the present application is shown. Figure 8 As shown, the vehicle-based communication network monitoring method also includes:

[0089] S801: The first A core receives target data sent by the cloud server, and determines whether the target data meets the non-intrusive behavior characteristic condition;

[0090] S802: If the non-intrusive behavior characteristic condition is met, the target data is allowed to enter the vehicle for processing;

[0091] S803: If the non-intrusive behavior characteristic condition is not met, the target data is denied to enter the vehicle for processing, and an external traffic intrusion log is generated to determine whether the external traffic intrusion log meets the log upload condition;

[0092] S804: If the log upload condition is met, after uploading the external traffic intrusion log to the cloud server, the external traffic intrusion log is stored and an early warning is issued;

[0093] S805: If the log upload condition is not met, the external traffic intrusion log is stored.

[0094] Among them, the non-invasive behavior characteristic conditions include at least one of the following conditions: the absence of network viruses, not coming from an address in the blacklist, not belonging to attack traffic data, not belonging to intrusion traffic data, and successful authentication; the upload log conditions include at least one of the following conditions: the presence of network viruses, belonging to attack traffic data, belonging to intrusion traffic data, and more than three consecutive authentication failures.

[0095] In one possible implementation, Fig. 9 The flowchart for detecting an external device provided in the embodiment of the present application is shown as follows: Fig. 9 As shown, the vehicle-based communication network monitoring method also includes:

[0096] S901: The first A core detects whether any external device connected to the vehicle, including a wifi device, an external USB device, and a Bluetooth device, carries a virus;

[0097] S902: If at least one external device carries a virus, disconnect the external device carrying the virus, generate a virus carrying log, upload the virus carrying log to the cloud server, store it and issue an early warning; if all external devices do not carry a virus, allow the external data carried by each external device to enter the vehicle for processing.

[0098] In one possible implementation, Fig.10 The flowchart of detecting the message data of the Ethernet bus provided by the embodiment of the present application is shown as follows: Fig.10 As shown, the vehicle-based communication network monitoring method also includes:

[0099] S1001: The first A core detects whether message data transmitted by the first Ethernet bus is abnormal traffic data;

[0100] S1002: If it is abnormal traffic data, deny the abnormal traffic data from entering the vehicle for processing, and generate a first Ethernet traffic abnormality log;

[0101] S1003: Determine whether the first multi-core processor to which the first Ethernet intrusion detection module belongs supports communication with the cloud server;

[0102] S1004: If it is determined that communication is supported, determine whether it is necessary to upload the log immediately. If so, immediately upload the first Ethernet traffic abnormality log to the cloud server for storage and warning; if not, regularly upload the first Ethernet traffic log to the cloud server for storage and warning.

[0103] In one possible implementation, the vehicle-based communication network monitoring method also includes: the second A core detects whether the message data transmitted by the second Ethernet bus is abnormal traffic data; if it is abnormal traffic data, the abnormal traffic data is refused to enter the vehicle for processing, and a second Ethernet traffic anomaly log is generated; it is determined whether the second multi-core processor to which the second Ethernet intrusion module belongs supports communication with the cloud server; if it is determined that communication is not supported, the second Ethernet traffic anomaly log is transmitted to the first A core in the first multi-core processor that supports communication with the cloud server through a preset protocol, and it is determined whether the log needs to be uploaded immediately. If so, the first A core immediately uploads the second Ethernet traffic anomaly log to the cloud server for storage and early warning; if not, the first A core periodically uploads the second Ethernet traffic anomaly log to the cloud server for storage and early warning.

[0104] In a possible implementation, the vehicle-based communication network monitoring method also includes: the first A performs a whitelist check on the network address, request identifier, and message identifier in the message data transmitted by the first Ethernet bus, and determines whether the message data transmitted by the first Ethernet bus is abnormal traffic data based on the detection result; and performs a UDS check on the message data transmitted by the first Ethernet bus, and determines whether the message data transmitted by the first Ethernet bus is abnormal traffic data based on the detection result.

[0105] In a possible implementation, the vehicle-based communication network monitoring system also includes an external security storage module, and the vehicle-based communication network monitoring method also includes: the external security storage module stores the CAN traffic anomaly log, Ethernet traffic anomaly log, external traffic intrusion log, and virus-carrying log sent by the first A core.

[0106] In an embodiment of the present application, the vehicle-based communication network monitoring method provided by the present application is applied to Figure 1 or Figure 2 The vehicle-based communication network monitoring system shown includes a first multi-core processor, the first multi-core processor includes a first A core and a first M core, and the vehicle-based communication network monitoring method includes: the first A core monitors the message data transmitted by the cloud server and the message data transmitted by the first Ethernet bus, respectively, and determines whether they are abnormal flow data; the first M core monitors the message data transmitted by the first CAN bus, and determines whether they are abnormal flow data. In this way, by detecting the Ethernet signal, CAN signal and external network signal in the vehicle, the security of vehicle network communication can be improved.

[0107] Based on the same application concept, see Fig.11 As shown, it is a structural diagram of an electronic device 1100 provided in an embodiment of the present application, including: a processor 1110, a memory 1120 and a bus 1130, the memory 1120 stores machine-readable instructions executable by the processor 1110, when the electronic device 1100 is running, the processor 1110 communicates with the memory 1120 through the bus 1130, and the machine-readable instructions are executed by the processor 1110 when running to perform the steps of the vehicle-based communication network monitoring method as described in any of the above embodiments.

[0108] Specifically, when the machine-readable instructions are executed by the processor 1110, the following processing can be performed: the first A core monitors the message data transmitted by the cloud server and the message data transmitted by the first Ethernet bus, respectively, and determines whether they are abnormal traffic data; the first M core monitors the message data transmitted by the first CAN bus, and determines whether they are abnormal traffic data.

[0109] Based on the same application concept, an embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the vehicle-based communication network monitoring method provided in the above embodiment are executed.

[0110] Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, etc. When the computer program on the storage medium is run, the above-mentioned vehicle-based communication network monitoring method can be executed. By detecting the Ethernet signal, CAN signal and external network signal in the vehicle, the security of the vehicle network communication can be improved.

[0111] In the embodiment of the present application, the computer program can also execute other machine-readable instructions when run by the processor to execute other methods described in the embodiment. For the specific execution method steps and principles, please refer to the description of the embodiment, which will not be repeated here.

[0112] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only 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 communication interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0113] 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 network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0114] In addition, each functional unit in the embodiments provided in the present application 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.

[0115] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0116] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.

[0117] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application. They should all be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A vehicle-based communication network monitoring system, characterized in that: The vehicle-based communication network monitoring system includes a first multi-core processor, which includes a first A core and a first M core; the first A core is respectively connected to a cloud server and a first Ethernet bus for communication, and the first M core is connected to a first CAN bus for communication; the first A core is integrated with a vehicle-mounted firewall module, a vehicle-mounted virus detection module, and a first Ethernet traffic intrusion detection module, and the first M core is integrated with a first CAN traffic intrusion detection module; wherein, The first A core is used to monitor the message data transmitted by the cloud server and the message data transmitted by the first Ethernet bus, respectively, and determine whether they are abnormal traffic data; The first M core is used to monitor the message data transmitted by the first CAN bus to determine whether it is abnormal traffic data.

2. The vehicle-based communication network monitoring system according to claim 1, characterized in that: The vehicle-based communication network monitoring system also includes at least one second multi-core processor, the second multi-core processor includes a second A core and a second M core; the second A core is communicatively connected to a second Ethernet bus, and the second M core is communicatively connected to a second CAN bus; the second A core is integrated with a second Ethernet traffic intrusion detection module, and the second M core is integrated with a second CAN traffic intrusion detection module; wherein, The second A core is used to monitor the message data transmitted by the second Ethernet bus to determine whether it is abnormal traffic data; The second M core is used to monitor the message data transmitted by the second CAN bus to determine whether it is abnormal traffic data.

3. The vehicle-based communication network monitoring system according to claim 1, characterized in that: The first CAN traffic intrusion detection module is used to generate a first CAN traffic abnormality log after determining that the message data transmitted by the first CAN bus is abnormal traffic data, and transmit the first CAN traffic abnormality log to the first A core through inter-core communication; The first A core is used to determine whether the first multi-core processor to which the first A core belongs supports communication with the cloud server after receiving the first CAN traffic exception log, and after determining that communication is supported, store and upload the first CAN traffic exception log to the cloud server.

4. The vehicle-based communication network monitoring system according to claim 2, characterized in that: The second CAN traffic intrusion detection module is used to generate a second CAN traffic abnormality log after determining that the message data transmitted by the second CAN bus is abnormal traffic data, and transmit the second CAN traffic abnormality log to the second A core through inter-core communication; The second A core is used to determine whether the second multi-core processor to which the second A core belongs supports communication with the cloud server after receiving the second CAN traffic exception log, and after determining that communication cannot be supported, transmit the second CAN traffic exception log to the first A core in the first multi-core processor that supports communication with the cloud server through a preset protocol; After receiving the second CAN traffic exception log, the first A core stores the second CAN traffic exception log and uploads it to the cloud server.

5. The vehicle-based communication network monitoring system according to claim 3, characterized in that: The first CAN traffic intrusion detection module is further used to determine that the message data transmitted by the first CAN bus is abnormal traffic data under the following circumstances: The CAN identifier in the message data transmitted by the first CAN bus is not a CAN identifier in the whitelist; or, The signal value range in the message data transmitted by the first CAN bus is not within the preset marked value range; or, The period of the message data transmitted by the first CAN bus is a repeated transmission period; or, The message data transmitted by the first CAN bus fails to pass the UDS detection; or, The message data transmitted by the first CAN bus causes the load rate of the first CAN bus to increase rapidly.

6. The vehicle-based communication network monitoring system according to claim 1, characterized in that: The vehicle-mounted firewall module is used to: Receiving target data sent by the cloud server, and determining whether the target data meets the non-intrusive behavior characteristic condition; If the non-intrusive behavior characteristic condition is met, the target data is allowed to enter the vehicle for processing; If the non-intrusive behavior characteristic condition is not met, the target data is denied entry into the vehicle for processing, and an external traffic intrusion log is generated to determine whether the external traffic intrusion log meets the log upload condition; if the log upload condition is met, after uploading the external traffic intrusion log to the cloud server, the external traffic intrusion log is stored and an early warning is issued; If the log upload condition is not met, storing the external traffic intrusion log; The non-intrusive behavior characteristic condition includes at least one of the following conditions: no network virus, not from the address in the blacklist, not belonging to attack traffic data, not belonging to intrusion traffic data, and successful authentication; The log upload conditions include at least one of the following conditions: the existence of a network virus, attack traffic data, intrusion traffic data, or more than three consecutive authentication failures.

7. The vehicle-based communication network monitoring system according to claim 1, characterized in that: The vehicle-mounted virus detection and killing module is used to: Detect whether any external device connected to the vehicle, including a wifi device, an external USB device, or a Bluetooth device, carries a virus; If at least one external device carries a virus, disconnect the external device carrying the virus, generate a virus carrying log, upload the virus carrying log to the cloud server, store it, and issue an early warning; If all external devices do not carry viruses, external data carried by each external device is allowed to enter the vehicle for processing.

8. The vehicle-based communication network monitoring system according to claim 1, characterized in that: The first Ethernet traffic intrusion detection module is used to: Detecting whether the message data transmitted by the first Ethernet bus is abnormal traffic data; If it is abnormal traffic data, deny the abnormal traffic data from entering the vehicle for processing, and generate a first Ethernet traffic abnormality log; Determining whether the first multi-core processor to which the first Ethernet intrusion detection module belongs supports communication with the cloud server; If it is determined that communication is supported, determine whether the log needs to be uploaded immediately. If so, immediately upload the first Ethernet traffic abnormality log to the cloud server for storage and warning; if not, regularly upload the first Ethernet traffic log to the cloud server for storage and warning.

9. The vehicle-based communication network monitoring system according to claim 2, characterized in that: The second Ethernet traffic intrusion detection module is used to: Detecting whether the message data transmitted by the second Ethernet bus is abnormal traffic data; If it is abnormal traffic data, the abnormal traffic data is refused to enter the vehicle for processing, and a second Ethernet traffic abnormality log is generated; Determining whether the second multi-core processor to which the second Ethernet intrusion module belongs supports communication with the cloud server; If it is determined that communication is not supported, the second Ethernet traffic anomaly log is transmitted to the first A core in the first multi-core processor that supports communication with the cloud server through a preset protocol, and it is determined whether the log needs to be uploaded immediately. If so, the first A core immediately uploads the second Ethernet traffic anomaly log to the cloud server for storage and warning; if not, the first A core periodically uploads the second Ethernet traffic anomaly log to the cloud server for storage and warning.

10. The vehicle-based communication network monitoring system according to claim 8, characterized in that: The first Ethernet traffic intrusion detection module includes a first whitelist detection unit and a first UDS detection unit; wherein, The first whitelist detection unit is used to perform whitelist detection on the network address, request identifier and message identifier in the message data transmitted by the first Ethernet bus, and determine whether the message data transmitted by the first Ethernet bus is abnormal traffic data based on the detection result; The first UDS detection unit is used to perform UDS detection on the message data transmitted by the first Ethernet bus, and determine whether the message data transmitted by the first Ethernet bus is abnormal traffic data based on the detection result.

11. The vehicle-based communication network monitoring system according to any one of claims 1 to 10, characterized in that: The vehicle-based communication network monitoring system further includes an external secure storage module, which is communicatively connected to the first A core of the first multi-core processor; wherein, The external security storage module is used to store CAN traffic anomaly logs, Ethernet traffic anomaly logs, external traffic intrusion logs, and virus carrying logs.

12. A vehicle, characterized in that: The vehicle comprises the vehicle-based communication network monitoring system according to any one of claims 1 to 11.

13. A vehicle-based communication network monitoring method, characterized in that: The vehicle-based communication network monitoring system according to any one of claims 1 to 11, wherein the vehicle-based communication network monitoring system comprises a first multi-core processor, wherein the first multi-core processor comprises a first A core and a first M core, and the vehicle-based communication network monitoring method comprises: The first A core monitors the message data transmitted by the cloud server and the message data transmitted by the first Ethernet bus respectively, and determines whether they are abnormal traffic data; The first M core monitors the message data transmitted by the first CAN bus to determine whether it is abnormal traffic data.

14. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are run by the processor, the steps of the vehicle-based communication network monitoring method as described in claim 13 are executed.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the vehicle-based communication network monitoring method according to claim 13 are performed.