WO2019144820A1 - 汽车诊断方法、装置和车辆通讯接口 - Google Patents
汽车诊断方法、装置和车辆通讯接口 Download PDFInfo
- Publication number
- WO2019144820A1 WO2019144820A1 PCT/CN2019/071355 CN2019071355W WO2019144820A1 WO 2019144820 A1 WO2019144820 A1 WO 2019144820A1 CN 2019071355 W CN2019071355 W CN 2019071355W WO 2019144820 A1 WO2019144820 A1 WO 2019144820A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- vehicle
- pin
- protocol
- diagnostic
- information
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/008—Registering or indicating the working of vehicles communicating information to a remotely located station
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0208—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
- G05B23/0213—Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/0808—Diagnosing performance data
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/0841—Registering performance data
- G07C5/085—Registering performance data using electronic data carriers
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2637—Vehicle, car, auto, wheelchair
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C2205/00—Indexing scheme relating to group G07C5/00
- G07C2205/02—Indexing scheme relating to group G07C5/00 using a vehicle scan tool
Definitions
- the present application relates to the field of automotive electronics, and in particular, to a vehicle diagnostic method, apparatus, and vehicle communication interface.
- the technical problem mainly solved by the embodiments of the present invention is to provide a method, a device and a vehicle communication interface for quickly realizing automobile diagnosis, which can improve the efficiency of automobile diagnosis.
- a technical solution adopted by the embodiment of the present invention is: in a first aspect, a vehicle diagnosis method is provided, which is applied to a vehicle communication interface, and the method includes:
- the to-be-diagnosed information is sent to the diagnostic host.
- the method further includes:
- the candidate communication protocol on which the scan is successful is taken as the first communication protocol.
- the method further includes:
- Determining the first pin of the OBD interface including:
- a selected pin that outputs a voltage signal is determined as the first pin.
- the acquiring the vehicle identification code of the vehicle based on the first communication protocol comprises:
- a vehicle identification code of the vehicle is acquired from a vehicle system corresponding to the first pin based on the first communication protocol.
- the determining the first diagnostic protocol according to the vehicle identification code comprises:
- system information corresponding to the vehicle information from a pre-stored system configuration table, where the system information includes a system, a pin corresponding to the system, and a diagnostic protocol supported by the system;
- the diagnostic protocol supported by the system is determined as the first diagnostic protocol.
- the method further includes:
- Determining whether the pin corresponding to the system in the system information includes a second pin, wherein the second pin is a pin that does not output a voltage signal in the selected pin;
- Acquiring and storing the to-be-diagnosed information of the vehicle based on the first diagnostic protocol includes:
- the to-be-diagnosed information of the vehicle is acquired and stored based on the second diagnostic protocol.
- an embodiment of the present invention provides a vehicle diagnostic device, which is applied to a vehicle communication interface, and the device includes:
- a VIN code acquisition module configured to acquire a vehicle identification code of the vehicle based on the first communication protocol
- a diagnosis protocol determining module configured to determine a first diagnostic protocol according to the vehicle identification code
- a to-be-diagnosed information acquiring module configured to acquire and store information to be diagnosed of the vehicle based on the first diagnostic protocol
- the to-be-diagnosed information sending module is configured to send the to-be-diagnosed information to the diagnostic host after being connected to the diagnostic host.
- the device further includes:
- a first pin determining module configured to determine a first pin of the OBD interface and at least one candidate communication protocol associated with the first pin
- a first pin scanning module configured to sequentially scan the first pin based on the at least one candidate communication protocol
- a communication protocol determining module configured to use, as the first communication protocol, a candidate communication protocol on which the scanning is successful.
- the device further includes:
- a voltage signal detecting module configured to detect whether a selected pin of the OBD interface outputs a voltage signal
- the first pin determining module is further configured to:
- a selected pin that outputs a voltage signal is determined as the first pin.
- the VIN code acquisition module is specifically configured to:
- a vehicle identification code of the vehicle is acquired from a vehicle system corresponding to the first pin based on the first communication protocol.
- the diagnostic protocol determining module is specifically configured to:
- system information corresponding to the vehicle information from a pre-stored system configuration table, where the system information includes a system, a pin corresponding to the system, and a diagnostic protocol supported by the system;
- the diagnostic protocol supported by the system is determined as the first diagnostic protocol.
- the device further includes:
- a second pin determining module configured to determine whether a pin corresponding to the system in the system information includes a second pin, wherein the second pin is not outputting a voltage signal in the selected pin Pin
- the diagnostic protocol determining module is further configured to remove a diagnostic protocol related to the second pin from the first diagnostic protocol to obtain a second diagnostic protocol;
- the information to be diagnosed module is further configured to:
- the to-be-diagnosed information of the vehicle is acquired and stored based on the second diagnostic protocol.
- an embodiment of the present invention provides a vehicle communication interface, including:
- At least one processor At least one processor
- the memory stores computer instructions for invoking the computer instructions to perform the method as described above.
- an embodiment of the present invention provides a non-transitory computer readable storage medium storing computer executable instructions for being executed by a vehicle communication interface, Implement the method as described above.
- an embodiment of the present invention provides a computer program product, where the computer program product includes a computer program stored on a non-transitory computer readable storage medium, the computer program includes program instructions, and the program instructions are used to be executed by a vehicle communication interface. To achieve the method as described above.
- the vehicle information of the vehicle can be obtained autonomously, and the to-be-diagnosed information of the vehicle is further obtained according to the vehicle information, and after being connected with the diagnosis host, the to-be-diagnosed information is sent to Diagnosing the host simplifies the information acquisition process of the diagnostic host and improves the diagnostic efficiency of the car.
- FIG. 1 is a schematic flow chart of a method for diagnosing a vehicle according to an embodiment of the present invention
- FIG. 2 is a schematic flow chart of a method for diagnosing a vehicle according to another embodiment of the present invention.
- FIG. 3 is a schematic structural view of an automobile diagnostic apparatus according to an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a vehicle communication interface according to an embodiment of the present invention.
- an embodiment of the present invention provides a method for diagnosing a vehicle, which is applied to a vehicle communication interface, where a vehicle communication interface is respectively connected to a vehicle and a diagnostic host.
- the method includes:
- Step 110 Acquire a vehicle identification code of the vehicle based on the first communication protocol.
- the first communication protocol may be understood as an OBD link layer protocol, and is a general public agreement of the automobile industry, such as a protocol type such as J1850, KWP, IS09141, and STD CAN.
- the OBD interface on the vehicle includes a plurality of pins, and the plurality of pins correspond to a plurality of ECUs in the vehicle.
- the plurality of pins correspond to an ECU of a system.
- the vehicle communication interface VCI can realize communication connection with the ECU corresponding to each pin through the communication protocol supported by the ECU through each pin.
- the VCI scans the pins of the OBD interface through the OBD link layer protocol, which means that the VCI sequentially sends a connection request based on the protocol format of the OBD link layer protocol to the pin, and if the VCI receives the one based on the pin through the pin,
- the OBD link layer protocol may be used as the first communication protocol.
- the VCI may be in communication connection with the ECU corresponding to the pin based on the first communication protocol, so that the vehicle identification code of the vehicle can be acquired from the ECU.
- the ECU belongs to the engine system of the vehicle, and the embodiment of the present application is not limited herein.
- protocol scanning can be performed on each pin in the OBD interface, or only protocol scanning can be performed on selected pins in the OBD interface. All OBD link layer protocol scans can be performed on the pins of the OBD interface, or one or more of the OBD link layer protocols can be selected to scan the pins of the OBD interface.
- the pins of the OBD interface are scanned according to the order of the standard CAN 500K, the standard CAN 250K, the extended CAN 500K, the extended CAN 250K, the PWM, the VPW, the KWP2000, and the ISO9141 protocol, as long as any communication based on any one is received.
- the response of the protocol ends the scan, determining that the communication protocol is the first communication protocol.
- communication with the ECU corresponding to the pin can be performed according to the first communication protocol, so that the vehicle identification code of the vehicle can be acquired from the ECU.
- the vehicle identification code is a set of codes assigned to a car by the automobile manufacturer for identification.
- the English abbreviation is VIN (Vehicle Identification Number).
- the VIN code contains information such as the manufacturer, model, model, vehicle type, engine type, engine code and assembly location, and other equipment. This information can be understood as vehicle information.
- Step 120 Determine a first diagnostic protocol according to the vehicle identification code.
- the VIN code can be parsed to obtain vehicle information of the vehicle.
- the acquired vehicle information may be one or more of the above vehicle information, which is not limited herein.
- the vehicle information obtained by analyzing the VIN code includes, but is not limited to, a model and an annual model, and may include an engine type or a manufacturer.
- the system information corresponding to the vehicle information is searched from a system configuration table pre-stored by the vehicle communication interface, and the system information includes a system and a diagnostic protocol supported by the system;
- the supported diagnostic protocol is determined to be the first diagnostic protocol.
- the system can be an engine system, an anti-lock brake system, a four-wheel drive system, an electronically controlled automatic transmission, an active suspension system, an airbag system, and the like.
- the system configuration table pre-stored in the vehicle communication interface may include a correspondence between the vehicle information and the system information.
- one vehicle information may correspond to a plurality of system information, which may be understood as a system represented by each of the plurality of system information.
- the vehicle communication interface can update the pre-stored system configuration table, for example, to ensure that the latest version of the system configuration table can be updated to the vehicle communication interface in time.
- the vehicle communication interface can obtain the latest version of the system configuration table from the diagnostic host, or the vehicle communication interface can obtain the latest version of the system configuration table from the server, which is not limited herein.
- Step 130 Acquire and store the to-be-diagnosed information of the vehicle based on the first diagnostic protocol.
- the protocol upon which the system ECU communicates with the VCI can be determined. Thereby, information interaction with the ECU of the system can be performed according to the first diagnostic protocol. For example, information such as a fault code, a data stream, a freeze frame, and the like transmitted by the ECU of the system is acquired, wherein the freeze frame refers to current data stream information stored in the ECU when the ECU detects a fault.
- Step 140 After connecting with the diagnostic host, send the to-be-diagnosed information to the diagnostic host.
- connection between the vehicle communication interface and the diagnostic host may be through a wired connection technology such as Universal Serial Bus (USB) technology, or a wireless connection technology such as Bluetooth, (WIFI) or the like.
- USB Universal Serial Bus
- WIFI Bluetooth,
- the vehicle communication interface After being connected to the diagnostic host, the vehicle communication interface sends the to-be-diagnosed information to the diagnostic host, so that the information to be diagnosed is displayed on the display screen of the diagnostic host for the user to view.
- the diagnostic host is caused to diagnose the vehicle based on the received to-be-diagnosed information.
- the vehicle information of the vehicle can be acquired, and the to-be-diagnosed information of the vehicle is further obtained according to the vehicle information, and after the connection with the diagnosis host, the information to be diagnosed is sent to the diagnosis host, simplifying The information acquisition process of the diagnosis host is improved, and the diagnosis efficiency of the vehicle is improved.
- FIG. 2 is a schematic diagram of a vehicle diagnosis method according to another embodiment of the present invention.
- the vehicle communication interface is configured to be respectively connected to a vehicle and a diagnostic host, and the method includes:
- Step 210 Detect whether a selected pin in the OBD interface outputs a voltage signal.
- the ADC is an abbreviation of Analog-to-Digital Converter, which refers to an analog-to-digital converter or an analog-to-digital converter for converting analog signals to digital signals.
- the ADC function of the internal main chip or the peripheral chip can detect whether the selected pin of the OBD interface outputs a voltage signal.
- TI's AM335x chip and Atmel's ATSAME70N21 chip both feature ADC functionality.
- the selected pin can include the 2 (PWM/VPW), 6 (CAN), 7 (KWP2000/ISO9141) pins in the OBD interface.
- Step 220 Determine a selected pin that outputs a voltage signal as a first pin, and determine at least one candidate communication protocol according to the first pin.
- the candidate communication protocol may refer to the above OBD link layer protocol.
- the communication protocol associated with the first pin can be determined to be a candidate communication protocol.
- the candidate communication protocol associated therewith may be the CAN protocol.
- the automotive device does not have the PWM and VPW protocols, and the 6-pin and 7-pin outputs the voltage signal are respectively determined as the first tube.
- the foot determine the standard CAN 500K, standard CAN 250K, extended CAN 500K, extended CAN 250K protocol related to the 6-pin as the candidate communication protocol, and determine the KWP2000 and ISO9141 protocols related to the 7-pin as the candidate communication protocol.
- the KWP and the ISO protocol are not present in the automotive device, and the 2-pin and the 6-pin outputting the voltage signal are respectively determined as the first.
- Pins determine the PWM and VPW protocols associated with the 2-pin as the candidate communication protocol, and determine the standard CAN 500K, standard CAN 250K, extended CAN 500K, and extended CAN 250K protocols associated with the 6-pin as the candidate communication protocol.
- Step 230 Scan the first pin in sequence based on the at least one candidate communication protocol; use the candidate communication protocol on which the scan is successful as the first communication protocol.
- the OBD is based on the standard CAN 500K, the standard CAN 250K, the extended CAN 500K, and the extended CAN 250K protocol.
- the 6-pin of the interface is scanned. If a response based on the protocol is obtained during the scanning of the 6-pin based on a protocol, the protocol is determined to be the first communication protocol. For example, in the process of scanning the 6-pin based on the standard CAN 500K protocol, when the response based on the standard CAN 500K protocol is obtained, the standard CAN 500K protocol can be determined as the first communication protocol.
- the 7-pin can be scanned based on the candidate protocol associated with the 7-pin.
- the 6-pin and the 7-pin can be scanned in sequence, or at the same time, based on the respective related protocols, which is not limited herein.
- Step 240 Acquire a vehicle identification code of the vehicle from the vehicle system corresponding to the first pin based on the first communication protocol.
- the vehicle identification code is stored in the ECU of the engine system. If the first communication protocol is determined from a certain one of the first pins, it indicates that the vehicle system corresponding to the first pin is an engine system, and then the vehicle system corresponding to the first pin can be used according to the first communication protocol. Get the vehicle identification code.
- Step 250 Determine a first diagnostic protocol according to the vehicle identification code.
- vehicle information of the vehicle is acquired, and based on the vehicle information, system information corresponding to the vehicle information is searched from a system configuration table pre-stored in the vehicle communication interface.
- the system information of this embodiment may include a corresponding pin of the system in addition to the system and the diagnostic protocol supported by the system.
- Step 260 Determine whether the corresponding pin of the system in the system information includes the second pin, wherein the second pin is a pin that does not output a voltage signal in the selected pin; if yes, from the first diagnostic protocol The diagnostic protocol associated with the second pin is removed to obtain a second diagnostic protocol.
- the system configuration table obtained from the vehicle information is the system configuration table corresponding to the highest configuration of the model.
- the system configuration table corresponding to the highest configuration of the model For vehicles with different configurations of the same model, some systems and diagnostic protocols supported by the system may not exist.
- the vehicle does not include the system corresponding to the second pin, if the system corresponding pin in the system information includes the first The second pin removes the diagnostic protocol associated with the second pin from the system-supported diagnostic protocol to obtain a second diagnostic protocol.
- the diagnostic protocol to be removed includes the 2-pin related PWM protocol and the VPW protocol. If the diagnostic protocol supported by the system includes the PWM protocol or the VPW protocol, the PWM protocol or the VPW protocol needs to be removed from the diagnostic protocol to obtain the second diagnostic protocol after the removal.
- Step 270 Acquire and store the to-be-diagnosed information of the vehicle based on the second diagnostic protocol.
- Step 280 After connecting with the diagnostic host, send the to-be-diagnosed information to the diagnostic host.
- Steps 270 to 280 refer to the first embodiment, which is within the scope easily understood by those skilled in the art.
- the selected pin that outputs the voltage signal is determined as the first pin by detecting whether the selected pin in the OBD interface outputs a voltage signal, according to The first pin determines at least one candidate communication protocol, determines a selected pin that does not output the voltage signal as the second pin, determines the second diagnostic protocol according to the second pin, and can reduce the determining the first communication protocol and scanning
- the time of the vehicle ECU further improves the efficiency of the vehicle diagnosis.
- the embodiment of the present invention further provides an automobile diagnostic device, which is applied to a vehicle communication interface, and the vehicle communication interface is used for connecting with a vehicle and a diagnostic host.
- the device 300 includes:
- the VIN code obtaining module 310 is configured to acquire a vehicle identification code of the vehicle based on the first communication protocol
- a diagnostic protocol determining module 320 configured to determine a first diagnostic protocol according to the vehicle identification code
- the to-be-diagnosed information obtaining module 330 is configured to acquire and store the to-be-diagnosed information of the vehicle based on the first diagnostic protocol;
- the to-be-diagnosed information sending module 340 is configured to send the to-be-diagnosed information to the diagnostic host after being connected to the diagnostic host.
- the vehicle information of the vehicle is acquired by the VIN code acquisition module 310.
- the to-be-diagnostic information acquisition module 330 further acquires the to-be-diagnosed information of the vehicle according to the vehicle information, and connects with the diagnosis host.
- the to-be-diagnosed information sending module 340 sends the to-be-diagnosed information to the diagnostic host, which simplifies the information acquisition process of the diagnostic host and improves the diagnostic efficiency of the automobile.
- the apparatus 300 further includes:
- a first pin determining module 350 configured to determine a first pin of the OBD interface and at least one candidate communication protocol associated with the first pin
- the first pin scanning module 360 is configured to sequentially scan the first pin based on the at least one candidate communication protocol
- the communication protocol determining module 370 is configured to use the candidate communication protocol on which the scanning is successful as the first communication protocol.
- the apparatus 300 further includes:
- the voltage signal detecting module 380 is configured to detect whether a selected pin of the OBD interface outputs a voltage signal
- the first pin determination module 350 is further configured to:
- the selected pin that outputs the voltage signal is determined as the first pin.
- the VIN code obtaining module 310 is specifically configured to:
- the vehicle identification code of the vehicle is acquired from the vehicle system corresponding to the first pin based on the first communication protocol.
- the diagnostic protocol determining module 320 is specifically configured to:
- the vehicle information searching for system information corresponding to the vehicle information from the pre-stored system configuration table, where the system information includes a system, a corresponding pin of the system, and a diagnostic protocol supported by the system;
- the diagnostic protocol supported by the system is determined as the first diagnostic protocol.
- the device 300 also includes:
- the second pin determining module 390 is configured to determine whether the pin corresponding to the system in the system information includes the second pin, wherein the second pin is a pin that does not output a voltage signal in the selected pin;
- the diagnostic protocol determining module 320 is further configured to remove the diagnostic protocol related to the second pin from the first diagnostic protocol to obtain a second diagnostic protocol;
- the to-be-diagnostic information obtaining module 330 is further configured to:
- the to-be-diagnosed information of the vehicle is acquired and stored based on the second diagnostic protocol.
- the voltage signal detecting module 380 detects whether a selected pin in the OBD interface outputs a voltage signal, and the first pin determining module 350 outputs a voltage signal.
- the selected pin is determined as the first pin, and at least one candidate communication protocol is determined according to the first pin, the selected pin that does not output the voltage signal is determined as the second pin, and the diagnostic protocol determining module 320 is configured according to the second tube.
- the foot determines the second diagnostic protocol, which can reduce the time for determining the first communication protocol and scanning the vehicle ECU, further improving the efficiency of the vehicle diagnosis.
- the device embodiment and the method embodiment of the embodiment of the present invention are based on the same inventive concept, and the technical content in the method embodiment is also applicable to the device embodiment. Therefore, the technical content of the device embodiment is the same as the method embodiment. I will not repeat them here.
- an embodiment of the present invention further provides a vehicle communication interface, where the vehicle communication interface is used for connecting with a vehicle and a diagnostic host.
- the vehicle communication interface stores computer instructions, and the vehicle diagnostic method in any of the above method embodiments can be executed by the above computer instructions.
- the structure of the vehicle communication interface can be realized by the following embodiments.
- FIG. 4 is a schematic structural diagram of a vehicle communication interface 400 according to an embodiment of the present invention.
- the vehicle communication interface 400 includes: one or more processors 401 and a memory 402, and one processor in FIG. 401 is an example.
- the processor 401 and the memory 402 can be connected by a bus or other means, and the connection by a bus is taken as an example in FIG.
- the memory 402 is a non-volatile computer readable storage medium, and can be used for storing non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions corresponding to the automobile diagnostic method in the embodiment of the present invention.
- Module for example, each module shown in Figure 3
- the processor 401 executes various functional applications and data processing of the automobile diagnostic device by executing non-volatile software programs, instructions, and modules stored in the memory 402, that is, the automobile diagnostic method and the device implementation of the above method embodiments are implemented. The function of each module of the example.
- Memory 402 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
- memory 402 can optionally include memory remotely located relative to processor 401, which can be coupled to processor 401 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
- the program instructions/modules are stored in the memory 402, and when executed by the one or more processors 401, perform the vehicle diagnostic method in any of the above-described method embodiments, for example, perform the above-described FIG. 1 to FIG.
- the various steps shown in Fig. 2; the functions of the various modules shown in Fig. 3 can also be implemented.
- the vehicle communication interface VCI may further include at least one communication interface, where the VCI can communicate with the OBD and the diagnostic host respectively by using the same communication interface, or communicate with the OBD and the diagnostic host by using different communication interfaces. This is not limited here.
- the VCI described in the embodiment of the present application may be integrated into the diagnostic host, which is not limited herein.
- the vehicle information of the vehicle can be obtained autonomously, and the to-be-diagnosed information of the vehicle is further obtained according to the vehicle information, and after the connection with the diagnosis host, the information to be diagnosed is sent to the diagnosis host. It simplifies the information acquisition process of the diagnostic host and improves the diagnostic efficiency of the car.
- an embodiment of the present invention further provides a non-volatile computer storage medium storing computer-executable instructions for processing by one or more of a vehicle communication interface
- Executing, for example, a processor 401 in FIG. 4 may cause the one or more processors to perform the vehicle diagnostic method in any of the above method embodiments, for example, to perform the various modes shown in FIGS. 1 through 2 described above. Steps; the functions of the various modules described in FIG. 3 can also be implemented.
- the above product can perform the method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
- the above product can perform the method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
- the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Small-Scale Networks (AREA)
- Communication Control (AREA)
Abstract
一种汽车诊断方法、装置和车辆通讯接口,该方法应用于车辆通讯接口,其包括:基于第一通信协议,获取车辆的车辆识别码(110);根据该车辆识别码,确定第一诊断协议(120);基于该第一诊断协议,获取并存储该车辆的待诊断信息(130);与诊断主机连接后,将待诊断信息发送至诊断主机(140),通过上述方式,能够提升汽车诊断的效率。
Description
本申请要求于2018年01月25日提交中国专利局、申请号为201810074123.8、申请名称为“一种汽车诊断方法、装置和车辆通讯接口”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及汽车电子技术领域,特别是涉及一种汽车诊断方法、装置和车辆通讯接口。
随着汽车自动化程度越来越高,采用电脑控制系统的车辆越来越多,车辆的结构也越来越复杂,这样带来车辆的故障也越来越复杂,从而对汽车维修技师的要求也越来越高,这种背景下,汽车诊断设备的作用就愈发明显,对维修技师来说,快速、准确、功能齐全的诊断设备能更高效的对汽车进行故障诊断。
如何提升汽车诊断设备的诊断效率,成为本领域技术人员积极研究的课题。
发明内容
本发明实施例主要解决的技术问题是提供一种快速实现汽车诊断的方法、装置和车辆通讯接口,能够提升汽车诊断的效率。
本发明实施例采用的一个技术方案是:第一方面,提供一种汽车诊断方法,应用于车辆通讯接口,所述方法包括:
基于第一通信协议,获取车辆的车辆识别码;
根据所述车辆识别码,确定第一诊断协议;
基于所述第一诊断协议,获取并存储所述车辆的待诊断信息;
与诊断主机连接后,将所述待诊断信息发送至所述诊断主机。
可选地,所述方法还包括:
确定OBD接口的第一管脚以及与所述第一管脚相关的至少一个候选通信协议;
基于所述至少一个候选通信协议依次对所述第一管脚进行扫描;
将扫描成功所基于的候选通信协议作为所述第一通信协议。
可选地,所述方法还包括:
检测所述OBD接口中的选定管脚是否输出有电压信号;
所述确定OBD接口的第一管脚,包括:
将输出有电压信号的选定管脚确定为所述第一管脚。
在一些实施例中,所述基于第一通信协议,获取车辆的车辆识别码,包括:
基于所述第一通信协议,从与所述第一管脚对应的车辆系统中获取车辆的车辆识别码。
在一些实施例中,所述根据所述车辆识别码,确定第一诊断协议,包括:
对所述车辆识别码进行解析,获取所述车辆的车辆信息;
根据所述车辆信息,从预存储的系统配置表中查找与所述车辆信息对应的系统信息,所述系统信息包括系统、所述系统对应的管脚、以及所述系统支持的诊断协议;
将所述系统支持的诊断协议确定为所述第一诊断协议。
可选地,所述方法还包括:
判断所述系统信息中所述系统对应的管脚是否包括第二管脚,其中,所述第二管脚为所述选定管脚中未输出有电压信号的管脚;
若为是,从所述第一诊断协议中去除与所述第二管脚相关的诊断协议,以得到第二诊断协议;
所述基于所述第一诊断协议,获取并存储所述车辆的待诊断信息,包括:
基于所述第二诊断协议,获取并存储所述车辆的待诊断信息。
第二方面,本发明实施例提供一种汽车诊断装置,应用于车辆通讯接口,所述装置包括:
VIN码获取模块,用于基于第一通信协议,获取车辆的车辆识别码;
诊断协议确定模块,用于根据所述车辆识别码,确定第一诊断协议;
待诊断信息获取模块,用于基于所述第一诊断协议,获取并存储所述车辆的待诊断信息;
待诊断信息发送模块,用于与诊断主机连接后,将所述待诊断信息发送至所述诊断主机。
可选地,所述装置还包括:
第一管脚确定模块,用于确定OBD接口的第一管脚以及与所述第一管脚相关的至少一个候选通信协议;
第一管脚扫描模块,用于基于所述至少一个候选通信协议依次对所述第一管脚进行扫描;
通信协议确定模块,用于将扫描成功所基于的候选通信协议作为所述第一通信协议。
可选地,所述装置还包括:
电压信号检测模块,用于检测所述OBD接口中的选定管脚是否输出有电压信号;
所述第一管脚确定模块,还用于:
将输出有电压信号的选定管脚确定为所述第一管脚。
在一些实施例中,所述VIN码获取模块,具体用于:
基于所述第一通信协议,从与所述第一管脚对应的车辆系统中获取车辆的车辆识别码。
在一些实施例中,所述诊断协议确定模块,具体用于:
对所述车辆识别码进行解析,获取所述车辆的车辆信息;
根据所述车辆信息,从预存储的系统配置表中查找与所述车辆信息对应的系统信息,所述系统信息包括系统、所述系统对应的管脚、以及所述系统支持的诊断协议;
将所述系统支持的诊断协议确定为所述第一诊断协议。
可选地,所述装置还包括:
第二管脚判断模块,用于判断所述系统信息中所述系统对应的管脚是否包括第二管脚,其中,所述第二管脚为所述选定管脚中未输出有电压信号的管脚;
所述诊断协议确定模块,还用于从所述第一诊断协议中去除与所述第二管脚相关的诊断协议,以得到第二诊断协议;
所述待诊断信息获取模块,还用于:
基于所述第二诊断协议,获取并存储所述车辆的待诊断信息。
第三方面,本发明实施例提供一种车辆通讯接口,包括:
至少一个处理器;以及
与所述至少一个处理器连接的存储器;其中,
所述存储器存储有计算机指令,所述至少一个处理器用于调用所述计算机指令,以执行如上所述的方法。
第四方面,本发明实施例提供一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于被车辆通讯接口执行,以实现如上所述的方法。
第五方面,本发明实施例提供一种计算机程序产品,计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,计算机程序包括程序指令,程序指令用于被车辆通讯接口执行,以实现如上所述的方法。
本发明实施例中,在车辆通讯接口与车辆上的OBD接口连接后,可自主获取车辆的车辆信息,根据车辆信息进一步获取车辆的待诊断信息,与诊断主机连接后,将待诊断信息发送至诊断主机,简化了诊断主机的信息获取流程,提升了汽车诊断效率。
图1是本发明实施例的汽车诊断方法的流程示意图;
图2是本发明另一实施例的汽车诊断方法的流程示意图;
图3是本发明实施例的汽车诊断装置的结构示意图;
图4本发明实施例的车辆通讯接口的结构示意图。
下面将结合附图对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
此外,下面所描述的本发明不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。
第一方面,本发明实施例提供一种汽车诊断方法,应用于车辆通讯接口, 车辆通讯接口用于分别与车辆和诊断主机连接,请参阅图1,该方法包括:
步骤110:基于第一通信协议,获取车辆的车辆识别码。
本申请实施例中,第一通信协议可以理解为OBD链路层协议,是汽车行业通用公开协议,比如J1850、KWP、IS09141、STD CAN等协议类型。
一种实现方式中,车辆上的OBD接口中包括多个管脚,多个管脚与车辆中的多个ECU成对应关系,例如,至少一个管脚对应一个系统的ECU。在车辆通讯接口VCI与OBD接口连接后,车辆通讯接口VCI可以通过各管脚实现与各管脚对应的ECU基于该ECU所支持的通信协议进行通信连接。首先,VCI通过OBD链路层协议对OBD接口的管脚进行扫描,是指VCI向管脚依次发送基于OBD链路层协议的协议格式的连接请求,如果VCI通过该管脚接收到基于其中某个OBD链路层协议的针对该连接请求的响应,则可将该OBD链路层协议作为第一通信协议。
VCI可以基于该第一通信协议与该管脚对应的ECU进行通信连接,从而可以从该ECU获取到车辆的车辆识别码。通常,该ECU所属于车辆的发动机系统,在此,本申请实施例不予限定。
其中,可以对OBD接口中的每个管脚进行协议扫描,或者仅对OBD接口中的选定管脚进行协议扫描。可以对OBD接口的管脚进行所有OBD链路层协议扫描,或者选取其中一个或多个OBD链路层协议对OBD接口的管脚进行扫描。
在一实施例中,按照标准CAN 500K、标准CAN 250K、扩展CAN 500K、扩展CAN 250K、PWM、VPW、KWP2000、ISO9141协议的顺序,对OBD接口的管脚进行扫描,只要接收到基于任意一个通信协议的响应,则结束扫描,确定该通信协议为第一通信协议。
进而可以根据该第一通信协议与该管脚对应的ECU进行通信,从而可以从ECU获取该车辆的车辆识别码。
车辆识别码是汽车制造厂为了识别而给一辆车指定的一组字码,其英文缩写是VIN(Vehicle Identification Number)。
VIN码含有车辆的制造厂家、年款、车型、车身型式、发动机类型、发动机代码及组装地点及其它装备等信息,这些信息可以理解为是车辆信息。
步骤120:根据车辆识别码,确定第一诊断协议。
一种实现方式中,首先,可以对VIN码进行解析,获取车辆的车辆信息。获取到的车辆信息可以是上述车辆信息中的一个或多个,在此不予限定。
本实施例中,通过对VIN码进行解析得到的车辆信息包括但不限于车型和年款,还可包括发动机类型或制造厂家等。
根据上述车辆信息,如根据车型和年款,从车辆通讯接口预存储的系统配置表中查找与上述车辆信息对应的系统信息,系统信息包括系统、以及系统支持的诊断协议;将系统信息中系统支持的诊断协议确定为第一诊断协议。
示例性地,系统可为发动机系统、防抱死制动系统、四轮驱动系统、电控自动变速器、主动悬架系统、安全气囊系统等。
在此,车辆通讯接口中预存储的系统配置表中可以包括车辆信息与系统信息的对应关系,例如,一个车辆信息可以对应多个系统信息,可以理解为该多个系统信息各自表征的系统所属于该车辆信息用于表征的车辆。
可选地,车辆通讯接口可以对预存储的系统配置表进行更新,例如确保最新版本的系统配置表能及时更新至车辆通讯接口中。车辆通讯接口可以从诊断主机中获取最新版本的系统配置表,或者,车辆通讯接口可以从服务器中获取最新版本的系统配置表等,在此不予限定。
步骤130:基于第一诊断协议,获取并存储车辆的待诊断信息。
在确定出第一诊断协议后,即可确定系统ECU与VCI进行通信所基于的协议。从而可以根据第一诊断协议,与系统的ECU进行信息交互。例如,获取系统的ECU发送的故障码、数据流、冻结帧等信息,其中,冻结帧是指在ECU检测到故障时,ECU中存储的当前数据流信息。
步骤140:与诊断主机连接后,将待诊断信息发送至诊断主机。
车辆通讯接口与诊断主机的连接可以是通过有线连接技术,如通用串行总线(Universal Serial Bus,USB)技术,或无线连接技术,如蓝牙、(WIFI)等。
与诊断主机连接后,车辆通讯接口将待诊断信息发送至诊断主机,以使待诊断信息显示在诊断主机的显示屏上,供用户查看。或者,使诊断主机根据接收到的待诊断信息对该车辆进行诊断。
本实施例在车辆通讯接口与车辆上的OBD接口连接后,可获取车辆的车辆 信息,根据车辆信息进一步获取车辆的待诊断信息,与诊断主机连接后,将待诊断信息发送至诊断主机,简化了诊断主机的信息获取流程,提升了汽车诊断效率。
请参阅图2,图2为本发明另一实施例公开的一种汽车诊断方法,应用于车辆通讯接口,车辆通讯接口用于分别与车辆和诊断主机连接,该方法包括:
步骤210:检测OBD接口中的选定管脚是否输出有电压信号。
在车辆通讯接口与车辆上的OBD接口连接后,示例性地,可通过车辆通讯接口的ADC功能检测OBD接口的选定管脚是否输出有电压信号。ADC是Analog-to-Digital Converter的缩写,指模/数转换器或者模数转换器,用于完成模拟信号向数字信号的转化。
车辆通讯接口与汽车设备通电后,可通其内部的主芯片或外设芯片的ADC功能检测OBD接口的选定管脚是否输出有电压信号。
例如,TI的AM335x芯片和Atmel的ATSAME70N21芯片均带有ADC功能。
通常情况下,选定管脚可以包括OBD接口中的2(PWM/VPW)、6(CAN)、7(KWP2000/ISO9141)管脚。
步骤220:将输出有电压信号的选定管脚确定为第一管脚,根据第一管脚确定至少一个候选通信协议。
在此,候选通信协议可以是指上述OBD链路层协议。可以确定与第一管脚相关的通信协议为候选通信协议。例如,若第一管脚为上述6管脚,则与其相关的候选通信协议可以为CAN协议。
在一实施例中,如果OBD接口的2管脚检测不到输出电压,则认为此汽车设备不存在PWM及VPW协议,将输出有电压信号的6管脚和7管脚分别确定为第一管脚,确定与6管脚相关的标准CAN 500K、标准CAN 250K、扩展CAN 500K、扩展CAN 250K协议为候选通信协议,确定与7管脚相关的KWP2000、ISO9141协议为候选通信协议。
在另一实施例中,如果OBD接口的7管脚检测不到输出电压,则认为此汽车设备不存在KWP和ISO协议,将输出有电压信号的2管脚和6管脚分别确定为第一管脚,确定与2管脚相关的PWM、VPW协议为候选通信协议,确定与6 管脚相关的标准CAN 500K、标准CAN 250K、扩展CAN 500K、扩展CAN 250K协议为候选通信协议。
步骤230:基于至少一个候选通信协议依次对第一管脚进行扫描;将扫描成功所基于的候选通信协议作为第一通信协议。
举例说明,如果OBD接口的2管脚检测不到输出电压,确定6管脚和7管脚为第一管脚,基于标准CAN 500K、标准CAN 250K、扩展CAN 500K、扩展CAN 250K协议依次对OBD接口的6管脚进行扫描,若在基于某一协议对6管脚进行扫描的过程中,得到基于该协议的响应,则确定该协议为第一通信协议。例如,在基于标准CAN 500K协议对6管脚进行扫描的过程中,得到基于该标准CAN 500K协议的响应时,可以确定标准CAN 500K协议为第一通信协议。
同理,可以基于与7管脚相关的候选协议对7管脚进行扫描。上述过程中,可以依次对6管脚及7管脚进行扫描,或者同时基于各自相关的协议进行扫描,在此不予限定。
步骤240:基于第一通信协议,从与第一管脚对应的车辆系统中获取车辆的车辆识别码。
一种实现方式中,通常车辆识别码储存在发动机系统的ECU中。若从某一个第一管脚中确定出第一通信协议,则表明该第一管脚所对应的车辆系统即为发动机系统,进而可以根据第一通信协议,从第一管脚对应的车辆系统中获取车辆识别码。
步骤250:根据车辆识别码,确定第一诊断协议。
同样地,通过对VIN码进行解析,获取车辆的车辆信息,根据上述车辆信息,从车辆通讯接口预存储的系统配置表中查找与上述车辆信息对应的系统信息。本实施例的系统信息除包括系统、以及系统支持的诊断协议外,还可以包括系统对应的管脚。
步骤260:判断系统信息中系统对应的管脚是否包括第二管脚,其中,第二管脚为选定管脚中未输出有电压信号的管脚;若为是,从第一诊断协议中去除与第二管脚相关的诊断协议,以得到第二诊断协议。
通常情况下,根据车辆信息获取到的系统配置表为车型的最高配置对应的系统配置表,对于同一车型不同配置的车辆来说,可能有部分系统和该系统支 持的诊断协议是不存在。
将OBD接口的选定管脚中未输出有电压信号的管脚确定为第二管脚,则该车辆也不包括与第二管脚对应的系统,如果系统信息中系统对应的管脚包括第二管脚,从系统支持的诊断协议中去除与第二管脚相关的诊断协议,以得到第二诊断协议。
举例说明,若上述检测管脚是否输出有电压时,确定2管脚未输出有电压,则应去除的诊断协议包括2管脚相关的PWM协议和VPW协议。若系统所支持的诊断协议中包括PWM协议或VPW协议,则需要从诊断协议中去除PWM协议或VPW协议,以得到去除后的第二诊断协议。
步骤270:基于第二诊断协议,获取并存储车辆的待诊断信息。
步骤280:与诊断主机连接后,将待诊断信息发送至诊断主机。
步骤270至步骤280请参考第一实施例,其在本领域技术人员容易理解的范围内。
本实施例在车辆通讯接口与车辆上的OBD接口连接后,通过检测OBD接口中的选定管脚是否输出有电压信号,将输出有电压信号的选定管脚确定为第一管脚,根据第一管脚确定至少一个候选通信协议,将未输出有电压信号的选定管脚确定为第二管脚,根据第二管脚确定第二诊断协议,能够减小确定第一通信协议以及扫描车辆ECU的时间,进一步提高了汽车诊断的效率。
第二方面,本发明实施例还提供一种汽车诊断装置,应用于车辆通讯接口,车辆通讯接口用于与车辆和诊断主机连接,请参阅图3,该装置300包括:
VIN码获取模块310,用于基于第一通信协议,获取车辆的车辆识别码;
诊断协议确定模块320,用于根据所述车辆识别码,确定第一诊断协议;
待诊断信息获取模块330,用于基于所述第一诊断协议,获取并存储所述车辆的待诊断信息;
待诊断信息发送模块340,用于与诊断主机连接后,将所述待诊断信息发送至所述诊断主机。
本实施例在车辆通讯接口与车辆上的OBD接口连接后,通过VIN码获取模块310自主获取车辆的车辆信息,待诊断信息获取模块330根据车辆信息进一 步获取车辆的待诊断信息,与诊断主机连接后,待诊断信息发送模块340将待诊断信息发送至诊断主机,简化了诊断主机的信息获取流程,提升了汽车诊断效率。
在一实施例中,装置300还包括:
第一管脚确定模块350,用于确定OBD接口的第一管脚以及与第一管脚相关的至少一个候选通信协议;
第一管脚扫描模块360,用于基于至少一个候选通信协议依次对第一管脚进行扫描;
通信协议确定模块370,用于将扫描成功所基于的候选通信协议作为第一通信协议。
可选地,装置300还包括:
电压信号检测模块380,用于检测所述OBD接口中的选定管脚是否输出有电压信号;
第一管脚确定模块350,还用于:
将输出有电压信号的选定管脚确定为第一管脚。
其中,VIN码获取模块310,具体用于:
基于第一通信协议,从与第一管脚对应的车辆系统中获取车辆的车辆识别码。
可选地,诊断协议确定模块320,具体用于:
对车辆识别码进行解析,获取车辆的车辆信息;
根据车辆信息,从预存储的系统配置表中查找与车辆信息对应的系统信息,系统信息包括系统、系统对应的管脚、以及系统支持的诊断协议;
将系统支持的诊断协议确定为第一诊断协议。
装置300还包括:
第二管脚判断模块390,用于判断系统信息中系统对应的管脚是否包括第二管脚,其中,第二管脚为选定管脚中未输出有电压信号的管脚;
诊断协议确定模块320,还用于从第一诊断协议中去除与第二管脚相关的诊断协议,以得到第二诊断协议;
待诊断信息获取模块330,还用于:
基于第二诊断协议,获取并存储车辆的待诊断信息。
本实施例在车辆通讯接口与车辆上的OBD接口连接后,通过电压信号检测模块380检测OBD接口中的选定管脚是否输出有电压信号,第一管脚确定模块350将输出有电压信号的选定管脚确定为第一管脚,根据第一管脚确定至少一个候选通信协议,将未输出有电压信号的选定管脚确定为第二管脚,诊断协议确定模块320根据第二管脚确定第二诊断协议,能够减小确定第一通信协议以及扫描车辆ECU的时间,进一步提高了汽车诊断的效率。
同样地,由于本发明实施例的装置实施例与方法实施例基于相同的发明构思,方法实施例中的技术内容同样适用于装置实施例,因此,装置实施例中与方法实施例相同的技术内容在此不再赘述。
为了更好的实现上述目的,第三方面,本发明实施例还提供一种车辆通讯接口,车辆通讯接口用于与车辆和诊断主机连接。该车辆通讯接口存储有计算机指令,可通过上述计算机指令执行上述任意方法实施例中的汽车诊断方法。具体地,车辆通讯接口的结构可以通过下述实施例实现。
图4是本发明实施例提供的一种车辆通讯接口400的结构示意图,如图4所示,该车辆通讯接口400包括:一个或多个处理器401以及存储器402,图4中以一个处理器401为例。
处理器401和存储器402可以通过总线或者其他方式连接,图4中以通过总线连接为例。
存储器402作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施例中的汽车诊断方法对应的程序指令/模块(例如,图3所示的各个模块)。处理器401通过运行存储在存储器402中的非易失性软件程序、指令以及模块,从而执行汽车诊断装置的各种功能应用以及数据处理,即实现上述方法实施例的汽车诊断方法以及上述装置实施例的各个模块的功能。
存储器402可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器402可选包括相对于处理器401远程设置的存储器,这些 远程存储器可以通过网络连接至处理器401。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
所述程序指令/模块存储在所述存储器402中,当被所述一个或者多个处理器401执行时,执行上述任意方法实施例中的汽车诊断方法,例如,执行以上描述的图1至图2所示的各个步骤;也可实现图3所示的各个模块的功能。
可选地,该车辆通讯接口VCI还可以包括至少1个通信接口,该VCI可以利用相同的通信接口分别与OBD和诊断主机连接通信,或者利用不同的通信接口分别与OBD和诊断主机连接通信,在此不予限定。
在一种实现方式中,本申请实施例所描述的VCI可以集成在诊断主机中,在此不予限定。
本实施例的车辆通讯接口在与车辆上的OBD接口连接后,可自主获取车辆的车辆信息,根据车辆信息进一步获取车辆的待诊断信息,与诊断主机连接后,将待诊断信息发送至诊断主机,简化了诊断主机的信息获取流程,提升了汽车诊断效率。
第四方面,本发明实施例还提供了一种非易失性计算机存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令用于被车辆通讯接口的一个或多个处理器执行,例如图4中的一个处理器401,可使得上述一个或多个处理器可执行上述任意方法实施例中的汽车诊断方法,例如,执行以上描述的图1至图2所示的各个步骤;也可实现图3所述的各个模块的功能。
上述产品可执行本发明实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明实施例所提供的方法。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
通过以上的实施例的描述,本领域的技术人员可以清楚地了解到各实施例可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本发明的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。
Claims (14)
- 一种汽车诊断方法,应用于车辆通讯接口,其特征在于,所述方法包括:基于第一通信协议,获取车辆的车辆识别码;根据所述车辆识别码,确定第一诊断协议;基于所述第一诊断协议,获取并存储所述车辆的待诊断信息;与诊断主机连接后,将所述待诊断信息发送至所述诊断主机。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:确定OBD接口的第一管脚以及与所述第一管脚相关的至少一个候选通信协议;基于所述至少一个候选通信协议依次对所述第一管脚进行扫描;将扫描成功所基于的候选通信协议作为所述第一通信协议。
- 根据权利要求2所述的方法,其特征在于,所述方法还包括:检测所述OBD接口中的选定管脚是否输出有电压信号;所述确定OBD接口的第一管脚,包括:将输出有电压信号的选定管脚确定为所述第一管脚。
- 根据权利要求2或3所述的方法,其特征在于,所述基于第一通信协议,获取车辆的车辆识别码,包括:基于所述第一通信协议,从与所述第一管脚对应的车辆系统中获取车辆的车辆识别码。
- 根据权利要求3所述的方法,其特征在于,所述根据所述车辆识别码,确定第一诊断协议,包括:对所述车辆识别码进行解析,获取所述车辆的车辆信息;根据所述车辆信息,从预存储的系统配置表中查找与所述车辆信息对应的系统信息,所述系统信息包括系统、所述系统对应的管脚、以及所述系统支持的诊断协议;将所述系统支持的诊断协议确定为所述第一诊断协议。
- 根据权利要求5所述的方法,其特征在于,所述方法还包括:判断所述系统信息中所述系统对应的管脚是否包括第二管脚,其中,所述 第二管脚为所述选定管脚中未输出有电压信号的管脚;若为是,从所述第一诊断协议中去除与所述第二管脚相关的诊断协议,以得到第二诊断协议;所述基于所述第一诊断协议,获取并存储所述车辆的待诊断信息,包括:基于所述第二诊断协议,获取并存储所述车辆的待诊断信息。
- 一种汽车诊断装置,应用于车辆通讯接口,其特征在于,所述装置包括:VIN码获取模块,用于基于第一通信协议,获取车辆的车辆识别码;诊断协议确定模块,用于根据所述车辆识别码,确定第一诊断协议;待诊断信息获取模块,用于基于所述第一诊断协议,获取并存储所述车辆的待诊断信息;待诊断信息发送模块,用于与诊断主机连接后,将所述待诊断信息发送至所述诊断主机。
- 根据权利要求7所述的装置,其特征在于,所述装置还包括:第一管脚确定模块,用于确定OBD接口的第一管脚以及与所述第一管脚相关的至少一个候选通信协议;第一管脚扫描模块,用于基于所述至少一个候选通信协议依次对所述第一管脚进行扫描;通信协议确定模块,用于将扫描成功所基于的候选通信协议作为所述第一通信协议。
- 根据权利要求8所述的装置,其特征在于,所述装置还包括:电压信号检测模块,用于检测所述OBD接口中的选定管脚是否输出有电压信号;所述第一管脚确定模块,还用于:将输出有电压信号的选定管脚确定为所述第一管脚。
- 根据权利要求8或9所述的装置,其特征在于,所述VIN码获取模块,具体用于:基于所述第一通信协议,从与所述第一管脚对应的车辆系统中获取车辆的车辆识别码。
- 根据权利要求9所述的装置,其特征在于,所述诊断协议确定模块, 具体用于:对所述车辆识别码进行解析,获取所述车辆的车辆信息;根据所述车辆信息,从预存储的系统配置表中查找与所述车辆信息对应的系统信息,所述系统信息包括系统、所述系统对应的管脚、以及所述系统支持的诊断协议;将所述系统支持的诊断协议确定为所述第一诊断协议。
- 根据权利要求11所述的装置,其特征在于,所述装置还包括:第二管脚判断模块,用于判断所述系统信息中所述系统对应的管脚是否包括第二管脚,其中,所述第二管脚为所述选定管脚中未输出有电压信号的管脚;所述诊断协议确定模块,还用于从所述第一诊断协议中去除与所述第二管脚相关的诊断协议,以得到第二诊断协议;所述待诊断信息获取模块,还用于:基于所述第二诊断协议,获取并存储所述车辆的待诊断信息。
- 一种车辆通讯接口,其特征在于,包括:至少一个处理器;以及与所述至少一个处理器连接的存储器;其中,所述存储器存储有计算机指令,所述至少一个处理器用于调用所述计算机指令,以执行如权利要求1-6任一项所述的方法。
- 一种非易失性计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于被车辆通讯接口执行,以实现如权利要求1-6任一项所述的方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP19743818.7A EP3745228A4 (en) | 2018-01-25 | 2019-01-11 | METHOD AND DEVICE FOR VEHICLE DIAGNOSTICS AND VEHICLE COMMUNICATION INTERFACE |
US16/939,853 US11810404B2 (en) | 2018-01-25 | 2020-07-27 | Automobile diagnostic method, apparatus and vehicle communication interface |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810074123.8 | 2018-01-25 | ||
CN201810074123.8A CN108107875B (zh) | 2018-01-25 | 2018-01-25 | 一种汽车诊断方法、装置和车辆通讯接口 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US16/939,853 Continuation US11810404B2 (en) | 2018-01-25 | 2020-07-27 | Automobile diagnostic method, apparatus and vehicle communication interface |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019144820A1 true WO2019144820A1 (zh) | 2019-08-01 |
Family
ID=62221184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/071355 WO2019144820A1 (zh) | 2018-01-25 | 2019-01-11 | 汽车诊断方法、装置和车辆通讯接口 |
Country Status (4)
Country | Link |
---|---|
US (1) | US11810404B2 (zh) |
EP (1) | EP3745228A4 (zh) |
CN (2) | CN108107875B (zh) |
WO (1) | WO2019144820A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111966391A (zh) * | 2020-07-28 | 2020-11-20 | 深圳市元征科技股份有限公司 | 一种车辆的系统配置方法、装置、终端设备及存储介质 |
Families Citing this family (33)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108107875B (zh) | 2018-01-25 | 2020-02-07 | 深圳市道通科技股份有限公司 | 一种汽车诊断方法、装置和车辆通讯接口 |
CN108983755A (zh) * | 2018-08-10 | 2018-12-11 | 广州朗讯猛虎汽车检测有限公司 | 一种全车检测系统 |
CN108803580B (zh) * | 2018-08-15 | 2021-08-17 | 深圳市元征科技股份有限公司 | 一种匹配车辆can协议的方法及相关设备 |
CN109637146B (zh) * | 2018-11-27 | 2021-08-10 | 江苏迪纳数字科技股份有限公司 | 一种基于车架号的车辆监管防止漏洞的方法 |
CN109327371A (zh) * | 2018-12-07 | 2019-02-12 | 上海星融汽车科技有限公司 | 非原厂尿素泵适配装置 |
CN110136409A (zh) * | 2019-04-02 | 2019-08-16 | 深圳市元征科技股份有限公司 | 一种车辆碰撞报警方法、装置、车载设备及存储介质 |
CN110374751A (zh) * | 2019-06-20 | 2019-10-25 | 深圳市元征科技股份有限公司 | 一种车辆启动控制方法、装置及车载设备 |
CN110545220B (zh) * | 2019-09-27 | 2022-11-11 | 深圳市鹏巨术信息技术有限公司 | 汽车诊断协议检测方法及相关产品 |
CN110647137A (zh) * | 2019-09-30 | 2020-01-03 | 深圳市元征科技股份有限公司 | 一种冻结帧数据获取方法、装置、设备、介质 |
CN111158347A (zh) * | 2020-01-14 | 2020-05-15 | 深圳市元征科技股份有限公司 | 一种obd检测方法以及相关设备 |
CN111273179A (zh) * | 2020-02-21 | 2020-06-12 | 深圳普瑞赛思检测技术有限公司 | 电动汽车检测方法及系统 |
CN111464651A (zh) * | 2020-04-07 | 2020-07-28 | 广州优胜汽车科技有限公司 | 一种车辆诊断系统及方法 |
CN111683347B (zh) * | 2020-05-14 | 2022-08-19 | 深圳市元征科技股份有限公司 | 一种点火信号的同步方法及相关设备 |
CN111741074B (zh) * | 2020-05-28 | 2023-06-30 | 深圳市元征科技股份有限公司 | 车辆远程诊断方法、系统、车辆连接器及设备连接器 |
CN111880509B (zh) * | 2020-06-24 | 2021-10-08 | 东风电驱动系统有限公司 | 一种国六发动机诊断支持与诊断就绪状态解析方法和装置 |
CN112217799B (zh) * | 2020-09-11 | 2023-02-24 | 深圳市元征科技股份有限公司 | 一种车辆诊断方法、车辆诊断装置及终端设备 |
CN112015168B (zh) * | 2020-09-14 | 2021-08-06 | 上海星融汽车科技有限公司 | 基于通讯协议自动切换的车辆诊断方法、系统及诊断设备 |
CN112199389B (zh) * | 2020-09-30 | 2024-08-09 | 深圳市云伽智能技术有限公司 | 汽车系统扫描方法、装置、汽车诊断设备及存储介质 |
CN112147987B (zh) * | 2020-09-30 | 2022-07-19 | 深圳市元征科技股份有限公司 | 一种车辆诊断方法、车辆诊断装置及终端设备 |
CN112489245B (zh) * | 2020-11-27 | 2022-12-16 | 深圳市舜太科技有限公司 | 一种车辆诊断数据存储方法、系统及可读存储介质 |
CN112859818A (zh) * | 2021-01-22 | 2021-05-28 | 深圳市轩宇车鼎科技有限公司 | 汽车诊断方法和装置 |
CN113242532B (zh) * | 2021-05-12 | 2023-05-12 | 深圳市道通科技股份有限公司 | 车辆通信设备、WiFi连接方法及车辆诊断系统 |
CN113406944B (zh) * | 2021-05-24 | 2023-05-09 | 深圳市元征科技股份有限公司 | 车辆诊断方法、装置、设备及计算机可读存储介质 |
CN113377085A (zh) * | 2021-06-29 | 2021-09-10 | 上海星融汽车科技有限公司 | 车辆解码器通讯参数分析系统 |
CN113792601B (zh) * | 2021-08-10 | 2024-01-12 | 武汉光庭信息技术股份有限公司 | 基于霍夫直线检测结果的车位线拟合方法及系统 |
CN113791605B (zh) * | 2021-09-13 | 2023-10-27 | 一汽解放汽车有限公司 | 一种测试方法、装置、设备及存储介质 |
CN113960984A (zh) * | 2021-10-25 | 2022-01-21 | 深圳市元征科技股份有限公司 | 车辆诊断方法、装置、诊断设备及存储介质 |
CN114326673A (zh) * | 2021-12-29 | 2022-04-12 | 深圳市元征科技股份有限公司 | 车辆远程诊断方法、装置、连接器及存储介质 |
CN115063994A (zh) * | 2022-05-09 | 2022-09-16 | 深圳市元征科技股份有限公司 | 停车场寻车方法、系统、设备及存储介质 |
CN115277165B (zh) * | 2022-07-22 | 2023-11-07 | 江苏智能网联汽车创新中心有限公司 | 一种车辆网络风险确定方法、装置、设备及存储介质 |
CN115733871A (zh) * | 2022-11-21 | 2023-03-03 | 深圳市道通科技股份有限公司 | 通信交互方法、装置、设备及存储介质 |
US12065089B1 (en) * | 2023-02-17 | 2024-08-20 | OBD Solutions LLC | On-board diagnostics (OBD) programming assist devices and methods of assembling and using the same |
CN117640702B (zh) * | 2024-01-26 | 2024-06-21 | 深圳市星卡科技股份有限公司 | 一种通信协议采集方法、装置及电子设备、存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090240391A1 (en) * | 2008-02-08 | 2009-09-24 | Airmax Group Plc | Configuration of an Electronic Control System for Controlling the Operation of at Least One Component of a Vehicle |
CN202974664U (zh) * | 2012-11-27 | 2013-06-05 | 南京直觉科技有限公司 | 一种汽车柴油发动机的故障诊断仪 |
CN104090565A (zh) * | 2014-07-07 | 2014-10-08 | 联车(上海)信息科技有限公司 | 一种适配obd接口和自适应多种汽车总线和诊断协议的车辆数据采集设备 |
CN105955240A (zh) * | 2016-06-01 | 2016-09-21 | 深圳市欧克勒亚科技有限公司 | 一种车辆电控系统故障快速检索方法 |
CN107491777A (zh) * | 2017-07-04 | 2017-12-19 | 江苏迪纳数字科技股份有限公司 | 通过乘用车vin码自动识别obd车机是否匹配的方法及装置 |
CN108107875A (zh) * | 2018-01-25 | 2018-06-01 | 深圳市道通科技股份有限公司 | 一种汽车诊断方法、装置和车辆通讯接口 |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6957133B1 (en) * | 2003-05-08 | 2005-10-18 | Reynolds & Reynolds Holdings, Inc. | Small-scale, integrated vehicle telematics device |
US8412401B2 (en) * | 2004-12-30 | 2013-04-02 | Service Solutions U.S. Llc | Method and system for retrieving diagnostic information from a vehicle |
US9117319B2 (en) * | 2005-06-30 | 2015-08-25 | Innova Electronics, Inc. | Handheld automotive diagnostic tool with VIN decoder and communication system |
CN102073319B (zh) * | 2011-01-25 | 2013-02-27 | 武汉理工大学 | 一种多功能综合型电控汽车故障诊断系统 |
CN103699392A (zh) * | 2014-01-03 | 2014-04-02 | 深圳市道通科技有限公司 | 一种快速定位汽车诊断功能的方法和系统 |
US20170024942A1 (en) * | 2015-07-20 | 2017-01-26 | Drew Technologies, Inc. | System and method for determining a protocol of a vehicle |
CN105607623B (zh) * | 2016-02-26 | 2019-05-28 | 东南(福建)汽车工业有限公司 | 一种汽车生产线下线检测方法 |
CN106371430A (zh) * | 2016-11-17 | 2017-02-01 | 北京汽车股份有限公司 | 车辆的电控模块的配置装置及控制方法 |
-
2018
- 2018-01-25 CN CN201810074123.8A patent/CN108107875B/zh active Active
- 2018-01-25 CN CN202010014752.9A patent/CN111208800B/zh active Active
-
2019
- 2019-01-11 WO PCT/CN2019/071355 patent/WO2019144820A1/zh unknown
- 2019-01-11 EP EP19743818.7A patent/EP3745228A4/en active Pending
-
2020
- 2020-07-27 US US16/939,853 patent/US11810404B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090240391A1 (en) * | 2008-02-08 | 2009-09-24 | Airmax Group Plc | Configuration of an Electronic Control System for Controlling the Operation of at Least One Component of a Vehicle |
CN202974664U (zh) * | 2012-11-27 | 2013-06-05 | 南京直觉科技有限公司 | 一种汽车柴油发动机的故障诊断仪 |
CN104090565A (zh) * | 2014-07-07 | 2014-10-08 | 联车(上海)信息科技有限公司 | 一种适配obd接口和自适应多种汽车总线和诊断协议的车辆数据采集设备 |
CN105955240A (zh) * | 2016-06-01 | 2016-09-21 | 深圳市欧克勒亚科技有限公司 | 一种车辆电控系统故障快速检索方法 |
CN107491777A (zh) * | 2017-07-04 | 2017-12-19 | 江苏迪纳数字科技股份有限公司 | 通过乘用车vin码自动识别obd车机是否匹配的方法及装置 |
CN108107875A (zh) * | 2018-01-25 | 2018-06-01 | 深圳市道通科技股份有限公司 | 一种汽车诊断方法、装置和车辆通讯接口 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111966391A (zh) * | 2020-07-28 | 2020-11-20 | 深圳市元征科技股份有限公司 | 一种车辆的系统配置方法、装置、终端设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
US11810404B2 (en) | 2023-11-07 |
EP3745228A1 (en) | 2020-12-02 |
EP3745228A4 (en) | 2021-10-06 |
US20210012587A1 (en) | 2021-01-14 |
CN108107875B (zh) | 2020-02-07 |
CN108107875A (zh) | 2018-06-01 |
CN111208800A (zh) | 2020-05-29 |
CN111208800B (zh) | 2022-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019144820A1 (zh) | 汽车诊断方法、装置和车辆通讯接口 | |
US11665018B2 (en) | OBD interface bus type detection method and apparatus | |
EP3809223B1 (en) | Vehicle remote diagnosis method and related apparatus | |
CN109656172B (zh) | 一种获取波特率的方法、装置 | |
US10723361B2 (en) | Monitoring apparatus, communication system, vehicle, monitoring method, and non-transitory storage medium | |
US20210014318A1 (en) | Diagnostic method and system for vehicle, and related device thereof | |
US8798843B2 (en) | Vehicle diagnosing apparatus | |
WO2019141114A1 (zh) | 车辆诊断方法和装置 | |
CN110427202B (zh) | 一种车联网tbox端fota的系统和方法 | |
US11514731B2 (en) | Method and system for remote vehicle diagnostics | |
EP3213213B1 (fr) | Procédé, équipement et système d'aide au diagnostic | |
WO2024109535A1 (zh) | 通信交互方法、装置、设备及存储介质 | |
CN117640720A (zh) | 远程诊断的通道创建方法、车辆连接器和远程诊断系统 | |
CN109388119A (zh) | 一种车辆诊断的方法、装置及系统 | |
CN115118577B (zh) | 远程升级异常原因确定方法、装置、电子设备及存储介质 | |
CN111143225B (zh) | 一种汽车诊断软件的漏洞处理方法和相关产品 | |
WO2023272570A1 (zh) | 电子控制单元ecu更新的方法、ecu和终端 | |
CN112533173B (zh) | 用于确保数据完整性以保证操作安全的方法以及车对外界信息交互的装置 | |
CN113934198A (zh) | 车辆诊断方法、装置、电子设备及存储介质 | |
CN112217799A (zh) | 一种车辆诊断方法、车辆诊断装置及终端设备 | |
US12087101B2 (en) | Smart control device for vehicle factory and vehicle control method using the same | |
CN116132290A (zh) | 诊断配置文件生成方法、装置、设备及可读存储介质 | |
CN116841276A (zh) | 一种基于车机的车载诊断系统及方法 | |
CN111740888A (zh) | 一种点火信号的同步方法及相关设备 | |
CN116017415A (zh) | 基于5g的升级方法、装置及系统、智能车辆 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19743818 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2019743818 Country of ref document: EP Effective date: 20200825 |