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

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

Info

Publication number
CN110955554A
CN110955554A CN201911283421.9A CN201911283421A CN110955554A CN 110955554 A CN110955554 A CN 110955554A CN 201911283421 A CN201911283421 A CN 201911283421A CN 110955554 A CN110955554 A CN 110955554A
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.)
Granted
Application number
CN201911283421.9A
Other languages
Chinese (zh)
Other versions
CN110955554B (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The application provides a fault processing method, a device, equipment and a storage medium, wherein the method comprises the following steps: acquiring the fault state of each monitored object in each type according to the preset type; for a first type, if the fault state of at least one monitoring object in the first type is a fault, determining that the fault state of a new fault code corresponding to the first type is the fault, 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 method effectively realizes the flexible shutdown of the fault, improves the processing efficiency and the flexibility of the fault shutdown, and is convenient to operate.

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 method, an apparatus, a device, and a storage medium for processing a fault.
Background
With the rapid development of scientific technology, the functions and performances of modern automobiles, ships and other devices are more and more powerful, the operation of the devices depends on an Electronic Control Unit (ECU) of an electronic Control system to monitor the functions of parts in the electronic Control system at any time, once a fault is found, the fault is immediately stored in a designated unit of the ECU in the form of fault codes, and certain functions of the electronic Control system in operation are degraded and controlled according to the fault codes, so that the electric Control system is prevented from being damaged more due to the fault.
However, in some practical cases, although a fault occurs in the monitoring target, the electronic control system is not degraded, and a fault state needs to be controlled. In the prior art, the fault state can be opened or closed usually by modifying a control program, so that the efficiency is low, the difficulty is high and the control is not flexible.
Disclosure of Invention
The application provides a fault processing method, a fault processing device, equipment and a storage medium, and aims to overcome the defects that control programs need to be modified when a fault is opened or closed, the efficiency is low, the flexibility is poor and the like in the prior art.
The first aspect of the present application provides a method for processing a fault, including:
acquiring the fault state of each monitored object in each type according to the preset type;
for a first type, if the fault state of at least one monitoring object in the first type is a fault, determining that the fault state of a new fault code corresponding to the first type is the fault, 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 a second state, determining that the degradation state corresponding to the first type is in need of degradation;
and performing corresponding degradation control according to the 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 as not needing to be degraded.
Further, the acquiring the state of the switch variable corresponding to the first type includes:
and acquiring the state of the switch variable corresponding to the first type in at least one mode of calibration, hard-line switch signals and message signals.
Further, the method further comprises:
acquiring a classification identifier calibrated for each monitoring object;
and determining the type corresponding to each monitored object according to the classification identifier of each monitored object.
Further, if the fault states of the monitoring objects in the first type are all 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, including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring the fault state of each monitoring object in a first type in a preset type for the monitoring object 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 and acquiring the state of the switch variable if the fault state of at least one monitoring object in the first type is faulty;
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 a second state, determining that the degradation state corresponding to the first type is in need of degradation;
and performing corresponding degradation control according to the 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 fault to no fault, setting the degradation state corresponding to the first type as not needing to be degraded.
Further, the obtaining module is specifically configured to:
and acquiring the state of the switch variable by at least one of calibration, a hard-wire switch signal and a message signal.
Further, the obtaining module is further configured to:
acquiring a classification identifier calibrated for each monitoring object;
and determining the type corresponding to each monitored object according to the classification identifier of each monitored object.
Further, the determining module is further configured to:
and if the fault state of each monitoring object in the first type is no fault, determining that the fault state of the new fault code corresponding to the first type is no fault.
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 computer-executable instructions stored by the memory to cause the at least one processor to perform the method as set forth in the first aspect above and in various possible designs of the first aspect.
A fourth aspect of the present application provides a computer-readable storage medium having stored thereon computer-executable instructions that, when executed by a processor, implement a method as set forth in the first aspect and various possible designs of the first aspect.
According to the fault processing method, the fault processing device, the fault processing equipment and the fault processing 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 a fault, the fault state of a new fault code corresponding to the first type is determined to be the fault, 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 a non-fault, no response to the fault of the new fault code corresponding to the first type is needed, the flexible closing of the fault is effectively achieved, the fault closing processing efficiency and flexibility are improved, and the operation is convenient. And through classification calibration, the faults of the monitored objects are classified, unified degradation is realized, one-time degradation is not required to be carried out on each fault of the monitored 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 in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a schematic diagram of an architecture of a processing system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a fault handling method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a fault handling method according to another embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a logic principle of a switch variable according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a control logic for a switch variable according to an embodiment of the present application;
FIG. 6 is a schematic diagram of the new failure 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.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The fault processing method provided by the embodiment of the application is suitable for application scenarios of flexibly starting or closing faults of the engine ECU. Fig. 1 is a schematic diagram of an architecture 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 a corresponding operation. The ECU obtains the fault state of the monitored object through the detection equipment, the monitored object can be information detected by each detection equipment, such as water temperature, or parts in an electric control system detected by the detection equipment, such as a pedal and a brake, and the monitored object can be specifically set according to actual requirements. And carrying out corresponding fault processing according to the fault state of each monitored object. Specifically, the monitoring objects may be classified in advance, that is, the monitoring objects may be classified into several types by calibration, specifically, the classification may be performed according to degradation required when the monitoring objects fail. The ECU can acquire the fault state of each monitored object in each type according to the preset type, and set a corresponding new fault code for each type according to the type, when the fault state of at least one monitoring object in one type is fault, the fault state of a new fault code corresponding to the type is determined to be fault, and a switch variable can be set to flexibly control the on and off of the new fault code, determining whether the fault of the new fault code needs to be responded according to the state of the switch variable, if the switch variable is in the first state, setting the fault state of the new fault code as no fault, namely, the fault which does not need to respond to the new fault code is required, if the switch variable is in the second state, the fault which responds to the new fault code is required to be correspondingly classified and degraded, namely, one degradation is pre-associated with each type, and the degradation is carried out aiming at one type, but the degradation is not required aiming at the fault of each monitoring object. The switch variable can be flexibly controlled by calibrating variables, hard wire signals, message signals 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 starting and closing of the faults are realized through switch variables, and the problems that in the prior art, the faults can be started or closed only through modifying a control program, so that the efficiency is low, the difficulty is high, and the flexibility is low are solved.
Furthermore, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. In the description of the following examples, "plurality" means two or more unless specifically limited otherwise.
The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
An embodiment of the present application provides a fault processing method, which is used for processing a fault of each monitored object. 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 schematic flow chart of a fault processing method provided in this embodiment is shown, where the method includes:
step 101, acquiring the fault state of each monitored object in each type according to a preset type.
Specifically, the monitored object may be information detected by each detection device, such as water temperature, or a part in an electronic control system, such as a pedal and a brake, detected by the detection device, or a detected fault code, which may be specifically set according to actual requirements. The monitoring objects may be classified in advance, that is, the monitoring objects may be classified into several types by calibration, specifically, the classification may be performed according to degradation required when the monitoring objects fail. The ECU may acquire the failure state of each monitored object in each type according to a preset type.
For example, the monitoring objects may be calibrated by using an array, where the size of the array may be set to N, where N is a positive integer, that is, the array may calibrate N monitoring objects. The ECU can determine the type of each monitored object according to the calibrated array, and acquire the fault state of each monitored object in each type according to the preset type. The fault state includes both a fault and a no fault state.
Step 102, for the first type, if the fault state of at least one monitoring object in the first type is a fault, determining that the fault state of the new fault code corresponding to the first type is a fault, and acquiring 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 the fault state of at least one of the monitoring objects is a fault, the fault state of the first type is determined to be a fault, and a corresponding new fault code may be set for each type, that is, the fault state of the new fault code corresponding to the first type is determined to be a fault. The fault conditions of the plurality of monitored objects are classified as a first type of fault condition. When it is determined that the fault state of the new fault code corresponding to the first type is a fault, it cannot be determined whether the fault needs to be responded, and the state of the switch variable controlling the opening and closing of the fault needs to be further determined.
The switch variables corresponding to each type can be controlled by calibrating 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 controller through an external switch; for example, the switching variable can be controlled by a message signal, and the state of the switching variable can be controlled by sending the message signal to the ECU through other equipment, which can be specifically set according to actual requirements.
And when the fault states of all the monitoring objects in the first type are 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.
Specifically, the states of the switch variables may include an open state (i.e., a first state) and a closed state (i.e., a second state), and when the switch variables are in the open state, the switch variables act to change the fault state of the new fault code corresponding to the first type from a fault state to a non-fault state, i.e., ignore the fault of the new fault code, do not respond to the fault, and do not degrade. When the state of the switch variable is in the second state, the switch variable does not work, and the ECU responds to the fault of the new fault code and carries out corresponding degradation.
In the method for processing a fault provided by this embodiment, the fault state of each monitored object in each type is obtained according to a preset type, for a first type, if the fault state of at least one monitored object in the first type is a fault, it is determined that the fault state of a new fault code corresponding to the first type is a fault, and the state of a switch variable corresponding to the first type is obtained, and 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 no fault, and there is no need to respond to the fault of the new fault code corresponding to the first type, so that flexible shutdown of the fault is effectively achieved, the processing efficiency and flexibility of fault shutdown are improved, and operation is convenient.
The method provided by the above embodiment is further described in an additional embodiment of the present application.
As shown in fig. 3, a flow chart of the method for processing the fault according to this embodiment is shown.
As a practical way, on the basis of the above embodiment, optionally, the method further includes:
and 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 required state.
And 105, performing corresponding degradation control according to the 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 does not work, and the ECU responds to the fault of the new fault code to perform corresponding degradation. The method includes the steps that 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 in need of degradation, the degradation pre-associated with the new fault code corresponding to the first type can be obtained, and corresponding degradation control is conducted according to the degradation pre-associated with the new fault code.
For example, the monitoring objects in the first type include a pedal, a water temperature, and a brake, when at least one of the monitoring objects has a fault, such as a water temperature fault and a brake fault, it is determined that a fault state of a new fault code corresponding to the first type is a fault, if the state of the switching variable corresponding to the first type is a first state at this time, the fault is ignored, if the state of the switching variable corresponding to the first type is a second state, it is determined that degradation is required, if the degradation pre-associated with the new fault code corresponding to the first type is deceleration, deceleration control is performed according to the degradation pre-associated with the new fault code.
Optionally, the method further comprises:
and 106, 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 not needing to be degraded.
Specifically, when the fault of each monitored object in one type is cured, no degradation is needed, and the degradation state corresponding to the type can be set as an unnecessary degradation state, so that the automobile, the ship and the like can be recovered to a normal operation state.
As another implementable manner, on the basis of the foregoing embodiment, optionally, acquiring the state of the switch variable corresponding to the first type includes:
in step 2011, the state of the switch variable corresponding to the first type is obtained by at least one of calibration, a hard-wired switch signal, and a message signal.
Specifically, the switch variables corresponding to each type may be controlled by calibrating variables, hard-wired signals, message signals, and the like, for example, the switch variables may be controlled by introducing external hard-wired switch signals, and the switch signals are manually triggered by a controller through an external switch; for example, the switching variable can be controlled by a message signal, and the state of the switching variable can be controlled by sending the message signal to the ECU through other equipment, which can be specifically set according to actual requirements.
As another practicable manner, on the basis of the foregoing embodiment, optionally, the method further includes:
step 2021, obtain the classification label calibrated for each monitored object.
Step 2022, determining the type corresponding to each monitored object according to the classification identifier of each monitored object.
Specifically, each monitored object can be classified by calibrating each monitored object, the ECU can obtain the classification identifier calibrated for each monitored object, the classification identifier can be a number, a code, a symbol, and the like, and can be specifically set according to actual requirements. The ECU may also maintain a correspondence between the classification identifier and the type, specifically, a correspondence between the classification identifier and a new fault code corresponding to the type. And the ECU determines the type of each monitored object according to the classification identifier of each monitored object and the corresponding relation between the classification identifier and the type.
As another practicable manner, on the basis of the foregoing embodiment, optionally, the method further includes:
step 2031, if the fault status of each monitored object in the first type is no fault, determining 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, it is indicated that the monitoring objects in the type are all normal, and the fault state of the new fault code corresponding to the type is determined to be fault-free.
As an exemplary embodiment, as shown in fig. 4, a schematic diagram of the logic principle of the switching variable provided for this embodiment is provided. The data can be used for calibrating and classifying the monitored objects, and the method specifically comprises the following steps:
1. one array can flexibly calibrate the monitoring objects, the size of the array can be set to be N-dimensional, namely, at most N monitoring objects can be calibrated, and one array is of one type.
2. The fault state of each monitoring object can be obtained, when one of the N monitoring objects occurs, a new fault 1 occurs (namely, the fault state of a new fault code corresponding to the type is a fault), otherwise, only when the calibrated N monitoring objects have no fault at the same time, the new fault 1 does not occur;
3. adding a switch variable in the logic process of the occurrence of the new fault 1, and when the state of the switch variable is 1 (namely, the first state), defaulting the new fault 1 to be a non-fault state, namely, the fault state logic of the type of the monitoring object does not influence the occurrence of the new fault 1, namely, the fault logic is closed; the state of the switch variable can be set to 1 through calibration, and in addition, the state of the switch variable can be controlled by introducing an external hard-wire switch signal or a message signal. Illustratively, as shown in fig. 5, a schematic diagram of the control logic of the switching variable provided for the present embodiment is provided.
4. M corresponding logics (namely M types) can be designed in the ECU to form M new faults, and the logic for curing the new faults can be classified and flexibly calibrated when in use.
5. Each new fault may correspond to a downgrade (i.e., each new fault code is pre-associated with a corresponding downgrade), and the downgrade status may be controlled to be 0 or 1 when a new fault occurs or heals, and the downgrade status in the respective control subsystem affects the logic of the subsystem. Illustratively, as shown in fig. 6, a schematic diagram of the new failure degradation logic provided for the present embodiment is provided.
The method realizes the occurrence and the cure of new faults through classification and calibration, the new faults can correspond to one type of faults (namely a grouping concept), the logic of classifying the new faults through other faults is realized, the logic of generating the new faults is flexibly closed or opened through modes of calibrating variables, hard line signals or message signals and the like, the unified degradation of the faults of one type can be realized based on the classification and calibration, each fault is not required to be respectively subjected to degradation calibration, and the degradation control efficiency is improved.
It should be noted that the respective implementable modes in the present embodiment may be implemented individually, or may be implemented in combination in any combination without conflict, and the present application is not limited thereto.
In the method for processing a fault provided by this embodiment, the fault state of each monitored object in each type is obtained according to a preset type, for a first type, if the fault state of at least one monitored object in the first type is a fault, it is determined that the fault state of a new fault code corresponding to the first type is a fault, and the state of a switch variable corresponding to the first type is obtained, and 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 no fault, and there is no need to respond to the fault of the new fault code corresponding to the first type, so that flexible shutdown of the fault is effectively achieved, the processing efficiency and flexibility of fault shutdown are improved, and operation is convenient. And through classification calibration, the faults of the monitored objects are classified, unified degradation is realized, one-time degradation is not required to be carried out on each fault of the monitored objects, and the degradation control efficiency is improved.
Still another embodiment of the present application provides a device for processing a fault, which is configured to perform the method of the foregoing embodiment.
Fig. 7 is a schematic structural diagram of a fault processing apparatus according to this embodiment. The failure handling means 30 comprises an acquisition module 31, a determination module 32 and a processing module 33.
The system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring the fault state of each monitoring object in a first type in a preset type for the monitoring object 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 and acquiring the state of the switch variable if the fault state of at least one monitoring object in the first type is faulty; 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 respective modules perform operations has been described in detail in relation to the apparatus in this embodiment, and will not be elaborated upon here.
According to the fault processing device provided by the embodiment, the fault state of each monitoring object in each type is acquired 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, and the state of the switch variable corresponding to the first type is acquired, and 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 fault is effectively and flexibly closed, the fault closing processing efficiency and flexibility are improved, and the operation is convenient.
The present application further provides a supplementary description of the apparatus provided in the above embodiments.
As a practical manner, on the basis of the foregoing embodiments, 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 in need of degradation; and performing corresponding degradation control according to the 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 not needing to be degraded.
As another implementable manner, on the basis of the foregoing embodiment, optionally, the obtaining module is specifically configured to:
and acquiring the state of the switch variable by at least one of calibration, a hard-wire switch signal and a message signal.
As another implementable manner, on the basis of the foregoing embodiment, optionally, the obtaining module is further configured to:
acquiring a classification identifier calibrated for each monitoring object; and determining the type corresponding to each monitored object according to the classification identifier of each monitored object.
As another implementable manner, on the basis of the foregoing embodiment, optionally, the determining module is further configured to:
and if the fault states of the monitoring objects in the first type are all 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 respective modules perform operations has been described in detail in relation to the apparatus in this embodiment, and will not be elaborated upon here.
It should be noted that the respective implementable modes in the present embodiment may be implemented individually, or may be implemented in combination in any combination without conflict, and the present application is not limited thereto.
According to the fault processing device of the embodiment, the fault state of each monitoring object in each type is acquired 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, and the state of the switch variable corresponding to the first type is acquired, and 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 fault is effectively closed flexibly, the fault closing processing efficiency and flexibility are improved, and the operation is convenient. And through classification calibration, the faults of the monitored objects are classified, unified degradation is realized, one-time degradation is not required to be carried out on each fault of the monitored objects, and the degradation control efficiency is improved.
Yet another embodiment of the present application provides an electronic device, which may be an ECU, for performing the method provided in the foregoing embodiment.
As shown in fig. 8, is a schematic structural diagram of the electronic device provided in this embodiment. The electronic device 50 includes: at least one processor 51 and memory 52;
the memory stores computer-executable instructions; the at least one processor executes computer-executable instructions stored by the memory to cause the at least one processor to perform a method as provided by any of the embodiments above.
According to the electronic device of the embodiment, the fault state of each monitoring object in each type is acquired 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, and the state of the switch variable corresponding to the first type is acquired, and 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 shutdown of the fault is effectively realized, the processing efficiency and flexibility of the fault shutdown are improved, and the operation is convenient. And through classification calibration, the faults of the monitored objects are classified, unified degradation is realized, one-time degradation is not required to be carried out on each fault of the monitored objects, and the degradation control efficiency is improved.
Yet another embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the processor executes the computer-executable instructions, the method provided in any one of the above embodiments is implemented.
According to the computer-readable storage medium of the embodiment, the fault state of each monitoring object in each type is acquired 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, and the state of the switch variable corresponding to the first type is acquired, and 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 there is no need to respond to the fault of the new fault code corresponding to the first type, so that the flexible shutdown of the fault is effectively realized, the processing efficiency and flexibility of the fault shutdown are improved, and the operation is convenient. And through classification calibration, the faults of the monitored objects are classified, unified degradation is realized, one-time degradation is not required to be carried out on each fault of the monitored objects, and the degradation control efficiency is improved.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed 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 can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made 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 used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A method for handling a fault, comprising:
acquiring the fault state of each monitored object in each type according to the preset type;
for a first type, if the fault state of at least one monitoring object in the first type is a fault, determining that the fault state of a new fault code corresponding to the first type is the fault, 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.
2. The method according to claim 1, wherein if the state of the switching variable is a second state, determining that the degradation state corresponding to the first type is degradation-required;
and performing corresponding degradation control according to the degradation pre-associated with the new fault code corresponding to the first type.
3. The method according to claim 2, wherein when the fault status of each monitoring object in the first type is cured from faulty to non-faulty, the degradation status corresponding to the first type is set as not requiring degradation.
4. The method of claim 1, wherein the obtaining the state of the switch variable corresponding to the first type comprises:
and acquiring the state of the switch variable corresponding to the first type in at least one mode of calibration, hard-line switch signals and message signals.
5. The method of claim 1, further comprising:
acquiring a classification identifier calibrated for each monitoring object;
and determining the type corresponding to each monitored object according to the classification identifier of each monitored object.
6. The method according to any one of claims 1 to 5, wherein if the fault status of each monitoring object in the first type is no fault, the fault status of the new fault code corresponding to the first type is determined to be no fault.
7. A fault handling apparatus, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring the fault state of each monitoring object in a first type in a preset type for the monitoring object 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 and acquiring the state of the switch variable if the fault state of at least one monitoring object in the first type is faulty;
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.
8. The apparatus of claim 7, wherein the processing module is further configured to:
if the state of the switch variable is a second state, determining that the degradation state corresponding to the first type is in need of degradation;
and performing corresponding degradation control according to the degradation pre-associated with the new fault code corresponding to the first type.
9. An electronic device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the method of any one of claims 1-6.
10. A computer-readable storage medium having computer-executable instructions stored thereon which, when executed by a processor, implement the method of any one of claims 1-6.
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 true CN110955554A (en) 2020-04-03
CN110955554B 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)

Cited By (1)

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

Citations (21)

* 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
US20100211824A1 (en) * 2009-02-13 2010-08-19 Sun Microsystems, Inc. Systems and methods for memory retention across resets
WO2010121902A1 (en) * 2009-04-21 2010-10-28 International Business Machines Corporation Apparatus and method for controlling a solid state disk ( ssd ) device
US20110241862A1 (en) * 2010-03-30 2011-10-06 GM Global Technology Operations LLC Method and system for ensuring operation of limited-ability autonomous driving vehicles
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

Patent Citations (21)

* 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
US20100211824A1 (en) * 2009-02-13 2010-08-19 Sun Microsystems, Inc. Systems and methods for memory retention across resets
WO2010121902A1 (en) * 2009-04-21 2010-10-28 International Business Machines Corporation Apparatus and method for controlling a solid state disk ( ssd ) device
US20110241862A1 (en) * 2010-03-30 2011-10-06 GM Global Technology Operations LLC Method and system for ensuring operation of limited-ability autonomous driving vehicles
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 (11)

* Cited by examiner, † Cited by third party
Title
张琳: ""动力定位冗余控制器设计研究动力定位冗余控制器设计研究动力定位冗余控制器设计研究"", 《万方数据库》 *
张琳: ""动力定位冗余控制器设计研究动力定位冗余控制器设计研究动力定位冗余控制器设计研究"", 《万方数据库》, 5 May 2016 (2016-05-05), pages 61 *
张雅妮: "基于热备份的双余度嵌入式系统的容错设计", 《西北工业大学学报》 *
张雅妮: "基于热备份的双余度嵌入式系统的容错设计", 《西北工业大学学报》, 15 September 2017 (2017-09-15) *
惠永琴,汪希时: "一个可修的和可降级的控制系统可靠性和可行性", 北方交通大学学报, no. 01 *
施国洪,夏敬华: "面向复杂设备的分布式故障诊断研究", 中国安全科学学报, no. 02 *
李云;王欣;刘恒;: "基于AP-913流程的预防性维修模板开发", 电站系统工程, no. 04 *
李卫华等: "实时控制计算机系统故障处理算法的设计与实现", 《武汉理工大学学报(信息与管理工程版)》, no. 03 *
汪东升等: "多机容错操作系统DFTOS的设计与实现", 《计算机应用与软件》, no. 04 *
钱昱;周一鸣;: "喷涂机器人降级模式在汽车涂装生产中的应用", 汽车工艺与材料, no. 07 *
黄南天;王斌;蔡国伟;郑检;方立华;: "基于Tsallis熵与层次化混合分类器的含未知故障断路器机械故障诊断", 高电压技术, no. 05 *

Cited By (1)

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

Also Published As

Publication number Publication date
CN110955554B (en) 2023-08-18

Similar Documents

Publication Publication Date Title
US20200125441A1 (en) Abnormality determination apparatus, abnormality determination method, and computer readable medium
CN110213258B (en) Abnormity monitoring method and device for vehicle CAN bus and computer equipment
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
CN110955554B (en) Fault processing method, device, equipment and storage medium
CA2326248A1 (en) Methods and apparatus for generating maintenance messages
CN112356818B (en) Function safety monitoring method for range extender control system
CN116300780B (en) Component configuration method, device, electronic equipment and storage medium
CN113574398A (en) Method for monitoring a switch of a railway track system
EP2082375A1 (en) Fault isolation in a vehicle
CN114170705A (en) Vehicle data uploading method, device and equipment
CN104460649A (en) Fault testing circuit and method
JP2015171853A (en) Vehicle electronic control unit
US11726853B2 (en) Electronic control device
CN111090553B (en) Test system, test method and test device
CN111044826B (en) Detection method and detection system
JP2018010331A (en) Diagnosis device and diagnosis method
CN115328080B (en) Fault detection method, device, vehicle and storage medium
JP6921219B2 (en) Distributed control system
CN113986142B (en) Disk fault monitoring method, device, computer equipment and storage medium
CN111792532B (en) Multi-controller self-adaptive installation method and equipment
CN112863008B (en) Fault recording method and device, storage medium and computer equipment
CN114815786B (en) Test method and system for simulating alarm function triggering and electronic equipment
US20170023935A1 (en) Method and Control System
US20160011932A1 (en) Method for Monitoring Software in a Road Vehicle

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