CN116566800A - Network diagnosis method and device for central computing and regional cooperative control architecture - Google Patents

Network diagnosis method and device for central computing and regional cooperative control architecture Download PDF

Info

Publication number
CN116566800A
CN116566800A CN202310569417.9A CN202310569417A CN116566800A CN 116566800 A CN116566800 A CN 116566800A CN 202310569417 A CN202310569417 A CN 202310569417A CN 116566800 A CN116566800 A CN 116566800A
Authority
CN
China
Prior art keywords
network node
fault information
message
central computing
current network
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
Application number
CN202310569417.9A
Other languages
Chinese (zh)
Inventor
司华超
卢放
郑鹏
张贵海
方伟家
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Voyah Automobile Technology Co Ltd
Original Assignee
Voyah Automobile Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Voyah Automobile Technology Co Ltd filed Critical Voyah Automobile Technology Co Ltd
Priority to CN202310569417.9A priority Critical patent/CN116566800A/en
Publication of CN116566800A publication Critical patent/CN116566800A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

本发明公开了面向中央计算与区域协同控制架构的网络诊断方法及装置,涉及通信网络故障诊断技术领域。所述方法包括:通信链路传递的目标报文丢失后,获取通信链路上的当前网络节点上报的故障信息;根据故障信息中的网络节点名称确定向当前网络节点发送目标报文的上一个网络节点;将上一个网络节点作为当前网络节点并判断是否接收到当前网络节点上报的故障信息;若未接收到当前网络节点上报的故障信息,则确定当前网络节点异常。本发明在通信链路传递的目标报文丢失后会逐级向前追溯通信链路上未上报故障信息的网络节点,实现通信网络的故障诊断。

The invention discloses a network diagnosis method and device for a central computing and regional cooperative control framework, and relates to the technical field of communication network fault diagnosis. The method includes: after the target message transmitted by the communication link is lost, obtaining the fault information reported by the current network node on the communication link; A network node; using the previous network node as the current network node and judging whether the fault information reported by the current network node is received; if the fault information reported by the current network node is not received, it is determined that the current network node is abnormal. After the target message transmitted by the communication link is lost, the present invention traces back step by step the network nodes on the communication link that have not reported the fault information, so as to realize the fault diagnosis of the communication network.

Description

面向中央计算与区域协同控制架构的网络诊断方法及装置Network diagnosis method and device for central computing and regional collaborative control architecture

技术领域technical field

本发明涉及通信网络故障诊断技术领域,尤其涉及面向中央计算与区域协同控制架构的网络诊断方法及装置。The invention relates to the technical field of communication network fault diagnosis, in particular to a network diagnosis method and device for central computing and regional cooperative control architecture.

背景技术Background technique

汽车电动化、智能化及网联化驱动汽车电子电器架构由分布式架构转向中央计算与区域协同控制架构,中央计算与区域协同控制架构的通信网络存在多个网络数据通信交换中心,通信网络十分复杂,当通信网络中的节点异常时会导致报文丢失,导致车辆通信异常,因此需要在网络节点异常时及时准确的定位异常节点,以便及时清除故障,保证车辆的正常通信。基于此,如何准确定位通信网络的异常节点成为了本领域亟待解决的问题。Automobile electrification, intelligence, and networking drive the architecture of automotive electronics and appliances to shift from a distributed architecture to a central computing and regional collaborative control architecture. There are multiple network data communication switching centers in the communication network of the central computing and regional collaborative control architecture. The communication network is very It is complex. When the nodes in the communication network are abnormal, the message will be lost and the vehicle communication will be abnormal. Therefore, when the network node is abnormal, it is necessary to locate the abnormal node in time and accurately, so as to clear the fault in time and ensure the normal communication of the vehicle. Based on this, how to accurately locate the abnormal nodes of the communication network has become an urgent problem to be solved in this field.

发明内容Contents of the invention

本发明通过提供面向中央计算与区域协同控制架构的网络诊断方法及装置,解决了如何准确定位通信网络的异常节点的技术问题。The invention solves the technical problem of how to accurately locate abnormal nodes of a communication network by providing a network diagnosis method and device oriented to a central computing and regional cooperative control framework.

一方面,本发明提供如下技术方案:On the one hand, the present invention provides following technical scheme:

一种面向中央计算与区域协同控制架构的网络诊断方法,包括:A network diagnosis method for central computing and regional cooperative control architecture, including:

通信链路传递的目标报文丢失后,获取所述通信链路上的当前网络节点上报的故障信息,所述故障信息包括目标报文ID和向所述当前网络节点发送所述目标报文的网络节点名称;所述故障信息由所述通信链路上的网络节点在所述目标报文丢失时上报;After the target message transmitted by the communication link is lost, the fault information reported by the current network node on the communication link is obtained, and the fault information includes the target message ID and the address of sending the target message to the current network node. The name of the network node; the fault information is reported by the network node on the communication link when the target message is lost;

根据所述故障信息中的网络节点名称确定向所述当前网络节点发送所述目标报文的上一个网络节点;determining a previous network node that sends the target message to the current network node according to the network node name in the fault information;

将所述上一个网络节点作为当前网络节点并判断是否接收到所述当前网络节点上报的所述故障信息;Taking the previous network node as the current network node and judging whether the fault information reported by the current network node is received;

若接收到所述当前网络节点上报的所述故障信息,则跳转到所述根据所述故障信息中的网络节点名称确定向所述当前网络节点发送所述目标报文的上一个网络节点的步骤;If the fault information reported by the current network node is received, jump to the method of determining the previous network node that sends the target message to the current network node according to the network node name in the fault information step;

若未接收到所述当前网络节点上报的所述故障信息,则确定所述当前网络节点异常。If the fault information reported by the current network node is not received, it is determined that the current network node is abnormal.

优选的,所述故障信息还包括目标报文丢失时间。Preferably, the fault information also includes the target packet loss time.

优选的,所述目标报文包括信息安全及功能安全相关属性报文、ID优先级最高报文和周期最小报文中的任意一个、两个或三个。Preferably, the target message includes any one, two or three of information security and functional safety-related attribute messages, messages with the highest ID priority and messages with the smallest period.

优选的,所述信息安全及功能安全相关属性报文包括由远程控制设备触发并在车载终端MCU中生成下发的报文、由车载终端周期性发送到车内的报文、目标零部件发送到车载终端的报文、目标零部件之间的周期性通信报文或由网关组包再转发到车载终端的报文。Preferably, the information security and functional safety-related attribute messages include messages triggered by the remote control device and generated and issued by the vehicle-mounted terminal MCU, messages periodically sent by the vehicle-mounted terminal to the vehicle, and messages sent by the target components. Messages to the vehicle terminal, periodic communication messages between target components, or messages packaged by the gateway and forwarded to the vehicle terminal.

另一方面,本发明还提供如下技术方案:On the other hand, the present invention also provides the following technical solutions:

一种面向中央计算与区域协同控制架构的网络诊断装置,包括:A network diagnostic device for central computing and regional collaborative control architecture, including:

获取模块,用于通信链路传递的目标报文丢失后,获取所述通信链路上的当前网络节点上报的故障信息,所述故障信息包括目标报文ID和向所述当前网络节点发送所述目标报文的网络节点名称;所述故障信息由所述通信链路上的网络节点在所述目标报文丢失时上报;The obtaining module is used to obtain the fault information reported by the current network node on the communication link after the target message transmitted by the communication link is lost, and the fault information includes the target message ID and the information sent to the current network node. The name of the network node of the target message; the fault information is reported by the network node on the communication link when the target message is lost;

确定模块,用于根据所述故障信息中的网络节点名称确定向所述当前网络节点发送所述目标报文的上一个网络节点;A determination module, configured to determine the last network node that sent the target message to the current network node according to the network node name in the fault information;

判断模块,用于将所述上一个网络节点作为当前网络节点并判断是否接收到所述当前网络节点上报的所述故障信息;若接收到所述当前网络节点上报的所述故障信息,则跳转到所述根据所述故障信息中的网络节点名称确定向所述当前网络节点发送所述目标报文的上一个网络节点的步骤;若未接收到所述当前网络节点上报的所述故障信息,则确定所述当前网络节点异常。A judging module, configured to use the previous network node as the current network node and judge whether the fault information reported by the current network node is received; if the fault information reported by the current network node is received, skip Go to the step of determining the last network node that sends the target message to the current network node according to the network node name in the fault information; if the fault information reported by the current network node is not received , it is determined that the current network node is abnormal.

优选的,所述故障信息还包括目标报文丢失时间。Preferably, the fault information also includes the target packet loss time.

优选的,所述目标报文包括信息安全及功能安全相关属性报文、ID优先级最高报文和周期最小报文中的任意一个、两个或三个。Preferably, the target message includes any one, two or three of information security and functional safety-related attribute messages, messages with the highest ID priority and messages with the smallest period.

优选的,所述信息安全及功能安全相关属性报文包括由远程控制设备触发并在车载终端MCU中生成下发的报文、由车载终端周期性发送到车内的报文、目标零部件发送到车载终端的报文、目标零部件之间的周期性通信报文或由网关组包再转发到车载终端的报文。Preferably, the information security and functional safety-related attribute messages include messages triggered by the remote control device and generated and issued by the vehicle-mounted terminal MCU, messages periodically sent by the vehicle-mounted terminal to the vehicle, and messages sent by the target components. Messages to the vehicle terminal, periodic communication messages between target components, or messages packaged by the gateway and forwarded to the vehicle terminal.

另一方面,本发明还提供如下技术方案:On the other hand, the present invention also provides the following technical solutions:

一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述任一面向中央计算与区域协同控制架构的网络诊断方法。An electronic device, comprising a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, any of the above-mentioned network diagnostics oriented to the central computing and regional cooperative control architecture is realized. method.

另一方面,本发明还提供如下技术方案:On the other hand, the present invention also provides the following technical solutions:

一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序在被处理器执行时实现上述任一面向中央计算与区域协同控制架构的网络诊断方法。A computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, any one of the above-mentioned network diagnosis methods oriented to the central computing and regional cooperative control architecture is implemented.

本发明提供的一个或多个技术方案,至少具有如下技术效果或优点:One or more technical solutions provided by the present invention have at least the following technical effects or advantages:

本发明在通信链路传递的目标报文丢失后,会判断是否接收到通信链路网络节点上报的故障信息,若接收到某个网络节点上报的故障信息,则逐级向前追溯通信链路上未上报故障信息的网络节点,以此确定异常的网络节点,实现通信网络的故障诊断。After the target message transmitted by the communication link is lost, the present invention will judge whether to receive the fault information reported by the network node of the communication link. The network nodes that have not reported the fault information on the Internet can determine the abnormal network nodes and realize the fault diagnosis of the communication network.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.

图1为本发明实施例中面向中央计算与区域协同控制架构的网络诊断方法的流程图;Fig. 1 is a flow chart of a network diagnosis method for a central computing and regional collaborative control architecture in an embodiment of the present invention;

图2为本发明实施例中中央计算与区域协同控制架构的通信网络示意图;FIG. 2 is a schematic diagram of a communication network of a central computing and regional cooperative control architecture in an embodiment of the present invention;

图3为本发明实施例中通信链路的示意图;FIG. 3 is a schematic diagram of a communication link in an embodiment of the present invention;

图4为本发明实施例中面向中央计算与区域协同控制架构的网络诊断装置的示意图。FIG. 4 is a schematic diagram of a network diagnosis device oriented to a central computing and regional cooperative control architecture in an embodiment of the present invention.

具体实施方式Detailed ways

本发明实施例通过提供面向中央计算与区域协同控制架构的网络诊断方法及装置,解决了如何准确定位通信网络的异常节点的技术问题。Embodiments of the present invention solve the technical problem of how to accurately locate abnormal nodes in a communication network by providing a network diagnosis method and device oriented to a central computing and regional collaborative control architecture.

为了更好的理解本发明的技术方案,下面将结合说明书附图以及具体的实施方式对本发明的技术方案进行详细的说明。In order to better understand the technical solution of the present invention, the technical solution of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

如图1所示,本实施例的面向中央计算与区域协同控制架构的网络诊断方法,包括:As shown in Figure 1, the network diagnosis method for central computing and regional cooperative control architecture in this embodiment includes:

步骤S1,通信链路传递的目标报文丢失后,获取所述通信链路上的当前网络节点上报的故障信息,故障信息包括目标报文ID和向当前网络节点发送目标报文的网络节点名称;故障信息由通信链路上的网络节点在通信链路传递的目标报文丢失时上报;Step S1, after the target message transmitted by the communication link is lost, obtain the fault information reported by the current network node on the communication link, the fault information includes the target message ID and the name of the network node sending the target message to the current network node ; The fault information is reported by the network nodes on the communication link when the target message transmitted by the communication link is lost;

步骤S2,根据故障信息中的网络节点名称确定向当前网络节点发送目标报文的上一个网络节点;Step S2, according to the network node name in the fault information, determine the last network node that sends the target message to the current network node;

步骤S3,将上一个网络节点作为当前网络节点并判断是否接收到当前网络节点上报的故障信息;若接收到当前网络节点上报的故障信息,则跳转到步骤S2;若未接收到当前网络节点上报的故障信息,则确定当前网络节点异常。Step S3, taking the previous network node as the current network node and judging whether the fault information reported by the current network node is received; if the fault information reported by the current network node is received, then jump to step S2; if the fault information reported by the current network node is not received If the fault information is reported, it is determined that the current network node is abnormal.

本实施例以面向中央计算与区域协同控制架构的网络诊断方法应用于图2所示的中央计算与区域协同控制架构的通信网络为例进行说明。图2的通信网络包括中央计算平台和多个区域控制器,中央计算平台分别与多个区域控制器通信连接,每个区域控制器还分别与多个ECU(Electronic Control Unit,电子控制单元)通信连接,中央计算平台、每个区域控制器和每个ECU均为网络节点,中央计算平台、每个区域控制器还作为网关来路由报文,每个接收网络节点在发送网络节点发送的目标报文丢失时会上报故障信息,故障信息包括目标报文ID和向接收网络节点发送目标报文的发送网络节点名称,通信网络的目标报文丢失代表传递该目标报文的通信链路上的某个网络节点出现了异常。In this embodiment, the network diagnosis method for the central computing and regional cooperative control architecture is applied to the communication network of the central computing and regional cooperative control architecture shown in FIG. 2 as an example for illustration. The communication network in Figure 2 includes a central computing platform and multiple regional controllers, the central computing platform communicates with multiple regional controllers, and each regional controller also communicates with multiple ECUs (Electronic Control Units, electronic control units) connection, the central computing platform, each regional controller and each ECU are network nodes, the central computing platform and each regional controller also serve as a gateway to route messages, and each receiving network node sends the target message sent by the network node When the message is lost, the fault information will be reported. The fault information includes the target message ID and the name of the sending network node that sent the target message to the receiving network node. The loss of the target message in the communication network means that a certain link on the communication link that transmits the target message A network node is abnormal.

图2中最长的一条通信链路如图3所示,图3通信链路传递的报文经过了网关的路由,所以目标报文为路由报文。假设目标报文由ECU A-1向ECU B-1传递、目标报文在网络节点区域控制器A处丢失,则网络节点中央计算平台、区域控制器B和ECU B-1均会上报故障信息,中央计算平台上报的故障信息包括目标报文ID和区域控制器A的名称,区域控制器B上报的故障信息包括目标报文ID和中央计算平台的名称,ECU B-1上报的故障信息包括目标报文ID和区域控制器B的名称。步骤S1中的当前网络节点为上报了故障信息的所有网络节点中的一个。假设步骤S1中的当前网络节点为区域控制器B,则步骤S1可以获取到中央计算平台的名称,进而步骤S2可以根据故障信息中的中央计算平台名称确定向区域控制器B发送目标报文的上一个网络节点为中央计算平台;由于中央计算平台也上报了故障信息,因此步骤S3会判断接收到中央计算平台上报的故障信息,代表目标报文不是在中央计算平台这一节点丢失的,跳转到步骤S2,中央计算平台上报的故障信息包括区域控制器A的名称,进而步骤S2可以根据故障信息中的区域控制器A名称确定向中央计算平台发送目标报文的上一个网络节点为区域控制器A;由于区域控制器A未上报故障信息,因此步骤S3会判断未接收到区域控制器A上报的故障信息,代表目标报文是在区域控制器A这一节点丢失的,确定区域控制器A异常。The longest communication link in FIG. 2 is shown in FIG. 3 . The message transmitted by the communication link in FIG. 3 has been routed by the gateway, so the target message is a routed message. Assuming that the target message is transmitted from ECU A-1 to ECU B-1, and the target message is lost at the network node regional controller A, the network node central computing platform, regional controller B and ECU B-1 will all report fault information , the fault information reported by the central computing platform includes the target message ID and the name of the regional controller A, the fault information reported by the regional controller B includes the target message ID and the name of the central computing platform, and the fault information reported by ECU B-1 includes Destination message ID and name of zone controller B. The current network node in step S1 is one of all network nodes that have reported fault information. Assuming that the current network node in step S1 is the regional controller B, then step S1 can obtain the name of the central computing platform, and then step S2 can determine the destination message to the regional controller B according to the name of the central computing platform in the fault information The last network node is the central computing platform; since the central computing platform also reported the fault information, step S3 will judge that the fault information reported by the central computing platform is received, which means that the target message is not lost at the node of the central computing platform, and jump to Turning to step S2, the fault information reported by the central computing platform includes the name of the regional controller A, and then step S2 can determine that the last network node that sent the target message to the central computing platform is the region according to the name of the regional controller A in the fault information Controller A; since the regional controller A has not reported the fault information, step S3 will judge that the fault information reported by the regional controller A has not been received, which means that the target message is lost at the node of the regional controller A, and determine the regional control Device A is abnormal.

本实施例中,若报文由图2中的ECU A-1向ECU A-2传递,则报文为非路由报文,ECUA-1为发送网络节点,ECU A-2为接收网络节点。通信链路传递的报文丢失后,本实施例会获取ECU A-2上报的故障信息,非路由报文的故障信息仅包括ECU A-1的名称,进而可直接确定报文是在ECU A-1这一节点丢失的,确定ECU A-1异常。非路由报文丢失后的故障诊断方式较为简单,图1的面向中央计算与区域协同控制架构的网络诊断方法仅针对非路由报文。In this embodiment, if the message is transmitted from ECU A-1 to ECU A-2 in FIG. 2 , the message is a non-routing message, ECU A-1 is the sending network node, and ECU A-2 is the receiving network node. After the message transmitted by the communication link is lost, this embodiment will obtain the fault information reported by ECU A-2. The fault information of the non-routing message only includes the name of ECU A-1, and then it can be directly determined that the message is in ECU A-2. If the node 1 is lost, it is determined that ECU A-1 is abnormal. The fault diagnosis method after the loss of non-routing packets is relatively simple. The network diagnosis method for the central computing and regional collaborative control architecture in Figure 1 is only for non-routing packets.

由上文可知,本实施例在通信链路传递的目标报文丢失后,会逐级向前追溯通信链路上未上报故障信息的网络节点,以此确定异常的网络节点,可以准确定位通信网络的异常节点。It can be seen from the above that after the target message transmitted by the communication link is lost in this embodiment, the network nodes that have not reported the fault information on the communication link will be traced forward step by step, so as to determine the abnormal network node and accurately locate the communication link. Unusual nodes of the network.

本实施例的目标报文可以是任何一条报文,但非关键报文丢失只能说明某个网络节点在传递该报文时出现了问题,大概率该网络节点还能正常传递其它报文,因此非关键报文丢失时定位异常网络节点是不必要的。而当关键报文丢失时基本能确定丢失该关键报文的网络节点处于掉线状态,不能传递其它报文,此时定位丢失该关键报文的网络节点是必要的。因此,本实施例优选目标报文为关键报文,只有在关键报文丢失后才会开始定位异常网络节点,避免无意义的故障诊断。关键报文包括信息安全及功能安全相关属性报文、ID优先级最高报文和周期最小报文,则目标报文可以包括信息安全及功能安全相关属性报文、ID优先级最高报文和周期最小报文中的任意一个、两个或三个。信息安全及功能安全相关属性报文包括由远程控制设备触发并在车载终端MCU中生成下发的报文、由车载终端周期性发送到车内的报文、目标零部件(与车载终端进行端对端通信的ECU)发送到车载终端的报文、目标零部件之间的周期性通信报文或由网关组包再转发到车载终端的报文。ID优先级最高的报文属于网络节点会优先处理的报文,此类报文很难出现丢失的情况,因此此类报文丢失时也大概率可以确定某个网络节点掉线。周期最小报文属于发送频率最高的报文,此类报文由于不断的被传递,也很难出现丢失的情况,因此此类报文丢失时也大概率可以确定某个网络节点掉线。当目标报文包括信息安全及功能安全相关属性报文、ID优先级最高报文和周期最小报文这3条报文时,3条关键报文全部丢失时可以最大程度的确定某个网络节点掉线,可以最大程度的避免无意义的故障诊断。但若通信网路中不存在信息安全及功能安全属性ECU时,目标报文可以包括ID优先级最高报文和周期最小报文中的任意一个或两个。The target message in this embodiment can be any message, but the loss of a non-critical message can only indicate that a certain network node has a problem when delivering the message, and there is a high probability that the network node can still deliver other messages normally. Therefore, it is unnecessary to locate abnormal network nodes when non-critical packets are lost. And when a key message is lost, it can basically be determined that the network node that lost the key message is in a disconnected state and cannot transmit other messages. At this time, it is necessary to locate the network node that lost the key message. Therefore, in this embodiment, the target message is preferably a key message, and the abnormal network node will be located only after the key message is lost, so as to avoid meaningless fault diagnosis. Key messages include messages with attributes related to information security and functional safety, messages with the highest ID priority, and messages with the smallest period. Target messages can include messages with attributes related to information security and functional safety, messages with the highest ID priority, and periodic messages. Any one, two or three of the smallest packets. Messages related to information security and functional safety attributes include messages triggered by remote control devices and generated and issued by the vehicle-mounted terminal MCU, messages periodically sent by the vehicle-mounted terminal to the vehicle, target components (connected with the vehicle-mounted terminal) The ECU of the opposite end communication) sends the message to the vehicle terminal, the periodic communication message between the target components, or the message packaged by the gateway and then forwarded to the vehicle terminal. The message with the highest ID priority is the message that the network node will process first. It is difficult for such a message to be lost. Therefore, when such a message is lost, there is a high probability that a certain network node is offline. The message with the smallest period is the message with the highest sending frequency. Since this type of message is continuously transmitted, it is difficult to be lost. Therefore, when this type of message is lost, there is a high probability that a certain network node is offline. When the target message includes information security and functional safety-related attribute messages, the message with the highest ID priority and the message with the smallest period, when all the three key messages are lost, a certain network node can be determined to the greatest extent Disconnection can avoid meaningless fault diagnosis to the greatest extent. However, if there is no ECU with information security and functional safety attributes in the communication network, the target message may include any one or both of the message with the highest ID priority and the message with the smallest period.

另外,本实施例的故障信息还可以包括目标报文丢失时间,这样可以确定异常网络节点出现异常的时间。In addition, the fault information in this embodiment may also include the target packet loss time, so that the time when the abnormal network node appears abnormal can be determined.

如图4所示,本实施例还提供一种面向中央计算与区域协同控制架构的网络诊断装置,包括:As shown in Figure 4, this embodiment also provides a network diagnostic device for central computing and regional collaborative control architecture, including:

获取模块,用于通信链路传递的目标报文丢失后,获取所述通信链路上的当前网络节点上报的故障信息,故障信息包括目标报文ID和向当前网络节点发送目标报文的网络节点名称;The obtaining module is used to obtain the fault information reported by the current network node on the communication link after the target message transmitted by the communication link is lost. The fault information includes the target message ID and the network sending the target message to the current network node node name;

确定模块,用于根据故障信息中的网络节点名称确定向当前网络节点发送目标报文的上一个网络节点;A determination module, configured to determine the last network node that sends the target message to the current network node according to the network node name in the fault information;

判断模块,用于将上一个网络节点作为当前网络节点并判断是否接收到当前网络节点上报的故障信息;若接收到当前网络节点上报的故障信息,则跳转到根据故障信息中的网络节点名称确定向当前网络节点发送目标报文的上一个网络节点的步骤;若未接收到当前网络节点上报的故障信息,则确定当前网络节点异常。The judging module is used to use the previous network node as the current network node and judge whether the fault information reported by the current network node is received; if the fault information reported by the current network node is received, then jump to the network node name according to the fault information The step of determining the last network node that sends the target message to the current network node; if the fault information reported by the current network node is not received, it is determined that the current network node is abnormal.

本实施例以面向中央计算与区域协同控制架构的网络诊断装置应用于图2所示的中央计算与区域协同控制架构的通信网络为例进行说明。图2的通信网络包括中央计算平台和多个区域控制器,中央计算平台分别与多个区域控制器通信连接,每个区域控制器还分别与多个ECU(Electronic Control Unit,电子控制单元)通信连接,中央计算平台、每个区域控制器和每个ECU均为网络节点,中央计算平台、每个区域控制器还作为网关来路由报文,每个接收网络节点在发送网络节点发送的目标报文丢失时会上报故障信息,故障信息包括目标报文ID和向接收网络节点发送目标报文的发送网络节点名称,通信网络的目标报文丢失代表传递该目标报文的通信链路上的某个网络节点出现了异常。This embodiment is described by taking the application of the network diagnosis device for the central computing and regional cooperative control architecture to the communication network of the central computing and regional cooperative control architecture shown in FIG. 2 as an example. The communication network in Figure 2 includes a central computing platform and multiple regional controllers, the central computing platform communicates with multiple regional controllers, and each regional controller also communicates with multiple ECUs (Electronic Control Units, electronic control units) connection, the central computing platform, each regional controller and each ECU are network nodes, the central computing platform and each regional controller also serve as a gateway to route messages, and each receiving network node sends the target message sent by the network node When the message is lost, the fault information will be reported. The fault information includes the target message ID and the name of the sending network node that sent the target message to the receiving network node. The loss of the target message in the communication network means that a certain link on the communication link that transmits the target message A network node is abnormal.

图2中最长的一条通信链路如图3所示,图3通信链路传递的报文经过了网关的路由,所以目标报文为路由报文。假设目标报文由ECU A-1向ECU B-1传递、目标报文在网络节点区域控制器A处丢失,则网络节点中央计算平台、区域控制器B和ECU B-1均会上报故障信息,中央计算平台上报的故障信息包括目标报文ID和区域控制器A的名称,区域控制器B上报的故障信息包括目标报文ID和中央计算平台的名称,ECU B-1上报的故障信息包括目标报文ID和区域控制器B的名称。被获取模块获取故障信息的当前网络节点为上报了故障信息的所有网络节点中的一个。假设被获取模块获取故障信息的当前网络节点为区域控制器B,则获取模块可以获取到中央计算平台的名称,进而确定模块可以根据故障信息中的中央计算平台名称确定向区域控制器B发送目标报文的上一个网络节点为中央计算平台;由于中央计算平台也上报了故障信息,代表目标报文不是在中央计算平台这一节点丢失的,因此判断模块会判断接收到中央计算平台上报的故障信息,中央计算平台上报的故障信息包括区域控制器A的名称,进而确定模块可以根据故障信息中的区域控制器A名称确定向中央计算平台发送目标报文的上一个网络节点为区域控制器A;由于区域控制器A未上报故障信息,因此判断模块会判断未接收到区域控制器A上报的故障信息,代表目标报文是在区域控制器A这一节点丢失的,确定区域控制器A异常。The longest communication link in FIG. 2 is shown in FIG. 3 . The message transmitted by the communication link in FIG. 3 has been routed by the gateway, so the target message is a routed message. Assuming that the target message is transmitted from ECU A-1 to ECU B-1, and the target message is lost at the network node regional controller A, the network node central computing platform, regional controller B and ECU B-1 will all report fault information , the fault information reported by the central computing platform includes the target message ID and the name of the regional controller A, the fault information reported by the regional controller B includes the target message ID and the name of the central computing platform, and the fault information reported by ECU B-1 includes Destination message ID and name of zone controller B. The current network node whose fault information is obtained by the obtaining module is one of all network nodes that have reported the fault information. Assuming that the current network node where the acquired module obtains the fault information is the regional controller B, the obtaining module can obtain the name of the central computing platform, and then the determining module can determine the target to send to the regional controller B according to the name of the central computing platform in the fault information. The last network node of the message is the central computing platform; since the central computing platform also reported the fault information, it means that the target message was not lost at the node of the central computing platform, so the judgment module will judge that the fault reported by the central computing platform is received Information, the fault information reported by the central computing platform includes the name of the regional controller A, and then the determination module can determine that the last network node that sent the target message to the central computing platform is the regional controller A according to the name of the regional controller A in the fault information ;Because the regional controller A did not report the fault information, the judging module will judge that the fault information reported by the regional controller A has not been received, which means that the target message is lost at the node of the regional controller A, and it is determined that the regional controller A is abnormal .

本实施例中,若报文由图2中的ECU A-1向ECU A-2传递,则报文为非路由报文,ECUA-1为发送网络节点,ECU A-2为接收网络节点。通信链路传递的报文丢失后,本实施例会获取ECU A-2上报的故障信息,非路由报文的故障信息仅包括ECU A-1的名称,进而可直接确定报文是在ECU A-1这一节点丢失的,确定ECU A-1异常。非路由报文丢失后的故障诊断方式较为简单,图4的面向中央计算与区域协同控制架构的网络诊断装置仅针对非路由报文。In this embodiment, if the message is transmitted from ECU A-1 to ECU A-2 in FIG. 2 , the message is a non-routing message, ECU A-1 is the sending network node, and ECU A-2 is the receiving network node. After the message transmitted by the communication link is lost, this embodiment will obtain the fault information reported by ECU A-2. The fault information of the non-routing message only includes the name of ECU A-1, and then it can be directly determined that the message is in ECU A-2. If the node 1 is lost, it is determined that ECU A-1 is abnormal. The fault diagnosis method after the non-routing message is lost is relatively simple. The network diagnosis device for the central computing and regional collaborative control architecture in Figure 4 is only for the non-routing message.

由上文可知,本实施例在通信链路传递的目标报文丢失后,会逐级向前追溯通信链路上未上报故障信息的网络节点,以此确定异常的网络节点,可以准确定位通信网络的异常节点。It can be seen from the above that after the target message transmitted by the communication link is lost in this embodiment, the network nodes that have not reported the fault information on the communication link will be traced forward step by step, so as to determine the abnormal network node and accurately locate the communication link. Unusual nodes of the network.

本实施例的目标报文可以是任何一条报文,但非关键报文丢失只能说明某个网络节点在传递该报文时出现了问题,大概率该网络节点还能正常传递其它报文,因此非关键报文丢失时定位异常网络节点是不必要的。而当关键报文丢失时基本能确定丢失该关键报文的网络节点处于掉线状态,不能传递其它报文,此时定位丢失该关键报文的网络节点是必要的。因此,本实施例优选目标报文为关键报文,只有在关键报文丢失后才会开始定位异常网络节点,避免无意义的故障诊断。关键报文包括信息安全及功能安全相关属性报文、ID优先级最高报文和周期最小报文,则目标报文可以包括信息安全及功能安全相关属性报文、ID优先级最高报文和周期最小报文中的任意一个、两个或三个。信息安全及功能安全相关属性报文包括由远程控制设备触发并在车载终端MCU中生成下发的报文、由车载终端周期性发送到车内的报文、目标零部件(与车载终端进行端对端通信的ECU)发送到车载终端的报文、目标零部件之间的周期性通信报文或由网关组包再转发到车载终端的报文。ID优先级最高的报文属于网络节点会优先处理的报文,此类报文很难出现丢失的情况,因此此类报文丢失时也大概率可以确定某个网络节点掉线。周期最小报文属于发送频率最高的报文,此类报文由于不断的被传递,也很难出现丢失的情况,因此此类报文丢失时也大概率可以确定某个网络节点掉线。当目标报文包括信息安全及功能安全相关属性报文、ID优先级最高报文和周期最小报文这3条报文时,3条关键报文全部丢失时可以最大程度的确定某个网络节点掉线,可以最大程度的避免无意义的故障诊断。但若通信网路中不存在信息安全及功能安全属性ECU时,目标报文可以包括ID优先级最高报文和周期最小报文中的任意一个或两个。The target message in this embodiment can be any message, but the loss of a non-critical message can only indicate that a certain network node has a problem when delivering the message, and there is a high probability that the network node can still deliver other messages normally. Therefore, it is unnecessary to locate abnormal network nodes when non-critical packets are lost. And when a key message is lost, it can basically be determined that the network node that lost the key message is in a disconnected state and cannot transmit other messages. At this time, it is necessary to locate the network node that lost the key message. Therefore, in this embodiment, the target message is preferably a key message, and the abnormal network node will be located only after the key message is lost, so as to avoid meaningless fault diagnosis. Key messages include messages with attributes related to information security and functional safety, messages with the highest ID priority, and messages with the smallest period. Target messages can include messages with attributes related to information security and functional safety, messages with the highest ID priority, and periodic messages. Any one, two or three of the smallest packets. Messages related to information security and functional safety attributes include messages triggered by remote control devices and generated and issued by the vehicle-mounted terminal MCU, messages periodically sent by the vehicle-mounted terminal to the vehicle, target components (connected with the vehicle-mounted terminal) The ECU of the opposite end communication) sends the message to the vehicle terminal, the periodic communication message between the target components, or the message packaged by the gateway and then forwarded to the vehicle terminal. The message with the highest ID priority is the message that the network node will process first. It is difficult for such a message to be lost. Therefore, when such a message is lost, there is a high probability that a certain network node is offline. The message with the smallest period is the message with the highest sending frequency. Since this type of message is continuously transmitted, it is difficult to be lost. Therefore, when this type of message is lost, there is a high probability that a certain network node is offline. When the target message includes information security and functional safety-related attribute messages, the message with the highest ID priority and the message with the smallest period, when all the three key messages are lost, a certain network node can be determined to the greatest extent Disconnection can avoid meaningless fault diagnosis to the greatest extent. However, if there is no ECU with information security and functional safety attributes in the communication network, the target message may include any one or both of the message with the highest ID priority and the message with the smallest period.

另外,本实施例的故障信息还可以包括目标报文丢失时间,这样可以确定异常网络节点出现异常的时间。In addition, the fault information in this embodiment may also include the target packet loss time, so that the time when the abnormal network node appears abnormal can be determined.

基于与前文所述的面向中央计算与区域协同控制架构的网络诊断方法同样的发明构思,本实施例还提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现前文所述的面向中央计算与区域协同控制架构的网络诊断方法的任一方法的步骤。Based on the same inventive concept as the network diagnosis method for central computing and regional cooperative control architecture described above, this embodiment also provides an electronic device, including a memory, a processor, and a memory stored on the memory and capable of running on the processor. A computer program, when the processor executes the program, it realizes the steps of any one of the aforementioned methods for diagnosing the network oriented to the central computing and regional cooperative control architecture.

其中,总线架构(用总线来代表),总线可以包括任意数量的互联的总线和桥,总线将包括由处理器代表的一个或多个处理器和存储器代表的存储器的各种电路链接在一起。总线还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口在总线和接收器和发送器之间提供接口。接收器和发送器可以是同一个元件,即收发机,提供用于在传输介质上与各种其他装置通信的单元。处理器负责管理总线和通常的处理,而存储器可以被用于存储处理器在执行操作时所使用的数据。Among them, the bus architecture (represented by bus), the bus may include any number of interconnected buses and bridges, and the bus links together various circuits including one or more processors represented by a processor and memory represented by a memory. The bus may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, all of which are well known in the art and therefore will not be further described herein. The bus interface provides an interface between the bus and the receiver and transmitter. The receiver and transmitter may be the same element, a transceiver, providing means for communicating with various other devices over a transmission medium. The processor is responsible for managing the bus and general processing, while memory may be used to store data that the processor uses when performing operations.

由于本实施例所介绍的电子设备为实施本发明实施例中面向中央计算与区域协同控制架构的网络诊断方法所采用的电子设备,故而基于本发明实施例中所介绍的面向中央计算与区域协同控制架构的网络诊断方法,本领域所属技术人员能够了解本实施例的电子设备的具体实施方式以及其各种变化形式,所以在此对于该电子设备如何实现本发明实施例中的方法不再详细介绍。只要本领域所属技术人员实施本发明实施例中面向中央计算与区域协同控制架构的网络诊断方法所采用的电子设备,都属于本发明所欲保护的范围。Since the electronic equipment introduced in this embodiment is the electronic equipment used to implement the network diagnosis method oriented to the central computing and regional coordination control architecture in the embodiment of the present invention, based on the central computing and regional collaborative control framework introduced in the embodiment of the present invention For the network diagnosis method of the control architecture, those skilled in the art can understand the specific implementation of the electronic device in this embodiment and its various variants, so how to implement the method in the embodiment of the present invention for the electronic device will not be detailed here. introduce. As long as those skilled in the art implement the network diagnosis method for the central computing and regional cooperative control architecture in the embodiment of the present invention, the electronic devices used belong to the intended protection scope of the present invention.

基于与上述面向中央计算与区域协同控制架构的网络诊断方法同样的发明构思,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序在被处理器执行时实现上述任一面向中央计算与区域协同控制架构的网络诊断方法。Based on the same inventive concept as the above-mentioned network diagnosis method for central computing and regional cooperative control architecture, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and the computer program is stored in When executed by the processor, any one of the above-mentioned network diagnosis methods oriented to the central computing and regional cooperative control architecture is realized.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the invention have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (10)

1.一种面向中央计算与区域协同控制架构的网络诊断方法,其特征在于,包括:1. A network diagnostic method for central computing and regional collaborative control architecture, characterized in that it comprises: 通信链路传递的目标报文丢失后,获取所述通信链路上的当前网络节点上报的故障信息,所述故障信息包括目标报文ID和向所述当前网络节点发送所述目标报文的网络节点名称;所述故障信息由所述通信链路上的网络节点在所述目标报文丢失时上报;After the target message transmitted by the communication link is lost, the fault information reported by the current network node on the communication link is obtained, and the fault information includes the target message ID and the address of sending the target message to the current network node. The name of the network node; the fault information is reported by the network node on the communication link when the target message is lost; 根据所述故障信息中的网络节点名称确定向所述当前网络节点发送所述目标报文的上一个网络节点;determining a previous network node that sends the target message to the current network node according to the network node name in the fault information; 将所述上一个网络节点作为当前网络节点并判断是否接收到所述当前网络节点上报的所述故障信息;Taking the previous network node as the current network node and judging whether the fault information reported by the current network node is received; 若接收到所述当前网络节点上报的所述故障信息,则跳转到所述根据所述故障信息中的网络节点名称确定向所述当前网络节点发送所述目标报文的上一个网络节点的步骤;If the fault information reported by the current network node is received, jump to the method of determining the previous network node that sends the target message to the current network node according to the network node name in the fault information step; 若未接收到所述当前网络节点上报的所述故障信息,则确定所述当前网络节点异常。If the fault information reported by the current network node is not received, it is determined that the current network node is abnormal. 2.如权利要求1所述的面向中央计算与区域协同控制架构的网络诊断方法,其特征在于,所述故障信息还包括目标报文丢失时间。2. The network diagnosis method oriented to the central computing and regional cooperative control architecture according to claim 1, wherein the fault information further includes target message loss time. 3.如权利要求1所述的面向中央计算与区域协同控制架构的网络诊断方法,其特征在于,所述目标报文包括信息安全及功能安全相关属性报文、ID优先级最高报文和周期最小报文中的任意一个、两个或三个。3. The network diagnosis method for central computing and regional cooperative control architecture as claimed in claim 1, wherein the target message includes information security and functional security-related attribute messages, the highest ID priority message and periodic Any one, two or three of the smallest packets. 4.如权利要求3所述的面向中央计算与区域协同控制架构的网络诊断方法,其特征在于,所述信息安全及功能安全相关属性报文包括由远程控制设备触发并在车载终端MCU中生成下发的报文、由车载终端周期性发送到车内的报文、目标零部件发送到车载终端的报文、目标零部件之间的周期性通信报文或由网关组包再转发到车载终端的报文。4. The network diagnostic method for central computing and regional collaborative control architecture as claimed in claim 3, wherein the information security and functional security-related attribute messages include information triggered by a remote control device and generated in the vehicle-mounted terminal MCU. Delivered messages, messages periodically sent by the vehicle terminal to the vehicle, messages sent by the target component to the vehicle terminal, periodic communication messages between target components, or grouped by the gateway and then forwarded to the vehicle terminal message. 5.一种面向中央计算与区域协同控制架构的网络诊断装置,其特征在于,包括:5. A network diagnostic device for central computing and regional collaborative control architecture, characterized in that it includes: 获取模块,用于通信链路传递的目标报文丢失后,获取所述通信链路上的当前网络节点上报的故障信息,所述故障信息包括目标报文ID和向所述当前网络节点发送所述目标报文的网络节点名称;所述故障信息由所述通信链路上的网络节点在所述目标报文丢失时上报;The obtaining module is used to obtain the fault information reported by the current network node on the communication link after the target message transmitted by the communication link is lost, and the fault information includes the target message ID and the information sent to the current network node. The name of the network node of the target message; the fault information is reported by the network node on the communication link when the target message is lost; 确定模块,用于根据所述故障信息中的网络节点名称确定向所述当前网络节点发送所述目标报文的上一个网络节点;A determination module, configured to determine the last network node that sent the target message to the current network node according to the network node name in the fault information; 判断模块,用于将所述上一个网络节点作为当前网络节点并判断是否接收到所述当前网络节点上报的所述故障信息;若接收到所述当前网络节点上报的所述故障信息,则跳转到所述根据所述故障信息中的网络节点名称确定向所述当前网络节点发送所述目标报文的上一个网络节点的步骤;若未接收到所述当前网络节点上报的所述故障信息,则确定所述当前网络节点异常。A judging module, configured to use the previous network node as the current network node and judge whether the fault information reported by the current network node is received; if the fault information reported by the current network node is received, skip Go to the step of determining the last network node that sends the target message to the current network node according to the network node name in the fault information; if the fault information reported by the current network node is not received , it is determined that the current network node is abnormal. 6.如权利要求5所述的面向中央计算与区域协同控制架构的网络诊断装置,其特征在于,所述故障信息还包括目标报文丢失时间。6 . The network diagnosis device oriented to central computing and regional cooperative control architecture according to claim 5 , wherein the fault information further includes target packet loss time. 7 . 7.如权利要求5所述的面向中央计算与区域协同控制架构的网络诊断装置,其特征在于,所述目标报文包括信息安全及功能安全相关属性报文、ID优先级最高报文和周期最小报文中的任意一个、两个或三个。7. The network diagnostic device for central computing and regional cooperative control architecture as claimed in claim 5, wherein the target message includes information security and functional security-related attribute messages, the highest ID priority message and periodic Any one, two or three of the smallest packets. 8.如权利要求7所述的面向中央计算与区域协同控制架构的网络诊断装置,其特征在于,所述信息安全及功能安全相关属性报文包括由远程控制设备触发并在车载终端MCU中生成下发的报文、由车载终端周期性发送到车内的报文、目标零部件发送到车载终端的报文、目标零部件之间的周期性通信报文或由网关组包再转发到车载终端的报文。8. The network diagnostic device for central computing and regional cooperative control architecture as claimed in claim 7, wherein the information security and functional security-related attribute message includes information triggered by a remote control device and generated in the vehicle-mounted terminal MCU. Delivered messages, messages periodically sent by the vehicle terminal to the vehicle, messages sent by the target component to the vehicle terminal, periodic communication messages between target components, or grouped by the gateway and then forwarded to the vehicle terminal message. 9.一种电子设备,其特征在于,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现权利要求1-4中任一项权利要求所述的面向中央计算与区域协同控制架构的网络诊断方法。9. An electronic device, characterized in that it comprises a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements any one of claims 1-4 when executing the program. The network diagnosis method for the central computing and regional cooperative control architecture described in the claim. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序在被处理器执行时实现权利要求1-4中任一项权利要求所述的面向中央计算与区域协同控制架构的网络诊断方法。10. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program according to any one of claims 1-4 can be implemented. A network diagnosis method for the central computing and regional collaborative control architecture described above.
CN202310569417.9A 2023-05-17 2023-05-17 Network diagnosis method and device for central computing and regional cooperative control architecture Pending CN116566800A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310569417.9A CN116566800A (en) 2023-05-17 2023-05-17 Network diagnosis method and device for central computing and regional cooperative control architecture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310569417.9A CN116566800A (en) 2023-05-17 2023-05-17 Network diagnosis method and device for central computing and regional cooperative control architecture

Publications (1)

Publication Number Publication Date
CN116566800A true CN116566800A (en) 2023-08-08

Family

ID=87501620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310569417.9A Pending CN116566800A (en) 2023-05-17 2023-05-17 Network diagnosis method and device for central computing and regional cooperative control architecture

Country Status (1)

Country Link
CN (1) CN116566800A (en)

Similar Documents

Publication Publication Date Title
CN107113214B (en) Abnormal detection electronic control unit, in-vehicle network system, and communication method
US10594587B2 (en) Operation method of communication node for diagnosing vehicle network
CN112235127B (en) Node fault reporting method and device, terminal equipment and storage medium
US20070242614A1 (en) Data transfer method and automation system used in said data transfer method
CN113395196B (en) Bus-based communication system and its first node and communication method
CN114490387A (en) Vehicle testing method and device
JP6410914B1 (en) Serial communication system
US20110010156A1 (en) Simulation or test system, and associated method
CN116566800A (en) Network diagnosis method and device for central computing and regional cooperative control architecture
CN112217634B (en) Authentication method, equipment and system applied to intelligent vehicle
CN113055227A (en) Ring topology networking communication-oriented fault processing method and device and storage medium
CN115743001B (en) Vehicle control method, device, electronic apparatus, storage medium, and program product
CN104486186A (en) CAN bus network architecture system
CN114500157B (en) Redundancy implementation system based on CAN gateway, electronic device and computer readable storage medium
CN117111575A (en) Adaptive cruise function test method and device, vehicle and storage medium
JP2017114406A (en) Network system
CN111865803B (en) Route processing method and device based on EVPN
CN116743549A (en) Device used to provide reconfiguration signals
JP7140011B2 (en) Gateway device
CN105721234A (en) Port aggregation method and apparatus
US11397592B2 (en) Configuration synthesis utilizing information extraction from service oriented architectures
US20230053889A1 (en) Communication method, communication device and communication system
Ivković et al. A timed automata model for systems with gateway-connected controller area networks
Seo et al. A reliable gateway for in-vehicle networks
US20250016025A1 (en) A secondary control unit for a vehicle with a primary control unit and a data transmission path

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