CN117935398A - Fault information processing method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN117935398A
CN117935398A CN202311738716.7A CN202311738716A CN117935398A CN 117935398 A CN117935398 A CN 117935398A CN 202311738716 A CN202311738716 A CN 202311738716A CN 117935398 A CN117935398 A CN 117935398A
Authority
CN
China
Prior art keywords
fault
signal
time
information
determining
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
CN202311738716.7A
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 CN202311738716.7A priority Critical patent/CN117935398A/en
Publication of CN117935398A publication Critical patent/CN117935398A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a fault information processing method, a fault information processing device, electronic equipment and a storage medium. Wherein the method comprises the following steps: determining a first fault record signal corresponding to the fault information under the condition that the fault information corresponding to the vehicle is received; determining a first time signal corresponding to the fault information based on the first fault record signal, and correspondingly storing the first fault record signal and the first time signal to the target controller; under the condition that the fault information meets the preset signal sending condition, determining a target fault sending signal based on the first time signal and the first fault recording signal, and sending the target fault sending signal to a cloud server corresponding to the vehicle. According to the technical scheme, the effect of storing and recording the fault time information on the premise that the storage space of the vehicle controller is not occupied is achieved, the storage space of the vehicle controller is saved, the fault time information is uploaded to the cloud server, and data support is provided for vehicle fault analysis.

Description

Fault information processing method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of vehicle technologies, and in particular, to a fault information processing method, a fault information processing device, an electronic device, and a storage medium.
Background
In the related art, a fault information storage unit is generally divided in advance in a Non-Volatile Memory (NVM) storage area of a vehicle controller, so as to record and store a fault code when a vehicle breaks down, and further, the fault code is read from the vehicle by equipment in a repair shop to determine fault information.
The inventors found that when implementing the present technical solution based on the above-described mode, the following problems exist:
The storage process of the vehicle fault information needs to occupy the storage space of the vehicle machine controller NVM, so that the space utilization rate of the storage space of the NVM is reduced; in addition, when the fault is stored, the time information related to the fault is not stored, so that multiple faults occur in the vehicle running history, and when the fault is not checked in time in a repair shop, the vehicle fault information and the time cannot be positioned, and difficulty is brought to the vehicle fault check.
Disclosure of Invention
The invention provides a fault information processing method, a device, electronic equipment and a storage medium, which are used for realizing the effect of storing and recording fault time information on the premise of not occupying the storage space of a vehicle controller.
According to an aspect of the present invention, there is provided a fault information processing method including:
Determining a first fault record signal corresponding to fault information when the fault information corresponding to a vehicle is received;
determining a first time signal corresponding to the fault information based on the first fault record signal, and correspondingly storing the first fault record signal and the first time signal to a target controller;
And under the condition that the fault information meets the preset signal sending condition, determining a target fault sending signal based on the first time signal and the first fault recording signal, and sending the target fault sending signal to a cloud server corresponding to the vehicle.
According to another aspect of the present invention, there is provided a fault information processing apparatus including:
The fault record signal determining module is used for determining a first fault record signal corresponding to the fault information under the condition that the fault information corresponding to the vehicle is received;
The time signal determining module is used for determining a first time signal corresponding to the fault information based on the first fault record signal and storing the first fault record signal and the first time signal to a target controller correspondingly;
and the signal sending module is used for determining a target fault sending signal based on the first time signal and the first fault record signal and sending the target fault sending signal to a cloud server corresponding to the vehicle under the condition that the fault information meets the preset signal sending condition.
According to another aspect of the present invention, there is provided an electronic apparatus including:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the fault information processing method according to any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute the fault information processing method according to any one of the embodiments of the present invention.
According to the technical scheme, under the condition that the fault information corresponding to the vehicle is received, the first fault record signal corresponding to the fault information is determined, further, based on the first fault record signal, the first time signal corresponding to the fault information is determined, the first fault record signal and the first time signal are correspondingly stored in the target controller, then, under the condition that the fault information is determined to meet the preset signal sending condition, the target fault sending signal is determined based on the first time signal and the first fault record signal, and the target fault sending signal is sent to the cloud server corresponding to the vehicle, the problem that in the prior art, when the fault is stored, the fault related time information is not stored, so that multiple faults occur in the vehicle running history, and when the fault is not timely detected by a repair factory, the fault information and time of the vehicle cannot be positioned, and difficulty is brought to the fault detection of the vehicle is solved, the effect that the fault time information is stored and recorded on the premise that the storage space of the vehicle controller is not occupied is saved, and the fault time information is uploaded to the vehicle server to the fault support data analysis and the fault support data are provided.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a fault information processing method according to a first embodiment of the present invention;
Fig. 2 is a schematic structural diagram of a fault information processing device according to a second embodiment of the present invention;
Fig. 3 is a schematic structural diagram of an electronic device implementing a fault information processing method according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a fault information processing method according to a first embodiment of the present invention, which is applicable to a case where fault information of a vehicle is detected and fault-related time information is recorded, and the method may be performed by a fault information processing apparatus, which may be implemented in the form of hardware and/or software, and which may be configured in a terminal and/or a server. As shown in fig. 1, the method includes:
s110, when fault information corresponding to the vehicle is received, determining a first fault record signal corresponding to the fault information.
It should be noted that the technical solution provided by the embodiment of the present invention may be applied to any scenario of vehicle fault information processing. For example, in the event of a failure of the vehicle being detected, the onboard electronic control unit (Electronic Control Unit, ECU) diagnoses the failure. Further, after determining the fault, fault-related time information is recorded, including but not limited to, fault occurrence time, fault recovery time, fault duration, and corresponding time intervals when multiple faults occur. The recorded time of failure information may then be transmitted to a vehicle networking system (TELEMATICS BOX, T-BOX) over the entire vehicle network. And then, the T-BOX sends the received fault time information to the cloud server and stores the fault time information on the cloud server. Therefore, when the requirement of fault investigation or data analysis is received, the data stored on the cloud server can be downloaded and analyzed for vehicle fault analysis.
The fault information may be information indicating a specific condition of a fault occurring in the vehicle. One or more types of faults may be included in the fault information. The fault information may include any type of fault, and may optionally include electrical faults, system faults, network faults, and the like. The first fault recording signal may be understood as a signal for recording fault information. In this embodiment, the first fault record signal may be a signal obtained by setting a predefined fault record signal based on the received fault information.
In practical application, after the vehicle is powered on, all predefined fault signals in the vehicle controller may be initialized, so that the signal value of the relevant fault signal is a default signal value. Furthermore, fault detection is performed on the vehicle, and when fault information corresponding to the vehicle is received, a corresponding fault record signal can be assigned based on the received fault information. Further, a first failure record signal corresponding to the failure information can be obtained. The default signal value may be any signal value, and optionally, may be 0.
Optionally, determining the first fault record signal corresponding to the fault information includes: determining a fault number corresponding to the fault information based on a pre-stored fault number mapping table; and assigning a value to the first preset fault record signal based on the fault number to obtain a first fault record signal corresponding to the fault information.
The fault number mapping table may be a mapping table constructed in advance and used for representing a correspondence between faults received by the vehicle and fault numbers. In this embodiment, the faults that the ECU needs to record may be collected in advance, and the collected faults may be ranked and numbered based on a preset ranking criterion, and then each fault and the fault number corresponding to each fault may be obtained. Further, a failure number map may be constructed based on the failure number corresponding to each failure numbered and stored in the ECU. The preset ranking criterion may be any ranking criterion. Alternatively, the preset ordering criteria may be ordered sequentially based on the failure collection time stamps. It should be noted that, after the fault number mapping table is constructed based on the fault number corresponding to each numbered fault, some gaps may be added in the constructed fault number mapping table, so that when a newly defined fault requiring recording occurs, the faults are ordered and numbered, and updated into the fault number mapping table.
In practical application, when the vehicle-mounted ECU receives fault information corresponding to the vehicle, the received fault information may be analyzed. Further, the pre-stored fault number mapping table may be invoked to traverse the fault number mapping table based on the received fault information, so that a fault number corresponding to the fault information may be determined.
Further, a value is assigned to the predefined fault record signal based on the fault number, and a first fault record signal corresponding to the fault information is obtained.
The first preset fault record signal may be understood as a predefined fault record signal, and each bit signal value in the signal is a default signal value. The first preset fault record signal may be understood as a signal for characterizing fault information. The first preset fault record signal may be a signal of any representation. Alternatively, the first preset fault record signal may be a binary form signal. It should be noted that, the number of bits of the first preset fault record signal may be determined according to the number of fault information included in the fault number mapping table, and each bit signal value in the first preset fault record signal after the initialization processing and not assigned is a default signal value. It should be noted that, because the value recorded in the first fault record signal is fault information, when the fault is recovered, the fault state cannot be resolved only by the fault information. Therefore, a fault state signal bit can be set in the first preset fault record signal, and the state of corresponding fault information can be represented according to the signal value corresponding to the fault state signal bit. Thus, the first preset fault record signal may be a signal consisting of a fault number signal bit and a fault status signal bit.
By way of example, the fault status signal bit may be a binary signal consisting of a two-bit signal, wherein "00" characterizes no fault; "01" characterizes the failure; "10" characterizes the failure occurrence; "11" characterizes the failure recovery. If the number of numbered fault information included in the fault signal mapping table is 20 and the default signal value is 0, the fault number signal bit in the first preset fault record signal may be five bits, that is, 00000. That is, in the case where the number of pieces of fault information is 20, and the first preset fault record signal is a signal in binary form, fault information of the fault number 20 can be represented only when the number of bits of the fault number signal bits in the first preset fault record signal is five bits. In summary, the number of bits of the first preset fault record signal may be seven bits, and in the case of signal initialization, the first preset fault record signal may be 0000000.
In practical application, after determining the fault number corresponding to the fault information, the fault number may be converted into a binary form, to obtain a binary number. Thereafter, the first preset fault record signal may be assigned based on the binary number, i.e. the signal value of the first preset fault record signal is updated to the binary number. Further, the updated first preset fault record signal may be used as the first fault record signal corresponding to the fault information. For example, if the received fault information corresponds to a fault number of 16, the first fault record signal corresponding to the fault information is 1000001. Where "10000" indicates a failure number and "01" indicates the occurrence of a failure.
Optionally, determining the first fault record signal corresponding to the fault information includes: determining a fault number corresponding to the fault information based on a pre-stored fault number mapping table; and determining a calibration parameter value corresponding to the fault number, and assigning a value to the second preset fault record signal based on the calibration parameter value to obtain a first fault record signal.
The calibration parameter values may be preset parameter values for characterizing fault conditions. In the practical application process, after the fault number mapping table is obtained, for each fault number included in the fault number mapping table, a calibration parameter value corresponding to the fault number can be set, and the calibration parameter value can be used for representing the fault condition, and further, a calibration parameter mapping table can be constructed and stored in the vehicle-mounted ECU based on the calibration parameter value corresponding to each fault number.
The second predetermined fault record signal may be understood as a predefined signal for characterizing fault information. The second preset fault record signal may be a signal comprising a multi-bit signal value and may also comprise signal bits indicative of a fault condition. Thus, the second preset fault record signal may be a signal consisting of a fault number signal bit and a fault status signal bit.
Wherein the number of signal bits of the fault number signal bits may match the number of fault information included in the fault number mapping table. Each of the fault number signal bits in the second preset fault record signal corresponds to a fault number.
Illustratively, a first signal value of a fault number signal bit in the second preset fault record signal corresponds to the fault number 1, a second signal value of a fault number signal bit in the second preset fault record signal corresponds to the fault number 2, a third signal value of a fault number signal bit in the second preset fault record signal corresponds to the fault number 3, and so on, a last signal value of a fault number signal bit in the second preset fault record signal corresponds to the fault number n. Under the condition of signal initialization, the signal value of each bit signal in the second preset fault record signal is a default signal value and is used for representing the fault-free condition. The default signal value may be any value, alternatively, may be 0.
In practical application, after the set signal sequence number corresponding to the determined fault number in the fault number signal is determined, the calibration parameter value corresponding to the fault number can be determined according to the prestored calibration parameter mapping table, and then, when the default signal value corresponding to the set signal sequence number in the fault number signal is updated, the determined calibration parameter value can be updated to the signal value corresponding to the corresponding set signal sequence number, so as to obtain the first fault record signal.
It should be noted that, because the value recorded in the first fault record signal is fault information, when the fault is recovered, the fault state cannot be resolved only by the fault information. Therefore, the fault status signal can be spliced in the first preset fault record signal and the second preset fault record signal,
In the case where a plurality of pieces of fault information are received, the fault number corresponding to each piece of fault information may be sequentially determined according to the order in which the pieces of fault information are received. Furthermore, the first preset fault record signals can be assigned according to the fault numbers, so that a plurality of first fault record signals can be obtained. Or after determining the fault number corresponding to each fault information, determining a set signal sequence number corresponding to the current fault number in the second preset fault record signal for each fault number. And updating a default signal value corresponding to the set signal serial number in the second preset fault record signal based on the calibration parameter value corresponding to each fault number to obtain a first fault record signal.
S120, determining a first time signal corresponding to the fault information based on the first fault record signal, and storing the first fault record signal and the first time signal to the target controller correspondingly.
The first time signal is understood to be a signal that records the time of occurrence of the fault. The first time signal may also be understood as a signal for freezing the moment of occurrence of the fault. The first time signal may be a signal based on any form of representation. Alternatively, the first time signal may be a signal expressed based on a time stamp form; or may be a signal represented based on a preset signal form, or the like.
In practical applications, after the first fault record signal corresponding to the fault information is obtained, the occurrence time of the fault information may be characterized based on the generation time of the first fault record signal. Further, the generation timing of the first failure record signal can be determined. Thus, the first time signal corresponding to the failure information can be determined from the generation timing. It should be noted that, since the signal representation of the first time signal may include at least two types, and accordingly, the determination manner of the first time signal may also include at least two types, and the two types may be described below.
First kind: determining a first time signal corresponding to the fault information based on the first fault record signal, comprising: when the generation of the first fault record signal is detected, the signal generation time is recorded, and the signal generation time is taken as a first time signal.
The signal generation time is understood to be the time represented by the default time stamp form based on the system. The signal generation time is understood to be the system time at the time of signal generation.
In practical application, when the generation of the first fault record signal is detected, the generation time of the first fault record signal can be recorded according to the system time of the vehicle-end controller, and the time is taken as the signal generation time. Further, the signal generation time may be used as a first time signal corresponding to the failure information.
Second kind: determining a first time signal corresponding to the fault information based on the first fault record signal, comprising: when the generation of the first fault record signal is detected, a signal value corresponding to a predefined time information signal is determined, and the signal value is used as a first time signal.
Wherein the time information signal may be a predefined time information recording (or storing) signal. In this embodiment, in the case of signal initialization, the signal value of each bit signal in the time information signal is a default signal value. The default signal value may be any signal value, alternatively, may be 0. It should be noted that the time information signal may be a signal for recording failure-related time information (e.g., failure occurrence time or failure recovery time), that is, in the case where a trigger condition for the time information signal is detected after the vehicle is powered on, the time information signal may start to be timed, and may start in a preset time manner.
Based on the above, the above technical means further includes: for each power-on cycle corresponding to the vehicle, when the vehicle is in the current power-on cycle, under the condition that the first fault record signal is obtained, the control time information signal starts to be timed according to a preset time mode.
The power-on cycle is understood to be a cycle from the start of power-on of the vehicle to the end of power-off of the vehicle. The first fault record signal may be a first fault record signal generated when fault information is first received in a current power-up cycle. The preset time mode may be understood as a timing mode of the time information signal set in advance. The preset time mode can be any time mode. Optionally, to reduce the signal length of the time information signal, the data space is further reduced. The time information signal may be arranged as a signal comprising a multi-bit signal value, each bit signal representing an hour, minute, second, millisecond, respectively. Correspondingly, the preset time mode can be that in the time counting process, when the time is 1 second, the signal value corresponding to the millisecond is cleared and the time is counted again, and the signal value corresponding to the second is added with 1; when the time is 1 minute, the signal value corresponding to the second is cleared and is re-timed, the signal value corresponding to the minute is added with 1, and so on. It should be noted that, in the actual application process, the timing manner of the time information signal may also be set according to the actual requirement, which is not limited in this embodiment.
In practical application, for each power-on cycle corresponding to the vehicle, when the vehicle is in the current power-on cycle, the fault information of the vehicle can be detected. Further, when the first fault information is received and the first fault record signal corresponding to the first fault information is generated, the time information signal may be triggered to start timing, and timing may be performed in a predetermined manner.
Further, in the timing process, when any first fault record signal is detected to be generated, the signal value of the time information signal at the current time may be frozen, and the signal value may be used as the first time signal of the fault information corresponding to the first fault record signal.
Further, after the first time signal corresponding to the fault information is obtained, an association relationship between the first fault record signal corresponding to the fault information and the first time signal can be established, and the first fault record signal and the first time signal are correspondingly stored in the target controller. The target controller may be a vehicle-end controller, that is, a vehicle ECU.
It should be noted that, when a plurality of fault information is received in the current power-on cycle, the first time signals corresponding to the corresponding fault information may be sequentially determined according to the generation sequence of the first fault record signals. Further, when the signal storage is performed, the first fault record signal corresponding to the corresponding fault information and the first time signal may be sequentially stored in the target controller according to the generation order of the first time signal. Thus, a fault storage list comprising a plurality of first fault record signals and corresponding first time signals may be obtained.
And S130, determining a target fault sending signal based on the first time signal and the first fault record signal under the condition that the fault information meets the preset signal sending condition, and sending the target fault sending signal to a cloud server corresponding to the vehicle.
The preset signal sending condition can be understood as a preset condition according to which a stored signal is sent to the cloud. The preset signal transmission condition may be any transmission condition. Alternatively, the preset signaling condition may be within a preset signaling period corresponding to the fault information. The preset transmission period may be any period set in advance, and may alternatively be 1 minute, 5 minutes, 10 minutes, or the like. In this embodiment, the target fault output signal may be a fault signal sent from the vehicle ECU to the cloud server connected to the vehicle end through the whole vehicle network.
In practical application, after the first fault record signal and the first time signal corresponding to the fault information are stored in the target controller, the first fault record signal and the first time signal corresponding to the fault information can be adjusted under the condition that the stored fault information is detected to meet the preset signal sending condition. Further, the first failure record signal and the first time signal may be processed, and a target failure transmission signal may be obtained.
Optionally, under the condition that the fault information is determined to meet the preset signal sending condition, determining a target fault sending signal based on the first time signal and the first fault record signal, and sending the target fault sending signal to a cloud server corresponding to the vehicle, including: determining a first real-time transmission signal based on the first time signal under the condition that the fault information is determined to be in a preset transmission period; and determining a target fault sending signal based on the first real-time sending signal and the first fault recording signal, and sending the target fault sending signal to the cloud server.
The first real-time sending signal may be a signal that records time information and sends the time information to the cloud server. In practical applications, the time information may be predefined to transmit the signal in real time. Furthermore, when the fault information is determined to be in the preset sending period, the time information real-time sending signal can be assigned based on the signal value corresponding to the first time signal corresponding to the fault information, and then the signal obtained after assignment can be used as the first real-time sending signal.
In practical application, under the condition that the fault information is determined to be in a preset sending period, a first fault record signal and a first time signal corresponding to the fault information can be called. Further, a signal value corresponding to the first time signal can be determined, and the time information real-time transmission signal is assigned according to the signal value, so that the signal value corresponding to the first real-time transmission signal obtained after the assignment is the same as the signal value corresponding to the first time signal. Then, the target fault transmission signal may be determined based on the first real-time transmission signal and the first fault record signal. It should be noted that the determining manner of the target fault sending signal may include various manners, and optionally, the first real-time sending signal and the first fault recording signal are spliced together, and a signal obtained after the splicing may be used as the target fault sending signal. Or the first real-time transmission signal and the first fault record signal are used as target fault transmission signals together, that is, the target fault transmission signals are two signals, namely the first fault record signal and the first real-time transmission signal respectively.
Further, after the target fault sending signal is obtained, the target fault sending signal is sent to the TBOX controller from the vehicle-mounted ECU through the whole vehicle network, and then the received target fault sending signal is sent to a cloud server associated with the vehicle through the TBOX controller, so that the received target fault sending signal and the pre-acquired vehicle identification are correspondingly stored based on the cloud server.
In the actual application process, when the stored fault information includes a plurality of first fault record signals and first time signals corresponding to the plurality of fault information are stored in the target controller, after the first fault record signal corresponding to the current fault information is determined for each stored fault information, the first fault record signal corresponding to the current fault information may be timed according to a preset transmission period based on a predefined transmission timer, so that the target fault transmission signal is sent out in the preset transmission period, and the target fault transmission signal corresponding to the current fault information may be cyclically transmitted in the preset transmission period. When the time corresponding to the sending timer is larger than the preset sending period, the timer returns to zero and rechems, and the first fault record signal and the first time signal corresponding to the next fault information of the current fault information are called, and the steps of determining the target fault sending signal and sending the target fault sending signal are executed again until all stored fault information is sent.
In the practical application process, when any fault in the received fault information is detected to be recovered, a first fault record signal corresponding to the recovered fault information can be called, and a signal value for recording a fault state in the first fault record signal is updated, so that the fault information can be represented to be recovered based on the updated first fault record signal.
On the basis of the technical schemes, the method further comprises the following steps: when fault recovery in the received fault information is detected, a first fault record signal corresponding to the recovered fault information is called; and determining a state signal sequence number in the first fault record signal, so as to adjust a signal value corresponding to the state signal sequence number to a preset signal value, and obtaining a second fault record signal.
The status signal sequence number may be a signal sequence number in the signal that is used to characterize the fault status.
In practical application, when any fault information in the received fault information is detected to be recovered, the recovered fault information may be first determined, and then, the prestored fault number mapping table may be called again, and the fault number mapping table may be traversed based on the recovered fault information to determine a fault number corresponding to the recovered fault information, and further, a first fault record signal corresponding to the recovered fault information may be called according to the determined fault number. Then, the state signal sequence number in the first fault record signal can be determined, the signal value corresponding to the state signal sequence number in the first fault record signal is reset, each determined signal value is restored to a default signal value, and the first fault record signal with the restored signal value can be used as the second fault record signal. For example, if the fault number corresponding to the recovered fault information is 16, and the corresponding first fault record signal is 1000001, the status signal sequence number in the first fault record signal is "01" of the last two bits, and the default signal value is 0. Then, after the signal value corresponding to the status signal sequence number in the first fault record signal is restored to the default signal value, "1000000" may be obtained, and this signal may be used as the second fault record signal.
The first time signal is a signal for recording the time of occurrence of the fault, and when any fault recovery in the received fault information is detected, the first time signal corresponding to the recovered fault information needs to be updated, so that the time of fault recovery can be recorded, and the time signal corresponding to the time of fault recovery can be determined. Further, the first time signal corresponding to the recovered failure information may be based on the time signal.
Based on the above, the above technical means further includes: a second time signal corresponding to the recovered fault information is determined based on the second fault record signal, and the first time signal corresponding to the recovered fault information is updated based on the second time signal.
The second time signal may be understood as a signal recording the fault recovery time. The second time signal may also be understood as a signal for freezing the fault recovery time. The second time signal may be a signal based on any form of representation. Alternatively, the second time signal may be a signal expressed based on a time stamp form; or may be a signal represented based on a preset signal form, or the like.
In practical applications, the second time signal may be determined by at least two ways, and the two ways may be described below respectively:
First kind: determining a second time signal corresponding to the recovered fault information based on the second fault record signal, comprising: when the generation of the second fault record signal is detected, the signal generation time is recorded, and the signal generation time is taken as a second time signal.
Second kind: determining a second time signal corresponding to the recovered fault information based on the second fault record signal, comprising: when the generation of the second fault record signal is detected, a signal value corresponding to the predefined time information signal is determined, and the signal value is used as the second time signal.
In practical application, when any fault information in the received fault information is detected to be recovered, the recovered fault information may be determined, and after a second fault record signal corresponding to the recovered fault information is obtained, a second time signal corresponding to the recovered fault information may be determined. Further, the first time signal corresponding to the recovered fault information may be updated based on the second time signal to replace the first time signal corresponding to the recovered fault information with the second time signal. Thereafter, the second fault record signal and the second time signal may be stored into the target controller.
It should be noted that, when all the stored fault information is detected to be recovered and the corresponding signals are all sent, a signal clearing operation may be performed.
Based on the above, the above technical means further includes: and executing a zero clearing operation based on a predefined time information zero clearing signal under the condition that the detection meets the preset zero clearing condition.
The preset clear condition may be understood as a preset signal clear condition. The preset zero clearing condition can be any condition, and optionally, the stored fault information can be recovered completely, and fault record signals and time signals corresponding to the fault information are sent to the cloud server; or may be a vehicle power down. The time information clear signal may be understood as a signal for performing a time information clear operation. The time information clear signal may be a signal in the form of a timer, that is, in the case that a signal trigger condition is satisfied, timing is started, and when the timing duration reaches a preset clear period, a signal initialization operation is performed.
In practical application, when all the stored fault information is detected to be recovered, and the fault record signals and the time signals corresponding to the fault information are sent to the cloud server, the preset zero clearing condition can be determined to be met. Further, the time information clear signal can be triggered to start timing, and when the signal value (i.e., timing duration) corresponding to the time information clear signal is greater than the preset clear period, a signal initialization operation is performed, clear operations are performed on all stored signals, and the signals are restored to default signal values. The preset zero clearing period can be any value, and optionally, 30 minutes.
After the fault information is recovered and the zero clearing operation is performed, if the fault information is received again, the fault information may be considered as a new power-on cycle of the vehicle. And when all the fault information is recovered and zero clearing operation is not executed, if the fault information is received again, determining a first fault record signal and a first time signal according to the steps, determining a target fault sending signal based on the first fault record signal and the first time signal, and sending the target fault sending signal to the cloud server.
It should be noted that, after the vehicle executes the power-down operation, the related time information forces to execute the zero clearing operation, and after the vehicle is powered up again, the fault detection and the fault signal transmission are performed according to the steps.
In practical application, when there is a data analysis demand, data can be downloaded from the cloud server to perform data analysis. Optionally, when performing data analysis, at least one of the following modes may be included:
The cloud end uploads the data with a time stamp, so that the natural time of the occurrence time of the vehicle fault can be determined;
according to the recorded time information and fault storage information, determining the time of the power-on of the vehicle according to the time stamp, wherein the fault occurs;
according to the recorded time information, the time sequence of occurrence of multiple faults can be determined;
According to the recorded time information, determining how much time the first fault occurs and then other faults occur;
from the recorded time information, the duration of the fault in the current power-up cycle may be determined.
According to the technical scheme, under the condition that the fault information corresponding to the vehicle is received, the first fault record signal corresponding to the fault information is determined, further, based on the first fault record signal, the first time signal corresponding to the fault information is determined, the first fault record signal and the first time signal are correspondingly stored in the target controller, then, under the condition that the fault information is determined to meet the preset signal sending condition, the target fault sending signal is determined based on the first time signal and the first fault record signal, and the target fault sending signal is sent to the cloud server corresponding to the vehicle, the problem that in the prior art, when the fault is stored, the fault related time information is not stored, so that multiple faults occur in the vehicle running history, and when the fault is not timely detected by a repair factory, the fault information and time of the vehicle cannot be positioned, and difficulty is brought to the fault detection of the vehicle is solved, the effect that the fault time information is stored and recorded on the premise that the storage space of the vehicle controller is not occupied is saved, and the fault time information is uploaded to the vehicle server to the fault support data analysis and the fault support data are provided.
Example two
Fig. 2 is a schematic structural diagram of a fault information processing apparatus according to a second embodiment of the present invention. As shown in fig. 2, the apparatus includes: fault log signal determination module 210, time signal determination module 220, and signaling module 230.
Wherein, the fault record signal determining module 210 is configured to determine, when fault information corresponding to a vehicle is received, a first fault record signal corresponding to the fault information; a time signal determining module 220, configured to determine a first time signal corresponding to the fault information based on the first fault record signal, and store the first fault record signal and the first time signal to a target controller correspondingly; the signal sending module 230 is configured to determine, based on the first time signal and the first fault record signal, a target fault sending signal and send the target fault sending signal to a cloud server corresponding to the vehicle, where the fault information is determined to meet a preset signal sending condition.
According to the technical scheme, under the condition that the fault information corresponding to the vehicle is received, the first fault record signal corresponding to the fault information is determined, further, based on the first fault record signal, the first time signal corresponding to the fault information is determined, the first fault record signal and the first time signal are correspondingly stored in the target controller, then, under the condition that the fault information is determined to meet the preset signal sending condition, the target fault sending signal is determined based on the first time signal and the first fault record signal, and the target fault sending signal is sent to the cloud server corresponding to the vehicle, the problem that in the prior art, when the fault is stored, the fault related time information is not stored, so that multiple faults occur in the vehicle running history, and when the fault is not timely detected by a repair factory, the fault information and time of the vehicle cannot be positioned, and difficulty is brought to the fault detection of the vehicle is solved, the effect that the fault time information is stored and recorded on the premise that the storage space of the vehicle controller is not occupied is saved, and the fault time information is uploaded to the vehicle server to the fault support data analysis and the fault support data are provided.
Optionally, the fault record signal determination module 210 includes: the device comprises a fault number determining unit, a fault record signal first determining unit and a fault record signal second determining unit.
A fault number determining unit, configured to determine a fault number corresponding to the fault information based on a prestored fault number mapping table;
The fault record signal first determining unit is used for assigning a value to a first preset fault record signal based on the fault number to obtain a first fault record signal corresponding to the current fault information; or alternatively, the first and second heat exchangers may be,
And the fault record signal second determining unit is used for determining a calibration parameter value corresponding to the fault number, and assigning a value to a second preset fault record signal based on the calibration parameter value to obtain a first fault record signal.
Optionally, the time signal determining module 220 includes: a time signal first determining unit and a time signal second determining unit.
A time signal first determining unit configured to record a signal generation timing when the generation of the first fault record signal is detected, and take the signal generation timing as the first time signal; or;
And the time signal second determining unit is used for determining a signal value corresponding to a predefined time information signal when the generation of the first fault record signal is detected, and taking the signal value as the first time signal.
Optionally, the apparatus further includes: and the signal timing control module.
And the signal timing control module is used for controlling the time information signal to be timed according to a preset time mode under the condition that the first fault record signal is obtained when the vehicle is in the current power-on cycle for each power-on cycle corresponding to the vehicle.
Optionally, the preset signal transmission condition is that the preset signal transmission period corresponding to the fault information is within a preset transmission period, and the signal transmission module 230 includes: and a real-time transmission signal determining unit and a signal transmitting unit.
A real-time transmission signal determining unit, configured to determine a first real-time transmission signal based on the first time signal if it is determined that the fault information is within a preset transmission period;
And the signal sending unit is used for determining the target fault sending signal based on the first real-time sending signal and the first fault record signal and sending the target fault sending signal to the cloud server.
Optionally, the apparatus further includes: the system comprises a fault record signal retrieving module and a signal value recovering module.
The fault record signal retrieving module is used for retrieving a first fault record signal corresponding to the recovered fault information when the fault recovery in the received fault information is detected;
and the signal value recovery module is used for determining a state signal sequence number in the first fault record signal so as to recover a signal value corresponding to the state signal sequence number to a default signal value and obtain a second fault record signal.
Optionally, the apparatus further includes: and a time signal updating module.
And the time signal updating module is used for determining a second time signal corresponding to the recovered fault information based on the second fault record signal and updating the first time signal corresponding to the recovered fault information based on the second time signal.
Optionally, the apparatus further includes: and (5) clearing an operation execution module.
And the zero clearing operation executing module is used for executing zero clearing operation based on a predefined time information zero clearing signal under the condition that the detection meets the preset zero clearing condition.
The fault information processing device provided by the embodiment of the invention can execute the fault information processing method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example III
Fig. 3 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 3, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the respective methods and processes described above, such as a fault information processing method.
In some embodiments, the fault information processing method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the fault information processing method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the fault information processing method in any other suitable way (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A fault information processing method, characterized by comprising:
Determining a first fault record signal corresponding to fault information when the fault information corresponding to a vehicle is received;
determining a first time signal corresponding to the fault information based on the first fault record signal, and correspondingly storing the first fault record signal and the first time signal to a target controller;
And under the condition that the fault information meets the preset signal sending condition, determining a target fault sending signal based on the first time signal and the first fault recording signal, and sending the target fault sending signal to a cloud server corresponding to the vehicle.
2. The method of claim 1, wherein said determining a first fault record signal corresponding to said fault information comprises:
Determining a fault number corresponding to the fault information based on a pre-stored fault number mapping table;
Assigning a value to a first preset fault record signal based on the fault number to obtain a first fault record signal corresponding to the fault information; or alternatively, the first and second heat exchangers may be,
And determining a calibration parameter value corresponding to the fault number, and assigning a value to a second preset fault record signal based on the calibration parameter value to obtain a first fault record signal corresponding to the fault information.
3. The method of claim 1, wherein the determining a first time signal corresponding to the fault information based on the first fault record signal comprises:
Recording a signal generation time when the generation of the first fault record signal is detected, and taking the signal generation time as the first time signal; or;
And when the generation of the first fault record signal is detected, determining a signal value corresponding to a predefined time information signal, and taking the signal value as the first time signal.
4. A method according to claim 3, further comprising:
And for each power-on cycle corresponding to the vehicle, when the vehicle is in the current power-on cycle, and under the condition that the first fault record signal is obtained, controlling the time information signal to time according to a preset time mode.
5. The method according to claim 1, wherein the preset signaling condition is within a preset signaling period corresponding to the fault information, and wherein determining a target fault signaling signal based on the first time signal and the first fault record signal and transmitting the target fault signaling signal to the cloud server corresponding to the vehicle in the case that the fault information is determined to satisfy the preset signaling condition includes:
Determining a first real-time transmission signal based on the first time signal under the condition that the fault information is determined to be in a preset transmission period;
And determining the target fault sending signal based on the first real-time sending signal and the first fault record signal, and sending the target fault sending signal to the cloud server.
6. The method as recited in claim 1, further comprising:
When fault recovery in the received fault information is detected, a first fault record signal corresponding to the recovered fault information is called;
And determining a state signal sequence number in the first fault record signal to restore a signal value corresponding to the state signal sequence number to a default signal value, so as to obtain a second fault record signal.
7. The method as recited in claim 6, further comprising:
and determining a second time signal corresponding to the recovered fault information based on the second fault record signal, and updating the first time signal corresponding to the recovered fault information based on the second time signal.
8. The method as recited in claim 1, further comprising:
and executing a zero clearing operation based on a predefined time information zero clearing signal under the condition that the detection meets the preset zero clearing condition.
9. A fault information processing apparatus characterized by comprising:
The fault record signal determining module is used for determining a first fault record signal corresponding to the fault information under the condition that the fault information corresponding to the vehicle is received;
The time signal determining module is used for determining a first time signal corresponding to the fault information based on the first fault record signal and storing the first fault record signal and the first time signal to a target controller correspondingly;
and the signal sending module is used for determining a target fault sending signal based on the first time signal and the first fault record signal and sending the target fault sending signal to a cloud server corresponding to the vehicle under the condition that the fault information meets the preset signal sending condition.
10. An electronic device, the electronic device comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the fault information processing method of any one of claims 1-8.
CN202311738716.7A 2023-12-15 2023-12-15 Fault information processing method and device, electronic equipment and storage medium Pending CN117935398A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311738716.7A CN117935398A (en) 2023-12-15 2023-12-15 Fault information processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311738716.7A CN117935398A (en) 2023-12-15 2023-12-15 Fault information processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117935398A true CN117935398A (en) 2024-04-26

Family

ID=90760266

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311738716.7A Pending CN117935398A (en) 2023-12-15 2023-12-15 Fault information processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117935398A (en)

Similar Documents

Publication Publication Date Title
CN108092836A (en) The monitoring method and device of a kind of server
CN112380089A (en) Data center monitoring and early warning method and system
CN116049146B (en) Database fault processing method, device, equipment and storage medium
CN114443443B (en) Fault self-healing method, device, equipment and storage medium
CN116723206A (en) Vehicle fault information processing method and device, electronic equipment and storage medium
CN114885014A (en) Method, device, equipment and medium for monitoring external field equipment state
CN116938953A (en) Block chain-based data processing method and device, electronic equipment and storage medium
CN116545905A (en) Service health detection method and device, electronic equipment and storage medium
CN117935398A (en) Fault information processing method and device, electronic equipment and storage medium
CN113835961B (en) Alarm information monitoring method, device, server and storage medium
CN115794578A (en) Data management method, device, equipment and medium for power system
CN115766696A (en) File uploading method and device, electronic equipment and storage medium
CN116016265B (en) Message all-link monitoring method, device, system, equipment and storage medium
CN115914271A (en) Control system alarm method and device, electronic equipment and storage medium
CN117198017B (en) Alarm grade determining method and device, electronic equipment and storage medium
CN115391227A (en) Fault testing method, device, equipment and medium based on distributed system
CN116302370A (en) Method, device, equipment and medium for generating return code abnormality alarm
CN117632910A (en) Database management and control method, device, equipment and medium
CN114979203A (en) Vehicle file processing method, device, equipment and storage medium
CN117009111A (en) Data processing method, device, equipment and medium
CN117009145A (en) Power grid overhaul data restoration method, device, equipment and storage medium
CN117851114A (en) Crash log processing method, device, equipment and storage medium
CN117632027A (en) Disk space processing method, device, equipment and storage medium
CN117389828A (en) Power supply server management method, device, system, equipment and storage medium
CN115794485A (en) Data recovery method, device, equipment and storage medium based on disaster recovery backup

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