CN116954184A - Vehicle fault diagnosis method and device, communication equipment and readable storage medium - Google Patents

Vehicle fault diagnosis method and device, communication equipment and readable storage medium Download PDF

Info

Publication number
CN116954184A
CN116954184A CN202210836021.1A CN202210836021A CN116954184A CN 116954184 A CN116954184 A CN 116954184A CN 202210836021 A CN202210836021 A CN 202210836021A CN 116954184 A CN116954184 A CN 116954184A
Authority
CN
China
Prior art keywords
fault
vehicle
data table
diagnosis unit
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210836021.1A
Other languages
Chinese (zh)
Inventor
鲁飞
谭武功
周兆熊
程明强
郎森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile IoT Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile IoT 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 China Mobile Communications Group Co Ltd, China Mobile IoT Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202210836021.1A priority Critical patent/CN116954184A/en
Publication of CN116954184A publication Critical patent/CN116954184A/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Vehicle Cleaning, Maintenance, Repair, Refitting, And Outriggers (AREA)

Abstract

The application provides a vehicle fault diagnosis method, a device, communication equipment and a readable storage medium, which relate to the technical field of vehicles and are applied to vehicles, wherein the vehicle comprises a fault diagnosis unit, a controller and at least one electric device, and the fault diagnosis unit and the at least one electric device are respectively and electrically connected with the controller, and the method comprises the following steps: under the condition that the first electric device has a preset fault, receiving a target fault code sent by the controller based on the fault diagnosis unit, wherein the target fault code is as follows: under the condition that the controller receives a first fault code sent by a first electric device, a second fault code obtained after the first fault code is subjected to standardized conversion based on a preset first data table; and inquiring in a second data table based on the target fault code to obtain fault processing data. According to the application, the standardized target fault code is confirmed through the first data table, and then the fault processing data is confirmed through the second data table, so that the diagnosis efficiency is improved.

Description

Vehicle fault diagnosis method and device, communication equipment and readable storage medium
Technical Field
The present application relates to the field of vehicle technologies, and in particular, to a vehicle diagnosis method, a device, an electronic apparatus, and a readable storage medium.
Background
With the development of technology, the number of electric devices on electric motorcycles is also increasing, so as to realize different functional requirements. However, in the prior art, the communication protocols and interfaces of different electric systems in the electric motorcycle have differences, so that when the electric devices are abnormal, only maintenance personnel can manually diagnose the electric systems, and the problem of low diagnosis efficiency exists.
Therefore, the problem of low abnormality diagnosis efficiency of electric devices of the electric motorcycle exists in the prior art.
Disclosure of Invention
The embodiment of the application provides a vehicle fault diagnosis method, a vehicle fault diagnosis device, electronic equipment and a readable storage medium, which are used for solving the problem of low abnormality diagnosis efficiency of electric devices of an electric motorcycle in the prior art.
To solve the above problems, the present application is achieved as follows:
in a first aspect, an embodiment of the present application provides a vehicle fault diagnosis method, applied to a vehicle, where the vehicle includes a fault diagnosis unit, a controller, and at least one electrical device, the fault diagnosis unit and the at least one electrical device are electrically connected to the controller, respectively, and the method includes:
under the condition that a first electric device has a preset fault, receiving a target fault code sent by the controller based on the fault diagnosis unit, wherein the target fault code is as follows: under the condition that the controller receives a first fault code sent by the first electric device, a second fault code obtained after standardized conversion of the first fault code is carried out on the basis of a preset first data table; the first data table comprises a corresponding relation between the first fault code and the second fault code, the first fault code is a fault code of the first electrical device, the second fault code is a standardized code in the fault diagnosis unit, and the first electrical device is any one of the at least one electrical device;
and inquiring in a second data table based on the target fault code to obtain fault processing data, wherein the fault processing data are used for repairing the preset fault in the vehicle, and the second data table comprises the corresponding relation between the fault processing data and the second fault code.
In a second aspect, an embodiment of the present application further provides a vehicle diagnostic apparatus applied to a vehicle including a fault diagnosis unit, a controller, and at least one electric device, the fault diagnosis unit and the at least one electric device being electrically connected to the controller, respectively, the apparatus including:
the receiving module is used for receiving a target fault code sent by the controller under the condition that a preset fault exists in the first electric device, wherein the target fault code is as follows: under the condition that the controller receives a first fault code sent by the first electric device, a second fault code obtained after standardized conversion of the first fault code is carried out on the basis of a preset first data table; the first data table comprises a corresponding relation between the first fault code and the second fault code, the first fault code is a fault code of the first electrical device, the second fault code is a standardized code in the fault diagnosis unit, and the first electrical device is any one of the at least one electrical device;
and the confirmation module is used for inquiring in a second data table based on the target fault code to obtain fault processing data, wherein the fault processing data are used for repairing the preset fault in the vehicle, and the second data table comprises the corresponding relation between the fault processing data and the second fault code.
In a third aspect, an embodiment of the present application further provides a vehicle fault diagnosis apparatus, including a transceiver and a processor,
the transceiver is configured to receive, based on the fault diagnosis unit, a target fault code sent by the controller when a preset fault exists in the first electrical device, where the target fault code is: under the condition that the controller receives a first fault code sent by the first electric device, a second fault code obtained after standardized conversion of the first fault code is carried out on the basis of a preset first data table; the first data table comprises a corresponding relation between the first fault code and the second fault code, the first fault code is a fault code of the first electrical device, the second fault code is a standardized code in the fault diagnosis unit, and the first electrical device is any one of the at least one electrical device;
the processor is configured to query in a second data table based on the target fault code to obtain fault handling data, where the fault handling data is used to repair the preset fault in the vehicle, and the second data table includes a correspondence between the fault handling data and a second fault code.
In a fourth aspect, an embodiment of the present application further provides a communication device, including: a processor, a memory, and a program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the vehicle fault diagnosis method as described in the first aspect above.
In a fifth aspect, an embodiment of the present application further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the vehicle fault diagnosis method according to the first aspect described above.
In the embodiment of the application, the standardized target fault code is confirmed through the first data table, and then the fault processing data is confirmed through the second data table and the target fault code, so that the fault processing data can repair the fault of the vehicle, thereby improving the diagnosis efficiency.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments of the present application will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort to a person of ordinary skill in the art.
FIG. 1 is a flow chart of a vehicle fault diagnosis method provided by an embodiment of the present application;
fig. 2 is a schematic diagram of a fault diagnosis unit according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a tree topology communication method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a communication scheme of a star topology according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a communication scheme of a heterogeneous star topology according to an embodiment of the present application;
fig. 6 is a structural diagram of a vehicle fault diagnosis apparatus provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a communication device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Referring to fig. 1, fig. 1 is a flowchart of a vehicle fault diagnosis method provided in an embodiment of the present application, where the vehicle fault diagnosis method is applied to a vehicle, the vehicle includes a fault diagnosis unit, a controller, and at least one electrical device, and the fault diagnosis unit and the at least one electrical device are electrically connected to the controller, respectively, as shown in fig. 1, and the vehicle fault diagnosis method includes the steps of:
step S101, when a first electrical device has a preset fault, receiving, based on the fault diagnosis unit, a target fault code sent by the controller, where the target fault code is: under the condition that the controller receives a first fault code sent by the first electric device, a second fault code obtained after standardized conversion of the first fault code is carried out on the basis of a preset first data table; the first data table comprises a corresponding relation between the first fault code and the second fault code, the first fault code is a fault code of the first electrical device, the second fault code is a standardized code in the fault diagnosis unit, and the first electrical device is any one of the at least one electrical device.
It should be appreciated that each electrical device of the vehicle is connected to the controller, and that a predetermined fault code for each electrical device is received based on the controller. The preset fault code may be an industry standard fault code or may be a non-standard fault code. A predetermined fault code corresponds to a predetermined fault type. And under the condition that the electric device has a preset fault, the controller receives a fault code corresponding to the preset fault of the electric device, namely a first fault code, and converts the first fault code into a standardized code, namely a second fault code according to the first data table.
Wherein the first fault code corresponds to the second fault code one by one.
The fault diagnosis unit is a terminal (may also be referred to as a User Equipment (UE)), and the terminal may be a mobile phone, a tablet (Tablet Personal Computer), a Laptop (Laptop Computer), a personal digital assistant (Personal Digital Assistant, PDA), a mobile internet Device (Mobile Internet Device, MID), a Wearable Device (webable Device), a vehicle-mounted Device, or the like.
It can be understood that the fault diagnosis unit can only process the standardized code, and in the case that the electrical device has a preset fault, the first fault code sent by the electrical device may be a non-standardized code, and the first fault code needs to be processed after being converted into the standardized code based on the first data table by the controller.
It should be understood that referring to fig. 2, fig. 2 is a schematic diagram of a fault diagnosis unit, and as shown in fig. 2, a controller may be directly connected to the fault diagnosis unit, or may be connected to another controller, including various connection manners. And under the condition that the first controller is connected with the second controller and the second controller is directly connected with the fault diagnosis unit, the first controller sends a fault code to the second controller, wherein the fault code can be a non-standardized code or a standardized code. And the controller directly connected with the fault diagnosis unit also converts the fault code based on the second data table after receiving the code, obtains a standardized fault code and sends the standardized fault code to the fault diagnosis unit.
The specific connection manner of the controller and the fault diagnosis unit is described in detail in the following embodiments.
Step S102, inquiring in a second data table based on the target fault code to obtain fault processing data, wherein the fault processing data are used for repairing the preset fault in the vehicle, and the second data table comprises the corresponding relation between the fault processing data and the second fault code.
The fault processing data is used for repairing preset faults in the vehicle, and can be a preset processing scheme or a set related parameter adjustment method.
It may be appreciated that the correspondence between the fault handling data in the second data table and the second fault code may include a correspondence between one second fault code and at least one fault handling data, and one second fault code may correspond to a plurality of fault handling data.
In this embodiment, the standardized target fault code is confirmed through the first data table, and then the fault processing data is confirmed through the second data table and the target fault code, so that the fault processing data can repair the fault of the vehicle, and the diagnosis efficiency is improved.
In one embodiment, before the fault diagnosis unit receives the standard fault code sent by the controller, in the case that the first electrical device has a preset fault, the method further includes:
acquiring the first data table and the second data table corresponding to a model of the vehicle based on the fault diagnosis unit;
the first data table is transmitted to the controller based on the failure diagnosis unit.
It will be appreciated that there is also a distinction between electrical devices in different types of electric motor vehicles, and that the first and second data tables in the fault diagnosis unit need to be set to content adapted to the type of vehicle before the fault diagnosis unit diagnoses the electrical devices.
In this embodiment, the first data table and the second data table are acquired from the server based on the fault diagnosis unit, and the server stores the first data table and the second data table corresponding to all vehicle types, and the fault diagnosis unit only needs to acquire the first data table and the second data table corresponding to the vehicle types of the vehicle, thereby saving the storage space.
The first data table is used when the controller performs standardized code conversion, and the fault diagnosis unit is required to send the first data table to the controller.
It will be appreciated that the electrical devices to which the different controllers are connected will also differ, as will the number of first fault codes received. In order to reduce the burden of the controller, the first data table comprises a plurality of sub-tables, and the fault diagnosis unit sends the sub-tables to the corresponding controllers according to the controller identifiers.
The fault diagnosis unit sends a sub-table corresponding to the controller according to the physical address.
It should be appreciated that there are a variety of ways in which the controller may be connected to the fault diagnosis unit, including both directly to the fault diagnosis unit and not directly to the fault diagnosis unit. In this embodiment only the first data table is sent to the controller directly connected to the fault diagnosis unit.
In one embodiment, the fault diagnosis-based unit acquires the first data table and the second data table corresponding to a model of the vehicle, including:
transmitting authentication request information to a server based on the fault diagnosis unit, wherein the authentication request information comprises vehicle type information;
under the condition that the vehicle type of the vehicle is determined to be a preset vehicle type based on the server, an Over-the-Air Technology (OTA) channel between the fault diagnosis unit and the server is established, wherein the preset vehicle type is a vehicle type in which the server stores the first data table and the second data table in advance;
and downloading the first data table and the second data table from the server by using the OTA channel based on the fault diagnosis unit.
It can be understood that the server authenticates the vehicle type of the vehicle through the set authentication white list, and establishes the OTA channel through authentication under the condition that the vehicle type information included in the received authentication request information belongs to the vehicle type in the authentication white list.
It can be understood that the authentication request information may further include a hardware identification code of the fault diagnosis unit, and after the server receives the authentication request information, the hardware identification code of the fault diagnosis unit is verified, and authentication is passed under the condition that the verification is complete, so as to improve security.
The server is internally provided with data such as a first data table and a second data table corresponding to vehicles of different vehicle types, an authentication white list and the like.
In this embodiment, the OTA technology is mature, and the fault diagnosis unit downloads the first data table and the second data table corresponding to the vehicle type of the vehicle through the OTA channel, so as to reduce cost and save resources.
It can be understood that when the first data table and the second data table corresponding to the vehicle type are changed, the fault diagnosis unit can update the file through the OTA channel.
In one embodiment, before the sending the first data table to the controller based on the fault diagnosis unit, the method further includes:
downloading an on-vehicle communication protocol configuration file from the server by using the OTA channel based on the fault diagnosis unit, wherein the on-vehicle communication protocol configuration file is used for representing a communication protocol between the fault diagnosis unit and the controllers with different interface types;
and the fault diagnosis unit establishes a communication relation with the controller of the vehicle according to the vehicle-mounted communication protocol configuration file.
It CAN be appreciated that the fault diagnosis unit needs to be adapted to different types of vehicles, but for electric motorcycle, the vehicle interfaces are more, including a CAN interface, a K interface, an RS485 interface and a line-through interface. For different interfaces, the configuration parameters required to establish the communication relationship are also different. In this embodiment, the configuration file of the vehicle-mounted communication protocol is downloaded through the OTA channel, and related hardware communication pins are configured, so that the communication configuration of the fault diagnosis unit and different types of electric motorcycle is realized.
It CAN be understood that the fault diagnosis unit is provided with communication interfaces which are matched with different interfaces such as a CAN interface, a K interface, an RS485 interface, a line communication interface and the like.
In one embodiment, as shown in fig. 3, 4 and 5, the fault diagnosis unit, the controller and the at least one electrical device are connected by a target communication mode, wherein the target communication mode is any one of the following communication modes:
the fault diagnosis unit is a root node in the tree topology structure in a tree topology structure communication mode;
the fault diagnosis unit is a central node in the star topology structure in a star topology structure communication mode;
and the fault diagnosis unit is a central node in the heterogeneous star topology structure communication mode.
Referring to fig. 3, fig. 3 is a schematic diagram of a tree topology communication manner, and the fault diagnosis unit is taken as a root node in the tree topology, so that the controller is directly connected with the fault diagnosis unit as many as possible, and the efficiency of data transmission is improved.
Referring to fig. 4, fig. 4 is a schematic diagram of a communication manner of a star topology, and the fault diagnosis unit is a central node in the star topology, so that the controller is directly connected with the fault diagnosis unit as much as possible, and the efficiency of data transmission is improved.
Referring to fig. 5, fig. 5 is a schematic diagram of a communication manner of a heterogeneous star topology, and the fault diagnosis unit is a central node in the heterogeneous star topology, so that the controller is directly connected with the fault diagnosis unit as many as possible, and the efficiency of data transmission is improved.
In one embodiment, as shown in fig. 2, the vehicle further includes a display unit, where the display unit is connected to the fault diagnosis unit, and after the querying in the second data table based on the standard fault code, the method further includes:
the fault diagnosis unit sends the fault processing data to the display unit, and the display unit is used for displaying the fault processing data.
In the embodiment, after the display unit displays the fault processing data, a user or a maintenance person can conveniently and rapidly locate and maintain the fault of the electric device of the vehicle.
It will be appreciated that the display unit may be integrated with the fault diagnosis unit on one terminal.
Referring to fig. 6, fig. 6 is a block diagram of a vehicle fault diagnosis apparatus according to an embodiment of the present application, and as shown in fig. 6, a vehicle fault diagnosis apparatus 600 includes:
the receiving module 601 is configured to receive, when a preset fault exists in the first electrical device, a target fault code sent by the controller, where the target fault code is: under the condition that the controller receives a first fault code sent by the first electric device, a second fault code obtained after standardized conversion of the first fault code is carried out on the basis of a preset first data table; the first data table comprises a corresponding relation between the first fault code and the second fault code, the first fault code is a fault code of the first electric device, the second fault code is a standardized code in the fault diagnosis unit, and the first electric device is any one of at least one electric device;
the confirmation module 602 is configured to query, based on the target fault code, a second data table to obtain fault handling data, where the fault handling data is used to repair the preset fault in the vehicle, and the second data table includes a correspondence between the fault handling data and a second fault code.
In one embodiment, before the receiving module 601, the apparatus further comprises:
a first acquisition module configured to acquire the first data table and the second data table corresponding to a vehicle type of the vehicle;
and the first sending module is used for sending the first data table to the controller.
In one embodiment, the first acquisition module includes:
the first sending unit is used for sending authentication request information to the server, wherein the authentication request information comprises vehicle type information;
the processing unit is used for establishing an over-the-air OTA channel between the fault diagnosis unit and the server under the condition that the vehicle type of the vehicle is determined to be a preset vehicle type based on the server, wherein the preset vehicle type is a vehicle type in which the server stores the first data table and the second data table in advance;
and the acquisition unit is used for downloading the first data table and the second data table from the server by utilizing the OTA channel.
In one embodiment, before the first sending module, the apparatus further includes:
the second acquisition module is used for downloading an on-vehicle communication protocol configuration file from the server by utilizing the OTA channel, and the on-vehicle communication protocol configuration file is used for representing a communication protocol between the fault diagnosis unit and the controllers with different interface types;
and the processing module is used for establishing a communication relation with the controller of the vehicle according to the vehicle-mounted communication protocol configuration file.
In one embodiment, the fault diagnosis unit, the controller and the at least one electrical device are connected by a target communication means, wherein the target communication means is any one of the following communication means:
the fault diagnosis unit is a root node in the tree topology structure in a tree topology structure communication mode;
the fault diagnosis unit is a central node in the star topology structure in a star topology structure communication mode;
and the fault diagnosis unit is a central node in the heterogeneous star topology structure communication mode.
In one embodiment, after the confirmation module 602, the apparatus further comprises:
the second sending module is used for sending the fault processing data to the display unit, and the display unit is used for displaying the fault processing data.
The vehicle fault diagnosis device provided by the embodiment of the application can realize the processes of the embodiments of the method applied to the vehicle fault diagnosis device, has the technical characteristics corresponding to one another, can achieve the same technical effect, and is not repeated here for avoiding repetition.
The embodiment of the application also provides a communication device, which comprises: a processor, a memory, and a program stored in the memory and executable on the processor, the program when executed by the processor implementing the steps of the vehicle fault diagnosis apparatus method described above.
In particular, referring to fig. 7, an embodiment of the present application further provides a schematic structural diagram of a communication device, including a bus 701, a transceiver 702, an antenna 703, a bus interface 704, a processor 705, and a memory 706.
The transceiver is configured to receive, when a preset fault exists in the first electrical device, a target fault code sent by the controller, where the target fault code is: under the condition that the controller receives a first fault code sent by the first electric device, a second fault code obtained after standardized conversion of the first fault code is carried out on the basis of a preset first data table; the first data table comprises a corresponding relation between the first fault code and the second fault code, the first fault code is a fault code of the first electric device, the second fault code is a standardized code in the fault diagnosis unit, and the first electric device is any one of at least one electric device;
the processor is configured to query in a second data table based on the target fault code to obtain fault handling data, where the fault handling data is used to repair the preset fault in the vehicle, and the second data table includes a correspondence between the fault handling data and a second fault code.
In one embodiment, the transceiver is further configured to obtain the first data table and the second data table corresponding to a model of the vehicle;
the transceiver is further configured to send the first data table to the controller.
In one embodiment, the transceiver is further configured to send authentication request information to a server, where the authentication request information includes vehicle type information;
the processor is further configured to establish an over-the-air technology OTA channel between the fault diagnosis unit and the server when the model of the vehicle is determined to be a preset model based on the server, where the preset model is a model in which the server stores the first data table and the second data table in advance;
the transceiver is further configured to download the first data table and the second data table from the server using the OTA channel.
In one embodiment, the transceiver is further configured to download an on-board communication protocol configuration file from the server using the OTA channel, where the on-board communication protocol configuration file is used to characterize a communication protocol between the fault diagnosis unit and the controllers of different interface types;
the processor is further configured to establish a communication relationship with the controller of the vehicle according to the vehicle-mounted communication protocol configuration file.
In one embodiment, the fault diagnosis unit, the controller and the at least one electrical device are connected by a target communication means, wherein the target communication means is any one of the following communication means:
the fault diagnosis unit is a root node in the tree topology structure in a tree topology structure communication mode;
the fault diagnosis unit is a central node in the star topology structure in a star topology structure communication mode;
and the fault diagnosis unit is a central node in the heterogeneous star topology structure communication mode.
In one embodiment, the transceiver is further configured to send the fault handling data to the display unit, where the display unit is configured to display the fault handling data.
In FIG. 7, a bus architecture (represented by bus 701), the bus 701 may include any number of interconnected buses and bridges, with the bus 701 linking together various circuits, including one or more processors, represented by the processor 705, and memory, represented by the memory 706. The bus 701 may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein. Bus interface 704 provides an interface between bus 701 and transceiver 702. The transceiver 702 may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 705 is transmitted over a wireless medium via the antenna 703, and further, the antenna 703 receives and transmits data to the processor 705.
The processor 705 is responsible for managing the bus 701 and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 706 may be used to store data used by processor 705 in performing operations.
Alternatively, the processor 705 may be a CPU, ASIC, FPGA or CPLD.
The embodiment of the application also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the processes of the above-mentioned embodiments of the vehicle fault diagnosis method, and can achieve the same technical effects, so that repetition is avoided, and no further description is given here. Among them, a computer-readable storage medium such as Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk, and the like.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described example method may be implemented by means of software plus a necessary general hardware platform, but of course also by means of hardware, although in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a second terminal device, etc.) to perform the method of the various embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (15)

1. A vehicle fault diagnosis method applied to a vehicle, characterized in that the vehicle includes a fault diagnosis unit, a controller, and at least one electric device, the fault diagnosis unit and the at least one electric device being electrically connected to the controller, respectively, the method comprising:
under the condition that a first electric device has a preset fault, receiving a target fault code sent by the controller based on the fault diagnosis unit, wherein the target fault code is as follows: under the condition that the controller receives a first fault code sent by the first electric device, a second fault code obtained after standardized conversion of the first fault code is carried out on the basis of a preset first data table; the first data table comprises a corresponding relation between the first fault code and the second fault code, the first fault code is a fault code of the first electrical device, the second fault code is a standardized code in the fault diagnosis unit, and the first electrical device is any one of the at least one electrical device;
and inquiring in a second data table based on the target fault code to obtain fault processing data, wherein the fault processing data are used for repairing the preset fault in the vehicle, and the second data table comprises the corresponding relation between the fault processing data and the second fault code.
2. The method according to claim 1, wherein, in case of a preset fault in the first electrical device, before receiving the standard fault code sent by the controller based on the fault diagnosis unit, the method further comprises:
acquiring the first data table and the second data table corresponding to a model of the vehicle based on the fault diagnosis unit;
the first data table is transmitted to the controller based on the failure diagnosis unit.
3. The method according to claim 2, wherein the obtaining the first data table and the second data table corresponding to the model of the vehicle based on the failure diagnosis unit includes:
transmitting authentication request information to a server based on the fault diagnosis unit, wherein the authentication request information comprises vehicle type information;
under the condition that the vehicle type of the vehicle is determined to be a preset vehicle type based on the server, an over-the-air OTA channel between the fault diagnosis unit and the server is established, wherein the preset vehicle type is a vehicle type in which the server stores the first data table and the second data table in advance;
and downloading the first data table and the second data table from the server by using the OTA channel based on the fault diagnosis unit.
4. The method of claim 3, wherein before the sending the first data table to the controller based on the fault diagnosis unit, the method further comprises:
downloading an on-vehicle communication protocol configuration file from the server by using the OTA channel based on the fault diagnosis unit, wherein the on-vehicle communication protocol configuration file is used for representing a communication protocol between the fault diagnosis unit and the controllers with different interface types;
and the fault diagnosis unit establishes a communication relation with the controller of the vehicle according to the vehicle-mounted communication protocol configuration file.
5. The method of claim 1, wherein the fault diagnosis unit, the controller and the at least one electrical device are connected by a target communication means, wherein the target communication means is any one of the following communication means:
the fault diagnosis unit is a root node in the tree topology structure in a tree topology structure communication mode;
the fault diagnosis unit is a central node in the star topology structure in a star topology structure communication mode;
and the fault diagnosis unit is a central node in the heterogeneous star topology structure communication mode.
6. The method of claim 1, wherein the vehicle further comprises a display unit coupled to the fault diagnosis unit, the method further comprising, after the querying in a second data table based on the standard fault code to obtain fault handling data:
the fault diagnosis unit sends the fault processing data to the display unit, and the display unit is used for displaying the fault processing data.
7. A vehicle failure diagnosis apparatus applied to a vehicle, characterized by comprising:
the receiving module is used for receiving a target fault code sent by the controller under the condition that the first electric device has a preset fault, wherein the target fault code is as follows: under the condition that the controller receives a first fault code sent by the first electric device, a second fault code obtained after standardized conversion of the first fault code is carried out on the basis of a preset first data table; the first data table comprises a corresponding relation between the first fault code and the second fault code, the first fault code is a fault code of the first electric device, the second fault code is a standardized code in the fault diagnosis unit, and the first electric device is any one of at least one electric device;
and the confirmation module is used for inquiring in a second data table based on the target fault code to obtain fault processing data, wherein the fault processing data are used for repairing the preset fault in the vehicle, and the second data table comprises the corresponding relation between the fault processing data and the second fault code.
8. The apparatus of claim 7, wherein prior to the receiving module, the apparatus further comprises:
a first acquisition module configured to acquire the first data table and the second data table corresponding to a vehicle type of the vehicle;
and the first sending module is used for sending the first data table to the controller.
9. The apparatus of claim 8, wherein the first acquisition module comprises:
the first sending unit is used for sending authentication request information to the server, wherein the authentication request information comprises vehicle type information;
the processing unit is used for establishing an over-the-air OTA channel between the fault diagnosis unit and the server under the condition that the vehicle type of the vehicle is determined to be a preset vehicle type based on the server, wherein the preset vehicle type is a vehicle type in which the server stores the first data table and the second data table in advance;
and the acquisition unit is used for downloading the first data table and the second data table from the server by utilizing the OTA channel.
10. The apparatus of claim 9, wherein prior to the first transmitting module, the apparatus further comprises:
the second acquisition module is used for downloading an on-vehicle communication protocol configuration file from the server by utilizing the OTA channel, and the on-vehicle communication protocol configuration file is used for representing a communication protocol between the fault diagnosis unit and the controllers with different interface types;
and the processing module is used for establishing a communication relation with the controller of the vehicle according to the vehicle-mounted communication protocol configuration file.
11. The apparatus of claim 7, wherein the fault diagnosis unit, the controller, and the at least one electrical device are connected by a target communication scheme, wherein the target communication scheme is any one of the following communication schemes:
the fault diagnosis unit is a root node in the tree topology structure in a tree topology structure communication mode;
the fault diagnosis unit is a central node in the star topology structure in a star topology structure communication mode;
and the fault diagnosis unit is a central node in the heterogeneous star topology structure communication mode.
12. The apparatus of claim 7, wherein the vehicle further comprises a display unit connected to the fault diagnosis unit, the apparatus further comprising, after the confirmation module:
the second sending module is used for sending the fault processing data to the display unit, and the display unit is used for displaying the fault processing data.
13. A vehicle fault diagnosis device is characterized by comprising a transceiver and a processor,
the transceiver is configured to receive, when a preset fault exists in the first electrical device, a target fault code sent by the controller, where the target fault code is: under the condition that the controller receives a first fault code sent by the first electric device, a second fault code obtained after standardized conversion of the first fault code is carried out on the basis of a preset first data table; the first data table comprises a corresponding relation between the first fault code and the second fault code, the first fault code is a fault code of the first electric device, the second fault code is a standardized code in the fault diagnosis unit, and the first electric device is any one of at least one electric device;
the processor is configured to query in a second data table based on the target fault code to obtain fault handling data, where the fault handling data is used to repair the preset fault in the vehicle, and the second data table includes a correspondence between the fault handling data and a second fault code.
14. A communication device, comprising: a processor, a memory, and a program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the vehicle fault diagnosis method according to any one of claims 1-6.
15. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the vehicle fault diagnosis method according to any one of claims 1-6.
CN202210836021.1A 2022-07-15 2022-07-15 Vehicle fault diagnosis method and device, communication equipment and readable storage medium Pending CN116954184A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210836021.1A CN116954184A (en) 2022-07-15 2022-07-15 Vehicle fault diagnosis method and device, communication equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210836021.1A CN116954184A (en) 2022-07-15 2022-07-15 Vehicle fault diagnosis method and device, communication equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN116954184A true CN116954184A (en) 2023-10-27

Family

ID=88444925

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210836021.1A Pending CN116954184A (en) 2022-07-15 2022-07-15 Vehicle fault diagnosis method and device, communication equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN116954184A (en)

Similar Documents

Publication Publication Date Title
JP4416649B2 (en) Method and apparatus for telematic services for vehicles
EP4202645A1 (en) Vehicle upgrading method and apparatus
US11995921B2 (en) Scanning method for electronic control unit in vehicle and vehicle diagnostic device
WO2020135331A1 (en) Method and apparatus for obtaining baud rate
CN107479525A (en) Vehicle remote diagnosis system and its control method
CN107864080A (en) Auto communication method, apparatus and computer-readable recording medium
US6360145B1 (en) Vehicle platform-portable controller
JP7225596B2 (en) Program update system, program update server and vehicle
CN114253251A (en) Vehicle remote diagnosis method and device, equipment connector and storage medium
CN113434168A (en) Vehicle-mounted network architecture self-adaptive upgrading method based on intelligent hardware computing power
CN106990772A (en) OBD diagnostic devices and Vehicular diagnostic method
CN110830491A (en) Internet of vehicles information acquisition method and device
CN113038421A (en) Automobile diagnosis method, automobile diagnosis device and automobile gateway
KR20160117811A (en) Vehicle network system and protocol communication method thereof
CN108282177B (en) Upgrading method based on fault-tolerant design of vehicle-mounted OTA terminal
CN111552268A (en) Vehicle remote diagnosis method, equipment connector and vehicle connector
CN113821242B (en) Intelligent firmware matching method and system
CN111030902A (en) Vehicle electronic control unit refreshing method and system
CN117640720A (en) Remote diagnosis channel creation method, vehicle connector and remote diagnosis system
CN116954184A (en) Vehicle fault diagnosis method and device, communication equipment and readable storage medium
CN109164782A (en) A kind of vehicle control device self checking diagnostic method and system
US20170168473A1 (en) Signalling of specification information on an industrial device
CN116546056A (en) Remote calibration method and device based on vehicle-mounted communication terminal
CN113904955A (en) Detection method, device and system of data transmission link
CN115248580A (en) Remote assistance diagnosis method and system

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