Controller node detection method, device, control system, vehicle and storage medium

By sending request messages to multiple controllers in the vehicle electronic and electrical system and analyzing the responses, the problem of inaccurate fault diagnosis of controller nodes is solved, and the detection accuracy and abnormal node positioning efficiency are improved.

CN115454015BActive Publication Date: 2024-09-13CHONGQING CHANGAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210899689.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-28
Publication Date
2024-09-13
Estimated Expiration
2042-07-28

AI Technical Summary

Technical Problem

In the vehicle's electronic and electrical system, there is a possibility of false alarms in the fault diagnosis of the controller node, which makes troubleshooting difficult. Especially when the fault status of the sender controller recorded by different receiver controllers at the same time is inconsistent, the system usually By default, the node of the sending controller is lost.

Method used

The first controller sends request messages to M second controllers. The server receives the interaction information and determines the node status based on the interaction information. If no response message is received, the corresponding controller is judged to be an abnormal node to improve detection accuracy. sex.

Benefits of technology

It improves the accuracy of controller node detection and avoids the situation where the default control node is abnormal when partial response messages are not received, thereby affecting the location of abnormal nodes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115454015B
    Figure CN115454015B
Patent Text Reader

Abstract

The present application provides a controller node detection method, device, control system, vehicle and storage medium, which relate to the field of hardware signal testing technology. The method includes: a first controller sends a first request message to M second controllers; a server receives interactive information obtained by a control device, and determines a first detection result for representing the node status of the first controller and the M second controllers based on the interactive information. If the interactive information indicates that the first controller has not received the first response message of some second controllers within a first preset time period, a detection result indicating that the second controller corresponding to the first response message that has not been received is an abnormal node will be obtained. This is conducive to improving the accuracy of detection and accurately locating abnormal nodes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of hardware signal testing, and in particular to a controller node detection method, device, control system, vehicle and storage medium. Background Art

[0002] As the degree of electrification of automobiles increases, the number of electronic components in the vehicle is gradually increasing, the system architecture is becoming more and more complex, and the corresponding electronic component failures are increasing, and are not easy to diagnose, or the problem location is inaccurate. For example, in the current electronic and electrical systems of vehicles, all controller diagnostic logics are usually the same. Under normal vehicle operation, a sender controller needs to send data to multiple receiver controllers. If the fault status of the sender controller recorded by different receiver controllers at the same time is inconsistent, the system will usually assume that the node of the sender controller is lost. This diagnostic method has the possibility of false alarms, which makes troubleshooting more difficult. Summary of the invention

[0003] In view of this, an object of the embodiments of the present application is to provide a controller node detection method, device, control system, vehicle and storage medium, which can improve the problem of inaccurate diagnosis of controller node loss.

[0004] In order to achieve the above technical objectives, the technical solutions adopted in this application are as follows:

[0005] In a first aspect, an embodiment of the present application provides a controller node detection method, which is applied to a control system, wherein the control system includes a control device and a server, wherein the control device includes a first controller and M second controllers, where M is an integer greater than 1, and the method includes:

[0006] The first controller sends a first request message to the M second controllers;

[0007] The server receives interaction information obtained based on the first request message sent by the control device, where the interaction information includes first response messages sent by the M second controllers based on the first request message and received by the first controller within a first preset time period after sending the first request message;

[0008] The server determines a first detection result for representing the node status of the first controller and the M second controllers based on the interaction information, wherein when the interaction information indicates that the first controller has not received first response messages from some of the M second controllers within the first preset time period, the first detection result includes information indicating that the second controller corresponding to the second controller that has not received the first response message is an abnormal node.

[0009] In combination with the first aspect, in some optional implementations, the server determines, according to the interaction information, a first detection result for indicating the node status of the first controller and the M second controllers, including:

[0010] If the interaction information indicates that the first controller does not receive the first response messages sent by some of the M second controllers within the first preset time period after sending the first request message, the server obtains a first detection result indicating that the second controller that did not send the first response message is an abnormal node.

[0011] In combination with the first aspect, in some optional implementations, the method further includes:

[0012] Within the first preset time period after sending the first request message, the first controller uses the second controller among the M second controllers that receives the first request message as the third controller, and uses the second controller among the M second controllers that does not receive the first request message as the fourth controller, wherein the third controller is link-connected to the fourth controller;

[0013] The first controller or the server controls the third controller to send a second request message to the fourth controller;

[0014] If the interaction information indicates that within a second preset time period after sending the second request message, the third controller receives a second response message sent by the fourth controller based on the second request message, then the server obtains a second detection result indicating that the link between the first controller and the fourth controller is abnormal;

[0015] If the interaction information indicates that the third controller does not receive the second response message sent by the fourth controller based on the second request message within the second preset time period after sending the second request message, the server obtains a second detection result indicating that the node status of the fourth controller is node loss.

[0016] In combination with the first aspect, in some optional implementations, the server determines, according to the interaction information, a first detection result for indicating the node status of the first controller and the M second controllers, including:

[0017] If the interaction information indicates that within the first preset time period after sending the first request message, the first controller receives a first response message sent by each of the M second controllers based on the first request message, the server obtains a first detection result indicating that the node status of the first controller and the M second controllers are both normal.

[0018] In combination with the first aspect, in some optional implementations, the server determines, according to the interaction information, a first detection result for indicating the node status of the first controller and the M second controllers, including:

[0019] If the interaction information indicates that the first controller has not received the first response message sent by any of the M second controllers within the first preset time period after sending the first request message, the server obtains a first detection result indicating that the node status of the first controller is node loss.

[0020] In combination with the first aspect, in some optional implementations, the method further includes:

[0021] The server sends the first detection result and the interaction information to a management device.

[0022] In a second aspect, an embodiment of the present application further provides a controller node detection method, which is applied to a control device, wherein the control device includes a first controller and M second controllers, where M is an integer greater than 1, and the method includes:

[0023] The first controller sends a first request message to the M second controllers;

[0024] Within a first preset time period after sending the first request message, the first controller determines a first detection result used to represent the node status of the first controller and the M second controllers based on the first response messages sent by the M second controllers based on the first request message, wherein, when the first controller does not receive the first response messages from some of the M second controllers within the first preset time period, the first detection result includes information indicating that the second controller corresponding to the second controller that did not receive the first response message is an abnormal node.

[0025] In a third aspect, an embodiment of the present application further provides a controller node detection device, which is applied to a control system, wherein the control system includes a control device and a server, wherein the control device includes a first controller and M second controllers, where M is an integer greater than 1, and the device includes:

[0026] A sending unit, configured to send a first request message to the M second controllers through the first controller;

[0027] a receiving unit, configured to receive, through the server, interaction information obtained based on the first request message and sent by the control device, the interaction information comprising first response messages sent by the M second controllers based on the first request message and received by the first controller within a first preset time period after sending the first request message;

[0028] A detection unit, used to determine, through the server, a first detection result used to represent the node status of the first controller and the M second controllers based on the interaction information, wherein when the interaction information indicates that the first controller has not received the first response messages from some of the M second controllers within the first preset time period, the first detection result includes information indicating that the second controller corresponding to the failure to receive the first response message is an abnormal node.

[0029] In a fourth aspect, an embodiment of the present application further provides a control system, the control system comprising a control device and a server, the control device comprising a first controller and M second controllers, where M is an integer greater than 1;

[0030] The first controller is used to send a first request message to the M second controllers;

[0031] The server is used to receive interaction information obtained based on the first request message sent by the control device, where the interaction information includes first response messages sent by the M second controllers based on the first request message and received by the first controller within a first preset time period after sending the first request message;

[0032] The server is also used to determine a first detection result representing the node status of the first controller and the M second controllers based on the interaction information, wherein when the interaction information indicates that the first controller has not received first response messages from some of the M second controllers within the first preset time period, the first detection result includes information indicating that the second controller corresponding to the second controller that has not received the first response message is an abnormal node.

[0033] In a fifth aspect, an embodiment of the present application further provides a vehicle, comprising a vehicle body and the above-mentioned control system, wherein the control system is arranged in the vehicle body.

[0034] In a sixth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium. When the computer program runs on a computer, the computer executes the above method.

[0035] The invention adopting the above technical solution has the following advantages:

[0036] In the technical solution provided in the present application, a first controller is used to send a first request message to M second controllers; the server receives the interactive information obtained by the control device, and determines a first detection result for representing the node status of the first controller and the M second controllers based on the interactive information. If the interactive information indicates that the first controller has not received the first response message of some second controllers within the first preset time period, a detection result indicating that the second controller corresponding to the first response message that has not been received is an abnormal node will be obtained, which is conducive to improving the accuracy of the detection and facilitating the accurate positioning of the abnormal node, avoiding the default of assuming that the first control node is abnormal when the first response message of some second controllers is not received, which makes the detection inaccurate, thereby affecting the positioning of the abnormal node. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The present application may be further described by the non-limiting embodiments given in the accompanying drawings. It should be understood that the following drawings only illustrate certain embodiments of the present application and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, other relevant drawings may be obtained based on these drawings without creative effort.

[0038] Figure 1 A connection diagram of a control system provided in an embodiment of the present application.

[0039] Figure 2 One of the flow charts of the controller node detection method provided in the embodiment of the present application.

[0040] Figure 3 The second flowchart of the controller node detection method provided in the embodiment of the present application.

[0041] Figure 4 A block diagram of a controller node detection device provided in an embodiment of the present application.

[0042] Icons: 10 - control device; 11 - first controller; 12 - second controller; 13 - second controller; 14 - second controller; 15 - storage module; 20 - server; 30 - control system; 300 - controller node detection device; 310 - first sending unit; 320 - receiving unit; 330 - detection unit. DETAILED DESCRIPTION

[0043] The present application will be described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that in the drawings or descriptions, similar or identical parts use the same figure numbers, and the implementation methods not shown or described in the drawings are forms known to ordinary technicians in the relevant technical field. In the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0044] First embodiment

[0045] Please refer to Figure 1 , an embodiment of the present application provides a control system 30. The control system 30 may include a control device 10 and a server 20. The control device 10 may include a first controller 11, M second controllers and a storage module 15, where M is an integer greater than 1. The storage modules of the control device 10 and the server 20 both store computer programs. When the computer programs are executed by the processors of the first controller 11 or the M second controllers or the server 20, the control system 30 can perform the corresponding steps in the following controller node detection method.

[0046] In this embodiment, the number of second controllers can be flexibly determined according to actual conditions. The control device 10 can be deployed in application scenarios that require multiple controllers. For example, the control device 10 can be deployed in a vehicle, a ship, or other scenarios, and the application location of the control device 10 is not specifically limited here.

[0047] The first controller 11 is connected to multiple second controllers by physical links. When each controller and link is normal, the first controller 11 and each second controller can exchange data based on the corresponding physical link. If the controller itself is abnormal, or the link between the two controllers is abnormal, the two controllers cannot communicate normally. In the control device 10, each controller acts as a node, and it is necessary to detect in real time whether each node is in a node loss state. If a node is in a node loss state, the node cannot exchange data with other nodes or part of the nodes.

[0048] In this embodiment, the first controller 11 refers to a controller that is linked to multiple controllers in the control device 10, and the second controller refers to other controllers in the control device 10 except the first controller 11. It should be noted that in a control device 10, there may be multiple controllers with the same identity as the first controller 11. For example, among all the controllers in the control device 10, if there is a link connection between any two controllers, each controller can serve as the first controller.

[0049] The control device 10 can collect interaction information between its own controllers and send the interaction information to the server 20, which analyzes the interaction information to determine whether there is a node loss in each controller of the control device 10. That is, the control device 10 and the server 20 can implement node failure detection through the following controller node detection method.

[0050] Please refer to Figure 2The present application also provides a controller node detection method, which can be applied to the above-mentioned control system 30, wherein the control device 10 and the server 20 in the control system 30 cooperate with each other to execute or implement each step of the method. The controller node detection method may include the following steps:

[0051] Step 110, the first controller 11 sends a first request message to M second controllers;

[0052] Step 120, the server 20 receives interaction information obtained based on the first request message sent by the control device 10, wherein the interaction information includes first response messages sent by the M second controllers based on the first request message and received by the first controller 11 within a first preset time period after sending the first request message;

[0053] Step 130, the server 20 determines a first detection result for representing the node status of the first controller 11 and the M second controllers based on the interaction information, wherein when the interaction information indicates that the first controller 11 has not received the first response messages from some of the M second controllers within the first preset time period, the first detection result includes information indicating that the second controller corresponding to the failure to receive the first response message is an abnormal node.

[0054] In the above-mentioned embodiment, the first controller 11 is used to send a first request message to the M second controllers; the server 20 receives the interactive information obtained by the control device 10, and determines the first detection result used to represent the node status of the first controller 11 and the M second controllers based on the interactive information. If the interactive information indicates that the first controller 11 has not received the first response message of some second controllers within the first preset time period, a detection result indicating that the second controller corresponding to the first response message that has not been received is an abnormal node will be obtained. This is conducive to improving the accuracy of the detection and facilitating the accurate positioning of the abnormal node, avoiding the default assumption that the first control node is abnormal when the first response message of some second controllers is not received, which makes the detection inaccurate, thereby affecting the positioning of the abnormal node.

[0055] The following will describe the various steps of the controller node detection method in detail as follows:

[0056] In step 110, the first controller 11 may periodically send a first request message to the M second controllers. The period at which the first controller 11 sends the first request message may be flexibly set according to actual conditions, which will not be described in detail here.

[0057] Alternatively, the first controller 11 may send the first request message to the M second controllers upon receiving the test instruction input by the management personnel.

[0058] In this embodiment, the first controller 11 can send the first request message to M second controllers in a broadcast manner; or, the first controller 11 can send the first request message to the M second controllers separately based on the addresses of the M second controllers. The method of sending the first request message is not specifically limited here.

[0059] In this embodiment, the first request message is a message that can be used for node status diagnosis. When the link is normal and the controller of the receiving party functions normally, the second controller can normally receive the first request message and respond to the first request message. The response content of the second controller is used as the first response message, which can be sent by the second controller to the first controller 11.

[0060] In the first preset period after sending the first request message, the first controller 11 can receive response messages fed back by each second controller based on the first request message. Then, the first controller 11 sends all response messages received in the first preset period as interaction information to the server 20.

[0061] The first preset period can be flexibly set according to actual conditions, for example, the first preset period can be a shorter period such as 1 second or 10 seconds. The first response message is used to indicate that the controller has received the first request message, and the content carried by the first response message can be flexibly set according to actual conditions.

[0062] Understandably, the first controller 11 itself may include a crystal oscillator, which may be used for timing. That is, after sending the first request message, the first controller 11 starts timing and waits to receive a response message sent by the second controller based on the first request message, and the response message is the first response message. If the link between the first controller 11 and the second controller is abnormal, or the second controller is abnormal, the second controller cannot receive the first request message, and therefore, the second controller will not send the first response message to the first controller 11.

[0063] In step 120 , the server 20 may receive the response message collected by the first controller 11 from the control device 10 as interaction information.

[0064] In this embodiment, the server 20 may periodically obtain the response message collected by the first controller 11 of the control device 10 from the control device 10, or the control device 10 may periodically send the response message collected by the first controller 11 to the server 20. Alternatively, when the first controller 11 collects the response message within the first preset time period, the control device 10 reports the interaction information to the server 20, and the manner in which the server 20 obtains the interaction information is not specifically limited.

[0065] After receiving the interaction information, the server 20 can analyze and process the interaction information to obtain a detection result. In the first detection result, in addition to the diagnosis information of whether the controller node is abnormal, it can also carry the diagnosis information of whether the link between the first controller 11 and other controllers is normal.

[0066] As an optional implementation, step 130 may include: if the interaction information indicates that within the first preset time period after sending the first request message, the first controller 11 receives a first response message sent by each of the M second controllers based on the first request message, then the server 20 can analyze and obtain a first detection result indicating that the node status of the first controller 11 and the M second controllers are all in a normal state.

[0067] For example, please refer again to Figure 1 , within the first preset time period after sending the first request message, if the first controller 11 receives the first response message sent by each of the second controllers 12, 13 and 14 based on the first request message, the control device 10 will send the first response message received by the first controller 11 to the server 20. In addition, the server 20 can determine, based on the first response message in the received exchange information, that the node states of the first controller 11 and the second controller 12, the second controller 13 and the second controller 14 are all normal, and the links between the first controller 11 and the second controller 12, the second controller 13 and the second controller 14 are normal, and data interaction can be performed normally.

[0068] As an optional implementation, step 130 may include: if the interaction information indicates that the first controller 11 has not received the first response message sent by any of the M second controllers within the first preset time period after sending the first request message, the server 20 can obtain a first detection result indicating that the node status of the first controller 11 is node loss.

[0069] For example, please refer again to Figure 1, within the first preset period after sending the first request message, if the first controller 11 does not receive the first response message sent by any of the second controllers 12, 13 and 14, the interactive information sent by the first controller 11 to the server 20 may carry information indicating that no response from any second controller has been received. At this time, based on the interactive information, the server 20 can determine that the node status of the first controller 11 itself is an abnormal state. That is, the first controller 11 itself is in a node loss state and cannot communicate data with the second controller 12, 13 and 14.

[0070] As an optional implementation, step 130 may include: if the interaction information indicates that within the first preset time period after sending the first request message, the first controller 11 does not receive the first response message sent by some of the M second controllers, then the server 20 can obtain a first detection result indicating that the second controller that did not send the first response message is an abnormal node.

[0071] For example, please refer again to Figure 1 , within the first preset period after sending the first request message, if the first controller 11 does not receive the first response message sent by the second controller 12, but receives the first response messages sent by the second controller 13 and the second controller 14, then the server 20 can preliminarily determine that the node status of the second controller 13 is abnormal based on the interaction information reported by the control device 10. That is, the second controller 12 may be in a node loss state and cannot communicate data with the first controller 11; or, there is an abnormality in the link between the second controller 12 and the first controller 11, and normal communication is not possible.

[0072] In addition, the server 20 may also obtain the detection result that the node status of the second controller 13 and the node status of the second controller 14 is normal.

[0073] As an optional implementation, the method may further include:

[0074] Within the first preset time period after sending the first request message, the first controller 11 uses the second controller among the M second controllers that receives the first request message as the third controller, and uses the second controller among the M second controllers that does not receive the first request message as the fourth controller, wherein the third controller is link-connected to the fourth controller;

[0075] The first controller 11 or the server 20 controls the third controller to send a second request message to the fourth controller;

[0076] If the interaction information indicates that within a second preset time period after sending the second request message, the third controller receives a second response message sent by the fourth controller based on the second request message, the server 20 obtains a second detection result indicating that the link between the first controller 11 and the fourth controller is abnormal;

[0077] If the interaction information indicates that the third controller does not receive the second response message sent by the fourth controller based on the second request message within the second preset time period after sending the second request message, the server 20 obtains a second detection result indicating that the node status of the fourth controller is node loss.

[0078] For example, please refer again to Figure 1 , within the first preset period after sending the first request message, if the first controller 11 does not receive the first response message sent by the second controller 12, but receives the first response messages sent by the second controller 13 and the second controller 14. At this time, since the physical link of the second controller 13 is connected to the first controller 11 and the second controller 12, and the second controller 13 has received the first request message, the second controller 13 acts as the third controller. If the second controller 12 does not reply to the first controller 11 with a response message, it is considered that the second controller has not received the first request message, and at this time, the second controller 12 acts as the fourth controller.

[0079] Then, the first controller 11 or the server 20 can control the second controller 13 to send a new request message as a second request message to the second controller 12. The function of the second request message is similar to that of the first request message, which will not be described in detail here.

[0080] Then, the second controller 13 waits for a reply from the second controller 12 .

[0081] If the second controller 13 receives a response message (i.e., a second response message) sent by the second controller 12 within the second preset time period after sending the second request message, the second controller 13 can directly feedback the interaction information between the second controller 12 and the second controller 13 to the server 20. Alternatively, the second controller 13 can first feedback the interaction information between the second controller 12 and the second controller 13 to the first controller 11, and then feedback the interaction information to the server 20 through the first controller 11. After receiving the interaction information, the server 20 can analyze and obtain the second detection result of the abnormal link between the first controller 11 and the second controller 12. That is, the second controller 12 cannot communicate with the first controller 11, but can communicate with the second controller 13.

[0082] If the second controller 13 does not receive a response message (i.e., a second response message) sent by the second controller 12 within a second preset period after sending the second request message, the second controller 13 may directly feedback the interaction information between the second controller 12 and the second controller 13 to the server 20. Alternatively, the second controller 13 may first feedback the interaction information between the second controller 12 and the second controller 13 to the first controller 11, and then feedback the interaction information to the server 20 through the first controller 11. After receiving the interaction information, the server 20 may analyze and obtain that the second controller 12 cannot communicate with the first controller 11 and the second controller 13, that is, the node status of the second controller 12 is node loss.

[0083] The second preset time period may be the same as or different from the first preset time period and may be flexibly set according to actual conditions, which will not be elaborated here.

[0084] As an optional implementation manner, the method may further include: the server 20 sends the first detection result and the interaction information to the management device.

[0085] The management device is usually a terminal device of an engineer or manager. The server 20 can send the first test result, the second test result and other test results obtained by analysis, as well as the interactive information to the management terminal, so that relevant personnel can further analyze the test results and interactive information to improve the accuracy of the engineer's location of the fault problem. Since the preliminary diagnosis results have been given in the test results, the efficiency of engineers in troubleshooting can be improved. Among them, the management device can be but not limited to a smart phone, a personal computer, etc.

[0086] Second embodiment

[0087] Please refer to Figure 3 The second embodiment also provides another controller node detection method, which can be implemented by the control device 10 itself without the server 20 participating in the analysis and processing. The method may include the following steps:

[0088] Step 210: the first controller 11 sends a first request message to the M second controllers;

[0089] Step 220: within a first preset time period after sending the first request message, the first controller 11 determines a first detection result representing the node status of the first controller 11 and the M second controllers based on the first response message sent by the M second controllers based on the first request message, wherein when the first controller 11 does not receive the first response message from some of the M second controllers within the first preset time period, the first detection result includes information indicating that the second controller corresponding to the first response message not received is an abnormal node.

[0090] It should be understood that in the second embodiment, the control device 10 itself can implement the analysis and processing process that requires the participation of the server 20 in the first embodiment. The detailed process of steps 210 and 220 executed by the control device 10 is similar to the detailed process of steps 110 and 130 executed by the control system 30 of the first embodiment, and will not be repeated here.

[0091] Please refer to Figure 4 The present application also provides a controller node detection device 300, which can be applied to the above-mentioned control system 30. The controller node detection device 300 includes at least one software function module that can be stored in the storage module 15 in the form of software or firmware or solidified in the operating system (OS) of the control device 10 and the server 20. The processing module (or controller) in the server 20 and the control device 10 is used to execute the executable module stored in the storage module 15, such as the software function module and computer program included in the controller node detection device 300.

[0092] The controller node detection device 300 may include a first sending unit 310, a receiving unit 320 and a detection unit 330, and the functions of each unit may be as follows:

[0093] A first sending unit 310, configured to send a first request message to the M second controllers through the first controller 11;

[0094] a receiving unit 320, configured to receive, through the server 20, interaction information obtained based on the first request message and sent by the control device 10, wherein the interaction information includes first response messages sent by the M second controllers based on the first request message and received by the first controller 11 within a first preset time period after sending the first request message;

[0095] The detection unit 330 is used to determine, through the server 20, a first detection result used to represent the node status of the first controller 11 and the M second controllers based on the interaction information, wherein when the interaction information indicates that the first controller 11 has not received the first response messages from some of the M second controllers within the first preset time period, the first detection result includes information indicating that the second controller corresponding to the failure to receive the first response message is an abnormal node.

[0096] Optionally, the detection unit 330 may be used to:

[0097] If the interaction information indicates that within the first preset time period after sending the first request message, the first controller 11 does not receive the first response message sent by some of the M second controllers, a first detection result is obtained indicating that the second controller that did not send the first response message is an abnormal node.

[0098] Optionally, within the first preset time period after sending the first request message, the first controller 11 uses the second controller among the M second controllers that receives the first request message as the third controller, and uses the second controller among the M second controllers that does not receive the first request message as the fourth controller, wherein the third controller is link-connected to the fourth controller;

[0099] The first sending unit 310 may also be configured to control the third controller to send a second request message to the fourth controller through the first controller 11 or the server 20;

[0100] The detection unit 330 can also be used to obtain a second detection result indicating that the link between the first controller 11 and the fourth controller is abnormal if the interaction information indicates that the third controller receives a second response message sent by the fourth controller based on the second request message within a second preset time period after sending the second request message; if the interaction information indicates that the third controller does not receive a second response message sent by the fourth controller based on the second request message within the second preset time period after sending the second request message, a second detection result indicating that the node status of the fourth controller is node loss is obtained.

[0101] Optionally, the detection unit 330 can be used for: if the interaction information indicates that within the first preset time period after sending the first request message, the first controller 11 receives a first response message sent by each of the M second controllers based on the first request message, and obtains a first detection result indicating that the node status of the first controller 11 and the M second controllers are both in a normal state.

[0102] Optionally, the detection unit 330 can be used for: if the interaction information indicates that the first controller 11 has not received a first response message sent by any of the M second controllers within the first preset time period after sending the first request message, a first detection result is obtained indicating that the node status of the first controller 11 is node loss.

[0103] Optionally, the controller node detection device 300 may further include a second sending unit, and the second sending unit may also be configured to send the first detection result and the interaction information to the management device through the server 20 .

[0104] In this embodiment, the first controller 11, the second controller and other controllers may be an integrated circuit chip with the ability to process signal codes. The first controller 11 and the second controller may be flexibly determined according to actual conditions.

[0105] For example, when the control system 30 is deployed on an electric vehicle, the first controller 11 may be a vehicle control unit (VCU), and the second controller may include but is not limited to a motor controller (MCU), an air conditioning controller, a transmission controller (TCU), a battery management system (BMS) controller, etc.

[0106] The storage module 15 may be, but is not limited to, a random access memory, a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, etc. In this embodiment, the storage module 15 may be used to store the first preset period, the second preset period, the detection result, etc. Of course, the storage module 15 may also be used to store a program, and the processing module executes the program after receiving the execution instruction.

[0107] Understandably, Figure 1 The control system 30 and the control device 10 shown in the figure are only a schematic diagram of the structure. The control system 30 and the control device 10 may also include Figure 1 More components are shown. Figure 1 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0108] It should be noted that technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, the specific working processes of the control device 10, server 20 and control system 30 described above can refer to the corresponding processes of each step in the aforementioned method, and will not be elaborated here.

[0109] The embodiment of the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed on a computer, the computer executes the controller node detection method described in the above embodiment.

[0110] Through the description of the above implementation methods, technical personnel in this field can clearly understand that the present application can be implemented by hardware, and can also be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, a control system, or a network device, etc.) to execute the methods described in each implementation scenario of the present application.

[0111] In summary, the embodiments of the present application provide a controller node detection method, device, control system, vehicle and storage medium. This solution uses a first controller to send a first request message to M second controllers; the server receives the interactive information obtained by the control device, and determines a first detection result for representing the node status of the first controller and the M second controllers based on the interactive information. If the interactive information indicates that the first controller has not received the first response message of some second controllers within the first preset time period, a detection result indicating that the second controller corresponding to the first response message not received is an abnormal node will be obtained. This is conducive to improving the accuracy of detection and accurately locating abnormal nodes, avoiding the default that the first control node is abnormal when the first response message of some second controllers is not received, which makes the detection inaccurate, thereby affecting the positioning of the abnormal node.

[0112] In the embodiments provided in the present application, it should be understood that the disclosed device, system and method can also be implemented in other ways. The above-described device, system and method embodiments are merely schematic, for example, the flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a part of a module, a program segment or a code, and a part of the module, program segment or code contains one or more executable instructions for implementing the specified logical function. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. In addition, each functional module in each embodiment of the present application can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part.

[0113] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A controller node detection method, characterized in that: Applied to a control system, the control system includes a control device and a server, the control device includes a first controller and M second controllers, M is an integer greater than 1, the method includes: The first controller sends a first request message to the M second controllers; The server receives interaction information obtained based on the first request message sent by the control device, where the interaction information includes first response messages sent by the M second controllers based on the first request message and received by the first controller within a first preset time period after sending the first request message; The server determines, according to the interaction information, a first detection result for indicating the node status of the first controller and the M second controllers, wherein when the interaction information indicates that the first controller has not received first response messages from some of the M second controllers within the first preset time period, the first detection result includes information indicating that the second controller corresponding to the second controller that has not received the first response message is an abnormal node; Within the first preset time period after sending the first request message, the first controller uses the second controller among the M second controllers that receives the first request message as the third controller, and uses the second controller among the M second controllers that does not receive the first request message as the fourth controller, wherein the third controller is link-connected to the fourth controller; The first controller or the server controls the third controller to send a second request message to the fourth controller; If the interaction information indicates that within a second preset time period after sending the second request message, the third controller receives a second response message sent by the fourth controller based on the second request message, then the server obtains a second detection result indicating that the link between the first controller and the fourth controller is abnormal; If the interaction information indicates that the third controller does not receive the second response message sent by the fourth controller based on the second request message within the second preset time period after sending the second request message, the server obtains a second detection result indicating that the node status of the fourth controller is node loss.

2. The method according to claim 1, characterized in that The server determines, according to the interaction information, a first detection result for indicating the node status of the first controller and the M second controllers, including: If the interaction information indicates that the first controller does not receive the first response messages sent by some of the M second controllers within the first preset time period after sending the first request message, the server obtains a first detection result indicating that the second controller that did not send the first response message is an abnormal node.

3. The method according to claim 1, characterized in that The server determines, according to the interaction information, a first detection result for indicating the node status of the first controller and the M second controllers, including: If the interaction information indicates that within the first preset time period after sending the first request message, the first controller receives a first response message sent by each of the M second controllers based on the first request message, the server obtains a first detection result indicating that the node status of the first controller and the M second controllers are both normal.

4. The method according to claim 1, characterized in that The server determines, according to the interaction information, a first detection result for indicating the node status of the first controller and the M second controllers, including: If the interaction information indicates that the first controller has not received the first response message sent by any of the M second controllers within the first preset time period after sending the first request message, the server obtains a first detection result indicating that the node status of the first controller is node loss.

5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: The server sends the first detection result and the interaction information to a management device.

6. A controller node detection method, characterized in that: Applied to a control device, the control device includes a first controller and M second controllers, M is an integer greater than 1, and the method includes: The first controller sends a first request message to the M second controllers; Within a first preset time period after sending the first request message, the first controller determines, according to first response messages sent by the M second controllers based on the first request message, a first detection result used to represent the node status of the first controller and the M second controllers, wherein, when the first controller does not receive first response messages from some of the M second controllers within the first preset time period, the first detection result includes information indicating that the second controller corresponding to the failure to receive the first response message is an abnormal node; The control device sends interaction information obtained based on the first request message to the server, where the interaction information includes first response messages sent by the M second controllers based on the first request message and received by the first controller within a first preset time period after sending the first request message; Within the first preset time period after sending the first request message, the first controller uses the second controller among the M second controllers that receives the first request message as the third controller, and uses the second controller among the M second controllers that does not receive the first request message as the fourth controller, wherein the third controller is link-connected to the fourth controller; The first controller or the server controls the third controller to send a second request message to the fourth controller; If the interaction information indicates that within a second preset time period after sending the second request message, the third controller receives a second response message sent by the fourth controller based on the second request message, then the server obtains a second detection result indicating that the link between the first controller and the fourth controller is abnormal; If the interaction information indicates that the third controller does not receive the second response message sent by the fourth controller based on the second request message within the second preset time period after sending the second request message, the server obtains a second detection result indicating that the node status of the fourth controller is node loss.

7. A controller node detection device, characterized in that: Applied to a control system, the control system includes a control device and a server, the control device includes a first controller and M second controllers, M is an integer greater than 1, and the device includes: A sending unit, configured to send a first request message to the M second controllers through the first controller; a receiving unit, configured to receive, through the server, interaction information obtained based on the first request message and sent by the control device, the interaction information comprising first response messages sent by the M second controllers based on the first request message and received by the first controller within a first preset time period after sending the first request message; a detection unit, configured to determine, through the server, a first detection result indicating the node status of the first controller and the M second controllers according to the interaction information, wherein when the interaction information indicates that the first controller has not received a first response message from some of the M second controllers within the first preset time period, the first detection result includes information indicating that the second controller corresponding to the second controller that has not received the first response message is an abnormal node; Within the first preset time period after sending the first request message, the first controller uses the second controller among the M second controllers that receives the first request message as the third controller, and uses the second controller among the M second controllers that does not receive the first request message as the fourth controller, wherein the third controller is link-connected to the fourth controller; The sending unit is further used to control the third controller to send a second request message to the fourth controller through the first controller or the server; The detection unit is further configured to, if the interaction information indicates that within a second preset time period after sending the second request message, the third controller receives a second response message sent by the fourth controller based on the second request message, then the server obtains a second detection result indicating that the link between the first controller and the fourth controller is abnormal; The detection unit is also used to, if the interaction information indicates that within the second preset time period after sending the second request message, the third controller has not received the second response message sent by the fourth controller based on the second request message, then the server obtains a second detection result indicating that the node status of the fourth controller is node loss.

8. A control system, characterized in that: The control system includes a control device and a server, the control device includes a first controller and M second controllers, where M is an integer greater than 1; The first controller is used to send a first request message to the M second controllers; The server is used to receive interaction information obtained based on the first request message sent by the control device, where the interaction information includes first response messages sent by the M second controllers based on the first request message and received by the first controller within a first preset time period after sending the first request message; The server is further configured to determine, based on the interaction information, a first detection result for indicating the node status of the first controller and the M second controllers, wherein when the interaction information indicates that the first controller has not received first response messages from some of the M second controllers within the first preset time period, the first detection result includes information indicating that the second controller corresponding to the second controller that has not received the first response message is an abnormal node; Within the first preset time period after sending the first request message, the first controller is further used to use a second controller among the M second controllers that receives the first request message as a third controller, and use a second controller among the M second controllers that does not receive the first request message as a fourth controller, wherein the third controller is link-connected to the fourth controller; The first controller or the server is further used to control the third controller to send a second request message to the fourth controller; If the interaction information indicates that within a second preset time period after sending the second request message, the third controller receives a second response message sent by the fourth controller based on the second request message, then the server obtains a second detection result indicating that the link between the first controller and the fourth controller is abnormal; If the interaction information indicates that the third controller does not receive the second response message sent by the fourth controller based on the second request message within the second preset time period after sending the second request message, the server obtains a second detection result indicating that the node status of the fourth controller is node loss.

9. A vehicle, characterized in that: It comprises a vehicle body and the control system as claimed in claim 8, wherein the control system is arranged in the vehicle body.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 6.