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

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

Info

Publication number
CN115410292B
CN115410292B CN202210904094.XA CN202210904094A CN115410292B CN 115410292 B CN115410292 B CN 115410292B CN 202210904094 A CN202210904094 A CN 202210904094A CN 115410292 B CN115410292 B CN 115410292B
Authority
CN
China
Prior art keywords
fault
information
number group
fault number
alarm information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210904094.XA
Other languages
Chinese (zh)
Other versions
CN115410292A (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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

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: obtaining fault information, and converting the fault information according to a preset fault frame format to obtain a fault frame; performing 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. 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, device, computer equipment and storage medium
Technical Field
The present application relates to the field of vehicle security technologies, and in particular, to a vehicle failure method, device, computer equipment, and storage medium.
Background
The ECU (Electronic Control Unit ), also known as a driving computer, a vehicle-mounted computer and the like, generally has a fault diagnosis function, when a vehicle breaks down, the ECU can record fault codes, and operation and maintenance personnel can analyze the fault information through reading the fault codes on site and then maintain the fault information, but the maintenance process is very complicated, the time consumption is long, and the fault resolution efficiency is low.
In addition, in normal situations, the operation staff cannot learn the occurrence or disappearance of the fault code in real time, and the change of the fault code affects the maintenance of the vehicle by the maintenance staff.
Moreover, when the vehicle fails, the situation is uncontrollable, if the failure analysis efficiency is low, the failure analysis is not accurate enough, and the user cannot acquire the failure type and the failure processing mode at the first time of failure occurrence, so that the failure avoidance and processing are difficult to be performed in time, and the safety and personal safety of the vehicle are seriously affected.
Disclosure of Invention
Based on the method, the device, the computer equipment and the storage medium for analyzing the vehicle faults 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 embodiments of the present disclosure, there is provided a vehicle fault analysis method, the method including:
obtaining fault information, and converting the fault information according to a preset fault frame format to obtain a fault frame;
performing 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.
In one embodiment, determining whether a fault change occurs according to the fault number group includes:
acquiring the 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 or not;
if not, judging that the fault change occurs, 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 one embodiment, comparing the first and second failure number sets includes:
comparing the first fault number in the first fault number group with the second fault number in the second fault number group;
If the first fault number and the second fault number have different numbers, the different numbers are extracted, and the alarm information is generated according to the different numbers.
In one embodiment, comparing the first and second failure number sets includes:
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 the fault change occurs, 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, wherein the alarm information comprises a fault state value, and adjusting the fault state value according to the comparison result.
In one embodiment, the acquiring period for acquiring the fault information includes:
obtaining total faults according to the fault information, and carrying out differential operation on the fault frames according to the acquisition sequence of the fault information to obtain differential information;
encoding the differential information to obtain the fault number;
And acquiring a frame number of the fault frame for carrying out the differential operation, when the frame number is matched with the total number of faults, acquiring the acquisition period corresponding to the fault information, and caching the fault number corresponding to the frame number to acquire the fault number group.
In one embodiment, generating the alert information from 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, determining whether a fault change occurs according to the fault number group includes:
when judging that the fault change occurs, 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 embodiments of the present disclosure, there is provided a vehicle failure analysis apparatus, the 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 the 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 yet another aspect, 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 steps of:
obtaining fault information, and converting the fault information according to a preset fault frame format to obtain a fault frame;
performing 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.
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:
obtaining fault information, and converting the fault information according to a preset fault frame format to obtain a fault frame;
performing 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.
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 to obtain the fault frame so as to realize data arrangement; performing differential operation on the fault frames according to the acquisition sequence of the fault information to obtain differential information, and further obtaining the change of the fault frames; and coding the differential information to obtain a fault number, caching the fault number to obtain a fault number group, judging whether fault change occurs according to the fault number group to finish fault detection of the vehicle, and generating alarm information according to the fault number group if the fault change occurs so as to decode the alarm information to obtain analysis information to analyze the vehicle fault and determine the cause of the fault.
Drawings
FIG. 1 is an application environment diagram of a vehicle fault analysis method in one embodiment;
FIG. 2 is a flow chart of a method of vehicle fault analysis in one embodiment;
FIG. 3 is a schematic diagram of a differential operation process in one embodiment;
FIG. 4 is a schematic diagram of a differential fault code encoding process in one embodiment;
FIG. 5 is a block diagram showing a configuration of a vehicle failure analysis apparatus in one embodiment;
fig. 6 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The vehicle fault analysis method provided by the application can be applied to an application environment shown in figure 1. Wherein the vehicle 101 may communicate with the terminal 102 via a network and/or the vehicle 101 may communicate with the server 103 via a network. Obtaining fault information, and converting the fault information according to a preset fault frame format to obtain a fault frame; performing 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. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smartphones, tablet computers, and portable wearable devices, and the server 103 may be implemented by a stand-alone 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, and the method is applied to the vehicle 101 in fig. 1 for illustration, and includes the following steps:
step 201, obtaining fault information, and converting the fault information according to a preset fault frame format to obtain a fault frame.
The fault information comprises a fault code 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 information, which is not error data, but is a specific item specified in the bus protocol to point to the device fault. If a fault code occurs in bus communication, a user CAN trace the source through a bus protocol, and find out the problem of equipment, and the fault code is an important basis for automobile CAN bus detection by using USBCAN equipment. The failure frame is also calculated as a failure information.
Specifically, obtaining information such as time of occurrence of the fault, corresponding frame ID, total number of faults, frame serial number, provider code, fault code and the like, and obtaining a corresponding fault frame, wherein the frame ID is determined according to the elements and can be used for indicating a fault source (fault element) of the fault, namely judging which element or elements have faults according to the frame ID; the total number of faults represents the number of faults generated at the moment of occurrence of the faults; the frame sequence number is a number for sequencing the fault frames correspondingly according to the sequence of the acquired fault information; the provider code represents the provider of the component, that is, the provider corresponding to the fault source can be directly and clearly known according to the provider code, so that the fault solution can be directly obtained from the provider.
And 202, performing 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 obtaining differential data among fault frames, the differential result reflects the change among the fault frames, and the differential information comprises differential fault codes obtained according to the differential operation among the fault frames.
Referring to fig. 3, for a schematic diagram of obtaining differential information between fault frames, it should be noted that fig. 3 only shows a summary of obtaining differential information, and is not limited to a specific method in the process of obtaining differential information, where two fault frames in the drawing may be the same group of faults, and a corresponding fault number group may be obtained by encoding the group of faults, and fig. 3, it may be understood that a plurality of methods may be used to reflect a change between fault frames.
Further, illustratively, taking the change between the failed frames may use exclusive-or operations on the failed frames, such as: performing exclusive-or operation on a first fault code in the first fault frame and a second fault code in the second fault frame, wherein data bits of the first fault code and the second fault code in the respective fault frames are required to be corresponding, and if the exclusive-or result is 0, the first fault code and the second fault code are identical; if the exclusive or result is 1, the first fault code and the second fault code are different. Preferably, exclusive-or operation can be performed on all fault codes in the first fault frame and all fault codes in the second fault frame, if the fault codes are different (the exclusive-or result is 1), then exclusive-or operation is performed on the fault codes in the two fault frames according to the mutually corresponding data bits of the first fault frame and the second fault frame by bits, so that the data bits of the specific fault code with variation and the fault code with variation (i.e. the differential fault code) are determined.
Regarding the differential operation, the adaptive adjustment and the application can be performed according to the preferred mode of the exclusive or operation, that is, the two fault frames are first compared integrally, if there is a difference (abnormality), then compared according to the data bits, so as to improve the detection efficiency of the fault frames.
And 203, encoding 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, wherein encoding 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.
Illustratively, in digital electronic circuits, to accommodate computer data computation, to facilitate the handling and reading of data, the data may be represented in binary and/or hexadecimal during computation, for example: the differential information is encoded according to a preset encoding mode, referring to fig. 4, for a schematic encoding process of differential fault codes in the differential information, frame ID 65536+provider code 1024+differential fault code is used to obtain a fault number, where 65536 is 2 16 1024 is 2 10 If the differential fault code is "1", the frame ID is "0x999", the provider code is "0", the fault number obtained after the conversion of the coding method is "0x09990001", the coding method of other differential fault codes can refer to the foregoing method and the diagram, and it should be noted that, the description is omitted herein, fig. 4 shows a group of fault number groups corresponding to one acquisition period, and if the latter fault number group obtained according to the differential fault code of the latter group is compared with the fault number group, it can be known whether the fault state changes.
And 204, judging whether the fault change occurs according to the fault number group.
If no, it means that the fault information in the fault information acquisition period has not changed, and the next fault information acquisition period is entered, and it should be noted that the failure has not changed, not means that there is no fault, but that the same fault exists in the vehicle in the state before the vehicle is compared, or that the fault has not occurred in the state before the vehicle is compared.
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 method for decoding the alarm information is not limited to the above method, and the method for decoding the alarm information may be a method for decoding the alarm information in a vehicle or a method for decoding the alarm information in other devices with computing capabilities, such as a server and a terminal.
In the vehicle fault analysis method, the fault information is obtained and converted according to the preset fault frame format to obtain the fault frame so as to realize the arrangement of data; performing differential operation on the fault frames according to the acquisition sequence of the fault information to obtain differential information, and further obtaining the change of the fault frames; and coding the differential information to obtain a fault number, caching the fault number to obtain a fault number group, judging whether fault change occurs according to the fault number group to finish fault detection of the vehicle, and generating alarm information according to the fault number group if the fault change occurs so as to decode the alarm information to obtain analysis information, so that analysis of the vehicle fault is realized, the fault cause is clarified, and the analysis efficiency of the vehicle fault is improved.
In some embodiments, determining whether a fault change occurs based on the fault number set includes:
Acquiring the 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 or not;
if not, judging that the fault change occurs, 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.
The acquiring period refers to a time period corresponding to acquiring a plurality of pieces of fault information, and whether the acquiring period is completed and the corresponding acquiring period is obtained can be further judged by detecting whether the number of pieces of acquired fault information is consistent with the total number of faults of the pieces of fault information, or the corresponding acquiring period can be calculated by acquiring the acquiring time (fault occurrence time) in the fault information and then by at least one piece of fault acquiring time.
It should be noted that, the acquisition period may have one or more acquisition periods, and thus, the acquisition period may include, but is not limited to, a first period and a second period, and the "first" is not limited to, and is not necessarily the initial acquisition period, but is merely for convenience of illustration and distinction, and is still illustrated in the following first period and second period and the corresponding first failure number group and second failure number group.
The fault change comprises a fault state and/or a fault type change, 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 generates the fault change compared with the first fault number group, wherein the fault state change comprises the occurrence or disappearance of the fault, and the fault type change comprises the change of a fault code.
It should be noted that, the difference operation is performed on the fault frame to compare the fault frame, so as to determine whether a fault occurs or not, and obtain a fault code corresponding to the fault; the fault number groups are compared to know the change condition of the fault state, so that fault information is reflected deeply, and the effect of vehicle fault analysis is obviously improved.
In some embodiments, comparing the first failure number set and the second failure number set includes:
comparing the first fault number in the first fault number group with the second fault number in the second fault number group;
if the first fault number and the second fault number have different numbers, the different numbers are extracted, and the alarm information is generated according to the different numbers.
The fault number groups are compared, so that the change of the fault state is obtained, and the analysis of the vehicle fault is more accurate.
In some embodiments, comparing the first failure number set and the second failure number set includes:
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 the fault change occurs, 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, 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 corresponding change of the fault state, namely whether the fault occurs or disappears can be known according to the fault state value.
If the fault state is unchanged, it is indicated that the vehicle is not faulty or still maintains the original fault state, and it is not necessary to further extract the difference data and generate the alarm information.
In some embodiments, the acquiring the failure information comprises:
obtaining total faults according to the fault information, and carrying out differential operation on the fault frames according to the acquisition sequence of the fault information to obtain differential information;
encoding the differential information to obtain the fault number;
and acquiring a frame number of the fault frame for carrying out the differential operation, when the frame number is matched with the total number of faults, acquiring the acquisition period corresponding to the fault information, 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 special messages reported by the controller, and can be considered as the total number of fault codes for easy understanding.
The exemplary illustration is that, when an acquisition period of fault information starts, if the total number of faults of the fault information is N, the corresponding fault information is sequentially received, the fault numbers are obtained through the processing manner, the fault numbers are cached to the corresponding fault number groups, when the fault numbers corresponding to N fault frames already exist in the fault number groups, and/or the frame numbers of the fault frames corresponding to the fault numbers in the fault number groups are spliced from 1 to N in sequence, the completion of the acquisition of the fault number is indicated, and the acquisition period of the fault information is ended, so as to obtain the corresponding fault number groups and the acquisition period.
It should be noted that, the acquisition period may be preset, or may be determined according to the situation that the vehicle actually reports and acquires the fault, which is not limited herein, for example, in the process of acquiring the fault information, if there is no transmission and/or no reception of the fault information within a period of time (for easy understanding, hereinafter referred to as an idle period), the period from the time when the fault information is received last to the time when the idle period just begins is considered as 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 preset solution is not found and the alarm information is processed.
In some embodiments, determining whether a fault change occurs based on the fault number set includes:
when judging that the fault change occurs, 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.
Wherein, according to the decoding of the alarm information, a decoding mode corresponding to the encoding mode in the above embodiment is needed to ensure the information security.
Preferably, when generating the alarm information, the alarm information may be encrypted by setting a key, which is illustrated in an exemplary manner, and when generating the alarm information, the alarm information is encrypted by setting a public key; when the alarm information is decoded, the alarm information can be decrypted by using a private key corresponding to the public key, and the subsequent decoding step is smoothly carried out.
Preferably, when generating the alarm information, hash operation is performed on the alarm information through a hash function to obtain a hash value corresponding to the alarm information, and before decoding the alarm information, hash verification is required to be performed to check whether the provided hash value to be detected is correct or not, so as to determine whether a subsequent decoding step can be normally performed.
It should be understood that, although the steps in the flowcharts in the above embodiments are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the figures may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of other steps or other steps.
In one embodiment, as shown in fig. 5, there is provided a vehicle failure analysis apparatus including: the system 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 the 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 acquisition module is further used for acquiring an acquisition period of the fault information, wherein the acquisition period comprises a first period and a second period, and the fault number groups are classified 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 or not;
and the alarm module is also used for judging that the fault change occurs if not, 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 the first fault number in the first fault number group with the second fault number in the second fault number group;
and the alarm module is also 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 the fault change occurs if not, 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, 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 faults according to the fault information;
The calculation module is further used for carrying out the differential operation on the fault frame according to the acquisition sequence of the fault information to obtain the differential information;
encoding the differential information to obtain the fault number;
and acquiring a frame number of the fault frame for carrying out the differential operation, when the frame number is matched with the total number of faults, acquiring the acquisition period corresponding to the fault information, 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 for reflecting the 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 also comprises a query module, wherein the query module is used for querying 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 judging that the fault change occurs, and decoding the alarm information to obtain 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 key setting mode 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.
The decryption module is used for decrypting the encrypted alarm information in a key mode and/or carrying out 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 generating the alert information, a public key may be set to encrypt the alert information; when decoding the alarm information, the alarm information can be decrypted by using a private key corresponding to the public key, and the subsequent decoding steps can be smoothly carried out,
and/or when generating the alarm information, carrying out hash operation on the alarm information through a hash function to obtain a hash value corresponding to the alarm information, and carrying out hash verification before decoding the alarm information to check whether the provided hash value to be detected is correct or not, so as to determine whether a subsequent decoding step can be normally carried out or not.
The specific limitation regarding the vehicle failure analysis apparatus may be referred to the limitation regarding the vehicle failure analysis method hereinabove, and will not be described in detail herein. Each of the modules in the above-described vehicle failure analysis apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which 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 includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing relevant data for analyzing the 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.
It will be appreciated by those skilled in the art that the structure shown in FIG. 6 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the 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 steps of when executing the computer program:
obtaining fault information, and converting the fault information according to a preset fault frame format to obtain a fault frame;
performing 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.
In one embodiment, the processor when executing the computer program further performs the steps of:
acquiring the 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 or not;
if not, judging that the fault change occurs, 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 one embodiment, the processor when executing the computer program further performs the steps of:
comparing the first fault number in the first fault number group with the second fault number in the second fault number group;
if the first fault number and the second fault number have different numbers, the different numbers are extracted, and the alarm information is generated 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 the fault change occurs, 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, 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 total faults according to the fault information, and carrying out differential operation on the fault frames according to the acquisition sequence of the fault information to obtain differential information;
encoding the differential information to obtain the fault number;
and acquiring a frame number of the fault frame for carrying out the differential operation, when the frame number is matched with the total number of faults, acquiring the acquisition period corresponding to the fault information, 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 judging that the fault change occurs, 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:
obtaining fault information, and converting the fault information according to a preset fault frame format to obtain a fault frame;
Performing 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.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring the 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 or not;
if not, judging that the fault change occurs, 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 one embodiment, the computer program when executed by the processor further performs the steps of:
comparing the first fault number in the first fault number group with the second fault number in the second fault number group;
if the first fault number and the second fault number have different numbers, the different numbers are extracted, and the alarm information is generated 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 the fault change occurs, 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, 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 total faults according to the fault information, and carrying out differential operation on the fault frames according to the acquisition sequence of the fault information to obtain differential information;
Encoding the differential information to obtain the fault number;
and acquiring a frame number of the fault frame for carrying out the differential operation, when the frame number is matched with the total number of faults, acquiring the acquisition period corresponding to the fault information, 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 judging that the fault change occurs, 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.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile 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), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (10)

1. A vehicle failure analysis method, characterized by comprising:
obtaining fault information, and converting the fault information according to a preset fault frame format to obtain a fault frame;
performing 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 a fault change occurs according to the fault number group, wherein an acquisition period of the fault information is acquired, wherein the acquisition period comprises a first period and a second period, and classifying 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; 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 or not;
if the fault changes, generating alarm information according to the fault number group so as to decode the alarm information to obtain analysis information.
2. The vehicle failure analysis method according to claim 1, characterized in that the determining whether the first failure number group and the second failure number group match includes:
if not, judging that the fault change occurs, 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.
3. The vehicle fault analysis method of claim 2, wherein the comparing the first fault number set and the second fault number set comprises:
Comparing the first fault number in the first fault number group with the second fault number in the second fault number group;
if the first fault number and the second fault number have different numbers, the different numbers are extracted, and the alarm information is generated according to the different numbers.
4. The vehicle fault analysis method of claim 2, wherein the comparing the first fault number set and the second fault number set 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 the fault change occurs, 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, 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, characterized in that the acquisition cycle of acquiring the failure information includes:
Obtaining total faults according to the fault information, and carrying out differential operation on the fault frames according to the acquisition sequence of the fault information to obtain differential information;
encoding the differential information to obtain the fault number;
and acquiring a frame number of the fault frame for carrying out the differential operation, when the frame number is matched with the total number of faults, acquiring the acquisition period corresponding to the fault information, and caching the fault number corresponding to the frame number to acquire the fault number group.
6. The vehicle failure analysis method according to claim 4, characterized in that the generating the warning information from 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.
7. The vehicle failure analysis method according to claim 1, wherein the determining whether a failure change occurs according to the failure number group includes:
When judging that the fault change occurs, 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 device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring fault information, converting the fault information according to a preset fault frame format to obtain a fault frame, and acquiring an acquisition period of the fault information, wherein the acquisition period comprises a first period and a second period;
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;
encoding the differential information to obtain a fault number, and caching the fault number to obtain a fault number group, wherein the fault number group is classified 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 used for judging whether the fault change occurs according to the fault number group, wherein the first fault number group and the second fault number group are compared, and whether the first fault number group and the second fault number group are matched is judged;
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 processor implements the steps of the vehicle fault analysis method of any one of claims 1 to 7 when the computer program is executed.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the vehicle failure 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 CN115410292A (en) 2022-11-29
CN115410292B true 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 (12)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6879277B2 (en) * 2018-09-03 2021-06-02 コニカミノルタ株式会社 Image display device, radiography system, image display program and image display method

Patent Citations (12)

* 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
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
CN115410292A (en) 2022-11-29

Similar Documents

Publication Publication Date Title
CN111475324B (en) Log information analysis method, device, computer equipment and storage medium
CN113157524B (en) Big data based exception problem solving method, system, equipment and storage medium
CN110569389A (en) Environment monitoring method and device, computer equipment and storage medium
CN110502889B (en) Login method, login device, computer readable storage medium and computer equipment
CN113448817A (en) Page screen recording method and device and storage medium
CN111224782B (en) Data verification method based on digital signature, intelligent device and storage medium
CN115410292B (en) Vehicle fault analysis method, device, computer equipment and storage medium
CN117640150A (en) Terminal authentication method, carbon emission supervision integrated platform and terminal authentication device
CN111752819B (en) Abnormality monitoring method, device, system, equipment and storage medium
CN112713996A (en) Fault verification method based on block chain, server and terminal
CN115589298B (en) Method, device, system, equipment and medium for verifying information of block chain
CN108376212B (en) Execution code security protection method and device and electronic device
CN115242621B (en) Network private line monitoring method, device, equipment and computer readable storage medium
CN110674511A (en) Offline data protection method and system based on elliptic curve encryption algorithm
CN114979109A (en) Behavior track detection method and device, computer equipment and storage medium
CN111526122B (en) Method, device, equipment and medium for data monitoring
CN112733166A (en) license authentication and authorization function realization method and system
CN111522685B (en) Distributed storage method and apparatus, server, and computer-readable storage medium
CN114095175B (en) Gray-check-capable data confidentiality method, device and storage medium
CN117748745B (en) Method and system for optimizing and enhancing reliability of power distribution network
CN114928551B (en) System configuration method, device and storage medium
CN109960922B (en) Method and device for identifying newly activated equipment
CN113572599B (en) Power data transmission method, data source equipment and data access equipment
CN115460052B (en) Remote instruction processing method, device, computer equipment and storage medium
CN112084518B (en) Safety identification method based on communication control module

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