Background
An Advanced Driver Assistance System (ADAS) is an active safety technology that collects environmental data inside and outside a vehicle at the first time by using various sensors mounted on the vehicle, and performs technical processes such as identification, detection, tracking and the like of static and dynamic objects, so that a driver can perceive possible dangers at the fastest time to draw attention and improve safety.
With the development of the ADAS technology, the ADAS system of the vehicle is more and more complicated, and under the circumstance, how to efficiently and conveniently perform fault diagnosis and processing on the ADAS system becomes a problem to be solved urgently at present.
Disclosure of Invention
The invention mainly aims to provide a fault processing method, a fault processing device, equipment and a storage medium of an ADAS system, and aims to efficiently and conveniently diagnose and process faults of the ADAS system.
The first aspect of the present invention provides a method for processing a fault of an ADAS system, where the method for processing a fault of an ADAS system includes:
acquiring an ADAS subsystem contained in a vehicle;
receiving a selection instruction of a user based on any acquired ADAS subsystem, and taking the ADAS subsystem selected by the user as a target ADAS subsystem;
displaying a function menu corresponding to the target ADAS subsystem, wherein the function menu comprises a fault code reading button, a fault code clearing button and an ADAS calibration function button;
and receiving a click instruction of a user based on the function menu, and executing a fault code reading function, a fault code clearing function or an ADAS calibration function based on the target ADAS subsystem according to the click instruction.
Optionally, in a first implementation manner of the first aspect of the present invention, the step of acquiring an ADAS subsystem included in a vehicle includes:
acquiring a vehicle identification code of a vehicle, and inquiring a preset vehicle type database according to the vehicle identification code to obtain corresponding vehicle type information;
sending an ADAS subsystem acquisition command corresponding to the vehicle type information to an ECU of the vehicle;
and receiving response data returned by the ECU, and analyzing the response data to obtain an ADAS subsystem contained in the vehicle.
Optionally, in a second implementation manner of the first aspect of the present invention, the step of receiving a click instruction of a user based on the function menu, and executing a function of reading a fault code, a function of clearing a fault code, or an ADAS calibration function based on the target ADAS subsystem according to the click instruction includes:
when a click instruction of a user based on the fault code reading button is received, sending a fault code acquisition command to an ECU of the vehicle;
and receiving fault code information of the target ADAS subsystem returned by the ECU, wherein the fault code information comprises a fault code number, fault code content and a fault code state.
Optionally, in a third implementation manner of the first aspect of the present invention, the step of receiving a click instruction of a user based on the function menu, and executing a function of reading a fault code, a function of clearing a fault code, or an ADAS calibration function based on the target ADAS subsystem according to the click instruction includes:
and when a click command of a user based on the fault code clearing button is received, clearing the current existing temporary fault code of the target ADAS subsystem.
Optionally, in a fourth implementation manner of the first aspect of the present invention, the step of receiving a click instruction of a user based on the function menu, and executing a function of reading a fault code, a function of clearing a fault code, or an ADAS calibration function based on the target ADAS subsystem according to the click instruction includes:
when a click command of a user based on the ADAS calibration function button is received, displaying calibration guide information, wherein the calibration guide information is used for prompting a calibration tool required by calibration and an installation method of the calibration tool;
when receiving the instruction that the installation of the calibration tool is completed, sending a calibration instruction to an ECU of the vehicle to enable the ECU to execute an ADAS calibration function based on the target ADAS subsystem.
A second aspect of the present invention provides a fault handling apparatus for an ADAS system, including:
the acquisition module is used for acquiring an ADAS subsystem contained in the vehicle;
the receiving module is used for receiving a selection instruction of a user based on any acquired ADAS subsystem and taking the ADAS subsystem selected by the user as a target ADAS subsystem;
the display module is used for displaying a function menu corresponding to the target ADAS subsystem, and the function menu comprises a fault code reading button, a fault code clearing button and an ADAS calibration function button;
and the execution module is used for receiving a click instruction of a user based on the function menu, and executing a fault code reading function, a fault code clearing function or an ADAS calibration function based on the target ADAS subsystem according to the click instruction.
Optionally, in a first implementation manner of the second aspect of the present invention, the obtaining module is further configured to:
acquiring a vehicle identification code of a vehicle, and inquiring a preset vehicle type database according to the vehicle identification code to obtain corresponding vehicle type information;
sending an ADAS subsystem acquisition command corresponding to the vehicle type information to an ECU of the vehicle;
and receiving response data returned by the ECU, and analyzing the response data to obtain an ADAS subsystem contained in the vehicle.
Optionally, in a second implementation manner of the second aspect of the present invention, the execution module is further configured to:
when a click instruction of a user based on the fault code reading button is received, sending a fault code acquisition command to an ECU of the vehicle;
and receiving fault code information of the target ADAS subsystem returned by the ECU, wherein the fault code information comprises a fault code number, fault code content and a fault code state.
Optionally, in a third implementation manner of the second aspect of the present invention, the execution module is further configured to:
and when a click command of a user based on the fault code clearing button is received, clearing the current existing temporary fault code of the target ADAS subsystem.
Optionally, in a fourth implementation manner of the second aspect of the present invention, the execution module is further configured to:
when a click command of a user based on the ADAS calibration function button is received, displaying calibration guide information, wherein the calibration guide information is used for prompting a calibration tool required by calibration and an installation method of the calibration tool;
when receiving the instruction that the installation of the calibration tool is completed, sending a calibration instruction to an ECU of the vehicle to enable the ECU to execute an ADAS calibration function based on the target ADAS subsystem.
A third aspect of the present invention provides a fault handling device of an ADAS system, including: a memory and at least one processor, the memory having instructions stored therein; the at least one processor invokes the instructions in the memory to cause the fault handling device of the ADAS system to perform the fault handling method of the ADAS system described above.
A fourth aspect of the present invention provides a storage medium having stored therein instructions that, when run on a computer, cause the computer to execute the above-described failure handling method of the ADAS system.
The method comprises the steps of obtaining an ADAS subsystem contained in a vehicle; receiving a selection instruction of a user based on any acquired ADAS subsystem, and taking the ADAS subsystem selected by the user as a target ADAS subsystem; displaying a function menu corresponding to the target ADAS subsystem, wherein the function menu comprises a fault code reading button, a fault code clearing button and an ADAS calibration function button; and receiving a click instruction of a user based on the function menu, and executing a fault code reading function, a fault code clearing function or an ADAS calibration function based on the target ADAS subsystem according to the click instruction. In the mode, the ADAS subsystems of the whole vehicle are integrated, and the code reading, code clearing and calibration functions corresponding to the ADAS subsystems are embodied in one function menu, so that a user can operate the system intuitively and conveniently, and the convenience and the efficiency of diagnosis are improved.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of understanding, a specific flow of an embodiment of the method for processing the fault of the ADAS system of the present invention is described below.
Referring to fig. 1, fig. 1 is a schematic flow chart of an embodiment of a fault handling method of an ADAS system of the present invention, where the method includes:
step 101, acquiring an ADAS subsystem contained in a vehicle;
in this embodiment, the fault processing method of the ADAS system is applied to an automobile diagnostic device, such as an automobile fault diagnostic apparatus.
In an embodiment, the step 101 may specifically include: acquiring a vehicle identification code of a vehicle, and inquiring a preset vehicle type database according to the vehicle identification code to obtain corresponding vehicle type information; sending an ADAS subsystem acquisition command corresponding to the vehicle type information to an ECU of the vehicle; and receiving response data returned by the ECU, and analyzing the response data to obtain an ADAS subsystem contained in the vehicle.
The diagnostic device may first obtain a Vehicle Identification Number (VIN) of the vehicle, where the vehicle identification number is composed of 17 letters or numbers and is a unique identifier of the vehicle, and specifically, the diagnostic device may communicate with an automotive ECU (on board diagnostics, OBD) through an on board diagnostic interface, and further read the VIN code of the vehicle from the ECU; or, obtaining the VIN code through manual input of a user; or the VIN code contained in the vehicle nameplate image shot or uploaded by the user is acquired by identifying the vehicle nameplate image, and the VIN code can be flexibly set in specific implementation; after the vehicle identification code is obtained, the diagnostic equipment queries a preset vehicle type database to obtain vehicle type information corresponding to the vehicle identification code, wherein the vehicle type information includes but is not limited to information such as vehicle model, year, engine model and the like. After the vehicle type information is acquired, the diagnostic device sends an ADAS subsystem acquisition command corresponding to the vehicle type information to an Electronic Control Unit (ECU) of the vehicle, and then analyzes response data of the ECU to obtain an ADAS subsystem included in the vehicle. By the method, the ADAS subsystem contained in the vehicle can be quickly and accurately acquired.
In another embodiment, the vehicle type information may also be manually input or selected by a user, when the user manually selects the vehicle type information, the diagnosis device displays a vehicle type information selection list, and uses the vehicle type information selected by the user based on the list as the vehicle type information of the vehicle, and after obtaining the vehicle type information, the diagnosis device may query a preset database according to the vehicle type information, so as to obtain the corresponding ADAS subsystem.
It should be noted that the ADAS subsystem is all subsystems included in an ADAS system of a vehicle, and includes at least one of an automatic braking system, a lane departure warning system, a lane keeping assist system, a blind spot detection system, a lane change assist system, a night vision system, and a panoramic image system.
102, receiving a selection instruction of a user based on any acquired ADAS subsystem, and taking the ADAS subsystem selected by the user as a target ADAS subsystem;
in this step, the diagnostic device displays the acquired ADAS subsystems in a list, and when a selection instruction based on any ADAS subsystem in the list is received by a user, the ADAS subsystem selected by the user is used as a target ADAS subsystem.
103, displaying a function menu corresponding to the target ADAS subsystem, wherein the function menu comprises a fault code reading button, a fault code clearing button and an ADAS calibration function button;
in this step, the diagnostic device displays a function menu including a read trouble code button, a clear trouble code button and an ADAS calibration function button. The ADAS calibration function button is used to trigger an ADAS calibration function corresponding to the target ADAS subsystem, and may be displayed as a name of the ADAS calibration function, or a code of the ADAS calibration function.
It should be noted that, when there are multiple ADAS calibration functions in the target ADAS subsystem, the diagnostic device may correspondingly display multiple ADAS calibration function buttons in the function menu, so that the user may select the ADAS calibration function to be executed.
And 104, receiving a click instruction of a user based on the function menu, and executing a fault code reading function, a fault code clearing function or an ADAS calibration function based on the target ADAS subsystem according to the click instruction.
In the step, when the diagnosis equipment receives a click instruction of a user based on a fault code reading button, a fault code clearing button or an ADAS calibration function button in a function menu, a corresponding fault code reading function, a fault code clearing function or an ADAS calibration function is executed; the function of reading fault codes is used to read fault codes of the target ADAS subsystem, the function of clearing fault codes is used to clear fault codes of the target ADAS subsystem, and the ADAS calibration function is used to calibrate devices included in the target ADAS subsystem, which includes but is not limited to: the method comprises the following steps of panoramic camera calibration, radar calibration, reversing camera calibration, lane departure alarm device calibration, left and right side barrier calibration, blind spot detection system calibration, automatic high beam alignment test and the like.
In the present embodiment, the diagnostic device acquires an ADAS subsystem contained in the vehicle; receiving a selection instruction of a user based on any acquired ADAS subsystem, and taking the ADAS subsystem selected by the user as a target ADAS subsystem; displaying a function menu corresponding to the target ADAS subsystem, wherein the function menu comprises a fault code reading button, a fault code clearing button and an ADAS calibration function button; and receiving a click instruction of a user based on the function menu, and executing a fault code reading function, a fault code clearing function or an ADAS calibration function based on the target ADAS subsystem according to the click instruction. In the mode, the ADAS subsystems of the whole vehicle are integrated, and the code reading, code clearing and calibration functions corresponding to the ADAS subsystems are embodied in one function menu, so that a user can operate the system intuitively and conveniently, and the convenience and the efficiency of diagnosis are improved.
Further, based on the first embodiment of the method for processing the fault of the ADAS system of the present invention, a second embodiment of the method for processing the fault of the ADAS system of the present invention is proposed.
In this embodiment, the step 104 may include: when a click instruction of a user based on the fault code reading button is received, sending a fault code acquisition command to an ECU of the vehicle; and receiving fault code information of the target ADAS subsystem returned by the ECU, wherein the fault code information comprises a fault code number, fault code content and a fault code state.
After the diagnostic equipment displays the function menu, if a click command of a user based on a button for reading a fault code is received, a fault code acquisition command is sent to an ECU of the vehicle, and fault code information of a target ADAS subsystem returned by the ECU is received, wherein the fault code information comprises a fault code number, fault code content and a fault code state, the fault code number is used for identifying a unique fault, the fault code content is used for explaining the meaning of the fault code number, such as the position of a crankshaft is not learned, the line of an air flow direction meter is poor, the signal of an air inlet camshaft phase sensor is unreasonable, and the fault code state is used for identifying a specific fault state, such as a current fault, a historical fault and the like.
Further, the step 104 may further include: and when a click command of a user based on the fault code clearing button is received, clearing the current existing temporary fault code of the target ADAS subsystem.
And if the diagnosis equipment receives a click command based on a fault code clearing button, clearing a temporary fault code currently existing in the target ADAS subsystem, wherein the temporary fault code refers to a fault code which can be cleared directly without replacing the ECU or the sensor.
Further, the step 104 may further include: when a click command of a user based on the ADAS calibration function button is received, displaying calibration guide information, wherein the calibration guide information is used for prompting a calibration tool required by calibration and an installation method of the calibration tool; when receiving the instruction that the installation of the calibration tool is completed, sending a calibration instruction to an ECU of the vehicle to enable the ECU to execute an ADAS calibration function based on the target ADAS subsystem.
And if the diagnosis equipment receives a click command based on the ADAS calibration function button, displaying calibration guide information, wherein the calibration guide information is used for prompting a calibration tool required by calibration and an installation method of the calibration tool. For example, when the user clicks the "look around camera calibration" button, the diagnostic device displays that the required calibration tools are the calibration main frame, the centering fixture and the radar calibration plate, and displays the corresponding installation method, and after the user installs the calibration tools according to the prompted installation method, the user clicks the installation completion, and at this time, the diagnostic device sends a calibration instruction to the vehicle ECU, so that the ECU performs the calibration of the look around camera.
In the embodiment, the code reading, code clearing and calibration functions corresponding to the target ADAS subsystem are embodied in one function menu, so that the user can operate intuitively and conveniently, and the convenience and the efficiency of diagnosis can be improved.
The embodiment of the invention also provides a fault processing device of the ADAS system.
Referring to fig. 2, fig. 2 is a schematic block diagram of an embodiment of a fault handling apparatus of the ADAS system according to the present invention. In this embodiment, the fault handling apparatus of the ADAS system includes:
an obtaining module 201, configured to obtain an ADAS subsystem included in a vehicle;
a receiving module 202, configured to receive a selection instruction of any acquired ADAS subsystem from a user, and use the ADAS subsystem selected by the user as a target ADAS subsystem;
a display module 203, configured to display a function menu corresponding to the target ADAS subsystem, where the function menu includes a fault code reading button, a fault code clearing button, and an ADAS calibration function button;
and the execution module 204 is configured to receive a click instruction of the user based on the function menu, and execute a fault code reading function, a fault code clearing function, or an ADAS calibration function based on the target ADAS subsystem according to the click instruction.
Further, the obtaining module 201 is further configured to:
acquiring a vehicle identification code of a vehicle, and inquiring a preset vehicle type database according to the vehicle identification code to obtain corresponding vehicle type information;
sending an ADAS subsystem acquisition command corresponding to the vehicle type information to an ECU of the vehicle;
and receiving response data returned by the ECU, and analyzing the response data to obtain an ADAS subsystem contained in the vehicle.
Further, the executing module 204 is further configured to:
when a click instruction of a user based on the fault code reading button is received, sending a fault code acquisition command to an ECU of the vehicle;
and receiving fault code information of the target ADAS subsystem returned by the ECU, wherein the fault code information comprises a fault code number, fault code content and a fault code state.
Further, the executing module 204 is further configured to:
and when a click command of a user based on the fault code clearing button is received, clearing the current existing temporary fault code of the target ADAS subsystem.
Further, the executing module 204 is further configured to:
when a click command of a user based on the ADAS calibration function button is received, displaying calibration guide information, wherein the calibration guide information is used for prompting a calibration tool required by calibration and an installation method of the calibration tool;
when receiving the instruction that the installation of the calibration tool is completed, sending a calibration instruction to an ECU of the vehicle to enable the ECU to execute an ADAS calibration function based on the target ADAS subsystem.
The function realization and the beneficial effects of each module in the fault processing device of the ADAS system correspond to each step in the fault processing method embodiment of the ADAS system, and are not described herein again.
The above describes in detail a fault handling apparatus of the ADAS system in the embodiment of the present invention from the perspective of a modular functional entity, and the following describes in detail a fault handling device of the ADAS system in the embodiment of the present invention from the perspective of hardware processing.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a fault handling device of the ADAS system according to an embodiment of the present invention. The failure handling apparatus 300 of the ADAS system may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 310 (e.g., one or more processors) and a memory 320, one or more storage media 330 (e.g., one or more mass storage devices) storing an application 333 or data 332. Memory 320 and storage media 330 may be, among other things, transient or persistent storage. The program stored on the storage medium 330 may include one or more modules (not shown), each of which may include a series of instruction operations for the fault handling device 300 of the ADAS system. Further, the processor 310 may be configured to communicate with the storage medium 330 to execute a series of instruction operations in the storage medium 330 on the failure handling device 300 of the ADAS system.
The fault handling device 300 of the ADAS system may also include one or more power supplies 340, one or more wired or wireless network interfaces 350, one or more input-output interfaces 360, and/or one or more operating systems 331, such as Windows server, Mac OS X, Unix, Linux, FreeBSD, and the like. It will be appreciated by those skilled in the art that the configuration of the fault handling device of the ADAS system shown in figure 3 does not constitute a limitation of the fault handling device of the ADAS system and may include more or less components than those shown, or some components may be combined, or a different arrangement of components.
The invention further provides a fault handling device of the ADAS system, where the fault handling device of the ADAS system includes a memory and a processor, and the memory stores instructions, and the instructions, when executed by the processor, cause the processor to execute the steps of the fault handling method of the ADAS system in each of the above embodiments.
The present invention also provides a storage medium, which may be a non-volatile storage medium, or a volatile storage medium, where instructions are stored in the storage medium, and when the instructions are executed on a computer, the instructions cause the computer to execute the steps of the fault handling method of the ADAS system in each of the above embodiments.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.