CN112217799B - Vehicle diagnosis method, vehicle diagnosis device and terminal equipment - Google Patents

Vehicle diagnosis method, vehicle diagnosis device and terminal equipment Download PDF

Info

Publication number
CN112217799B
CN112217799B CN202010953150.XA CN202010953150A CN112217799B CN 112217799 B CN112217799 B CN 112217799B CN 202010953150 A CN202010953150 A CN 202010953150A CN 112217799 B CN112217799 B CN 112217799B
Authority
CN
China
Prior art keywords
diagnosed
control module
communication protocol
vehicle
diagnosis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010953150.XA
Other languages
Chinese (zh)
Other versions
CN112217799A (en
Inventor
刘均
吴华武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN202010953150.XA priority Critical patent/CN112217799B/en
Publication of CN112217799A publication Critical patent/CN112217799A/en
Application granted granted Critical
Publication of CN112217799B publication Critical patent/CN112217799B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • 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/008Registering or indicating the working of vehicles communicating information to a remotely located station
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Abstract

The application discloses a vehicle diagnosis method, a vehicle diagnosis device and terminal equipment. The terminal equipment is connected to a vehicle to be diagnosed through a diagnosis box and an additional communication line respectively, and a communication protocol supported by the diagnosis box is different from a communication protocol supported by the additional communication line, and the method comprises the following steps: acquiring a communication protocol corresponding to a control module to be diagnosed in a vehicle to be diagnosed; according to a communication protocol corresponding to the control module to be diagnosed, determining one of the diagnosis box and the additional communication line as a target communication carrier; and communicating with the control module to be diagnosed through the target communication carrier according to a communication protocol corresponding to the control module to be diagnosed so as to realize the diagnosis of the control module to be diagnosed. By the aid of the scheme, the requirement of vehicle diagnosis on the vehicle through the communication protocol which is not supported by the diagnosis box can be met under the condition that the diagnosis box is not replaced, operation convenience is brought to a user, and capital investment cost of the user is reduced.

Description

Vehicle diagnosis method, vehicle diagnosis device and terminal equipment
Technical Field
The present application belongs to the field of vehicle diagnosis technologies, and in particular, relates to a vehicle diagnosis method, a vehicle diagnosis apparatus, a terminal device, and a computer-readable storage medium.
Background
Vehicle diagnostics is an effective means of ensuring proper vehicle operation. Currently, vehicle diagnosis is generally implemented by vehicle diagnosis software in cooperation with a diagnosis box to communicate with a vehicle.
With the development of the internet of vehicles, many vehicles currently require to implement vehicle diagnosis through a new communication protocol (such as an ethernet protocol), and an old diagnosis box does not support the new communication protocol.
Disclosure of Invention
In view of the above, the present application provides a vehicle diagnosis method, a vehicle diagnosis apparatus, a terminal device and a computer readable storage medium, which can meet the requirement of vehicle diagnosis for a vehicle through a communication protocol that is not supported by a diagnosis box without replacing the diagnosis box, thereby bringing convenience to a user in operation and reducing the capital investment cost of the user.
In a first aspect, the present application provides a vehicle diagnosis method applied to a terminal device, the terminal device being connected to a vehicle to be diagnosed through a diagnosis box and an additional communication line, respectively, a communication protocol supported by the diagnosis box being different from a communication protocol supported by the additional communication line, the vehicle diagnosis method including:
acquiring a communication protocol corresponding to a control module to be diagnosed in the vehicle to be diagnosed;
according to the communication protocol corresponding to the control module to be diagnosed, determining one of the diagnosis box and the additional communication line as a target communication carrier;
and communicating with the control module to be diagnosed according to the communication protocol corresponding to the control module to be diagnosed by the target communication carrier so as to diagnose the control module to be diagnosed.
Optionally, the determining, according to the communication protocol corresponding to the control module to be diagnosed, one of the diagnostic box and the additional communication line as a target communication bearer includes:
judging whether the communication protocol corresponding to the control module to be diagnosed is a preset communication protocol or not;
if the communication protocol corresponding to the control module to be diagnosed is the preset communication protocol, determining the additional communication line as the target communication carrier;
and if the communication protocol corresponding to the control module to be diagnosed is not the preset communication protocol, determining the diagnosis box as the target communication carrier.
Optionally, the communicating, by the target communication carrier, with the control module to be diagnosed according to a communication protocol corresponding to the control module to be diagnosed to implement the diagnosis of the control module to be diagnosed, includes:
generating a diagnosis request, wherein the diagnosis request conforms to a communication protocol corresponding to the control module to be diagnosed;
sending the diagnosis request to the control module to be diagnosed through the target communication carrier so as to obtain response data returned by the control module to be diagnosed;
and executing a diagnosis process based on the response data.
Optionally, the generating a diagnosis request includes:
generating a detection command for detecting the running state of the control module to be diagnosed;
and encapsulating the detection command according to a communication protocol corresponding to the control module to be diagnosed to obtain the diagnosis request.
Optionally, the obtaining a communication protocol corresponding to a control module to be diagnosed in the vehicle to be diagnosed includes:
acquiring a preset configuration file, wherein the configuration file comprises communication protocols corresponding to all control modules in the vehicle to be diagnosed;
and reading the communication protocol corresponding to the control module to be diagnosed from the configuration file.
Optionally, the obtaining of the communication protocol corresponding to the control module to be diagnosed in the vehicle to be diagnosed includes:
the additional communication line is connected with the control module to be diagnosed according to a preset communication protocol;
if the connection is successful, determining that the communication protocol corresponding to the control module to be diagnosed is the preset communication protocol;
and if the connection fails, determining that the communication protocol corresponding to the control module to be diagnosed is the communication protocol supported by the diagnosis box.
Optionally, before the obtaining of the communication protocol corresponding to the control module to be diagnosed in the vehicle to be diagnosed, the vehicle diagnosis method further includes:
acquiring user identity information;
sending a user security authentication request carrying the user identity information to a preset server, wherein the user security authentication request is used for requesting the server to carry out validity verification on the user identity information;
receiving a validity verification result sent by the server;
if the validity verification result indicates that the user identity information is valid, allowing the terminal equipment to communicate with the vehicle to be diagnosed;
and if the legality verification result indicates that the user identity information is illegal, the terminal equipment is prohibited from communicating with the vehicle to be diagnosed.
In a second aspect, the present application provides a vehicle diagnosis apparatus applied to a terminal device, the terminal device being connected to a vehicle to be diagnosed through a diagnosis box and an additional communication line, respectively, the diagnosis box supporting a communication protocol different from a communication protocol supported by the additional communication line, the vehicle diagnosis apparatus comprising:
the protocol acquisition unit is used for acquiring a communication protocol corresponding to a control module to be diagnosed in the vehicle to be diagnosed;
a carrier determining unit, configured to determine, according to a communication protocol corresponding to the control module to be diagnosed, one of the diagnostic box and the additional communication line as a target communication carrier;
and the communication diagnosis unit is used for communicating with the control module to be diagnosed according to the communication protocol corresponding to the control module to be diagnosed through the target communication carrier so as to diagnose the control module to be diagnosed.
Optionally, the carrier determining unit includes:
a preset protocol judging subunit, configured to judge whether a communication protocol corresponding to the control module to be diagnosed is a preset communication protocol;
a first carrier determination subunit, configured to determine, if a communication protocol corresponding to the control module to be diagnosed is the preset communication protocol, the additional communication line as the target communication carrier;
and a second carrier determination subunit, configured to determine, if the communication protocol corresponding to the control module to be diagnosed is not the preset communication protocol, that the diagnostic box is the target communication carrier.
Optionally, the communication diagnosis unit includes:
a request generating subunit, configured to generate a diagnosis request, where the diagnosis request conforms to a communication protocol corresponding to the control module to be diagnosed;
a request sending subunit, configured to send the diagnosis request to the control module to be diagnosed through the target communication bearer, so as to obtain response data returned by the control module to be diagnosed;
and the diagnosis execution subunit is used for executing a diagnosis process based on the response data.
Optionally, the request generating subunit includes:
the command generation subunit is used for generating a detection command for detecting the running state of the control module to be diagnosed;
and the command encapsulation subunit is used for encapsulating the detection command according to the communication protocol corresponding to the control module to be diagnosed to obtain the diagnosis request.
Optionally, the protocol acquiring unit includes:
the system comprises a configuration file acquisition subunit, a configuration file acquisition subunit and a diagnosis processing subunit, wherein the configuration file acquisition subunit is used for acquiring a preset configuration file, and the configuration file comprises communication protocols corresponding to all control modules in the vehicle to be diagnosed;
and the communication protocol reading subunit is used for reading the communication protocol corresponding to the control module to be diagnosed from the configuration file.
Optionally, the protocol acquiring unit includes:
the connection subunit is used for connecting the control module to be diagnosed with the additional communication line according to a preset communication protocol;
a first protocol determining subunit, configured to determine, if the connection is successful, that a communication protocol corresponding to the control module to be diagnosed is the preset communication protocol;
and the second protocol determining subunit is configured to determine, if the connection fails, that the communication protocol corresponding to the control module to be diagnosed is the communication protocol supported by the diagnostic box.
Optionally, the vehicle diagnostic apparatus further includes:
a user identity information obtaining unit for obtaining user identity information;
a security authentication request sending unit, configured to send a user security authentication request carrying the user identity information to a preset server, where the user security authentication request is used to request the server to perform validity verification on the user identity information;
a validity result receiving unit, configured to receive a validity verification result sent by the server;
a first communication control unit, configured to allow the terminal device to communicate with the vehicle to be diagnosed if the validity verification result indicates that the user identity information is valid;
and a second communication control unit, configured to prohibit the terminal device from communicating with the vehicle to be diagnosed if the validity verification result indicates that the user identity information is invalid.
In a third aspect, the present application provides a terminal device, where the terminal device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the steps of the method according to the first aspect.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of the first aspect.
In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by one or more processors, performs the steps of the method of the first aspect as described above.
As can be seen from the above, in the present application, a communication protocol corresponding to a control module to be diagnosed in a vehicle to be diagnosed is first obtained, then one of the diagnostic box and the additional communication line is determined as a target communication carrier according to the communication protocol corresponding to the control module to be diagnosed, and finally, the target communication carrier communicates with the control module to be diagnosed according to the communication protocol corresponding to the control module to be diagnosed, so as to implement diagnosis of the control module to be diagnosed. According to the scheme, the terminal equipment and the vehicle to be diagnosed are connected through the diagnosis box and the additional communication line respectively, so that the terminal equipment can be communicated with the vehicle to be diagnosed based on a new communication protocol (namely, the communication protocol which is not supported by the diagnosis box) by using the additional communication line, diagnosis of the control module to be diagnosed is realized, the existing diagnosis box can be prevented from being replaced by a user, convenience in operation is brought to the user, and the fund input cost of the user is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is an architecture diagram of a vehicle diagnostic system provided by an embodiment of the present application;
FIG. 2 is a diagram illustrating an exemplary connection of a vehicle diagnostic system provided by an embodiment of the present application;
FIG. 3 is a flowchart illustrating an implementation of a vehicle diagnostic method according to an embodiment of the present disclosure;
FIG. 4 is a block diagram of a vehicle diagnostic apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
During the use of the vehicle, a user often needs to perform vehicle diagnosis on the vehicle. In one application scenario, vehicle diagnosis may require vehicle diagnosis software to cooperate with a diagnosis box to communicate with a vehicle based on an ethernet protocol, and the existing diagnosis box of a user does not support the ethernet protocol, which may result in that the user cannot use the existing diagnosis box to perform vehicle diagnosis on the vehicle. Based on this, the embodiment of the application provides a vehicle diagnosis method, a vehicle diagnosis device, a terminal device and a computer readable storage medium, wherein the terminal device is connected to a vehicle to be diagnosed through an existing diagnosis box of a user and an additional communication line respectively, and the additional communication line supports an Ethernet protocol. If the communication protocol corresponding to the control module which needs to be diagnosed currently is the ethernet protocol, the control module can be directly communicated with the communication protocol according to the ethernet protocol through the additional communication line, so that the control module can be diagnosed. In order to explain the technical solutions proposed in the embodiments of the present application, the following description will be given by way of specific examples.
Referring to fig. 1, an architecture diagram of a vehicle diagnostic system provided by an embodiment of the present application is shown, where the vehicle diagnostic system includes a terminal device, a diagnostic box, an additional communication line, and a vehicle to be diagnosed. The terminal equipment is connected with the diagnosis box, and the diagnosis box is connected with a vehicle to be diagnosed; meanwhile, the terminal equipment is also connected with the vehicle to be diagnosed through an additional communication line. The terminal device and the diagnosis box can be connected through a USB interface, an RS232 serial port, bluetooth or wireless fidelity (WIFI) and the like, so that the terminal device can send a diagnosis request to the diagnosis box; the diagnosis box and the vehicle to be diagnosed can be connected through an On-Board Diagnostic (OBD) interface, so that the diagnosis box sends the received diagnosis request to the vehicle to be diagnosed. In the embodiment of the present application, the communication protocol supported by the additional communication line is different from the communication protocol supported by the diagnostic cartridge, for example, the diagnostic cartridge supports communication based on the CAN protocol, the KWP protocol, the PWM protocol, the VPW protocol, and the ISO protocol, and the additional communication line supports communication based on the ethernet protocol.
Referring to fig. 2, fig. 2 shows an exemplary connection of a vehicle diagnostic system as one possible implementation. The terminal equipment is connected with the diagnosis box through a serial port line, the diagnosis box is connected with an OBD female head on an Ethernet port-to-OBD interface patch cord (hereinafter referred to as patch cord) through a test main line, an OBD male head on the patch cord is connected with the OBD female head on the vehicle to be diagnosed, and a network port on the patch cord is connected with a network port of the terminal equipment through a network line. The terminal equipment can communicate with the vehicle to be diagnosed based on the Ethernet protocol through the network port, the network cable and the patch cord on the terminal equipment and the OBD interface on the vehicle to be diagnosed; the terminal equipment can communicate with the vehicle to be diagnosed based on the communication protocol supported by the diagnosis box through the serial port line, the diagnosis box, the test main line and the OBD interface on the vehicle to be diagnosed.
A vehicle diagnostic method provided in an embodiment of the present application is described below. Referring to fig. 3, the vehicle diagnosis method is applied to a terminal device, and includes:
301, acquiring a communication protocol corresponding to a control module to be diagnosed in a vehicle to be diagnosed;
in the embodiment of the application, a vehicle to be diagnosed is a vehicle which a user needs to perform vehicle diagnosis at present, and the vehicle to be diagnosed comprises a plurality of control modules, such as an engine control module, a gearbox control module, a vehicle body control module, an anti-theft control module and the like. A user may select any one of the multiple control modules as a control module to be diagnosed, for example, if the user needs to diagnose a certain control module at present, the control module may be selected as the control module to be diagnosed. The communication protocol corresponding to the control module to be diagnosed is the communication protocol adopted by the control module to be diagnosed. It is understood that each of the plurality of control modules may employ a different communication protocol, and the communication protocol may include a CAN protocol, a KWP protocol, a PWM protocol, a VPW protocol, an ISO protocol, an ethernet protocol, and the like, and specifically, the protocol employed by the control module in the vehicle to be diagnosed is determined by a manufacturer of the vehicle to be diagnosed, and is not particularly limited in the embodiment of the present application. The terminal device may obtain the communication protocol corresponding to the control module to be diagnosed from the local, and may also obtain the communication protocol corresponding to the control module to be diagnosed, which is input by the user, where this is not limited specifically.
Optionally, step 301 may specifically include:
acquiring a preset configuration file;
and reading a communication protocol corresponding to the control module to be diagnosed from the configuration file.
In the embodiment of the application, the configuration file includes communication protocols corresponding to all control modules in the vehicle to be diagnosed, and the configuration file can be stored locally in the terminal device. The terminal device can read the configuration file to obtain a protocol corresponding to the control module to be diagnosed. For example, a communication protocol corresponding to an engine control module is recorded in the configuration file as a CAN protocol, a communication protocol corresponding to a gearbox control module is a KWP protocol, and a communication protocol corresponding to a vehicle body control module is recorded in the configuration file as a PWM protocol; and if the control module to be diagnosed is the engine control module, the communication protocol corresponding to the engine control module read from the configuration file is the CAN protocol.
Optionally, step 301 may also specifically include:
the system is connected with a control module to be diagnosed through an additional communication line according to a preset communication protocol;
if the connection is successful, determining that the communication protocol corresponding to the control module to be diagnosed is a preset communication protocol;
and if the connection fails, determining that the communication protocol corresponding to the control module to be diagnosed is the communication protocol supported by the diagnosis box.
In this embodiment of the present application, the preset communication protocol is a communication protocol supported by the additional communication line, for example, if the communication protocol supported by the additional communication line is an ethernet protocol, the ethernet protocol may be determined as the preset communication protocol. In order to obtain the communication protocol corresponding to the control module to be diagnosed, the terminal device may be connected to the control module to be diagnosed according to the ethernet protocol through the additional communication line, and if the feedback information of the control module to be diagnosed is received, it indicates that the connection is successful, and at this time, it may be determined that the communication protocol corresponding to the control module to be diagnosed is the ethernet protocol. If the feedback information of the control module to be diagnosed is not received, the connection failure is indicated, and at this time, it can be determined that the communication protocol corresponding to the control module to be diagnosed is not the ethernet protocol but the communication protocol supported by the diagnostic box.
It should be noted that the communication protocols supported by the diagnostic box may be various, such as the diagnostic box supporting the CAN protocol, the KWP protocol, the PWM protocol, the VPW protocol, and the ISO protocol. In order to obtain which of the multiple communication protocols supported by the diagnostic box the communication protocol corresponding to the control module to be diagnosed belongs to, the terminal device may further connect with the control module to be diagnosed through the diagnostic box according to each communication protocol supported by the diagnostic box in sequence, and when the terminal device successfully connects with the control module to be diagnosed through the diagnostic box according to a certain communication protocol supported by the diagnostic box, the communication protocol may be determined as the communication protocol corresponding to the control module to be diagnosed.
Step 302, according to the communication protocol corresponding to the control module to be diagnosed, determining one of the diagnosis box and the additional communication line as a target communication carrier;
in the embodiment of the present application, both the diagnostic box and the additional communication line may be understood as communication bearers, and because the communication protocols supported by the diagnostic box and the additional communication line are different, one of the diagnostic box and the additional communication line may be determined as a target communication bearer according to the communication protocol corresponding to the control module to be diagnosed. Specifically, the communication protocol supported by the target communication bearer should include a communication protocol corresponding to the control module to be diagnosed, so that the terminal device can communicate with the control module to be diagnosed through the target communication bearer.
Optionally, the step 302 may specifically include:
judging whether a communication protocol corresponding to the control module to be diagnosed is a preset communication protocol or not;
if the communication protocol corresponding to the control module to be diagnosed is a preset communication protocol, determining the additional communication line as a target communication carrier;
and if the communication protocol corresponding to the control module to be diagnosed is not the preset communication protocol, determining the diagnosis box as a target communication carrier.
In this embodiment of the application, if the communication protocol corresponding to the control module to be diagnosed is the preset communication protocol, an additional communication line may be determined as the target communication bearer, where the additional communication line supports the preset communication protocol. And if the communication protocol corresponding to the control module to be diagnosed is not the preset communication protocol, determining the diagnosis box as the target communication carrier. Taking the preset communication protocol as the ethernet protocol as an example, if the communication protocol corresponding to the control module to be diagnosed is the ethernet protocol, the additional communication line may be determined as the target communication bearer, and the additional communication line supports the ethernet protocol. If the communication protocol corresponding to the control module to be diagnosed is the CAN protocol, the diagnosis box CAN be determined as a target communication carrier, and the diagnosis box supports the CAN protocol.
And 303, communicating with the control module to be diagnosed according to the communication protocol corresponding to the control module to be diagnosed by the target communication carrier so as to diagnose the control module to be diagnosed. .
In this embodiment of the application, after the target communication bearer is determined, the terminal device may communicate with the control module to be diagnosed according to the communication protocol corresponding to the control module to be diagnosed through the target communication bearer. Specifically, an automobile gateway may be provided on the vehicle to be diagnosed, and the automobile gateway is connected to an OBD interface on the vehicle to be diagnosed and each control module on the vehicle to be diagnosed. Data sent by the terminal device to the vehicle to be diagnosed through the target communication carrier can reach the automobile gateway through the OBD interface, and the automobile gateway forwards the data to the control module to be diagnosed so as to complete communication between the terminal device and the control module to be diagnosed, and further realize diagnosis of the control module to be diagnosed.
Optionally, the step 303 may specifically include:
a1, generating a diagnosis request;
a2, sending the diagnosis request to a control module to be diagnosed through a target communication carrier so as to obtain response data returned by the control module to be diagnosed;
and A3, executing a diagnosis process based on the response data.
In this embodiment of the present application, a vehicle diagnosis software running on a terminal device may be used to generate a diagnosis request, where the diagnosis request conforms to a communication protocol corresponding to a control module to be diagnosed, for example, if the communication protocol corresponding to the control module to be diagnosed is an ethernet protocol, the vehicle diagnosis software may generate a diagnosis request conforming to the ethernet protocol. Then, the terminal device may send the diagnosis request to the control module to be diagnosed through the target communication carrier, specifically, the diagnosis request may carry a module identifier of the control module to be diagnosed, so that when the automobile gateway receives the diagnosis request, the diagnosis request may be analyzed to obtain the module identifier, and then the diagnosis request is forwarded to the control module to be diagnosed according to the module identifier. And if the control module to be diagnosed receives the diagnosis request, response data can be generated, then the response data are returned to the automobile gateway, and then the automobile gateway sends the response data to the terminal equipment through the target communication carrier. After receiving the response data, the terminal device may execute a diagnosis process based on the response data by using the diagnosis software, for example, the diagnosis software may analyze the response data to identify a fault type of the control module to be diagnosed.
Optionally, the step A1 may specifically include:
generating a detection command for detecting the running state of the control module to be diagnosed;
and packaging the detection command according to a communication protocol corresponding to the control module to be diagnosed to obtain a diagnosis request.
In the embodiment of the present application, a detection command may be generated by using vehicle diagnostic software, where the detection command is used to detect an operation state of a control module to be diagnosed, and here may be understood as obtaining an operation parameter of the control module to be diagnosed. In order to enable the detection command to be successfully transmitted to the control module to be diagnosed, the detection command may be encapsulated according to a communication protocol corresponding to the control module to be diagnosed, so as to obtain a diagnosis request, where the diagnosis request includes a frame header, a frame trailer, and the detection command. After the diagnostic request is obtained by the diagnostic control module, the diagnostic request can be unpacked according to the corresponding communication protocol, so that the detection command in the diagnostic request is obtained. Then, the control module to be diagnosed can execute the detection command, obtain the operation parameters of the control module to be diagnosed, and further generate response data including the operation parameters, and the response data is sent to the terminal device.
Optionally, before the step 301, the method may further include:
acquiring user identity information;
sending a user security authentication request carrying user identity information to a preset server;
receiving a validity verification result sent by a server;
if the validity verification result indicates that the user identity information is valid, allowing the terminal equipment to communicate with the vehicle to be diagnosed;
and if the legality verification result indicates that the user identity information is illegal, the terminal equipment is forbidden to communicate with the vehicle to be diagnosed.
In the embodiment of the application, in order to ensure the safety of the vehicle to be diagnosed, before the vehicle to be diagnosed is diagnosed, user identity information can be obtained, and the user identity information is used for indicating the identity of a user. The user identity information may include a device identifier of the terminal device, a diagnostic box identifier of the diagnostic box, and the like, the device identifier may include a hard disk number of the terminal device and a Media Access Control Address (MAC Address) of the terminal device, and the diagnostic box identifier may include a serial number of the diagnostic box. The terminal device may generate a user security authentication request carrying user identity information, and then send the security authentication request to a preset server. And the server receives the security authentication request, namely, the server carries out validity verification on the user identity information carried in the security authentication request. The validity verification may be to verify whether the user identity information is already registered in the server, determine that the user identity information is not legitimate if the user identity information is not already registered in the server, and determine that the user identity information is legitimate if the user identity information is already registered in the server. The server may send a validity verification result to the terminal device, where the validity verification result is used to indicate whether the user identity information is valid. After receiving the validity verification result sent by the server, the terminal device may determine whether to allow the terminal device to communicate with the vehicle to be diagnosed according to the validity verification result, for example, if the validity verification result indicates that the user identity information is valid, the terminal device is allowed to communicate with the vehicle to be diagnosed, and if the validity verification result indicates that the user identity information is invalid, the terminal device is prohibited from communicating with the vehicle to be diagnosed. Therefore, communication between illegal personnel and the vehicle to be diagnosed can be prevented, and the vehicle information of the vehicle to be diagnosed is prevented from being stolen by the illegal personnel.
Optionally, when the user starts the vehicle diagnosis software in the terminal device for the first time, the vehicle diagnosis software may locally obtain the user identity information from the terminal device, and then send the user identity information to the server to complete the registration. And after the vehicle diagnosis software is started, the vehicle diagnosis software acquires the user identity information from the local and sends the user identity information to the server so as to indicate the server to judge whether the user identity information is registered.
Illustratively, since the communication between the terminal device and the vehicle to be diagnosed needs to be completed by means of vehicle diagnosis software, if the validity verification result indicates that the user identity information is valid, the terminal device may allow the vehicle diagnosis software to run, thereby implementing the operation of allowing the terminal device to communicate with the vehicle to be diagnosed; if the validity verification result indicates that the user identity information is illegal, the terminal equipment can prohibit the vehicle diagnosis software from running, so that the operation of prohibiting the terminal equipment from communicating with the vehicle to be diagnosed is realized.
As can be seen from the above, in the solution of the present application, a communication protocol corresponding to a control module to be diagnosed in a vehicle to be diagnosed is first obtained, then, according to the communication protocol corresponding to the control module to be diagnosed, one of the diagnosis box and the additional communication line is determined as a target communication bearer, and finally, the control module to be diagnosed is communicated with the target communication bearer according to the communication protocol corresponding to the control module to be diagnosed, so as to implement diagnosis of the control module to be diagnosed. According to the scheme, the terminal equipment and the vehicle to be diagnosed are connected through the diagnosis box and the additional communication line respectively, so that the terminal equipment can be communicated with the vehicle to be diagnosed based on a new communication protocol (namely, the communication protocol which is not supported by the diagnosis box) by using the additional communication line, diagnosis of the control module to be diagnosed is realized, a user can be prevented from replacing the existing diagnosis box, convenience in operation is brought to the user, and the capital investment cost of the user is reduced.
The embodiment of the application also provides a vehicle diagnosis device corresponding to the vehicle diagnosis method provided above. As shown in fig. 4, the vehicle diagnostic apparatus 400 in the embodiment of the present application includes:
a protocol obtaining unit 401, configured to obtain a communication protocol corresponding to a control module to be diagnosed in the vehicle to be diagnosed;
a carrier determining unit 402, configured to determine, according to a communication protocol corresponding to the control module to be diagnosed, one of the diagnostic box and the additional communication line as a target communication carrier;
a communication diagnosis unit 403, configured to communicate with the control module to be diagnosed according to a communication protocol corresponding to the control module to be diagnosed through the target communication carrier, so as to implement diagnosis of the control module to be diagnosed.
Optionally, the carrier determining unit 402 includes:
a preset protocol judging subunit, configured to judge whether a communication protocol corresponding to the control module to be diagnosed is a preset communication protocol;
a first carrier determining subunit, configured to determine, if a communication protocol corresponding to the control module to be diagnosed is the preset communication protocol, the additional communication line as the target communication carrier;
and a second carrier determination subunit, configured to determine, if the communication protocol corresponding to the control module to be diagnosed is not the preset communication protocol, that the diagnostic box is the target communication carrier.
Optionally, the communication diagnosis unit 403 includes:
a request generation subunit, configured to generate a diagnosis request, where the diagnosis request conforms to a communication protocol corresponding to the control module to be diagnosed;
a request sending subunit, configured to send the diagnosis request to the control module to be diagnosed through the target communication bearer, so as to obtain response data returned by the control module to be diagnosed;
and the diagnosis execution subunit is used for executing a diagnosis process based on the response data.
Optionally, the request generating subunit includes:
the command generation subunit is used for generating a detection command for detecting the running state of the control module to be diagnosed;
and the command encapsulation subunit is used for encapsulating the detection command according to the communication protocol corresponding to the control module to be diagnosed to obtain the diagnosis request.
Optionally, the vehicle diagnostic apparatus 400 further includes:
a user identity information obtaining unit for obtaining user identity information;
a security authentication request sending unit, configured to send a user security authentication request carrying the user identity information to a preset server, where the user security authentication request is used to request the server to perform validity verification on the user identity information;
a validity result receiving unit, configured to receive a validity verification result sent by the server;
a first communication control unit, configured to allow the terminal device to communicate with the vehicle to be diagnosed if the validity verification result indicates that the user identity information is valid;
and the second communication control unit is used for forbidding the terminal equipment to communicate with the vehicle to be diagnosed if the legality verification result indicates that the user identity information is illegal.
Optionally, the protocol acquiring unit 401 includes:
the system comprises a configuration file acquisition subunit, a configuration file acquisition subunit and a diagnosis processing subunit, wherein the configuration file acquisition subunit is used for acquiring a preset configuration file, and the configuration file comprises communication protocols corresponding to all control modules in the vehicle to be diagnosed;
and the communication protocol reading subunit is used for reading the communication protocol corresponding to the control module to be diagnosed from the configuration file.
Optionally, the protocol acquiring unit 401 includes:
the connection subunit is used for connecting the control module to be diagnosed with the additional communication line according to a preset communication protocol;
a first protocol determining subunit, configured to determine, if the connection is successful, that a communication protocol corresponding to the control module to be diagnosed is the preset communication protocol;
and the second protocol determining subunit is configured to determine, if the connection fails, that the communication protocol corresponding to the control module to be diagnosed is the communication protocol supported by the diagnostic box.
As can be seen from the above, in the solution of the present application, a communication protocol corresponding to a control module to be diagnosed in a vehicle to be diagnosed is first obtained, then, according to the communication protocol corresponding to the control module to be diagnosed, one of the diagnosis box and the additional communication line is determined as a target communication bearer, and finally, the control module to be diagnosed is communicated with the target communication bearer according to the communication protocol corresponding to the control module to be diagnosed, so as to implement diagnosis of the control module to be diagnosed. According to the scheme, the terminal equipment and the vehicle to be diagnosed are connected through the diagnosis box and the additional communication line respectively, so that the terminal equipment can be communicated with the vehicle to be diagnosed based on a new communication protocol (namely, the communication protocol which is not supported by the diagnosis box) by using the additional communication line, diagnosis of the control module to be diagnosed is realized, the existing diagnosis box can be prevented from being replaced by a user, convenience in operation is brought to the user, and the fund input cost of the user is reduced.
Corresponding to the vehicle diagnosis method provided above, an embodiment of the present application further provides a terminal device, please refer to fig. 5, where the terminal device 5 in the embodiment of the present application includes: a memory 501, one or more processors 502 (only one shown in fig. 5), and a computer program stored on the memory 501 and executable on the processors. Wherein: the memory 501 is used for storing software programs and units, and the processor 502 executes various functional applications and data processing by running the software programs and units stored in the memory 501, so as to acquire resources corresponding to the preset events. Specifically, the processor 502 realizes the following steps by running the above-mentioned computer program stored in the memory 501:
acquiring a communication protocol corresponding to a control module to be diagnosed in the vehicle to be diagnosed;
according to the communication protocol corresponding to the control module to be diagnosed, determining one of the diagnosis box and the additional communication line as a target communication carrier;
and communicating with the control module to be diagnosed according to the communication protocol corresponding to the control module to be diagnosed by the target communication carrier so as to diagnose the control module to be diagnosed.
Assuming that the above is the first possible implementation, in a second possible implementation provided based on the first possible implementation, the determining, according to the communication protocol corresponding to the control module to be diagnosed, one of the diagnostic box and the additional communication line as a target communication bearer includes:
judging whether the communication protocol corresponding to the control module to be diagnosed is a preset communication protocol or not;
if the communication protocol corresponding to the control module to be diagnosed is the preset communication protocol, determining the additional communication line as the target communication carrier;
and if the communication protocol corresponding to the control module to be diagnosed is not the preset communication protocol, determining the diagnosis box as the target communication carrier.
In a third possible implementation manner based on the first possible implementation manner, the performing, by the target communication carrier, communication with the control module to be diagnosed according to a communication protocol corresponding to the control module to be diagnosed to implement diagnosis of the control module to be diagnosed includes:
generating a diagnosis request, wherein the diagnosis request conforms to a communication protocol corresponding to the control module to be diagnosed;
sending the diagnosis request to the control module to be diagnosed through the target communication carrier so as to obtain response data returned by the control module to be diagnosed;
and executing a diagnosis process based on the response data.
In a fourth possible embodiment based on the third possible embodiment, the generating a diagnosis request includes:
generating a detection command for detecting the running state of the control module to be diagnosed;
and encapsulating the detection command according to a communication protocol corresponding to the control module to be diagnosed to obtain the diagnosis request.
In a fifth possible implementation manner provided based on the first possible implementation manner, the acquiring a communication protocol corresponding to a control module to be diagnosed in the vehicle to be diagnosed includes:
acquiring a preset configuration file, wherein the configuration file comprises communication protocols corresponding to all control modules in the vehicle to be diagnosed;
and reading the communication protocol corresponding to the control module to be diagnosed from the configuration file.
In a sixth possible implementation manner provided based on the first possible implementation manner, the acquiring a communication protocol corresponding to a control module to be diagnosed in the vehicle to be diagnosed includes:
the additional communication line is connected with the control module to be diagnosed according to a preset communication protocol;
if the connection is successful, determining that the communication protocol corresponding to the control module to be diagnosed is the preset communication protocol;
and if the connection fails, determining that the communication protocol corresponding to the control module to be diagnosed is the communication protocol supported by the diagnosis box.
In a seventh possible implementation manner provided on the basis of the first possible implementation manner, the second possible implementation manner, the third possible implementation manner, the fourth possible implementation manner, the fifth possible implementation manner, or the sixth possible implementation manner, before the communication protocol corresponding to the control module to be diagnosed in the vehicle to be diagnosed is obtained, the processor 502 further implements the following steps when running the computer program stored in the memory 501:
acquiring user identity information;
sending a user security authentication request carrying the user identity information to a preset server, wherein the user security authentication request is used for requesting the server to carry out validity verification on the user identity information;
receiving a validity verification result sent by the server;
if the validity verification result indicates that the user identity information is valid, allowing the terminal equipment to communicate with the vehicle to be diagnosed;
and if the validity verification result indicates that the user identity information is illegal, the terminal equipment is prohibited from communicating with the vehicle to be diagnosed.
It should be understood that in the embodiments of the present Application, the Processor 502 may be a Central Processing Unit (CPU), and the Processor may be other general-purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Memory 501 may include both read-only memory and random access memory and provides instructions and data to processor 502. Some or all of the memory 501 may also include non-volatile random access memory. For example, the memory 501 may also store device class information.
As can be seen from the above, in the present application, a communication protocol corresponding to a control module to be diagnosed in a vehicle to be diagnosed is first obtained, then one of the diagnostic box and the additional communication line is determined as a target communication carrier according to the communication protocol corresponding to the control module to be diagnosed, and finally, the target communication carrier communicates with the control module to be diagnosed according to the communication protocol corresponding to the control module to be diagnosed, so as to implement diagnosis of the control module to be diagnosed. According to the scheme, the terminal equipment and the vehicle to be diagnosed are connected through the diagnosis box and the additional communication line respectively, so that the terminal equipment can be communicated with the vehicle to be diagnosed based on a new communication protocol (namely, the communication protocol which is not supported by the diagnosis box) by using the additional communication line, diagnosis of the control module to be diagnosed is realized, the existing diagnosis box can be prevented from being replaced by a user, convenience in operation is brought to the user, and the fund input cost of the user is reduced.
It should be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional units and modules is only used for illustration, and in practical applications, the above functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement all or part of the above described functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. For the specific working processes of the units and modules in the system, reference may be made to the corresponding processes in the foregoing method embodiments, which are not described herein again.
In the above embodiments, the description of each embodiment has its own emphasis, and reference may be made to the related description of other embodiments for parts that are not described or recited in any embodiment.
Those of ordinary skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of external device software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the above modules or units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The integrated unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer-readable storage medium may include: any entity or device capable of carrying the above-described computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer readable Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the computer-readable storage media described above may be appropriately increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer-readable storage media may not include electrical carrier signals or telecommunication signals in accordance with legislation and patent practice.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the embodiments of the present application, and they should be construed as being included in the present application.

Claims (9)

1. A vehicle diagnosis method applied to terminal devices connected to a vehicle to be diagnosed through a diagnosis box and an additional communication line, respectively, the diagnosis box supporting a communication protocol different from a communication protocol supported by the additional communication line, the vehicle diagnosis method comprising:
acquiring a communication protocol corresponding to a control module to be diagnosed in the vehicle to be diagnosed;
according to a communication protocol corresponding to the control module to be diagnosed, determining one of the diagnosis box and the additional communication line as a target communication carrier;
communicating with the control module to be diagnosed according to a communication protocol corresponding to the control module to be diagnosed by the target communication carrier so as to diagnose the control module to be diagnosed;
before the obtaining of the communication protocol corresponding to the control module to be diagnosed in the vehicle to be diagnosed, the vehicle diagnosis method further includes:
acquiring user identity information;
sending a user security authentication request carrying the user identity information to a preset server, wherein the user security authentication request is used for requesting the server to carry out validity verification on the user identity information, and the validity verification is to verify whether the user identity information is registered in the server;
receiving a validity verification result sent by the server;
if the legality verification result indicates that the user identity information is legal, allowing the terminal equipment to communicate with the vehicle to be diagnosed, wherein the fact that the user identity information is legal means that the user identity information is registered in the server;
and if the validity verification result indicates that the user identity information is illegal, the terminal equipment is prohibited from communicating with the vehicle to be diagnosed.
2. The vehicle diagnostic method according to claim 1, wherein the determining one of the diagnostic box and the additional communication line as a target communication bearer according to a communication protocol corresponding to the control module to be diagnosed comprises:
judging whether a communication protocol corresponding to the control module to be diagnosed is a preset communication protocol or not;
if the communication protocol corresponding to the control module to be diagnosed is the preset communication protocol, determining the additional communication line as the target communication carrier;
and if the communication protocol corresponding to the control module to be diagnosed is not the preset communication protocol, determining the diagnosis box as the target communication carrier.
3. The vehicle diagnosis method according to claim 1, wherein the communicating with the control module to be diagnosed according to the communication protocol corresponding to the control module to be diagnosed through the target communication carrier to implement the diagnosis of the control module to be diagnosed comprises:
generating a diagnosis request, wherein the diagnosis request conforms to a communication protocol corresponding to the control module to be diagnosed;
sending the diagnosis request to the control module to be diagnosed through the target communication carrier so as to obtain response data returned by the control module to be diagnosed;
a diagnostic procedure is performed based on the response data.
4. The vehicle diagnostic method of claim 3, wherein said generating a diagnostic request comprises:
generating a detection command for detecting the running state of the control module to be diagnosed;
and encapsulating the detection command according to a communication protocol corresponding to the control module to be diagnosed to obtain the diagnosis request.
5. The vehicle diagnosis method according to claim 1, wherein the obtaining of the communication protocol corresponding to the control module to be diagnosed in the vehicle to be diagnosed comprises:
acquiring a preset configuration file, wherein the configuration file comprises communication protocols corresponding to all control modules in the vehicle to be diagnosed;
and reading the communication protocol corresponding to the control module to be diagnosed from the configuration file.
6. The vehicle diagnosis method according to claim 1, wherein the obtaining of the communication protocol corresponding to the control module to be diagnosed in the vehicle to be diagnosed comprises:
the additional communication line is connected with the control module to be diagnosed according to a preset communication protocol;
if the connection is successful, determining that the communication protocol corresponding to the control module to be diagnosed is the preset communication protocol;
and if the connection fails, determining that the communication protocol corresponding to the control module to be diagnosed is the communication protocol supported by the diagnosis box.
7. A vehicular diagnostic apparatus characterized by being applied to terminal devices that are connected to a vehicle to be diagnosed through a diagnostic box and an additional communication line, respectively, the diagnostic box supporting a communication protocol different from that supported by the additional communication line, the vehicular diagnostic apparatus comprising:
the protocol acquisition unit is used for acquiring a communication protocol corresponding to a control module to be diagnosed in the vehicle to be diagnosed;
a carrier determining unit, configured to determine, according to a communication protocol corresponding to the control module to be diagnosed, one of the diagnostic box and the additional communication line as a target communication carrier;
the communication diagnosis unit is used for communicating with the control module to be diagnosed according to a communication protocol corresponding to the control module to be diagnosed through the target communication carrier so as to realize the diagnosis of the control module to be diagnosed;
the vehicle diagnostic apparatus further includes:
the user identity information acquisition unit is used for acquiring user identity information;
a security authentication request sending unit, configured to send a user security authentication request carrying the user identity information to a preset server, where the user security authentication request is used to request the server to perform validity verification on the user identity information, and the validity verification is to verify whether the user identity information is already registered in the server;
a validity result receiving unit, configured to receive a validity verification result sent by the server;
a first communication control unit, configured to allow the terminal device to communicate with the vehicle to be diagnosed if the validity verification result indicates that the user identity information is valid, where the validity of the user identity information indicates that the user identity information is registered in the server;
and the second communication control unit is used for forbidding the terminal equipment to communicate with the vehicle to be diagnosed if the legality verification result indicates that the user identity information is illegal.
8. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 6.
CN202010953150.XA 2020-09-11 2020-09-11 Vehicle diagnosis method, vehicle diagnosis device and terminal equipment Active CN112217799B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010953150.XA CN112217799B (en) 2020-09-11 2020-09-11 Vehicle diagnosis method, vehicle diagnosis device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010953150.XA CN112217799B (en) 2020-09-11 2020-09-11 Vehicle diagnosis method, vehicle diagnosis device and terminal equipment

Publications (2)

Publication Number Publication Date
CN112217799A CN112217799A (en) 2021-01-12
CN112217799B true CN112217799B (en) 2023-02-24

Family

ID=74050118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010953150.XA Active CN112217799B (en) 2020-09-11 2020-09-11 Vehicle diagnosis method, vehicle diagnosis device and terminal equipment

Country Status (1)

Country Link
CN (1) CN112217799B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115032972B (en) * 2022-08-10 2022-11-15 深圳市星卡软件技术开发有限公司 Vehicle diagnostic data communication method, device, electronic equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885191A (en) * 2017-11-21 2018-04-06 山推工程机械股份有限公司 A kind of method for diagnosing faults and device applied to Mechanical Engineering Body
CN108107875A (en) * 2018-01-25 2018-06-01 深圳市道通科技股份有限公司 A kind of vehicle diagnosis method, device and vehicle communication interface
CN109698862A (en) * 2018-12-17 2019-04-30 深圳市道通科技股份有限公司 Diagnostic method, management server and the diagnosis server of vehicle
CN110716535A (en) * 2019-11-06 2020-01-21 深圳市道通科技股份有限公司 Automobile diagnosis device, system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885191A (en) * 2017-11-21 2018-04-06 山推工程机械股份有限公司 A kind of method for diagnosing faults and device applied to Mechanical Engineering Body
CN108107875A (en) * 2018-01-25 2018-06-01 深圳市道通科技股份有限公司 A kind of vehicle diagnosis method, device and vehicle communication interface
CN109698862A (en) * 2018-12-17 2019-04-30 深圳市道通科技股份有限公司 Diagnostic method, management server and the diagnosis server of vehicle
CN110716535A (en) * 2019-11-06 2020-01-21 深圳市道通科技股份有限公司 Automobile diagnosis device, system and method

Also Published As

Publication number Publication date
CN112217799A (en) 2021-01-12

Similar Documents

Publication Publication Date Title
CN111208800B (en) Automobile diagnosis method and device and vehicle communication interface
JP7170780B2 (en) Fraud detection rule update method, fraud detection electronic control unit, and in-vehicle network system
CN105589719B (en) system for remotely upgrading whole vehicle-mounted controller software and upgrading method
CN109656172B (en) Method and device for obtaining baud rate
CN110162009B (en) Fault diagnosis method, information determination method, corresponding device and equipment
CN107765676A (en) A kind of onboard diagnostic system and its method based on Ethernet
CN106464566B (en) Network system, communication control method, and storage medium
CN111538312B (en) Vehicle remote diagnosis method, system, equipment connector and vehicle connector
US11475721B2 (en) Method for performing vehicle remote diagnosis and related devices
US10803681B2 (en) Server side security preventing spoofing of vin provisioning service
US20170155679A1 (en) Method of preventing drive-by hacking, and apparatus and system therefor
CN111316083B (en) Vehicle diagnosis method, intelligent diagnosis device and vehicle data server
US20150043594A1 (en) Gateway apparatus and message routing method
CN201965482U (en) Sorting and authorizing system of vehicle failure diagnosis functions
CN112423266B (en) Vehicle diagnosis method and device and automobile
CN113038421A (en) Automobile diagnosis method, automobile diagnosis device and automobile gateway
CN105005539A (en) Authenticating data at a microcontroller using message authentication codes
CN112217799B (en) Vehicle diagnosis method, vehicle diagnosis device and terminal equipment
CN113406944B (en) Vehicle diagnosis method, device, equipment and computer readable storage medium
CN112235263B (en) Diagnostic device security authentication method, server, vehicle, and storage medium
CN116069001A (en) Remote debugging method and system for automobile ECU
CN112291739A (en) WiFi (Wireless Fidelity) online method, system and medium for intelligent terminal and vehicle-mounted terminal and T-BOX (T-BOX)
CN115903758A (en) Remote diagnosis system, method, electronic device, and storage medium
CN115225481B (en) Gateway diagnosis route configuration method and device, vehicle-mounted gateway, vehicle and medium
Subke et al. Measures to prevent unauthorized access to the in-vehicle e/e system, due to the security vulnerability of a remote diagnostic tester

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant