CN118646630A - Method, device, equipment and medium for detecting communication anomaly in vehicle network - Google Patents
Method, device, equipment and medium for detecting communication anomaly in vehicle network Download PDFInfo
- Publication number
- CN118646630A CN118646630A CN202310266480.5A CN202310266480A CN118646630A CN 118646630 A CN118646630 A CN 118646630A CN 202310266480 A CN202310266480 A CN 202310266480A CN 118646630 A CN118646630 A CN 118646630A
- Authority
- CN
- China
- Prior art keywords
- soc
- node
- network
- communication
- nodes
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004891 communication Methods 0.000 title claims abstract description 114
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000001514 detection method Methods 0.000 claims abstract description 87
- 230000002159 abnormal effect Effects 0.000 claims abstract description 42
- 230000005856 abnormality Effects 0.000 claims description 38
- 238000004590 computer program Methods 0.000 claims description 13
- 230000008859 change Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000011897 real-time detection Methods 0.000 description 4
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 3
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 3
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 3
- 238000003745 diagnosis Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000005389 magnetism Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/1845—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast broadcast or multicast in a specific location, e.g. geocast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Small-Scale Networks (AREA)
Abstract
本公开涉及一种车辆内网络的通讯异常检测方法、装置、设备及介质,其中,方法包括:通过车辆内多个SOC节点采集车辆内网络的状态信息,其中,所述多个SOC节点之间通过网络通讯连接;控制每个SOC节点将所述状态信息通过所述网络进行广播,以使目标SOC节点获取每个SOC节点采集的状态信息;控制所述目标SOC节点将所述每个SOC节点采集的状态信息与异常条件进行匹配,确定车辆内网络的通讯异常检测结果。根据本公开的技术方案,能够提高车辆内网络通讯异常检测的实时性、准确性和可靠性。
The present disclosure relates to a method, device, equipment and medium for detecting communication anomalies in a vehicle network, wherein the method comprises: collecting status information of the vehicle network through multiple SOC nodes in the vehicle, wherein the multiple SOC nodes are connected through network communication; controlling each SOC node to broadcast the status information through the network so that the target SOC node obtains the status information collected by each SOC node; controlling the target SOC node to match the status information collected by each SOC node with abnormal conditions to determine the communication anomaly detection result of the vehicle network. According to the technical solution of the present disclosure, the real-time, accuracy and reliability of the vehicle network communication anomaly detection can be improved.
Description
技术领域Technical Field
本公开涉及车辆技术领域,尤其涉及一种车辆内网络的通讯异常检测方法、装置、设备及介质。The present disclosure relates to the field of vehicle technology, and in particular to a method, device, equipment and medium for detecting communication anomalies in a network within a vehicle.
背景技术Background Art
ECU(Electronic Control Unit,电子控制单元)是车辆中的重要单元,obd(OnBoard Diagnostics,车载自动诊断系统)接口是车辆上的接口,用于连接检测设备、电脑等。ECU (Electronic Control Unit) is an important unit in the vehicle. OBD (OnBoard Diagnostics) interface is an interface on the vehicle, which is used to connect detection equipment, computers, etc.
相关技术中,通过obd接口连接外部设备,通过外部设备实现ECU等节点的诊断和检测,该方式需要外接设备,而与车辆相关的部分场景并不便于外接设备,因此在此类场景中难以实现实时检测。In the related technology, external devices are connected through the OBD interface to realize the diagnosis and detection of nodes such as ECU. This method requires external devices, but some scenarios related to the vehicle are not convenient for external devices. Therefore, it is difficult to achieve real-time detection in such scenarios.
发明内容Summary of the invention
为了解决上述技术问题,本公开提供了一种车辆内网络的通讯异常检测方法、装置、设备及介质。In order to solve the above technical problems, the present disclosure provides a method, device, equipment and medium for detecting communication anomalies in a vehicle network.
第一方面,本公开实施例提供了一种车辆内网络的通讯异常检测方法,包括:In a first aspect, an embodiment of the present disclosure provides a method for detecting communication anomalies in a vehicle network, comprising:
通过车辆内多个SOC节点采集车辆内网络的状态信息,其中,所述多个SOC节点之间通过网络通讯连接;Collecting status information of a network in the vehicle through a plurality of SOC nodes in the vehicle, wherein the plurality of SOC nodes are connected through network communication;
控制每个所述SOC节点将所述状态信息通过所述网络进行广播,以使目标SOC节点获取每个所述SOC节点采集的状态信息;所述目标SOC节点为所述多个SOC节点中的任一节点;Controlling each of the SOC nodes to broadcast the status information through the network, so that a target SOC node acquires the status information collected by each of the SOC nodes; the target SOC node is any one of the multiple SOC nodes;
控制所述目标SOC节点将所述每个SOC节点采集的状态信息与异常条件进行匹配,确定所述车辆内网络的通讯异常检测结果。The target SOC node is controlled to match the state information collected by each SOC node with the abnormal condition, and a communication abnormality detection result of the in-vehicle network is determined.
第二方面,本公开实施例提供了一种车辆内网络的通讯异常检测装置,包括:In a second aspect, an embodiment of the present disclosure provides a communication anomaly detection device for a vehicle network, comprising:
采集模块,用于通过车辆内多个SOC节点车辆内网络的采集状态信息,其中,所述多个SOC节点之间通过网络通讯连接;A collection module, used for collecting status information of a vehicle network through a plurality of SOC nodes in the vehicle, wherein the plurality of SOC nodes are connected through network communication;
广播模块,用于控制每个所述SOC节点将所述状态信息通过所述网络进行广播,以使目标SOC节点获取每个所述SOC节点采集的状态信息;所述目标SOC节点为所述多个SOC节点中的任一节点;A broadcast module, used for controlling each of the SOC nodes to broadcast the status information through the network, so that a target SOC node obtains the status information collected by each of the SOC nodes; the target SOC node is any node among the multiple SOC nodes;
检测模块,用于控制所述目标SOC节点将所述每个SOC节点采集的状态信息与异常条件进行匹配,确定所述车辆内网络的通讯异常检测结果。The detection module is used to control the target SOC node to match the state information collected by each SOC node with the abnormal condition, and determine the communication abnormality detection result of the vehicle internal network.
第三方面,本公开实施例提供了一种电子设备,包括:处理器;用于存储所述处理器可执行指令的存储器;所述处理器,用于从所述存储器中读取所述可执行指令,并执行所述指令以实现上述第一方面所述的车辆内网络的通讯异常检测方法。In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor; a memory for storing executable instructions of the processor; the processor is used to read the executable instructions from the memory and execute the instructions to implement the method for detecting communication anomalies in the vehicle network as described in the first aspect above.
第四方面,本公开实施例提供了一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述第一方面所述的车辆内网络的通讯异常检测方法。In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the method for detecting communication anomalies in a vehicle network described in the first aspect above is implemented.
第五方面,本公开实施例提供了一种车辆,包括如上述第二方面所述的车辆内网络的通讯异常检测装置,或者,如上述第三方面所述的电子设备。In a fifth aspect, an embodiment of the present disclosure provides a vehicle, comprising a communication anomaly detection device for an in-vehicle network as described in the second aspect above, or an electronic device as described in the third aspect above.
本公开实施例提供的技术方案与现有技术相比具有如下优点:通过车辆内多个SOC节点采集车辆内网络的状态信息,多个SOC节点之间通过网络通讯连接,进而SOC节点将状态信息通过网络进行广播,目标SOC节点将每个SOC节点采集的状态信息与异常条件进行匹配,确定车辆内网络的通讯异常检测结果,由此,相较于现有技术中通过obd接口实现检测的方式,无需通过接口连接外部设备即可实现检测,解决了外接设备的检测方式难以实现实时检测的问题,保证了检测的实时性。Compared with the prior art, the technical solution provided by the disclosed embodiment has the following advantages: the status information of the network within the vehicle is collected by multiple SOC nodes in the vehicle, and the multiple SOC nodes are connected through network communication, and then the SOC nodes broadcast the status information through the network, and the target SOC node matches the status information collected by each SOC node with the abnormal condition to determine the communication abnormality detection result of the network within the vehicle. Therefore, compared with the method of realizing detection through the OBD interface in the prior art, detection can be realized without connecting an external device through an interface, which solves the problem that the detection method of the external device is difficult to realize real-time detection, and ensures the real-time nature of the detection.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
图1为本公开实施例所提供的一种车辆内网络的通讯异常检测方法的流程示意图;FIG1 is a flow chart of a method for detecting abnormal communication in a vehicle network according to an embodiment of the present disclosure;
图2为本公开实施例所提供的另一种车辆内网络的通讯异常检测方法的流程示意图;FIG2 is a flow chart of another method for detecting abnormal communication in a vehicle network according to an embodiment of the present disclosure;
图3为本公开实施例所提供的一种图形化展示界面示意图;FIG3 is a schematic diagram of a graphical display interface provided by an embodiment of the present disclosure;
图4为本公开实施例所提供的一种车辆内网络的通讯异常检测装置的结构示意图。FIG4 is a schematic diagram of the structure of a communication anomaly detection device for an in-vehicle network provided by an embodiment of the present disclosure.
具体实施方式DETAILED DESCRIPTION
为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
SOC(System on Chip,系统级芯片),或称片上系统,是一个有专用目标的集成电路,其中包含完整系统并有嵌入软件的全部内容,SOC采用非实时操作系统,例如安卓系统、linux系统、windows系统。SOC (System on Chip), or system on chip, is an integrated circuit with a dedicated purpose, which contains all the contents of a complete system and embedded software. SOC uses a non-real-time operating system, such as Android, Linux, and Windows.
图1为本公开实施例所提供的一种车辆内网络的通讯异常检测方法的流程示意图,本公开实施例提供的方法可以由车辆内网络的通讯异常检测装置来执行,该装置可以采用软件和/或硬件实现,并可集成在任意具有计算能力的电子设备上,例如车载终端。Figure 1 is a flow chart of a method for detecting a communication anomaly in a vehicle network provided in an embodiment of the present disclosure. The method provided in an embodiment of the present disclosure can be executed by a communication anomaly detection device for a vehicle network, which can be implemented in software and/or hardware and can be integrated in any electronic device with computing capabilities, such as a vehicle-mounted terminal.
如图1所示,本公开实施例提供的车辆内网络的通讯异常检测方法可包括:As shown in FIG1 , the method for detecting communication anomalies in a vehicle network provided by an embodiment of the present disclosure may include:
步骤101,通过车辆内多个SOC节点采集车辆内网络的状态信息,其中,多个SOC节点之间通过网络通讯连接。Step 101 , collecting status information of a network in a vehicle through a plurality of SOC nodes in the vehicle, wherein the plurality of SOC nodes are connected through network communication.
本实施例中,多个SOC节点之间通过网络通讯连接,即在车辆内整体网络结构中设计网络通路,该通路可通往车辆内的全部SOC节点。其中,对于网络的类型,例如,多个SOC节点之间通过以太网通讯连接,又例如,多个SOC节点之间通过CAN网络通讯连接。In this embodiment, multiple SOC nodes are connected through network communication, that is, a network path is designed in the overall network structure in the vehicle, and the path can lead to all SOC nodes in the vehicle. Among them, for the type of network, for example, multiple SOC nodes are connected through Ethernet communication, and for another example, multiple SOC nodes are connected through CAN network communication.
其中,每个SOC节点均进行如下状态信息采集:1)收集当前SOC节点到其他SOC节点的以太网ping(Packet Internet Groper,因特网包探索器)值信息,其中,每个SOC节点通过向其他SOC节点进行请求,根据返回信息确定到其他SOC节点的以太网ping值信息;2)收集通过物理连接方式(如mdio(Management Data InputOutput,管理数据输入输出)、spi(Serial Peripheral Interface,串行外围设备接口)、uart(Universal AsynchronousReceiver Transmitter,通用异步收发装置)等)连接在当前SOC节点的以太网交换机(switch)状态信息/phy(端口物理层,以太网phy是一个芯片,可以发送和接收以太网的数据帧)芯片状态信息,其中,以太网交换机状态信息,例如是switch各端口上的发送数据(tx,transport x)、接收数据(rx,receive x)信息,以太网phy芯片状态信息,例如是连接(linkup)、链路不运行(linkdown)等信息;3)当前SOC节点通过CAN(Controller AreaNetwork,控制器局域网络)网络发送自身心跳信息;4)当前SOC节点通过CAN网络收集其他节点的心跳信息,其中,心跳信息周期性发送,并可以携带诸如节点状态等信息;5)通过当前SOC节点连接的各CAN网络,收集对应CAN网络上的ECU状态信息。Each SOC node collects the following status information: 1) collects the Ethernet ping (Packet Internet Groper) value information from the current SOC node to other SOC nodes, wherein each SOC node determines the Ethernet ping value information to other SOC nodes based on the returned information by making a request to other SOC nodes; 2) collects the Ethernet switch (switch) status information/phy (port physical layer, Ethernet phy is a chip that can send and receive Ethernet data frames) chip status information connected to the current SOC node through a physical connection method (such as mdio (Management Data Input Output), spi (Serial Peripheral Interface), uart (Universal Asynchronous Receiver Transmitter), etc.), wherein the Ethernet switch status information, for example, is the sending data (tx, transport x) and receiving data (rx, receive) on each port of the switch. x) information, Ethernet phy chip status information, such as connection (linkup), link down and other information; 3) The current SOC node sends its own heartbeat information through the CAN (Controller Area Network) network; 4) The current SOC node collects the heartbeat information of other nodes through the CAN network, where the heartbeat information is sent periodically and can carry information such as node status; 5) Through each CAN network connected by the current SOC node, the ECU status information on the corresponding CAN network is collected.
步骤102,控制每个SOC节点将状态信息通过网络进行广播,以使目标SOC节点获取每个SOC节点采集的状态信息。Step 102 : Control each SOC node to broadcast the status information through the network, so that the target SOC node obtains the status information collected by each SOC node.
本实施例中,目标SOC节点可以是预先确定的,用于收集各SOC节点采集的状态信息,以根据各SOC节点采集的状态信息进行处理。In this embodiment, the target SOC node may be predetermined and used to collect the status information collected by each SOC node so as to perform processing according to the status information collected by each SOC node.
作为一种示例,多个SOC节点之间通过以太网通讯连接,即该以太网通路可通往车辆内的全部SOC节点,则每个SOC节点在采集状态信息后,将采集的状态信息通过该以太网进行广播。As an example, multiple SOC nodes are connected via Ethernet communication, that is, the Ethernet path can lead to all SOC nodes in the vehicle. After collecting status information, each SOC node broadcasts the collected status information through the Ethernet.
作为另一种示例,多个SOC节点之间通过CAN网络通讯连接,即该CAN网络通路可通往车辆内的全部SOC节点,则每个SOC节点在采集状态信息后,将采集的状态信息通过该CAN网络进行广播。As another example, multiple SOC nodes are connected through a CAN network communication, that is, the CAN network path can lead to all SOC nodes in the vehicle. After collecting status information, each SOC node broadcasts the collected status information through the CAN network.
其中,目标SOC节点的数量可以是一个或多个,目标SOC节点具体可以是连接有显示装置、语音装置等具有信息展示功能装置的SOC节点,例如,目标SOC节点为车机的SOC节点。可选地,目标SOC节点的数量为多个,例如SOC1、SOC2和SOC3中,SOC2连接有显示装置,SOC3连接有语音装置,SOC2和SOC3为目标SOC节点,SOC1、SOC2和SOC3均广播状态信息。The number of target SOC nodes may be one or more, and the target SOC node may be a SOC node connected to a display device, a voice device, or other information display function device, for example, the target SOC node is a SOC node of a vehicle computer. Optionally, the number of target SOC nodes is multiple, for example, among SOC1, SOC2, and SOC3, SOC2 is connected to a display device, SOC3 is connected to a voice device, SOC2 and SOC3 are target SOC nodes, and SOC1, SOC2, and SOC3 all broadcast status information.
步骤103,控制目标SOC节点将每个SOC节点采集的状态信息与异常条件进行匹配,确定车辆内网络的通讯异常检测结果。Step 103 , controlling the target SOC node to match the state information collected by each SOC node with the abnormal condition, and determining the communication abnormality detection result of the vehicle internal network.
本实施例中,通过目标SOC节点收集各SOC节点采集的上述状态信息并进行汇总计算,以与异常条件进行匹配,确定通讯异常检测结果。其中,异常条件用于判断状态信息是否满足一定条件,例如异常条件可以是未获取到某一SOC节点返回的ping值信息等,异常条件可以有多种,若状态信息匹配到某一异常条件,则可以确定存在异常以及确定存在何种异常。In this embodiment, the target SOC node collects the above-mentioned state information collected by each SOC node and performs summary calculation to match it with the abnormal condition to determine the communication abnormality detection result. Among them, the abnormal condition is used to determine whether the state information meets certain conditions. For example, the abnormal condition may be that the ping value information returned by a certain SOC node is not obtained, etc. There may be multiple abnormal conditions. If the state information matches a certain abnormal condition, it can be determined that an abnormality exists and what kind of abnormality exists.
作为一种示例,多个SOC节点之间通过以太网通讯连接,通讯异常检测结果包括ECU是否异常、SOC节点是否以太网掉线等。As an example, multiple SOC nodes are connected via Ethernet communication, and the communication anomaly detection result includes whether the ECU is abnormal, whether the SOC node is disconnected from Ethernet, etc.
作为另一种示例,多个SOC节点之间通过CAN网络通讯连接,通讯异常检测结果包括ECU是否异常、CAN节点是否掉线等。As another example, multiple SOC nodes are connected via CAN network communication, and the communication anomaly detection result includes whether the ECU is abnormal, whether the CAN node is offline, etc.
在本公开的一个实施例中,在确定通讯异常检测结果之后,对于连接有显示装置的目标SOC节点,通过与目标SOC节点连接的显示装置,显示通讯异常检测结果,和/或,对于连接有语音装置的目标SOC节点,通过与目标SOC节点连接的语音装置,播放通讯异常检测结果。In one embodiment of the present disclosure, after determining the communication anomaly detection result, for a target SOC node connected to a display device, the communication anomaly detection result is displayed through the display device connected to the target SOC node, and/or, for a target SOC node connected to a voice device, the communication anomaly detection result is played through the voice device connected to the target SOC node.
根据本公开实施例的技术方案,通过车辆内多个SOC节点采集状态信息,控制SOC节点将状态信息通过网络进行广播,目标SOC节点将每个SOC节点采集的状态信息与异常条件进行匹配,确定通讯异常检测结果,由此,相较于现有技术中通过obd接口实现ECU等节点检测的方式,由于该方式需要车辆外接设备,难以在车辆行驶等场景实现实时检测,本方法中多个SOC节点之间通过网络通讯连接,通过SOC节点采集状态信息并在网络中广播,并在目标SOC节点确定通讯异常检测结果,无需通过接口连接外部设备即可实现检测,解决了现有技术难以实现实时检测的问题,保证了异常检测的实时性。According to the technical solution of the embodiment of the present disclosure, status information is collected by multiple SOC nodes in the vehicle, the SOC nodes are controlled to broadcast the status information through the network, and the target SOC node matches the status information collected by each SOC node with the abnormal condition to determine the communication abnormality detection result. Therefore, compared with the method of realizing ECU and other node detection through the OBD interface in the prior art, since this method requires vehicle external devices and is difficult to realize real-time detection in scenes such as vehicle driving, in this method, multiple SOC nodes are connected through network communication, status information is collected by the SOC nodes and broadcast in the network, and the communication abnormality detection result is determined at the target SOC node. Detection can be realized without connecting external devices through interfaces, which solves the problem that it is difficult to realize real-time detection in the prior art and ensures the real-time performance of abnormality detection.
基于上述实施例,图2为本公开实施例所提供的另一种车辆内网络的通讯异常检测方法的流程示意图,如图2所示,该方法包括:Based on the above embodiment, FIG2 is a flow chart of another method for detecting abnormal communication in a vehicle network provided by an embodiment of the present disclosure. As shown in FIG2 , the method includes:
步骤201,通过车辆内多个SOC节点采集车辆内网络的状态信息。Step 201 : collecting status information of the network in the vehicle through multiple SOC nodes in the vehicle.
其中,多个SOC节点之间通过以太网通讯连接,以及多个SOC节点之间通过CAN网络通讯连接。状态信息包括SOC节点的以太网ping值、物理连接在SOC节点的以太网交换机的状态、以太网phy芯片的状态、通过CAN网络传递的心跳信息、在CAN网络上各ECU的状态。Among them, multiple SOC nodes are connected through Ethernet communication, and multiple SOC nodes are connected through CAN network communication. The status information includes the Ethernet ping value of the SOC node, the status of the Ethernet switch physically connected to the SOC node, the status of the Ethernet phy chip, the heartbeat information transmitted through the CAN network, and the status of each ECU on the CAN network.
步骤202,每个SOC节点将状态信息分别通过以太网和CAN网络进行广播。Step 202: Each SOC node broadcasts status information via Ethernet and CAN network respectively.
本实施例中,车辆内整体网络结构中建立以下通路,包括通往全部SOC节点的以太网网络以及通往全部SOC节点的CAN网络。例如,对于以太网ping值,若该SOC节点掉线,则无法通过以太网广播状态信息,此时可以通过CAN网络广播状态信息,以使目标SOC节点进行后续处理。其中,通往全部SOC节点的以太网网络可以由一条通路实现,也可以多条通路组合实现,CAN网络同理,此处不作限制。In this embodiment, the following paths are established in the overall network structure in the vehicle, including an Ethernet network leading to all SOC nodes and a CAN network leading to all SOC nodes. For example, for the Ethernet ping value, if the SOC node is offline, the status information cannot be broadcast through the Ethernet. At this time, the status information can be broadcast through the CAN network so that the target SOC node can perform subsequent processing. Among them, the Ethernet network leading to all SOC nodes can be realized by one path or a combination of multiple paths. The same is true for the CAN network, which is not limited here.
由此,通过CAN网络和以太网互相作为备份通讯方式,实现车内CAN网络、以太网网络的通讯诊断,能够提高通讯异常检测的准确性和可靠性。Therefore, by using the CAN network and Ethernet as backup communication methods for each other, communication diagnosis of the CAN network and Ethernet network in the vehicle can be realized, which can improve the accuracy and reliability of communication anomaly detection.
步骤203,将每个SOC节点采集的状态信息与异常条件进行匹配,确定车辆内网络的通讯异常检测结果。Step 203 , matching the state information collected by each SOC node with the abnormal condition to determine the communication abnormality detection result of the in-vehicle network.
在本公开的一个实施例中,状态信息包括SOC节点的以太网ping值,则将所述每个SOC节点采集的状态信息与异常条件进行匹配,确定通讯异常检测结果,包括:若所有SOC节点均未获取到第一SOC节点返回的以太网ping值,则确定所述通讯异常检测结果为所述第一SOC节点以太网掉线;和/或,若第二SOC节点未获取到任意SOC节点返回的以太网ping值,则确定所述通讯异常检测结果为所述第二SOC节点对外网络断开。In one embodiment of the present disclosure, the status information includes the Ethernet ping value of the SOC node, and the status information collected by each SOC node is matched with the abnormal condition to determine the communication abnormality detection result, including: if all SOC nodes fail to obtain the Ethernet ping value returned by the first SOC node, then the communication abnormality detection result is determined to be that the Ethernet of the first SOC node is disconnected; and/or, if the second SOC node fails to obtain the Ethernet ping value returned by any SOC node, then the communication abnormality detection result is determined to be that the second SOC node is disconnected from the external network.
在本公开的一个实施例中,状态信息包括SOC节点的以太网ping值、物理连接在SOC节点的以太网交换机的状态、以太网phy芯片的状态,则将所述每个SOC节点采集的状态信息与异常条件进行匹配,确定通讯异常检测结果,包括:若所有SOC节点均未获取到所述第一SOC节点返回的以太网ping值,且通过指定链路获取到以太网phy芯片的未连接信息,则确定所述通讯异常检测结果为所述第一SOC节点对应的以太网phy芯片未连接;和/或,若以太网交换机连接第三SOC节点的端口在发送方向或者接收方向上无计数变化,则确定所述通讯异常检测结果为该端口异常。其中,第一SOC节点、第二SOC节点和第三SOC节点,可以是多个SOC节点中的任一节点。In one embodiment of the present disclosure, the status information includes the Ethernet ping value of the SOC node, the status of the Ethernet switch physically connected to the SOC node, and the status of the Ethernet phy chip. The status information collected by each SOC node is matched with the abnormal condition to determine the communication abnormality detection result, including: if all SOC nodes have not obtained the Ethernet ping value returned by the first SOC node, and the disconnection information of the Ethernet phy chip is obtained through the specified link, then the communication abnormality detection result is determined to be that the Ethernet phy chip corresponding to the first SOC node is not connected; and/or, if the port of the Ethernet switch connected to the third SOC node has no count changes in the sending direction or the receiving direction, then the communication abnormality detection result is determined to be that the port is abnormal. Among them, the first SOC node, the second SOC node and the third SOC node can be any node among multiple SOC nodes.
作为一种示例,以SOC1、SOC2、SOC3为例,若SOC2 ping SOC1未收到回应,则判断为SOC1掉线,若同时通过phy-soc的mdio链路收到phy linkdown信息,则判断为phylinkdown。本示例中,异常数据可以通过以太网和CAN网络同时发送至SOC3,由于SOC2的phylinkdown,因此无法通过以太网与SOC3通讯,因此通过CAN网络将异常数据发给SOC3,SOC3将异常以图形化方式展示给用户。As an example, take SOC1, SOC2, and SOC3 as an example. If SOC2 pings SOC1 and does not receive a response, it is judged that SOC1 is offline. If phy linkdown information is received through the mdio link of phy-soc at the same time, it is judged as phylinkdown. In this example, abnormal data can be sent to SOC3 through Ethernet and CAN network at the same time. Due to the phylinkdown of SOC2, it cannot communicate with SOC3 through Ethernet. Therefore, the abnormal data is sent to SOC3 through the CAN network, and SOC3 displays the abnormality to the user in a graphical way.
作为另一种示例,SOC1 ping SOC2+SOC3均未返回ping,此时判断本机以太网网络异常,将异常数据通过CAN网络发送至SOC3,SOC3将异常数据以图形化方式展示给用户。As another example, when SOC1 pings SOC2+SOC3 but no ping is returned, it is determined that the local Ethernet network is abnormal, and the abnormal data is sent to SOC3 through the CAN network. SOC3 displays the abnormal data to the user in a graphical manner.
作为另一种示例,以太网交换机连接SOC1的端口1在发送和接收任一方向无计数变化,判断为端口1异常。As another example, if there is no count change in either the sending or receiving direction of port 1 of the Ethernet switch connected to SOC1, it is determined that port 1 is abnormal.
在本公开的一个实施例中,状态信息包括通过CAN网络传递的心跳信息、在CAN网络上各ECU的状态,则将每个SOC节点采集的状态信息与异常条件进行匹配,确定通讯异常检测结果,包括:若在预设时间内未接收到CAN网络中任一一个CAN节点的心跳信息,则确定通讯异常检测结果为CAN节点掉线;和/或,若指定ECU的状态为异常状态,则确定通讯异常检测结果为所述指定ECU异常。其中,CAN节点是CAN网络中的节点,包括SOC节点、ECU等。In one embodiment of the present disclosure, the status information includes the heartbeat information transmitted through the CAN network and the status of each ECU on the CAN network. The status information collected by each SOC node is matched with the abnormal condition to determine the communication abnormality detection result, including: if the heartbeat information of any CAN node in the CAN network is not received within a preset time, the communication abnormality detection result is determined to be the CAN node offline; and/or, if the status of the specified ECU is an abnormal state, the communication abnormality detection result is determined to be the abnormality of the specified ECU. Wherein, the CAN node is a node in the CAN network, including SOC nodes, ECUs, etc.
作为一种示例,SOC1、SOC2、SOC3均通过CAN网络发送心跳信息,若SOC1、SOC2均未在预设时间内接收到SOC3的心跳信息,则判断为SOC3掉线。As an example, SOC1, SOC2, and SOC3 all send heartbeat information through the CAN network. If SOC1 and SOC2 do not receive the heartbeat information of SOC3 within a preset time, it is determined that SOC3 is offline.
步骤204,按照多个SOC节点之间的连接关系对应生成显示图像,在显示图像中确定与通讯异常检测结果对应的位置,以在该位置处显示通讯异常检测结果。Step 204 , generating a display image according to the connection relationship between the plurality of SOC nodes, determining a position corresponding to the communication anomaly detection result in the display image, and displaying the communication anomaly detection result at the position.
参照图3,图3示出了一种图形化展示界面示意图,展示的内容包括节点、节点之间的连接关系等,即按照多个SOC节点之间的连接关系对应生成显示图像,对于通讯异常检测结果,如图中的SOC掉线、phy linkdown、交换机端口无数据收发、ECU4总线脱离(busoff)等,基于前述步骤SOC3可以根据各节点采集的状态信息进行处理,确定异常内容和发生异常的位置,进行在图中对应位置处显示该异常内容。Referring to Figure 3, Figure 3 shows a schematic diagram of a graphical display interface, and the displayed content includes nodes, connection relationships between nodes, etc., that is, a display image is generated corresponding to the connection relationship between multiple SOC nodes. For communication abnormality detection results, such as SOC disconnection, phy linkdown, no data transmission or reception at the switch port, ECU4 bus disconnection (busoff), etc., based on the aforementioned steps, SOC3 can process according to the status information collected by each node, determine the abnormal content and the location where the abnormality occurs, and display the abnormal content at the corresponding position in the figure.
其中,eth为以太网网络接口,IP指设备的ip地址,SOC3对应车机时,SOC3右侧箭头可以与屏幕相连。如图3中所示,SOC节点之间通过CAN网络1相连,ECU1、ECU 2、ECU 5位于CAN网络1,ECU3、ECU4和SOC2位于CAN网络2,SOC3、ECU6和ECU7位于CAN网络4,其中SOC2可以采集ECU3和ECU4的状态信息,SOC3可以采集ECU6和ECU7的状态信息。Among them, eth is the Ethernet network interface, IP refers to the IP address of the device, and when SOC3 corresponds to the vehicle computer, the arrow on the right side of SOC3 can be connected to the screen. As shown in Figure 3, the SOC nodes are connected through CAN network 1, ECU1, ECU 2, ECU 5 are located in CAN network 1, ECU3, ECU4 and SOC2 are located in CAN network 2, SOC3, ECU6 and ECU7 are located in CAN network 4, among which SOC2 can collect the status information of ECU3 and ECU4, and SOC3 can collect the status information of ECU6 and ECU7.
本公开实施例中,通过CAN网络和以太网互相作为备份通讯方式,实现车辆内网络的通讯诊断,进一步提高通讯异常检测的准确性和可靠性,此外,按照多个SOC节点之间的连接关系对应生成显示图像,在显示图像中确定与通讯异常检测结果对应的位置进行展示,例如整车网络中各SOC、MCU(Microcontroller Unit,微控制单元)、ECU等是否工作正常,实现图形化展示,更为直观。In the disclosed embodiment, the CAN network and Ethernet are used as backup communication methods to realize communication diagnosis of the vehicle network, further improving the accuracy and reliability of communication anomaly detection. In addition, a display image is generated according to the connection relationship between multiple SOC nodes, and the position corresponding to the communication anomaly detection result is determined in the display image for display. For example, whether each SOC, MCU (Microcontroller Unit), ECU, etc. in the vehicle network is working normally, realizing graphical display, which is more intuitive.
本公开实施例还提出一种车辆内网络的通讯异常检测装置。The disclosed embodiment also provides a communication anomaly detection device for an in-vehicle network.
图4为本公开实施例所提供的一种车辆内网络的通讯异常检测装置的结构示意图,如图4所示,该车辆内网络的通讯异常检测装置包括:采集模块41,广播模块42,检测模块43。FIG4 is a schematic diagram of the structure of a communication anomaly detection device for an in-vehicle network provided in an embodiment of the present disclosure. As shown in FIG4 , the communication anomaly detection device for an in-vehicle network includes: a collection module 41 , a broadcast module 42 , and a detection module 43 .
其中,采集模块41,用于通过车辆内多个SOC节点采集车辆内网络的状态信息,其中,所述多个SOC节点之间通过网络通讯连接。The acquisition module 41 is used to acquire the status information of the network in the vehicle through a plurality of SOC nodes in the vehicle, wherein the plurality of SOC nodes are connected through network communication.
广播模块42,用于控制每个SOC节点将所述状态信息通过所述网络进行广播,以使目标SOC节点获取每个SOC节点采集的状态信息,目标SOC节点为多个SOC节点中的任一节点。The broadcast module 42 is used to control each SOC node to broadcast the status information through the network, so that a target SOC node obtains the status information collected by each SOC node, and the target SOC node is any node among the multiple SOC nodes.
检测模块43,用于控制所述目标SOC节点将所述每个SOC节点采集的状态信息与异常条件进行匹配,确定车辆内网络的通讯异常检测结果。The detection module 43 is used to control the target SOC node to match the state information collected by each SOC node with the abnormal condition, and determine the communication abnormality detection result of the vehicle internal network.
在本公开的一个实施例中,所述多个SOC节点之间通过以太网通讯连接,以及所述多个SOC节点之间通过CAN网络通讯连接,广播模块42具体用于:控制所述SOC节点将所述状态信息分别通过以太网和CAN网络进行广播。In one embodiment of the present disclosure, the multiple SOC nodes are connected via Ethernet communication, and the multiple SOC nodes are connected via CAN network communication, and the broadcast module 42 is specifically used to: control the SOC nodes to broadcast the status information via Ethernet and CAN network respectively.
在本公开的一个实施例中,所述状态信息包括SOC节点的以太网ping值,第一SOC节点为多个SOC节点中的任一节点,第二SOC节点为多个SOC节点中的任一节点,检测模块43具体用于:若所有SOC节点均未获取到第一SOC节点返回的以太网ping值,则确定所述通讯异常检测结果为所述第一SOC节点以太网掉线;和/或,若第二SOC节点未获取到任意SOC节点返回的以太网ping值,则确定所述通讯异常检测结果为所述第二SOC节点对外网络断开。In one embodiment of the present disclosure, the status information includes the Ethernet ping value of the SOC node, the first SOC node is any one of the multiple SOC nodes, and the second SOC node is any one of the multiple SOC nodes. The detection module 43 is specifically used to: if all SOC nodes fail to obtain the Ethernet ping value returned by the first SOC node, determine that the communication anomaly detection result is that the Ethernet of the first SOC node is disconnected; and/or, if the second SOC node fails to obtain the Ethernet ping value returned by any SOC node, determine that the communication anomaly detection result is that the second SOC node is disconnected from the external network.
在本公开的一个实施例中,所述状态信息还包括物理连接在SOC节点的以太网交换机的状态、以太网phy芯片的状态,第三SOC节点为多个SOC节点中的任一节点,检测模块43具体用于:若所有SOC节点均未获取到所述第一SOC节点返回的以太网ping值,且通过指定链路获取到以太网phy芯片的未连接信息,则确定所述通讯异常检测结果为所述第一SOC节点对应的以太网phy芯片未连接;和/或,若以太网交换机连接第三SOC节点的端口在发送方向或者接收方向上无计数变化,则确定所述通讯异常检测结果为所述端口异常。In one embodiment of the present disclosure, the status information also includes the status of the Ethernet switch physically connected to the SOC node and the status of the Ethernet phy chip. The third SOC node is any one of the multiple SOC nodes. The detection module 43 is specifically used for: if all SOC nodes have not obtained the Ethernet ping value returned by the first SOC node, and the disconnection information of the Ethernet phy chip is obtained through the specified link, then it is determined that the communication anomaly detection result is that the Ethernet phy chip corresponding to the first SOC node is not connected; and/or, if the port of the Ethernet switch connected to the third SOC node has no count changes in the sending direction or the receiving direction, then it is determined that the communication anomaly detection result is that the port is abnormal.
在本公开的一个实施例中,所述状态信息包括通过CAN网络传递的心跳信息、在CAN网络上各ECU的状态,检测模块43具体用于:若在预设时间内未接收到CAN网络中任一一个CAN节点的心跳信息,则确定所述通讯异常检测结果为所述CAN节点掉线;和/或,若指定ECU的状态为异常状态,则确定所述通讯异常检测结果为所述指定ECU异常。In one embodiment of the present disclosure, the status information includes heartbeat information transmitted through the CAN network and the status of each ECU on the CAN network. The detection module 43 is specifically used to: if the heartbeat information of any CAN node in the CAN network is not received within a preset time, then determine that the communication abnormality detection result is that the CAN node is offline; and/or, if the status of the specified ECU is an abnormal state, then determine that the communication abnormality detection result is that the specified ECU is abnormal.
在本公开的一个实施例中,车辆内网络的通讯异常检测装置还包括:In one embodiment of the present disclosure, the communication anomaly detection device of the in-vehicle network further includes:
显示模块,用于通过与所述目标SOC节点连接的显示装置,显示所述通讯异常检测结果;和/或,语音模块,用于通过与所述目标SOC节点连接的语音装置,播放所述通讯异常检测结果。a display module, used to display the communication anomaly detection result through a display device connected to the target SOC node; and/or a voice module, used to play the communication anomaly detection result through a voice device connected to the target SOC node.
在本公开的一个实施例中,显示模块具体用于:按照所述多个SOC节点之间的连接关系,对应生成显示图像;在所述显示图像中确定与所述通讯异常检测结果对应的位置,以在所述位置处显示所述通讯异常检测结果。In one embodiment of the present disclosure, the display module is specifically used to: generate a display image according to the connection relationship between the multiple SOC nodes; determine a position corresponding to the communication anomaly detection result in the display image to display the communication anomaly detection result at the position.
本公开实施例所提供的车辆内网络的通讯异常检测装置可执行本公开实施例所提供的任意车辆内网络的通讯异常检测方法,具备执行方法相应的功能模块和有益效果。本公开装置实施例中未详尽描述的内容可以参考本公开任意方法实施例中的描述。The communication anomaly detection device for the in-vehicle network provided in the embodiment of the present disclosure can execute any in-vehicle network communication anomaly detection method provided in the embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method. The contents not described in detail in the embodiment of the device of the present disclosure can refer to the description in any method embodiment of the present disclosure.
本公开实施例还提供一种电子设备,电子设备包括一个或多个处理器和存储器。An embodiment of the present disclosure also provides an electronic device, which includes one or more processors and a memory.
处理器可以是中央处理单元(CPU)或者具有数据处理能力和/或指令执行能力的其他形式的处理单元,并且可以控制电子设备中的其他组件以执行期望的功能。The processor may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.
存储器可以包括一个或多个计算机程序产品,计算机程序产品可以包括各种形式的计算机可读存储介质,例如易失性存储器和/或非易失性存储器。易失性存储器例如可以包括随机存取存储器(RAM)和/或高速缓冲存储器(cache)等。非易失性存储器例如可以包括只读存储器(ROM)、硬盘、闪存等。在计算机可读存储介质上可以存储一个或多个计算机程序指令,处理器可以运行程序指令,以实现上文的本公开的实施例的方法以及/或者其他期望的功能。在计算机可读存储介质中还可以存储诸如输入信号、信号分量、噪声分量等各种内容。The memory may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and/or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on a computer-readable storage medium, and a processor may run the program instructions to implement the methods of the embodiments of the present disclosure above and/or other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.
在一个示例中,电子设备还可以包括:输入装置和输出装置,这些组件通过总线系统和/或其他形式的连接机构互连。此外,该输入装置还可以包括例如键盘、鼠标等等。该输出装置可以向外部输出各种信息,包括确定出的距离信息、方向信息等。该输出装置可以包括例如显示器、扬声器、打印机、以及通信网络及其所连接的远程输出设备等等。In one example, the electronic device may further include: an input device and an output device, and these components are interconnected through a bus system and/or other forms of connection mechanisms. In addition, the input device may also include, for example, a keyboard, a mouse, etc. The output device may output various information to the outside, including determined distance information, direction information, etc. The output device may include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, etc.
当然,为了简化,仅示出了该电子设备中与本公开有关的组件中的一些,省略了诸如总线、输入/输出接口等等的组件。除此之外,根据具体应用情况,电子设备还可以包括任何其他适当的组件。Of course, for simplicity, only some of the components in the electronic device related to the present disclosure are shown, omitting components such as a bus, an input/output interface, etc. In addition, the electronic device may further include any other appropriate components according to specific application scenarios.
除了上述方法和设备以外,本公开的实施例还可以是计算机程序产品,其包括计算机程序指令,计算机程序指令在被处理器运行时使得处理器执行本公开实施例所提供的任意方法。In addition to the above methods and devices, the embodiments of the present disclosure may also be a computer program product, which includes computer program instructions. When the computer program instructions are executed by a processor, the processor executes any method provided by the embodiments of the present disclosure.
计算机程序产品可以以一种或多种程序设计语言的任意组合来编写用于执行本公开实施例操作的程序代码,程序设计语言包括面向对象的程序设计语言,诸如Java、C++等,还包括常规的过程式程序设计语言,诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
此外,本公开的实施例还可以是计算机可读存储介质,其上存储有计算机程序指令,计算机程序指令在被处理器运行时使得处理器执行本公开实施例所提供的任意方法。In addition, the embodiments of the present disclosure may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes any method provided by the embodiments of the present disclosure.
计算机可读存储介质可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以包括但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。Computer readable storage media can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
本公开的实施例还可以是车辆,车辆内存在多个SOC节点,多个SOC节点之间通过网络通讯连接,例如,多个SOC节点之间通过以太网通讯连接,和/或,多个SOC节点之间通过CAN网络通讯连接,其中,该车辆还包括如前述的车辆内网络的通讯异常检测装置,或者,如前述实施例的电子设备。An embodiment of the present disclosure may also be a vehicle, wherein there are multiple SOC nodes in the vehicle, and the multiple SOC nodes are connected via network communication, for example, the multiple SOC nodes are connected via Ethernet communication, and/or the multiple SOC nodes are connected via CAN network communication, wherein the vehicle also includes a communication anomaly detection device for the in-vehicle network as described above, or an electronic device as described in the above embodiments.
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310266480.5A CN118646630A (en) | 2023-03-13 | 2023-03-13 | Method, device, equipment and medium for detecting communication anomaly in vehicle network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310266480.5A CN118646630A (en) | 2023-03-13 | 2023-03-13 | Method, device, equipment and medium for detecting communication anomaly in vehicle network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118646630A true CN118646630A (en) | 2024-09-13 |
Family
ID=92666500
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310266480.5A Pending CN118646630A (en) | 2023-03-13 | 2023-03-13 | Method, device, equipment and medium for detecting communication anomaly in vehicle network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118646630A (en) |
-
2023
- 2023-03-13 CN CN202310266480.5A patent/CN118646630A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2696534B1 (en) | Method and device for monitoring quick path interconnect link | |
WO2022121693A1 (en) | Automobile bus fault positioning method, diagnostic device, and automobile detection system and method | |
US20160352565A1 (en) | Measurement system having a plurality of sensors | |
CN111025974A (en) | Vehicle gateway controller, configuration method thereof and automobile system | |
CN107347062A (en) | A kind of method, electronic equipment and the readable storage medium storing program for executing of daily record data processing | |
CN114553373A (en) | Data transmission method, device, equipment and storage medium | |
CN113867324A (en) | Vehicle diagnosis method, vehicle-mounted device, terminal, and storage medium | |
WO2021142822A1 (en) | Vehicle diagnosis method, vehicle diagnosis device and storage medium | |
CN111966081A (en) | Fault diagnosis method, system, medium, equipment and vehicle based on vehicle-mounted display | |
CN110750790B (en) | CAN bus vulnerability detection method and device, terminal equipment and medium | |
US20230412742A1 (en) | Apparatus, method, and system for monitoring image-forming apparatus, and storage medium | |
CN112884942A (en) | Data recording and playback system and playback method thereof | |
CN113746950B (en) | IP address conflict pre-detection method, system, computer equipment and storage medium | |
CN113126598B (en) | Diagnostic method, electronic device and storage medium for automotive electronic control unit | |
CN118646630A (en) | Method, device, equipment and medium for detecting communication anomaly in vehicle network | |
CN113285973A (en) | Data forwarding method, device, system, vehicle and storage medium | |
CN102946335A (en) | Network condition detection method and network condition detection system | |
CN113965515B (en) | Virtualized network link visualization method, system, computer and storage medium | |
CN114637275A (en) | Vehicle remote diagnosis method and device, electronic equipment and storage medium | |
CN105938464B (en) | A kind of accelerometer signal harvester and method based on LabVIEW | |
CN113960991A (en) | Vehicle fault diagnosis system, method and device, system-on-chip and vehicle | |
CN116055347A (en) | Computing system and network device management method | |
CN114756585A (en) | Vehicle data acquisition method, device, electronic device and storage medium | |
Luo et al. | Implementation of bootloader based on DoIP | |
CN115442255B (en) | Ethernet detection method, system, device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |