CN115410292A - Vehicle fault analysis method and device, computer equipment and storage medium - Google Patents

Vehicle fault analysis method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN115410292A
CN115410292A CN202210904094.XA CN202210904094A CN115410292A CN 115410292 A CN115410292 A CN 115410292A CN 202210904094 A CN202210904094 A CN 202210904094A CN 115410292 A CN115410292 A CN 115410292A
Authority
CN
China
Prior art keywords
fault
information
number group
alarm information
fault number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210904094.XA
Other languages
Chinese (zh)
Other versions
CN115410292B (en
Inventor
许林
吴畏
唐如意
朱乾勇
汪星星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Selis Phoenix Intelligent Innovation Technology Co ltd
Original Assignee
Chengdu Seres Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Seres Technology Co Ltd filed Critical Chengdu Seres Technology Co Ltd
Priority to CN202210904094.XA priority Critical patent/CN115410292B/en
Publication of CN115410292A publication Critical patent/CN115410292A/en
Application granted granted Critical
Publication of CN115410292B publication Critical patent/CN115410292B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/006Indicating maintenance
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0808Diagnosing performance data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures

Abstract

The application relates to a vehicle fault analysis method, a vehicle fault analysis device, computer equipment and a storage medium. The method comprises the following steps: acquiring fault information, and converting the fault information according to a preset fault frame format to obtain a fault frame; carrying out differential operation on the fault frames according to the acquisition sequence of the fault information to obtain differential information; coding the differential information to obtain a fault number, and caching the fault number to obtain a fault number group; judging whether fault change occurs according to the fault number group; if so, generating alarm information according to the fault number group so as to decode the alarm information to obtain analysis information. By adopting the method, the efficiency of vehicle fault analysis can be improved, and the driving safety of the vehicle can be improved.

Description

Vehicle fault analysis method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of vehicle safety technologies, and in particular, to a vehicle fault method, an apparatus, a computer device, and a storage medium.
Background
An ECU (Electronic Control Unit), also called a traveling computer, a vehicle-mounted computer, and the like, generally has a fault diagnosis function, and when a vehicle has a fault, the ECU can record a fault code, and operation and maintenance personnel can analyze fault information by reading the fault code on site and then maintain the vehicle.
In addition, in a normal situation, operation and maintenance personnel cannot know the occurrence or disappearance of a fault code in real time, and the change of the fault code affects the maintenance of the vehicle by maintenance personnel.
Moreover, when a vehicle fails, the situation is uncontrollable, and if the efficiency of analyzing the fault is low and the analysis on the fault is not accurate enough, a user cannot obtain the fault category and the fault processing mode at the first time when the fault occurs, so that the fault evasion and processing are difficult to perform in time, and the vehicle safety and the personal safety are seriously affected.
Disclosure of Invention
Therefore, the vehicle fault analysis method, the vehicle fault analysis device, the computer equipment and the storage medium are provided, and the problem that the vehicle fault analysis efficiency is low in the prior art is solved.
According to a first aspect of an embodiment of the present disclosure, there is provided a vehicle fault analysis method, the method including:
acquiring fault information, and converting the fault information according to a preset fault frame format to obtain a fault frame;
carrying out differential operation on the fault frames according to the acquisition sequence of the fault information to obtain differential information;
coding the differential information to obtain a fault number, and caching the fault number to obtain a fault number group;
judging whether fault change occurs according to the fault number group;
if so, generating alarm information according to the fault number group so as to decode the alarm information to obtain analysis information.
In one embodiment, the determining whether a fault change occurs according to the fault number group includes:
acquiring an acquisition period of the fault information, wherein the acquisition period comprises a first period and a second period, and classifying the fault number groups according to the acquisition period to obtain a first fault number group corresponding to the first period and a second fault number group corresponding to the second period;
comparing the first fault number group with the second fault number group, and judging whether the first fault number group is matched with the second fault number group;
if not, judging that fault change occurs, extracting difference data of the first fault number group and the second fault number group, and generating the alarm information according to the difference data.
In one embodiment, comparing the first group of fault numbers and the second group of fault numbers comprises:
comparing a first fault number in the first fault number group with a second fault number in a second fault number group;
and if the first fault number and the second fault number have different numbers, extracting the different numbers, and generating the alarm information according to the different numbers.
In one embodiment, comparing the first group of fault numbers and the second group of fault numbers comprises:
comparing the first fault number group with the second fault number group to obtain a comparison result;
judging whether the first fault number group is matched with the second fault number group according to the comparison result;
if not, judging that fault change occurs, extracting the difference data of the first fault number group and the second fault number group, generating the alarm information according to the difference data, wherein the alarm information comprises a fault state value, and adjusting the fault state value according to the comparison result.
In one embodiment, the obtaining period for obtaining the fault information includes:
obtaining the total number of faults according to the fault information, and carrying out differential operation on the fault frames according to the obtaining sequence of the fault information to obtain differential information;
coding the differential information to obtain the fault number;
and acquiring the frame number of the fault frame subjected to the differential operation, acquiring the acquisition period corresponding to the fault information when the frame number is matched with the total number of faults, and caching the fault number corresponding to the frame number to acquire the fault number group.
In one embodiment, generating the alarm information according to the difference data further includes:
acquiring the fault state value for reflecting a fault state, wherein the fault state comprises fault occurrence and fault disappearance;
obtaining alarm time according to the acquisition time of the fault state value;
generating the alarm information according to the alarm time, the fault state value and the fault number group;
and inquiring and acquiring a solution corresponding to the alarm information according to the alarm information.
In one embodiment, the determining whether a fault change occurs according to the fault number group includes:
when the fault change is judged, generating the alarm information according to the fault number group, and decoding the alarm information to obtain the analysis information containing the fault type;
and judging whether to upload the alarm information and/or the analysis information according to the fault type so as to enable operation and maintenance personnel to check in real time.
According to a second aspect of the embodiments of the present disclosure, there is provided a vehicle failure analysis apparatus including:
the acquisition module is used for acquiring fault information and converting the fault information according to a preset fault frame format to obtain a fault frame;
the calculation module is used for carrying out differential operation on the fault frames according to the acquisition sequence of the fault information to obtain differential information;
coding the differential information to obtain a fault number, and caching the fault number to obtain a fault number group;
the judging module is used for judging whether fault change occurs according to the fault number group;
and the alarm module is used for generating alarm information according to the fault number group so as to decode the alarm information and obtain analysis information.
In another aspect, a computer device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the following steps when executing the computer program:
acquiring fault information, and converting the fault information according to a preset fault frame format to obtain a fault frame;
carrying out differential operation on the fault frames according to the acquisition sequence of the fault information to obtain differential information;
coding the differential information to obtain a fault number, and caching the fault number to obtain a fault number group;
judging whether fault change occurs according to the fault number group;
if so, generating alarm information according to the fault number group so as to decode the alarm information to obtain analysis information.
In yet another aspect, a computer-readable storage medium is provided, having stored thereon a computer program which, when executed by a processor, performs the steps of:
acquiring fault information, and converting the fault information according to a preset fault frame format to obtain a fault frame;
carrying out differential operation on the fault frames according to the acquisition sequence of the fault information to obtain differential information;
coding the differential information to obtain a fault number, and caching the fault number to obtain a fault number group;
judging whether fault change occurs according to the fault number group;
if so, generating alarm information according to the fault number group so as to decode the alarm information to obtain analysis information.
According to the vehicle fault analysis method, the vehicle fault analysis device, the computer equipment and the storage medium, the fault information is obtained and converted according to the preset fault frame format, so that the fault frame is obtained, and the data are sorted; carrying out differential operation on the fault frame according to the acquisition sequence of the fault information to obtain differential information, and further obtaining the change of the fault frame; and if the fault change occurs, generating alarm information according to the fault number group so as to decode the alarm information and obtain analysis information, so that the analysis of the vehicle fault is realized, and the fault reason is determined.
Drawings
FIG. 1 is a diagram of an exemplary embodiment of a vehicle fault analysis method;
FIG. 2 is a schematic flow chart diagram of a vehicle fault analysis method in one embodiment;
FIG. 3 is a diagram illustrating a differential operation process according to an embodiment;
FIG. 4 is a schematic diagram of a differential fault code encoding process in one embodiment;
FIG. 5 is a block diagram showing the construction of a vehicle failure analysis apparatus according to an embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The vehicle fault analysis method provided by the application can be applied to the application environment shown in fig. 1. Wherein the vehicle 101 may communicate with the terminal 102 over a network and/or the vehicle 101 may communicate with the server 103 over a network. Acquiring fault information, and converting the fault information according to a preset fault frame format to obtain a fault frame; carrying out differential operation on the fault frames according to the acquisition sequence of the fault information to obtain differential information; coding the differential information to obtain a fault number, and caching the fault number to obtain a fault number group; judging whether fault change occurs according to the fault number group; if so, generating alarm information according to the fault number group so as to decode the alarm information to obtain analysis information. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 103 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In some embodiments, as shown in fig. 2, a vehicle fault analysis method is provided, which is described by taking an example of applying the method to the vehicle 101 in fig. 1, and includes the following steps:
step 201, acquiring fault information, and converting the fault information according to a preset fault frame format to obtain a fault frame.
The fault information comprises fault codes reported by the ECU, and the fault frame is a data frame for reflecting the fault information.
It should be noted that the fault code is a specific message, which is not an error data, but is a specific item specified in the bus protocol to point to the device fault. If fault codes occur in bus communication, the problem of the equipment CAN be found by tracing the root and the source through a bus protocol, and the fault codes are important basis for using USBCAN equipment to detect the CAN bus of the automobile. The failure frame also counts as a kind of failure information.
Specifically, information such as time of occurrence of a fault, a corresponding frame ID, a total number of faults, a frame number, a provider code, a fault code, and the like is obtained, that is, a corresponding fault frame is obtained, where the frame ID is determined according to an element and can be used to indicate a fault source (fault element) of the occurrence of the fault, that is, which element or elements have a fault is/are determined according to the frame ID; the total number of the faults represents the number of the faults generated at the moment when the faults occur; the frame sequence number is a number for correspondingly sequencing the fault frames according to the sequence of the acquired fault information; the supplier code represents the supplier of the component, that is, the supplier corresponding to the failure source can be directly and clearly known according to the supplier code, thereby facilitating the direct acquisition of the failure solution from the supplier.
And 202, carrying out differential operation on the fault frames according to the acquisition sequence of the fault information to obtain differential information.
The differential operation is used for acquiring difference data between fault frames, the differential result reflects the change between the fault frames, and the differential information comprises differential fault codes obtained by the differential operation between the fault frames.
Referring to fig. 3, for a schematic diagram of obtaining differential information between failure frames, it should be noted that fig. 3 only illustrates a summary of obtaining differential information, and does not limit a specific method in the process of obtaining differential information, where two illustrated failure frames may be a same group of failures, and a corresponding failure number group may be obtained by encoding the group of failures, and fig. 3 may understand that there may be a variety of methods for reflecting changes between failure frames.
Further, for example, the change between the failure frames may be obtained by using an exclusive or operation on the failure frames, such as: performing exclusive-or operation on a first fault code in a first fault frame and a second fault code in a second fault frame, wherein data bits of the first fault code and the second fault code in the respective fault frames correspond to each other, and if the exclusive-or result is 0, the first fault code and the second fault code are the same; and if the exclusive OR result is 1, the first fault code and the second fault code are different. Preferably, an exclusive or operation may be performed on all fault codes in the first fault frame and all fault codes in the second fault frame, and if they are different (the exclusive or result is 1), then the exclusive or operation may be performed on the fault codes in the two fault frames according to the data bits of the first fault frame and the second fault frame corresponding to each other, so as to determine the data bits of the specific fault code having the change and the fault codes having the change (i.e., the differential fault codes).
Regarding the difference operation, the adaptive adjustment can also be performed according to the preferred mode of the exclusive-or operation, that is, the two faulty frames are compared together, and if there is a difference (abnormality), the comparison is performed according to the data bits, so that the detection efficiency of the faulty frames is improved.
And 203, coding the differential information to obtain a fault number, and caching the fault number to obtain a fault number group.
The encoding method for encoding the differential information may be a preset encoding method, the encoding of the differential information includes encoding differential fault codes, and the fault number group is a set formed by aggregating the differential information according to each fault information acquisition period.
For example, in digital electronic circuits, to accommodate computer data computation, to facilitate the handling and reading of data, data may be represented in binary and/or hexadecimal form during computation, such as: coding the differential information according to a preset coding mode, referring to fig. 4, for a schematic diagram of a coding process of the differential fault code in the differential information, obtaining a fault number by using a frame ID 65536+ a supplier code 1024+ the differential fault code, where 65536 is 2 16 1024 is 2 10 If the differential fault code is "1" and the frame ID is "0x999", supplyIf the quotient code is "0", the fault number obtained after the coding mode conversion is "0x09990001", and the mode for coding other differential fault codes may refer to the foregoing method and the foregoing diagrams, which are not described herein again, it should be noted that fig. 4 shows a group of fault number groups corresponding to one acquisition period, and if a subsequent fault number group obtained according to the differential fault code of the subsequent group is compared with the fault number group, it is known whether the fault state changes.
And step 204, judging whether fault change occurs according to the fault number group.
If not, it indicates that no failure change has occurred in the failure information acquisition period, the next failure information acquisition period is entered, and it should be noted that the absence of a failure change does not mean absence of a failure, but may be the same failure as in the previous state of the vehicle or the failure has not occurred in the previous state of the vehicle.
And step 205, if yes, generating alarm information according to the fault number group so as to decode the alarm information to obtain analysis information.
The alarm information is decoded by using a decoding method corresponding to the encoding method, and the decoding of the alarm information may be performed in a vehicle or in other devices with computing capabilities, such as a server and a terminal, which is not limited herein.
In the vehicle fault analysis method, the fault information is acquired and converted according to a preset fault frame format to obtain a fault frame, so that data is sorted; carrying out differential operation on the fault frame according to the acquisition sequence of the fault information to obtain differential information so as to obtain the change of the fault frame; and if the fault change occurs, generating alarm information according to the fault number group so as to decode the alarm information and obtain analysis information, so that the analysis of the vehicle fault is realized, the fault reason is determined, and the analysis efficiency of the vehicle fault is improved.
In some embodiments, determining whether a fault change has occurred based on the set of fault numbers includes:
acquiring an acquisition period of the fault information, wherein the acquisition period comprises a first period and a second period, and classifying the fault number groups according to the acquisition period to obtain a first fault number group corresponding to the first period and a second fault number group corresponding to the second period;
comparing the first fault number group with the second fault number group, and judging whether the first fault number group is matched with the second fault number group;
if not, judging that the fault change occurs, extracting difference data of the first fault number group and the second fault number group, and generating the alarm information according to the difference data.
The acquisition period refers to a time period corresponding to the acquisition of a plurality of pieces of fault information, and whether the acquisition period is completed and the corresponding acquisition period is obtained can be determined by detecting whether the number of the acquired pieces of fault information is consistent with the total number of the faults, or the acquisition period can be calculated by acquiring the acquisition time (fault occurrence time) in the fault information and then acquiring the acquisition time of at least one fault.
It should be noted that there may be one or more acquisition cycles, and therefore, the acquisition cycle may include, but is not limited to, a first cycle and a second cycle, and the "first" is not limited to be the initial acquisition cycle, and for convenience of illustration and distinction only, the first cycle and the second cycle and the corresponding first fault number group and second fault number group are still used for illustration.
The fault change comprises the change of a fault state and/or a fault type, the fault number groups are classified according to different acquisition periods, and then the first fault number group and the second fault number group are matched to judge whether the second fault number group has fault change compared with the first fault number group, wherein the fault state change comprises the occurrence or disappearance of faults, and the fault type change comprises the change of fault codes.
It should be noted that the difference operation performed on the fault frame is to compare the fault frames, further determine whether a fault occurs, and obtain a fault code corresponding to the fault; and the comparison of the fault number groups is carried out in order to know the change condition of the fault state, the fault information is more deeply reflected, and the effect of vehicle fault analysis is obviously improved.
In some embodiments, comparing the first group of faulty numbers and the second group of faulty numbers comprises:
comparing a first fault number in the first fault number group with a second fault number in a second fault number group;
and if the first fault number and the second fault number have different numbers, extracting the different numbers, and generating the alarm information according to the different numbers.
Through comparing the fault number groups, the change of the fault state is further acquired, so that the analysis of the vehicle fault is more accurate.
In some embodiments, comparing the first group of faulty numbers and the second group of faulty numbers comprises:
comparing the first fault number group with the second fault number group to obtain a comparison result;
judging whether the first fault number group is matched with the second fault number group according to the comparison result;
if not, judging that fault change occurs, extracting the difference data of the first fault number group and the second fault number group, generating the alarm information according to the difference data, wherein the alarm information comprises a fault state value, and adjusting the fault state value according to the comparison result.
The fault state value is used for reflecting the change of the corresponding fault state, namely, whether the fault occurs or disappears can be known according to the fault state value.
If the fault state is not changed, it indicates that the vehicle is not in fault or remains in the original fault state, and it is not necessary to further extract difference data and generate warning information.
In some embodiments, the acquisition cycle of acquiring the fault information includes:
obtaining the total number of faults according to the fault information, and carrying out differential operation on the fault frames according to the obtaining sequence of the fault information to obtain differential information;
coding the differential information to obtain the fault number;
and acquiring the frame number of the fault frame subjected to the differential operation, acquiring the acquisition period corresponding to the fault information when the frame number is matched with the total number of faults, and caching the fault number corresponding to the frame number to acquire the fault number group.
The total number of faults of the fault information refers to the total number of fault-specific messages reported by the controller, and for convenience of understanding, the total number of faults can be considered to be equivalent to the total number of fault codes.
Illustratively, when an acquisition cycle of one fault information starts, if the total number of faults of the fault information is N, the corresponding fault information is sequentially received, and a fault number is obtained through the processing method, the fault number is cached to the corresponding fault number group, when the fault number group already stores the fault numbers corresponding to N fault frames, and/or the frame numbers of the fault frames corresponding to the fault numbers in the fault number group are sequentially spliced from 1 to N, the current fault number is acquired, and the acquisition cycle of the fault information is ended, so that the corresponding fault number group and the acquisition cycle are obtained.
It should be noted that the acquisition period may be preset, or may be determined according to a situation that the vehicle actually reports and acquires the fault, and is not limited herein, for example, in the process of acquiring the fault information, if there is no transmission and/or reception of the fault information within a certain time interval (for convenience of understanding, the subsequent is referred to as an idle period), it is considered that the period from the time when the fault information is received last time to the time when the idle period just starts is the corresponding acquisition period of the fault information.
In some embodiments, generating the alert information from the difference data further comprises:
acquiring the fault state value for reflecting a fault state, wherein the fault state comprises fault occurrence and fault disappearance;
obtaining alarm time according to the acquisition time of the fault state value;
generating the alarm information according to the alarm time, the fault state value and the fault number group;
and inquiring and acquiring a solution corresponding to the alarm information according to the alarm information.
The solution may be preset, or stored in real time when the alarm information is processed without querying the preset solution.
In some embodiments, determining whether a fault change has occurred based on the set of fault numbers includes:
when the fault change is judged, generating the alarm information according to the fault number group, and decoding the alarm information to obtain the analysis information containing the fault type;
and judging whether to upload the alarm information and/or the analysis information according to the fault type so as to enable operation and maintenance personnel to check in real time.
And decoding the alarm information by using a decoding mode corresponding to the coding mode in the embodiment to ensure the information safety.
Preferably, when the alarm information is generated, the alarm information may be encrypted by setting a key, which exemplarily illustrates that, when the alarm information is generated, a public key is set to encrypt the alarm information; when the alarm information is decoded, the alarm information can be decrypted by using the private key corresponding to the public key, and the subsequent decoding step is smoothly performed.
Preferably, when the alarm information is generated, hash operation can be performed on the alarm information through a hash function to obtain a hash value corresponding to the alarm information, before the alarm information is decoded, hash verification is required to be performed to check whether the provided hash value to be detected is correct, and then whether the subsequent decoding step can be performed normally is determined.
It should be understood that, although the respective steps in the flowcharts in the above-described embodiments are sequentially shown as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 5, there is provided a vehicle failure analysis apparatus including: the device comprises an acquisition module, a calculation module, a judgment module and an alarm module, wherein:
the acquisition module is used for acquiring fault information and converting the fault information according to a preset fault frame format to obtain a fault frame;
the calculation module is used for carrying out differential operation on the fault frames according to the acquisition sequence of the fault information to obtain differential information;
coding the differential information to obtain a fault number, and caching the fault number to obtain a fault number group;
the judging module is used for judging whether fault change occurs according to the fault number group;
and the alarm module is used for generating alarm information according to the fault number group so as to decode the alarm information and obtain analysis information.
In some embodiments, the method comprises the following steps:
the acquisition module is further configured to acquire an acquisition period of the fault information, where the acquisition period includes a first period and a second period, and classify the fault number group according to the acquisition period to obtain a first fault number group corresponding to the first period and a second fault number group corresponding to the second period;
the judging module is further used for comparing the first fault number group with the second fault number group and judging whether the first fault number group is matched with the second fault number group;
and the alarm module is further used for judging that fault change occurs if the fault change does not occur, extracting the difference data of the first fault number group and the second fault number group, and generating the alarm information according to the difference data.
In some embodiments, the method comprises:
the judging module is also used for comparing a first fault number in the first fault number group with a second fault number in the second fault number group;
and the alarm module is further used for extracting the difference number if the first fault number and the second fault number have the difference number, and generating the alarm information according to the difference number.
In some embodiments, the method comprises:
the judging module is further used for comparing the first fault number group with the second fault number group to obtain a comparison result;
judging whether the first fault number group is matched with the second fault number group according to the comparison result;
and the alarm module is further used for judging that a fault change occurs if the fault change does not occur, extracting the difference data of the first fault number group and the second fault number group, generating alarm information according to the difference data, wherein the alarm information comprises a fault state value, and adjusting the fault state value according to the comparison result.
In some embodiments, the method comprises:
the acquisition module is also used for acquiring the total number of the faults according to the fault information;
the calculation module is further used for performing the differential operation on the fault frame according to the acquisition sequence of the fault information to obtain the differential information;
coding the differential information to obtain the fault number;
and acquiring the frame number of the fault frame subjected to the differential operation, acquiring the acquisition period corresponding to the fault information when the frame number is matched with the total number of faults, and caching the fault number corresponding to the frame number to acquire the fault number group.
In some embodiments, the method comprises:
the acquisition module is further used for acquiring the fault state value used for reflecting a fault state, wherein the fault state comprises fault occurrence and fault disappearance;
the alarm module is also used for obtaining alarm time according to the acquisition time of the fault state value;
generating the alarm information according to the alarm time, the fault state value and the fault number group;
the system further comprises an inquiry module, wherein the inquiry module is used for inquiring and acquiring a solution corresponding to the alarm information according to the alarm information.
In some embodiments, further comprising:
the analysis module is used for generating the alarm information according to the fault number group when the fault change is judged, and decoding the alarm information to obtain the analysis information containing the fault type;
and judging whether to upload the alarm information and/or the analysis information according to the fault type so as to enable operation and maintenance personnel to check in real time.
In some embodiments, further comprising:
and the encryption module is used for encrypting the alarm information in a mode of setting a key and/or carrying out hash operation on the alarm information through a hash function when the alarm information is generated so as to obtain a hash value corresponding to the alarm information.
And the decryption module is used for decrypting the encrypted alarm information in a key mode and/or performing hash verification through the hash value to be detected so as to determine whether the alarm information can be acquired and decode the alarm information.
Illustratively, when the alarm information is generated, a public key can be set to encrypt the alarm information; when the alarm information is decoded, the alarm information can be decrypted by using the private key corresponding to the public key, and the subsequent decoding step is smoothly carried out,
and/or when the alarm information is generated, performing hash operation on the alarm information through a hash function to obtain a hash value corresponding to the alarm information, performing hash verification before decoding the alarm information, checking whether the provided hash value to be detected is correct, and further determining whether the subsequent decoding step can be normally performed.
For specific limitations of the vehicle failure analysis apparatus, reference may be made to the above limitations of the vehicle failure analysis method, which are not described herein again. The respective modules in the vehicle failure analysis apparatus described above may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing relevant data for analyzing vehicle faults. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a vehicle fault analysis method.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
acquiring fault information, and converting the fault information according to a preset fault frame format to obtain a fault frame;
carrying out differential operation on the fault frames according to the acquisition sequence of the fault information to obtain differential information;
coding the differential information to obtain a fault number, and caching the fault number to obtain a fault number group;
judging whether fault change occurs according to the fault number group;
if so, generating alarm information according to the fault number group so as to decode the alarm information to obtain analysis information.
In one embodiment, the processor when executing the computer program further performs the steps of:
acquiring an acquisition period of the fault information, wherein the acquisition period comprises a first period and a second period, and classifying the fault number groups according to the acquisition period to obtain a first fault number group corresponding to the first period and a second fault number group corresponding to the second period;
comparing the first fault number group with the second fault number group, and judging whether the first fault number group is matched with the second fault number group;
if not, judging that the fault change occurs, extracting difference data of the first fault number group and the second fault number group, and generating the alarm information according to the difference data.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
comparing a first fault number in the first fault number group with a second fault number in a second fault number group;
and if the first fault number and the second fault number have different numbers, extracting the different numbers, and generating the alarm information according to the different numbers.
In one embodiment, the processor, when executing the computer program, further performs the steps of: comparing the first fault number group with the second fault number group to obtain a comparison result;
judging whether the first fault number group is matched with the second fault number group according to the comparison result;
if not, judging that fault change occurs, extracting the difference data of the first fault number group and the second fault number group, generating the alarm information according to the difference data, wherein the alarm information comprises a fault state value, and adjusting the fault state value according to the comparison result.
In one embodiment, the processor, when executing the computer program, further performs the steps of: obtaining the total number of faults according to the fault information, and carrying out differential operation on the fault frames according to the obtaining sequence of the fault information to obtain differential information;
coding the differential information to obtain the fault number;
and acquiring the frame number of the fault frame subjected to the differential operation, acquiring the acquisition period corresponding to the fault information when the frame number is matched with the total number of faults, and caching the fault number corresponding to the frame number to acquire the fault number group.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring the fault state value for reflecting a fault state, wherein the fault state comprises fault occurrence and fault disappearance;
obtaining alarm time according to the acquisition time of the fault state value;
generating the alarm information according to the alarm time, the fault state value and the fault number group;
and inquiring and acquiring a solution corresponding to the alarm information according to the alarm information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
when the fault change is judged, generating the alarm information according to the fault number group, and decoding the alarm information to obtain the analysis information containing the fault type;
and judging whether to upload the alarm information and/or the analysis information according to the fault type so as to enable operation and maintenance personnel to check in real time.
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 fault information, and converting the fault information according to a preset fault frame format to obtain a fault frame;
carrying out differential operation on the fault frames according to the acquisition sequence of the fault information to obtain differential information;
coding the differential information to obtain a fault number, and caching the fault number to obtain a fault number group;
judging whether fault change occurs according to the fault number group;
if so, generating alarm information according to the fault number group so as to decode the alarm information to obtain analysis information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring an acquisition period of the fault information, wherein the acquisition period comprises a first period and a second period, and classifying the fault number groups according to the acquisition period to obtain a first fault number group corresponding to the first period and a second fault number group corresponding to the second period;
comparing the first fault number group with the second fault number group, and judging whether the first fault number group is matched with the second fault number group;
if not, judging that the fault change occurs, extracting difference data of the first fault number group and the second fault number group, and generating the alarm information according to the difference data.
In one embodiment, the computer program when executed by the processor further performs the steps of:
comparing a first fault number in the first fault number group with a second fault number in a second fault number group;
and if the first fault number and the second fault number have different numbers, extracting the different numbers, and generating the alarm information according to the different numbers.
In one embodiment, the computer program when executed by the processor further performs the steps of:
comparing the first fault number group with the second fault number group to obtain a comparison result;
judging whether the first fault number group is matched with the second fault number group according to the comparison result;
if not, judging that fault change occurs, extracting the difference data of the first fault number group and the second fault number group, generating the alarm information according to the difference data, wherein the alarm information comprises a fault state value, and adjusting the fault state value according to the comparison result.
In one embodiment, the computer program when executed by the processor further performs the steps of:
obtaining the total number of faults according to the fault information, and carrying out differential operation on the fault frames according to the obtaining sequence of the fault information to obtain differential information;
coding the differential information to obtain the fault number;
and acquiring a frame number of the fault frame subjected to the differential operation, acquiring the acquisition period corresponding to the fault information when the frame number is matched with the total number of faults, and caching the fault number corresponding to the frame number to acquire the fault number group.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring the fault state value for reflecting a fault state, wherein the fault state comprises fault occurrence and fault disappearance;
obtaining alarm time according to the acquisition time of the fault state value;
generating the alarm information according to the alarm time, the fault state value and the fault number group;
and inquiring and acquiring a solution corresponding to the alarm information according to the alarm information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
when the fault change is judged, generating the alarm information according to the fault number group, and decoding the alarm information to obtain the analysis information containing the fault type;
and judging whether to upload the alarm information and/or the analysis information according to the fault type so as to enable operation and maintenance personnel to check in real time.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A vehicle fault analysis method, comprising:
acquiring fault information, and converting the fault information according to a preset fault frame format to obtain a fault frame;
carrying out differential operation on the fault frames according to the acquisition sequence of the fault information to obtain differential information;
coding the differential information to obtain a fault number, and caching the fault number to obtain a fault number group;
judging whether fault change occurs according to the fault number group;
if yes, generating alarm information according to the fault number group, and decoding the alarm information to obtain analysis information.
2. The vehicle fault analysis method according to claim 1, wherein the determining whether a fault change occurs according to the fault number group includes:
acquiring an acquisition period of the fault information, wherein the acquisition period comprises a first period and a second period, and classifying the fault number groups according to the acquisition period to obtain a first fault number group corresponding to the first period and a second fault number group corresponding to the second period;
comparing the first fault number group with the second fault number group, and judging whether the first fault number group is matched with the second fault number group;
if not, judging that the fault change occurs, extracting difference data of the first fault number group and the second fault number group, and generating the alarm information according to the difference data.
3. The vehicle fault analysis method of claim 2, wherein the comparing the first and second fault number groups comprises:
comparing a first fault number in the first fault number group with a second fault number in a second fault number group;
and if the first fault number and the second fault number have different numbers, extracting the different numbers, and generating the alarm information according to the different numbers.
4. The vehicle fault analysis method of claim 2, wherein the comparing the first and second fault number groups comprises:
comparing the first fault number group with the second fault number group to obtain a comparison result;
judging whether the first fault number group is matched with the second fault number group according to the comparison result;
if not, judging that fault change occurs, extracting the difference data of the first fault number group and the second fault number group, generating the alarm information according to the difference data, wherein the alarm information comprises a fault state value, and adjusting the fault state value according to the comparison result.
5. The vehicle failure analysis method according to claim 2, wherein the acquisition cycle of acquiring the failure information includes:
obtaining the total number of faults according to the fault information, and carrying out differential operation on the fault frames according to the obtaining sequence of the fault information to obtain differential information;
coding the differential information to obtain the fault number;
and acquiring the frame number of the fault frame subjected to the differential operation, acquiring the acquisition period corresponding to the fault information when the frame number is matched with the total number of faults, and caching the fault number corresponding to the frame number to acquire the fault number group.
6. The vehicle fault analysis method of claim 4, wherein the generating the warning information from the difference data further comprises:
acquiring the fault state value for reflecting a fault state, wherein the fault state comprises fault occurrence and fault disappearance;
obtaining alarm time according to the acquisition time of the fault state value;
generating the alarm information according to the alarm time, the fault state value and the fault number group;
and inquiring and acquiring a solution corresponding to the alarm information according to the alarm information.
7. The vehicle fault analysis method according to claim 1, wherein the determining whether a fault change occurs according to the fault number group includes:
when the fault change is judged, generating the alarm information according to the fault number group, and decoding the alarm information to obtain the analysis information containing the fault type;
and judging whether to upload the alarm information and/or the analysis information according to the fault type so as to enable operation and maintenance personnel to check in real time.
8. A vehicle failure analysis apparatus, characterized in that the apparatus comprises:
the acquisition module is used for acquiring fault information and converting the fault information according to a preset fault frame format to obtain a fault frame;
the calculation module is used for carrying out differential operation on the fault frames according to the acquisition sequence of the fault information to obtain differential information;
coding the differential information to obtain a fault number, and caching the fault number to obtain a fault number group;
the judging module is used for judging whether fault change occurs according to the fault number group;
and the alarm module is used for generating alarm information according to the fault number group so as to decode the alarm information and obtain analysis information.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the vehicle fault analysis method according to any one of claims 1 to 7 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the vehicle fault analysis method according to any one of claims 1 to 7.
CN202210904094.XA 2022-07-29 2022-07-29 Vehicle fault analysis method, device, computer equipment and storage medium Active CN115410292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210904094.XA CN115410292B (en) 2022-07-29 2022-07-29 Vehicle fault analysis method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210904094.XA CN115410292B (en) 2022-07-29 2022-07-29 Vehicle fault analysis method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115410292A true CN115410292A (en) 2022-11-29
CN115410292B CN115410292B (en) 2023-10-27

Family

ID=84160397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210904094.XA Active CN115410292B (en) 2022-07-29 2022-07-29 Vehicle fault analysis method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115410292B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002056390A (en) * 2000-08-11 2002-02-20 Fujitsu General Ltd Image recognition device
CN101829689A (en) * 2010-03-31 2010-09-15 北京科技大学 Drift fault recognition method of hot-rolling strip steel based on sound signals
CN102541016A (en) * 2012-01-11 2012-07-04 沈阳中科正方新能源技术有限公司 Intelligent vehicle controller
CN105049348A (en) * 2014-04-28 2015-11-11 日立金属株式会社 Relay System and Switching Device
CN108955900A (en) * 2018-08-02 2018-12-07 华电福新能源股份有限公司古田溪水力发电厂 A kind of booster stations temperature measurement early warning system and method based on infrared thermal imaging
CN110017991A (en) * 2019-05-13 2019-07-16 山东大学 Rolling bearing fault classification method and system based on spectrum kurtosis and neural network
US20200074677A1 (en) * 2018-09-03 2020-03-05 Konica Minolta, Inc. Image display apparatus and radiation imaging system
JP6662485B1 (en) * 2019-10-11 2020-03-11 日本電気株式会社 Network management device, failure section determination method, and program
CN111277327A (en) * 2020-01-21 2020-06-12 国网四川省电力公司 Line protection communication channel fault area identification method
CN111694341A (en) * 2020-06-05 2020-09-22 中国第一汽车股份有限公司 Fault data storage method and device, vehicle-mounted equipment and storage medium
CN112182068A (en) * 2020-09-30 2021-01-05 重庆市海普软件产业有限公司 Remote fault judgment system and method based on Internet of things technology
CN112750149A (en) * 2021-01-16 2021-05-04 胡滨 High-voltage isolating switch fault monitoring method based on moving target detection
CN114338347A (en) * 2021-12-06 2022-04-12 南昌华勤电子科技有限公司 Ampere platform-based fault information out-of-band acquisition method and device

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002056390A (en) * 2000-08-11 2002-02-20 Fujitsu General Ltd Image recognition device
CN101829689A (en) * 2010-03-31 2010-09-15 北京科技大学 Drift fault recognition method of hot-rolling strip steel based on sound signals
CN102541016A (en) * 2012-01-11 2012-07-04 沈阳中科正方新能源技术有限公司 Intelligent vehicle controller
CN105049348A (en) * 2014-04-28 2015-11-11 日立金属株式会社 Relay System and Switching Device
CN108955900A (en) * 2018-08-02 2018-12-07 华电福新能源股份有限公司古田溪水力发电厂 A kind of booster stations temperature measurement early warning system and method based on infrared thermal imaging
US20200074677A1 (en) * 2018-09-03 2020-03-05 Konica Minolta, Inc. Image display apparatus and radiation imaging system
CN110017991A (en) * 2019-05-13 2019-07-16 山东大学 Rolling bearing fault classification method and system based on spectrum kurtosis and neural network
JP6662485B1 (en) * 2019-10-11 2020-03-11 日本電気株式会社 Network management device, failure section determination method, and program
CN111277327A (en) * 2020-01-21 2020-06-12 国网四川省电力公司 Line protection communication channel fault area identification method
CN111694341A (en) * 2020-06-05 2020-09-22 中国第一汽车股份有限公司 Fault data storage method and device, vehicle-mounted equipment and storage medium
CN112182068A (en) * 2020-09-30 2021-01-05 重庆市海普软件产业有限公司 Remote fault judgment system and method based on Internet of things technology
CN112750149A (en) * 2021-01-16 2021-05-04 胡滨 High-voltage isolating switch fault monitoring method based on moving target detection
CN114338347A (en) * 2021-12-06 2022-04-12 南昌华勤电子科技有限公司 Ampere platform-based fault information out-of-band acquisition method and device

Also Published As

Publication number Publication date
CN115410292B (en) 2023-10-27

Similar Documents

Publication Publication Date Title
CN110995468B (en) System fault processing method, device, equipment and storage medium of system to be analyzed
CN110427785B (en) Equipment fingerprint acquisition method and device, storage medium and electronic device
CN108347361B (en) Application program testing method and device, computer equipment and storage medium
CN108256322B (en) Security testing method and device, computer equipment and storage medium
CN110569389A (en) Environment monitoring method and device, computer equipment and storage medium
CN109598135B (en) Industrial control equipment operation and maintenance information storage method, device and system
CN108400978B (en) Vulnerability detection method and device, computer equipment and storage medium
CN110995720B (en) Encryption method, device, host terminal and encryption chip
CN111224782B (en) Data verification method based on digital signature, intelligent device and storage medium
CN109145651B (en) Data processing method and device
CN110995683A (en) Hardware information acquisition method and device based on Web page and computer equipment
CN112713996A (en) Fault verification method based on block chain, server and terminal
CN111752819B (en) Abnormality monitoring method, device, system, equipment and storage medium
CN115410292B (en) Vehicle fault analysis method, device, computer equipment and storage medium
CN110674511A (en) Offline data protection method and system based on elliptic curve encryption algorithm
CN109561093B (en) Unauthorized behavior detection method and device, computer equipment and storage medium
CN111897497A (en) Method and device for adding and decoding logs inside SSD, computer equipment and storage medium
CN111526122B (en) Method, device, equipment and medium for data monitoring
CN113595240B (en) Method, device, equipment and storage medium for detecting electric power data
CN117748745B (en) Method and system for optimizing and enhancing reliability of power distribution network
CN115242621B (en) Network private line monitoring method, device, equipment and computer readable storage medium
CN111522685B (en) Distributed storage method and apparatus, server, and computer-readable storage medium
CN112084518B (en) Safety identification method based on communication control module
CN113572599B (en) Power data transmission method, data source equipment and data access equipment
CN113489675B (en) Method, device, equipment and storage medium for detecting intrusion of power terminal

Legal Events

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

Effective date of registration: 20240118

Address after: No. 13 Xingxiang Road, Zengjia Town, High tech Zone, Jiulongpo District, Chongqing, 400039

Patentee after: Chongqing Selis Phoenix Intelligent Innovation Technology Co.,Ltd.

Address before: 610095 No. 2901, floor 29, unit 1, building 1, No. 151, Tianfu Second Street, high tech Zone, China (Sichuan) pilot Free Trade Zone, Chengdu, Sichuan Province

Patentee before: Chengdu Thalys Technology Co.,Ltd.

TR01 Transfer of patent right