WO2023123278A1 - 车辆诊断方法、诊断连接器以及诊断设备 - Google Patents

车辆诊断方法、诊断连接器以及诊断设备 Download PDF

Info

Publication number
WO2023123278A1
WO2023123278A1 PCT/CN2021/143352 CN2021143352W WO2023123278A1 WO 2023123278 A1 WO2023123278 A1 WO 2023123278A1 CN 2021143352 W CN2021143352 W CN 2021143352W WO 2023123278 A1 WO2023123278 A1 WO 2023123278A1
Authority
WO
WIPO (PCT)
Prior art keywords
diagnostic
communication
vehicle
diagnosed
communication port
Prior art date
Application number
PCT/CN2021/143352
Other languages
English (en)
French (fr)
Inventor
刘均
谢飞虹
Original Assignee
深圳市元征科技股份有限公司
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 深圳市元征科技股份有限公司 filed Critical 深圳市元征科技股份有限公司
Priority to CN202180004399.9A priority Critical patent/CN114503041B/zh
Priority to PCT/CN2021/143352 priority patent/WO2023123278A1/zh
Priority to US17/730,547 priority patent/US20230215226A1/en
Publication of WO2023123278A1 publication Critical patent/WO2023123278A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME 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/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0808Diagnosing performance data
    • 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/0208Electric 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/0213Modular 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
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME 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/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • G07C5/085Registering performance data using electronic data carriers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40052High-speed IEEE 1394 serial bus
    • H04L12/40097Interconnection with other networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle

Definitions

  • the present application relates to the technical field of vehicle diagnosis, in particular to a vehicle diagnosis method, a diagnosis connector and a diagnosis device.
  • Embodiments of the present application provide a vehicle diagnosis method, a diagnosis connector and a diagnosis device, which can solve limitations in the vehicle diagnosis process and improve the efficiency of vehicle diagnosis.
  • the present application provides a vehicle diagnostic method, which is applied to a vehicle diagnostic system, and the vehicle diagnostic system includes a diagnostic device, a diagnostic joint, and a diagnostic connector; wherein, the diagnostic device includes a first communication port and a second communication port
  • the diagnostic connector includes a third communication port and a fourth communication port; the diagnostic connector includes a fifth communication port, a sixth communication port, and a seventh communication port; the diagnostic connector and the diagnostic device pass through the Establish a communication connection between the fifth communication port and the first communication port; establish a communication connection between the diagnostic connector and the diagnostic joint through the sixth communication port and the third communication port; the diagnostic connector and the third communication port
  • the vehicle to be diagnosed establishes a communication connection with the OBD interface of the vehicle to be diagnosed through the seventh communication port;
  • the diagnostic joint establishes a communication connection with the diagnostic device through the fourth communication port and the second communication port;
  • a first communication line is formed between the first communication port, the fifth communication port and the seventh communication port; the second communication port, the fourth communication port, the third communication
  • the diagnosis device obtains a diagnosis request, and the diagnosis request includes vehicle information of the vehicle to be diagnosed;
  • the diagnosis device determines the communication protocol supported by the vehicle to be diagnosed according to the vehicle information
  • the diagnosis device acquires a diagnosis instruction, and the diagnosis instruction includes a diagnosis function instruction and a corresponding communication protocol;
  • the diagnostic device determines the communication line corresponding to the diagnostic function command according to the communication protocol corresponding to the diagnostic function command;
  • the diagnosis device sends the diagnosis function instruction to the vehicle to be diagnosed through the communication line corresponding to the diagnosis function instruction, and obtains feedback data from the vehicle to be diagnosed and performs diagnosis.
  • the present application provides a vehicle diagnosis method, which is applied to a diagnosis device, and the diagnosis device includes a first communication port and a second communication port, and the diagnosis device and a diagnosis connector pass through the first communication port and the diagnosis
  • the fifth communication port of the connector establishes a communication connection
  • the diagnostic device establishes a communication connection with the diagnostic connector through the second communication port and the fourth communication port of the diagnostic connector
  • the diagnostic connector and the diagnostic connector are connected through a diagnostic connection
  • the sixth communication port of the connector and the third communication port of the diagnostic connector establish a communication connection
  • the diagnostic connector establishes a communication connection with the vehicle to be diagnosed through the seventh communication port of the diagnostic connector and the OBD interface of the vehicle to be diagnosed
  • a first communication line is formed between the first communication port, the fifth communication port and the seventh communication port;
  • the second communication port, the fourth communication port, the third communication port, the A second communication line is formed between the sixth communication port and the seventh communication port;
  • the method includes:
  • diagnosis request including vehicle information of the vehicle to be diagnosed
  • diagnostic instructions include diagnostic function instructions and corresponding communication protocols
  • the present application provides a diagnostic connector, which is applied to a vehicle diagnostic system, and the vehicle diagnostic system includes the diagnostic device, a diagnostic connector, and the diagnostic connector, wherein the diagnostic device includes a first communication port and a second communication port, the diagnostic connector includes a third communication port and a fourth communication port; the diagnostic connector includes a fifth communication port, a sixth communication port and a seventh communication port; the diagnostic connector and the The diagnostic device establishes a communication connection through the fifth communication port and the first communication port; the diagnostic connector and the diagnostic connector establish a communication connection through the sixth communication port and the third communication port; the The diagnostic connector establishes a communication connection with the vehicle to be diagnosed through the seventh communication port and the OBD interface of the vehicle to be diagnosed; the diagnostic connector and the diagnostic equipment through the fourth communication port and the second communication port establish a communication connection; a first communication line is formed between the first communication port, the fifth communication port and the seventh communication port; the second communication port, the fourth communication port, the third A second communication line is formed between the communication port, the sixth
  • the communication protocol corresponding to the diagnosis function instruction is the DoIP communication protocol, sending the diagnosis function instruction to the vehicle to be diagnosed through the first communication line;
  • the communication protocol corresponding to the diagnostic function command is the CAN communication protocol, sending the diagnostic function command to the vehicle to be diagnosed through the second communication line;
  • diagnosis function instruction is acquired by the diagnosis device, and is used for diagnosing the vehicle to be diagnosed.
  • an embodiment of the present application provides a diagnostic device, the diagnostic device includes a first communication port and a second communication port, and the diagnostic device and the diagnostic connector pass through the first communication port and the second communication port of the diagnostic connector.
  • Five communication ports establish a communication connection, and the diagnostic equipment establishes a communication connection with the diagnostic connector through the second communication port and the fourth communication port of the diagnostic connector; the diagnostic connector and the diagnostic connector pass through the sixth diagnostic connector.
  • the communication port establishes a communication connection with the third communication port of the diagnostic connector, and the diagnostic connector establishes a communication connection with the vehicle to be diagnosed through the seventh communication port of the diagnostic connector and the OBD interface of the vehicle to be diagnosed;
  • the first communication Port, the fifth communication port and the seventh communication port form a first communication line;
  • the second communication port, the fourth communication port, the third communication port, the sixth communication port forming a second communication line with the seventh communication port;
  • the diagnostic equipment also includes:
  • the processor is configured to perform the following steps when executing the vehicle diagnostic program:
  • diagnosis request including vehicle information of the vehicle to be diagnosed
  • diagnostic instructions include diagnostic function instructions and corresponding communication protocols
  • the vehicle diagnosis method provided in the first aspect of the present application is applied to the vehicle diagnosis system, and the diagnosis request including the vehicle information of the vehicle to be diagnosed is obtained through the diagnosis equipment, and the communication protocol supported by the vehicle to be diagnosed is determined according to the vehicle information, and then in After the diagnostic device acquires the diagnostic function command and the corresponding communication protocol, it determines the communication line corresponding to the diagnostic function command according to the communication protocol corresponding to the diagnostic function command, and sends the diagnostic function command according to the communication line corresponding to the diagnostic function command To the vehicle to be diagnosed, acquire feedback data from the vehicle to be diagnosed and perform diagnosis. Addresses limitations in the vehicle diagnostic process and aims to improve the adaptability of vehicle diagnostics.
  • Fig. 1 is a schematic diagram of a vehicle diagnostic system provided by an embodiment of the application
  • Fig. 2 is a schematic structural diagram of a diagnostic connector provided by an embodiment of the present application.
  • Fig. 3 is the implementation flowchart of the vehicle diagnosis method provided by the embodiment of the present application.
  • Fig. 4 is a schematic diagram of a vehicle diagnostic device provided by an embodiment of the present application.
  • Fig. 5 is a schematic diagram of a diagnostic device provided by an embodiment of the present application.
  • references to "one embodiment” or “some embodiments” or the like described in the specification of the present application mean that a particular feature, structure or characteristic described in connection with the embodiment is included in one or more embodiments of the present application .
  • some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe various operations (or steps) as sequential processing, many of the operations may be performed in parallel, concurrently, or simultaneously. In addition, the order of operations can be rearranged. The process may be terminated when its operations are complete, but may also have additional steps not included in the figure.
  • the processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.
  • FIG. 1 is a schematic diagram of a vehicle diagnosis system provided in an embodiment of the application.
  • the vehicle diagnostic system 10 provided by the embodiment of the present application includes a diagnostic device 101 , a diagnostic connector 102 and a diagnostic connector 103 .
  • the diagnostic device 101 includes a first communication port and a second communication port;
  • the diagnostic connector 102 includes a third communication port and a fourth communication port;
  • the diagnostic connector 103 includes a fifth communication port, a sixth communication port and a seventh communication port.
  • the diagnostic connector 103 establishes a communication connection with the diagnostic device 101 through the fifth communication port and the first communication port; the diagnostic connector 103 establishes a connection with the diagnostic connector 102 through the sixth communication port and the third communication port; the diagnostic The connector 103 establishes a communication connection with the vehicle to be diagnosed 104 through the seventh communication port and the OBD interface of the vehicle to be diagnosed; the diagnostic connector 102 establishes a communication connection with the diagnostic device 101 through the fourth communication port and the second communication port ; A first communication line is formed between the first communication port, the fifth communication port and the seventh communication port; the second communication port, the fourth communication port, the third communication port, the sixth communication port and the seventh communication port A second communication line is formed between the ports.
  • the diagnosis device 101 is used to obtain a diagnosis request including vehicle information of the vehicle to be diagnosed 104, determine the communication protocol supported by the vehicle to be diagnosed 104 according to the vehicle information, and then obtain the diagnosis instruction including the diagnosis function instruction and the corresponding communication protocol. Then, determine the communication line corresponding to the diagnosis function command according to the communication protocol corresponding to the diagnosis function command, send the diagnosis function command to the vehicle 104 to be diagnosed through the communication line corresponding to the diagnosis function command, and send The vehicle to be diagnosed 104 acquires feedback data for diagnosis. It should be noted that each communication port is not shown in FIG. 1 .
  • the diagnosis device 101 may be a server or a terminal.
  • the server may be a single server or a server cluster
  • the terminal may be a handheld device, a personal computer, a notebook, a robot or a wearable smart device.
  • the first communication port and the second communication port may be wireless communication ports or wired communication ports.
  • the diagnostic connector 103 is a communication connector, and the communication connector can support the DoIP communication protocol, and can also support the CAN communication protocol.
  • the fifth communication port 1031 can be a USB communication port, and the diagnostic connector 103 can communicate with the USB communication port.
  • the first communication port of the diagnostic device 101 establishes a communication connection and accesses the USB bus of the diagnostic device 101;
  • the seventh communication port can be a five-category line communication port of the Ethernet, and the five-category line communication port of the Ethernet can be connected through a cable It is connected with the OBD interface of the vehicle 104 to be diagnosed to form a first communication line.
  • a network card is provided between the first communication port and the seventh communication port, and the network card is connected to the system bus of the diagnostic device 101 through the fifth communication port and the first communication port of the diagnostic device 101, and connected to the system bus of the diagnostic device 101 through the seventh communication port. It is connected with the OBD interface of the vehicle 104 to be diagnosed to form a first communication line.
  • the system bus may be, for example, a USB bus.
  • the external USB network card of the diagnostic device 101 can be added in the communication connector supporting the DoIP communication protocol through the USB OTG mechanism, and the USB network card driver is built in the core of the diagnostic device 101, and the first communication port and the fifth communication port A first communication line is formed between the port and the seventh communication port.
  • a communication connection can be established between the diagnostic connector 102 and the diagnostic device 101 through a fourth communication port and a second communication port, and the fourth communication port and the second communication port can be wireless communication ports, such as WiFi ports, A Bluetooth port, which can also be a wired hardware port. Based on the connection of the communication port, a wireless communication connection or a wired communication connection can be established between the diagnostic connector 102 and the diagnostic device 101 .
  • the diagnostic joint 102 can be an OBD diagnostic joint, and the OBD diagnostic joint includes a first communication port for connecting with the fifth communication port of the diagnostic connector 103, and a fourth communication port for connecting with the fourth communication port of the diagnostic device 101.
  • a second communication line is formed between the second communication port, the fourth communication port, the third communication port, the sixth communication port and the seventh communication port.
  • the diagnosis device 101 can diagnose the vehicle 104 to be diagnosed through the first communication line and/or the second communication line, which can effectively solve the limitation of using a diagnosis protocol in the process of vehicle diagnosis and improve the adaptability of vehicle diagnosis to diagnosis.
  • the communication protocols supported by the vehicle 104 to be diagnosed include CAN communication protocol and/or DoIP communication protocol.
  • the diagnostic device 101 determines the communication line corresponding to the diagnostic function command according to the communication protocol corresponding to the diagnostic function command, including: when the communication protocol corresponding to the diagnostic function command is the DoIP communication protocol, determining the diagnostic function command The corresponding communication line is the first communication line; at this time, sending the diagnosis function command to the vehicle to be diagnosed through the communication line corresponding to the diagnosis function command, specifically: sending the The diagnostic function command is sent to the vehicle to be diagnosed; when the communication protocol corresponding to the diagnostic function command is the CAN communication protocol, it is determined that the communication line corresponding to the diagnostic function command is the second communication line;
  • the communication line corresponding to the diagnosis function instruction sends the diagnosis function instruction to the vehicle to be diagnosed, specifically: sending the diagnosis function instruction to the vehicle to be diagnosed through a second communication line.
  • the diagnostic function instruction when the diagnostic function instruction supports the CAN communication protocol and the DoIP communication protocol at the same time, if the diagnostic function instruction requires server online resource support, then determine that the communication line corresponding to the diagnostic function instruction is the first communication line; If the diagnostic function instruction does not require the support of online server resources, then determine that the communication line corresponding to the diagnostic function instruction is the second communication line; at this time, the diagnostic function is sent through the communication line corresponding to the diagnostic function instruction
  • the instruction to the vehicle to be diagnosed is specifically: sending the diagnosis function instruction to the vehicle to be diagnosed through a selected communication line. The efficiency of vehicle diagnosis is effectively improved by selecting the corresponding communication line for vehicle diagnosis according to the diagnosis function instructions supporting different communication protocols.
  • the communication protocol corresponding to the first diagnostic function instruction is the DoIP communication protocol
  • the communication protocol corresponding to the second diagnostic function instruction is the CAN communication protocol
  • the diagnostic device 101 according to the The communication protocol corresponding to the diagnostic function command determines the communication line corresponding to the diagnostic function command, specifically including: determining that the first communication line is the communication line corresponding to the first diagnostic function command, and the second communication line is the second diagnostic function command.
  • the communication line corresponding to the function instruction; the sending the diagnosis function instruction to the vehicle to be diagnosed through the communication line corresponding to the diagnosis function instruction specifically includes: sending the first diagnosis function instruction through the first communication line To the vehicle to be diagnosed; sending the second diagnosis function command to the vehicle to be diagnosed through the second communication line.
  • Different diagnostic function commands are sent to the vehicle to be diagnosed through two communication lines supporting different communication protocols, so as to improve the efficiency of vehicle diagnosis.
  • the diagnostic device 101 determines the diagnostic function according to the communication protocol corresponding to the diagnostic function instruction.
  • the communication line corresponding to the functional instruction specifically includes: determining the diagnostic function instruction that requires the support of the server’s online resources as the third diagnostic function instruction, and determining the diagnostic function instruction that does not require the support of the server’s online resource as the fourth diagnostic function instruction;
  • the first communication line is a communication line corresponding to the third diagnosis function command
  • the second communication line is a communication line corresponding to the fourth diagnosis function command.
  • the sending the diagnostic function command to the vehicle to be diagnosed through the communication line corresponding to the diagnostic function command specifically includes: sending the third diagnostic function command to the vehicle to be diagnosed through the first communication line The vehicle; sending the fourth diagnosis function instruction to the vehicle to be diagnosed through the second communication line.
  • the efficiency of vehicle diagnosis is effectively improved by sending the diagnosis function instructions that need the support of the server online resources and the diagnosis function instructions that do not need the support of the server online resources through different communication lines.
  • a network card is arranged between the fifth communication port and the seventh communication port, and the network card communicates with the system bus of the diagnostic device through the fifth communication port and the first communication port connected to the OBD interface of the vehicle to be diagnosed through the seventh communication port to form the first communication line.
  • data can be transmitted between the fifth communication port and the seventh communication port of the diagnostic connector 103 through the first, twelfth and thirteenth pins of the vehicle OBD interface. That is to say, the 1st, 12th and 13th pins of the vehicle OBD interface are used by the five types of Ethernet pins.
  • Data transmission can be performed between the sixth communication port and the seventh communication port of the diagnostic connector 103 through the 6th and 14th pins of the vehicle OBD interface. That is, pins 6 and 14 of the vehicle OBD interface are used by the diagnostic connector 102 . Therefore, the CAN protocol and the DoIP protocol can work simultaneously, reducing the limitation of using the diagnostic protocol in the vehicle diagnosis process, and improving the adaptability of the vehicle diagnosis.
  • the method further includes: after monitoring that the network card driver takes effect, start the DHCP service or the AUTO-IP service; The DHCP service or the AUTO-IP service allocates the IP address of the network card and the IP address of the vehicle to be diagnosed; wherein, the IP address of the network card and the IP address of the vehicle to be diagnosed are in the same network segment.
  • starting the DHCP service or the AUTO-IP service includes: calling the built-in DoIP network control service function of the diagnostic device to monitor the state of the network card; After the driving takes effect, send a broadcast to the DoIP network control service function to start the DHCP service or the AUTO-IP service; call the DoIP network control service function to start the DHCP service or the AUTO-IP service.
  • the network card registration success information is generated on the diagnostic device, and after the diagnosis device detects the network card registration success information through the DoIP network control service function, a default network card is allocated to the network card. and establish a routing table; further, the diagnosis device sends a broadcast to enable the DHCP service to the DoIP network control service function.
  • the vehicle DoIP node will apply for an IP address from the DHCP service, usually trying to connect 3 times, and if the connection is successful, the diagnostic device Use the DHCP service to assign the IP address of the vehicle DoIP node, so that the network card and the vehicle DoIP node are in the same network segment. If the vehicle DoIP node fails to apply for an IP address from the DHCP service, the vehicle DoIP node will assign itself an IP address according to the AUTO-IP protocol. At this time, the diagnostic equipment and the vehicle DoIP node are not in the same network segment.
  • the diagnostic vehicle fails in data communication through the DoIP communication protocol, and after the failure, the diagnostic device closes the DHCP service and starts the AUTO-IP service, and also assigns an IP address to the network card according to the AUTO-IP protocol, so that the network card can follow the Vehicle DoIP nodes are on the same network segment.
  • a routing table must be configured for the network card externally connected to the diagnostic connector before the DoIP protocol can be used. Data is transmitted via this network card.
  • the DoIP diagnosis function may also be displayed in the visualization area of the diagnosis device.
  • the network card driver fails, the DHCP service or the AUTO-IP service does not need to be started.
  • the network card driver after monitoring the failure of the network card driver, send a broadcast to the DoIP network control service function to close the DHCP service or AUTO-IP service; call the DoIP network control service function to close the DHCP service or The AUTO-IP service.
  • the present invention adopts the android broadcast mechanism to realize the function calling of the DoIP network control service built in the android system.
  • the built-in DoIP network control service function of the android system can also be invoked through the basic binder mechanism.
  • the vehicle diagnostic system forms the first communication line and the second communication line supporting multiple communication protocols between the vehicle to be diagnosed and the diagnostic equipment through the diagnostic connector, so that the diagnostic equipment can acquire information including After the diagnosis request of the vehicle information of the vehicle to be diagnosed, the communication protocol supported by the vehicle to be diagnosed can be determined according to the vehicle information, and then after the diagnosis device obtains the diagnosis function instruction and the corresponding communication protocol, according to the communication protocol corresponding to the diagnosis function instruction Determine the communication line corresponding to the diagnosis function command, and send the diagnosis function command to the vehicle to be diagnosed according to the communication line corresponding to the diagnosis function command, obtain feedback data from the vehicle to be diagnosed and perform diagnosis.
  • the communication protocol supported by the vehicle to be diagnosed can be determined according to the vehicle information
  • the diagnosis device obtains the diagnosis function instruction and the corresponding communication protocol, according to the communication protocol corresponding to the diagnosis function instruction
  • Determine the communication line corresponding to the diagnosis function command and send the diagnosis function command to the vehicle to be diagnosed according to the communication line corresponding to the diagnosis function command, obtain feedback data from the vehicle to be diagnosed
  • FIG. 2 is a schematic structural diagram of the diagnostic connector in FIG. 1 .
  • the diagnostic connector 103 provided in this embodiment is applied to the vehicle diagnostic system shown in FIG. 1 .
  • the vehicle diagnostic system 10 includes a diagnostic device 101 , a diagnostic connector 102 and a diagnostic connector 103 shown in FIG. 2 .
  • the diagnostic device 101 includes a first communication port and a second communication port
  • the diagnostic connector 102 includes a third communication port and a fourth communication port; it can be seen from FIG.
  • the diagnostic connector 103 includes a first communication port Five communication ports 201, the sixth communication port 202 and the seventh communication port 203; the diagnostic connector 103 establishes a communication connection with the diagnostic device 101 through the fifth communication port 201 and the first communication port; the The diagnostic connector 103 establishes a communication connection with the diagnostic connector 102 through the sixth communication port 202 and the third communication port; the diagnostic connector 103 and the vehicle to be diagnosed 104 through the seventh communication port 203 and the third communication port
  • the OBD interface of the vehicle to be diagnosed 104 establishes a communication connection; the diagnostic connector 102 establishes a communication connection with the diagnostic device 101 through the fourth communication port and the second communication port; the first communication port, the The first communication line 20 is formed between the fifth communication port 201 and the seventh communication port 203; the second communication port, the fourth communication port, the third communication port, and the sixth communication port 201
  • a second communication line 21 is formed with the seventh communication port 203 .
  • the vehicle diagnosis can be performed simultaneously through the first communication line 20 and the second
  • the diagnostic connector 103 when the communication protocol corresponding to the diagnostic function command sent by the diagnostic device 101 is the DoIP communication protocol, the diagnostic connector 103 sends the diagnostic function command to the The vehicle to be diagnosed 104; when the communication protocol corresponding to the diagnostic function instruction sent by the diagnostic device 101 is the CAN communication protocol, the diagnostic connector 103 sends the diagnostic function instruction to the waiting vehicle through the second communication line 21 diagnosing the vehicle 104; wherein, the diagnosing function instruction is obtained by the diagnosing device 101, and is used for diagnosing the vehicle 104 to be diagnosed.
  • both the first communication port and the second communication port are communication ports of the diagnostic device 101
  • both the third communication port and the fourth communication port are communication ports of the diagnostic joint 102 , which are not shown in FIG. 2 .
  • a network card 204 is provided between the fifth communication port 201 and the seventh communication port 203, and the network card 204 passes through the fifth communication port 201 and the seventh communication port 201.
  • a communication port is connected to the system bus of the diagnostic device 201 , and is connected to the OBD interface of the vehicle 104 to be diagnosed through the seventh communication port 203 to form the first communication line.
  • the first communication line supports the DoIP communication protocol, and the diagnosis function instruction supporting the DoIP communication protocol can be completed through the first communication line, thereby improving the adaptability of the vehicle diagnosis to the communication protocol.
  • FIG. 3 is a schematic flowchart of the realization of the vehicle diagnosis method provided by the embodiment of the present application.
  • the vehicle diagnosis method provided in this embodiment is implemented by the diagnosis device 101 shown in FIG. 1 .
  • the diagnostic device 101 includes a first communication port and a second communication port, and the diagnostic device 101 establishes a communication connection with the diagnostic connector 103 through the first communication port and the fifth communication port of the diagnostic connector 103.
  • the device 101 establishes a communication connection with the diagnostic connector 102 through the second communication port and the fourth communication port of the diagnostic connector 102; the third communication between the diagnostic connector 103 and the diagnostic connector 102 through the sixth communication port of the diagnostic connector 103 and the diagnostic connector 102
  • the port establishes a communication connection
  • the diagnostic connector 103 establishes a communication connection with the vehicle to be diagnosed 104 through the seventh communication port of the diagnostic connector 103 and the OBD interface of the vehicle to be diagnosed 104; wherein, the first communication port, the fifth communication port and the seventh communication port
  • a first communication line is formed between the communication ports; a second communication line is formed between the second communication port, the fourth communication port, the third communication port, the sixth communication port and the seventh communication port.
  • the vehicle diagnosis method provided in this embodiment includes steps S301 to S305.
  • the details are as follows:
  • diagnosis request includes vehicle information of the vehicle to be diagnosed.
  • obtaining a diagnosis request generally refers to the process in which the user determines the specific vehicle model through the diagnostic device, including the automatic reading of the vehicle model by the diagnostic device, or the user determines the vehicle model through a selection operation.
  • the vehicle information of the vehicle to be diagnosed includes the vehicle model, and there is a mapping relationship between the vehicle model of the vehicle to be diagnosed and the supported diagnostic protocols. After the model of the vehicle to be diagnosed is determined, it is possible to determine which protocols the vehicle to be diagnosed supports. Specifically, most existing car models support the CAN protocol, some car models, such as BMW models, support the CAN protocol and the DOIP protocol, and of course some car models only support the DoIP protocol.
  • diagnosis instruction includes a diagnosis function instruction and a corresponding communication protocol.
  • the diagnosis function instruction is a diagnosis function instruction of the vehicle to be diagnosed selected by the user based on the diagnosis operation interface.
  • the communication protocol supported by the vehicle to be diagnosed includes CAN communication protocol and/or DoIP communication protocol, correspondingly, the user can choose to trigger one diagnostic function command, or trigger two diagnostic function commands at the same time .
  • one diagnostic energy supply command corresponds to one communication protocol.
  • there is one diagnostic function command which means that one diagnostic function is correspondingly executed, such as reading fault codes or reading data streams.
  • There are two diagnostic function instructions specifically, including a first diagnostic function instruction and a second diagnostic function instruction.
  • there are two diagnostic function instructions and two diagnostic functions need to be performed, such as reading fault codes and online programming.
  • the determining the communication line corresponding to the diagnostic function command according to the communication protocol corresponding to the diagnostic function command specifically includes: when the communication line corresponding to the diagnostic function command When the protocol is the DoIP communication protocol, it is determined that the communication line corresponding to the diagnostic function command is the first communication line; at this time, the diagnostic function command is sent to the vehicle to be diagnosed through the communication line corresponding to the diagnostic function command , specifically: sending the diagnosis function instruction to the vehicle to be diagnosed through the first communication line.
  • the communication protocol corresponding to the diagnostic function instructions for diagnosing the vehicle to be diagnosed is DoIP Communication protocol, at this time, it is determined that the communication line corresponding to the diagnosis function instruction is the first communication line.
  • the diagnosing function instruction to the vehicle to be diagnosed specifically includes: sending the diagnosing function instruction to the vehicle to be diagnosed through a second communication line.
  • the corresponding communication protocol for the diagnostic function commands such as reading fault codes or reading data streams for the vehicle to be diagnosed is CAN Communication protocol, at this time, it is determined that the communication line corresponding to the diagnosis function instruction is the first communication line.
  • the diagnostic function instruction when the diagnostic function instruction supports the CAN communication protocol and the DoIP communication protocol at the same time, if the diagnostic function instruction requires server online resource support, then determine that the communication line corresponding to the diagnostic function instruction is the first communication line; If the diagnostic function instruction does not require the support of online server resources, then determine that the communication line corresponding to the diagnostic function instruction is the second communication line; at this time, the diagnostic function is sent through the communication line corresponding to the diagnostic function instruction
  • the instruction to the vehicle to be diagnosed is specifically: sending the diagnosis function instruction to the vehicle to be diagnosed through a selected communication line.
  • the diagnostic vehicle when the diagnostic vehicle is a C model, and supports both the CAN communication protocol and the DoIP communication protocol, then it is necessary to determine the specific communication line according to whether the diagnostic function command needs the support of the online resource of the server .
  • the communication line corresponding to the diagnostic fault command of reading DTCs or reading data streams is determined as the second communication line, and the online programming function If online resource support of the server is required, the communication line corresponding to the diagnosis fault command of the online programming is determined as the first communication line.
  • some diagnostic function commands such as vehicle safety verification, vehicle system configuration, etc. also need the support of online server resources.
  • the communication lines corresponding to these diagnostic function commands should also be determined as the first communication lines.
  • the communication protocol corresponding to the first diagnostic function instruction is the DoIP communication protocol
  • the communication protocol corresponding to the second diagnostic function instruction is the CAN communication protocol
  • the The communication protocol corresponding to the diagnostic function command determines the communication line corresponding to the diagnostic function command, specifically including: determining that the first communication line is the communication line corresponding to the first diagnostic function command, and the second communication line is the second diagnostic function The communication line corresponding to the command.
  • the sending the diagnosis function instruction to the vehicle to be diagnosed through the communication line corresponding to the diagnosis function instruction specifically includes: sending the first diagnosis function instruction to the vehicle to be diagnosed through the first communication line A vehicle; sending the second diagnosis function instruction to the vehicle to be diagnosed through the second communication line.
  • the communication protocol corresponding to the diagnostic function command of the read data stream of the vehicle to be diagnosed is the CAN communication protocol, and the communication protocol corresponding to the diagnostic function command of the vehicle safety check
  • the protocol is the DoIP communication protocol, so at this time, it is determined that the communication line corresponding to the diagnostic function command of reading data stream is the second communication line, and the communication line corresponding to the diagnostic function command of vehicle safety verification is determined as the first communication line. Then send a vehicle safety verification command to the vehicle to be diagnosed through the first communication line, and send a read data stream command to the vehicle to be diagnosed through the second communication line.
  • Different diagnostic function commands are sent to the vehicle to be diagnosed through two communication lines supporting different communication protocols, so as to improve the efficiency of vehicle diagnosis.
  • the communication protocol corresponding to the diagnostic function instruction determines the corresponding The communication line specifically includes: determining the diagnostic function command that needs the support of the online resource of the server as the third diagnostic function command, and determining the diagnostic function command that does not need the support of the server online resource as the fourth diagnostic function command; determining the first communication line is the communication line corresponding to the third diagnostic function command, and the second communication line is the communication line corresponding to the fourth diagnostic function command.
  • the sending the diagnostic function command to the vehicle to be diagnosed through the communication line corresponding to the diagnostic function command specifically includes: sending the third diagnostic function command to the vehicle to be diagnosed through the first communication line The vehicle; sending the fourth diagnosis function instruction to the vehicle to be diagnosed through the second communication line.
  • the diagnostic function commands of the vehicle to be diagnosed on the E model include reading DTCs, clearing DTCs, reading data streams, actuation tests, online programming, vehicle safety calibration, etc.
  • the communication line of the diagnostic function command supported by the online resources of the server such as online programming, vehicle safety verification, etc.
  • the communication line of the diagnostic function commands supported by the online resources of the server is determined as the second communication line.
  • the two diagnostic function instructions include a diagnostic function instruction that needs the support of server online resources and another diagnostic function instruction that does not need the support of server online resources at the same time, then the communication of the diagnostic function instruction that needs the support of server online resources
  • the line is determined as the first communication line, and the communication line that does not require the diagnosis function instruction supported by the online resource of the server is determined as the second communication line.
  • the diagnostic function commands are selected in sequence and sent to the vehicle to be diagnosed through the first communication line; if the two diagnostic function commands all only support If the CAN communication protocol is used, the diagnostic function instruction is selected in sequence and sent to the vehicle to be diagnosed through the second communication line.
  • the diagnosis efficiency of the vehicle is effectively improved by sending the diagnosis function instructions requiring the support of the server online resources and the diagnosis function instructions not requiring the support of the server online resources through different communication lines.
  • a network card is provided between the fifth communication port and the seventh communication port, and the network card communicates with the fifth communication port and the first communication port through the fifth communication port and the first communication port.
  • the system bus connection of the diagnostic equipment is connected to the OBD interface of the vehicle to be diagnosed through the seventh communication port to form the first communication line.
  • the method before sending the diagnosis function instruction to the vehicle to be diagnosed through the first communication line, the method further includes: after monitoring that the network card driver takes effect, start the DHCP service or the AUTO-IP service;
  • the DHCP service or the AUTO-IP service allocates the IP address of the network card and the IP address of the vehicle to be diagnosed; wherein, the IP address of the network card and the IP address of the vehicle to be diagnosed are in the same network segment.
  • starting the DHCP service or the AUTO-IP service includes: calling the built-in DoIP network control service function of the diagnostic device to monitor the state of the network card; After the driving takes effect, send a broadcast to the DoIP network control service function to start the DHCP service or the AUTO-IP service; call the DoIP network control service function to start the DHCP service or the AUTO-IP service.
  • the network card registration success information is generated on the diagnostic device, and after the diagnosis device detects the network card registration success information through the DoIP network control service function, a default network card is allocated to the network card. and establish a routing table; further, the diagnosis device sends a broadcast to enable the DHCP service to the DoIP network control service function.
  • the vehicle DoIP node will apply for an IP address from the DHCP service, usually trying to connect 3 times, and if the connection is successful, the diagnostic device Use the DHCP service to assign the IP address of the vehicle DoIP node, so that the network card and the vehicle DoIP node are in the same network segment. If the vehicle DoIP node fails to apply for an IP address from the DHCP service, the vehicle DoIP node will assign itself an IP address according to the AUTO-IP protocol. At this time, the diagnostic equipment and the vehicle DoIP node are not in the same network segment.
  • the diagnostic vehicle fails in data communication through the DoIP communication protocol, and after the failure, the diagnostic device closes the DHCP service and starts the AUTO-IP service, and also assigns an IP address to the network card according to the AUTO-IP protocol, so that the network card can follow the Vehicle DoIP nodes are on the same network segment.
  • a routing table must be configured for the network card externally connected to the diagnostic connector before the DoIP protocol can be used. Data is transmitted via this network card.
  • the DoIP diagnosis function may also be displayed in the visualization area of the diagnosis device.
  • the network card driver fails, the DHCP service or the AUTO-IP service does not need to be started.
  • the network card driver after monitoring the failure of the network card driver, send a broadcast to the DoIP network control service function to close the DHCP service or AUTO-IP service; call the DoIP network control service function to close the DHCP service or The AUTO-IP service.
  • the present invention adopts the android broadcast mechanism to realize the function calling of the DoIP network control service built in the android system.
  • the built-in DoIP network control service function of the android system can also be invoked through the basic binder mechanism.
  • the corresponding communication line may be the first communication line or the second communication line, and the diagnostic function command is sent to the terminal to be diagnosed through the corresponding first communication line or the second communication line.
  • Vehicle when the diagnostic function instruction is 2, the corresponding communication lines include a first communication line and a second communication line.
  • the diagnostic function corresponding to the first diagnostic function command is to read fault codes
  • the corresponding communication line is the first communication line, and the first communication line supports the CAN communication protocol
  • the diagnostic energy supply corresponding to the second diagnostic function command is
  • the corresponding communication line is the second communication line, and the second communication line supports the DoIP communication protocol.
  • the first diagnostic function command is sent through the first communication line
  • the second diagnostic function command is sent through the second communication line, so as to realize reading the fault code and online programming at the same time. Improve the efficiency of vehicle diagnosis.
  • the vehicle diagnosis method obtaineds the diagnosis request including the vehicle information of the vehicle to be diagnosed, determines the communication protocol supported by the vehicle to be diagnosed according to the vehicle information; and obtains the instruction including the diagnosis function and the diagnostic command of the corresponding communication protocol, and determine the communication line corresponding to the diagnostic function command according to the communication protocol corresponding to the diagnostic function command, and then send the diagnostic function command to the said diagnostic function command through the communication line corresponding to the diagnostic function command Describe the vehicle to be diagnosed, and obtain feedback data from the vehicle to be diagnosed for diagnosis.
  • the limitations in the process of vehicle diagnosis are solved, and the adaptability of vehicle diagnosis is effectively improved.
  • the embodiments of the present invention further provide device embodiments for implementing the above method embodiments.
  • FIG. 4 is a schematic diagram of a vehicle diagnostic device provided by an embodiment of the present application. Each included module is used to execute each step in the embodiment corresponding to FIG. 3 . For details, refer to the relevant description in the embodiment corresponding to FIG. 3 . For ease of description, only the parts related to this embodiment are shown.
  • the vehicle diagnostic device 400 includes a first communication port and a second communication port (not shown in FIG. 4 ), and the vehicle diagnostic device 400 is connected to the diagnostic connector through the first communication port and the diagnostic connector.
  • the fifth communication port of the diagnostic connector establishes a communication connection
  • the vehicle diagnostic device 400 establishes a communication connection with the diagnostic connector through the second communication port and the fourth communication port of the diagnostic connector
  • the sixth communication port of the connector establishes a communication connection with the third communication port of the diagnostic connector
  • the diagnostic connector establishes a communication connection with the vehicle to be diagnosed through the seventh communication port of the diagnostic connector and the OBD interface of the vehicle to be diagnosed
  • a first communication line is formed between the first communication port, the fifth communication port and the seventh communication port
  • the vehicle diagnostic device 400 includes:
  • the first acquiring module 401 is configured to acquire a diagnosis request, where the diagnosis request includes vehicle information of the vehicle to be diagnosed;
  • the first determination module 402 is configured to determine the communication protocol supported by the vehicle to be diagnosed according to the vehicle information
  • the second acquiring module 403 is configured to acquire a diagnostic instruction, where the diagnostic instruction includes a diagnostic function instruction and a corresponding communication protocol;
  • the second determination module 404 is configured to determine the communication line corresponding to the diagnosis function instruction according to the communication protocol corresponding to the diagnosis function instruction;
  • the first sending module 405 is configured to send the diagnosis function instruction to the vehicle to be diagnosed through the communication line corresponding to the diagnosis function instruction, and obtain feedback data from the vehicle to be diagnosed for diagnosis.
  • the communication protocol supported by the vehicle to be diagnosed includes CAN communication protocol and/or DoIP communication protocol, and there is one diagnostic function instruction;
  • the second determination module 404 includes:
  • the first determining unit is configured to determine that the communication line corresponding to the diagnosis function instruction is the first communication line when the communication protocol corresponding to the diagnosis function instruction is the DoIP communication protocol; at this time, the passing of the diagnosis function instruction
  • the corresponding communication line sends the diagnostic function instruction to the vehicle to be diagnosed, specifically: sending the diagnostic function instruction to the vehicle to be diagnosed through the first communication line;
  • the second determining unit is configured to determine that the communication line corresponding to the diagnosis function command is a second communication line when the communication protocol corresponding to the diagnosis function command is the CAN communication protocol; at this time, the passing of the diagnosis function command
  • the corresponding communication line sends the diagnostic function command to the vehicle to be diagnosed, specifically: sending the diagnostic function command to the vehicle to be diagnosed through a second communication line;
  • the diagnostic function command When the diagnostic function command supports the CAN communication protocol and the DoIP communication protocol at the same time, if the diagnostic function command needs server online resource support, it is determined that the communication line corresponding to the diagnostic function command is the first communication line; If the functional instruction does not require the support of online resources of the server, it is determined that the communication line corresponding to the diagnostic function instruction is the second communication line; at this time, the diagnostic function instruction is sent to the The vehicle to be diagnosed specifically includes: sending the diagnosis function instruction to the vehicle to be diagnosed through a selected communication line.
  • the communication protocol supported by the vehicle to be diagnosed includes CAN communication protocol and/or DoIP communication protocol, and there are two diagnostic function instructions, wherein the communication protocol corresponding to the first diagnostic function instruction is the DoIP communication protocol; The communication protocol corresponding to the second diagnostic function instruction is the CAN communication protocol;
  • the second determination module 404 is specifically used for:
  • the first sending module 405 is specifically configured to:
  • diagnostic function instructions when there are two diagnostic function instructions, and the diagnostic function instructions all support the CAN communication protocol and the DoIP communication protocol;
  • the second determining module 404 is specifically configured to: determine the diagnostic function instruction that needs the support of the server's online resource as the third diagnostic function instruction, and determine the diagnostic function instruction that does not require the support of the server's online resource as the fourth diagnostic function instruction; determine The first communication line is a communication line corresponding to the third diagnosis function command, and the second communication line is a communication line corresponding to the fourth diagnosis function command.
  • the first sending module 405 is specifically configured to:
  • a network card is arranged between the fifth communication port and the seventh communication port, and the network card communicates with the system bus of the diagnostic device through the fifth communication port and the first communication port Connecting, connecting with the OBD interface of the vehicle to be diagnosed through the seventh communication port to form the first communication line;
  • the vehicle diagnostic device 400 also includes:
  • the startup module is used to start the DHCP service or the AUTO-IP service after monitoring that the network card driver takes effect;
  • An allocation module configured to allocate the IP address of the network card and the IP address of the vehicle to be diagnosed through the DHCP service or the AUTO-IP service; wherein, the IP address of the network card and the IP address of the vehicle to be diagnosed are on the same network part.
  • the startup module includes:
  • the first calling unit is used to call the built-in DoIP network control service function of the diagnostic device to monitor the state of the network card;
  • a sending unit configured to send a broadcast to the DoIP network control service function to enable the DHCP service or the AUTO-IP service after monitoring that the network card driver takes effect;
  • the second calling unit is used to call the DoIP network control service function to start the DHCP service or the AUTO-IP service.
  • the vehicle diagnostic device 400 further includes:
  • the display module is used to display the DoIP diagnosis function in the visualization area.
  • the vehicle diagnostic device 400 further includes:
  • the second sending module is used to send a broadcast to close the DHCP service or the AUTO-IP service to the DoIP network control service function after monitoring that the network card driver fails;
  • the calling module is used to call the DoIP network control service function to close the DHCP service or the AUTO-IP service.
  • Fig. 5 is a schematic diagram of a diagnostic device provided by an embodiment of the present application.
  • the diagnostic device 101 of this embodiment includes: a processor 500 , a memory 501 , and a computer program 502 stored in the memory 501 and executable on the processor 500 , such as a vehicle diagnostic program.
  • the processor 500 executes the computer program 502 the following steps are implemented:
  • diagnosis request including vehicle information of the vehicle to be diagnosed
  • diagnostic instructions include diagnostic function instructions and corresponding communication protocols
  • the communication protocol supported by the vehicle to be diagnosed includes CAN communication protocol and/or DoIP communication protocol, and there is one diagnostic function instruction;
  • the processor determines the communication line corresponding to the diagnostic function instruction according to the communication protocol corresponding to the diagnostic function instruction, it specifically implements:
  • the diagnostic function instruction to the vehicle to be diagnosed is specifically: sending the diagnostic function instruction to the vehicle to be diagnosed through the first communication line;
  • the diagnostic function command to the vehicle to be diagnosed is specifically: sending the diagnostic function command to the vehicle to be diagnosed through a second communication line;
  • the diagnostic function command When the diagnostic function command supports the CAN communication protocol and the DoIP communication protocol at the same time, if the diagnostic function command needs server online resource support, it is determined that the communication line corresponding to the diagnostic function command is the first communication line; If the functional instruction does not require the support of online resources of the server, it is determined that the communication line corresponding to the diagnostic function instruction is the second communication line; at this time, the diagnostic function instruction is sent to the The vehicle to be diagnosed specifically includes: sending the diagnosis function instruction to the vehicle to be diagnosed through a selected communication line.
  • the communication protocol supported by the vehicle to be diagnosed includes the CAN communication protocol and/or the DoIP communication protocol, and there are two diagnostic function instructions, wherein the communication protocol corresponding to the first diagnostic function instruction is the DoIP communication protocol; the second The communication protocol corresponding to the diagnostic function command is the CAN communication protocol;
  • the processor determines the communication line corresponding to the diagnostic function instruction according to the communication protocol corresponding to the diagnostic function instruction, it specifically implements:
  • the sending the diagnostic function command to the vehicle to be diagnosed through the communication line corresponding to the diagnostic function command specifically includes:
  • the communication protocols supported by the vehicle to be diagnosed include CAN communication protocol and/or DoIP communication protocol, there are two diagnostic function instructions, and the diagnostic function instructions all support CAN communication protocol and DoIP communication protocol;
  • the processor determines the communication line corresponding to the diagnostic function instruction according to the communication protocol corresponding to the diagnostic function instruction, it specifically implements:
  • the sending the diagnostic function command to the vehicle to be diagnosed through the communication line corresponding to the diagnostic function command specifically includes:
  • a network card is provided between the fifth communication port and the seventh communication port, and the network card is connected to the system bus of the diagnostic device through the fifth communication port and the first communication port, connecting with the OBD interface of the vehicle to be diagnosed through the seventh communication port to form the first communication line;
  • the processor Before the processor executes the step of sending a diagnostic function instruction to the vehicle to be diagnosed through the first communication line, the processor further executes the following steps:
  • the IP address of the network card and the IP address of the vehicle to be diagnosed are allocated through the DHCP service or the AUTO-IP service; wherein, the IP address of the network card and the IP address of the vehicle to be diagnosed are in the same network segment.
  • the processor starts the DHCP service or the AUTO-IP service after monitoring that the network card driver takes effect, it realizes:
  • the processor executes calling the DoIP network control service function to start the DHCP service or the AUTO-IP service, it also performs the following steps:
  • the processor executes the sending of the diagnostic function instruction to the vehicle to be diagnosed through the first communication line, the following steps are further performed:
  • the computer program 502 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 501 and executed by the processor 500 to complete the application .
  • the one or more modules/units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program 502 in the diagnostic device 101 .
  • the computer program 502 may be divided into a first sending module. For specific functions of this module, please refer to the relevant description in the embodiment corresponding to FIG. 4 , which will not be repeated here.
  • the diagnostic device 101 may include, but not limited to, a processor 500 and a memory 501 .
  • FIG. 5 is only an example of the diagnostic device 101, and does not constitute a limitation to the diagnostic device 101. It may include more or fewer components than shown in the figure, or combine some components, or different components.
  • the diagnosis device 101 may also include an input and output device, a network access device, a bus, and the like.
  • the so-called processor 500 may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • the storage 501 may be an internal storage unit of the diagnostic device 101 , such as a hard disk or a memory of the diagnostic device 101 .
  • the memory 501 can also be an external storage device of the diagnostic device 101, such as a plug-in hard disk equipped on the diagnostic device 101, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash card (Flash Card), etc. Further, the memory 501 may also include both an internal storage unit of the diagnostic device 101 and an external storage device.
  • the memory 501 is used to store the computer program 502 and other programs and data supported by the diagnostic device 101 .
  • the memory 501 can also be used to temporarily store data that has been output or will be output.
  • the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program product runs on the software management device, the software management device executes the above-mentioned vehicle Steps of the diagnostic method.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Small-Scale Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

提供一种车辆诊断方法、诊断连接器及诊断设备,方法通过诊断设备(101)获取包含有待诊断车辆(104)的车辆信息的诊断请求,并根据车辆信息确定待诊断车辆支持的通信协议,进而在诊断设备获取包括诊断功能指令和对应的通信协议后,根据诊断功能指令对应的通信协议确定诊断功能指令对应的通讯线路,并根据诊断功能指令对应的通讯线路发送诊断功能指令至待诊断车辆,从待诊断车辆获取反馈数据并进行诊断。解决了车辆诊断过程中的局限性,旨在提高车辆诊断的适应能力。

Description

车辆诊断方法、诊断连接器以及诊断设备 技术领域
本申请涉及车辆诊断技术领域,尤其涉及一种车辆诊断方法、诊断连接器及诊断设备。
背景技术
这里的陈述仅提供与本申请有关的背景信息,而不必然构成现有技术。随着车辆智能化程度的提高,传统串行通讯总线,如CAN已不能满足车载通信数据的爆发式增长。而网间协议诊断通信(Diagnostic communication over Internet Protocol,DoIP)由于具有较快的数据传输速率,因此能够在复杂的诊断任务下提高诊断效率。但是,由于DoIP是通过TCP/IP和以太网使用经由统一诊断服务(Unified Diagnostic Services,UDS)引入的诊断服务,在使用DoIP诊断服务时需要通过OBD诊断头外接网口与诊断设备建立通讯链路。导致DoIP诊断服务受到很多限制。因此,现有的车辆诊断仍存在很大的局限性。
发明内容
本申请实施例提供了一种车辆诊断方法、诊断连接器及诊断设备,能够解决车辆诊断过程中的局限性,提高车辆诊断的效率。
第一方面,本申请提供一种车辆诊断方法,应用于车辆诊断系统,所述车辆诊断系统包括诊断设备、诊断接头和诊断连接器;其中,所述诊断设备包括第一通信端口和第二通信端口,所述诊断接头包括第三通信端口和第四通信端口;所述诊断连接器包括第五通信端口、第六通信端口和第七通信端口;所述诊断连接器与所述诊断设备通过所述第五通信端口和所述第一通信端口建立通信连接;所述诊断连接器与所述诊断接头通过所述第六通信端口和所述第三通信端口建立通信连接;所述诊断连接器与待诊断车辆通过所述第七通信端口和所述待诊断车辆的OBD接口建立通信连接;所述诊断接头与所述诊断设备通过所述第四通信端口和所述第二通信端口建立通信连接;所述第一通信端口、所述第五通信端口和所述第七通信端口之间形成第一通讯线路;所述第二通信端口、所述第四通信端口、所述第三通信端口、所述第六通信端口和所述第七通信端口之间形成第二通讯线路;所述方法包括:
所述诊断设备获取诊断请求,所述诊断请求包括所述待诊断车辆的车辆信息;
所述诊断设备根据所述车辆信息确定待诊断车辆支持的通信协议;
所述诊断设备获取诊断指令,所述诊断指令包括诊断功能指令和对应的通信协议;
所述诊断设备根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路;
所述诊断设备通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,并从所述待诊断车辆获取反馈数据并进行诊断。
第二方面,本申请提供一种车辆诊断方法,应用于诊断设备,所述诊断设备包括第一通信端口和第二通信端口,所述诊断设备与诊断连接器通过所述第一通信端口和诊断连接器的第五通信端口建立通信连接,所述诊断设备与诊断接头通过所述第二通信端口和诊断接头的第四通信端口建立通信连接;所述诊断连接器与所述诊断接头通过诊断连接器的第六通信端口和诊断接头的第三通信端口建立通信连接,所述诊断连接器与待诊断车辆通过诊断连接器的第七通信端口和所述待诊断车辆的OBD接口建立通信连接;所述第一通信端口、所述第五通信端口和所述第七通信端口之间形成第一通讯线路;所述第二通信端口、所述第四通信端口、所述第三通信端口、所述第六通信端口和所述第七通信端口之间形成第二通讯线路;所述方法包括:
获取诊断请求,所述诊断请求包括所述待诊断车辆的车辆信息;
根据所述车辆信息确定所述待诊断车辆支持的通信协议;
获取诊断指令,所述诊断指令包括诊断功能指令和对应的通信协议;
根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路;
通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,并从所述待诊断车辆获取反馈数据进行诊断。
第三方面,本申请提供一种诊断连接器,应用于车辆诊断系统,所述车辆诊断系统包括所述诊断设备、诊断接头和所述诊断连接器,其中,所述诊断设备包括第一通信端口和第二通信端口,所述诊断接头包括第三通信端口和第四通信端口;所述诊断连接器包括第五通信端口、第六通信端口和第七通信端口;所述诊断连接器与所述诊断设备通过所述第五通信端口和所述第一通信端口建立通信连接;所述诊断连接器与所述诊断接头通过所述第六通信端口和所述第三通信端口建立通信连接;所述诊断连接器与待诊断车辆通过所述第七通信端口和所述待诊断车辆的OBD接口建立通信连接;所述诊断接头与所述诊断设备通过所述第四通信端口和所述第二通信端口建立通信连接;所述第一通信端口、所述第五通信端口和所述第七通信端口之间形成第一通讯线路;所述第二通信端口、所述第四通信端口、所述第三通信端口、所述第六通信端口和所述第七通信端口之间形成第二通讯线路;
当诊断功能指令对应的通信协议为DoIP通讯协议时,通过所述第一通讯线路发送所述诊断功能指令至所述待诊断车辆;
当诊断功能指令对应的通信协议为CAN通讯协议时,通过所述第二通讯线路发送所述诊断功能指令至所述待诊断车辆;
其中,所述诊断功能指令由所述诊断设备获取,用于对所述待诊断车辆进行诊断。
第四方面,本申请实施例提供一种诊断设备,所述诊断设备包括第一通信端口和第二通信端口,所述诊断设备与诊断连接器通过所述第一通信端口和诊断连接器的第五通信端口建立通信连接,所述诊断设备与诊断接头通过所述第二通信端口和诊断接头的第四通信端口建立通信连接;所述诊断连接器与所述诊断接头通过诊断连接器的第六通信端口和诊断接头的第三通信端口建立通信连接,所述诊断连接器与待诊断车辆通过诊断连接器的第七通信端口和所述待诊断车辆的OBD接口建立通信连接;所述第一通信端口、所述第五通信端口和所述第七通信端口之间形成第一通讯线路;所述第二通信端口、所述第四通信端口、所述第三通信端口、所述第六通信端口和所述第七通信端口之间形成第二通讯线路;
所述诊断设备还包括:
存储器,用于存储车辆诊断程序;
处理器,用于执行所述车辆诊断程序时执行如下步骤:
获取诊断请求,所述诊断请求包括所述待诊断车辆的车辆信息;
根据所述车辆信息确定所述待诊断车辆支持的通信协议;
获取诊断指令,所述诊断指令包括诊断功能指令和对应的通信协议;
根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路;
通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,并从所述待诊断车辆获取反馈数据进行诊断。
采用本申请第一方面提供的车辆诊断方法,应用于车辆诊断系统,通过诊断设备获取包含有待诊断车辆的车辆信息的诊断请求,并根据所述车辆信息确定待诊断车辆支持的通信协议,进而在诊断设备获取包括诊断功能指令和对应的通信协议后,根据诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路,并根据所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,从所述待诊断车辆获取反馈数据并进行诊断。解决了车辆诊断过程中的局限性,旨在提高车辆诊断的适应能力。
可以理解的是,上述第二方面至第四方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所支持要使用的附图作简单地介绍。
图1是申请实施例提供的车辆诊断系统的示意图;
图2是本申请实施例提供的诊断连接器的结构示意图;
图3是本申请实施例提供的车辆诊断方法的实现流程图;
图4是本申请实施例提供的车辆诊断装置的示意图;
图5是本申请实施例提供的诊断设备的示意图。
具体实施方式
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。应当理解,在本申请说明书和所附权利要求书的描述中,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。
还应当理解,在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。
请参阅图1,图1是申请实施例提供的车辆诊断系统的示意图。由图1可知,本申请实施例提供的车辆诊断系统10包括诊断设备101、诊断接头102以及诊断连接器103。其中,诊断设备101包括第一通信端口和第二通信端口;诊断接头102包括第三通信端口和第四通信端口;诊断连接器103包括第五通信端口、第六通信端口和第七通信端口。
所述诊断连接器103与诊断设备101通过第五通信端口和第一通信端口建立通信连接;所述诊断连接器103与诊断接头102通过第六通信端口和第三通信端口建立连接;所述诊断连接器103与待诊断车辆104通过第七通信端口和所述待诊断车辆的OBD接口建立通信连接;所述诊断接头102与所述诊断设备101通过第四通信端口和第二通信端口建立通信连接;所述第一通信端口、第五通信端口和第七通信端口之间形成第一通讯线路;所述第二通信端口、第四通信端口、第三通信端口、第六通信端口和第七通信端口之间形成第二通讯线路。其中,诊断设备101用于获取包括待诊断车辆104的车辆信息的诊断请求,根据所述车辆信息确定待诊断车辆104支持的通信协议,进而在获取包括诊断功能指令和对应的通信协议的诊断指令后,根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路,通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆104,并从所述待诊断车辆104获取反馈数据进行诊断。需要说明的是,在图1各通信端口均未示出。
其中,诊断设备101可以是服务器或者终端。所述服务器可以是单个服务器或者服务器集群,所述终端可以是手持设备、个人电脑、笔记本、机器人或者可穿戴的智能设备。所述第一通信端口和所述第二通信端口可以是无线通信端口,也可以是有线通信端口。
诊断连接器103为通信连接器,所述通信连接器可以支持DoIP通信协议,也可以支持CAN通信协议,所述第五通信端口1031可以是USB通信端口,诊断连接器103可以通过USB通信端口与诊断设备101的第一通信端口建立通信连接,接入诊断设备101的USB总线;所述第七通信端口可以是以太网的五类线通信端口,该以太网的五类线通信端口可以通过电缆与待诊断车辆104的OBD接口连接,形成第一通讯线路。示例性地,第一通信端口和第七通信端口之间设置有网卡,所述网卡通过第五通信端口与诊断设备101的第一通信端口接入诊断设备101的系统总线,通过第七通信端口与待诊断车辆104的OBD接口连接,形成第一通讯线路。其中,所述系统总线可以是例如USB总线。
在一些实施例中,可以通过USB OTG机制在支持DoIP通信协议的通信连接器内增加 诊断设备101的外接USB网卡,并在诊断设备101内核内置USB网卡驱动,在第一通信端口、第五通信端口和第七通信端口之间形成第一通讯线路。
在一些实施例中,诊断接头102与诊断设备101之间可以通过第四通信端口和第二通信端口建立通信连接,该第四通信端口和第二通信端口可以是无线通信端口,如WiFi端口,蓝牙端口,也可以是有线硬件端口。基于通信端口的连接,诊断接头102与诊断设备101之间可以建立无线通信连接,也可以建立有线通信连接。
其中,诊断接头102可以是OBD诊断接头,该OBD诊断接头包括用于与诊断连接器103的第五通信端口连接的第一通信端口,以及用于与诊断设备101的第四通信端口连接的第二通信端口;应理解,所述诊断连接器103的第七通信端口与待诊断车辆104的OBD接口建立通信连接后,在第一通信端口、第五通信端口和第七通信端口之间形成所述第一通讯线路,在第二通信端口、第四通信端口、第三通信端口、第六通信端口和第七通信端口之间形成第二通讯线路。诊断设备101可以通过第一通讯线路和/或第二通讯线路对待诊断车辆104进行诊断,能够有效解决车辆诊断过程中使用诊断协议的局限性,提高车辆诊断对诊断的适应能力。
在一些实施例中,待诊断车辆104支持的通信协议包括CAN通信协议和/或DoIP通信协议,示例性地,当诊断设备101获取的诊断指令包含有1个诊断功能指令时,也即诊断功能指令为1个时,诊断设备101根据诊断功能指令对应的通信协议确定诊断功能指令对应的通讯线路,包括:当所述诊断功能指令对应的通信协议为DoIP通信协议时,确定所述诊断功能指令对应的通讯线路为第一通讯线路;此时,所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体为:通过所述第一通讯线路发送所述诊断功能指令至所述待诊断车辆;当所述诊断功能指令对应的通信协议为CAN通信协议时,确定所述诊断功能指令对应的通讯线路为第二通讯线路;此时,所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体为:通过第二通讯线路发送所述诊断功能指令至所述待诊断车辆。
示例性地,当所述诊断功能指令同时支持CAN通信协议和DoIP通信协议时,若所述诊断功能指令需要服务器在线资源支持,则确定所述诊断功能指令对应的通讯线路为第一通讯线路;若所述诊断功能指令不需要服务器在线资源支持,则确定所述诊断功能指令对应的通讯线路为第二通讯线路;此时,所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体为:通过选定的通讯线路发送所述诊断功能指令至所述待诊断车辆。通过根据支持不同通信协议的诊断功能指令选择对应的通讯线路进行车辆诊断,有效提高车辆诊断的效率。
在一些实施例中,当诊断功能指令为2个时,其中,第一诊断功能指令对应的通信协议为DoIP通信协议;第二诊断功能指令对应的通信协议为CAN通信协议;诊断设备101根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路,具体包括:确定所述第一通讯线路为第一诊断功能指令对应的通讯线路,所述第二通讯线路为第二诊断功能指令对应的通讯线路;所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体包括:通过所述第一通讯线路发送所述第一诊断功能指令至所述待诊断车辆;通过所述第二通讯线路发送所述第二诊断功能指令至所述待诊断车辆。通过两个支持不同通信协议的通讯线路发送不同的诊断功能指令至待诊断车辆,以提高车辆诊断的效率。
在一些实施例中,当所述诊断功能指令为2个,且所述诊断功能指令均支持CAN通信协议和DoIP通信协议时,诊断设备101根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路,具体包括:将需要服务器在线资源支持的诊断功能指令确定为第三诊断功能指令,将不需要服务器在线资源支持的诊断功能指令确定为第四诊断功能指令;确定所述第一通讯线路为所述第三诊断功能指令对应的通讯线路,所述第二通讯线路为所述第四诊断功能指令对应的通讯线路。其中,所述通过所述诊断功能指令对应的通讯线路 发送所述诊断功能指令至所述待诊断车辆,具体包括:通过所述第一通讯线路发送所述第三诊断功能指令至所述待诊断车辆;通过所述第二通讯线路发送所述第四诊断功能指令至所述待诊断车辆。通过将需要服务器在线资源支持的诊断功能指令和不需要服务器在线资源支持的诊断功能指令以不同的通讯线路进行发送,有效提高车辆诊断的效率。
在一些实施例中,所述第五通信端口和所述第七通信端口之间设置有网卡,所述网卡通过所述第五通信端口和所述第一通信端口与所述诊断设备的系统总线连接,通过所述第七通信端口与所述待诊断车辆的OBD接口连接,形成所述第一通讯线路。
在一些实施例中,诊断连接器103的第五通信端口与第七通信端口之间可以通过车辆OBD接口的第1、第12和第13引脚进行数据的传输。也就是说,车辆OBD接口的第1、第12和第13引脚被以太网的五类线引脚使用。诊断连接器103的第六通信端口与第七通信端口之间可以通过车辆OBD接口的第6和第14引脚进行数据的传输。也就是说,车辆OBD接口的第6和第14引脚被诊断接头102使用。从而实现了CAN协议和DoIP协议的同时工作,降低了车辆诊断过程中使用诊断协议的局限性,提高车辆诊断的适应能力。
应理解,要形成所述第一通讯线路,首先需要驱动所述网卡生效,并使所述网卡的IP地址和待诊断车辆的IP地址处于同一网段。因此,在所述通过所述第一通讯线路发送诊断功能指令至所述待诊断车辆之前,所述方法还包括:监控到所述网卡驱动生效后,启动DHCP服务或者AUTO-IP服务;通过所述DHCP服务或者所述AUTO-IP服务分配网卡的IP地址和待诊断车辆的IP地址;其中,所述网卡的IP地址与所述待诊断车辆的IP地址处于同一网段。
具体地,所述监控到所述网卡驱动生效后,启动DHCP服务或者AUTO-IP服务,包括:调用所述诊断设备内置的DoIP网络控制服务功能监控所述网卡的状态;在监控到所述网卡驱动生效后,向所述DoIP网络控制服务功能发送开启DHCP服务或者AUTO-IP服务的广播;调用所述DoIP网络控制服务功能启动所述DHCP服务或者所述AUTO-IP服务。
具体地,在所述网卡驱动生效后,在所述诊断设备上生成网卡注册成功信息,诊断设备通过所述DoIP网络控制服务功能检测到所述网卡注册成功信息后,为所述网卡分配一个默认的网址,并建立路由表;进一步诊断设备向所述DoIP网络控制服务功能发送开启DHCP服务的广播。
应理解,DHCP服务启动本身就需要一个IP地址,且在所述诊断连接器连接后,车辆DoIP节点会向所述DHCP服务申请IP地址,通常会尝试连接3次,如果连接成功,则诊断设备使用所述DHCP服务分配车辆DoIP节点的IP地址,以使所述网卡与所述车辆DoIP节点在同一个网段。如果车辆DoIP节点通过向所述DHCP服务申请IP地址失败,则车辆DoIP节点就会根据AUTO-IP协议给自己分配一个IP地址,此时诊断设备跟车辆DoIP节点不在一个网段,诊断设备与待诊断车辆通过DoIP通讯协议进行数据通讯失败,并在失败后,诊断设备关闭DHCP服务,并启动AUTO-IP服务,同样依据AUTO-IP协议给所述网卡分配一个IP地址,以使所述网卡跟车辆DoIP节点在同一个网段。
应理解,由于诊断设备上同时设置了两个网络设备,分别为无线网卡和外接在诊断连接器上的网卡,因此,必须为外接在诊断连接器上的网卡配置路由表,才可以使DoIP协议数据通过该网卡进行传输。
应理解,在调用所述DoIP网络控制服务功能启动所述DHCP服务或者所述AUTO-IP服务之后,还可以在诊断设备的可视化区域显示DoIP诊断功能。
应理解,若所述网卡驱动失效,则不需要启动DHCP服务或者AUTO-IP服务。对应地,在一实施例中,监控到所述网卡驱动失效后,向DoIP网络控制服务功能发送关闭DHCP服务或者AUTO-IP服务的广播;调用所述DoIP网络控制服务功能关闭所述DHCP服务或者所述AUTO-IP服务。
需要说明的是,本发明采用android广播机制实现对android系统内置DoIP网络控制服务功能调用。但不限于此种方式,也可以通过基础的binder机制对android系统内置DoIP 网络控制服务功能调用。
通过上述分析可知,本申请实施例提供的车辆诊断系统,通过诊断连接器在待诊断车辆和诊断设备之间形成支持多通讯协议的第一通讯线路和第二通讯线路,使得诊断设备在获取包含有待诊断车辆的车辆信息的诊断请求后,能够根据所述车辆信息确定待诊断车辆支持的通信协议,进而在诊断设备获取包括诊断功能指令和对应的通信协议后,根据诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路,并根据所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,从所述待诊断车辆获取反馈数据并进行诊断。解决了车辆诊断过程中的局限性,旨在提高车辆诊断的适应能力。
示例性地,如图2所示,图2是图1中诊断连接器的结构示意图。应理解,本实施例提供的诊断连接器103应用于图1所示的车辆诊断系统。由图1可知,所述车辆诊断系统10包括诊断设备101、诊断接头102和图2所示的诊断连接器103。其中,由图1可知,诊断设备101包括第一通信端口和第二通信端口,所述诊断接头102包括第三通信端口和第四通信端口;由图2可知,所述诊断连接器103包括第五通信端口201、第六通信端口202和第七通信端口203;所述诊断连接器103与所述诊断设备101通过所述第五通信端口201和所述第一通信端口建立通信连接;所述诊断连接器103与所述诊断接头102通过所述第六通信端口202和所述第三通信端口建立通信连接;所述诊断连接器103与待诊断车辆104通过所述第七通信端口203和所述待诊断车辆104的OBD接口建立通信连接;所述诊断接头102与所述诊断设备101通过所述第四通信端口和所述第二通信端口建立通信连接;所述第一通信端口、所述第五通信端口201和所述第七通信端口203之间形成第一通讯线路20;所述第二通信端口、所述第四通信端口、所述第三通信端口、所述第六通信端口201和所述第七通信端口203之间形成第二通讯线路21。能够通过第一通讯线路20和第二通讯线路21同时进行车辆诊断,提高车辆诊断的效率。
在一些实施例中,当所述诊断设备101发送的诊断功能指令对应的通信协议为DoIP通讯协议时,所述诊断连接器103通过所述第一通讯线路20发送所述诊断功能指令至所述待诊断车辆104;当所述诊断设备101发送的诊断功能指令对应的通信协议为CAN通讯协议时,所述诊断连接器103通过所述第二通讯线路21发送所述诊断功能指令至所述待诊断车辆104;其中,所述诊断功能指令由所述诊断设备101获取,用于对所述待诊断车辆104进行诊断。通过第一通讯线路和第二通讯线路支持不同的诊断协议,能够有效提高车辆诊断的效率。
应理解,第一通信端口和第二通信端口均为诊断设备101的通信端口,第三通信端口和第四通信端口均为诊断接头102的通信端口,在图2中均未示出。
在一些实施例中,如图2所示,所述第五通信端口201和所述第七通信端口203之间设置有网卡204,所述网卡204通过所述第五通信端口201和所述第一通信端口与所述诊断设备201的系统总线连接,通过所述第七通信端口203与所述待诊断车辆104的OBD接口连接,形成所述第一通讯线路。以使所述第一通讯线路支持DoIP通信协议,通过第一通讯线路可以完成支持DoIP通信协议的诊断功能指令,提高车辆诊断对通信协议的适应性。
请参阅图3所示,图3是本申请实施例提供的车辆诊断方法的实现流程示意图。本实施例提供的车辆诊断方法由图1所示的诊断设备101执行实现。
具体地,由图1可知,诊断设备101包括第一通信端口和第二通信端口,诊断设备101与诊断连接器103通过第一通信端口和诊断连接器103的第五通信端口建立通信连接,诊断设备101与诊断接头102通过第二通信端口和诊断接头102的第四通信端口建立通信连接;诊断连接器103与诊断接头102通过诊断连接器103的第六通信端口和诊断接头102的第三通信端口建立通信连接,诊断连接器103与待诊断车辆104通过诊断连接器103的第七通信端口和待诊断车辆104的OBD接口建立通信连接;其中,第一通信端口、第五通信端口和第七通信端口之间形成第一通讯线路;第二通信端口、第四通信端口、第三通信端口、第六通信端口和第七通信端口之间形成第二通讯线路。
示例性地,由图3可知,本实施例提供的车辆诊断方法包括步骤S301至步骤S305。详述如下:
S301,获取诊断请求,所述诊断请求包括所述待诊断车辆的车辆信息。
需要说明的是,在实际应用场景中,获取诊断请求一般指用户通过诊断设备确定车辆具体车型的过程,包括诊断设备自动读取车型,或者用户通过选择操作确定车型。
S302,根据所述车辆信息确定所述待诊断车辆支持的通信协议。
在本实施例中,待诊断车辆的车辆信息包括车型,待诊断车辆的车型与支持的诊断协议之间存在映射关系。当待诊断车辆的车型确定后,就可以确定待诊断车辆支持哪些协议了。具体地,现有的是大部分车型支持CAN协议,部分车型,例如宝马车型支持CAN协议和DOIP协议,当然也存在一些车型仅支持DoIP协议。
S303,获取诊断指令,所述诊断指令包括诊断功能指令和对应的通信协议。
应理解,所述诊断功能指令为用户基于诊断操作界面选择的对待诊断车辆的诊断功能指令。具体地,在本实施例中,所述待诊断车辆支持的通信协议包括CAN通信协议和/或DoIP通信协议,对应地,用户可以选择触发1个诊断功能指令,或者同时触发2个诊断功能指令。其中,1个诊断供能指令对应一种通信协议。具体地,所述诊断功能指令为1个,表示对应执行1个诊断功能,如读故障码,或者读数据流等。所述诊断功能指令为2个,具体地,包括第一诊断功能指令和第二诊断功能指令。对应地,所述诊断功能指令为2个,需要执行2个诊断功能,例如执行读取故障码和在线编程。
S304,根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路。
在一些实施例中,当诊断功能指令为1个时,所述根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路,具体包括:当所述诊断功能指令对应的通信协议为DoIP通信协议时,确定所述诊断功能指令对应的通讯线路为第一通讯线路;此时,所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体为:通过所述第一通讯线路发送所述诊断功能指令至所述待诊断车辆。在一些具体的应用场景中,当待诊断车辆为A车型,且仅支持DoIP通信协议时,则对待诊断车辆进行诊断的诊断功能指令如读取故障码或者读数据流等对应的通信协议为DoIP通信协议,此时确定该诊断功能指令对应的通讯线路为第一通讯线路。
当所述诊断功能指令对应的通信协议为CAN通信协议时,确定所述诊断功能指令对应的通讯线路为第二通讯线路;此时,所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体为:通过第二通讯线路发送所述诊断功能指令至所述待诊断车辆。在一些具体的应用场景中,例如当诊断车辆为B车型,且仅支持CAN通信协议时,则对待诊断车辆进行诊断的诊断功能指令如读取故障码或者读数据流等对应的通信协议为CAN通信协议,此时确定该诊断功能指令对应的通讯线路为第一通讯线路。
示例性地,当所述诊断功能指令同时支持CAN通信协议和DoIP通信协议时,若所述诊断功能指令需要服务器在线资源支持,则确定所述诊断功能指令对应的通讯线路为第一通讯线路;若所述诊断功能指令不需要服务器在线资源支持,则确定所述诊断功能指令对应的通讯线路为第二通讯线路;此时,所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体为:通过选定的通讯线路发送所述诊断功能指令至所述待诊断车辆。
在一些具体的应用场景中,例如当诊断车辆为C车型,且既支持CAN通信协议也支持DoIP通信协议时,则此时需要根据诊断功能指令是否需要服务器在线资源的支持来确定具体的通讯线路。例如,对于C车型的待诊断车辆,读故障码和读数据流不需要服务器在线资源支持,那么读故障码或者读数据流的诊断故障指令对应的通讯线路确定为第二通讯线路,在线编程功能需要服务器在线资源支持,则在线编程的诊断故障指令对应的通讯线路确定为第一通讯线路。当然,在一些其他的应用场景中,还有一些诊断功能指令如车辆安全校验, 车辆系统配置等也需要服务器在线资源的支持,此时这些诊断功能指令对应的通讯线路也应确定为第一通讯线路。
在一些实施例中,当诊断功能指令为2个时,所述第一诊断功能指令对应的通信协议为DoIP通信协议;第二诊断功能指令对应的通信协议为CAN通信协议;所述根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路,具体包括:确定所述第一通讯线路为第一诊断功能指令对应的通讯线路,所述第二通讯线路为第二诊断功能指令对应的通讯线路。
其中,所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体包括:通过所述第一通讯线路发送所述第一诊断功能指令至所述待诊断车辆;通过所述第二通讯线路发送所述第二诊断功能指令至所述待诊断车辆。在一些具体的应用场景中,如待诊断车辆为D车型时,针对该待诊断车辆的读数据流的诊断功能指令对应的通信协议为CAN通信协议,车辆安全校验的诊断功能指令对应的通信协议为DoIP通信协议,那么此时确定读数据流的诊断功能指令对应的通讯线路为第二通讯线路,确定车辆安全校验的诊断功能指令对应的通讯线路为第一通讯线路。然后通过第一通讯线路发送车辆安全校验指令至待诊断车辆,通过第二通讯线路发送读数据流指令至待诊断车辆。通过两个支持不同通信协议的通讯线路发送不同的诊断功能指令至待诊断车辆,以提高车辆诊断的效率。
在一些实施例中,当所述诊断功能指令为2个,且所述诊断功能指令均支持CAN通信协议和DoIP通信协议时,所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路,具体包括:将需要服务器在线资源支持的诊断功能指令确定为第三诊断功能指令,将不需要服务器在线资源支持的诊断功能指令确定为第四诊断功能指令;确定所述第一通讯线路为所述第三诊断功能指令对应的通讯线路,所述第二通讯线路为所述第四诊断功能指令对应的通讯线路。其中,所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体包括:通过所述第一通讯线路发送所述第三诊断功能指令至所述待诊断车辆;通过所述第二通讯线路发送所述第四诊断功能指令至所述待诊断车辆。在一些具体的应用场景中,当待诊断车辆为E车型,且该E车型的待诊断车辆的诊断功能指令如读故障码、清故障码、读数据流、动作测试、在线编程、车辆安全校验等既支持DoIP通信协议,也支持CAN通信协议时,此时将需要服务器在线资源支持的诊断功能指令如在线编程,车辆安全校验等的通讯线路优先确定为第一通讯线路,将不需要服务器在线资源支持的诊断功能指令如读故障码、清故障码、读数据流、动作测试等的通讯线路确定为第二通讯线路。也就是说,如果2个诊断功能指令同时包括了一个需要服务器在线资源支持的诊断功能指令和另一个不需要服务器在线资源支持的诊断功能指令,则将需要服务器在线资源支持的诊断功能指令的通讯线路确定为第一通讯线路,将不需要服务器在线资源支持的诊断功能指令的通讯线路确定为第二通讯线路。当然,在一些其他的应用场景中,若2个诊断功能指令全部仅支持DoIP通信协议,则按顺序选择诊断功能指令通过第一通讯线路发送至待诊断车辆;若2个诊断功能指令全部仅支持CAN通信协议,则按顺序选择诊断功能指令通过第二通讯线路发送至待诊断车辆。通过将需要服务器在线资源支持的诊断功能指令和不需要服务器在线资源支持的诊断功能指令以不同的通讯线路进行发送,有效提高车辆诊断效率。
需要说明的是,在本申请的实施例中,所述第五通信端口和所述第七通信端口之间设置有网卡,所述网卡通过所述第五通信端口和所述第一通信端口与所述诊断设备的系统总线连接,通过所述第七通信端口与所述待诊断车辆的OBD接口连接,形成所述第一通讯线路。
应理解,要形成所述第一通讯线路,首先需要驱动所述网卡生效,并使所述网卡的IP地址和待诊断车辆的IP地址处于同一网段。
因此,在所述通过所述第一通讯线路发送诊断功能指令至所述待诊断车辆之前,所述方法还包括:监控到所述网卡驱动生效后,启动DHCP服务或者AUTO-IP服务;通过所述DHCP服务或者所述AUTO-IP服务分配网卡的IP地址和待诊断车辆的IP地址;其中,所述网卡的IP地址与所述待诊断车辆的IP地址处于同一网段。
具体地,所述监控到所述网卡驱动生效后,启动DHCP服务或者AUTO-IP服务,包括:调用所述诊断设备内置的DoIP网络控制服务功能监控所述网卡的状态;在监控到所述网卡驱动生效后,向所述DoIP网络控制服务功能发送开启DHCP服务或者AUTO-IP服务的广播;调用所述DoIP网络控制服务功能启动所述DHCP服务或者所述AUTO-IP服务。
具体地,在所述网卡驱动生效后,在所述诊断设备上生成网卡注册成功信息,诊断设备通过所述DoIP网络控制服务功能检测到所述网卡注册成功信息后,为所述网卡分配一个默认的网址,并建立路由表;进一步诊断设备向所述DoIP网络控制服务功能发送开启DHCP服务的广播。
应理解,DHCP服务启动本身就需要一个IP地址,且在所述诊断连接器连接后,车辆DoIP节点会向所述DHCP服务申请IP地址,通常会尝试连接3次,如果连接成功,则诊断设备使用所述DHCP服务分配车辆DoIP节点的IP地址,以使所述网卡与所述车辆DoIP节点在同一个网段。如果车辆DoIP节点通过向所述DHCP服务申请IP地址失败,则车辆DoIP节点就会根据AUTO-IP协议给自己分配一个IP地址,此时诊断设备跟车辆DoIP节点不在一个网段,诊断设备与待诊断车辆通过DoIP通讯协议进行数据通讯失败,并在失败后,诊断设备关闭DHCP服务,并启动AUTO-IP服务,同样依据AUTO-IP协议给所述网卡分配一个IP地址,以使所述网卡跟车辆DoIP节点在同一个网段。
应理解,由于诊断设备上同时设置了两个网络设备,分别为无线网卡和外接在诊断连接器上的网卡,因此,必须为外接在诊断连接器上的网卡配置路由表,才可以使DoIP协议数据通过该网卡进行传输。
应理解,在调用所述DoIP网络控制服务功能启动所述DHCP服务或者所述AUTO-IP服务之后,还可以在诊断设备的可视化区域显示DoIP诊断功能。
应理解,若所述网卡驱动失效,则不需要启动DHCP服务或者AUTO-IP服务。对应地,在一实施例中,监控到所述网卡驱动失效后,向DoIP网络控制服务功能发送关闭DHCP服务或者AUTO-IP服务的广播;调用所述DoIP网络控制服务功能关闭所述DHCP服务或者所述AUTO-IP服务。
需要说明的是,本发明采用android广播机制实现对android系统内置DoIP网络控制服务功能调用。但不限于此种方式,也可以通过基础的binder机制对android系统内置DoIP网络控制服务功能调用。
S305,通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,并从所述待诊断车辆获取反馈数据进行诊断。
应理解,所述诊断功能指令为1个时,对应的通讯线路可以是第一通讯线路或者第二通讯线路,通过对应的第一通讯线路或者第二通讯线路发送所述诊断功能指令至待诊断车辆;所述诊断功能指令为2时,对应的通讯线路包括第一通讯线路和第二通讯线路。例如,假设第一诊断功能指令对应的诊断功能为读取故障码,对应的通讯线路为第一通讯线路,所述第一通讯线路支持CAN通信协议;第二诊断功能指令对应的诊断供能为在线编程,对应的通讯线路为第二通讯线路,所述第二通讯线路支持DoIP通信协议。对应地,分别通过第一通讯线路发送第一诊断功能指令,通过第二通讯线路发送第二诊断功能指令,以实现同时完成读取故障码和在线编程。提高车辆诊断的效率。
通过上述分析可知,本申请实施例提供的车辆诊断方法,通过获取包括待诊断车辆的车辆信息的诊断请求,根据所述车辆信息确定所述待诊断车辆支持的通信协议;并获取包括诊断功能指令和对应的通信协议的诊断指令,并根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路,进而通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,并从所述待诊断车辆获取反馈数据进行诊断。解决了车辆诊断过程中的局限性,有效提高车辆诊断的适应能力。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
基于上述实施例所提供的车辆诊断方法,本发明实施例进一步给出实现上述方法实施例的装置实施例。
如图4所示,图4是本申请实施例提供的车辆诊断装置的示意图。包括的各模块用于执行图3对应的实施例中的各步骤。具体请参阅图3对应的实施例中的相关描述。为了便于说明,仅示出了与本实施例相关的部分。需要说明的是,所述车辆诊断装置400包括第一通信端口和第二通信端口(图4中未示出),所述车辆诊断装置400与诊断连接器通过所述第一通信端口和诊断连接器的第五通信端口建立通信连接,所述车辆诊断装置400与诊断接头通过所述第二通信端口和诊断接头的第四通信端口建立通信连接;所述诊断连接器与所述诊断接头通过诊断连接器的第六通信端口和诊断接头的第三通信端口建立通信连接,所述诊断连接器与待诊断车辆通过诊断连接器的第七通信端口和所述待诊断车辆的OBD接口建立通信连接;所述第一通信端口、所述第五通信端口和所述第七通信端口之间形成第一通讯线路;所述第二通信端口、所述第四通信端口、所述第三通信端口、所述第六通信端口和所述第七通信端口之间形成第二通讯线路;由图4可知,车辆诊断装置400包括:
第一获取模块401,用于获取诊断请求,所述诊断请求包括所述待诊断车辆的车辆信息;
第一确定模块402,用于根据所述车辆信息确定所述待诊断车辆支持的通信协议;
第二获取模块403,用于获取诊断指令,所述诊断指令包括诊断功能指令和对应的通信协议;
第二确定模块404,用于根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路;
第一发送模块405,用于通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,并从所述待诊断车辆获取反馈数据进行诊断。
在一实施例中,所述待诊断车辆支持的通信协议包括CAN通信协议和/或DoIP通信协议,所述诊断功能指令为1个;
所述第二确定模块404,包括:
第一确定单元,用于当所述诊断功能指令对应的通信协议为DoIP通信协议时,确定所述诊断功能指令对应的通讯线路为第一通讯线路;此时,所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体为:通过所述第一通讯线路发送所述诊断功能指令至所述待诊断车辆;
第二确定单元,用于当所述诊断功能指令对应的通信协议为CAN通信协议时,确定所述诊断功能指令对应的通讯线路为第二通讯线路;此时,所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体为:通过第二通讯线路发送所述诊断功能指令至所述待诊断车辆;
当所述诊断功能指令同时支持CAN通信协议和DoIP通信协议时,若所述诊断功能指令需要服务器在线资源支持,则确定所述诊断功能指令对应的通讯线路为第一通讯线路;若所述诊断功能指令不需要服务器在线资源支持,则确定所述诊断功能指令对应的通讯线路为第二通讯线路;此时,所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体为:通过选定的通讯线路发送所述诊断功能指令至所述待诊断车辆。
在一实施例中,所述待诊断车辆支持的通信协议包括CAN通信协议和/或DoIP通信协议,所述诊断功能指令为2个,其中第一诊断功能指令对应的通信协议为DoIP通信协议;第二诊断功能指令对应的通信协议为CAN通信协议;
所述第二确定模块404,具体用于:
确定所述第一通讯线路为第一诊断功能指令对应的通讯线路,所述第二通讯线路为第二诊断功能指令对应的通讯线路;
对应地,所述第一发送模块405,具体用于:
通过所述第一通讯线路发送所述第一诊断功能指令至所述待诊断车辆;通过所述第二通讯线路发送所述第二诊断功能指令至所述待诊断车辆。
在一实施例中,当所述诊断功能指令为2个,且所述诊断功能指令均支持CAN通信协议和DoIP通信协议;
所述第二确定模块404,具体用于:将需要服务器在线资源支持的诊断功能指令确定为第三诊断功能指令,将不需要服务器在线资源支持的诊断功能指令确定为第四诊断功能指令;确定所述第一通讯线路为所述第三诊断功能指令对应的通讯线路,所述第二通讯线路为所述第四诊断功能指令对应的通讯线路。
对应地,所述第一发送模块405,具体用于:
通过所述第一通讯线路发送所述第三诊断功能指令至所述待诊断车辆;通过所述第二通讯线路发送所述第四诊断功能指令至所述待诊断车辆。
在一实施例中,所述第五通信端口和所述第七通信端口之间设置有网卡,所述网卡通过所述第五通信端口和所述第一通信端口与所述诊断设备的系统总线连接,通过所述第七通信端口与所述待诊断车辆的OBD接口连接,形成所述第一通讯线路;
所述车辆诊断装置400,还包括:
启动模块,用于监控到所述网卡驱动生效后,启动DHCP服务或者AUTO-IP服务;
分配模块,用于通过所述DHCP服务或者所述AUTO-IP服务分配网卡的IP地址和待诊断车辆的IP地址;其中,所述网卡的IP地址与所述待诊断车辆的IP地址处于同一网段。
在一实施例中,所述启动模块,包括:
第一调用单元,用于调用所述诊断设备内置的DoIP网络控制服务功能监控所述网卡的状态;
发送单元,用于在监控到所述网卡驱动生效后,向所述DoIP网络控制服务功能发送开启DHCP服务或者AUTO-IP服务的广播;
第二调用单元,用于调用所述DoIP网络控制服务功能启动所述DHCP服务或者所述AUTO-IP服务。
在一实施例中,所述车辆诊断装置400,还包括:
显示模块,用于在可视化区域显示DoIP诊断功能。
在一实施例中,所述车辆诊断装置400,还包括:
第二发送模块,用于监控到所述网卡驱动失效后,向DoIP网络控制服务功能发送关闭DHCP服务或者AUTO-IP服务的广播;
调用模块,用于调用所述DoIP网络控制服务功能关闭所述DHCP服务或者所述AUTO-IP服务。
需要说明的是,上述模块之间的信息交互、执行过程等内容,由于与本申请图3所示方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。
图5是本申请实施例提供的诊断设备的示意图。如图5所示,该实施例的诊断设备101包括:处理器500、存储器501以及存储在所述存储器501中并可在所述处理器500上运行的计算机程序502,例如车辆诊断程序。处理器500执行所述计算机程序502时实现如下步骤:
获取诊断请求,所述诊断请求包括所述待诊断车辆的车辆信息;
根据所述车辆信息确定所述待诊断车辆支持的通信协议;
获取诊断指令,所述诊断指令包括诊断功能指令和对应的通信协议;
根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路;
通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,并从所述待诊断车辆获取反馈数据进行诊断。
可选地,所述待诊断车辆支持的通信协议包括CAN通信协议和/或DoIP通信协议,所述诊断功能指令为1个;
所述处理器在执行根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路时,具体实现:
当所述诊断功能指令对应的通信协议为DoIP通信协议时,确定所述诊断功能指令对应的通讯线路为第一通讯线路;此时,所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体为:通过所述第一通讯线路发送所述诊断功能指令至所述待诊断车辆;
当所述诊断功能指令对应的通信协议为CAN通信协议时,确定所述诊断功能指令对应的通讯线路为第二通讯线路;此时,所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体为:通过第二通讯线路发送所述诊断功能指令至所述待诊断车辆;
当所述诊断功能指令同时支持CAN通信协议和DoIP通信协议时,若所述诊断功能指令需要服务器在线资源支持,则确定所述诊断功能指令对应的通讯线路为第一通讯线路;若所述诊断功能指令不需要服务器在线资源支持,则确定所述诊断功能指令对应的通讯线路为第二通讯线路;此时,所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体为:通过选定的通讯线路发送所述诊断功能指令至所述待诊断车辆。
可选地,所述待诊断车辆支持的通信协议包括CAN通信协议和/或DoIP通信协议,所述诊断功能指令为2个,其中第一诊断功能指令对应的通信协议为DoIP通信协议;第二诊断功能指令对应的通信协议为CAN通信协议;
所述处理器在执行根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路时,具体实现:
确定所述第一通讯线路为第一诊断功能指令对应的通讯线路,所述第二通讯线路为第二诊断功能指令对应的通讯线路;
所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体包括:
通过所述第一通讯线路发送所述第一诊断功能指令至所述待诊断车辆;通过所述第二通讯线路发送所述第二诊断功能指令至所述待诊断车辆。
可选地,所述待诊断车辆支持的通信协议包括CAN通信协议和/或DoIP通信协议,所述诊断功能指令为2个,且所述诊断功能指令均支持CAN通信协议和DoIP通信协议;
所述处理器在执行根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路时,具体实现:
将需要服务器在线资源支持的诊断功能指令确定为第三诊断功能指令,将不需要服务器在线资源支持的诊断功能指令确定为第四诊断功能指令;
确定所述第一通讯线路为所述第三诊断功能指令对应的通讯线路,所述第二通讯线路为所述第四诊断功能指令对应的通讯线路;
所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体包括:
通过所述第一通讯线路发送所述第三诊断功能指令至所述待诊断车辆;通过所述第二通讯线路发送所述第四诊断功能指令至所述待诊断车辆。
可选地,所述第五通信端口和所述第七通信端口之间设置有网卡,所述网卡通过所述第五通信端口和所述第一通信端口与所述诊断设备的系统总线连接,通过所述第七通信端口与所述待诊断车辆的OBD接口连接,形成所述第一通讯线路;
在所述处理器执行通过所述第一通讯线路发送诊断功能指令至所述待诊断车辆的步骤之前,所述处理器还执行如下步骤:
监控到所述网卡驱动生效后,启动DHCP服务或者AUTO-IP服务;
通过所述DHCP服务或者所述AUTO-IP服务分配网卡的IP地址和待诊断车辆的IP地址;其中,所述网卡的IP地址与所述待诊断车辆的IP地址处于同一网段。
可选地,所述处理器在执行监控到所述网卡驱动生效后,启动DHCP服务或者AUTO-IP服务时,实现:
调用所述诊断设备内置的DoIP网络控制服务功能监控所述网卡的状态;
在监控到所述网卡驱动生效后,向所述DoIP网络控制服务功能发送开启DHCP服务或者AUTO-IP服务的广播;
调用所述DoIP网络控制服务功能启动所述DHCP服务或者所述AUTO-IP服务。
可选地,所述处理器在执行调用所述DoIP网络控制服务功能启动所述DHCP服务或者所述AUTO-IP服务之后,还执行如下步骤:
在可视化区域显示DoIP诊断功能。
可选地,所述处理器在执行所述通过所述第一通讯线路发送诊断功能指令至所述待诊断车辆之前,还执行如下步骤:
监控到所述网卡驱动失效后,向DoIP网络控制服务功能发送关闭DHCP服务或者AUTO-IP服务的广播;
调用所述DoIP网络控制服务功能关闭所述DHCP服务或者所述AUTO-IP服务。
或者,所述处理器500执行所述计算机程序502时实现上述图4实施例中各模块/单元的功能。
示例性的,所述计算机程序502可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器501中,并由处理器500执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序502在所述诊断设备101中的执行过程。例如,所述计算机程序502可以被分割成第一发送模块,该模块具体功能请参阅图4对应地实施例中地相关描述,此处不赘述。
所述诊断设备101可包括,但不仅限于,处理器500、存储器501。本领域技术人员可以理解,图5仅仅是诊断设备101的示例,并不构成对诊断设备101的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述诊断设备101还可以包括输入输出设备、网络接入设备、总线等。
所称处理器500可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
所述存储器501可以是所述诊断设备101的内部存储单元,例如诊断设备101的硬盘或内存。所述存储器501也可以是所述诊断设备101的外部存储设备,例如所述诊断设备101上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器501还可以既包括所述诊断设备101的内部存储单元也包括外部存储设备。所述存储器501用于存储所述计算机程序502以及所述诊断设备101所支持的其他程序和数据。所述存储器501还可以用于暂时地存储已经输出或者将要输出的数据。
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,当所述计算机程序产品在软件管理设备上运行时,使得所述软件管理设备执行上述车辆诊断方法的步骤。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的 范围。
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。

Claims (19)

  1. 一种车辆诊断方法,其特征在于,应用于车辆诊断系统,所述车辆诊断系统包括诊断设备、诊断接头和诊断连接器;其中所述诊断设备包括第一通信端口和第二通信端口,所述诊断接头包括第三通信端口和第四通信端口;所述诊断连接器包括第五通信端口、第六通信端口和第七通信端口;所述诊断连接器与所述诊断设备通过所述第五通信端口和所述第一通信端口建立通信连接;所述诊断连接器与所述诊断接头通过所述第六通信端口和所述第三通信端口建立通信连接;所述诊断连接器与待诊断车辆通过所述第七通信端口和所述待诊断车辆的OBD接口建立通信连接;所述诊断接头与所述诊断设备通过所述第四通信端口和所述第二通信端口建立通信连接;所述第一通信端口、所述第五通信端口和所述第七通信端口之间形成第一通讯线路;所述第二通信端口、所述第四通信端口、所述第三通信端口、所述第六通信端口和所述第七通信端口之间形成第二通讯线路;所述方法包括:
    所述诊断设备获取诊断请求,所述诊断请求包括所述待诊断车辆的车辆信息;
    所述诊断设备根据所述车辆信息确定待诊断车辆支持的通信协议;
    所述诊断设备获取诊断指令,所述诊断指令包括诊断功能指令和对应的通信协议;
    所述诊断设备根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路;
    所述诊断设备通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,并从所述待诊断车辆获取反馈数据并进行诊断。
  2. 一种车辆诊断方法,其特征在于,应用于诊断设备,所述诊断设备包括第一通信端口和第二通信端口,所述诊断设备与诊断连接器通过所述第一通信端口和诊断连接器的第五通信端口建立通信连接,所述诊断设备与诊断接头通过所述第二通信端口和诊断接头的第四通信端口建立通信连接;所述诊断连接器与所述诊断接头通过诊断连接器的第六通信端口和诊断接头的第三通信端口建立通信连接,所述诊断连接器与待诊断车辆通过诊断连接器的第七通信端口和所述待诊断车辆的OBD接口建立通信连接;所述第一通信端口、所述第五通信端口和所述第七通信端口之间形成第一通讯线路;所述第二通信端口、所述第四通信端口、所述第三通信端口、所述第六通信端口和所述第七通信端口之间形成第二通讯线路;所述方法包括:
    获取诊断请求,所述诊断请求包括所述待诊断车辆的车辆信息;
    根据所述车辆信息确定所述待诊断车辆支持的通信协议;
    获取诊断指令,所述诊断指令包括诊断功能指令和对应的通信协议;
    根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路;
    通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,并从所述待诊断车辆获取反馈数据进行诊断。
  3. 根据权利要求2所述的方法,其特征在于,所述待诊断车辆支持的通信协议包括CAN通信协议和/或DoIP通信协议,所述诊断功能指令为1个;
    所述根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路,具体包括:
    当所述诊断功能指令对应的通信协议为DoIP通信协议时,确定所述诊断功能指令对应的通讯线路为第一通讯线路;此时,所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体为:通过所述第一通讯线路发送所述诊断功能指令至所述待诊断车辆;
    当所述诊断功能指令对应的通信协议为CAN通信协议时,确定所述诊断功能指令对应的通讯线路为第二通讯线路;此时,所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体为:通过第二通讯线路发送所述诊断功能指令至所述待诊断车辆;
    当所述诊断功能指令同时支持CAN通信协议和DoIP通信协议时,若所述诊断功能指令需要服务器在线资源支持,则确定所述诊断功能指令对应的通讯线路为第一通讯线路;若所述诊断功能指令不需要服务器在线资源支持,则确定所述诊断功能指令对应的通讯线路为第二通讯线路;此时,所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体为:通过选定的通讯线路发送所述诊断功能指令至所述待诊断车辆。
  4. 根据权利要求2所述的方法,其特征在于,所述待诊断车辆支持的通信协议包括CAN通信协议和/或DoIP通信协议,所述诊断功能指令为2个,其中第一诊断功能指令对应的通信协议为DoIP通信协议;第二诊断功能指令对应的通信协议为CAN通信协议;
    所述根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路,具体包括:
    确定所述第一通讯线路为第一诊断功能指令对应的通讯线路,所述第二通讯线路为第二诊断功能指令对应的通讯线路;
    所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体包括:
    通过所述第一通讯线路发送所述第一诊断功能指令至所述待诊断车辆;通过所述第二通讯线路发送所述第二诊断功能指令至所述待诊断车辆。
  5. 根据权利要求2所述的方法,其特征在于,所述待诊断车辆支持的通信协议包括CAN通信协议和/或DoIP通信协议,所述诊断功能指令为2个,且所述诊断功能指令均支持CAN通信协议和DoIP通信协议;
    所述根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路,具体包括:
    将需要服务器在线资源支持的诊断功能指令确定为第三诊断功能指令,将不需要服务器在线资源支持的诊断功能指令确定为第四诊断功能指令;
    确定所述第一通讯线路为所述第三诊断功能指令对应的通讯线路,所述第二通讯线路为所述第四诊断功能指令对应的通讯线路;
    所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体包括:
    通过所述第一通讯线路发送所述第三诊断功能指令至所述待诊断车辆;通过所述第二通讯线路发送所述第四诊断功能指令至所述待诊断车辆。
  6. 根据权利要求3至5任一项所述的方法,其特征在于,所述第五通信端口和所述第七通信端口之间设置有网卡,所述网卡通过所述第五通信端口和所述第一通信端口与所述诊断设备的系统总线连接,通过所述第七通信端口与所述待诊断车辆的OBD接口连接,形成所述第一通讯线路;
    在所述通过所述第一通讯线路发送诊断功能指令至所述待诊断车辆之前,所述方法还包括:
    监控到所述网卡驱动生效后,启动DHCP服务或者AUTO-IP服务;
    通过所述DHCP服务或者所述AUTO-IP服务分配网卡的IP地址和待诊断车辆的IP地址;其中,所述网卡的IP地址与所述待诊断车辆的IP地址处于同一网段。
  7. 根据权利要求6所述的方法,其特征在于,所述监控到所述网卡驱动生效后,启动DHCP服务或者AUTO-IP服务,包括:
    调用所述诊断设备内置的DoIP网络控制服务功能监控所述网卡的状态;
    在监控到所述网卡驱动生效后,向所述DoIP网络控制服务功能发送开启DHCP服务或者AUTO-IP服务的广播;
    调用所述DoIP网络控制服务功能启动所述DHCP服务或者所述AUTO-IP服务。
  8. 根据权利要求7所述的方法,其特征在于,在调用所述DoIP网络控制服务功能启动所述DHCP服务或者所述AUTO-IP服务之后,还包括:
    在可视化区域显示DoIP诊断功能。
  9. 根据权利要求6所述的方法,其特征在于,在所述通过所述第一通讯线路发送诊断功能指令至所述待诊断车辆之前,所述方法还包括:
    监控到所述网卡驱动失效后,向DoIP网络控制服务功能发送关闭DHCP服务或者AUTO-IP服务的广播;
    调用所述DoIP网络控制服务功能关闭所述DHCP服务或者所述AUTO-IP服务。
  10. 一种诊断连接器,其特征在于,应用于车辆诊断系统,所述车辆诊断系统包括诊断设备、诊断接头和所述诊断连接器,其中,所述诊断设备包括第一通信端口和第二通信端口,所述诊断接头包括第三通信端口和第四通信端口;所述诊断连接器包括第五通信端口、第六通信端口和第七通信端口;所述诊断连接器与所述诊断设备通过所述第五通信端口和所述第一通信端口建立通信连接;所述诊断连接器与所述诊断接头通过所述第六通信端口和所述第三通信端口建立通信连接;所述诊断连接器与待诊断车辆通过所述第七通信端口和所述待诊断车辆的OBD接口建立通信连接;所述诊断接头与所述诊断设备通过所述第四通信端口和所述第二通信端口建立通信连接;所述第一通信端口、所述第五通信端口和所述第七通信端口之间形成第一通讯线路;所述第二通信端口、所述第四通信端口、所述第三通信端口、所述第六通信端口和所述第七通信端口之间形成第二通讯线路;
    当诊断功能指令对应的通信协议为DoIP通讯协议时,通过所述第一通讯线路发送所述诊断功能指令至所述待诊断车辆;
    当诊断功能指令对应的通信协议为CAN通讯协议时,通过所述第二通讯线路发送所述诊断功能指令至所述待诊断车辆;
    其中,所述诊断功能指令由所述诊断设备获取,用于对所述待诊断车辆进行诊断。
  11. 根据权利要求10所述的诊断连接器,其特征在于,所述第五通信端口和所述第七通信端口之间设置有网卡,所述网卡通过所述第五通信端口和所述第一通信端口与所述诊断设备的系统总线连接,通过所述第七通信端口与所述待诊断车辆的OBD接口连接,形成所述第一通讯线路。
  12. 一种诊断设备,其特征在于,所述诊断设备包括第一通信端口和第二通信端口,所述诊断设备与诊断连接器通过所述第一通信端口和诊断连接器的第五通信端口建立通信连接,所述诊断设备与诊断接头通过所述第二通信端口和诊断接头的第四通信端口建立通信连接;所述诊断连接器与所述诊断接头通过诊断连接器的第六通信端口和诊断接头的第三通信端口建立通信连接,所述诊断连接器与待诊断车辆通过诊断连接器的第七通信端口和所述待诊断车辆的OBD接口建立通信连接;所述第一通信端口、所述第五通信端口和所述第七通 信端口之间形成第一通讯线路;所述第二通信端口、所述第四通信端口、所述第三通信端口、所述第六通信端口和所述第七通信端口之间形成第二通讯线路;
    所述诊断设备还包括:
    存储器,用于存储车辆诊断程序;
    处理器,用于执行所述车辆诊断程序时执行如下步骤:
    获取诊断请求,所述诊断请求包括所述待诊断车辆的车辆信息;
    根据所述车辆信息确定所述待诊断车辆支持的通信协议;
    获取诊断指令,所述诊断指令包括诊断功能指令和对应的通信协议;
    根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路;
    通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,并从所述待诊断车辆获取反馈数据进行诊断。
  13. 根据权利要求12所述的诊断设备,其特征在于,所述待诊断车辆支持的通信协议包括CAN通信协议和/或DoIP通信协议,所述诊断功能指令为1个;
    所述处理器在执行根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路时,具体实现:
    当所述诊断功能指令对应的通信协议为DoIP通信协议时,确定所述诊断功能指令对应的通讯线路为第一通讯线路;此时,所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体为:通过所述第一通讯线路发送所述诊断功能指令至所述待诊断车辆;
    当所述诊断功能指令对应的通信协议为CAN通信协议时,确定所述诊断功能指令对应的通讯线路为第二通讯线路;此时,所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体为:通过第二通讯线路发送所述诊断功能指令至所述待诊断车辆;
    当所述诊断功能指令同时支持CAN通信协议和DoIP通信协议时,若所述诊断功能指令需要服务器在线资源支持,则确定所述诊断功能指令对应的通讯线路为第一通讯线路;若所述诊断功能指令不需要服务器在线资源支持,则确定所述诊断功能指令对应的通讯线路为第二通讯线路;此时,所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体为:通过选定的通讯线路发送所述诊断功能指令至所述待诊断车辆。
  14. 根据权利要求12所述的诊断设备,其特征在于,所述待诊断车辆支持的通信协议包括CAN通信协议和/或DoIP通信协议,所述诊断功能指令为2个,其中第一诊断功能指令对应的通信协议为DoIP通信协议;第二诊断功能指令对应的通信协议为CAN通信协议;
    所述处理器在执行根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路时,具体实现:
    确定所述第一通讯线路为第一诊断功能指令对应的通讯线路,所述第二通讯线路为第二诊断功能指令对应的通讯线路;
    所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体包括:
    通过所述第一通讯线路发送所述第一诊断功能指令至所述待诊断车辆;通过所述第二通讯线路发送所述第二诊断功能指令至所述待诊断车辆。
  15. 根据权利要求12所述的方法,其特征在于,所述待诊断车辆支持的通信协议包括CAN通信协议和/或DoIP通信协议,所述诊断功能指令为2个,且所述诊断功能指令均支持CAN通信协议和DoIP通信协议;
    所述处理器在执行根据所述诊断功能指令对应的通信协议确定所述诊断功能指令对应的通讯线路时,具体实现:
    将需要服务器在线资源支持的诊断功能指令确定为第三诊断功能指令,将不需要服务器在线资源支持的诊断功能指令确定为第四诊断功能指令;
    确定所述第一通讯线路为所述第三诊断功能指令对应的通讯线路,所述第二通讯线路为所述第四诊断功能指令对应的通讯线路;
    所述通过所述诊断功能指令对应的通讯线路发送所述诊断功能指令至所述待诊断车辆,具体包括:
    通过所述第一通讯线路发送所述第三诊断功能指令至所述待诊断车辆;通过所述第二通讯线路发送所述第四诊断功能指令至所述待诊断车辆。
  16. 根据权利要求13至15任一项所述的诊断设备,其特征在于,所述第五通信端口和所述第七通信端口之间设置有网卡,所述网卡通过所述第五通信端口和所述第一通信端口与所述诊断设备的系统总线连接,通过所述第七通信端口与所述待诊断车辆的OBD接口连接,形成所述第一通讯线路;
    在所述处理器执行通过所述第一通讯线路发送诊断功能指令至所述待诊断车辆的步骤之前,所述处理器还执行如下步骤:
    监控到所述网卡驱动生效后,启动DHCP服务或者AUTO-IP服务;
    通过所述DHCP服务或者所述AUTO-IP服务分配网卡的IP地址和待诊断车辆的IP地址;其中,所述网卡的IP地址与所述待诊断车辆的IP地址处于同一网段。
  17. 根据权利要求16所述的诊断设备,其特征在于,所述处理器在执行监控到所述网卡 驱动生效后,启动DHCP服务或者AUTO-IP服务时,实现:
    调用所述诊断设备内置的DoIP网络控制服务功能监控所述网卡的状态;
    在监控到所述网卡驱动生效后,向所述DoIP网络控制服务功能发送开启DHCP服务或者AUTO-IP服务的广播;
    调用所述DoIP网络控制服务功能启动所述DHCP服务或者所述AUTO-IP服务。
  18. 根据权利要求17所述的诊断设备,其特征在于,所述处理器在执行调用所述DoIP网络控制服务功能启动所述DHCP服务或者所述AUTO-IP服务之后,还执行如下步骤:
    在可视化区域显示DoIP诊断功能。
  19. 根据权利要求16所述的诊断设备,其特征在于,所述处理器在执行所述通过所述第一通讯线路发送诊断功能指令至所述待诊断车辆之前,还执行如下步骤:
    监控到所述网卡驱动失效后,向DoIP网络控制服务功能发送关闭DHCP服务或者AUTO-IP服务的广播;
    调用所述DoIP网络控制服务功能关闭所述DHCP服务或者所述AUTO-IP服务。
PCT/CN2021/143352 2021-12-30 2021-12-30 车辆诊断方法、诊断连接器以及诊断设备 WO2023123278A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202180004399.9A CN114503041B (zh) 2021-12-30 2021-12-30 车辆诊断方法、诊断连接器及诊断设备
PCT/CN2021/143352 WO2023123278A1 (zh) 2021-12-30 2021-12-30 车辆诊断方法、诊断连接器以及诊断设备
US17/730,547 US20230215226A1 (en) 2021-12-30 2022-04-27 Method for vehicle diagnostics, diagnostic connector, and diagnostic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/143352 WO2023123278A1 (zh) 2021-12-30 2021-12-30 车辆诊断方法、诊断连接器以及诊断设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/730,547 Continuation US20230215226A1 (en) 2021-12-30 2022-04-27 Method for vehicle diagnostics, diagnostic connector, and diagnostic device

Publications (1)

Publication Number Publication Date
WO2023123278A1 true WO2023123278A1 (zh) 2023-07-06

Family

ID=81509593

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/143352 WO2023123278A1 (zh) 2021-12-30 2021-12-30 车辆诊断方法、诊断连接器以及诊断设备

Country Status (3)

Country Link
US (1) US20230215226A1 (zh)
CN (1) CN114503041B (zh)
WO (1) WO2023123278A1 (zh)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040083041A1 (en) * 2002-10-25 2004-04-29 Davis Instruments, A California Corporation Module for monitoring vehicle operation through onboard diagnostic port
US20050182535A1 (en) * 2004-02-17 2005-08-18 David Huang Device and method for identifying a specific communication protocol used in an on-board diagnostic tool
US20120044527A1 (en) * 2010-08-18 2012-02-23 Snap-On Incorporated Apparatus and Method for Controlled Ethernet Switching
EP2755010A1 (de) * 2013-01-09 2014-07-16 MAHA Maschinenbau Haldenwang GmbH & Co. KG Diagnosevorrichtung und Prüfverfahren zur Leistungs-, Bremsen-, Abgas- oder Funktionsprüfung eines Kraftfahrzeugs mittels eines Kraftfahrzeugprüfstands
CN105745939A (zh) * 2013-11-21 2016-07-06 标致·雪铁龙汽车公司 用于机动车辆诊断的虚拟通讯界面
CN106463860A (zh) * 2014-03-13 2017-02-22 德克萨股份公司 车辆诊断接口模块
CN108199942A (zh) * 2018-01-08 2018-06-22 深圳市道通科技股份有限公司 汽车诊断方法、装置、设备、系统和诊断连接设备
US20190188925A1 (en) * 2017-12-19 2019-06-20 Centurylink Intellectual Property Llc Low-Power Wireless for Vehicle Diagnostics and Reporting
US20200203906A1 (en) * 2017-05-08 2020-06-25 Webasto SE Obd adapter

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101430557B (zh) * 2008-12-05 2012-08-08 中国汽车技术研究中心 用于汽车故障诊断的多协议数据转换器及诊断处理方法
CN109669442B (zh) * 2018-12-25 2022-02-22 深圳市元征科技股份有限公司 一种协议转换方法及转换装置
US11146664B2 (en) * 2019-08-28 2021-10-12 Launch Tech Co., Ltd. Method for remote vehicle diagnostics and device
CN111586145B (zh) * 2020-04-30 2023-06-30 深圳市元征科技股份有限公司 一种车辆诊断方法、系统及电子设备和存储介质
CN112202884B (zh) * 2020-09-30 2023-12-08 深圳市元征科技股份有限公司 一种车辆连接接口装置数据传输方法及相关设备

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040083041A1 (en) * 2002-10-25 2004-04-29 Davis Instruments, A California Corporation Module for monitoring vehicle operation through onboard diagnostic port
US20050182535A1 (en) * 2004-02-17 2005-08-18 David Huang Device and method for identifying a specific communication protocol used in an on-board diagnostic tool
US20120044527A1 (en) * 2010-08-18 2012-02-23 Snap-On Incorporated Apparatus and Method for Controlled Ethernet Switching
EP2755010A1 (de) * 2013-01-09 2014-07-16 MAHA Maschinenbau Haldenwang GmbH & Co. KG Diagnosevorrichtung und Prüfverfahren zur Leistungs-, Bremsen-, Abgas- oder Funktionsprüfung eines Kraftfahrzeugs mittels eines Kraftfahrzeugprüfstands
CN105745939A (zh) * 2013-11-21 2016-07-06 标致·雪铁龙汽车公司 用于机动车辆诊断的虚拟通讯界面
CN106463860A (zh) * 2014-03-13 2017-02-22 德克萨股份公司 车辆诊断接口模块
US20200203906A1 (en) * 2017-05-08 2020-06-25 Webasto SE Obd adapter
US20190188925A1 (en) * 2017-12-19 2019-06-20 Centurylink Intellectual Property Llc Low-Power Wireless for Vehicle Diagnostics and Reporting
CN108199942A (zh) * 2018-01-08 2018-06-22 深圳市道通科技股份有限公司 汽车诊断方法、装置、设备、系统和诊断连接设备

Also Published As

Publication number Publication date
CN114503041B (zh) 2023-12-08
US20230215226A1 (en) 2023-07-06
CN114503041A (zh) 2022-05-13

Similar Documents

Publication Publication Date Title
US11599349B2 (en) Gateway device, in-vehicle network system, and firmware update method
US9542302B2 (en) System and method for remote debugging of an application in an image forming apparatus over a network
WO2020125591A1 (zh) 车辆的诊断方法、管理服务器和诊断服务器
WO2023284699A1 (zh) 基于Linux系统的协议栈数据传输方法、计算机设备和存储介质
EP3761605B1 (en) Vehicle diagnosis method, related device and system
CN207115097U (zh) 一种fpga异构加速卡
US20240036111A1 (en) Chip verification method and apparatus, electronic device, and storage medium
CN108803577A (zh) 一种诊断方法、上位机及下位机
JP2012530395A (ja) 車両通信インタフェース及びその作動方法
WO2020088278A1 (zh) 一种通信方法、装置及相关设备
WO2023174217A1 (zh) 车辆以太网诊断方法、装置、设备和介质
CN114089713A (zh) 一种基于uds的通信方法、ecu及上位机
US9389979B2 (en) Debug system, and related integrated circuit and method
WO2023123278A1 (zh) 车辆诊断方法、诊断连接器以及诊断设备
WO2023041036A1 (zh) 处理器诊断装置、处理器诊断方法和电子设备
CN114442590A (zh) 车辆诊断方法、设备、诊断通信装置、服务器及存储介质
CN111740972B (zh) 一种通信协议栈信息的更新方法、装置、设备及存储介质
US8626395B2 (en) Method for processing data in an influencing device
CN113608935B (zh) 一种测试网卡的方法、系统、设备及介质
CN116224976B (zh) 测试方法及装置
CN109634203A (zh) 基于数控控制器对io端进行控制的控制系统及相应的方法
CN112235173B (zh) 通信控制方法、装置、终端设备及存储介质
TWI701594B (zh) 遠端硬體診斷系統與診斷方法
JP2003023440A (ja) ゲートウェイ装置、コンピュータ、通信評価システム
JP2584903B2 (ja) 外部装置制御方式

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: 21969635

Country of ref document: EP

Kind code of ref document: A1