External watchdog failure determination method and related device

By judging the normality of the problem information sent by the external watchdog chip and its feeding record information, the problem of inaccurate judgment of electronic controller failure caused by abnormal operation of the external watchdog chip is solved, and accurate judgment of watchdog failure and improved vehicle safety are achieved.

CN120020732APending Publication Date: 2025-05-20SAIC MOTOR
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311544286.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-17
Publication Date
2025-05-20

AI Technical Summary

Technical Problem

In the prior art, when the external watchdog chip runs abnormally, it is impossible to accurately determine whether the electronic controller is invalid, which poses a security risk.

Method used

By responding to receiving the problem information sent by the watchdog, it is determined whether the problem information is normal problem information; sending random answer information that does not correspond to the normal problem information to the watchdog; and determining whether it is invalid based on the dog feeding record information of the watchdog.

Benefits of technology

It realizes accurate judgment of the failure of external watchdog chips, reduces the safety risks of electronic controller operation, and improves the safety of vehicle operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120020732A_ABST
    Figure CN120020732A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an external watchdog failure determination method and a related device, and the method comprises the steps: responding to problem information sent by a watchdog, and determining whether the problem information is normal problem information; in response to determining that the question information is normal question information, sending random answer information not corresponding to the normal question information to the watchdog; in response to sending the random answer information to the watchdog, and / or in response to determining that the question information is abnormal question information, determining whether the dog feeding record information of the watchdog is abnormal dog feeding record information; when it is determined that the dog feeding record information is not abnormal dog feeding record information, it is determined that the watchdog is invalid. Therefore, when the watchdog monitors the running state of the microprocessor in the electronic controller in real time, the microprocessor also monitors the failure condition of the watchdog, and the watchdog is ensured to maintain running in a normal working state, so that the running safety risk of the electronic controller is reduced, and the running safety of a vehicle is improved.
Need to check novelty before this filing date? Find Prior Art

Claims

1. A method for determining failure of an external watchdog, characterized in that: The method comprises: In response to receiving the problem information sent by the watchdog, determining whether the problem information is normal problem information; In response to determining that the question information is normal question information, sending random answer information that does not correspond to the normal question information to the watchdog; In response to sending the random answer information to the watchdog, and / or in response to determining that the question information is abnormal question information, determining whether the dog feeding record information of the watchdog is abnormal dog feeding record information; When it is determined that the dog feeding record information is not abnormal dog feeding record information, it is determined that the watchdog fails.

2. The method according to claim 1, characterized in that The step of determining whether the problem information is normal problem information in response to receiving the problem information sent by the watchdog comprises: In response to receiving M problem information sent by the watchdog, determining whether the M problem information is normal problem information; M≥2; In response to determining that the question information is normal question information, sending random answer information that does not correspond to the normal question information to the watchdog includes: In response to determining that N of the M question information are normal question information, sending random answer information that does not correspond to the N normal question information to the watchdog; M>N≥1; In response to sending the random answer information to the watchdog, and / or in response to determining that the question information is abnormal question information, determining whether the dog feeding record information of the watchdog is abnormal dog feeding record information includes: In response to sending the N random answer information to the watchdog, and / or in response to determining that the MN question information is abnormal question information, determining whether the dog feeding record information of the watchdog is M abnormal dog feeding record information; When determining that the dog feeding record information is not abnormal dog feeding record information, determining that the watchdog is invalid includes: When it is determined that the dog feeding record information is not M abnormal dog feeding record information, it is determined that the watchdog fails.

3. The method according to claim 2, characterized in that The method further comprises: Randomly generate label information within a preset corresponding relationship; the preset corresponding relationship is a corresponding relationship between multiple label information and multiple question information sets, and the question information set includes M question information; The receiving M problem information sent by the watchdog includes: Receive M problem information in the problem information set corresponding to the label information in the preset corresponding relationship sent by the watchdog.

4. The method according to claim 1, characterized in that: In response to sending the random answer information to the watchdog, and / or in response to determining that the question information is abnormal question information, determining whether the dog feeding record information of the watchdog is abnormal dog feeding record information includes: In response to sending the random answer information to the watchdog, and / or in response to determining that the question information is abnormal question information, querying a first count value of a hardware counter; the first count value of the hardware counter is used to record the number of abnormal feeding times of the watchdog; According to the first count value, it is determined whether the dog feeding record information of the watchdog is abnormal dog feeding record information.

5. The method according to claim 4, characterized in that Before determining whether the problem information is normal problem information in response to receiving the problem information sent by the watchdog, the method further includes: Querying a second count value of the hardware counter; In response to determining that the second count value is within a preset count range, receiving problem information sent by the watchdog.

6. The method according to claim 4, characterized in that The method further comprises: querying the first count value in a preset period; When the first count value is less than or equal to a preset count limit, de-jittering the count value; When the duration of the debouncing process is greater than a preset processing time, it is determined that the watchdog fails.

7. The method according to any one of claims 1 to 6, characterized in that: The abnormal problem information includes problem information earlier than a first preset time or problem information later than a second preset time, and the second preset time is later than the first preset time.

8. An external watchdog failure determination device, characterized in that: The device comprises: A first determining unit, configured to determine whether the problem information is normal problem information in response to receiving the problem information sent by the watchdog; an information sending unit, configured to send random answer information not corresponding to the normal question information to the watchdog in response to determining that the question information is normal question information; a second determining unit, configured to determine whether the dog feeding record information of the watchdog is abnormal dog feeding record information in response to sending the random answer information to the watchdog and / or in response to determining that the question information is abnormal question information; The third determining unit is configured to determine that the watchdog is invalid when it is determined that the dog feeding record information is not abnormal dog feeding record information.

9. A computer device, characterized in that: The computer device comprises a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the external watchdog failure determination method described in any one of claims 1 to 7 according to the instructions in the program code.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and when the computer program is executed by a processor, the computer program is used to execute the external watchdog failure determination method according to any one of claims 1 to 7.