CN117572852A - Vehicle component fault analysis method, device, equipment, medium and product - Google Patents

Vehicle component fault analysis method, device, equipment, medium and product Download PDF

Info

Publication number
CN117572852A
CN117572852A CN202410061287.2A CN202410061287A CN117572852A CN 117572852 A CN117572852 A CN 117572852A CN 202410061287 A CN202410061287 A CN 202410061287A CN 117572852 A CN117572852 A CN 117572852A
Authority
CN
China
Prior art keywords
fault
vehicle
historical
current
state
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.)
Pending
Application number
CN202410061287.2A
Other languages
Chinese (zh)
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.)
FAW Group Corp
Original Assignee
FAW Group Corp
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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN202410061287.2A priority Critical patent/CN117572852A/en
Publication of CN117572852A publication Critical patent/CN117572852A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0262Confirmation of fault detection, e.g. extra checks to confirm that a failure has indeed occurred
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Abstract

The application relates to a vehicle component fault analysis method, a device, a computer apparatus, a storage medium and a computer program product. The method comprises the following steps: acquiring a current fault code and current vehicle state data corresponding to the current fault of the vehicle component; setting a first state bit of the current fault and a second state bit of the corresponding historical fault as fault state bits; based on the fault status bit, obtaining a historical fault code and historical vehicle status data from a vehicle memory; the current fault is analyzed based on the fault status bit, the current fault code, the current vehicle status data, the historical status code, and the historical vehicle status data. The method provided by the application can analyze faults according to the stored data and save storage resources.

Description

Vehicle component fault analysis method, device, equipment, medium and product
Technical Field
The present application relates to the field of fault analysis technology, and in particular, to a vehicle component fault analysis method, apparatus, computer device, storage medium, and computer program product.
Background
In the event of a fault in a vehicle component, corresponding fault codes and freeze frame data are generated, which are used for subsequent analysis of the fault, wherein the freeze frame data characterize the operating state data of the vehicle when the fault codes were generated. In the prior art, for the same type of faults, corresponding fault codes and frozen frame data are stored in a vehicle memory when faults occur each time, so that a large amount of storage resources are occupied.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a vehicle component failure analysis method, apparatus, computer device, computer-readable storage medium, and computer program product that can save storage resources.
In a first aspect, the present application provides a vehicle component fault analysis method, the method comprising:
acquiring a current fault code and current vehicle state data corresponding to the current fault of the vehicle component;
setting the first state bit of the current fault and the second state bit of the corresponding historical fault as fault state bits;
based on the fault state bit, acquiring a historical fault code and historical vehicle state data from a vehicle controller, wherein the historical fault code and the historical vehicle state data are fault codes and vehicle state data corresponding to a target historical fault, and the target historical fault is a first occurrence of the vehicle or a first occurrence of the historical fault after a fault clearing instruction is executed last time;
the current fault is analyzed based on the fault status bit, the current fault code, the current vehicle status data, the historical status code, and the historical vehicle status data.
In one embodiment, the method further comprises:
in the case of the current fault recovery, the first state bit is set to an initial state bit, and the second state bit is maintained to the fault state bit, the initial state bit being used to characterize that the corresponding fault has recovered.
In one embodiment, after the current fault recovery, the method further includes:
if the corresponding fault occurs again, determining the new fault as the current fault, determining the corresponding state bit of the new fault as the first state bit, executing the step of setting the first state bit of the current fault and the second state bit of the corresponding historical fault as the fault state bits, and continuing to execute until a fault clearing instruction sent by the diagnosis equipment is received.
In one embodiment, the historical fault code and the historical vehicle state data are stored in a temporary storage area and a nonvolatile memory area, respectively, of the vehicle controller.
In one embodiment, after the analyzing the current fault, the method further includes:
receiving a fault clearing instruction sent by diagnostic equipment;
and deleting the data in the temporary storage area based on the fault clearing instruction, and setting the first state bit and the second state bit as initial state bits.
In one embodiment, the method further comprises:
and if the corresponding fault occurs again after the fault clearing instruction is executed, deleting the data in the nonvolatile memory area, storing new fault codes corresponding to the fault and vehicle state data in the temporary memory area and the nonvolatile memory area respectively, and setting the new fault state bit as a fault state bit.
In a second aspect, the present application also provides a vehicle component failure analysis apparatus, the apparatus comprising:
the first acquisition module is used for acquiring a current fault code and current vehicle state data corresponding to the current fault of the vehicle component;
the setting module is used for setting the first state bit of the current fault and the second state bit of the corresponding historical fault as fault state bits;
the second acquisition module is used for acquiring a historical fault code and historical vehicle state data from a vehicle memory based on the fault state bit, wherein the historical fault code and the historical vehicle state data are fault codes and vehicle state data corresponding to a target historical fault, and the target historical fault is a first occurrence of the vehicle or a first occurrence of the historical fault after a fault clearing instruction is executed last time;
and the fault analysis module is used for analyzing the current fault based on the fault state bit, the current fault code, the current vehicle state data, the historical state code and the historical vehicle state data.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the steps of the method of any of the embodiments described above when the computer program is executed by the processor.
In a fourth aspect, the present application also provides a computer-readable storage medium. A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method of any of the embodiments described above.
In a fifth aspect, the present application also provides a computer program product. A computer program product comprising a computer program which, when executed by a processor, implements the steps of the method of any of the embodiments described above.
The vehicle component fault analysis method, the vehicle component fault analysis device, the computer equipment, the storage medium and the computer program product acquire a current fault code and current vehicle state data corresponding to the current fault of the vehicle component; setting a first state bit of the current fault and a second state bit of the corresponding historical fault as fault state bits; based on the fault state bit, acquiring a historical fault code and historical vehicle state data from a vehicle memory, wherein the historical fault code and the historical vehicle state data are corresponding fault codes and vehicle state data of a target historical fault, and the target historical fault is a first occurrence of the vehicle or a first occurrence of the historical fault after a fault clearing instruction is executed last time; the current fault is analyzed based on the fault status bit, the current fault code, the current vehicle status data, the historical status code, and the historical vehicle status data. According to the method provided by the application, for the faults of the same type, only the fault code and the vehicle state data of the first occurrence of the vehicle or the first occurrence after the fault clearing instruction is executed last time are stored into the vehicle memory, so that the faults can be analyzed according to the stored data, and storage resources can be saved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the related art, the drawings that are required to be used in the embodiments or the related technical descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to the drawings without inventive effort for a person having ordinary skill in the art.
FIG. 1 is an application environment diagram of a vehicle component failure analysis method in one embodiment;
FIG. 2 is a flow diagram of a method of vehicle component failure analysis in one embodiment;
FIG. 3 is a flow chart of an initial status bit setting method in one embodiment;
FIG. 4 is a flow chart of a method of processing vehicle data in another embodiment;
FIG. 5 is a diagram of the change in status bits corresponding to a current fault and a historical fault in another embodiment;
FIG. 6 is a block diagram of a vehicle component failure analysis apparatus in one embodiment;
fig. 7 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The vehicle component fault analysis method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. The vehicle sensor 102, the vehicle end controller 104, and the vehicle memory 106 are included in fig. 1. The vehicle-side controller 104 receives current fault information and current vehicle state data corresponding to the current fault transmitted from the vehicle sensor 102, and generates a corresponding fault code based on the current fault information. The on-board controller 104 retrieves the historical fault codes and historical vehicle status data from the vehicle memory 106. The vehicle sensor 102 may be a camera, a lidar, or the like. The head end controller 104 may include a plurality of ECUs (Electronic Control Unit, electronic control units), each for controlling one system on the vehicle, for example, an engine control unit for controlling operation of the engine and a suspension control unit for controlling movement of the suspension system. The vehicle memory 106 may include a plurality of memory regions.
In an exemplary embodiment, as shown in fig. 2, a vehicle component fault analysis method is provided, and an example of application of the method to the vehicle end controller in fig. 1 is described, including the following steps 202 to 208. Wherein:
s202, acquiring a current fault code and current vehicle state data corresponding to the current fault of the vehicle component.
The fault code is a group of numerical or letter codes generated by the electronic control unit for monitoring and diagnosing various sensors, actuators and other parts of the vehicle according to specific algorithms and rules, and is used for representing corresponding fault information when faults occur.
S204, setting the first state bit of the current fault and the second state bit of the corresponding historical fault as fault state bits.
Where a status bit refers to a specific flag in the vehicle electronic control system that is used to record or indicate a fault condition, the fault status bit may be indicative of a fault in the corresponding vehicle component, for example, the fault status bit may be represented by state 09.
S206, based on the fault state bit, acquiring a historical fault code and historical vehicle state data from a vehicle memory, wherein the historical fault code and the historical vehicle state data are corresponding fault codes and vehicle state data of a target historical fault, and the target historical fault is the first occurrence of the vehicle or the first occurrence of the historical fault after the last execution of the fault clearing instruction.
In order to save the storage resources of the vehicle memory, only the corresponding data of the vehicle when the fault occurs for the first time or the corresponding data of the vehicle when the fault occurs for the first time after the fault clearing instruction is executed last time are stored in the vehicle controller.
S208, analyzing the current fault based on the fault status bit, the current fault code, the current vehicle status data, the historical status code and the historical vehicle status data.
Based on the fault status bit and the corresponding fault code, fault information such as fault type, specific description of the fault, fault position, fault occurrence time period, fault level and the like of the corresponding fault can be determined.
In the vehicle component fault analysis method, a current fault code and current vehicle state data corresponding to a current fault of a vehicle component are acquired; setting a first state bit of the current fault and a second state bit of the corresponding historical fault as fault state bits; based on the fault state bit, acquiring a historical fault code and historical vehicle state data from a vehicle memory, wherein the historical fault code and the historical vehicle state data are corresponding fault codes and vehicle state data of a target historical fault, and the target historical fault is a first occurrence of the vehicle or a first occurrence of the historical fault after a fault clearing instruction is executed last time; the current fault is analyzed based on the fault status bit, the current fault code, the current vehicle status data, the historical status code, and the historical vehicle status data. According to the method provided by the application, for the faults of the same type, only the fault code and the vehicle state data of the first occurrence of the vehicle or the first occurrence after the fault clearing instruction is executed last time are stored into the vehicle memory, so that the faults can be analyzed according to the stored data, and storage resources can be saved.
In some embodiments, the above method further comprises: in the case of a current fault recovery, the first state bit is set to an initial state bit, the second state bit is maintained to a fault state bit, and the initial state bit is used to characterize that the corresponding fault has recovered.
The current fault recovery may be fault disappearance after repair, or may be fault automatic disappearance, which is not specifically limited in the embodiment of the present application.
In this embodiment, under the condition of current fault recovery, the first status bit is set to the initial status bit, so that the first status bit can more accurately represent the status of the corresponding vehicle component, and thus the analysis result of the fault is more accurate.
In some embodiments, after the current failure recovery, further comprising: if the corresponding fault occurs again, determining the new fault as the current fault, determining the corresponding state bit of the new fault as the first state bit, executing the step of setting the first state bit of the current fault and the second state bit of the corresponding historical fault as the fault state bits, and continuing to execute until a fault clearing instruction sent by the diagnosis equipment is received.
The fault clearing instruction is used for instructing the vehicle-end controller to clear corresponding fault data stored in the temporary storage area of the vehicle memory.
Before the fault clearing instruction is received, the first state bit corresponding to the current fault is correspondingly adjusted each time when the fault occurs and after the fault is recovered, and the second state bit of the historical fault always maintains the fault state bit.
In this embodiment, before the fault clearing instruction is received, the first status bit corresponding to the current fault is correspondingly adjusted each time when the fault occurs and after the fault is recovered, so that the first status bit characterizes the fault state of the corresponding vehicle component more accurately.
In some embodiments, the historical fault code and the historical vehicle state data are each stored in a temporary storage area and a nonvolatile memory area of the vehicle memory, respectively.
Wherein data stored in the nonvolatile memory area is not cleared during execution of the fault clearing instruction.
In this embodiment, by storing the historical fault code and the historical vehicle state data in the temporary storage area and the nonvolatile memory area at the same time, it is possible to ensure the need for fault analysis and to ensure that the fault is not cleared during execution of the fault clearing instruction.
In some embodiments, as shown in fig. 3, after analyzing the current fault, further comprising:
s302, receiving a fault clearing instruction sent by the diagnosis equipment.
S304, deleting the data in the temporary storage area based on the fault clearing instruction, and setting the first state bit and the second state bit as initial state bits.
Wherein the diagnostic device is a tool or device for detecting, identifying and resolving a device or system fault.
In this embodiment, the first state bit and the second state bit are set to the initial state bit while deleting the data in the temporary storage area, so that the first state bit and the second state bit can more accurately represent the states of the corresponding vehicle components.
In some embodiments, the above method further comprises: if the corresponding fault occurs again after the fault clearing instruction is executed, deleting the data in the nonvolatile memory area, storing the new fault code and the vehicle state data corresponding to the fault in the temporary memory area and the nonvolatile memory area respectively, and setting the new fault state bit as the fault state bit.
When the fault clearing instruction is executed, the staff performs processing on the corresponding fault according to the fault data stored in the vehicle memory, after which the same type of fault occurs again, which indicates that the previously stored fault data is not reusable, so that the data in the nonvolatile memory area are deleted and new fault data are stored.
In this embodiment, after the fault clearing instruction is executed, the data in the nonvolatile memory area is deleted, and the fault code and the vehicle state data corresponding to the new fault are respectively stored in the temporary memory area and the nonvolatile memory area, so that the new fault is analyzed based on the new data stored in the temporary memory area and the nonvolatile memory area, and the analysis result is more accurate.
In one embodiment, as shown in fig. 4 and 5, another vehicle component fault analysis method is provided, where fig. 4 is a schematic flow chart of a vehicle data processing method in the method, and fig. 5 is a change chart of status bits corresponding to a current fault and a historical fault in the method.
The temporary storage area and the nonvolatile memory backup area in fig. 4 store only data corresponding to a fault that has occurred for the first time in the vehicle or that has occurred for the first time after the last execution of the fault clearing instruction. Specifically, the vehicle-end controller acquires fault information and snapshot information sent by the vehicle sensor, and generates a fault code based on the fault information, wherein the snapshot information can comprise a vehicle speed, a mileage, a voltage, a calibration state, other controller signal states, a controller working mode and the like when the fault occurs. The vehicle-end controller stores the fault code and the snapshot information into the temporary storage area, and stores the fault code and the snapshot information into the nonvolatile memory backup area. After the fault clearing instruction is received, only the data in the temporary storage area is deleted, and the data in the nonvolatile memory backup area is not deleted, so that after the fault clearing instruction is executed, the data in the nonvolatile memory backup area can be used for analyzing the vehicle fault.
The process in fig. 5 is as follows:
(1) When a fault occurs, both the current fault and the historical fault are set, wherein setting refers to setting the corresponding status bit to the fault status bit. At this time, the current fault code (DTC) corresponding to the current fault is generated, and snapshot information can be read from the temporary storage area and the nonvolatile memory backup area through the 19 service and the 22 service, where the 19 service and the 22 service are both two service types in the UDS protocol.
(2) If the current fault is recovered, the state bit of the current fault is reset, and the state bit of the historical fault is still kept in a set state, wherein the reset refers to setting the corresponding state bit as an initial state bit without fault. At this time, the current fault code corresponding to the current fault is recovered (DTC recovery).
(3) When the fault occurs again, a new current fault is set. And after the fault is recovered again, resetting the state bit of the current fault again, and keeping the state bit of the historical fault in a set state.
(4) And after receiving the fault clearing instruction, resetting the current fault and the historical fault, and deleting the snapshot information and the fault code in the temporary storage area.
(5) And if the corresponding fault occurs again after the fault clearing instruction is executed, deleting the data in the nonvolatile memory backup area.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a vehicle component fault analysis device for implementing the vehicle component fault analysis method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of the device for analyzing a failure of a vehicle component provided below may be referred to the limitation of the method for analyzing a failure of a vehicle component hereinabove, and will not be repeated herein.
In one exemplary embodiment, as shown in fig. 6, there is provided a vehicle component failure analysis apparatus 600 including: a first acquisition module 601, a setting module 602, a second acquisition module 603, and a fault analysis module 604, wherein:
the first obtaining module 601 is configured to obtain a current fault code and current vehicle state data corresponding to a current fault of a vehicle component.
A setting module 602, configured to set the first status bit of the current fault and the second status bit of the corresponding historical fault to fault status bits.
The second obtaining module 603 is configured to obtain, based on the fault status bit, a historical fault code and historical vehicle status data from a vehicle memory, where the historical fault code and the historical vehicle status data are a fault code and vehicle status data corresponding to a target historical fault, and the target historical fault is a first occurrence of the vehicle or a first occurrence of the historical fault after a fault clearing instruction is executed last time.
The fault analysis module 604 is configured to analyze the current fault based on the fault status bit, the current fault code, the current vehicle status data, the historical status code, and the historical vehicle status data.
In some embodiments, the vehicle component fault analysis apparatus 600 is specifically configured to set the first status bit to an initial status bit, and to maintain the second status bit to the fault status bit, where the initial status bit is used to indicate that the corresponding fault has recovered, in the event of the current fault recovery.
In some embodiments, the vehicle component fault analysis apparatus 600 is further configured to determine a new fault as a current fault, determine a corresponding status bit of the new fault as a first status bit, perform the step of setting both the first status bit of the current fault and the second status bit of the corresponding historical fault as fault status bits, and continue to perform until a fault clearing instruction sent by the diagnostic device is received.
In some embodiments, the vehicle component failure analysis apparatus 600 is further configured to store a historical failure code and the historical vehicle state data in a temporary storage area and a nonvolatile memory area, respectively, of the vehicle memory.
In some embodiments, the vehicle component fault analysis apparatus 600 is further configured to receive a fault clearing instruction sent by the diagnostic device; and deleting the data in the temporary storage area based on the fault clearing instruction, and setting the first state bit and the second state bit as initial state bits.
In some embodiments, the vehicle component fault analysis apparatus 600 is further configured to delete data in the nonvolatile memory area if a corresponding fault occurs again after the fault clearing instruction is executed, and store a new fault corresponding fault code and vehicle status data in the temporary memory area and the nonvolatile memory area, respectively, while setting the new fault status bit as a fault status bit.
The respective modules in the above-described vehicle component failure analysis apparatus may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one exemplary embodiment, a computer device is provided, which may be a terminal, and an internal structure diagram thereof may be as shown in fig. 7. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a vehicle component failure analysis method.
It will be appreciated by those skilled in the art that the structure shown in fig. 7 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one exemplary embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of: acquiring a current fault code and current vehicle state data corresponding to the current fault of the vehicle component; setting the first state bit of the current fault and the second state bit of the corresponding historical fault as fault state bits; based on the fault state bit, acquiring a historical fault code and historical vehicle state data from a vehicle memory, wherein the historical fault code and the historical vehicle state data are corresponding fault codes and vehicle state data of a target historical fault, and the target historical fault is a first occurrence of the vehicle or a first occurrence of the historical fault after a fault clearing instruction is executed last time; the current fault is analyzed based on the fault status bit, the current fault code, the current vehicle status data, the historical status code, and the historical vehicle status data.
In one embodiment, the method implemented when the processor executes the computer program further comprises: in the case of the current fault recovery, the first state bit is set to an initial state bit, and the second state bit is maintained to the fault state bit, the initial state bit being used to characterize that the corresponding fault has recovered.
In one embodiment, after the current fault recovery implemented when the processor executes the computer program, further comprising: if the corresponding fault occurs again, determining the new fault as the current fault, determining the corresponding state bit of the new fault as the first state bit, executing the step of setting the first state bit of the current fault and the second state bit of the corresponding historical fault as the fault state bits, and continuing to execute until a fault clearing instruction sent by the diagnosis equipment is received.
In one embodiment, the historical fault code and the historical vehicle state data implemented when the processor executed the computer program are stored in a temporary storage area and a nonvolatile memory area, respectively, of the vehicle memory.
In one embodiment, after analyzing the current fault implemented when the processor executes the computer program, the method further includes: receiving a fault clearing instruction sent by diagnostic equipment; and deleting the data in the temporary storage area based on the fault clearing instruction, and setting the first state bit and the second state bit as initial state bits.
In one embodiment, the method implemented when the processor executes the computer program further comprises: and if the corresponding fault occurs again after the fault clearing instruction is executed, deleting the data in the nonvolatile memory area, storing new fault codes corresponding to the fault and vehicle state data in the temporary memory area and the nonvolatile memory area respectively, and setting the new fault state bit as a fault state bit.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring a current fault code and current vehicle state data corresponding to the current fault of the vehicle component; setting the first state bit of the current fault and the second state bit of the corresponding historical fault as fault state bits; based on the fault state bit, acquiring a historical fault code and historical vehicle state data from a vehicle memory, wherein the historical fault code and the historical vehicle state data are corresponding fault codes and vehicle state data of a target historical fault, and the target historical fault is a first occurrence of the vehicle or a first occurrence of the historical fault after a fault clearing instruction is executed last time; the current fault is analyzed based on the fault status bit, the current fault code, the current vehicle status data, the historical status code, and the historical vehicle status data.
In one embodiment, the method implemented by the computer program when executed by the processor further comprises: in the case of the current fault recovery, the first state bit is set to an initial state bit, and the second state bit is maintained to the fault state bit, the initial state bit being used to characterize that the corresponding fault has recovered.
In one embodiment, after the current fault recovery implemented when the computer program is executed by the processor, further comprises: if the corresponding fault occurs again, determining the new fault as the current fault, determining the corresponding state bit of the new fault as the first state bit, executing the step of setting the first state bit of the current fault and the second state bit of the corresponding historical fault as the fault state bits, and continuing to execute until a fault clearing instruction sent by the diagnosis equipment is received.
In one embodiment, the historical fault code and the historical vehicle state data implemented when the computer program is executed by the processor are stored in a temporary storage area and a nonvolatile memory area, respectively, of the vehicle memory.
In one embodiment, after analyzing the current fault, which is implemented when the computer program is executed by the processor, the method further comprises: receiving a fault clearing instruction sent by diagnostic equipment; and deleting the data in the temporary storage area based on the fault clearing instruction, and setting the first state bit and the second state bit as initial state bits.
In one embodiment, the method implemented by the computer program when executed by the processor further comprises: and if the corresponding fault occurs again after the fault clearing instruction is executed, deleting the data in the nonvolatile memory area, storing new fault codes corresponding to the fault and vehicle state data in the temporary memory area and the nonvolatile memory area respectively, and setting the new fault state bit as a fault state bit.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of: acquiring a current fault code and current vehicle state data corresponding to the current fault of the vehicle component; setting the first state bit of the current fault and the second state bit of the corresponding historical fault as fault state bits; based on the fault state bit, acquiring a historical fault code and historical vehicle state data from a vehicle memory, wherein the historical fault code and the historical vehicle state data are corresponding fault codes and vehicle state data of a target historical fault, and the target historical fault is a first occurrence of the vehicle or a first occurrence of the historical fault after a fault clearing instruction is executed last time; the current fault is analyzed based on the fault status bit, the current fault code, the current vehicle status data, the historical status code, and the historical vehicle status data.
In one embodiment, the method implemented by the computer program when executed by the processor further comprises: in the case of the current fault recovery, the first state bit is set to an initial state bit, and the second state bit is maintained to the fault state bit, the initial state bit being used to characterize that the corresponding fault has recovered.
In one embodiment, after the current fault recovery implemented when the computer program is executed by the processor, further comprises: if the corresponding fault occurs again, determining the new fault as the current fault, determining the corresponding state bit of the new fault as the first state bit, executing the step of setting the first state bit of the current fault and the second state bit of the corresponding historical fault as the fault state bits, and continuing to execute until a fault clearing instruction sent by the diagnosis equipment is received.
In one embodiment, the historical fault code and the historical vehicle state data implemented when the computer program is executed by the processor are stored in a temporary storage area and a nonvolatile memory area, respectively, of the vehicle memory.
In one embodiment, after analyzing the current fault, which is implemented when the computer program is executed by the processor, the method further comprises: receiving a fault clearing instruction sent by diagnostic equipment; and deleting the data in the temporary storage area based on the fault clearing instruction, and setting the first state bit and the second state bit as initial state bits.
In one embodiment, the method implemented by the computer program when executed by the processor further comprises: and if the corresponding fault occurs again after the fault clearing instruction is executed, deleting the data in the nonvolatile memory area, storing new fault codes corresponding to the fault and vehicle state data in the temporary memory area and the nonvolatile memory area respectively, and setting the new fault state bit as a fault state bit.
It should be noted that, the user information (including, but not limited to, user equipment information, user personal information, etc.) and the data (including, but not limited to, data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use, and processing of the related data are required to meet the related regulations.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (10)

1. A method of vehicle component failure analysis, the method comprising:
acquiring a current fault code and current vehicle state data corresponding to the current fault of the vehicle component;
setting the first state bit of the current fault and the second state bit of the corresponding historical fault as fault state bits;
based on the fault state bit, acquiring a historical fault code and historical vehicle state data from a vehicle memory, wherein the historical fault code and the historical vehicle state data are corresponding fault codes and vehicle state data of a target historical fault, and the target historical fault is a first occurrence of the vehicle or a first occurrence of the historical fault after a fault clearing instruction is executed last time;
the current fault is analyzed based on the fault status bit, the current fault code, the current vehicle status data, the historical status code, and the historical vehicle status data.
2. The method according to claim 1, wherein the method further comprises:
in the case of the current fault recovery, the first state bit is set to an initial state bit, and the second state bit is maintained to the fault state bit, the initial state bit being used to characterize that the corresponding fault has recovered.
3. The method of claim 2, further comprising, after the current failure recovery:
if the corresponding fault occurs again, determining the new fault as the current fault, determining the corresponding state bit of the new fault as the first state bit, executing the step of setting the first state bit of the current fault and the second state bit of the corresponding historical fault as the fault state bits, and continuing to execute until a fault clearing instruction sent by the diagnosis equipment is received.
4. The method of claim 1, wherein the historical fault code and the historical vehicle state data are stored in a temporary storage area and a nonvolatile memory area, respectively, of the vehicle memory.
5. The method of claim 4, wherein after analyzing the current fault, further comprising:
receiving a fault clearing instruction sent by diagnostic equipment;
and deleting the data in the temporary storage area based on the fault clearing instruction, and setting the first state bit and the second state bit as initial state bits.
6. The method according to claim 4, wherein the method further comprises:
and if the corresponding fault occurs again after the fault clearing instruction is executed, deleting the data in the nonvolatile memory area, storing new fault codes corresponding to the fault and vehicle state data in the temporary memory area and the nonvolatile memory area respectively, and setting the new fault state bit as a fault state bit.
7. A vehicle component failure analysis apparatus, characterized in that the apparatus comprises:
the first acquisition module is used for acquiring a current fault code and current vehicle state data corresponding to the current fault of the vehicle component;
the setting module is used for setting the first state bit of the current fault and the second state bit of the corresponding historical fault as fault state bits;
the second acquisition module is used for acquiring a historical fault code and historical vehicle state data from a vehicle memory based on the fault state bit, wherein the historical fault code and the historical vehicle state data are fault codes and vehicle state data corresponding to a target historical fault, and the target historical fault is a first occurrence of the vehicle or a first occurrence of the historical fault after a fault clearing instruction is executed last time;
and the fault analysis module is used for analyzing the current fault based on the fault state bit, the current fault code, the current vehicle state data, the historical state code and the historical vehicle state data.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
CN202410061287.2A 2024-01-16 2024-01-16 Vehicle component fault analysis method, device, equipment, medium and product Pending CN117572852A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410061287.2A CN117572852A (en) 2024-01-16 2024-01-16 Vehicle component fault analysis method, device, equipment, medium and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410061287.2A CN117572852A (en) 2024-01-16 2024-01-16 Vehicle component fault analysis method, device, equipment, medium and product

Publications (1)

Publication Number Publication Date
CN117572852A true CN117572852A (en) 2024-02-20

Family

ID=89895906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410061287.2A Pending CN117572852A (en) 2024-01-16 2024-01-16 Vehicle component fault analysis method, device, equipment, medium and product

Country Status (1)

Country Link
CN (1) CN117572852A (en)

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09112318A (en) * 1995-10-13 1997-04-28 Nissan Motor Co Ltd Controller for diesel engine
US20080221751A1 (en) * 2004-08-31 2008-09-11 Daimlerchrysler Ag Checking of Repairs for Electronic Vehicle Systems
CN101271499A (en) * 2007-03-22 2008-09-24 株式会社电装 Memory readout system for vehicle control device
CN102830690A (en) * 2012-05-04 2012-12-19 王蓉 Data processing system of automobile fault data
CN103425122A (en) * 2013-08-13 2013-12-04 重庆长安汽车股份有限公司 Fault management method for new energy vehicle controller
DE102016201674A1 (en) * 2015-02-09 2016-08-11 Denso Corporation Vehicle diagnostic device and system
DE102017108211A1 (en) * 2017-04-18 2018-10-18 Schaeffler Technologies AG & Co. KG Method for reading out an error memory history from an error memory of a control unit of a motor vehicle
CN113077563A (en) * 2021-03-24 2021-07-06 合肥阳光电动力科技有限公司 Fault information processing method and device
CN113534772A (en) * 2021-06-25 2021-10-22 深圳市元征未来汽车技术有限公司 Fault code clearing method, electronic device and storage medium
CN113762341A (en) * 2021-08-06 2021-12-07 中国重汽集团济南动力有限公司 Vehicle fault priority calculation method and system
CN114137932A (en) * 2021-11-11 2022-03-04 上汽通用五菱汽车股份有限公司 Vehicle diagnosis method, vehicle control unit, vehicle and readable storage medium
CN114610570A (en) * 2022-03-07 2022-06-10 潍柴动力股份有限公司 Fault storage method and device
CN115113602A (en) * 2022-05-25 2022-09-27 中国第一汽车股份有限公司 Method for automatically deleting permanent fault information and non-permanent fault information according to fault code category
CN115407746A (en) * 2022-07-18 2022-11-29 中国第一汽车股份有限公司 Fault information processing method and device for vehicle, storage medium and processor
CN115952022A (en) * 2022-12-27 2023-04-11 惠州市德赛西威汽车电子股份有限公司 Control method, system, equipment and medium for automatic storage of fault information
WO2023071961A1 (en) * 2021-10-26 2023-05-04 中国第一汽车股份有限公司 Fault code storage method and apparatus, and device and storage medium
CN116486510A (en) * 2023-04-04 2023-07-25 一汽解放青岛汽车有限公司 Fault information processing method, device, computer equipment and storage medium
CN116723206A (en) * 2023-06-27 2023-09-08 中国第一汽车股份有限公司 Vehicle fault information processing method and device, electronic equipment and storage medium
CN116755628A (en) * 2023-06-26 2023-09-15 中国第一汽车股份有限公司 Fault data storage method and device, nonvolatile storage medium and vehicle
CN117033421A (en) * 2023-08-14 2023-11-10 一汽解放汽车有限公司 Vehicle fault analysis method, device, equipment, medium and product

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09112318A (en) * 1995-10-13 1997-04-28 Nissan Motor Co Ltd Controller for diesel engine
US20080221751A1 (en) * 2004-08-31 2008-09-11 Daimlerchrysler Ag Checking of Repairs for Electronic Vehicle Systems
CN101271499A (en) * 2007-03-22 2008-09-24 株式会社电装 Memory readout system for vehicle control device
CN102830690A (en) * 2012-05-04 2012-12-19 王蓉 Data processing system of automobile fault data
CN103425122A (en) * 2013-08-13 2013-12-04 重庆长安汽车股份有限公司 Fault management method for new energy vehicle controller
DE102016201674A1 (en) * 2015-02-09 2016-08-11 Denso Corporation Vehicle diagnostic device and system
DE102017108211A1 (en) * 2017-04-18 2018-10-18 Schaeffler Technologies AG & Co. KG Method for reading out an error memory history from an error memory of a control unit of a motor vehicle
CN113077563A (en) * 2021-03-24 2021-07-06 合肥阳光电动力科技有限公司 Fault information processing method and device
CN113534772A (en) * 2021-06-25 2021-10-22 深圳市元征未来汽车技术有限公司 Fault code clearing method, electronic device and storage medium
CN113762341A (en) * 2021-08-06 2021-12-07 中国重汽集团济南动力有限公司 Vehicle fault priority calculation method and system
WO2023071961A1 (en) * 2021-10-26 2023-05-04 中国第一汽车股份有限公司 Fault code storage method and apparatus, and device and storage medium
CN114137932A (en) * 2021-11-11 2022-03-04 上汽通用五菱汽车股份有限公司 Vehicle diagnosis method, vehicle control unit, vehicle and readable storage medium
CN114610570A (en) * 2022-03-07 2022-06-10 潍柴动力股份有限公司 Fault storage method and device
CN115113602A (en) * 2022-05-25 2022-09-27 中国第一汽车股份有限公司 Method for automatically deleting permanent fault information and non-permanent fault information according to fault code category
CN115407746A (en) * 2022-07-18 2022-11-29 中国第一汽车股份有限公司 Fault information processing method and device for vehicle, storage medium and processor
CN115952022A (en) * 2022-12-27 2023-04-11 惠州市德赛西威汽车电子股份有限公司 Control method, system, equipment and medium for automatic storage of fault information
CN116486510A (en) * 2023-04-04 2023-07-25 一汽解放青岛汽车有限公司 Fault information processing method, device, computer equipment and storage medium
CN116755628A (en) * 2023-06-26 2023-09-15 中国第一汽车股份有限公司 Fault data storage method and device, nonvolatile storage medium and vehicle
CN116723206A (en) * 2023-06-27 2023-09-08 中国第一汽车股份有限公司 Vehicle fault information processing method and device, electronic equipment and storage medium
CN117033421A (en) * 2023-08-14 2023-11-10 一汽解放汽车有限公司 Vehicle fault analysis method, device, equipment, medium and product

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
刘成;: "通用公司Tech 2故障诊断仪的使用操作", 汽车维修, no. 07, 1 July 2008 (2008-07-01) *
张翔: "深入理解故障代码 准确排除电控故障", 汽车维修与保养, no. 12, 31 December 2021 (2021-12-31) *
张耀宗;方虹丽;: "汽车故障自诊断系统的基本原理及发展趋势", 汽车维修, no. 02, 1 February 2008 (2008-02-01) *
王洪波;范小伟;: "汽车排放污染治理利器车载诊断OBD系统(四)", 汽车维修技师, no. 06, 1 June 2020 (2020-06-01) *
裴晓飞;刘昭度;齐志权;叶阳;: "基于车载平台的ABS/ASR故障诊断系统开发", 汽车技术, no. 05, 24 May 2011 (2011-05-24) *

Similar Documents

Publication Publication Date Title
CN110866682B (en) Underground cable early warning method and device based on historical data
CN114461445A (en) Data recovery method and device, electronic equipment and computer readable storage medium
CN117572852A (en) Vehicle component fault analysis method, device, equipment, medium and product
CN117033421A (en) Vehicle fault analysis method, device, equipment, medium and product
CN115757398A (en) Data storage method and device, computer equipment and storage medium
CN115980585A (en) Battery fault detection method and device, computer equipment and storage medium
CN114913627A (en) Fault data storage method and device, vehicle and computer readable storage medium
CN112416896A (en) Data abnormity warning method and device, storage medium and electronic device
CN117196318B (en) Risk analysis method and device for large-scale engineering vehicle and computer equipment
CN110987448A (en) Engine air inlet state monitoring method, device and equipment
CN115442209B (en) Fault detection method and device, electronic equipment and storage medium
CN113467984B (en) Method, device, computer equipment and storage medium for diagnosing faults of aircraft system
CN109377588B (en) System and method for testing system time sequence of automatic driving vehicle and vehicle
CN116228045B (en) Product reliability weak link assessment method and device based on performance degradation
CN116893941A (en) spark task analysis method, device, equipment, medium and product
CN115392329A (en) Training method of business dimension prediction model and related device
CN117557951A (en) Power grid abnormal event monitoring method, device, computer equipment and storage medium
CN114330006A (en) Multi-fault diagnosis method and system capable of inhibiting false alarm and computer equipment
CN117854178A (en) Method, device, computer equipment and storage medium for inputting detection information
CN116308270A (en) Data fault processing method, device, equipment, medium and product
CN115617621A (en) Alarm method, alarm system and storage medium
CN115310286A (en) Device life prediction method, device, computer equipment and storage medium
CN117149635A (en) Checking batch processing cluster test method and device, computer equipment and storage medium
CN117762677A (en) Abnormality analysis method, abnormality analysis device, computer device, and storage medium
CN116541783A (en) Tire data labeling method and device, computer equipment and storage 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