Automobile diagnosis method and device, computer equipment and storage medium

By developing network interfaces for vehicles and mobile terminals in diagnostic equipment, and using network debugging tools to obtain and analyze diagnostic data, the difficulty of quickly positioning problems on the mobile phone in automotive diagnosis is solved, and the diagnostic efficiency is significantly improved.

CN119065344APending Publication Date: 2024-12-03THINKCAR TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411050019.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

In automotive diagnosis, it is difficult to quickly locate the problem when viewing log data on the mobile phone, resulting in too long troubleshooting time and inconvenient to improve diagnosis efficiency.

Method used

By developing two network interfaces in diagnostic equipment, one for connecting to vehicles and the other for connecting to mobile terminals, the network debugging tool is used to acquire and analyze diagnostic data to quickly locate problems.

Benefits of technology

It effectively improves diagnostic efficiency, uses special tools to analyze data through mobile terminals, quickly locate problems, and shortens diagnosis time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065344A_ABST
    Figure CN119065344A_ABST
Patent Text Reader

Abstract

The invention discloses an automobile diagnosis method and device, computer equipment and a storage medium, and is applied to diagnosis device.The automobile diagnosis method comprises the steps that a user operation instruction is received to serve as a first operation instruction; executing the content of the first operation instruction according to the first operation instruction so as to complete a vehicle connection action through a first network interface; detecting whether the connection with the vehicle is successful, and if the connection is successful, continuing to execute the first operation instruction or re-receiving the user operation instruction to complete the connection action with the mobile terminal; commanding the mobile terminal to select a vehicle gateway communication mode, opening a network debugging tool for diagnosis, and obtaining diagnosis data; and selecting a corresponding communication protocol according to the vehicle gateway communication mode, and transmitting the diagnostic data to the mobile terminal for display. By using the network interface function, a special tool is used on the mobile terminal to analyze data, the problem is quickly positioned, and the diagnosis efficiency is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automobile diagnosis, and in particular to an automobile diagnosis method, device, computer equipment and storage medium. Background Art

[0002] When using diagnostic equipment to diagnose a car, you may encounter some difficult problems and need to view and analyze log data. Log data is referred to as log files. Log data is used to record system operation information, such as mobile phone usage information and application bug records. It is saved in the mobile phone's system file by default to facilitate the location of subsequent mobile phone system failures. Not only mobile phones, but all smart systems contain log data, so car diagnostic equipment also contains log data.

[0003] The fault location is locked based on the log data. Although it can be followed up by scanning the fault in the diagnostic program through the mobile phone, it is not convenient to view various data details on the mobile phone, and it takes too long to obtain the diagnostic results. Overall, the problem cannot be located quickly, which is not conducive to improving the fault diagnosis time. Summary of the invention

[0004] In order to solve the defects in the prior art, the present invention provides an automobile diagnosis method, device, computer equipment and storage medium.

[0005] The technical document provided by the present invention:

[0006] An automobile diagnostic method, applied to diagnostic equipment, is improved in that it includes:

[0007] receiving a user operation instruction as a first operation instruction, and executing the content of the first operation instruction according to the first operation instruction so as to complete the connection action with the vehicle through the first network interface;

[0008] Detecting whether the connection with the vehicle is successful, and if the connection is successful, continuing to execute the first operation instruction or re-receiving the user operation instruction to complete the connection action with the mobile terminal;

[0009] Instruct the mobile terminal to select a vehicle gateway communication mode, and open a network debugging tool to perform diagnosis and obtain diagnostic data;

[0010] A corresponding communication protocol is selected according to the vehicle gateway communication mode, and the diagnostic data is transmitted to the mobile terminal for display.

[0011] As an improvement of the above technical solution, executing the content of the first operation instruction according to the first operation instruction so as to complete the action of connecting with the vehicle through the first network interface includes:

[0012] When the first network interface is a USB virtual interface, connecting the first network interface to an edge node of the vehicle to establish a physical connection;

[0013] sending the first operation instruction to the vehicle according to the physical connection mode;

[0014] Data associated with the first operation instruction is acquired according to the first operation instruction, and communication is established according to the data associated with the first operation instruction.

[0015] As a further improvement of the above technical solution, the method includes:

[0016] commanding the vehicle to broadcast and send n vehicle declarations so as to obtain vehicle information through the first network interface, where n>0;

[0017] Detecting whether the vehicle information is collected;

[0018] If it is detected that the vehicle information is not obtained, the vehicle information is actively acquired through the first network interface.

[0019] As a further improvement of the above technical solution, the method further includes:

[0020] When the vehicle information is obtained, sending a diagnostic request to the first network interface;

[0021] When the first network interface receives the diagnostic request, responding to the received diagnostic request and forwarding the diagnostic request to the vehicle;

[0022] The vehicle responds according to the diagnostic request.

[0023] As a further improvement of the above technical solution, the method further includes:

[0024] When the first network interface receives the response action of the vehicle, the diagnostic data of the vehicle is collected, sorted and analyzed, and a diagnostic report is generated;

[0025] The diagnostic report is forwarded to the mobile terminal for display.

[0026] As a further improvement of the above technical solution, the continuing to execute the operation instruction or re-receiving the user operation instruction to complete the connection with the mobile terminal includes:

[0027] The operation instruction is continued to be executed through the second network interface or the user operation instruction is received again to complete the connection with the mobile terminal.

[0028] As a further improvement of the above technical solution, the method further includes:

[0029] detecting whether the operation instruction has a pre-action for connecting to the mobile terminal;

[0030] If there is a connection action, continue to execute the operation instruction, and continue to execute the operation instruction through the second network interface to complete the connection action with the mobile terminal;

[0031] If there is no connection action, re-receive the user operation instruction as the second operation instruction;

[0032] The content of the second operation instruction is executed according to the second operation instruction to complete the connection action with the mobile terminal.

[0033] The present application also provides an automobile diagnostic device, comprising:

[0034] A first connection module, the first connection module is used to receive a user operation instruction as a first operation instruction, and execute the content of the first operation instruction according to the first operation instruction so as to complete the connection action with the vehicle through the first network interface;

[0035] A second connection module, the second connection module is used to detect whether the connection with the vehicle is successful, and if the connection is successful, continue to execute the first operation instruction or re-receive the user operation instruction to complete the connection action with the mobile terminal;

[0036] A diagnostic module, the diagnostic module is used to instruct the mobile terminal to select a vehicle gateway communication mode, and to open a network debugging tool for diagnosis to obtain diagnostic data;

[0037] A display module is used to select a corresponding communication protocol according to the vehicle gateway communication mode, and transmit the diagnostic data to the mobile terminal for display.

[0038] As an improvement of the above solution, the vehicle diagnostic device further includes:

[0039] a first connection unit, the first connection unit being used to connect the first network interface to an edge node of the vehicle to establish a physical connection when the first network interface is a USB virtual interface;

[0040] A communication unit, wherein the communication unit is used to send the first operation instruction to the vehicle according to a physical connection method, obtain data associated with the first operation instruction according to the first operation instruction, and establish communication according to the data associated with the first operation instruction.

[0041] As an improvement of the above solution, the vehicle diagnostic device further includes:

[0042] A command unit, the command unit is used to command the vehicle to broadcast and send n vehicle declarations so as to obtain vehicle information through the first network interface, wherein n>0;

[0043] A detection unit, the detection unit is used to detect whether the vehicle information is collected;

[0044] An information collection unit, wherein the information collection unit is used to actively obtain the vehicle information through the first network interface if it is detected that the vehicle information has not been obtained.

[0045] As an improvement of the above solution, the vehicle diagnostic device further includes:

[0046] a sending request unit, the sending request unit being used to send a diagnosis request to the first network interface when the vehicle information is obtained;

[0047] a forwarding unit, the forwarding unit being configured to respond to the received diagnostic request when the first network interface receives the diagnostic request, and forward the diagnostic request to the vehicle;

[0048] A response unit is used for the vehicle to respond according to the diagnosis request.

[0049] As an improvement of the above solution, the vehicle diagnostic device further includes:

[0050] A processing unit, the processing unit being used to collect, organize and analyze diagnostic data of the vehicle and generate a diagnostic report after the first network interface receives a response action from the vehicle;

[0051] A display unit is used to forward the diagnosis report to the mobile terminal for display.

[0052] As an improvement of the above solution, the vehicle diagnostic device further includes:

[0053] The second connection unit is used to continue to execute the operation instruction or re-receive the user operation instruction through the second network interface to complete the connection with the mobile terminal.

[0054] As an improvement of the above solution, the vehicle diagnostic device further includes:

[0055] a second detection unit, the second detection unit being used to detect whether the operation instruction has a pre-action of connecting to the mobile terminal;

[0056] A second connection main unit, the second connection main unit is used to continue to execute the operation instruction if there is a connection action, and continue to execute the operation instruction through the second network interface to complete the connection action with the mobile terminal;

[0057] a receiving unit, the receiving unit being used to re-receive the user operation instruction as the second operation instruction if there is no connection action;

[0058] The second connection sub-unit is used to execute the content of the second operation instruction according to the second operation instruction to complete the connection action with the mobile terminal.

[0059] The present application also discloses a computer device, which includes a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to call the computer program, so that the computer device executes the steps of an automobile diagnostic method as described above.

[0060] The present application also discloses a computer-readable storage medium, comprising instructions. When the instructions are executed on a computer device, the computer device executes the steps of the automobile diagnostic method as described above.

[0061] The present application also discloses a computer program product, which includes computer instructions. When the computer instructions are run on a computer device, the computer device executes the steps of the automobile diagnostic method as described above.

[0062] Beneficial effects: This application adds a new network interface function, uses special tools on mobile terminals to analyze and display data, quickly locates problems, and effectively improves diagnostic efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Figure 1 A schematic diagram of a flow chart of an automobile diagnostic method of the present invention;

[0064] Figure 2 It is a structural schematic diagram of an automobile diagnostic device of the present invention;

[0065] Figure 3 A schematic diagram of the structure of an automobile diagnostic device of the present invention;

[0066] Figure 4 A schematic diagram of the structure of an automobile diagnostic device of the present invention;

[0067] Figure 5 It is a schematic diagram of the computer device structure of the present invention.

[0068] 100. A first connection module, 200. A second connection module, 300. A diagnosis module, 400. A display module.

[0069] 101. A first connection unit, 102. A communication unit, 103. A command unit, 104. A detection unit, 105. An information collection unit, 106. A request sending unit, 107. A forwarding unit, 108. A response unit, 109. A processing unit.

[0070] 401. Display unit.

[0071] 201, a second connection unit, 202, a second detection unit, 203, a second connection main unit, 204, a receiving unit, 205, a second connection sub-unit. DETAILED DESCRIPTION

[0072] In order to facilitate the understanding of the present invention, the present invention is described in more detail below in conjunction with the accompanying drawings and specific embodiments. Preferred embodiments of the present invention are provided in the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described in this specification. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive.

[0073] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "fixed", "integrally formed", "left", "right" and similar expressions used in this specification are for illustrative purposes only. In the drawings, units with similar structures are marked with the same reference numerals.

[0074] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in this specification in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0075] The present application discloses an automobile diagnostic method, device, computer equipment and storage medium. Two network interfaces are developed in the diagnostic equipment. The two network interfaces correspond to a first network interface and a second network interface respectively. The first network interface is connected to the vehicle as a client, and the second network interface is used to connect to a mobile terminal.

[0076] The present invention will be described in detail below in conjunction with the accompanying drawings.

[0077] Embodiment 1:

[0078] See also Figure 1 , the present application discloses a vehicle diagnostic method, applied to a diagnostic device, comprising:

[0079] S1: receiving a user operation instruction as a first operation instruction, and executing the content of the first operation instruction according to the first operation instruction so as to complete the operation of connecting with the vehicle through the first network interface;

[0080] S2: Detect whether the connection with the vehicle is successful. If the connection is successful, continue to execute the first operation instruction or re-receive the user operation instruction to complete the connection action with the mobile terminal;

[0081] S3: commanding the mobile terminal to select a vehicle gateway communication mode, and opening a network debugging tool for diagnosis to obtain diagnostic data;

[0082] S4: Select a corresponding communication protocol according to the vehicle gateway communication mode, and transmit the diagnostic data to the mobile terminal for display.

[0083] In the above embodiment, for steps S1-S4, the diagnostic device of the present application completes the connection action with the vehicle through the first operation instruction. In order to continue to execute the content of the first operation instruction or re-receive the user operation instruction to complete the connection action with the mobile terminal, it is necessary to detect whether the diagnostic device is successfully connected to the vehicle. If the connection is successful, continue to execute. If the connection is unsuccessful, return to step S1 to re-receive the user operation instruction and continue the operation of step S2. Regardless of whether steps S1-S2 are repeated or only executed once, the following steps will be entered: when step S2 is completed, the mobile terminal is commanded to select the vehicle gateway communication mode, and the network debugging tool is opened for diagnosis to obtain diagnostic data; the corresponding communication protocol is selected according to the vehicle gateway communication mode, and the diagnostic data is transmitted to the mobile terminal for display. By adding a new network interface function, the present application uses a special tool to analyze and display data on the mobile terminal, quickly locates the problem, and effectively improves the diagnostic efficiency.

[0084] Further, executing the content of the first operation instruction according to the first operation instruction so as to complete the action of connecting with the vehicle through the first network interface includes:

[0085] S5: When the first network interface is a USB virtual interface, connecting the first network interface to an edge node of the vehicle to establish a physical connection;

[0086] S6: sending the first operation instruction to the vehicle according to the physical connection mode;

[0087] S7: Acquire data associated with the first operation instruction according to the first operation instruction, and establish communication according to the data associated with the first operation instruction.

[0088] In the above embodiment, for steps S5-S7, when the first network interface is a USB virtual interface, communication needs to be established, the first network interface is connected to the edge node of the vehicle to establish a physical connection mode, the first operation instruction is sent to the vehicle according to the physical connection mode, and data associated with the first operation instruction is obtained according to the first operation instruction, so as to establish communication according to the data associated with the first operation instruction. This paves the way for the diagnostic device to implement the following fault diagnosis.

[0089] Further, the method comprises:

[0090] S8: commanding the vehicle to broadcast and send n vehicle declarations so as to obtain vehicle information through the first network interface, where n>0;

[0091] S9: Detect whether the vehicle information is collected;

[0092] S10: If it is detected that the vehicle information is not obtained, actively obtain the vehicle information through the first network interface.

[0093] In the above embodiment, for steps S8-S10, the diagnostic device acquires the vehicle information through the first network interface, but it is divided into active acquisition mode and passive acquisition mode.

[0094] If the priority is the passive acquisition method: when the vehicle broadcasts and sends a vehicle declaration, the diagnostic device can receive the declaration signal sent by the vehicle through the first network interface. The signal feedback indicates that the vehicle and the diagnostic device have communication conditions and can transmit vehicle information. When step S8 is completed, proceed to step S9 to detect whether the diagnostic device has collected the vehicle information. The purpose here is to collect vehicle information. There is no need to detect whether the declaration signal is received. Receiving the declaration signal does not mean that the vehicle information is successfully received. If it is detected that the vehicle information is not obtained, the vehicle information is actively obtained through the first network interface, that is, switching to active acquisition mode. In this application, when sending a broadcast, n=3, when sending 3 vehicle declarations, each time a vehicle declaration is sent, a response from the first network interface can be obtained. When the first network interface does not respond, there is no need to send a vehicle declaration again. It is directly judged that the passive acquisition method has failed. You can consider actively acquiring vehicle information.

[0095] As mentioned above, if the active acquisition method is preferred: directly proceed to steps S9-S10, wherein the purpose of step S9 is to detect whether the diagnostic device is acquiring vehicle information for the first time. If so, proceed to step S10 in an active acquisition manner. If not, it means that the vehicle information already exists in the diagnostic device, and the following steps S11-S15 can be performed.

[0096] Furthermore, the method further comprises:

[0097] S11: When the vehicle information is obtained, a diagnosis request is sent to the first network interface;

[0098] S12: When the first network interface receives the diagnostic request, it responds to the received diagnostic request and forwards the diagnostic request to the vehicle;

[0099] S13: the vehicle responds according to the diagnosis request;

[0100] S14: After the first network interface receives the response action of the vehicle, the diagnostic data of the vehicle is collected, sorted and analyzed, and a diagnostic report is generated;

[0101] S15: Forward the diagnostic report to the mobile terminal for display.

[0102] With respect to steps S11-S15, the present application adds a new network interface function, uses dedicated tools on a mobile terminal to analyze and display data, quickly locates problems, and effectively improves diagnostic efficiency.

[0103] In addition, the continuing to execute the operation instruction or re-receiving the user operation instruction to complete the connection with the mobile terminal includes:

[0104] S16: Continue to execute the operation instruction or re-receive the user operation instruction through the second network interface to complete the connection with the mobile terminal.

[0105] According to step S16, the method further includes:

[0106] S17: Detecting whether the operation instruction has a pre-action of connecting to the mobile terminal;

[0107] S18: If there is a connection action, continue to execute the operation instruction, and continue to execute the operation instruction through the second network interface to complete the connection action with the mobile terminal;

[0108] S19: if there is no connection action, receiving the user operation instruction again as the second operation instruction;

[0109] S20: Execute the content of the second operation instruction according to the second operation instruction to complete the operation of connecting with the mobile terminal.

[0110] In the above embodiment, for steps S17-S20, the operation instruction is continued to be executed through the second network interface or the user operation instruction is re-received to complete the connection with the mobile terminal, and it is detected whether the operation instruction has a pre-action to connect to the mobile terminal; if there is a connection action, the operation instruction is continued to be executed, and the operation instruction is continued to be executed through the second network interface to complete the connection action with the mobile terminal; if there is no connection action, the user operation instruction is re-received as the second operation instruction; the content of the second operation instruction is executed according to the second operation instruction to complete the connection action with the mobile terminal. After the network interface established in this application is a virtual interface, the time required to transmit a large amount of data is shorter, and it has a higher response speed, making the analysis of problems more efficient.

[0111] The specific implementation methods of this application are as follows:

[0112] After the diagnostic device starts to diagnose the vehicle, it sends a diagnostic request, and the vehicle responds to the diagnostic request. After the first network interface of the diagnostic device receives the response data from the vehicle, it sends the data to the mobile terminal through the second network interface. After receiving the data, the mobile terminal parses it according to the protocol format, compares the fault code according to the established protocol to confirm the fault, and determines the required data based on the data transmitted by the second network interface, such as voltage, current, etc., and compares the data of other car dealers to determine the cause of the fault. This application uses special tools on the mobile terminal to analyze and display data, quickly locate problems, and effectively improve diagnostic efficiency; and after the network interface is set up as a virtual interface, it takes less time to transmit large amounts of data and has a higher response speed, making problem analysis more efficient.

[0113] Embodiment 2:

[0114] See also Figure 2 , the present application discloses an automobile diagnostic device, comprising:

[0115] A first connection module 100, the first connection module 100 is used to receive a user operation instruction as a first operation instruction, and execute the content of the first operation instruction according to the first operation instruction so as to complete the connection action with the vehicle through the first network interface;

[0116] The second connection module 200 is used to detect whether the connection with the vehicle is successful. If the connection is successful, continue to execute the first operation instruction or re-receive the user operation instruction to complete the connection action with the mobile terminal;

[0117] The diagnostic module 300 is used to instruct the mobile terminal to select a vehicle gateway communication mode, and to open a network debugging tool for diagnosis to obtain diagnostic data;

[0118] The display module 400 is used to select a corresponding communication protocol according to the vehicle gateway communication mode, and transmit the diagnostic data to the mobile terminal for display.

[0119] See also Figure 3 , the automobile diagnostic device, wherein the first connection module 100 further comprises:

[0120] A first connection unit 101, wherein the first connection unit 101 is used to connect the first network interface to an edge node of the vehicle to establish a physical connection when the first network interface is a USB virtual interface;

[0121] a communication unit 102, the communication unit 102 being used to send the first operation instruction to the vehicle according to the physical connection mode, obtain data associated with the first operation instruction according to the first operation instruction, and establish communication according to the data associated with the first operation instruction;

[0122] A command unit 103, the command unit 103 is used to command the vehicle to broadcast and send n vehicle declarations so as to obtain vehicle information through the first network interface, wherein n>0;

[0123] A detection unit 104, the detection unit 104 is used to detect whether the vehicle information is collected;

[0124] The information collection unit 105 is used to actively obtain the vehicle information through the first network interface if it is detected that the vehicle information is not obtained;

[0125] A sending request unit 106, wherein the sending request unit 106 is used to send a diagnosis request to the first network interface when the vehicle information is obtained;

[0126] a forwarding unit 107, wherein the forwarding unit 107 is configured to respond to the received diagnostic request when the first network interface receives the diagnostic request, and forward the diagnostic request to the vehicle;

[0127] A response unit 108, the response unit 108 is used for the vehicle to respond according to the diagnosis request;

[0128] The processing unit 109 is used to collect, organize and analyze the vehicle's diagnostic data and generate a diagnostic report after the first network interface receives a response action from the vehicle.

[0129] The display module 400 of the automobile diagnostic device further includes:

[0130] The display unit 401 is used to forward the diagnosis report to the mobile terminal for display.

[0131] See also Figure 4 , the automobile diagnostic device, wherein the second connection module 200 further comprises:

[0132] A second connection unit 201, the second connection unit 201 is used to continue to execute the operation instruction or re-receive the user operation instruction through the second network interface to complete the connection with the mobile terminal;

[0133] A second detection unit 202, the second detection unit 202 is used to detect whether the operation instruction has a pre-action of connecting to the mobile terminal;

[0134] A second connection main unit 203, the second connection main unit 203 is used to continue to execute the operation instruction if there is a connection action, and continue to execute the operation instruction through the second network interface to complete the connection action with the mobile terminal;

[0135] A receiving unit 204, the receiving unit 204 is used to re-receive the user operation instruction as the second operation instruction if there is no connection action;

[0136] The second connection subunit 205 is used to execute the content of the second operation instruction according to the second operation instruction to complete the connection action with the mobile terminal.

[0137] Embodiment three:

[0138] See also Figure 5 The present application also discloses a computer device, which includes a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to call the computer program so that the computer device executes the steps of an automobile diagnostic method as described above.

[0139] The present application also discloses a computer-readable storage medium, comprising instructions. When the instructions are executed on a computer device, the computer device executes the steps of the automobile diagnostic method as described above.

[0140] The present application also discloses a computer program product, which includes computer instructions. When the computer instructions are run on a computer device, the computer device executes the steps of the automobile diagnostic method as described above.

[0141] In the embodiments provided in the present application, it should be understood that the disclosed equipment, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, and units with the same function may be combined into one unit. For example, multiple units or components may be combined or integrated into another diagnostic system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices or units, or may be electrical, mechanical or other forms of connection.

[0142] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present application.

[0143] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0144] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only processors (ROM, Read-Only Memory), magnetic disks or optical disks.

[0145] It should be noted that the above-mentioned technical features are further combined with each other to form various embodiments not listed above, which are all deemed to be within the scope of the present invention; and, for ordinary technicians in this field, they can be improved or transformed according to the above description, and all these improvements and transformations should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A vehicle diagnostic method, applied to a diagnostic device, characterized in that: include: receiving a user operation instruction as a first operation instruction, and executing the content of the first operation instruction according to the first operation instruction so as to complete the connection action with the vehicle through the first network interface; Detecting whether the connection with the vehicle is successful, and if the connection is successful, continuing to execute the first operation instruction or re-receiving the user operation instruction to complete the connection action with the mobile terminal; Instruct the mobile terminal to select a vehicle gateway communication mode, and open a network debugging tool to perform diagnosis and obtain diagnostic data; A corresponding communication protocol is selected according to the vehicle gateway communication mode, and the diagnostic data is transmitted to the mobile terminal for display.

2. The automobile diagnostic method according to claim 1, characterized in that: The step of executing the content of the first operation instruction according to the first operation instruction so as to complete the operation of connecting with the vehicle through the first network interface includes: When the first network interface is a USB virtual interface, connecting the first network interface to an edge node of the vehicle to establish a physical connection; sending the first operation instruction to the vehicle according to the physical connection mode; Data associated with the first operation instruction is acquired according to the first operation instruction, and communication is established according to the data associated with the first operation instruction.

3. The automobile diagnostic method according to claim 2, characterized in that: The method comprises: commanding the vehicle to broadcast and send n vehicle declarations so as to obtain vehicle information through the first network interface, where n>0; Detecting whether the vehicle information is collected; If it is detected that the vehicle information is not obtained, the vehicle information is actively acquired through the first network interface.

4. A vehicle diagnostic method according to claim 3, characterized in that: The method further comprises: When the vehicle information is obtained, sending a diagnostic request to the first network interface; When the first network interface receives the diagnostic request, responding to the received diagnostic request and forwarding the diagnostic request to the vehicle; The vehicle responds according to the diagnostic request.

5. A vehicle diagnostic method according to claim 4, characterized in that: The method further comprises: When the first network interface receives the response action of the vehicle, the diagnostic data of the vehicle is collected, sorted and analyzed, and a diagnostic report is generated; The diagnostic report is forwarded to the mobile terminal for display.

6. The automobile diagnostic method according to claim 1, characterized in that: The continuing to execute the operation instruction or re-receiving the user operation instruction to complete the connection with the mobile terminal includes: The operation instruction is continued to be executed through the second network interface or the user operation instruction is received again to complete the connection with the mobile terminal.

7. A vehicle diagnostic method according to claim 6, characterized in that: The method further comprises: detecting whether the operation instruction has a pre-action for connecting to the mobile terminal; If there is a connection action, continue to execute the operation instruction, and continue to execute the operation instruction through the second network interface to complete the connection action with the mobile terminal; If there is no connection action, re-receive the user operation instruction as the second operation instruction; The content of the second operation instruction is executed according to the second operation instruction to complete the connection action with the mobile terminal.

8. A computer device comprising a memory and a processor, wherein: The memory is used to store a computer program, and the processor is used to call the computer program, characterized in that the computer device executes the steps of an automobile diagnostic method according to any one of claims 1 to 7.

9. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are run on a computer device, the computer device executes the steps of an automobile diagnostic method according to any one of claims 1 to 7.

10. A computer program product, characterized in that The computer program product comprises computer instructions, and when the computer instructions are run on a computer device, the computer device executes the steps of the automobile diagnostic method according to any one of claims 1 to 7.