CN111813095A - Vehicle diagnosis method, device and medium - Google Patents

Vehicle diagnosis method, device and medium Download PDF

Info

Publication number
CN111813095A
CN111813095A CN202010750930.4A CN202010750930A CN111813095A CN 111813095 A CN111813095 A CN 111813095A CN 202010750930 A CN202010750930 A CN 202010750930A CN 111813095 A CN111813095 A CN 111813095A
Authority
CN
China
Prior art keywords
vehicle
communication protocol
information
target
diagnosis
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
CN202010750930.4A
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.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch 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 Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN202010750930.4A priority Critical patent/CN111813095A/en
Publication of CN111813095A publication Critical patent/CN111813095A/en
Pending legal-status Critical Current

Links

Images

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)
  • Stored Programmes (AREA)

Abstract

The application discloses a vehicle diagnosis method, a vehicle diagnosis device and a vehicle diagnosis medium, wherein the method comprises the following steps: acquiring identity information of a vehicle; determining communication protocol information through the identity information; selecting a target communication protocol from a preset protocol set according to the communication protocol information, wherein the protocol set comprises a plurality of types of communication protocols; and calling a target communication protocol to communicate with a running computer of the vehicle so as to execute diagnosis operation on the vehicle. Compared with the prior method that the vehicle is diagnosed by adopting the diagnosis equipment only comprising one communication protocol, the method can select the target communication protocol from the preset protocol set according to the communication protocol information to communicate with the driving computer of the vehicle for diagnosis, and is not limited to one communication protocol, so that the vehicle diagnosis process is more flexible and more convenient, manual operation is reduced, and the vehicle diagnosis efficiency is improved.

Description

Vehicle diagnosis method, device and medium
Technical Field
The present application relates to the field of vehicles, and more particularly, to a vehicle diagnostic method, apparatus, and medium.
Background
With the continuous development of the automobile industry, functional requirements of users on an automobile electric control system are more and more, automobile ECUs are also continuously increased in order to meet the requirements of the users, and meanwhile, the communication protocols adopted by the existing automobile electric control system are not uniform, and various types of communication protocols exist. The existing vehicle diagnosis equipment only comprises one communication protocol when diagnosing the electric control system of the vehicle, so that the equipment can only diagnose the electric control system adopting the communication protocol, and can only diagnose systems adopting other protocols by adopting other equipment, so that the operation flow of an operator is more complicated when diagnosing the vehicle, and the vehicle diagnosis efficiency is greatly reduced.
Therefore, how to implement the diagnosis of the systems adopting different communication protocols by one vehicle diagnosis device so as to relatively improve the efficiency of vehicle diagnosis is a problem to be solved by those skilled in the art.
Disclosure of Invention
An object of the present application is to provide a vehicle diagnosis method for diagnosing systems employing different communication protocols to relatively improve the efficiency of vehicle diagnosis. In addition, the application also provides a vehicle diagnosis device and medium.
In order to solve the above technical problem, the present application provides a vehicle diagnosis method, including:
acquiring identity information of a vehicle;
determining communication protocol information through the identity information;
selecting a target communication protocol from a preset protocol set according to the communication protocol information, wherein the protocol set comprises a plurality of types of communication protocols;
and calling a target communication protocol to communicate with a running computer of the vehicle so as to execute diagnosis operation on the vehicle.
Preferably, determining the communication protocol information by the identity information comprises:
acquiring a target diagnosis data file according to the identity information;
and searching the communication protocol information through the target diagnosis data file.
Preferably, searching for communication protocol information by the target diagnostic data file comprises:
searching pin information through a target diagnosis data file;
determining communication protocol information according to the pin information;
calling a target communication protocol to communicate with a running computer of the vehicle, comprising:
and calling a target communication protocol to communicate with the traveling crane computer through the pins corresponding to the pin information.
Preferably, the searching for pin information by the target diagnostic data file includes:
acquiring a physical connection ID through a target diagnosis data file;
and searching pin information according to the physical connection ID.
Preferably, the vehicle includes a plurality of traveling computers, and the traveling computers correspond to the system one by one, and the method further includes:
acquiring identification information of a system to be diagnosed;
obtaining a physical connection ID from a target diagnostic data file, comprising:
acquiring a physical connection ID corresponding to the identification information through the target diagnosis data file;
calling a target communication protocol to communicate with a pin corresponding to the pin information of the traveling crane computer, wherein the calling comprises the following steps:
and calling a target communication protocol to communicate with a running computer of the system to be diagnosed based on the pins.
Preferably, the identity information comprises the VIN code of the vehicle.
Preferably, the target diagnostic data file is an ODX file.
In order to solve the above technical problem, the present application provides a vehicle diagnostic apparatus including:
an acquisition module: the system is used for acquiring identity information of a vehicle;
a determination module: the communication protocol information is determined through the identity information;
a selecting module: the device comprises a protocol collection unit, a communication protocol information acquisition unit and a communication protocol information acquisition unit, wherein the protocol collection unit is used for selecting a target communication protocol from a preset protocol collection according to the communication protocol information, and the protocol collection comprises a plurality of types of communication protocols;
a diagnostic module: the system is used for calling the target communication protocol to communicate with a running computer of the vehicle so as to execute diagnosis operation on the vehicle.
Preferably, the determining module comprises:
a diagnostic data file acquisition module: the system is used for acquiring a target diagnosis data file according to the identity information;
a diagnostic data file calling module: for looking up communication protocol information through the target diagnostic data file.
Preferably, the diagnostic data file calling module includes:
the pin searching module: the pin information is searched through the target diagnosis data file;
a pin protocol determination module: the communication protocol information is determined according to the pin information;
a diagnostic module comprising:
a pin communication module: and the system is used for calling the target communication protocol to communicate with the traveling crane computer through the pins corresponding to the pin information.
Preferably, the pin-lookup module comprises:
an ID acquisition module: for obtaining a physical connection ID from the target diagnostic data file;
an ID searching module: for looking up pin information from the physical connection ID.
Preferably, the vehicle includes a plurality of traveling computers, and the traveling computers correspond to the system one by one, and the apparatus further includes:
an identification acquisition module: the system comprises a diagnostic unit, a monitoring unit and a display unit, wherein the diagnostic unit is used for acquiring identification information of a system to be diagnosed;
an ID acquisition module, comprising:
an ID acquisition submodule: the system comprises a data acquisition module, a data storage module and a data processing module, wherein the data acquisition module is used for acquiring a physical connection ID corresponding to identification information through a target diagnosis data file;
a pin communication module, comprising:
a pin communication submodule: and the driving computer is used for calling a target communication protocol to communicate with the system to be diagnosed based on the pins.
Preferably, the identity information comprises the VIN code of the vehicle.
Preferably, the target diagnostic data file is an ODX file.
In order to solve the above technical problem, the present application further provides a vehicle diagnostic apparatus, including a memory for storing a computer program;
a processor for implementing the steps of the vehicle diagnostic method as described above when executing the computer program.
In order to solve the above technical problem, the present application further provides a computer-readable storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of the above vehicle diagnosis method.
According to the vehicle diagnosis method, the identity information of the vehicle is obtained, so that the communication protocol information can be determined according to the identity information, then the target communication protocol can be selected from a preset protocol set according to the communication protocol information, then the target communication protocol is called to communicate with the driving computer of the vehicle, and a system controlled by the driving computer is diagnosed. Compared with the prior method that the diagnosis equipment only comprising one communication protocol is adopted to diagnose the system controlled by the vehicle computer, the method can select the target communication protocol from the preset protocol set according to the communication protocol information to communicate with the vehicle computer of the vehicle, and is not limited to one communication protocol, so that the diagnosis of the system adopting different communication protocols is realized, the vehicle diagnosis process is more flexible and more convenient, manual operation is reduced, and the vehicle diagnosis efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments 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 that other drawings can be obtained by those skilled in the art without inventive effort.
FIG. 1 is a flow chart of a vehicle diagnostic method provided by an embodiment of the present application;
fig. 2 is a structural diagram of a vehicle diagnostic apparatus according to an embodiment of the present application;
fig. 3 is a block diagram of another vehicle diagnostic apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings.
Fig. 1 is a flowchart of a vehicle diagnosis method provided in an embodiment of the present application, and as shown in fig. 1, the method includes:
s10: identity information of the vehicle is obtained.
In a specific implementation, a user first starts a diagnostic device for vehicle diagnosis, and by operating the diagnostic device, identity information of a vehicle is acquired.
It should be noted that the present embodiment does not limit the type of the identity information, and as a preferred embodiment, the identity information is a VIN code of a vehicle. VIN is an abbreviation for Vehicle Identification Number in english, specified by SAE standard (society of automotive engineers) and consists of 17-bit characters, commonly known as seventeen-bit code. The VIN code contains information on the manufacturer, age, model, body form, engine, and other equipment of the vehicle. Through the VIN code, the type category of the vehicle can be accurately determined. At present, how to accurately determine the type class of a vehicle has a great influence on the maintenance and diagnosis of the vehicle. The embodiment is not limited to how to acquire the identity information, and taking the identity information as the VIN code as an example, the identity information of the vehicle may be acquired through manual input by a user, or through artificial intelligent recognition performed by shooting with a camera, or through scanning a two-dimensional code or a barcode corresponding to the VIN code.
S11: and determining communication protocol information through the identity information.
In specific implementation, after the identity information of the vehicle is acquired in the previous step, the diagnostic equipment identifies the identity information so as to determine the type of the vehicle. And then determining the communication protocol information according to the vehicle type category of the vehicle. It should be noted that, the present embodiment does not limit the manner of determining the communication protocol information, and as a preferred embodiment, the target diagnostic data file is obtained according to the identity information, and the communication protocol information is searched through the target diagnostic data file. And each diagnosis data file is developed according to the type of the vehicle corresponding to each diagnosis data file and is used for the diagnosis process of the vehicle corresponding to each diagnosis data file. When the developer develops the target diagnosis data file, the communication protocol information is included in the subfile of the target diagnosis data file, so that the communication protocol information can be found through the diagnosis data file.
Further, the target diagnostic data file is an ODX file. ODX is an abbreviation of Open Diagnostic data format (Open Diagnostic data format), and it was originally proposed by ASAM (automation and measurement system standards association), and before ODX was not proposed, because of differences in application scenarios and development tools, data formats used in different stages of Diagnostic development are different, resulting in very disordered and complex data exchange and a high risk of errors during data exchange. Because the ODX data has the attributes of open source and standardization, the ODX is used as a data exchange format in the whole vehicle diagnosis process, the whole process is easier and quicker, and the error probability is lower.
In addition, the embodiment is not limited to the manner of obtaining the diagnostic data file, and the diagnostic data file may be downloaded after the vehicle type is determined, and the diagnostic data file is uploaded to the server after being developed by the developer, or the diagnostic data file may be stored in the storage device of the diagnostic device in advance, and the corresponding diagnostic data file may be directly called after the vehicle type is determined. As a preferred embodiment, after the vehicle type is determined, the corresponding diagnostic data file developed by the developer and uploaded to the server is downloaded. Because of the wide variety of vehicles at present, it is difficult to store the diagnostic data files of all types of vehicles in the storage device of the diagnostic device, and if different types of diagnostic data files are stored as much as possible, the storage space requirement of the storage device is large, which results in high cost of the diagnostic device. The diagnostic data files developed according to the vehicle type categories are uploaded to the server by developers, and the diagnostic data files corresponding to the vehicle types are downloaded by the diagnostic equipment according to the determined vehicle types, so that the storage space of the storage equipment is saved, the diagnostic data files are very convenient to update when needing to be updated, and the diagnostic data files in all the diagnostic equipment do not need to be updated one by one as long as the diagnostic data files in the server are updated.
S12: and selecting a target communication protocol from a preset protocol set according to the communication protocol information, wherein the protocol set comprises a plurality of types of communication protocols.
In a specific implementation, after the communication protocol information is found in the previous step, a target communication protocol, that is, a communication protocol used for the current vehicle diagnosis is selected from a protocol set pre-stored in the diagnosis device according to the communication protocol information, where the protocol set includes a plurality of types of communication protocols, and the communication protocol in the protocol set is a communication protocol used for the current vehicle driving computer communication, and it can be understood that the communication protocol in the protocol set changes with a change in the type of the communication protocol used for the current vehicle driving computer communication.
Further, the communication protocol includes a Doip (Diagnostic over internet protocol) protocol and a CAN (Controller Area Network) protocol. The CAN protocol is a communication protocol frequently used in conventional vehicle diagnosis, and with the continuous development of the automobile industry, an automobile ECU (electronic control Unit) is also called a driving computer, and is increasing in vehicles, the CAN protocol is increasingly difficult to meet increasing communication loads, and a vehicle-mounted ethernet is incorporated into a novel vehicle bus by virtue of low cost, high broadband, high transmission rate and real-time network, wherein the communication protocol adopted by the vehicle-mounted ethernet is a Doip protocol, so the communication protocol comprises a Doip protocol and the CAN protocol.
S13: and calling a target communication protocol to communicate with a running computer of the vehicle so as to execute diagnosis operation on the vehicle.
In specific implementation, after the target communication protocol is determined, the communication parameters of the target communication protocol are read from other subfiles of the target diagnosis data file, the communication parameters are initialized to call the target communication protocol to communicate with a driving computer of the vehicle, and then diagnosis operation is performed on the vehicle according to the target diagnosis data file.
According to the vehicle diagnosis method, the identity information of the vehicle is obtained, so that the communication protocol information can be determined according to the identity information, then the target communication protocol can be selected from a preset protocol set according to the communication protocol information, then the target communication protocol is called to communicate with the driving computer of the vehicle, and a system controlled by the driving computer is diagnosed. Compared with the prior method that the diagnosis equipment only comprising one communication protocol is adopted to diagnose the system controlled by the vehicle computer, the method can select the target communication protocol from the preset protocol set according to the communication protocol information to communicate with the vehicle computer of the vehicle, and is not limited to one communication protocol, so that the diagnosis of the system adopting different communication protocols is realized, the vehicle diagnosis process is more flexible and more convenient, manual operation is reduced, and the vehicle diagnosis efficiency is improved.
On the basis of the above embodiment, the searching for the communication protocol information through the target diagnosis data file in this embodiment includes:
searching pin information through a target diagnosis data file;
determining communication protocol information according to the pin information;
calling a target communication protocol to communicate with a running computer of the vehicle, comprising:
and calling a target communication protocol to communicate with the traveling crane computer through the pins corresponding to the pin information.
In a specific implementation, when the subfile mentioned in S11, hereinafter referred to as a first subfile, is used to find the communication protocol information in the target diagnostic data file, pin information is first found in the first subfile, and then the communication protocol information is determined according to the pin information, where the pin information indicates a pin used when the diagnostic device communicates with the vehicle computer. At present, when a vehicle computer communicates with a Diagnostic device, the vehicle computer is usually connected through an On-Board Diagnostic (OBD) interface of a vehicle, and communication is performed through the interface. Generally, an OBD interface includes 16 pins, and the pins used in communication of each protocol are different, for example, the communication pin of the CAN protocol is 6, 14 or 3, 11, the communication pin of the Doip protocol is 1, 9, 12, and 13, when the pin information includes the pin of 6, 14 or 3, 11, it is determined that the protocol used in the current diagnosis is the CAN protocol, and when the pin information includes the pin of 1, 9, 12, and 13, it is determined that the protocol used in the current diagnosis is the Doip protocol. Because the pins used in the communication of different protocols are different and fixed, the communication protocol information is determined according to the pin information, the risk is low, and errors are not easy to occur.
Further, searching the pin information through the target diagnosis data file includes:
acquiring a physical connection ID through a target diagnosis data file;
and searching pin information according to the physical connection ID.
In specific implementation, when the pin information is determined, a physical connection ID is first acquired in the first subfile, where the physical connection ID is a physical parameter ID pointing to an electric control system corresponding to the vehicle computer, and the pin information is searched in the first subfile according to the physical connection ID. When the developer develops the diagnostic data file, the system name and the physical connection ID of the vehicle are configured in the first subfile, and the pin information is configured. Therefore, the physical connection ID can be found in the first subfile, and the pin information can be found.
On the basis of the above embodiment, in this embodiment, the vehicle includes a plurality of traveling computers, and the traveling computers correspond to the electronic control system one by one, and the method further includes:
acquiring identification information of a system to be diagnosed;
obtaining a physical connection ID from a target diagnostic data file, comprising:
acquiring a physical connection ID corresponding to the identification information through the target diagnosis data file;
calling a target communication protocol to communicate with a pin corresponding to the pin information of the traveling crane computer, wherein the calling comprises the following steps:
and calling a target communication protocol to communicate with a running computer of the system to be diagnosed based on the corresponding pin of the pin information.
In a specific implementation, a current vehicle includes a plurality of vehicle computers, one vehicle computer corresponds to one electronic control system, a diagnostic device obtains a diagnostic data file of a corresponding vehicle type according to determined identity information, usually, the corresponding file package is downloaded from a server and then analyzed to obtain a corresponding folder, the folder includes the electronic control system included in the vehicle type, a user selects a system to be diagnosed through a client, and when vehicle diagnosis is performed, the diagnostic device needs to obtain identification information of the system to be diagnosed first, then obtain a physical connection ID corresponding to the identification information, then search for pin information according to the physical connection ID, and then communicate with the vehicle computer corresponding to the system to be diagnosed to diagnose the system to be diagnosed.
It should be noted that, in this embodiment, there is no limitation on the connection manner between each system and the diagnostic device when diagnosing, for example, one system corresponds to one OBD interface, and each system is connected to the diagnostic device through the corresponding OBD interface to implement communication, or each system is connected to the gateway and is connected to the diagnostic device through the OBD interface connected to the gateway to implement communication.
In order to make the technical solutions proposed in the present application more clear to those skilled in the art, a specific application scenario is also given herein for illustration. Firstly, a developer of the diagnosis equipment develops a diagnosis data PDX file according to the type of the vehicle, wherein the PDX file is a compressed packet of an ODX file, each system and a physical connection ID thereof are configured in the PDX file according to actual information of the vehicle, communication parameters and communication pins of each protocol are configured, and then the developed diagnosis data PDX file is uploaded to a server. After a user starts a diagnosis device, the device is operated to read a VIN code of a vehicle to obtain a vehicle type category of the vehicle, a corresponding diagnosis data PDX file is downloaded from a server according to the vehicle type category and is analyzed, a system and physical connection ID of the vehicle is obtained in a-V subfile, communication pins of the system are searched through the physical connection ID, if the communication pins are 6 and 14, the communication protocol of the system is determined to be a CAN protocol, communication parameters are read in a-C or-CS subfile, the communication parameters are initialized, and a correct communication protocol is selected to communicate with a driving computer of the system to diagnose the vehicle.
In the above embodiments, the vehicle diagnosis method is described in detail, and the present application also provides embodiments corresponding to the vehicle diagnosis apparatus. It should be noted that the present application describes the embodiments of the apparatus portion from two perspectives, one from the perspective of the function module and the other from the perspective of the hardware.
Fig. 2 is a structural diagram of a vehicle diagnostic apparatus provided in the present embodiment, and as shown in fig. 2, the apparatus includes:
the acquisition module 10: the system is used for acquiring identity information of a vehicle;
the determination module 11: the communication protocol information is determined through the identity information;
a selecting module 12: the device comprises a protocol collection unit, a communication protocol information acquisition unit and a communication protocol information acquisition unit, wherein the protocol collection unit is used for selecting a target communication protocol from a preset protocol collection according to the communication protocol information, and the protocol collection comprises a plurality of types of communication protocols;
the diagnostic module 13: the system is used for calling the target communication protocol to communicate with a running computer of the vehicle so as to execute diagnosis operation on the vehicle.
Preferably, the determining module 11 comprises:
a diagnostic data file acquisition module: the system is used for acquiring a target diagnosis data file according to the identity information;
a diagnostic data file calling module: for looking up communication protocol information through the target diagnostic data file.
Preferably, the diagnostic data file calling module includes:
the pin searching module: the pin information is searched through the target diagnosis data file;
a pin protocol determination module: the communication protocol information is determined according to the pin information;
a diagnostic module comprising:
a pin communication module: and the system is used for calling the target communication protocol to communicate with the traveling crane computer through the pins corresponding to the pin information.
Preferably, the pin-lookup module comprises:
an ID acquisition module: for obtaining a physical connection ID from the target diagnostic data file;
an ID searching module: for looking up pin information from the physical connection ID.
Preferably, the vehicle includes a plurality of traveling computers, and the traveling computers correspond to the system one by one, and the apparatus further includes:
an identification acquisition module: the system comprises a diagnostic unit, a monitoring unit and a display unit, wherein the diagnostic unit is used for acquiring identification information of a system to be diagnosed;
an ID acquisition module, comprising:
an ID acquisition submodule: the system comprises a data acquisition module, a data storage module and a data processing module, wherein the data acquisition module is used for acquiring a physical connection ID corresponding to identification information through a target diagnosis data file;
a pin communication module, comprising:
a pin communication submodule: and the driving computer is used for calling a target communication protocol to communicate with the system to be diagnosed based on the pins.
Preferably, the identity information comprises the VIN code of the vehicle.
Preferably, the target diagnostic data file is an ODX file.
According to the vehicle diagnosis device, the identity information of the vehicle is obtained, so that the communication protocol information can be determined according to the identity information, then the target communication protocol can be selected from a preset protocol set according to the communication protocol information, then the target communication protocol is called to communicate with the running computer of the vehicle, and a system controlled by the running computer is diagnosed. Compared with the prior art that a diagnosis device only comprising one communication protocol is adopted to diagnose a system controlled by a vehicle computer, the device can select a target communication protocol from a preset protocol set according to communication protocol information to communicate with the vehicle computer of the vehicle, and is not limited to one communication protocol, so that the diagnosis of the system adopting different communication protocols is realized, the vehicle diagnosis process is more flexible and more convenient, manual operation is reduced, and the vehicle diagnosis efficiency is improved.
Fig. 3 is a block diagram of a vehicle diagnostic apparatus according to another embodiment of the present application, and as shown in fig. 3, the apparatus includes: a memory 20 for storing a computer program;
a processor 21 for implementing the steps of the vehicle diagnostic method as in the above embodiments when executing the computer program.
The vehicle diagnosis device provided by the embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, or the like.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 21 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 21 may further include an AI (Artificial Intelligence) processor for processing a calculation operation related to machine learning.
The memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing a computer program 201, wherein after being loaded and executed by the processor 21, the computer program can realize the relevant steps of the vehicle diagnosis method disclosed in any one of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 202 may include, among others, Windows, Unix, Linux, and the like.
In some embodiments, the vehicle diagnostic device may further include a display screen 22, an input/output interface 23, a communication interface 24, a power source 25, and a communication bus 26.
Those skilled in the art will appreciate that the configuration shown in fig. 3 is not intended to be limiting of vehicle diagnostic devices and may include more or fewer components than those shown.
The vehicle diagnosis device provided by the embodiment of the application comprises a memory and a processor, wherein when the processor executes a program stored in the memory, the following method can be realized: a vehicle diagnostic method.
According to the vehicle diagnosis device, the identity information of the vehicle is obtained, so that the communication protocol information can be determined according to the identity information, then the target communication protocol can be selected from a preset protocol set according to the communication protocol information, then the target communication protocol is called to communicate with the running computer of the vehicle, and a system controlled by the running computer is diagnosed. Compared with the prior art that a diagnosis device only comprising one communication protocol is adopted to diagnose a system controlled by a vehicle computer, the device can select a target communication protocol from a preset protocol set according to communication protocol information to communicate with the vehicle computer of the vehicle, and is not limited to one communication protocol, so that the diagnosis of the system adopting different communication protocols is realized, the vehicle diagnosis process is more flexible and more convenient, manual operation is reduced, and the vehicle diagnosis efficiency is improved.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps as set forth in the above-mentioned method embodiments.
It is to be understood that if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application, or all or part of the technical solutions. 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 vehicle diagnostic method, apparatus, and medium provided by the present application are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A vehicle diagnostic method, characterized by comprising:
acquiring identity information of a vehicle;
determining communication protocol information through the identity information;
selecting a target communication protocol from a preset protocol set according to the communication protocol information, wherein the protocol set comprises a plurality of types of communication protocols;
and calling the target communication protocol to communicate with a running computer of the vehicle so as to execute diagnosis operation on the vehicle.
2. The vehicle diagnostic method of claim 1, wherein said determining communication protocol information from said identity information comprises:
acquiring a target diagnosis data file according to the identity information;
and searching the communication protocol information through the target diagnosis data file.
3. The vehicle diagnostic method of claim 2, wherein said looking up said communication protocol information via said target diagnostic data file comprises:
searching pin information through the target diagnosis data file;
determining the communication protocol information according to the pin information;
the calling the target communication protocol to communicate with a running computer of the vehicle comprises the following steps:
and calling the target communication protocol to communicate with the traveling crane computer through the pin corresponding to the pin information.
4. The vehicle diagnostic method of claim 3, wherein said looking up pin information via said target diagnostic data file comprises:
acquiring a physical connection ID through the target diagnostic data file;
and searching the pin information according to the physical connection ID.
5. The vehicle diagnostic method of claim 4, wherein the vehicle comprises a plurality of running computers and the running computers are in one-to-one correspondence with the system, the method further comprising:
acquiring identification information of a system to be diagnosed;
the obtaining a physical connection ID from the target diagnostic data file includes:
acquiring a physical connection ID corresponding to the identification information through the target diagnosis data file;
the calling of the target communication protocol is communicated with the traveling computer through the pin corresponding to the pin information, and the calling of the target communication protocol comprises the following steps:
and calling the target communication protocol to communicate with a running computer of the system to be diagnosed based on the pin.
6. The vehicle diagnostic method of claim 1, wherein the identity information comprises a VIN code of the vehicle.
7. The vehicle diagnostic method according to any one of claims 1 to 6, wherein the target diagnostic data file is an ODX file.
8. A vehicle diagnostic device characterized by comprising:
an acquisition module: the system is used for acquiring identity information of a vehicle;
a determination module: for determining communication protocol information from the identity information;
a selecting module: the device comprises a communication protocol collection unit, a communication protocol information acquisition unit and a communication protocol information acquisition unit, wherein the communication protocol information acquisition unit is used for acquiring a target communication protocol from the communication protocol collection unit;
a diagnostic module: the system is used for calling the target communication protocol to communicate with a running computer of the vehicle so as to execute diagnosis operation on the vehicle.
9. A vehicle diagnostic apparatus, characterized by comprising a memory for storing a computer program;
a processor for implementing the steps of the vehicle diagnostic method as claimed in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the vehicle diagnostic method according to any one of claims 1 to 7.
CN202010750930.4A 2020-07-30 2020-07-30 Vehicle diagnosis method, device and medium Pending CN111813095A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010750930.4A CN111813095A (en) 2020-07-30 2020-07-30 Vehicle diagnosis method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010750930.4A CN111813095A (en) 2020-07-30 2020-07-30 Vehicle diagnosis method, device and medium

Publications (1)

Publication Number Publication Date
CN111813095A true CN111813095A (en) 2020-10-23

Family

ID=72863370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010750930.4A Pending CN111813095A (en) 2020-07-30 2020-07-30 Vehicle diagnosis method, device and medium

Country Status (1)

Country Link
CN (1) CN111813095A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416409A (en) * 2020-12-07 2021-02-26 安徽江淮汽车集团股份有限公司 Vehicle-mounted computer software upgrading method, device, equipment and storage medium
CN112489245A (en) * 2020-11-27 2021-03-12 深圳市舜太科技有限公司 Vehicle diagnosis data storage method and system and readable storage medium
CN113065033A (en) * 2021-03-22 2021-07-02 江铃汽车股份有限公司 ODX file-based diagnosis method
CN113472759A (en) * 2021-06-21 2021-10-01 上汽通用五菱汽车股份有限公司 Method for changing vehicle communication protocol, server and readable storage medium
CN113844315A (en) * 2021-09-24 2021-12-28 北京胜能能源科技有限公司 Method, device, medium, electronic device and server for acquiring battery pack information
CN114035552A (en) * 2021-11-16 2022-02-11 深圳市元征科技股份有限公司 Vehicle diagnosis method, diagnosis device and readable storage medium
CN115052056A (en) * 2022-04-26 2022-09-13 深圳市云伽智能技术有限公司 Industrial control communication method, device, equipment and storage medium
CN117640702A (en) * 2024-01-26 2024-03-01 深圳市星卡科技股份有限公司 Communication protocol acquisition method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103676936A (en) * 2013-12-09 2014-03-26 北京天元晟业科技有限公司 Vehicle diagnosis test system and information transmitting method of vehicle diagnosis test system
EP2755010A1 (en) * 2013-01-09 2014-07-16 MAHA Maschinenbau Haldenwang GmbH & Co. KG Diagnostic apparatus and test method for testing the power, braking, exhaust gas or function of a motor vehicle by means of a motor vehicle test bench
CN109164783A (en) * 2018-07-26 2019-01-08 深圳市元征科技股份有限公司 Vehicular diagnostic method, device, equipment and medium
CN110136409A (en) * 2019-04-02 2019-08-16 深圳市元征科技股份有限公司 A kind of vehicle collision alarm method, device, mobile unit and storage medium
CN110985221A (en) * 2019-11-15 2020-04-10 深圳市元征科技股份有限公司 Idle speed adjusting method and device, vehicle-mounted equipment and readable storage medium
CN210895123U (en) * 2019-11-06 2020-06-30 深圳市道通科技股份有限公司 Automobile diagnosis equipment and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2755010A1 (en) * 2013-01-09 2014-07-16 MAHA Maschinenbau Haldenwang GmbH & Co. KG Diagnostic apparatus and test method for testing the power, braking, exhaust gas or function of a motor vehicle by means of a motor vehicle test bench
CN103676936A (en) * 2013-12-09 2014-03-26 北京天元晟业科技有限公司 Vehicle diagnosis test system and information transmitting method of vehicle diagnosis test system
CN109164783A (en) * 2018-07-26 2019-01-08 深圳市元征科技股份有限公司 Vehicular diagnostic method, device, equipment and medium
CN110136409A (en) * 2019-04-02 2019-08-16 深圳市元征科技股份有限公司 A kind of vehicle collision alarm method, device, mobile unit and storage medium
CN210895123U (en) * 2019-11-06 2020-06-30 深圳市道通科技股份有限公司 Automobile diagnosis equipment and system
CN110985221A (en) * 2019-11-15 2020-04-10 深圳市元征科技股份有限公司 Idle speed adjusting method and device, vehicle-mounted equipment and readable storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112489245A (en) * 2020-11-27 2021-03-12 深圳市舜太科技有限公司 Vehicle diagnosis data storage method and system and readable storage medium
CN112416409A (en) * 2020-12-07 2021-02-26 安徽江淮汽车集团股份有限公司 Vehicle-mounted computer software upgrading method, device, equipment and storage medium
CN113065033A (en) * 2021-03-22 2021-07-02 江铃汽车股份有限公司 ODX file-based diagnosis method
CN113472759A (en) * 2021-06-21 2021-10-01 上汽通用五菱汽车股份有限公司 Method for changing vehicle communication protocol, server and readable storage medium
CN113844315A (en) * 2021-09-24 2021-12-28 北京胜能能源科技有限公司 Method, device, medium, electronic device and server for acquiring battery pack information
CN113844315B (en) * 2021-09-24 2024-01-26 北京胜能能源科技有限公司 Method, device, medium, electronic equipment and server for acquiring battery pack information
CN114035552A (en) * 2021-11-16 2022-02-11 深圳市元征科技股份有限公司 Vehicle diagnosis method, diagnosis device and readable storage medium
CN115052056A (en) * 2022-04-26 2022-09-13 深圳市云伽智能技术有限公司 Industrial control communication method, device, equipment and storage medium
CN117640702A (en) * 2024-01-26 2024-03-01 深圳市星卡科技股份有限公司 Communication protocol acquisition method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111813095A (en) Vehicle diagnosis method, device and medium
Huybrechts et al. Automatic reverse engineering of CAN bus data using machine learning techniques
CN110244691B (en) Automobile diagnosis method, device and system
CN111552267A (en) Vehicle diagnosis method and device and vehicle diagnosis equipment
CN112558584B (en) Diagnostic data acquisition method and device and diagnostic equipment
CN113703868A (en) Vehicle diagnostic software configuration method, electronic device and readable storage medium
CN113608518A (en) Data generation method, device, terminal equipment and medium
CN113408828A (en) Production line optimization method and device based on intelligent manufacturing and server
EP4206002A1 (en) Method and apparatus for displaying function menu interface of automobile tyre pressure monitoring system
CN111078948A (en) Automobile diagnosis data analysis method and system and storage medium
US20210390802A1 (en) Method, Computer Program And Device For Processing Signals
CN111474923B (en) Vehicle diagnosis method, device and equipment
CN111857103B (en) Vehicle diagnosis method, device, equipment and storage medium
CN112306041A (en) Vehicle configuration information writing method and device and electronic equipment
CN114488997B (en) ECU (electronic control Unit) refreshing method and device, electronic equipment and storage medium
CN115755867A (en) Vehicle diagnosis method and related device
CN113934198A (en) Vehicle diagnosis method, vehicle diagnosis device, electronic device, and storage medium
CN114896168A (en) Rapid debugging system, method and memory for automatic driving algorithm development
CN112445816A (en) Vehicle diagnostic data reference method and device, terminal equipment and storage medium
CN113342430A (en) Fault code processing method and device, terminal equipment and readable storage medium
Poaka et al. New architectural design of the runtime server for remote vehicle communication services
CN112306040A (en) Vehicle detection method, device, equipment and server
CN112319495B (en) Method, device and equipment for determining automobile system model and storage medium
CN112104766B (en) Diagnostic protocol reconstruction method, device, terminal equipment and storage medium
CN116756050B (en) MBSE-based inertial product use case analysis method, system and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201023