Vehicle dormancy abnormality processing method, device and vehicle

By sending a soft restart command in the vehicle controller and using the low-voltage lithium battery management module to perform a power outage and restart, the problem of vehicle power loss caused by abnormal sleep of the vehicle controller is solved, abnormal recovery is achieved, and program operation stagnation and diagnostic strategies are avoided. Invalid.

CN118269865BActive Publication Date: 2024-09-27GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410692477.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-27
Estimated Expiration
2044-05-31

AI Technical Summary

Technical Problem

The vehicle controller sleeps abnormally, causing the car to lose power. There is a software bug in the existing recovery strategy that causes the controller to loop endlessly and fail to restart.

Method used

It determines whether the vehicle is in an abnormal sleep state by presetting sleep conditions, sends a soft restart command, and uses the low-voltage lithium battery management module to perform a power outage and restart when the controller is abnormal to ensure that the controller returns to normal.

Benefits of technology

It effectively eliminates sleep abnormality problems caused by system bugs, avoids program running stagnation and diagnostic strategy failure caused by controller failures, and ensures the recovery of vehicle sleep abnormalities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118269865B
    Figure CN118269865B
Patent Text Reader

Abstract

The present invention provides a vehicle sleep abnormality processing method, device and vehicle, the method comprising: determining whether the target vehicle is in a sleep abnormality state; if so, sending a soft restart instruction to the target controller of the target vehicle, so that the target controller restarts based on the soft restart instruction; in the case where it is detected that the target controller is in an abnormal state after the restart, sending an external disconnection output request signal to the low-voltage lithium battery management module, so that the low-voltage lithium battery management module controls the battery module in the target vehicle to perform power-off and restart processing on the restarted target controller. In the case where it is detected that the target controller is in a normal state after the power-off and restart, it is determined that the target vehicle has recovered from the sleep abnormality. In the embodiment of the present invention, the low-voltage lithium battery management module controls the battery module to power off and then power on the entire vehicle, thereby realizing the power-off and restart of the target controller with an abnormality, thereby eliminating the sleep abnormality problem caused by system bugs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle control, and in particular to a method and device for handling vehicle sleep anomalies, and a vehicle. Background Art

[0002] With the development of intelligent and electrified vehicles, there are more and more controllers on vehicles, and the controller logic is becoming more and more complex. There are more and more problems of vehicle power loss caused by abnormal controller sleep. Since the car cannot start after power loss, the impact is large and the severity level of the problem is high. At present, the recovery strategy for sleep abnormality is mainly to try to restart the controller by self-restarting the controller / sending a restart command from other controllers / sending a restart command from the cloud background after discovering the sleep abnormality, and try to restore the faulty controller to normal through software restart.

[0003] However, in the above method, there is a possibility that the controller software will enter an infinite loop due to a software bug, resulting in the controller being unresponsive and unanswered externally, and the internal software being stuck. At this time, the controller does not respond to internal and external commands, and methods such as the controller self-restarting / other controllers sending restart commands / cloud backend sending restart commands are ineffective, resulting in the problem of the vehicle losing power due to controller failure when the vehicle controller is in abnormal sleep state. Summary of the invention

[0004] In view of this, the present invention aims to provide a vehicle sleep abnormality processing method, device and vehicle, which solves the problem of vehicle power loss due to controller failure when the vehicle controller is in sleep abnormality.

[0005] According to a first aspect of the present invention, a vehicle sleep abnormality processing method is provided, which is applied to a sleep abnormality diagnosis module, and the method comprises:

[0006] Determining whether the target vehicle is in an abnormal sleep state according to a preset sleep condition;

[0007] If yes, sending a soft restart instruction to the target controller of the target vehicle so that the target controller restarts based on the soft restart instruction;

[0008] When it is detected that the target controller is in an abnormal state after restart, an external disconnection output request signal is sent to the low-voltage lithium battery management module, so that the low-voltage lithium battery management module controls the battery module in the target vehicle to power off and restart the target controller after restart.

[0009] In the case where it is detected that the target controller is in a normal state after power failure and restart, it is determined that the target vehicle is abnormally restored from sleep.

[0010] Optionally, sending a soft restart instruction to a target controller of the target vehicle includes:

[0011] determining a target controller in the target vehicle that is in an abnormal state according to a network management protocol;

[0012] A soft restart instruction is sent to the target controller.

[0013] Optionally, sending a soft restart instruction to a target controller of the target vehicle includes:

[0014] Send a soft restart command to all controllers of the target vehicle.

[0015] Optionally, after the step of sending an external disconnection output request signal to a low-voltage lithium battery management module when detecting that the target controller after restart is in an abnormal state so that the low-voltage lithium battery management module controls the battery module in the target vehicle to perform power-off and restart processing on the target controller after restart, the method includes:

[0016] When it is detected that the target controller is in an abnormal state after power failure and restart, the target controller and the fault data corresponding to the target controller are uploaded to the cloud backend through Tbox.

[0017] Optionally, determining whether the target vehicle is in an abnormal sleep state according to a preset sleep condition includes:

[0018] When it is detected that the current power mode of the target vehicle is off, the off time reaches a preset time, and the target vehicle performs a target function, determining that the target vehicle is in a normal dormant state;

[0019] When it is detected that the current power mode of the target vehicle is off, the off time reaches a preset time, and the target vehicle is in a state where it cannot sleep, it is determined that the target vehicle is in an abnormal sleep state.

[0020] According to a second aspect of the present invention, a vehicle sleep abnormality processing method is provided, which is applied to a low-voltage lithium battery management module, and the method comprises:

[0021] receiving an external disconnection output request signal sent by a sleep abnormality diagnosis module;

[0022] Controlling the battery module in the target vehicle to power off and restart the restarted target controller according to the external disconnection output request signal, so that the target controller fault is resolved and the target vehicle is restored from sleep abnormality;

[0023] Among them, the external disconnection output request signal is sent by the sleep abnormality diagnosis module when it detects that the target controller is in an abnormal state after restart. The target controller after restart is restarted based on a soft restart instruction. The soft restart instruction is sent by the sleep abnormality diagnosis module to the target controller of the target vehicle when it is determined that the target vehicle is in a sleep abnormal state.

[0024] Optionally, controlling the battery module in the target vehicle to perform power-off restart processing on the restarted target controller according to the external disconnection output request signal includes:

[0025] According to the external disconnection output request signal, the battery modules in the target vehicle are controlled to perform power-off and restart processing on the target controller one by one based on the fault priority order corresponding to the target controller.

[0026] According to a third aspect of the present invention, a vehicle sleep abnormality processing device is provided, which is applied to a sleep abnormality diagnosis module, and the device comprises:

[0027] A determination module, used to determine whether the target vehicle is in an abnormal sleep state according to a preset sleep condition;

[0028] A first sending module, configured to send a soft restart instruction to a target controller of the target vehicle, so that the target controller restarts based on the soft restart instruction;

[0029] The second sending module is used to send an external disconnection output request signal to the low-voltage lithium battery management module when it is detected that the target controller is in an abnormal state after restart, so that the low-voltage lithium battery management module controls the battery module in the target vehicle to power off and restart the target controller after restart.

[0030] The recovery module is used to determine that the target vehicle is abnormally recovered from dormancy when it is detected that the target controller is in a normal state after power failure and restart.

[0031] Optionally, the first sending module includes:

[0032] A determination submodule, configured to determine a target controller in an abnormal state in the target vehicle according to a network management protocol;

[0033] The first sending submodule is used to send a soft restart instruction to the target controller.

[0034] Optionally, the first sending module includes:

[0035] The second sending submodule is used to send a soft restart instruction to all controllers of the target vehicle.

[0036] Optionally, the device further comprises:

[0037] The fault uploading module is used to upload the target controller and the fault data corresponding to the target controller to the cloud background through Tbox when it is detected that the target controller is in an abnormal state after power failure and restart.

[0038] Optionally, the determining module includes:

[0039] A first sleep abnormality determination submodule is used to determine that the target vehicle is in a normal sleep state when it is detected that the current power mode of the target vehicle is off, the off time reaches a preset time, and the target vehicle performs a target function;

[0040] The second sleep abnormality determination submodule is used to determine that the target vehicle is in a sleep abnormality state when it is detected that the current power mode of the target vehicle is off, the off time reaches a preset time, and the target vehicle is in a state where it cannot sleep.

[0041] According to a third aspect of the present invention, a vehicle sleep abnormality processing device is provided, which is applied to a low-voltage lithium battery management module, and the device comprises:

[0042] A receiving module, used for receiving an external disconnection output request signal sent by the sleep abnormality diagnosis module;

[0043] A power-off restart module, used for controlling the battery module in the target vehicle to perform a power-off restart process on the restarted target controller according to the external disconnection output request signal, so that the fault of the target controller is eliminated and the target vehicle recovers from abnormal dormancy;

[0044] Among them, the external disconnection output request signal is sent by the sleep abnormality diagnosis module when it detects that the target controller is in an abnormal state after restart. The target controller after restart is restarted based on a soft restart instruction. The soft restart instruction is sent by the sleep abnormality diagnosis module to the target controller of the target vehicle when it is determined that the target vehicle is in a sleep abnormal state.

[0045] Optionally, the power-off restart module includes:

[0046] The power-off and restart submodule is used to control the battery module in the target vehicle to perform power-off and restart processing on the target controller one by one based on the fault priority order corresponding to the target controller according to the external disconnection output request signal.

[0047] According to a fourth aspect of the present invention, there is provided a storage medium storing a computer program, wherein when the computer program is executed by a processor, the steps of the vehicle dormancy abnormality processing method as described in any one of the first aspect are implemented.

[0048] According to a fifth aspect of the present invention, a vehicle is provided, comprising a vehicle dormancy abnormality processing device according to the second aspect or the third aspect of the present invention.

[0049] A vehicle dormancy abnormality processing method provided by an embodiment of the present invention determines whether the target vehicle is in a dormancy abnormality state according to a preset dormancy condition; if so, a soft restart instruction is sent to the target controller of the target vehicle, so that the target controller is restarted based on the soft restart instruction; when it is detected that the target controller after the restart is in an abnormal state, an external disconnection output request signal is sent to the low-voltage lithium battery management module, so that the low-voltage lithium battery management module controls the battery module in the target vehicle to power off and restart the restarted target controller. When it is detected that the target controller after the power-off restart is in a normal state, it is determined that the dormancy abnormality of the target vehicle is recovered. After confirming that the dormancy abnormality of the whole vehicle occurs, the embodiment of the present invention first performs a soft restart instruction. If there is still an abnormality, the battery module can be controlled by the low-voltage lithium battery management module to power off and then power on the whole vehicle, so as to realize the power-off restart of the target controller with the abnormality, thereby eliminating the dormancy abnormality problem caused by system bugs, and avoiding the problem that the abnormal target controller causes the program to run stuck due to bugs and other reasons, and the diagnostic strategy fails due to the inability to run the diagnostic program.

[0050] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0052] Figure 1 It is a flowchart of the steps of a vehicle sleep abnormality processing method provided by an embodiment of the present invention;

[0053] Figure 2 is a flowchart of another method for handling vehicle sleep abnormality provided by an embodiment of the present invention;

[0054] Figure 3 is a flowchart of another method for handling vehicle sleep abnormality provided by an embodiment of the present invention;

[0055] Figure 4 is a flowchart of another method for handling vehicle sleep abnormality provided by an embodiment of the present invention;

[0056] Figure 5 is a flowchart of another method for handling vehicle sleep abnormality provided by an embodiment of the present invention;

[0057] Figure 6 is a flowchart of another method for handling vehicle sleep abnormality provided by an embodiment of the present invention;

[0058] Figure 7 It is a device block diagram of a vehicle sleep abnormality processing device provided by an embodiment of the present invention;

[0059] Figure 8 is a device block diagram of another vehicle sleep abnormality processing device provided by an embodiment of the present invention;

[0060] Fig. 9 is a schematic diagram of an electronic device provided by an embodiment of the present invention;

[0061] Fig.10 It is a complete flow chart of a vehicle sleep abnormality processing method provided by an embodiment of the present invention;

[0062] Fig.11 It is a schematic diagram of a vehicle sleep abnormality processing system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0063] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.

[0064] The terms "first", "second", etc. in the specification of the present invention are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged when appropriate, so that the embodiments of the present invention can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, the specification "and / or" represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0065] In conjunction with the accompanying drawings, a vehicle sleep abnormality processing method, device and vehicle provided by an embodiment of the present invention are described in detail through specific embodiments and application scenarios.

[0066] like Fig.11 As shown, the present application involves at least one target controller, a sleep abnormality diagnosis module, a low-voltage lithium battery management module and a battery module in a target vehicle, wherein the battery module may be a lithium battery and the target controller may be multiple.

[0067] Reference Figure 1 , Figure 1 A schematic flow chart of a vehicle sleep abnormality processing method provided by an embodiment of the present invention, the vehicle sleep abnormality processing method comprises the following steps:

[0068] Step 101, determining whether the target vehicle is in a dormant abnormal state;

[0069] It should be noted that, in the embodiment of the present application, abnormal sleep state of each controller in the vehicle may cause the vehicle to lose power and waste resources. Therefore, the present application proposes a vehicle sleep abnormality processing method to solve the above problem.

[0070] First, it is necessary to determine whether the current target vehicle is in an abnormal sleep state based on the current state of the vehicle. Specifically, it can be determined that after the vehicle power has been turned off for a period of time, the entire vehicle is still in a non-sleep state. It is necessary to further determine whether the current state of the vehicle is a reasonable non-sleep state, so as to determine whether the vehicle is in an abnormal sleep state.

[0071] Step 102: If yes, a soft restart instruction is sent to the target controller of the target vehicle, so that the target controller restarts based on the soft restart instruction;

[0072] It should be noted that in an embodiment of the present application, when it is determined that the target vehicle is in an abnormal dormant state, a soft restart instruction is sent to the target controller of the target vehicle, wherein the target controller is a faulty controller, and the number of target controllers includes at least one, that is, multiple controllers may fail or one controller may fail.

[0073] After receiving the soft restart instruction, the target controller may perform a soft restart according to the soft restart instruction.

[0074] In addition, in the embodiments of the present application, Fig.10 As shown, after the controller receives the soft restart command and restarts, if the fault of the controller disappears, the sleep abnormal recovery strategy can be terminated directly.

[0075] It should be noted that, in the embodiment of the present application, soft restart refers to the process in which the controller is restarted without powering off.

[0076] Step 103, when it is detected that the target controller after restart is in an abnormal state, an external disconnection output request signal is sent to the low-voltage lithium battery management module, so that the low-voltage lithium battery management module controls the battery module in the target vehicle to power off and restart the target controller after restart.

[0077] It should be noted that in the embodiment of the present application, in step 102, after the sleep abnormality diagnosis module sends a soft restart instruction to the target controller of the target vehicle, the target controller will perform a software restart after receiving the soft restart command. If the vehicle is no longer in a sleep abnormality state after the restart, it means that the target controller is no longer in an abnormal state, that is, the sleep abnormality fault disappears, and the sleep abnormality recovery strategy ends.

[0078] On the contrary, if the vehicle is still in the abnormal sleep state after restarting, it means that the current target controller is still in the abnormal state, that is, there is a sleep abnormal fault, and the target controller needs to be powered off and restarted.

[0079] Since the battery module in the low-voltage power supply system of the target vehicle in this application is a lithium battery, which is different from a lead-acid battery. The lithium battery contains a low-voltage lithium battery management module (LBM, Low-Voltage Li-Battery Management Module), so the LBM can be used to achieve intelligent management of the low-voltage battery in the battery module of the target vehicle. For example, when the lithium battery is at risk of damage to the battery due to over-discharge, over-charge, over-temperature, over-current, etc., the LBM can control the MOS tube or internal relay and other switching devices to actively disconnect the circuit, thereby preventing damage to the lithium battery.

[0080] Therefore, in the embodiment of the present application, full use is made of the function of the lithium battery to intelligently manage the active cutting off of the output circuit to prevent overcurrent. After the LBM determines that the vehicle has overcurrent discharge through the overcurrent strategy, it can simultaneously determine that the vehicle has an abnormal controller sleep failure. After confirming that the vehicle has a sleep abnormality, the vehicle is powered off and then powered on by controlling the switching devices such as the MOS tube or relay inside the lithium battery, thereby realizing the power-off restart of the controller and eliminating the sleep abnormality problem caused by system bugs.

[0081] Step 104 , when it is detected that the target controller is in a normal state after power failure and restart, determining that the target vehicle is abnormally restored from sleep.

[0082] It should be noted that in the embodiment of the present application, the faulty target controller completes restart and initialization after power failure and power restoration, the fault disappears, the target controller is in a normal state after power failure and restart, and the sleep abnormal recovery strategy ends.

[0083] In addition, after step 104, it should be noted that in the embodiment of the present application, if the faulty target controller completes restart and initialization after power failure and power restoration, but the fault is still not eliminated, a fault prompt message will be sent to the owner through the vehicle system.

[0084] A vehicle dormancy abnormality processing method provided by an embodiment of the present invention determines whether the target vehicle is in a dormancy abnormality state according to a preset dormancy condition; if so, a soft restart instruction is sent to the target controller of the target vehicle, so that the target controller is restarted based on the soft restart instruction; when it is detected that the target controller after the restart is in an abnormal state, an external disconnection output request signal is sent to the low-voltage lithium battery management module, so that the low-voltage lithium battery management module controls the battery module in the target vehicle to power off and restart the restarted target controller. When it is detected that the target controller after the power-off restart is in a normal state, it is determined that the dormancy abnormality of the target vehicle is recovered. After confirming that the dormancy abnormality of the whole vehicle occurs, the embodiment of the present invention first performs a soft restart instruction. If there is still an abnormality, the battery module can be controlled by the low-voltage lithium battery management module to power off and then power on the whole vehicle, so as to realize the power-off restart of the target controller with the abnormality, thereby eliminating the dormancy abnormality problem caused by system bugs, and avoiding the problem that the abnormal target controller causes the program to run stuck due to bugs and other reasons, and the diagnostic strategy fails due to the inability to run the diagnostic program.

[0085] Reference Figure 2 , Figure 2 A flow chart of another vehicle sleep abnormality processing method provided by an embodiment of the present invention, the vehicle sleep abnormality processing method comprises the following steps:

[0086] Step 201, determining whether the target vehicle is in an abnormal sleep state according to a preset sleep condition;

[0087] Step 202: If yes, a soft restart instruction is sent to the target controller of the target vehicle, so that the target controller restarts based on the soft restart instruction;

[0088] Step 203, when it is detected that the target controller after restart is in an abnormal state, an external disconnection output request signal is sent to the low-voltage lithium battery management module, so that the low-voltage lithium battery management module controls the battery module in the target vehicle to power off and restart the target controller after restart.

[0089] Step 204 , when it is detected that the target controller is in a normal state after power failure and restart, it is determined that the target vehicle is abnormally restored from sleep.

[0090] It should be noted that the above steps 201-204 refer to the previous discussion and will not be repeated here.

[0091] Step 205, when it is detected that the target controller is in an abnormal state after power failure and restart, the target controller and the fault data corresponding to the target controller are uploaded to the cloud backend through Tbox.

[0092] It should be noted that in the embodiment of the present application, after step 203, if it is detected that the target controller is in an abnormal state after power failure and restart, the target controller and the fault data corresponding to the target controller can be uploaded to the cloud backend through Tbox.

[0093] Specifically, if the sleep abnormality fault is not eliminated after power off and restart, the sleep abnormality diagnosis module will send the fault data and target controller corresponding to the sleep abnormality to the cloud background through Tbox, and notify relevant technical personnel to file and investigate the vehicle problem.

[0094] After confirming that the whole vehicle has a sleep abnormality, the embodiment of the present invention first performs a soft restart instruction. If the abnormality still exists, the battery module can be controlled by the low-voltage lithium battery management module to power off and then power on the whole vehicle, thereby realizing the power-off and restart of the target controller with the abnormality, thereby eliminating the sleep abnormality problem caused by system bugs, and avoiding the problem of program running jamming caused by bugs and other reasons of the abnormal target controller, and the failure of the diagnostic strategy caused by the inability to run the diagnostic program.

[0095] In addition, in the embodiment of the present invention, if the abnormal sleep failure is not eliminated after power failure and restart, the fault data can be uploaded to the cloud background, and relevant technical personnel can be notified to file and investigate the vehicle problem, so as to solve the problem of abnormal sleep in the vehicle in a more comprehensive and timely manner.

[0096] Reference Figure 3 , Figure 3 A flow chart of another vehicle sleep abnormality processing method provided by an embodiment of the present invention, the vehicle sleep abnormality processing method comprises the following steps:

[0097] Step 301, determining whether the target vehicle is in a dormant abnormal state;

[0098] Step 302, if yes, determining the target controller in the target vehicle that is in an abnormal state according to the network management protocol;

[0099] Step 303, sending a soft restart instruction to the target controller, so that the target controller restarts based on the soft restart instruction;

[0100] It should be noted that, in the embodiment of the present application, in the above steps 302-303, the sleep abnormality diagnosis module can lock the abnormal target controller according to the network management protocol, and the sleep abnormality diagnosis module sends a soft restart command to the target controller.

[0101] Specifically, the network management protocol may be a CAN protocol that uses messages to determine whether there is an abnormality in the controller on the link, or other set management protocols that can determine the abnormal target controller through the protocol, and this application does not make specific limitations on this.

[0102] Step 304, when it is detected that the target controller after restart is in an abnormal state, sending an external disconnection output request signal to the low-voltage lithium battery management module, so that the low-voltage lithium battery management module controls the battery module in the target vehicle to power off and restart the target controller after restart;

[0103] Step 305 , when it is detected that the target controller is in a normal state after power failure and restart, it is determined that the target vehicle is abnormally restored from sleep.

[0104] After confirming that the whole vehicle has a sleep abnormality, the embodiment of the present invention first performs a soft restart instruction. If the abnormality still exists, the battery module can be controlled by the low-voltage lithium battery management module to power off and then power on the whole vehicle, thereby realizing the power-off and restart of the target controller with the abnormality, thereby eliminating the sleep abnormality problem caused by system bugs, and avoiding the problem of program running jamming caused by bugs and other reasons of the abnormal target controller, and the failure of the diagnostic strategy caused by the inability to run the diagnostic program.

[0105] In addition, the embodiment of the present application can lock the abnormal target controller through the network management protocol and send a soft restart instruction to the problem controller in a targeted manner without wasting resources.

[0106] Reference Figure 4 , Figure 4 A flow chart of another vehicle sleep abnormality processing method provided by an embodiment of the present invention, the vehicle sleep abnormality processing method comprises the following steps:

[0107] Step 401, determining whether the target vehicle is in a dormant abnormal state;

[0108] Step 402, if yes, sending a soft restart instruction to all controllers of the target vehicle, so that the target controller restarts based on the soft restart instruction;

[0109] It should be noted that in the embodiment of the present application, due to the complexity of the problem, some problem sleep abnormality diagnosis modules cannot lock the specific problem controller. At this time, the sleep abnormality diagnosis module needs to send a soft restart command to all controllers, so as to ensure that the problem controller is soft restarted to eliminate the fault.

[0110] Step 403, when it is detected that the target controller after restart is in an abnormal state, sending an external disconnection output request signal to the low-voltage lithium battery management module, so that the low-voltage lithium battery management module controls the battery module in the target vehicle to perform power-off restart processing on the restarted target controller;

[0111] Step 404 , when it is detected that the target controller is in a normal state after power failure and restart, it is determined that the target vehicle is abnormally restored from sleep.

[0112] After confirming that the whole vehicle has a sleep abnormality, the embodiment of the present invention first performs a soft restart instruction. If the abnormality still exists, the battery module can be controlled by the low-voltage lithium battery management module to power off and then power on the whole vehicle, thereby realizing the power-off and restart of the target controller with the abnormality, thereby eliminating the sleep abnormality problem caused by system bugs, and avoiding the problem of program running jamming caused by bugs and other reasons of the abnormal target controller, and the failure of the diagnostic strategy caused by the inability to run the diagnostic program.

[0113] In addition, in the embodiment of the present application, when it is detected that the current problem scenario is more complex and some problem sleep abnormality diagnosis modules cannot lock the specific problem controller, the sleep abnormality diagnosis module can actively send a soft restart command to all controllers, so as to ensure that the problem controller is soft restarted to eliminate the fault.

[0114] Reference Figure 5 , Figure 5 A flow chart of another vehicle sleep abnormality processing method provided by an embodiment of the present invention, the vehicle sleep abnormality processing method comprises the following steps:

[0115] Step 501, when it is detected that the current power mode of the target vehicle is off, the off time reaches a preset time, and the target vehicle is in a preset state, it is determined that the target vehicle is in a normal dormant state;

[0116] Step 502, when it is detected that the current power mode of the target vehicle is off, the off time reaches a preset time, and the target vehicle is in a state where it cannot sleep, it is determined that the target vehicle is in an abnormal sleep state;

[0117] It should be noted that in the embodiment of the present application, after the preset time is reached, if the vehicle network is not in sleep mode, the sleep abnormality diagnosis module first needs to exclude the situation that the vehicle does not need to sleep in some states, that is, determine whether the current target vehicle is in a scenario where sleep is not required according to the preset state of the target vehicle, wherein the preset state of the target vehicle refers to, for example, the charging function being executed by the vehicle at this time, the vehicle will be in a charging state, or the vehicle has turned on the double flash or the vehicle is in the intelligent DC mode, etc., and the sleep abnormality of the vehicle in these states is a normal phenomenon, and the sleep abnormality recovery strategy ends.

[0118] Specifically, when the power of the target vehicle is turned off and the shutdown time reaches a preset time, it can be determined according to the preset state of the target vehicle whether the target vehicle network is not in sleep mode due to no need for a sleep scenario. If so, it means that the target vehicle is in a normal sleep mode; otherwise, it means that the target vehicle is in an abnormal sleep mode.

[0119] Step 503: If yes, a soft restart instruction is sent to the target controller of the target vehicle, so that the target controller restarts based on the soft restart instruction;

[0120] Step 504, when it is detected that the target controller after restart is in an abnormal state, sending an external disconnection output request signal to the low-voltage lithium battery management module, so that the low-voltage lithium battery management module controls the battery module in the target vehicle to power off and restart the target controller after restart;

[0121] Step 505 , when it is detected that the target controller is in a normal state after power failure and restart, it is determined that the target vehicle is abnormally restored from sleep.

[0122] After confirming that the whole vehicle has a sleep abnormality, the embodiment of the present invention first performs a soft restart instruction. If the abnormality still exists, the battery module can be controlled by the low-voltage lithium battery management module to power off and then power on the whole vehicle, thereby realizing the power-off and restart of the target controller with the abnormality, thereby eliminating the sleep abnormality problem caused by system bugs, and avoiding the problem of program running jamming caused by bugs and other reasons of the abnormal target controller, and the failure of the diagnostic strategy caused by the inability to run the diagnostic program.

[0123] In addition, the embodiment of the present application determines whether the current target vehicle is in a sleep-free scenario according to the preset state of the target vehicle, and then determines whether the target vehicle is in an abnormal sleep state according to the vehicle state. This can more accurately determine whether the current vehicle has a sleep abnormality, and the judgment will not be affected by the normal non-sleep scenario of the vehicle.

[0124] Reference Figure 6 , Figure 6A flow chart of another vehicle sleep abnormality processing method provided by an embodiment of the present invention, the vehicle sleep abnormality processing method comprises the following steps:

[0125] Step 601, receiving an external disconnection output request signal sent by a sleep abnormality diagnosis module;

[0126] Step 602, controlling the battery module in the target vehicle to power off and restart the restarted target controller according to the external disconnection output request signal, so that the target controller fault is resolved and the target vehicle is restored from sleep abnormality;

[0127] Among them, the external disconnection output request signal is sent by the sleep abnormality diagnosis module when it detects that the target controller is in an abnormal state after restart. The target controller after restart is restarted based on a soft restart instruction. The soft restart instruction is sent by the sleep abnormality diagnosis module to the target controller of the target vehicle when it is determined that the target vehicle is in a sleep abnormal state.

[0128] It should be noted that in the embodiment of the present application, it is applied to the low-voltage lithium battery management module LBM. For the LBM, the LBM receives the external output disconnection request signal sent by the sleep abnormality diagnosis module, and disconnects the output request signal accordingly.

[0129] Specifically, if the fault does not disappear after the controller receives the soft restart command and restarts, the sleep abnormality diagnosis module sends an external output disconnection request signal to the LBM, requesting the low-voltage lithium battery to disconnect and close the external output. After receiving the external output disconnection request signal, the LBM controls the internal MOS tube or relay and other switching devices to disconnect the external power output, and restore the external power output after the preset time is reached.

[0130] Further, in step 602, controlling the battery module in the target vehicle to perform power-off restart processing on the restarted target controller according to the external disconnection output request signal includes:

[0131] According to the external disconnection output request signal, the battery modules in the target vehicle are controlled to perform power-off and restart processing on the target controller one by one based on the fault priority order corresponding to the target controller.

[0132] It should be noted that most low-voltage lithium batteries usually have only one external output circuit. In the embodiment of the present application, multiple external output circuits can be designed according to actual needs, for example, 2-4 circuits.

[0133] Furthermore, different controllers are designed in different loops according to the dimensions such as the failure possibility and restart impact of each controller.

[0134] After receiving the external disconnection output request signal, the LBM can disconnect the switches of the response controllers one by one based on the priority order predetermined by the controller failure possibility or the restart influence degrees corresponding to the multiple target controllers.

[0135] In addition, if the first circuit is disconnected and then returns to normal, the subsequent circuits do not need to be powered off.

[0136] It should be noted that by designing different controllers in different loops and setting the priority order of power-off and restart of the target controller in case of failure based on prior experience, the impact of power-off and restart on the controller can be minimized and the controller will not be damaged.

[0137] The present invention also relates to a vehicle sleep abnormality processing device, which is applied to a sleep abnormality diagnosis module. The device block diagram is as follows: Figure 7 As shown, including:

[0138] The determination module 701 is used to determine whether the target vehicle is in a dormant abnormal state;

[0139] A first sending module 702, configured to send a soft restart instruction to a target controller of the target vehicle, so that the target controller restarts based on the soft restart instruction;

[0140] The second sending module 703 is used to send an external disconnection output request signal to the low-voltage lithium battery management module when it is detected that the target controller after restart is in an abnormal state, so that the low-voltage lithium battery management module controls the battery module in the target vehicle to power off and restart the target controller after restart;

[0141] The recovery module 704 is used to determine that the target vehicle is abnormally recovered from dormancy when it is detected that the target controller is in a normal state after power failure and restart.

[0142] Optionally, the first sending module includes:

[0143] A determination submodule, configured to determine a target controller in an abnormal state in the target vehicle according to a network management protocol;

[0144] The first sending submodule is used to send a soft restart instruction to the target controller.

[0145] Optionally, the first sending module includes:

[0146] The second sending submodule is used to send a soft restart instruction to all controllers of the target vehicle.

[0147] Optionally, the device further comprises:

[0148] The fault uploading module is used to upload the target controller and the fault data corresponding to the target controller to the cloud backend through the Tbox when it is detected that the target controller is in an abnormal state after power failure and restart.

[0149] Optionally, the determining module includes:

[0150] A first sleep abnormality determination submodule is used to determine that the target vehicle is in a normal sleep state when it is detected that the current power mode of the target vehicle is off, the off time reaches a preset time, and the target vehicle performs a target function;

[0151] The second sleep abnormality determination submodule is used to determine that the target vehicle is in a sleep abnormality state when it is detected that the current power mode of the target vehicle is off, the off time reaches a preset time, and the target vehicle is in a state where it cannot sleep.

[0152] After confirming that the whole vehicle has a sleep abnormality, the embodiment of the present invention first performs a soft restart instruction. If the abnormality still exists, the battery module can be controlled by the low-voltage lithium battery management module to power off and then power on the whole vehicle, thereby realizing the power-off and restart of the target controller with the abnormality, thereby eliminating the sleep abnormality problem caused by system bugs, and avoiding the problem of program running jamming caused by bugs and other reasons of the abnormal target controller, and the failure of the diagnostic strategy caused by the inability to run the diagnostic program.

[0153] The present invention also relates to another vehicle sleep abnormality processing device, which is applied to a low-voltage lithium battery management module. The device block diagram is as follows: Figure 8 As shown, including:

[0154] The receiving module 801 is used to receive the external disconnection output request signal sent by the sleep abnormality diagnosis module;

[0155] A power-off restart module 802 is used to control the battery module in the target vehicle to perform a power-off restart process on the restarted target controller according to the external disconnection output request signal, so that the fault of the target controller is eliminated and the target vehicle recovers from abnormal dormancy;

[0156] Among them, the external disconnection output request signal is sent by the sleep abnormality diagnosis module when it detects that the target controller is in an abnormal state after restart. The target controller after restart is restarted based on a soft restart instruction. The soft restart instruction is sent by the sleep abnormality diagnosis module to the target controller of the target vehicle when it is determined that the target vehicle is in a sleep abnormal state.

[0157] Optionally, the power-off restart module includes:

[0158] The power-off and restart submodule is used to control the battery module in the target vehicle to perform power-off and restart processing on the target controller one by one based on the fault priority order corresponding to the target controller according to the external disconnection output request signal.

[0159] After confirming that the whole vehicle has a sleep abnormality, the embodiment of the present invention first performs a soft restart instruction. If the abnormality still exists, the battery module can be controlled by the low-voltage lithium battery management module to power off and then power on the whole vehicle, thereby realizing the power-off and restart of the target controller with the abnormality, thereby eliminating the sleep abnormality problem caused by system bugs, and avoiding the problem of program running jamming caused by bugs and other reasons of the abnormal target controller, and the failure of the diagnostic strategy caused by the inability to run the diagnostic program.

[0160] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0161] A third embodiment of the present invention relates to a storage medium storing a computer program, wherein when the computer program is executed by a processor, the steps of the vehicle dormancy abnormality processing method as described in the first aspect are implemented.

[0162] A fourth embodiment of the present invention provides a vehicle, the vehicle comprising the vehicle dormant abnormality processing device according to the second aspect of the present invention.

[0163] The embodiment of the present invention further provides an electronic device, such as Fig. 9 As shown, it includes a processor 901, a communication interface 902, a memory 903 and a communication bus 904, wherein the processor 901, the communication interface 902, and the memory 903 communicate with each other through the communication bus 904;

[0164] Memory 903, used for storing computer programs;

[0165] The processor 901 is used to execute the program stored in the memory 903 to implement the following steps:

[0166] Determining whether the target vehicle is in an abnormal sleep state according to a preset sleep condition;

[0167] If yes, sending a soft restart instruction to the target controller of the target vehicle so that the target controller restarts based on the soft restart instruction;

[0168] When it is detected that the target controller is in an abnormal state after restart, an external disconnection output request signal is sent to the low-voltage lithium battery management module, so that the low-voltage lithium battery management module controls the battery module in the target vehicle to power off and restart the target controller after restart.

[0169] In the case where it is detected that the target controller is in a normal state after power failure and restart, it is determined that the target vehicle is abnormally restored from sleep.

[0170] Alternatively, receiving an external disconnection output request signal sent by a sleep abnormality diagnosis module;

[0171] Controlling the battery module in the target vehicle to power off and restart the restarted target controller according to the external disconnection output request signal, so that the target controller fault is resolved and the target vehicle is restored from abnormal dormancy;

[0172] Among them, the external disconnection output request signal is sent by the sleep abnormality diagnosis module when it detects that the target controller is in an abnormal state after restart. The target controller after restart is restarted based on a soft restart instruction. The soft restart instruction is sent by the sleep abnormality diagnosis module to the target controller of the target vehicle when it is determined that the target vehicle is in a sleep abnormal state.

[0173] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0174] The communication interface is used for communication between the above terminal and other devices.

[0175] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0176] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0177] In another embodiment provided by the present invention, a computer-readable storage medium is provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the software version upgrade method described in any of the above embodiments.

[0178] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Sol logo State Disk (SSD)), etc.

[0179] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0180] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0181] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A method for handling vehicle dormancy abnormality, characterized in that: Applied to a sleep abnormality diagnosis module, the method comprises: Determine whether the target vehicle is in a dormant abnormal state; If yes, sending a soft restart instruction to the target controller of the target vehicle so that the target controller restarts based on the soft restart instruction; In the case where it is detected that the target controller after restart is in an abnormal state, a disconnection output request signal is sent to the low-voltage lithium battery management module, so that the low-voltage lithium battery management module controls the battery module in the target vehicle to power off and restart the restarted target controller, wherein the low-voltage lithium battery management module controls the battery module in the target vehicle to power off and restart the restarted target controller, including: The low-voltage lithium battery management module includes a plurality of external output circuits, and different target controllers are arranged in the plurality of external output circuits. The low-voltage lithium battery management module controls the battery modules in the target vehicle according to the external disconnection output request signal, and performs power-off and restart processing on the target controllers one by one based on the fault priority order corresponding to the target controllers; the power-off and restart processing on the target controllers is to actively disconnect the circuit by controlling the MOS tube or the internal relay through the low-voltage lithium battery management module; In the case where it is detected that the target controller is in a normal state after power failure and restart, it is determined that the target vehicle is abnormally restored from sleep.

2. The method according to claim 1, characterized in that: The sending of a soft restart instruction to the target controller of the target vehicle comprises: determining a target controller in the target vehicle that is in an abnormal state according to a network management protocol; A soft restart instruction is sent to the target controller.

3. The method according to claim 1, characterized in that The sending of a soft restart instruction to the target controller of the target vehicle comprises: Send a soft restart command to all controllers of the target vehicle.

4. The method according to claim 1, characterized in that: After the step of sending an external disconnection output request signal to the low-voltage lithium battery management module when detecting that the target controller after restart is in an abnormal state, so that the low-voltage lithium battery management module controls the battery module in the target vehicle to perform power-off restart processing on the restarted target controller, the method includes: When it is detected that the target controller is in an abnormal state after power failure and restart, the target controller and the fault data corresponding to the target controller are uploaded to the cloud backend through Tbox.

5. The method according to claim 1, characterized in that Determining whether the target vehicle is in a dormant abnormal state includes: When it is detected that the current power mode of the target vehicle is off, the off time reaches a preset time, and the target vehicle is in a preset state, determining that the target vehicle is in a normal dormant state; When it is detected that the current power mode of the target vehicle is off, the off time reaches a preset time, and the target vehicle is in a state where it cannot sleep, it is determined that the target vehicle is in an abnormal sleep state.

6. A method for handling vehicle dormancy abnormality, characterized in that: Applied to a low-voltage lithium battery management module, the method comprises: receiving an external disconnection output request signal sent by a sleep abnormality diagnosis module; Controlling the battery module in the target vehicle to power off and restart the restarted target controller according to the external disconnection output request signal, so that the target controller fault is resolved and the target vehicle is restored from abnormal dormancy; The external disconnection output request signal is sent by the sleep abnormality diagnosis module when it is detected that the target controller after restart is in an abnormal state, and the restarted target controller is restarted based on a soft restart instruction, and the soft restart instruction is sent by the sleep abnormality diagnosis module to the target controller of the target vehicle when it is determined that the target vehicle is in a sleep abnormal state; The controlling the battery module in the target vehicle to perform power-off restart processing on the restarted target controller according to the external disconnection output request signal comprises: The low-voltage lithium battery management module includes several external output circuits, and different target controllers are arranged in the several external output circuits. The battery modules in the target vehicle are controlled according to the external output disconnection request signal to perform power-off and restart processing on the target controllers one by one based on the fault priority order corresponding to the target controllers; the power-off and restart processing of the target controllers is performed by actively disconnecting the circuit by controlling the MOS tube or the internal relay through the low-voltage lithium battery management module.

7. A vehicle sleep abnormality processing device, characterized in that: Applied to a dormancy abnormality diagnosis module, the device comprises: A determination module, used to determine whether the target vehicle is in a dormant abnormal state; A first sending module, configured to send a soft restart instruction to a target controller of the target vehicle, so that the target controller restarts based on the soft restart instruction; The second sending module is used to send an external disconnection output request signal to the low-voltage lithium battery management module when it is detected that the target controller after restart is in an abnormal state, so that the low-voltage lithium battery management module controls the battery module in the target vehicle to power off and restart the target controller after restart, wherein the low-voltage lithium battery management module controls the battery module in the target vehicle to power off and restart the target controller after restart, including: the low-voltage lithium battery management module includes a plurality of external output circuits, and different target controllers are arranged in the plurality of external output circuits; the low-voltage lithium battery management module controls the battery module in the target vehicle to power off and restart the target controller one by one based on the fault priority order corresponding to the target controller according to the external disconnection output request signal; the power-off and restart of the target controller is to actively disconnect the circuit by controlling the MOS tube or internal relay by the low-voltage lithium battery management module; The recovery module is used to determine that the target vehicle is abnormally recovered from dormancy when it is detected that the target controller is in a normal state after power failure and restart.

8. A vehicle sleep abnormality processing device, characterized in that: Applied to a low-voltage lithium battery management module, the device comprises: A receiving module, used for receiving an external disconnection output request signal sent by the sleep abnormality diagnosis module; A power-off restart module, used for controlling the battery module in the target vehicle to perform a power-off restart process on the restarted target controller according to the external disconnection output request signal, so that the fault of the target controller is eliminated and the target vehicle recovers from abnormal dormancy; The external disconnection output request signal is sent by the sleep abnormality diagnosis module when it is detected that the target controller after restart is in an abnormal state, and the restarted target controller is restarted based on a soft restart instruction, and the soft restart instruction is sent by the sleep abnormality diagnosis module to the target controller of the target vehicle when it is determined that the target vehicle is in a sleep abnormal state; The controlling the battery module in the target vehicle to perform power-off restart processing on the restarted target controller according to the external disconnection output request signal comprises: The low-voltage lithium battery management module includes several external output circuits, and different target controllers are arranged in the several external output circuits. The battery modules in the target vehicle are controlled according to the external output disconnection request signal to perform power-off and restart processing on the target controllers one by one based on the fault priority order corresponding to the target controllers; the power-off and restart processing of the target controllers is performed by actively disconnecting the circuit by controlling the MOS tube or the internal relay through the low-voltage lithium battery management module.

9. A vehicle, characterized in that: It includes the vehicle dormancy abnormality processing device as described in claim 7 or 8.