CN113406944A - Vehicle diagnosis method, apparatus, device and computer readable storage medium - Google Patents

Vehicle diagnosis method, apparatus, device and computer readable storage medium Download PDF

Info

Publication number
CN113406944A
CN113406944A CN202110565830.9A CN202110565830A CN113406944A CN 113406944 A CN113406944 A CN 113406944A CN 202110565830 A CN202110565830 A CN 202110565830A CN 113406944 A CN113406944 A CN 113406944A
Authority
CN
China
Prior art keywords
vehicle
pin
obd
target communication
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.)
Granted
Application number
CN202110565830.9A
Other languages
Chinese (zh)
Other versions
CN113406944B (en
Inventor
刘均
李寒冰
王力
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Yuanzheng Future Automobile 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 Yuanzheng Future Automobile Technology Co ltd filed Critical Shenzhen Yuanzheng Future Automobile Technology Co ltd
Priority to CN202110565830.9A priority Critical patent/CN113406944B/en
Publication of CN113406944A publication Critical patent/CN113406944A/en
Application granted granted Critical
Publication of CN113406944B publication Critical patent/CN113406944B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Abstract

The application belongs to the field of automobile diagnosis, and provides a vehicle diagnosis method, a device, equipment and a storage medium, wherein the method comprises the following steps: sequentially scanning pins of an OBD diagnosis seat of a vehicle to be detected in a protocol matching mode; determining a target communication pin of the OBD diagnosis seat according to a scanning result; and communicating and diagnosing the vehicle to be diagnosed through the target communication pin. Through the vehicle diagnosis method, even if the pin definition of the OBD diagnosis seat is different from the pin definition of the OBD diagnosis equipment, effective communication and diagnosis can be carried out according to the determined target communication pin, and the diagnosis success rate of the vehicle to be detected is greatly improved.

Description

Vehicle diagnosis method, apparatus, device and computer readable storage medium
Technical Field
The present application relates to a vehicle diagnosis method, device, apparatus and computer readable storage medium.
Background
In order to effectively reduce the emission pollution of automobiles and standardize the diagnosis of the automobile emission and driving related faults, the related national standards require that the automobiles are loaded with OBDs (English is called On-Board diagnostics, Chinese is called vehicle-mounted automatic diagnosis system).
When different motor vehicle manufacturers produce motor vehicles, the pins of the set OBD diagnosis seat are not defined according to the standard pins, or communication failure exists between the OBD diagnosis equipment and the OBD diagnosis seat due to the existence of the custom pins, and further the existing vehicle diagnosis efficiency is low.
Disclosure of Invention
In view of this, embodiments of the present application provide a vehicle diagnosis method, apparatus, device and computer-readable storage medium, so as to solve the problem in the prior art that the vehicle diagnosis efficiency is low due to the problem of the pin of the OBD diagnosis socket.
A first aspect of an embodiment of the present application provides a vehicle diagnosis method, which is applied to an OBD diagnosis apparatus, and includes:
sequentially scanning pins of an OBD diagnosis seat of a vehicle to be detected in a protocol matching mode;
determining a target communication pin of the OBD diagnosis seat according to a scanning result;
and communicating and diagnosing the vehicle to be diagnosed through the target communication pin.
Optionally, the determining, according to the scanning result, a target communication pin of the OBD diagnostic socket includes:
when a matched protocol is scanned, determining the target communication pin according to pin information defined by the protocol;
when the matched protocol is not scanned, detecting the electrical parameters of all pins of the OBD diagnosis seat;
and determining the target communication pins of the OBD diagnosis seat according to the electrical parameters of all the pins.
Optionally, when the matched protocol is scanned, after the target communication pin is determined according to the pin information defined by the protocol, the method includes:
communicating the vehicle to be diagnosed by a target communication pin determined based on the pin information;
if the communication fails, detecting the electrical parameters of all pins of the OBD diagnosis seat;
and re-determining the target communication pin of the OBD diagnosis seat according to the electrical parameters of all the pins.
Optionally, the electrical parameter includes resistance and/or voltage between the pins.
Optionally, before the communicating and diagnosing the vehicle to be diagnosed through the target communication pin, the method includes:
and cutting off the communication connection between the interference pin on the OBD diagnosis equipment and the OBD diagnosis seat.
Optionally, the communicating and diagnosing the vehicle to be diagnosed through the target communication pin includes:
generating at least one group of test schemes according to the target communication pins;
and communicating and diagnosing the vehicle to be diagnosed according to the test scheme and the target communication pin.
Optionally, the test protocol comprises at least two different sets of test protocols; the communicating and diagnosing the vehicle to be diagnosed according to the test scheme and the target communication pin comprises the following steps:
communicating the vehicle to be diagnosed according to one of the test schemes;
if the communication is successful, diagnosis is carried out, and the diagnosis of the vehicle to be diagnosed is completed;
and if the communication fails, communicating the vehicle to be diagnosed according to the next group of test schemes.
A second aspect of the embodiments of the present application provides a vehicle diagnostic apparatus applied to an OBD diagnostic device, the apparatus including:
the scanning unit is used for sequentially scanning pins of an OBD diagnosis seat of the vehicle to be detected in a protocol matching mode;
the target communication pin determining unit is used for determining a target communication pin of the OBD diagnosis seat according to a scanning result;
and the communication diagnosis unit is used for communicating and diagnosing the vehicle to be diagnosed through the target communication pin.
A third aspect of the embodiments of the present application provides a vehicle diagnostic apparatus including a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the vehicle diagnostic method according to any one of the first aspect when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the vehicle diagnostic method according to any one of the first aspects.
Compared with the prior art, the embodiment of the application has the advantages that: according to the OBD diagnosis seat, after the protocols matched with the OBD diagnosis seat are obtained through scanning in the protocol matching mode, the target communication pins of the OBD diagnosis seat are determined according to the scanning results matched with the protocols, communication and diagnosis are carried out according to the determined target communication pins, even if the pin definition of the OBD diagnosis seat is different from the pin definition of OBD diagnosis equipment, effective communication and diagnosis can be carried out according to the determined target communication pins, and the diagnosis success rate of a vehicle to be detected is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions 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 it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a pin schematic of an OBD diagnostic socket;
FIG. 2 is a schematic flow chart illustrating an implementation of a vehicle diagnostic method according to an embodiment of the present disclosure;
fig. 3 is a schematic flow chart illustrating a communication diagnosis performed according to an electrical parameter according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a vehicle diagnostic apparatus provided in an embodiment of the present application;
fig. 5 is a schematic diagram of a vehicle diagnostic apparatus provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
At present, an OBD diagnosis seat in an OBD system of a vehicle comprises a plurality of communication pins for OBD diagnosis and vehicle type diagnosis. The programming of OBD-based vehicle diagnostic devices (alternatively referred to as OBD diagnostic devices) requires that confusion between systems be avoided, requiring not only the use of a standard 16-pin diagnostic interface, but also the use of specific coding to correspond to components in the manufacturer's files to achieve uniformity and standardization of diagnosis.
The interface standard for OBD diagnostic sockets is generally shown in fig. 1, and the interface includes 16 pins. Pins 1, 3, 8, 9, 11, 12, and 13 are not allocated and can be customized by the vehicle manufacturer. Pins 2, 6, 7, 10, 14 and 15 are for diagnostic communication. Pins 4, 5 and 16 are power pins.
At present, a large number of vehicles are not defined by OBD pins according to standards, or even though standard OBD pins are adopted, the OBD pins also comprise manufacturer-defined pins. For example, a 13 year curio car, except that pin No. 7 defines the K line, also contains the factory-defined pin. Due to the setting of the custom pin, the operation of the vehicle diagnosis device based on the OBD may be interfered, so that the OBD communication fails, or the diagnosis is incomplete due to data packet loss, and the like, so that the vehicle diagnosis efficiency is greatly reduced.
In addition, some automobile manufacturers are not equipped with standards for OBD pin definition. For example, in an automobile produced in 18 years, three protocols of 1 and 9, 3 and 11, 6 and 14 are included, wherein OBD communication pins are defined as 3 and 11. In this case, the OBD communication failure may be directly caused due to the different definition of the pins of the OBD vehicle diagnostic device and the pins of the OBD diagnostic seat.
In view of the above problem, an embodiment of the present application proposes a vehicle diagnosis method, which is applied to an OBD diagnosis apparatus, as shown in fig. 2, and includes:
step S201, sequentially scanning pins of an OBD diagnosis seat of a vehicle to be detected in a protocol matching mode.
And step S202, determining a target communication pin of the OBD diagnosis seat according to the scanning result.
And step S203, communicating and diagnosing the vehicle to be diagnosed through the target communication pin.
In step S201, the protocol matching method in the embodiment of the present application may preset multiple communication protocols in the OBD diagnostic device. And matching one by one according to a preset matching sequence. And when the matched protocol can be correctly analyzed to obtain the communication data, the OBD diagnosis seat of the vehicle to be detected can be determined to be matched with the currently selected protocol.
The protocols set in the OBD diagnostic device can include one or more of protocols such as ISO 9141-2, ISO 14230-4, ISO15765-4, SAE J1850, ISO 27145, SAE J1939 and the like.
Of course, the protocol in the OBD diagnostic device is not limited to this, and the protocol in the OBD diagnostic device may also be updated by the server by establishing a communication connection with the server through a network.
When an ECU (Electronic Control Unit) of the vehicle to be detected is started, the OBD diagnosis equipment is connected with an OBD diagnosis seat of the vehicle to be detected. And the OBD diagnostic equipment initiates a communication request to the ECU of the vehicle to be detected. The OBD may be powered by an OBD diagnostic receptacle. For example, pin 16 of the OBD diagnostic socket is a power line, pin 4 is a ground line, and pin 5 is a signal ground line.
When the OBD diagnostic equipment selects the protocols in sequence for matching, if correct data or data in a correct format can be received, the currently selected protocol can be matched with the OBD diagnostic seat of the vehicle to be detected. If the correct data, or the correct format of data, cannot be received, it indicates that the currently selected protocol does not match the OBD diagnostic seat of the vehicle to be tested.
In step S202, when determining the target communication pin according to the scanning result, the following three situations may be included:
the first situation is as follows:
when the OBD diagnostic equipment obtains the matched protocol, the target communication pin can be determined according to the communication pin defined by the protocol.
For example, when it is detected that the protocol matched with the OBD diagnostic socket is ISO15765-4, the corresponding communication pins include 6 and 14, the communication pin 6 is a CAN (chinese is all called Controller Area Network, and english is all called Controller Area Network) bus high-level pin, and the 14 pin is a CAN bus low-level pin.
In a possible implementation manner, after the protocol matched with the OBD diagnostic socket is determined in a protocol matching manner, a communication test can be further performed. Whether the matched protocol can support the successful communication between the OBD-based vehicle diagnostic equipment and the ECU of the vehicle to be detected can be further judged. If the matched protocol can successfully communicate with the vehicle ECU, definition information of a target communication pin of the OBD diagnosis seat can be determined according to the matched protocol.
Case two:
after the matched protocol is determined according to the scanning result matched with the protocol, if the matched protocol cannot enable the OBD diagnosis equipment to be successfully communicated with the ECU of the vehicle to be detected, the electrical parameters of the pins of the OBD diagnosis seat can be detected, and the communication pins and the corresponding detection scheme or test scheme are determined according to the detected electrical parameters.
Normally, the resistance between CAN-H and CAN-L in the CAN bus is 60-120 ohm, and there will be a voltage difference of more than 0V between CAN-H and CAN-L. And the resistance between CAN pins of a non-identical group is typically several kilo-ohms. Accordingly, based on the detected resistance between the pins and the voltage difference between the pins, a target communication pin may be determined, which may include one or more sets of communication pins.
Case three:
when the matched protocol is determined according to the scanning result of the protocol matching, if the protocol matched with the OBD diagnosis seat is not found after the scanning is finished, the electrical parameters of the pin of the OBD diagnosis seat can be detected, and the target communication pin of the OBD diagnosis seat is determined according to the detected electrical parameters.
After the target communication pin of the OBD diagnosis seat is determined, the OBD diagnosis seat can provide working power supply for OBD diagnosis equipment according to standard definition of the OBD diagnosis seat.
In a possible implementation manner, after determining the target communication pin between the OBD diagnosis seat and the OBD diagnosis device, that is, before the target communication pin communicates and diagnoses the vehicle to be diagnosed, the connection between the interference pin of the OBD diagnosis seat and the OBD diagnosis device can be cut off, so that the interference signal caused by the transmission signal defined on the interference pin to the target communication pin can be effectively avoided.
The interference pin may be another pin included in the OBD diagnostic socket, in addition to the power pin and the communication pin, that is, an interference pin that may generate an interference signal. For example, the communication pins of the communication protocol ISO15765-4 are 6 and 14, the power pins of the OBD standard are 4, 5 and 16, and the communication pin and the pins other than the power pin, i.e. the pins of the OBD diagnostic socket which are not the power pin and are not the communication pin, can be defined as interference pins.
Certainly, the definition of the interference pin may not be limited to this, and one or more pins of other pins besides the communication pin and the power supply pin may be flexibly determined to be the interference pin according to a setting instruction of a user.
In a possible implementation manner, the OBD diagnostic device may initialize the pins other than the power pin and the communication pin according to the matched protocol, and a lower computer in the OBD diagnostic device cuts off the communication connection between the non-communication pin and the non-power pin, or the lower computer may also be another device to which the OBD diagnostic device is connected.
Because the OBD diagnostic equipment cuts off the communication connection between the interference pin of the OBD diagnostic seat and the OBD diagnostic seat, the interference signal in the self-defined interference pin of the vehicle to be detected can not be received by the OBD diagnostic equipment, the interference operation of the interference pin on the OBD diagnostic equipment or the damage of the OBD diagnostic equipment can be effectively avoided, the OBD communication failure probability is reduced, and the probability of incomplete detection or diagnostic data caused by data packet loss is reduced.
After the target communication pin of the OBD diagnosis seat is determined, the OBD diagnosis device can establish communication connection between the target communication pin of the OBD diagnosis seat and the OBD diagnosis device when a vehicle to be detected is detected. Therefore, the OBD diagnosis seat can effectively adapt to the problem that OBD communication failure or incomplete diagnosis data is caused due to different pin definitions of the OBD diagnosis seat, and the diagnosis success rate of a vehicle to be detected is greatly improved.
Fig. 2 shows a scenario in which the OBD diagnostic device determines a target communication pin for communication and diagnosis in a protocol matching manner. In the implementation manner, for the fact that the pin definition is not performed according to the standard OBD by the automobile manufacturer, the protocol set in the OBD diagnostic device may not be matched with the OBD diagnostic seat, or the protocol is matched and the OBD diagnostic device cannot successfully perform ECU communication with the vehicle to be detected according to the matched protocol.
In this embodiment of the application, if no matched protocol is scanned, or if the matched protocol is scanned and the vehicle cannot normally communicate with the vehicle, the communication diagnosis may be performed according to the electrical parameter, and the implementation process may be as shown in fig. 3, and includes:
in S301, electrical parameters between pins of the OBD diagnostic socket are scanned.
The electrical parameters described in the embodiments of the present application may include resistance between the pins and/or voltage between the pins. The resistance and/or voltage between any two pins other than the power supply pin may be detected.
In S302, a communication pin of the OBD diagnostic socket and one or more test schemes corresponding to the communication pin are determined according to the electrical parameter.
Normally, the resistance between CAN-H and CAN-L in the CAN bus is 60-120 ohm, and there will be a voltage difference of more than 0V between CAN-H and CAN-L. And the resistance between CAN pins of a non-identical group is typically several kilo-ohms. Thus, one or more sets of communication pins can be determined based on the detected resistance between the pins and the voltage difference between the pins. And determining one or more corresponding test schemes according to the positions of the communication pins.
For example, by detecting the voltage and resistance, the pins of the CAN bus are determined to be 6 and 14, the protocol at the pins may be ISO15765-4 or SAE-J2284, and the corresponding test scheme may be determined according to the corresponding protocol.
In a possible implementation manner, communication pins including, for example, a CAN bus pin and the like included in the OBD diagnostic socket are determined through voltage and resistance detection, and a pin configuration file is generated according to the determined communication pins, and pin configuration information of the OBD diagnostic socket is recorded through the pin configuration file. And determining a test scheme corresponding to the pin configuration file according to the generated pin configuration file.
In S303, OBD detection is performed according to the test scheme and the communication pin.
When OBD detection is carried out according to the plurality of test schemes, a test scheme which is successfully communicated with the ECU of the automobile to be detected can be selected from the plurality of test schemes, and diagnosis and detection of the automobile to be detected are carried out. For example, communication detection may be performed one by one according to the determined test scheme, and if communication fails, detection may be performed in the next set of test schemes. And if the communication is successful, carrying out OBD detection and diagnosis according to the test scheme of successful communication.
When OBD detection and diagnosis are carried out according to a successful communication test scheme, the test scheme can be obtained by a lower computer in the OBD-based vehicle diagnosis equipment, or the test scheme is sent to lower computers positioned in other equipment, so that the lower computer cuts off the communication connection with an interference pin in an OBD diagnosis seat, the interference pin can be a non-power supply pin and a non-communication pin, OBD detection and diagnosis are carried out through the communication connection of the interference pin, the interference and damage of other pins to the OBD-based vehicle diagnosis equipment can be effectively avoided, the communication success rate is improved, and the integrity of diagnosis data is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 4 is a schematic diagram of a vehicle diagnosis device provided in an embodiment of the present application, and as shown in fig. 4, the device includes:
the scanning unit 401 is configured to sequentially scan pins of an OBD diagnostic seat of a vehicle to be detected in a protocol matching manner;
a target communication pin determination unit 402, configured to determine a target communication pin of the OBD diagnostic socket according to a scanning result;
and a communication diagnosis unit 403, configured to communicate and diagnose the vehicle to be diagnosed through the target communication pin.
The vehicle diagnostic apparatus shown in fig. 4 corresponds to the vehicle diagnostic method shown in fig. 2.
In a possible implementation manner, the target communication pin determining unit 402 includes:
the first target communication pin determining subunit is used for determining the target communication pin according to the pin information defined by the protocol when the matched protocol is scanned;
the first electrical parameter detection subunit is used for detecting the electrical parameters of all pins of the OBD diagnosis seat when a matched protocol is not scanned;
and the second target communication pin determining subunit is used for determining the target communication pins of the OBD diagnosis seat according to the electrical parameters of all the pins.
In a possible implementation, the apparatus further includes:
the communication subunit is used for communicating the vehicle to be diagnosed through the target communication pin determined based on the pin information;
the second electrical parameter detection subunit is used for detecting the electrical parameters of all pins of the OBD diagnosis seat if the communication fails;
and the third target communication pin determining subunit is used for re-determining the target communication pins of the OBD diagnosis seat according to the electrical parameters of all the pins.
Wherein the electrical parameters include resistance and/or voltage between the pins.
In a possible implementation, the apparatus further includes:
and the connection cutting-off unit is used for cutting off the communication connection between the interference pin on the OBD diagnosis equipment and the OBD diagnosis seat.
In a possible implementation, the communication diagnosis unit 403 includes:
the test scheme generating subunit is used for generating at least one group of test schemes according to the target communication pins;
and the diagnosis subunit is used for communicating and diagnosing the vehicle to be diagnosed according to the test scheme and the target communication pin.
In a possible implementation, the test scenarios include at least two different sets of test scenarios; the diagnostic subunit includes:
the first communication module is used for communicating the vehicle to be diagnosed according to one group of test schemes;
the diagnosis completion module is used for diagnosing and completing the diagnosis of the vehicle to be diagnosed if the communication is successful;
and the second communication module is used for communicating the vehicle to be diagnosed according to the next group of test schemes if the communication fails.
The vehicle diagnostic apparatus shown in fig. 4 corresponds to the vehicle diagnostic method shown in fig. 2.
Fig. 5 is a schematic diagram of a vehicle diagnostic apparatus provided in an embodiment of the present application. As shown in fig. 5, the vehicle diagnostic apparatus 5 of the embodiment includes: a processor 50, a memory 51 and a computer program 52, such as an OBD detection program, stored in said memory 51 and executable on said processor 50. The steps in each of the above-described vehicle diagnostic method embodiments are implemented when the processor 50 executes the computer program 52. Alternatively, the processor 50 implements the functions of the modules/units in the above-described device embodiments when executing the computer program 52.
Illustratively, the computer program 52 may be partitioned into one or more modules/units, which are stored in the memory 51 and executed by the processor 50 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions for describing the execution process of the computer program 52 in the vehicle diagnosis apparatus 5.
The vehicle diagnostic device may include, but is not limited to, a processor 50, a memory 51. Those skilled in the art will appreciate that fig. 5 is merely an example of the vehicle diagnostic device 5, and does not constitute a limitation of the vehicle diagnostic device 5, and may include more or fewer components than shown, or combine certain components, or different components, for example, the vehicle diagnostic device may also include input-output devices, network access devices, buses, and the like.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the vehicle diagnostic apparatus 5, such as a hard disk or a memory of the vehicle diagnostic apparatus 5. The memory 51 may also be an external storage device of the vehicle diagnostic device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the vehicle diagnostic device 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the vehicle diagnostic device 5. The memory 51 is used to store the computer program and other programs and data required by the vehicle diagnostic apparatus. The memory 51 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a computer readable storage medium, and when the computer program is executed by a processor, the steps of the methods described above can be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should 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; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A vehicle diagnostic method applied to an OBD diagnostic apparatus, the method comprising:
sequentially scanning pins of an OBD diagnosis seat of a vehicle to be detected in a protocol matching mode;
determining a target communication pin of the OBD diagnosis seat according to a scanning result;
and communicating and diagnosing the vehicle to be diagnosed through the target communication pin.
2. The vehicle diagnostic method of claim 1, wherein determining the target communication pin of the OBD diagnostic socket according to the scan result comprises:
when a matched protocol is scanned, determining the target communication pin according to pin information defined by the protocol;
when the matched protocol is not scanned, detecting the electrical parameters of all pins of the OBD diagnosis seat;
and determining the target communication pins of the OBD diagnosis seat according to the electrical parameters of all the pins.
3. The vehicle diagnostic method according to claim 2, wherein when a matching protocol is scanned, determining the target communication pin according to the pin information defined by the protocol comprises:
communicating the vehicle to be diagnosed by a target communication pin determined based on the pin information;
if the communication fails, detecting the electrical parameters of all pins of the OBD diagnosis seat;
and re-determining the target communication pin of the OBD diagnosis seat according to the electrical parameters of all the pins.
4. The vehicle diagnostic method according to claim 2 or 3, wherein the electrical parameter comprises resistance and/or voltage between pins.
5. The method according to claim 1, wherein before the communicating and diagnosing the vehicle to be diagnosed through the target communication pin, the method comprises:
and cutting off the communication connection between the interference pin on the OBD diagnosis equipment and the OBD diagnosis seat.
6. The method according to claim 1, wherein the communicating and diagnosing the vehicle to be diagnosed through the target communication pin comprises:
generating at least one group of test schemes according to the target communication pins;
and communicating and diagnosing the vehicle to be diagnosed according to the test scheme and the target communication pin.
7. The method of claim 6, wherein the test protocol comprises at least two different sets of test protocols; the communicating and diagnosing the vehicle to be diagnosed according to the test scheme and the target communication pin comprises the following steps:
communicating the vehicle to be diagnosed according to one of the test schemes;
if the communication is successful, diagnosis is carried out, and the diagnosis of the vehicle to be diagnosed is completed;
and if the communication fails, communicating the vehicle to be diagnosed according to the next group of test schemes.
8. A vehicle diagnostic apparatus, characterized in that the apparatus is applied to an OBD diagnostic device, the apparatus comprising:
the scanning unit is used for sequentially scanning pins of an OBD diagnosis seat of the vehicle to be detected in a protocol matching mode;
the target communication pin determining unit is used for determining a target communication pin of the OBD diagnosis seat according to a scanning result;
and the communication diagnosis unit is used for communicating and diagnosing the vehicle to be diagnosed through the target communication pin.
9. A vehicle diagnostic apparatus comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the steps of the method according to any one of claims 1 to 7 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202110565830.9A 2021-05-24 2021-05-24 Vehicle diagnosis method, device, equipment and computer readable storage medium Active CN113406944B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110565830.9A CN113406944B (en) 2021-05-24 2021-05-24 Vehicle diagnosis method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110565830.9A CN113406944B (en) 2021-05-24 2021-05-24 Vehicle diagnosis method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113406944A true CN113406944A (en) 2021-09-17
CN113406944B CN113406944B (en) 2023-05-09

Family

ID=77674666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110565830.9A Active CN113406944B (en) 2021-05-24 2021-05-24 Vehicle diagnosis method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113406944B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114035552A (en) * 2021-11-16 2022-02-11 深圳市元征科技股份有限公司 Vehicle diagnosis method, diagnosis device and readable storage medium
CN117590835A (en) * 2024-01-18 2024-02-23 深圳市星卡科技股份有限公司 Protocol self-adaptive diagnosis method and device supporting vehicle OBD interface

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105024869A (en) * 2014-04-24 2015-11-04 广西金奔腾汽车科技有限公司 Automobile OBD communication pin intelligent identification method and device
CN108255158A (en) * 2018-01-16 2018-07-06 深圳市道通科技股份有限公司 Vehicular diagnostic method and device
CN109861882A (en) * 2019-01-24 2019-06-07 深圳市元征科技股份有限公司 The method, apparatus and car-mounted terminal of vehicle bus protocol identification
CN111158347A (en) * 2020-01-14 2020-05-15 深圳市元征科技股份有限公司 OBD detection method and related equipment
CN111208800A (en) * 2018-01-25 2020-05-29 深圳市道通科技股份有限公司 Automobile diagnosis method and device and vehicle communication interface
US20200328910A1 (en) * 2017-12-27 2020-10-15 Autel Intelligent Technology Corp. Ltd. Obd interface bus type detection method and apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105024869A (en) * 2014-04-24 2015-11-04 广西金奔腾汽车科技有限公司 Automobile OBD communication pin intelligent identification method and device
US20200328910A1 (en) * 2017-12-27 2020-10-15 Autel Intelligent Technology Corp. Ltd. Obd interface bus type detection method and apparatus
CN108255158A (en) * 2018-01-16 2018-07-06 深圳市道通科技股份有限公司 Vehicular diagnostic method and device
CN111208800A (en) * 2018-01-25 2020-05-29 深圳市道通科技股份有限公司 Automobile diagnosis method and device and vehicle communication interface
CN109861882A (en) * 2019-01-24 2019-06-07 深圳市元征科技股份有限公司 The method, apparatus and car-mounted terminal of vehicle bus protocol identification
CN111158347A (en) * 2020-01-14 2020-05-15 深圳市元征科技股份有限公司 OBD detection method and related equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114035552A (en) * 2021-11-16 2022-02-11 深圳市元征科技股份有限公司 Vehicle diagnosis method, diagnosis device and readable storage medium
CN117590835A (en) * 2024-01-18 2024-02-23 深圳市星卡科技股份有限公司 Protocol self-adaptive diagnosis method and device supporting vehicle OBD interface

Also Published As

Publication number Publication date
CN113406944B (en) 2023-05-09

Similar Documents

Publication Publication Date Title
CN111208800B (en) Automobile diagnosis method and device and vehicle communication interface
CN108803580B (en) Method for matching vehicle CAN protocol and related equipment
CN110032173B (en) Automatic matching method for automobile diagnosis system and related equipment
CN110588540A (en) Writing method and device of vehicle configuration information
CN113406944B (en) Vehicle diagnosis method, device, equipment and computer readable storage medium
US20050182535A1 (en) Device and method for identifying a specific communication protocol used in an on-board diagnostic tool
US20080071439A1 (en) Automatically identifying Volvo communication protocols method and apparatus
US9779563B2 (en) Transfer dongle for stored vehicle information
CN113608518B (en) Data generation method, device, terminal equipment and medium
CN110244691B (en) Automobile diagnosis method, device and system
CN110083628B (en) Addressing method and device for Electronic Control Unit (ECU) of vehicle
CN110371022B (en) Battery matching method and device and vehicle-mounted equipment
CN113377403A (en) Vehicle remote software upgrading method and device
CN110545220A (en) Automobile diagnosis protocol detection method and related product
CN108445860B (en) Diagnostic apparatus, diagnostic request processing method, and computer-readable storage medium
CN112927392A (en) Communication method, vehicle communication interface device and readable storage medium
KR20120042303A (en) Variant control cluster using vehicle diagnosis protocol and process for setting the same
CN116701177A (en) Method and device for testing interface pins of vehicle-mounted diagnostic system and electronic equipment
CN112217799B (en) Vehicle diagnosis method, vehicle diagnosis device and terminal equipment
CN114115170B (en) Method and device for determining vehicle configuration module and after-sale diagnostic instrument
CN114281065A (en) Electronic control unit flashing method and device for vehicle and diagnostic equipment
CN113625690A (en) Intelligent diagnosis method and system for automobile and mobile terminal
CN113079204A (en) Vehicle filter element genuine product identification system and working method thereof
CN111143225A (en) Vulnerability processing method of automobile diagnosis software and related product
CN111683347B (en) Ignition signal synchronization method and related equipment

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20221013

Address after: 518000 Guangdong province Shenzhen Longgang District Bantian Street five and Avenue North 4012 Yuan Zheng Industrial Park.

Applicant after: LAUNCH TECH Co.,Ltd.

Address before: 518000 522, headquarters office building of Yuanzheng technology plant, No. 4012, North Wuhe Avenue, Bantian street, Longgang District, Shenzhen, Guangdong Province

Applicant before: Shenzhen Yuanzheng Future Automobile Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant