CN110955554B - Fault processing method, device, equipment and storage medium - Google Patents

Fault processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN110955554B
CN110955554B CN201911283421.9A CN201911283421A CN110955554B CN 110955554 B CN110955554 B CN 110955554B CN 201911283421 A CN201911283421 A CN 201911283421A CN 110955554 B CN110955554 B CN 110955554B
Authority
CN
China
Prior art keywords
fault
type
state
degradation
new
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911283421.9A
Other languages
Chinese (zh)
Other versions
CN110955554A (en
Inventor
刘月美
王怀宽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weichai Power Co Ltd
Original Assignee
Weichai Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Weichai Power Co Ltd filed Critical Weichai Power Co Ltd
Priority to CN201911283421.9A priority Critical patent/CN110955554B/en
Publication of CN110955554A publication Critical patent/CN110955554A/en
Application granted granted Critical
Publication of CN110955554B publication Critical patent/CN110955554B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions

Abstract

The application provides a fault processing method, device, equipment and storage medium, wherein the method comprises the following steps: acquiring the fault state of each monitoring object in each type according to the preset type; for the first type, if the fault state of at least one monitoring object in the first type is faulty, determining that the fault state of a new fault code corresponding to the first type is faulty, and acquiring the state of a switch variable corresponding to the first type; and if the state of the switch variable is a first state, setting the fault state of the new fault code corresponding to the first type as no fault. The flexible closing of the faults is effectively realized, the processing efficiency and the flexibility of the fault closing are improved, and the operation is convenient.

Description

Fault processing method, device, equipment and storage medium
Technical Field
The present application relates to the field of electronic control technologies, and in particular, to a fault processing method, device, apparatus, and storage medium.
Background
With the rapid development of science and technology, the functions and performances of modern automobiles, ships and other devices are more and more powerful, the operation of the devices depends on the electronic control system ECU (Electronic Control Unit) to monitor the functions of all parts in the electronic control system at any time, once faults are found, the faults are stored in an appointed unit of the ECU in the form of fault codes, and degradation control is performed on some functions in operation of the electronic control system according to the fault codes so as to avoid greater damage to the electronic control system caused by the faults.
However, in some practical cases, although the monitored object has a fault, the fault state needs to be controlled without degrading the electronic control system. In the prior art, a control program is usually required to be modified to open or close a fault state, so that the efficiency is low, the difficulty is high, and the control is inflexible.
Disclosure of Invention
The application provides a fault processing method, device, equipment and storage medium, which are used for solving the defects that the control program needs to be modified when the fault is opened and closed in the prior art, and have low efficiency, poor flexibility and the like.
The first aspect of the present application provides a fault handling method, including:
acquiring the fault state of each monitoring object in each type according to the preset type;
for the first type, if the fault state of at least one monitoring object in the first type is faulty, determining that the fault state of a new fault code corresponding to the first type is faulty, and acquiring the state of a switch variable corresponding to the first type;
and if the state of the switch variable is a first state, setting the fault state of the new fault code corresponding to the first type as no fault.
Further, if the state of the switch variable is the second state, determining that the degradation state corresponding to the first type is to be degraded;
and carrying out corresponding degradation control according to degradation pre-associated with the new fault code corresponding to the first type.
Further, when the fault state of each monitoring object in the first type is cured from fault to no fault, the degradation state corresponding to the first type is set to be not required to be degraded.
Further, the obtaining the state of the switching variable corresponding to the first type includes:
and acquiring the state of the switch variable corresponding to the first type through at least one mode of calibration, a hard-wire switch signal and a message signal.
Further, the method further comprises:
obtaining a classification identifier calibrated for each monitoring object;
and determining the type corresponding to each monitoring object according to the classification identification of each monitoring object.
Further, if the fault state of each monitoring object in the first type is fault-free, determining that the fault state of the new fault code corresponding to the first type is fault-free.
A second aspect of the present application provides a fault handling apparatus, comprising:
the system comprises an acquisition module, a detection module and a control module, wherein the acquisition module is used for acquiring fault states of all monitoring objects in a first type of a preset type for the monitoring objects in the first type;
the determining module is used for determining that the fault state of the new fault code corresponding to the first type is faulty if the fault state of at least one monitoring object in the first type is faulty, and acquiring the state of the switch variable;
and the processing module is used for setting the fault state of the new fault code corresponding to the first type as no fault if the state of the switch variable is the first state.
Further, the processing module is further configured to:
if the state of the switch variable is the second state, determining that the degradation state corresponding to the first type is to be degraded;
and carrying out corresponding degradation control according to degradation pre-associated with the new fault code corresponding to the first type.
Further, the processing module is further configured to:
and when the fault state of each monitoring object in the first type is cured from faults to no faults, setting the degradation state corresponding to the first type as no degradation is needed.
Further, the obtaining module is specifically configured to:
and acquiring the state of the switching variable through at least one mode of calibration, a hard-wire switching signal and a message signal.
Further, the acquisition module is further configured to:
obtaining a classification identifier calibrated for each monitoring object;
and determining the type corresponding to each monitoring object according to the classification identification of each monitoring object.
Further, the determining module is further configured to:
and if the fault state of each monitoring object in the first type is fault-free, determining that the fault state of the new fault code corresponding to the first type is fault-free.
A third aspect of the present application provides an electronic device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored by the memory such that the at least one processor performs the method as described above in the first aspect and the various possible designs of the first aspect.
A fourth aspect of the application provides a computer readable storage medium having stored therein computer executable instructions which when executed by a processor implement the method as described above for the first aspect and the various possible designs of the first aspect.
According to the fault processing method, device, equipment and storage medium, the fault state of each monitoring object in each type is obtained according to the preset type, for the first type, if the fault state of at least one monitoring object in the first type is faulty, the fault state of the new fault code corresponding to the first type is determined to be faulty, the state of the switch variable corresponding to the first type is obtained, if the state of the switch variable is the first state, the fault state of the new fault code corresponding to the first type is set to be fault-free, the fault of the new fault code corresponding to the first type does not need to be responded, the flexible closing of the fault is effectively realized, the processing efficiency and flexibility of fault closing are improved, and the operation is convenient. And the faults of the monitoring objects are classified through classification and calibration, so that unified degradation is realized, one-time degradation is not required for each fault of the monitoring objects, and the degradation control efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it will be obvious that the drawings in the following description are some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
FIG. 1 is a schematic diagram of a processing system according to an embodiment of the present application;
FIG. 2 is a flow chart illustrating a fault handling method according to an embodiment of the present application;
FIG. 3 is a flow chart illustrating a fault handling method according to another embodiment of the present application;
FIG. 4 is a schematic diagram of the logic principle of a switching variable according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a control logic of a switching variable according to an embodiment of the present application;
FIG. 6 is a schematic diagram of new fault degradation logic provided by an embodiment of the present application;
FIG. 7 is a schematic structural diagram of a fault handling apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. These drawings and the written description are not intended to limit the scope of the disclosed concept in any way, but to illustrate the inventive concept to those skilled in the art by reference to specific embodiments.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The fault processing method provided by the embodiment of the application is suitable for the application scene of the engine ECU for flexibly opening or closing the fault. FIG. 1 is a schematic diagram of a processing system according to an embodiment of the present application. The processing system may comprise an electronic control unit ECU, other detection devices, such as sensors, etc. The processing system may further include an execution unit, and the ECU controls the execution unit to perform the corresponding operation. The ECU obtains the fault state of the monitoring object through the detection device, and the monitoring object can be information detected by each detection device, such as water temperature, or can be a part in an electric control system detected by the detection device, such as a pedal and a brake, and can be specifically set according to actual requirements. And carrying out corresponding fault processing according to the fault state of each monitoring object. Specifically, the monitoring objects may be classified in advance, that is, the monitoring objects may be classified into several types by calibration, specifically, may be classified according to degradation that needs to be performed when the monitoring objects fail. The ECU may acquire the fault state of each monitored object in each type according to a preset type, set a corresponding new fault code for each type according to the type, determine that the fault state of the new fault code corresponding to one type is faulty when the fault state of at least one monitored object in the type is faulty, set a switch variable to flexibly control the opening and closing of the new fault code, determine whether to respond to the fault of the new fault code according to the state of the switch variable, if the switch variable is in the first state, set the fault state of the new fault code as a fault-free state, that is, not to respond to the fault of the new fault code, and if the switch variable is in the second state, perform corresponding classification degradation in response to the fault of the new fault code, that is, pre-associate one degradation for each type, and not to degrade the fault of each monitored object. The switch variable can be flexibly controlled by means of calibration variable, hard wire signal, message signal and the like. On one hand, the faults of the monitored objects are classified through classification and calibration, unified degradation is realized, degradation control efficiency is improved, on the other hand, flexible opening and closing of the faults are realized through the switch variable, and the problems of low efficiency, high difficulty and inflexibility caused by the fact that the faults can be opened or closed only by modifying the control program in the prior art are solved.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. In the following description of the embodiments, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
An embodiment of the application provides a fault processing method for processing faults of all monitoring objects. The execution subject of the present embodiment is a failure processing device, which may be provided in the ECU.
As shown in fig. 2, a flow chart of a fault handling method provided in this embodiment is shown, where the method includes:
step 101, acquiring the fault state of each monitoring object in each type according to the preset type.
Specifically, the monitoring object may be information detected by each detection device, such as water temperature, or may be a component in an electronic control system detected by the detection device, such as a pedal, a brake, or a detected fault code, which may be specifically set according to actual requirements. The monitoring objects can be classified in advance, namely, the monitoring objects can be classified into a plurality of types through calibration, and particularly, the monitoring objects can be classified according to degradation required to be carried out when the monitoring objects fail. The ECU may acquire the fault state of each monitoring object in each type according to a preset type.
For example, the array may be used to calibrate the monitoring objects, where the array may be sized to N, where N is a positive integer, i.e., the array may be used to calibrate N monitoring objects. The ECU can determine the type of each monitoring object according to the calibrated array, and acquire the fault state of each monitoring object in each type according to the preset type. The fault state includes both a faulty state and a non-faulty state.
Step 102, for the first type, if at least one fault state of the monitoring object in the first type is faulty, determining that the fault state of the new fault code corresponding to the first type is faulty, and obtaining the state of the switch variable corresponding to the first type.
Specifically, the first type may be any one of preset types. For the first type, if at least one of the monitored objects has a fault state, determining that the fault state of the first type is faulty, and setting a corresponding new fault code for each type, namely determining that the fault state of the new fault code corresponding to the first type is faulty. The fault states of the plurality of monitored objects are classified as a first type of fault state. When it is determined that the fault state of the new fault code corresponding to the first type is faulty, it cannot be determined whether to respond to the fault, and it is necessary to further determine the state of the switching variable for controlling the opening and closing of the fault, so that it is necessary to acquire the state of the switching variable corresponding to the first type.
The corresponding switch variables of each type can be controlled in the modes of calibration variables, hard-wire signals, message signals and the like, for example, the switch variables can be controlled by introducing external hard-wire switch signals, and the switch signals are manually triggered by a control personnel through external switches to control the states of the switch variables; for example, the switch variable can be controlled by a message signal, and the state of the switch variable can be controlled by sending the message signal to the ECU through other equipment, and the switch variable can be specifically set according to actual requirements.
And when the fault state of each monitoring object in the first type is fault-free, the state of the new fault code corresponding to the first type is considered to be fault-free.
And 103, if the state of the switch variable is the first state, setting the fault state of the new fault code corresponding to the first type as no fault.
In particular, the states of the switching variables may include an open state (i.e., a first state) and a closed state (i.e., a second state), which when in the open state act to place the fault state of the new fault code corresponding to the first type from faulty to non-faulty, i.e., ignore the fault of the new fault code, not respond to the fault, and not degrade. When the state of the switch variable is the second state, the switch variable is not active, and the ECU responds to the fault of the new fault code to carry out corresponding degradation.
According to the fault processing method provided by the embodiment, the fault state of each monitoring object in each type is obtained according to the preset type, for the first type, if the fault state of at least one monitoring object in the first type is faulty, the fault state of a new fault code corresponding to the first type is determined to be faulty, the state of a switch variable corresponding to the first type is obtained, if the state of the switch variable is the first state, the fault state of the new fault code corresponding to the first type is set to be fault-free, the fault of the new fault code corresponding to the first type does not need to be responded, flexible closing of the fault is effectively realized, the processing efficiency and flexibility of fault closing are improved, and the operation is convenient.
Another embodiment of the present application further provides a supplementary explanation of the method provided in the above embodiment.
Fig. 3 is a schematic flow chart of a fault handling method according to the present embodiment.
As an implementation manner, on the basis of the foregoing embodiment, optionally, the method further includes:
step 104, if the state of the switch variable is the second state, determining that the degradation state corresponding to the first type is the degradation.
And 105, performing corresponding degradation control according to degradation pre-associated with the new fault code corresponding to the first type.
Specifically, when the state of the switching variable is the second state, the switching variable is not active, and the ECU responds to the failure of the new failure code to perform corresponding degradation. Corresponding degradation can be pre-associated for each type of corresponding new fault code, when the degradation state corresponding to the first type is determined to be the degradation required, the degradation pre-associated with the new fault code corresponding to the first type can be obtained, and corresponding degradation control is performed according to the degradation pre-associated with the new fault code.
The first type of monitoring object includes a pedal, a water temperature, and a brake, when at least one of the monitoring objects fails, such as the water temperature fails and the brake fails, determining that a failure state of a new failure code corresponding to the first type is a failure, if the state of a switch variable corresponding to the first type is the first state at this time, ignoring the failure, if the state of a switch variable corresponding to the first type is the second state, determining that degradation is required, if the degradation pre-associated with the new failure code corresponding to the first type is a deceleration, and performing deceleration control according to the degradation pre-associated with the new failure code.
Optionally, the method further comprises:
and 106, setting the degradation state corresponding to the first type as not requiring degradation when the fault state of each monitoring object in the first type is cured from fault to no fault.
Specifically, when the faults of each monitoring object in one type are cured, the degradation is not needed, and the degradation state corresponding to the type can be set to be not needed to be degraded, so that the normal running state of the automobile, the ship and the like can be restored.
As another implementation manner, on the basis of the foregoing embodiment, optionally, acquiring the state of the switching variable corresponding to the first type includes:
in step 2011, the state of the switching variable corresponding to the first type is obtained through at least one mode of calibration, a hard-wire switching signal and a message signal.
Specifically, various types of corresponding switch variables can be controlled in a mode of calibrating the variables, hard-wire signals, message signals and the like, for example, the switch variables can be controlled by introducing external hard-wire switch signals, and the switch signals are manually triggered by a control personnel through external switches to control the states of the switch variables; for example, the switch variable can be controlled by a message signal, and the state of the switch variable can be controlled by sending the message signal to the ECU through other equipment, and the switch variable can be specifically set according to actual requirements.
As another implementation manner, on the basis of the foregoing embodiment, optionally, the method further includes:
step 2021, obtaining a classification identifier calibrated for each monitored object.
Step 2022, determining the type corresponding to each monitoring object according to the classification identifier of each monitoring object.
Specifically, each monitoring object can be classified by calibrating each monitoring object, the ECU can obtain a classification identifier calibrated for each monitoring object, and the classification identifier can be a number, a code, a symbol, etc., and can be specifically set according to actual requirements. The ECU may also maintain a correspondence between the classification identifier and the type, and in particular, maintain a correspondence between the classification identifier and a new fault code corresponding to the type. And the ECU determines the type of each monitoring object according to the corresponding relation between the classification identifier and the type of each monitoring object.
As another implementation manner, on the basis of the foregoing embodiment, optionally, the method further includes:
in step 2031, if the fault status of each monitoring object in the first type is no fault, it is determined that the fault status of the new fault code corresponding to the first type is no fault.
Specifically, when the fault states of the monitoring objects in one type are all fault-free, indicating that the monitoring objects in the one type are all normal, determining that the fault state of the new fault code corresponding to the one type is fault-free.
As an exemplary implementation, as shown in fig. 4, a schematic logic diagram of the switching variable provided in this embodiment is shown. The data can be used for calibrating and classifying the monitoring objects, and the method specifically comprises the following steps:
1. an array can flexibly calibrate the monitoring objects, the size of the array can be set to be N-dimensional, namely, N monitoring objects can be calibrated at most, and one array is of one type.
2. The fault state of each monitoring object can be obtained, when one of N monitoring objects occurs, a new fault 1 occurs (namely, the fault state of a new fault code corresponding to the type is faulty), otherwise, the new fault 1 does not occur only when the calibrated N monitoring objects have no faults at the same time;
3. adding a switching variable in the logic process of the new fault 1, and defaulting the new fault 1 to a fault-free state when the state of the switching variable is 1 (namely a first state), wherein the fault state logic of the type of monitoring object does not influence the occurrence of the new fault 1, namely the fault logic is closed; the state of the switching variable may be calibrated to 1, and in addition, the switching variable may be controlled by introducing an external hard-wired switching signal or message signal. Exemplary, as shown in fig. 5, a schematic diagram of the control logic of the switching variable provided in this embodiment is shown.
4. M corresponding logics (namely M types are set) can be designed in the ECU to form M new faults, and the new faults can be classified and flexibly calibrated to realize the occurrence cure logic of the new faults when the ECU is used.
5. Each new fault may correspond to a degradation (i.e., each new fault code is pre-associated with a corresponding degradation), and the state of degradation may be controlled to be either 0 or 1 when the new fault occurs or heals, the degraded state affecting the logic of the subsystem in the respective control subsystem. Exemplary, as shown in fig. 6, a new fault degradation logic schematic is provided in this embodiment.
The occurrence and cure of the new faults are realized through classification calibration, the new faults can correspond to one type of faults (namely, the concept of grouping), the logic of the new faults is realized through classification of other faults, the occurrence logic of the new faults is flexibly closed or opened through calibration variables, hard wire signals or message signals and the like, the unified degradation can be realized through the classification calibration based on the classification calibration, the degradation calibration is not needed to be carried out on each fault, and the degradation control efficiency is improved.
It should be noted that, in this embodiment, each of the embodiments may be implemented separately, or may be implemented in any combination without conflict, without limiting the application.
According to the fault processing method provided by the embodiment, the fault state of each monitoring object in each type is obtained according to the preset type, for the first type, if the fault state of at least one monitoring object in the first type is faulty, the fault state of a new fault code corresponding to the first type is determined to be faulty, the state of a switch variable corresponding to the first type is obtained, if the state of the switch variable is the first state, the fault state of the new fault code corresponding to the first type is set to be fault-free, the fault of the new fault code corresponding to the first type does not need to be responded, flexible closing of the fault is effectively realized, the processing efficiency and flexibility of fault closing are improved, and the operation is convenient. And the faults of the monitoring objects are classified through classification and calibration, so that unified degradation is realized, one-time degradation is not required for each fault of the monitoring objects, and the degradation control efficiency is improved.
Still another embodiment of the present application provides a fault handling apparatus for performing the method of the above embodiment.
As shown in fig. 7, a schematic structural diagram of the fault handling apparatus according to the present embodiment is shown. The fault handling means 30 comprise an acquisition module 31, a determination module 32 and a handling module 33.
The acquisition module is used for acquiring fault states of all monitoring objects in a first type for the monitoring objects in a first type in a preset type; the determining module is used for determining that the fault state of the new fault code corresponding to the first type is faulty if the fault state of at least one monitoring object in the first type is faulty, and acquiring the state of the switch variable; and the processing module is used for setting the fault state of the new fault code corresponding to the first type as no fault if the state of the switch variable is the first state.
The specific manner in which the individual modules perform the operations of the apparatus of this embodiment has been described in detail in connection with embodiments of the method and will not be described in detail herein.
According to the fault processing device provided by the embodiment, the fault state of each monitoring object in each type is obtained according to the preset type, for the first type, if the fault state of at least one monitoring object in the first type is faulty, the fault state of a new fault code corresponding to the first type is determined to be faulty, the state of a switch variable corresponding to the first type is obtained, if the state of the switch variable is the first state, the fault state of the new fault code corresponding to the first type is set to be fault-free, and the fault of the new fault code corresponding to the first type does not need to be responded, so that the flexible closing of the fault is effectively realized, the processing efficiency and flexibility of fault closing are improved, and the operation is convenient.
A further embodiment of the present application provides a further supplementary explanation of the apparatus provided in the above embodiment.
As an implementation manner, on the basis of the foregoing embodiment, optionally, the processing module is further configured to:
if the state of the switch variable is the second state, determining that the degradation state corresponding to the first type is to be degraded; and carrying out corresponding degradation control according to degradation pre-associated with the new fault code corresponding to the first type.
Optionally, the processing module is further configured to:
and when the fault state of each monitoring object in the first type is cured from fault to no fault, setting the degradation state corresponding to the first type as no degradation is needed.
As another implementation manner, on the basis of the foregoing embodiment, optionally, the obtaining module is specifically configured to:
and acquiring the state of the switching variable through at least one mode of calibration, a hard-wire switching signal and a message signal.
As another implementation manner, on the basis of the foregoing embodiment, optionally, the obtaining module is further configured to:
obtaining a classification identifier calibrated for each monitoring object; and determining the type corresponding to each monitoring object according to the classification identification of each monitoring object.
As another implementation manner, on the basis of the foregoing embodiment, optionally, the determining module is further configured to:
if the fault state of each monitoring object in the first type is fault-free, determining that the fault state of the new fault code corresponding to the first type is fault-free.
The specific manner in which the individual modules perform the operations of the apparatus of this embodiment has been described in detail in connection with embodiments of the method and will not be described in detail herein.
It should be noted that, in this embodiment, each of the embodiments may be implemented separately, or may be implemented in any combination without conflict, without limiting the application.
According to the fault processing device of the embodiment, the fault state of each monitoring object in each type is obtained according to the preset type, for the first type, if the fault state of at least one monitoring object in the first type is faulty, the fault state of a new fault code corresponding to the first type is determined to be faulty, the state of a switch variable corresponding to the first type is obtained, if the state of the switch variable is the first state, the fault state of the new fault code corresponding to the first type is set to be fault-free, and then the fault of the new fault code corresponding to the first type does not need to be responded, so that the flexible closing of the fault is effectively realized, the processing efficiency and flexibility of fault closing are improved, and the operation is convenient. And the faults of the monitoring objects are classified through classification and calibration, so that unified degradation is realized, one-time degradation is not required for each fault of the monitoring objects, and the degradation control efficiency is improved.
Still another embodiment of the present application provides an electronic device, which may be an ECU, for performing the method provided in the foregoing embodiment.
Fig. 8 is a schematic structural diagram of an electronic device according to the present embodiment. The electronic device 50 includes: at least one processor 51 and a memory 52;
the memory stores computer-executable instructions; at least one processor executes computer-executable instructions stored in a memory, causing the at least one processor to perform the method as provided in any one of the embodiments above.
According to the electronic device of the embodiment, the fault state of each monitoring object in each type is obtained according to the preset type, for the first type, if the fault state of at least one monitoring object in the first type is faulty, the fault state of the new fault code corresponding to the first type is determined to be faulty, the state of the switch variable corresponding to the first type is obtained, if the state of the switch variable is the first state, the fault state of the new fault code corresponding to the first type is set to be fault-free, the fault of the new fault code corresponding to the first type does not need to be responded, the flexible closing of the fault is effectively realized, the processing efficiency and flexibility of fault closing are improved, and the operation is convenient. And the faults of the monitoring objects are classified through classification and calibration, so that unified degradation is realized, one-time degradation is not required for each fault of the monitoring objects, and the degradation control efficiency is improved.
Yet another embodiment of the present application provides a computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, implement a method as provided in any of the above embodiments.
According to the computer readable storage medium of the embodiment, by acquiring the fault state of each monitoring object in each type according to the preset type, for the first type, if the fault state of at least one monitoring object in the first type is faulty, determining that the fault state of a new fault code corresponding to the first type is faulty, and acquiring the state of a switch variable corresponding to the first type, if the state of the switch variable is the first state, setting the fault state of the new fault code corresponding to the first type as non-faulty, and then, without responding to the fault of the new fault code corresponding to the first type, flexible closing of the fault is effectively realized, the processing efficiency and flexibility of fault closing are improved, and the operation is convenient. And the faults of the monitoring objects are classified through classification and calibration, so that unified degradation is realized, one-time degradation is not required for each fault of the monitoring objects, and the degradation control efficiency is improved.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform part of the steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above. The specific working process of the above-described device may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (7)

1. A method of handling a fault, comprising:
acquiring the fault state of each monitoring object in each type according to the preset type;
for the first type, if the fault state of at least one monitoring object in the first type is faulty, determining that the fault state of a new fault code corresponding to the first type is faulty, and acquiring the state of a switch variable corresponding to the first type;
if the state of the switch variable is a first state, setting the fault state of the new fault code corresponding to the first type as no fault;
if the state of the switch variable is the second state, determining that the degradation state corresponding to the first type is to be degraded;
performing corresponding degradation control according to degradation pre-associated with the new fault code corresponding to the first type;
the method further comprises the steps of:
obtaining a classification identifier calibrated for each monitoring object;
and determining the type corresponding to each monitoring object according to the classification identification of each monitoring object.
2. The method of claim 1, wherein when the fault status of each monitored object in the first type heals from faulty to non-faulty, the corresponding degraded status of the first type is set to no degradation required.
3. The method of claim 1, wherein the obtaining the state of the switching variable corresponding to the first type comprises:
and acquiring the state of the switch variable corresponding to the first type through at least one mode of calibration, a hard-wire switch signal and a message signal.
4. A method according to any one of claims 1-3, wherein if the fault status of each monitored object in the first type is fault-free, determining that the fault status of the new fault code corresponding to the first type is fault-free.
5. A fault handling device comprising:
the system comprises an acquisition module, a detection module and a control module, wherein the acquisition module is used for acquiring fault states of all monitoring objects in a first type of a preset type for the monitoring objects in the first type;
the determining module is used for determining that the fault state of the new fault code corresponding to the first type is faulty if the fault state of at least one monitoring object in the first type is faulty, and acquiring the state of the switch variable;
the processing module is used for setting the fault state of the new fault code corresponding to the first type as no fault if the state of the switch variable is the first state;
the processing module is further configured to:
if the state of the switch variable is the second state, determining that the degradation state corresponding to the first type is to be degraded;
performing corresponding degradation control according to degradation pre-associated with the new fault code corresponding to the first type;
the acquisition module is also used for acquiring the classification identifiers calibrated for all the monitoring objects;
the determining module is further configured to determine a type corresponding to each monitoring object according to the classification identifier of each monitoring object.
6. An electronic device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing computer-executable instructions stored in the memory causes the at least one processor to perform the method of any one of claims 1-4.
7. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor implement the method of any of claims 1-4.
CN201911283421.9A 2019-12-13 2019-12-13 Fault processing method, device, equipment and storage medium Active CN110955554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911283421.9A CN110955554B (en) 2019-12-13 2019-12-13 Fault processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911283421.9A CN110955554B (en) 2019-12-13 2019-12-13 Fault processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110955554A CN110955554A (en) 2020-04-03
CN110955554B true CN110955554B (en) 2023-08-18

Family

ID=69981519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911283421.9A Active CN110955554B (en) 2019-12-13 2019-12-13 Fault processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110955554B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579356B (en) * 2020-12-21 2022-09-16 上海金仕达软件科技有限公司 Fault processing method and server

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0862292A2 (en) * 1997-02-11 1998-09-02 Newbridge Networks Corporation Method of detecting signal degradation fault conditions within sonet and SDH signals
US6654910B1 (en) * 1999-08-14 2003-11-25 International Business Machines Corporation Intelligent fault management
CN101143566A (en) * 2007-10-15 2008-03-19 株洲时代广创变流技术有限公司 Locomotive accident isolating controlling method and device
WO2010121902A1 (en) * 2009-04-21 2010-10-28 International Business Machines Corporation Apparatus and method for controlling a solid state disk ( ssd ) device
CN103544268A (en) * 2013-10-16 2014-01-29 潍柴动力股份有限公司 Method and device for transforming fault monitored by external controller into diagnostic fault check in electric control system
CN105045164A (en) * 2015-05-28 2015-11-11 谭龙飞 Degradable triple-redundant synchronous voting computer control system and method
CN205068032U (en) * 2015-05-28 2016-03-02 孙军 Computer control system is decided by vote to synchronization that can demote
CN106940913A (en) * 2017-02-21 2017-07-11 深圳怡化电脑股份有限公司 The fault handling method and its device of a kind of financial terminal
CN107450515A (en) * 2017-07-31 2017-12-08 北京新能源汽车股份有限公司 Fault diagnosis automatic test approach and device
CN107689886A (en) * 2017-08-11 2018-02-13 北京小度信息科技有限公司 Data-interface fault handling method, device and electronic equipment
CN107818369A (en) * 2017-09-13 2018-03-20 国家电网公司 Transformer fault handling method and terminal device
CN108432184A (en) * 2016-01-08 2018-08-21 华为技术有限公司 The system and method for analyzing abnormal behaviour basic reason using hypothesis testing
CN108923957A (en) * 2018-06-14 2018-11-30 深圳深宝电器仪表有限公司 A kind of method, apparatus and terminal device of distribution network terminal DTU troubleshooting
CN108963980A (en) * 2018-04-26 2018-12-07 上海海事大学 A kind of multi-modal failure separation method based on Fault Isolation library
CN109039695A (en) * 2018-06-08 2018-12-18 阿里巴巴集团控股有限公司 Business fault treatment method, device and equipment
CN109356732A (en) * 2018-09-29 2019-02-19 潍柴动力股份有限公司 A kind of control method and device realized engine and more control mode
CN109978192A (en) * 2019-04-10 2019-07-05 华能澜沧江水电股份有限公司 A kind of huge hydroelectric power plant's state-maintenance model building method and system
CN110171445A (en) * 2019-06-10 2019-08-27 中车大连机车车辆有限公司 Vehicle safety loop wire fault point detection system and fault judgment method
CN110374753A (en) * 2019-07-19 2019-10-25 潍柴动力股份有限公司 Engine cold-start control method and equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7900090B2 (en) * 2009-02-13 2011-03-01 Oracle America, Inc. Systems and methods for memory retention across resets
US8618922B2 (en) * 2010-03-30 2013-12-31 GM Global Technology Operations LLC Method and system for ensuring operation of limited-ability autonomous driving vehicles

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0862292A2 (en) * 1997-02-11 1998-09-02 Newbridge Networks Corporation Method of detecting signal degradation fault conditions within sonet and SDH signals
US6654910B1 (en) * 1999-08-14 2003-11-25 International Business Machines Corporation Intelligent fault management
CN101143566A (en) * 2007-10-15 2008-03-19 株洲时代广创变流技术有限公司 Locomotive accident isolating controlling method and device
WO2010121902A1 (en) * 2009-04-21 2010-10-28 International Business Machines Corporation Apparatus and method for controlling a solid state disk ( ssd ) device
CN103544268A (en) * 2013-10-16 2014-01-29 潍柴动力股份有限公司 Method and device for transforming fault monitored by external controller into diagnostic fault check in electric control system
CN105045164A (en) * 2015-05-28 2015-11-11 谭龙飞 Degradable triple-redundant synchronous voting computer control system and method
CN205068032U (en) * 2015-05-28 2016-03-02 孙军 Computer control system is decided by vote to synchronization that can demote
CN108432184A (en) * 2016-01-08 2018-08-21 华为技术有限公司 The system and method for analyzing abnormal behaviour basic reason using hypothesis testing
CN106940913A (en) * 2017-02-21 2017-07-11 深圳怡化电脑股份有限公司 The fault handling method and its device of a kind of financial terminal
CN107450515A (en) * 2017-07-31 2017-12-08 北京新能源汽车股份有限公司 Fault diagnosis automatic test approach and device
CN107689886A (en) * 2017-08-11 2018-02-13 北京小度信息科技有限公司 Data-interface fault handling method, device and electronic equipment
CN107818369A (en) * 2017-09-13 2018-03-20 国家电网公司 Transformer fault handling method and terminal device
CN108963980A (en) * 2018-04-26 2018-12-07 上海海事大学 A kind of multi-modal failure separation method based on Fault Isolation library
CN109039695A (en) * 2018-06-08 2018-12-18 阿里巴巴集团控股有限公司 Business fault treatment method, device and equipment
CN108923957A (en) * 2018-06-14 2018-11-30 深圳深宝电器仪表有限公司 A kind of method, apparatus and terminal device of distribution network terminal DTU troubleshooting
CN109356732A (en) * 2018-09-29 2019-02-19 潍柴动力股份有限公司 A kind of control method and device realized engine and more control mode
CN109978192A (en) * 2019-04-10 2019-07-05 华能澜沧江水电股份有限公司 A kind of huge hydroelectric power plant's state-maintenance model building method and system
CN110171445A (en) * 2019-06-10 2019-08-27 中车大连机车车辆有限公司 Vehicle safety loop wire fault point detection system and fault judgment method
CN110374753A (en) * 2019-07-19 2019-10-25 潍柴动力股份有限公司 Engine cold-start control method and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于AP-913流程的预防性维修模板开发;李云;王欣;刘恒;;电站系统工程(第04期);全文 *

Also Published As

Publication number Publication date
CN110955554A (en) 2020-04-03

Similar Documents

Publication Publication Date Title
CN110191018A (en) Method for monitoring abnormality, device and the computer equipment of vehicle CAN bus
KR100741647B1 (en) Method for detection and a diagnostic device for the predictive detection of errors on a motor vehicle
US8831821B2 (en) Controller area network message transmission disable testing systems and methods
JP2018518857A (en) Method and apparatus for providing redundancy to a vehicle electronic control system
CN108845912B (en) Service interface calls the alarm method of failure and calculates equipment
CN113608518B (en) Data generation method, device, terminal equipment and medium
CN110955554B (en) Fault processing method, device, equipment and storage medium
KR101565030B1 (en) Decision system for error of car using the data analysis and method therefor
CN110609538B (en) Fault processing method, device, equipment and storage medium
US11614988B2 (en) Variable memory diagnostics
EP2082375B1 (en) Fault isolation in a vehicle
CN112255556B (en) Battery pack offline detection method and system
CN104460649A (en) Fault testing circuit and method
CN112306038B (en) Detection method, detection device and diagnosis equipment
CN114170705A (en) Vehicle data uploading method, device and equipment
CN114338451A (en) Controller local area network bus test system, method and storage medium
CN111090553B (en) Test system, test method and test device
JP6921219B2 (en) Distributed control system
CN109213124B (en) Data scanning method, data scanning device and vehicle diagnosis equipment
CN112863008B (en) Fault recording method and device, storage medium and computer equipment
CN112764409B (en) Security control circuit and method, storage medium, and electronic device
CN114386242A (en) Fault processing method and device for offshore converter station and electronic equipment
CN115016426A (en) fail-safe system, method, storage and automobile
CN117097685A (en) Network loop detection method and device, readable storage medium and network equipment
CN116501016A (en) Vehicle fault code setting method, vehicle-mounted terminal and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant