# US 2023/0215226 A1 · Method for vehicle diagnostics, diagnostic connector, and diagnostic device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0215226 A1
- Document ID: US20230215226A1
- Status: Published application
- Kind: A1
- Application number: 17/730,547
- Filed: 2022-04-27
- Published: 2023-07-06
- Earliest claimed: 2021-12-30
- Assignees: Launch Tech Co., Ltd.
- Applicants: Launch Tech Co., Ltd.
- Inventors: Jun LIU; Feihong XIE
- Web page: https://patentgrep.com/patent/US20230215226A1

## CPC

- G07C 5/0808: {Diagnosing performance data (testing of vehicles G01M17/00; testing of electrical installation on vehicles G01R31/005)}
- H04L 12/40: Bus networks
- G07C 5/085: {using electronic data carriers}
- H04L 12/40097: {Interconnection with other networks (LAN interconnection over a bridge based backbone H04L12/462; single bridge functionality H04L12/462)}
- G05B 23/0213: {Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols}
- H04L 2012/40215: {Controller Area Network CAN}
- H04L 2012/40273: {the transportation system being a vehicle}
- G07C: TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)

## Abstract

A method for vehicle diagnostics, a diagnostic device, and a non-transitory computer-readable storage medium are provided in the present disclosure. In the method, the diagnostic device obtains a diagnostic request including vehicle information of a vehicle to-be-diagnosed, and determine a communication protocol which is applied in the vehicle to-be-diagnosed according to the vehicle information. After obtaining a diagnostic instruction including a diagnostic function instruction and a communication protocol corresponding to the diagnostic function instruction, the diagnostic device determines a communication link corresponding to the diagnostic function instruction according to the communication protocol corresponding to the diagnostic function instruction, sends the diagnostic function instruction to the vehicle to-be-diagnosed through the communication link corresponding to the diagnostic function instruction, obtains feedback data from the vehicle to-be-diagnosed, and performs diagnostics.

## Claims

### Claim 1

A method for vehicle diagnostics, applicable to a diagnostic device, wherein the diagnostic device is comprised in a vehicle diagnostic system comprising the diagnostic device, a diagnostic interface, and a diagnostic connector, wherein the diagnostic device is configured to establish a communication connection with the diagnostic connector and establish a communication connection with the diagnostic interface, the diagnostic connector is configured to establish a communication connection with the diagnostic interface, and the diagnostic connector is configured to establish a communication connection with a vehicle to-be-diagnosed; wherein a first communication link is formed between the diagnostic device and vehicle to-be-diagnosed through the diagnostic connector, and a second communication link is formed between the diagnostic device and vehicle to-be-diagnosed through the diagnostic interface and the diagnostic connector; and the method comprises:
obtaining a diagnostic request, the diagnostic request comprising vehicle information of the vehicle to-be-diagnosed;
determining a communication protocol which is applied in the vehicle to-be-diagnosed according to the vehicle information;
obtaining a diagnostic instruction, the diagnostic instruction comprising a diagnostic function instruction and a communication protocol corresponding to the diagnostic function instruction;
determining a communication link corresponding to the diagnostic function instruction according to the communication protocol corresponding to the diagnostic function instruction; and
sending the diagnostic function instruction to the vehicle to-be-diagnosed through the communication link corresponding to the diagnostic function instruction, obtaining feedback data from the vehicle to-be-diagnosed, and performing diagnostics.

### Claim 2 (depends on 1)

The method of claim 1, wherein the communication protocol which is applied in the vehicle to-be-diagnosed comprises a controller area network (CAN) communication protocol and/or a diagnostic communication over Internet protocol (DoIP) communication protocol, and the diagnostic function instruction is implemented as one diagnostic function instruction; and
determining the communication link corresponding to the diagnostic function instruction according to the communication protocol corresponding to the diagnostic function instruction specifically comprises:
when the communication protocol corresponding to the diagnostic function instruction is the DoIP communication protocol, determining the communication link corresponding to the diagnostic function instruction to be the first communication link, and sending the diagnostic function instruction to the vehicle to-be-diagnosed through the communication link corresponding to the diagnostic function instruction specifically comprises:
sending the diagnostic function instruction to the vehicle to-be-diagnosed through the first communication link;
when the communication protocol corresponding to the diagnostic function instruction is the CAN communication protocol, determining the communication link corresponding to the diagnostic function instruction to be the second communication link, and sending the diagnostic function instruction to the vehicle to-be-diagnosed through the communication link corresponding to the diagnostic function instruction specifically comprises:
sending the diagnostic function instruction to the vehicle to-be-diagnosed through the second communication link; and
when the diagnostic function instruction supports both the CAN communication protocol and the DoIP communication protocol, determining the communication link corresponding to the diagnostic function instruction to be the first communication link if the diagnostic function instruction needs online resource support of a server, determining the communication link corresponding to the diagnostic function instruction to be the second communication link if the diagnostic function instruction needs no online resource support of the server, and sending the diagnostic function instruction to the vehicle to-be-diagnosed through the communication link corresponding to the diagnostic function instruction specifically comprises:
sending the diagnostic function instruction to the vehicle to-be-diagnosed through a determined communication link.

### Claim 3 (depends on 1)

The method of claim 1, wherein the communication protocol which is applied in the vehicle to-be-diagnosed comprises a CAN communication protocol and/or a DoIP communication protocol, and the diagnostic function instruction is implemented as two diagnostic function instructions, wherein a communication protocol corresponding to a first diagnostic function instruction is the DoIP communication protocol, and a communication protocol corresponding to a second diagnostic function instruction is the CAN communication protocol; wherein,
determining the communication link corresponding to the diagnostic function instruction according to the communication protocol corresponding to the diagnostic function instruction specifically comprises:
assigning the first communication link to a communication link corresponding to the first diagnostic function instruction, and assigning the second communication link to a communication link corresponding to the second diagnostic function instruction; and
sending the diagnostic function instruction to the vehicle to-be-diagnosed through the communication link corresponding to the diagnostic function instruction specifically comprises:
sending the first diagnostic function instruction to the vehicle to-be-diagnosed through the first communication link, and sending the second diagnostic function instruction to the vehicle to-be-diagnosed through the second communication link.

### Claim 4 (depends on 1)

The method of claim 1, wherein the communication protocol which is applied in the vehicle to-be-diagnosed comprises a CAN communication protocol and/or a DoIP communication protocol, the diagnostic function instruction is implemented as two diagnostic function instructions, and diagnostic function instructions each support the CAN communication protocol and the DoIP communication protocol;
determining the communication link corresponding to the diagnostic function instruction according to the communication protocol corresponding to the diagnostic function instruction specifically comprises:
determining a diagnostic function instruction needing online resource support of a server to be a third diagnostic function instruction, and determining a diagnostic function instruction needing no online resource support of the server to be a fourth diagnostic function instruction;
assigning the first communication link to a communication link corresponding to the third diagnostic function instruction, and assigning the second communication link to a communication link corresponding to the fourth diagnostic function instruction; and
sending the diagnostic function instruction to the vehicle to-be-diagnosed through the communication link corresponding to the diagnostic function instruction specifically comprises:
sending the third diagnostic function instruction to the vehicle to-be-diagnosed through the first communication link, and sending the fourth diagnostic function instruction to the vehicle to-be-diagnosed through the second communication link.

### Claim 5 (depends on 1)

The method of claim 1, wherein a network card is disposed between the fifth communication port and the seventh communication port, and the network card is coupled with a system bus of the diagnostic device through the fifth communication port and the first communication port and the network card is coupled with the OBD port of the vehicle to-be-diagnosed through the seventh communication port, to form the first communication link; and the method further comprises:
before sending the diagnostic function instruction to the vehicle to-be-diagnosed through the first communication link,
activating a dynamic host configuration protocol (DHCP) service or an auto Internet protocol (AUTO-IP) service, upon monitoring that the network card is driven to be effective; and
assigning an Internet protocol (IP) address of the network card and an 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 a same network segment.

### Claim 6 (depends on 5)

The method of claim 5, wherein activating the DHCP service or the AUTO-IP service, upon monitoring that the network card is driven to be effective comprises:
invoking a DoIP network-control-service function built in the diagnostic device to monitor a state of the network card;
sending a broadcast which is indicative of activating the DHCP service or the AUTO-IP service to the DoIP network-control-service function, upon monitoring that the network card is driven to be effective; and
invoking the DoIP network-control-service function to activate the DHCP service or the AUTO-IP service.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
after invoking the DoIP network-control-service function to activate the DHCP service or the AUTO-IP service,
displaying a DoIP diagnostic function in a visualization region.

### Claim 8 (depends on 5)

The method of claim 5, further comprising:
before sending the diagnostic function instruction to the vehicle to-be-diagnosed through the first communication link,
sending a broadcast which is indicative of stopping the DHCP service or the AUTO-IP service to the DoIP network-control-service function, upon monitoring driving failure of the network card; and
invoking the DoIP network-control-service function to stop the DHCP service or the AUTO-IP service.

### Claim 9

A diagnostic device, comprising:
a first communication port; and
a second communication port, wherein the diagnostic device is comprised in a vehicle diagnostic system comprising the diagnostic device, a diagnostic interface, and a diagnostic connector, wherein the diagnostic interface comprises a third communication port and a fourth communication port and the diagnostic connector comprises a fifth communication port, a sixth communication port, and a seventh communication port; wherein the diagnostic device is configured to establish a communication connection with the diagnostic connector through the first communication port and the fifth communication port of the diagnostic connector, and the diagnostic device is configured to establish a communication connection with the diagnostic interface through the second communication port and the fourth communication port of the diagnostic interface; the diagnostic connector is configured to establish a communication connection with the diagnostic interface through the sixth communication port of the diagnostic connector and the third communication port of the diagnostic interface, and the diagnostic connector is configured to establish a communication connection with a vehicle to-be-diagnosed through the seventh communication port of the diagnostic connector and an on-board diagnostic (OBD) port of the vehicle to-be-diagnosed; a first communication link is formed among the first communication port, the fifth communication port, and the seventh communication port; a second communication link is formed among the second communication port, the fourth communication port, the third communication port, the sixth communication port, and the seventh communication port; and the diagnostic device further comprises:
a memory configured to store a vehicle diagnostic program; and
a processor, when executing the vehicle diagnostic program, configured to:
obtain a diagnostic request, the diagnostic request comprising vehicle information of the vehicle to-be-diagnosed;
determine a communication protocol which is applied in the vehicle to-be-diagnosed according to the vehicle information;
obtain a diagnostic instruction, the diagnostic instruction comprising a diagnostic function instruction and a communication protocol corresponding to the diagnostic function instruction;
determine a communication link corresponding to the diagnostic function instruction according to the communication protocol corresponding to the diagnostic function instruction; and
send the diagnostic function instruction to the vehicle to-be-diagnosed through the communication link corresponding to the diagnostic function instruction, obtain feedback data from the vehicle to-be-diagnosed, and perform diagnostics.

### Claim 10 (depends on 9)

The diagnostic device of claim 9, wherein the communication protocol which is applied in the vehicle to-be-diagnosed comprises a controller area network (CAN) communication protocol and/or a diagnostic communication over Internet protocol (DoIP) communication protocol, and the diagnostic function instruction is implemented as one diagnostic function instruction; and
the processor configured to determine the communication link corresponding to the diagnostic function instruction according to the communication protocol corresponding to the diagnostic function instruction is specifically configured to:
when the communication protocol corresponding to the diagnostic function instruction is the DoIP communication protocol, determine the communication link corresponding to the diagnostic function instruction to be the first communication link, and the processor configured to send the diagnostic function instruction to the vehicle to-be-diagnosed through the communication link corresponding to the diagnostic function instruction is specifically configured to:
send the diagnostic function instruction to the vehicle to-be-diagnosed through the first communication link;
when the communication protocol corresponding to the diagnostic function instruction is the CAN communication protocol, determine the communication link corresponding to the diagnostic function instruction to be the second communication link, and the processor configured to send the diagnostic function instruction to the vehicle to-be-diagnosed through the communication link corresponding to the diagnostic function instruction is specifically configured to:
send the diagnostic function instruction to the vehicle to-be-diagnosed through the second communication link; and
when the diagnostic function instruction supports both the CAN communication protocol and the DoIP communication protocol, determine the communication link corresponding to the diagnostic function instruction to be the first communication link if the diagnostic function instruction needs online resource support of a server, determine the communication link corresponding to the diagnostic function instruction to be the second communication link if the diagnostic function instruction needs no online resource support of the server, and the processor configured to send the diagnostic function instruction to the vehicle to-be-diagnosed through the communication link corresponding to the diagnostic function instruction is specifically configured to:
send the diagnostic function instruction to the vehicle to-be-diagnosed through a determined communication link.

### Claim 11 (depends on 9)

The diagnostic device of claim 9, wherein the communication protocol which is applied in the vehicle to-be-diagnosed comprises a CAN communication protocol and/or a DoIP communication protocol, and the diagnostic function instruction is implemented as two diagnostic function instructions, wherein a communication protocol corresponding to a first diagnostic function instruction is the DoIP communication protocol, and a communication protocol corresponding to a second diagnostic function instruction is the CAN communication protocol; wherein,
the processor configured to determine the communication link corresponding to the diagnostic function instruction according to the communication protocol corresponding to the diagnostic function instruction is specifically configured to:
assign the first communication link to a communication link corresponding to the first diagnostic function instruction, and assign the second communication link to a communication link corresponding to the second diagnostic function instruction; and
the processor configured to send the diagnostic function instruction to the vehicle to-be-diagnosed through the communication link corresponding to the diagnostic function instruction is specifically configured to:
send the first diagnostic function instruction to the vehicle to-be-diagnosed through the first communication link, and send the second diagnostic function instruction to the vehicle to-be-diagnosed through the second communication link.

### Claim 12 (depends on 9)

The diagnostic device of claim 9, wherein the communication protocol which is applied in the vehicle to-be-diagnosed comprises a CAN communication protocol and/or a DoIP communication protocol, the diagnostic function instruction is implemented as two diagnostic function instructions, and diagnostic function instructions each support the CAN communication protocol and the DoIP communication protocol;
the processor configured to determine the communication link corresponding to the diagnostic function instruction according to the communication protocol corresponding to the diagnostic function instruction is specifically configured to:
determine a diagnostic function instruction needing online resource support of a server to be a third diagnostic function instruction, and determine a diagnostic function instruction needing no online resource support of the server to be a fourth diagnostic function instruction; and
assign the first communication link to a communication link corresponding to the third diagnostic function instruction, and assign the second communication link to a communication link corresponding to the fourth diagnostic function instruction; and
the processor configured to send the diagnostic function instruction to the vehicle to-be-diagnosed through the communication link corresponding to the diagnostic function instruction is specifically configured to:
send the third diagnostic function instruction to the vehicle to-be-diagnosed through the first communication link, and send the fourth diagnostic function instruction to the vehicle to-be-diagnosed through the second communication link.

### Claim 13 (depends on 9)

The diagnostic device of claim 9, wherein a network card is disposed between the fifth communication port and the seventh communication port, and the network card is coupled with a system bus of the diagnostic device through the fifth communication port and the first communication port and the network card is coupled with the OBD port of the vehicle to-be-diagnosed through the seventh communication port, to form the first communication link; and the processor is further configured to:
before sending the diagnostic function instruction to the vehicle to-be-diagnosed through the first communication link,
activate a dynamic host configuration protocol (DHCP) service or an auto Internet protocol (AUTO-IP) service, upon monitoring that the network card is driven to be effective; and
assign an Internet protocol (IP) address of the network card and an 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 a same network segment.

### Claim 14 (depends on 13)

The diagnostic device of claim 13, wherein the processor configured to activate the DHCP service or the AUTO-IP service, upon monitoring that the network card is driven to be effective is configured to:
invoke a DoIP network-control-service function built in the diagnostic device to monitor a state of the network card;
send a broadcast which is indicative of activating the DHCP service or the AUTO-IP service to the DoIP network-control-service function, upon monitoring that the network card is driven to be effective; and
invoke the DoIP network-control-service function to activate the DHCP service or the AUTO-IP service.

### Claim 15 (depends on 14)

The diagnostic device of claim 14, wherein the processor is further configured to:
after invoking the DoIP network-control-service function to activate the DHCP service or the AUTO-IP service,
display a DoIP diagnostic function in a visualization region.

### Claim 16 (depends on 13)

The diagnostic device of claim 13, wherein the processor is further configured to:
before sending the diagnostic function instruction to the vehicle to-be-diagnosed through the first communication link,
send a broadcast which is indicative of stopping the DHCP servicer or the AUTO-IP service to the DoIP network-control-service function, upon monitoring driving failure of the network card; and
invoke the DoIP network-control-service function to stop the DHCP service or the AUTO-IP service.

### Claim 17

A non-transitory computer-readable storage medium for storing a computer program, wherein the computer program causes a computer to:
obtain a diagnostic request, the diagnostic request comprising vehicle information of a vehicle to-be-diagnosed;
determine a communication protocol which is applied in the vehicle to-be-diagnosed according to the vehicle information;
obtain a diagnostic instruction, the diagnostic instruction comprising a diagnostic function instruction and a communication protocol corresponding to the diagnostic function instruction;
determine a communication link corresponding to the diagnostic function instruction according to the communication protocol corresponding to the diagnostic function instruction; and
send the diagnostic function instruction to the vehicle to-be-diagnosed through the communication link corresponding to the diagnostic function instruction, obtain feedback data from the vehicle to-be-diagnosed, and perform diagnostics.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein the communication protocol which is applied in the vehicle to-be-diagnosed comprises a controller area network (CAN) communication protocol and/or a diagnostic communication over Internet protocol (DoIP) communication protocol, and the diagnostic function instruction is implemented as one diagnostic function instruction; and
in terms of determining the communication link corresponding to the diagnostic function instruction according to the communication protocol corresponding to the diagnostic function instruction, the computer program causes the computer to:
when the communication protocol corresponding to the diagnostic function instruction is the DoIP communication protocol, determine the communication link corresponding to the diagnostic function instruction to be a first communication link, wherein in terms of sending the diagnostic function instruction to the vehicle to-be-diagnosed through the communication link corresponding to the diagnostic function instruction, the computer program causes the computer to:
send the diagnostic function instruction to the vehicle to-be-diagnosed through the first communication link;
when the communication protocol corresponding to the diagnostic function instruction is the CAN communication protocol, determine the communication link corresponding to the diagnostic function instruction to be a second communication link, wherein in terms of sending the diagnostic function instruction to the vehicle to-be-diagnosed through the communication link corresponding to the diagnostic function instruction, the computer program causes the computer to:
send the diagnostic function instruction to the vehicle to-be-diagnosed through the second communication link; and
when the diagnostic function instruction supports both the CAN communication protocol and the DoIP communication protocol, determine the communication link corresponding to the diagnostic function instruction to be the first communication link if the diagnostic function instruction needs online resource support of a server, determine the communication link corresponding to the diagnostic function instruction to be the second communication link if the diagnostic function instruction needs no online resource support of the server, wherein in terms of sending the diagnostic function instruction to the vehicle to-be-diagnosed through the communication link corresponding to the diagnostic function instruction, the computer program causes the computer to:
send the diagnostic function instruction to the vehicle to-be-diagnosed through a determined communication link.

### Claim 19 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein the communication protocol which is applied in the vehicle to-be-diagnosed comprises a CAN communication protocol and/or a DoIP communication protocol, and the diagnostic function instruction is implemented as two diagnostic function instructions, wherein a communication protocol corresponding to a first diagnostic function instruction is the DoIP communication protocol, and a communication protocol corresponding to a second diagnostic function instruction is the CAN communication protocol; wherein,
in terms of determining the communication link corresponding to the diagnostic function instruction according to the communication protocol corresponding to the diagnostic function instruction, the computer program causes the computer to:
assign the first communication link to a communication link corresponding to the first diagnostic function instruction, and assign the second communication link to a communication link corresponding to the second diagnostic function instruction; and
in terms of sending the diagnostic function instruction to the vehicle to-be-diagnosed through the communication link corresponding to the diagnostic function instruction, the computer program causes the computer to:
send the first diagnostic function instruction to the vehicle to-be-diagnosed through the first communication link, and send the second diagnostic function instruction to the vehicle to-be-diagnosed through the second communication link.

### Claim 20 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein the communication protocol which is applied in the vehicle to-be-diagnosed comprises a CAN communication protocol and/or a DoIP communication protocol, the diagnostic function instruction is implemented as two diagnostic function instructions, and diagnostic function instructions each support the CAN communication protocol and the DoIP communication protocol; wherein,
in terms of determining the communication link corresponding to the diagnostic function instruction according to the communication protocol corresponding to the diagnostic function instruction, the computer program causes the computer to:
determine a diagnostic function instruction needing online resource support of a server to be a third diagnostic function instruction, and determine a diagnostic function instruction needing no online resource support of the server to be a fourth diagnostic function instruction; and
assign the first communication link to a communication link corresponding to the third diagnostic function instruction, and assign the second communication link to a communication link corresponding to the fourth diagnostic function instruction; and
in terms of sending the diagnostic function instruction to the vehicle to-be-diagnosed through the communication link corresponding to the diagnostic function instruction, the computer program causes the computer to:
send the third diagnostic function instruction to the vehicle to-be-diagnosed through the first communication link, and send the fourth diagnostic function instruction to the vehicle to-be-diagnosed through the second communication link.
