Vehicle diagnosis method and device, computer equipment and storage medium

By connecting the vehicle to the WIFI network and performing certificate certification, the problem of cumbersome connection between vehicle diagnostic equipment and vehicles in the prior art is solved, and a more efficient and safer vehicle diagnosis process is achieved.

CN119997022APending Publication Date: 2025-05-13ZHEJIANG GEELY HLDG GRP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510164549.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-14
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

In the prior art, the connection between the vehicle diagnostic equipment and the vehicle's diagnostic interface needs to be passed through a wiring harness, which is complicated to operate, resulting in poor convenience of vehicle diagnosis.

Method used

When the detection instructions indicate that the target vehicle is required to diagnose the target vehicle, the target vehicle is connected to the target WIFI network, the WIFI network is used for certificate authentication, and the diagnostic tasks are performed through the certified network, avoiding the cumbersome operation of wiring harness connection.

Benefits of technology

It improves the convenience of vehicle diagnosis, simplifies the connection process between diagnostic equipment and vehicle, and at the same time improves the safety of diagnosis through certificate certification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119997022A_ABST
    Figure CN119997022A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicles, and discloses a vehicle diagnosis method and system, computer equipment and a storage medium, and the method comprises the steps: enabling a target vehicle to be connected with a target WIFI network when an operation indicating that the target vehicle needs to be diagnosed is detected; sending a first certificate related to the target vehicle to a server for diagnosis through the target WIFI network, so that the server for diagnosis performs first authentication for the first certificate; when the first authentication is passed, a second certificate related to the target vehicle is sent to the target diagnosis equipment through the target WIFI network, so that the target diagnosis equipment performs second authentication for the second certificate, and the second certificate is different from the first certificate; and when the second authentication is passed, executing a diagnosis task for the target vehicle through the target WIFI network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a vehicle diagnosis method, device, computer equipment and storage medium. Background Art

[0002] In the related art, before diagnosing a vehicle to be diagnosed, the user of the diagnostic device connects the diagnostic device to the diagnostic interface of the vehicle to be diagnosed through a wiring harness. The operation of connecting the diagnostic device to the diagnostic interface of the vehicle to be diagnosed through a wiring harness is relatively cumbersome, resulting in poor convenience of vehicle diagnosis. How to improve the convenience of vehicle diagnosis has become a problem that needs to be solved. Summary of the invention

[0003] In view of this, embodiments of the present application provide a vehicle diagnosis method, apparatus, computer device, and storage medium.

[0004] In a first aspect, an embodiment of the present application provides a vehicle diagnosis method, the method comprising:

[0005] When an operation indicating that a diagnosis of the target vehicle is required is detected, connecting the target vehicle to the target WIFI network;

[0006] Sending a first certificate related to the target vehicle to a server for diagnosis through a target WIFI network, so that the server for diagnosis performs a first authentication on the first certificate;

[0007] When the first authentication is passed, sending a second certificate related to the target vehicle to the target diagnostic device through the target WIFI network, so that the target diagnostic device performs a second authentication on the second certificate, wherein the second certificate is different from the first certificate;

[0008] When the second authentication is passed, a diagnostic task for the target vehicle is performed through the target WIFI network.

[0009] In a possible implementation manner, the second certificate has a validity period set by a user of the target diagnostic device, and the second certificate is valid within the validity period of the second certificate; and

[0010] Prior to detecting an operation indicating a need for diagnosis of the target vehicle, further comprising:

[0011] The second certificate sent by the target diagnostic device is received.

[0012] In a possible implementation, performing a diagnostic task for a target vehicle through a target WIFI network includes:

[0013] Encrypting the diagnostic data of the electronic control unit involved in vehicle diagnosis of the target vehicle to obtain the encrypted diagnostic data of the electronic control unit involved in vehicle diagnosis;

[0014] The encrypted data for diagnosis is sent to the target diagnostic device via the target WIFI network.

[0015] In a possible implementation, the method further includes: during the execution of the diagnostic task for the target vehicle, displaying a reminder message indicating that the target vehicle is in a diagnostic state on a screen of the target vehicle.

[0016] In one possible implementation, the method further includes: when it is detected that the target vehicle is abnormally disconnected from the target WIFI network during the execution of the diagnostic task for the target vehicle, performing a reconnection operation for reconnecting the target vehicle to the target WIFI network, wherein the diagnostic task for the target vehicle during the reconnection operation is stopped due to the abnormal disconnection between the target vehicle and the target WIFI network; when the target vehicle is reconnected to the target WIFI network, continuing to execute the diagnostic task for the target vehicle.

[0017] In one possible implementation, the method further includes: during the reconnection operation, receiving a diagnostic status maintenance signal sent by a gateway of the target vehicle indicating that the target vehicle is in a diagnostic status, so as to maintain the recorded status of the target vehicle in a diagnostic status according to the diagnostic status maintenance signal.

[0018] In a second aspect, an embodiment of the present application provides a vehicle diagnostic device, the vehicle diagnostic device comprising:

[0019] a connection unit, configured to connect the target vehicle to a target WIFI network when an operation indicating that a diagnosis of the target vehicle is required is detected;

[0020] A first sending unit, configured to send a first certificate related to a target vehicle to a server for diagnosis through a target WIFI network, so that the server for diagnosis performs a first authentication on the first certificate;

[0021] a second sending unit, configured to send, when the first authentication is passed, a second certificate related to the target vehicle to a target diagnostic device through a target WIFI network, so that the target diagnostic device performs a second authentication on the second certificate, wherein the second certificate is different from the first certificate;

[0022] The diagnostic unit is used to perform a diagnostic task for the target vehicle through the target WIFI network when the second authentication is passed.

[0023] In a possible implementation, the second certificate has a validity period set by a user of the target diagnostic device, and the second certificate is valid during the validity period of the second certificate; and the vehicle diagnostic device further includes:

[0024] The second certificate receiving unit is configured to receive the second certificate sent by the target diagnostic device before detecting an operation indicating that the target vehicle needs to be diagnosed.

[0025] In one possible implementation, the diagnostic unit is also used to encrypt the diagnostic data of the electronic control unit involved in vehicle diagnosis of the target vehicle, and obtain the encrypted diagnostic data of the electronic control unit involved in vehicle diagnosis; and send the encrypted diagnostic data to the target diagnostic device through the target WIFI network.

[0026] In a possible implementation, the vehicle diagnostic device further includes:

[0027] The reminder unit is used to display reminder information indicating that the target vehicle is in a diagnosis state on a screen of the target vehicle during the execution of a diagnosis task for the target vehicle.

[0028] In a possible implementation, the vehicle diagnostic device further includes:

[0029] A reconnection unit is used to perform a reconnection operation for reconnecting the target vehicle to the target WIFI network when it is detected that the target vehicle is abnormally disconnected from the target WIFI network during the execution of the diagnostic task for the target vehicle, wherein the diagnostic task for the target vehicle during the execution of the reconnection operation is stopped due to the abnormal disconnection between the target vehicle and the target WIFI network; when the target vehicle is reconnected to the target WIFI network, the diagnostic task for the target vehicle is continued.

[0030] In a possible implementation, the vehicle diagnostic device further includes:

[0031] The diagnostic state maintaining unit is used to receive a diagnostic state maintaining signal sent by the gateway of the target vehicle indicating that the target vehicle is in a diagnostic state during the execution of the reconnection operation, so as to maintain the recorded state of the target vehicle in the diagnostic state according to the diagnostic state maintaining signal.

[0032] In a third aspect, an embodiment of the present application provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, computer instructions being stored in the memory, and the processor executing the method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0033] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method of the first aspect or any corresponding embodiment thereof.

[0034] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the method of the first aspect or any corresponding embodiment thereof.

[0035] The vehicle diagnostic method provided by the embodiment of the present application, on the one hand, when an operation indicating that a target vehicle needs to be diagnosed is detected, the target vehicle is connected to a target WIFI network; a first certificate related to the target vehicle is sent to a server for diagnosis through the target WIFI network, so that the server for diagnosis performs a first authentication for the first certificate related to the target vehicle; when the first authentication passes, a second certificate related to the target vehicle is sent to a target diagnostic device through the target WIFI network, so that the diagnostic device performs a second authentication for the second certificate related to the target vehicle; when the second authentication passes, a diagnostic task for the target vehicle is performed through the target WIFI network. The user of the diagnostic device is not required to perform the cumbersome operation of connecting the diagnostic device to the diagnostic interface of the vehicle to be diagnosed through a wiring harness, thereby improving the convenience of vehicle diagnosis.

[0036] On the other hand, the passing of the first authentication can indicate that the server used for diagnosis determines that the target vehicle is authorized for diagnosis, and the passing of the second authentication can indicate that the target diagnostic device determines that the target vehicle is authorized for diagnosis. The server used for diagnosis and the diagnostic device use different certificates to determine whether the target vehicle is authorized for diagnosis. The target vehicle can only perform the diagnostic task if both the first authentication and the second authentication are passed, thereby improving the safety of vehicle diagnosis.

[0037] On the other hand, it is also considered that: because the server for diagnosis does not record that the vehicle to be diagnosed is authorized for diagnosis, the server for diagnosis cannot determine whether the vehicle to be diagnosed is authorized for diagnosis, and the server for diagnosis cannot be used for the diagnosis of the vehicle to be diagnosed, resulting in the inability to diagnose the vehicle to be diagnosed. In a common situation, the server for diagnosis is applied to the diagnosis of vehicles sold in the area corresponding to the server for diagnosis. The server for diagnosis records that the vehicles sold in the area corresponding to the server for diagnosis are authorized for diagnosis. For vehicles sold in areas outside the area corresponding to the server for diagnosis, it may be because the server for diagnosis does not record that the vehicles sold in areas outside the area corresponding to the server for diagnosis are authorized for diagnosis, the server for diagnosis cannot determine whether the vehicles sold in areas outside the area corresponding to the server for diagnosis are authorized for diagnosis, and the server for diagnosis cannot be used for the diagnosis of vehicles sold in areas outside the area corresponding to the server for diagnosis, resulting in the inability to diagnose vehicles sold in areas outside the area corresponding to the server for diagnosis. As an example, when a domestically sold vehicle from the same manufacturer travels overseas, the overseas diagnostic server of the same manufacturer does not record that the vehicle is authorized for diagnosis. As a result, when the domestically sold vehicle from the same manufacturer travels overseas, the overseas diagnostic server of the same manufacturer cannot determine whether the vehicle is authorized for diagnosis and cannot be used to diagnose the domestically sold vehicle, resulting in the inability to diagnose the domestically sold vehicle from the same manufacturer.

[0038] In the vehicle diagnosis method provided in the embodiment of the present application, a first certificate related to the target vehicle is sent to a server for diagnosis through a target WIFI network, so that the server for diagnosis performs a first authentication on the first certificate related to the target vehicle. Thus, even if the server for diagnosis does not record that the target vehicle is authorized to be diagnosed, the first authentication can be passed to enable the server for diagnosis to determine that the target vehicle is authorized to be diagnosed, thereby avoiding the situation where the target vehicle cannot be diagnosed because the server for diagnosis does not pre-record that the target vehicle is authorized to be diagnosed. In other words, even if the server for diagnosis does not pre-record that the target vehicle is authorized to be diagnosed, the target vehicle can still be diagnosed. The convenience of vehicle diagnosis is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technical users in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0040] Figure 1 is a schematic diagram of an example architecture to which the vehicle diagnostic method provided in an embodiment of the present application is applied;

[0041] Figure 2 is a flow chart of a vehicle diagnostic method provided in an embodiment of the present application;

[0042] Figure 3 is a flow chart of another vehicle diagnostic method provided by an embodiment of the present application;

[0043] Figure 4 is a flowchart of an example of performing vehicle diagnosis by the vehicle diagnosis method provided by an embodiment of the present application;

[0044] Figure 5 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by technical users in the field without creative work are within the scope of protection of this application.

[0046] refer to Figure 1 , which shows a schematic diagram of an example architecture to which the vehicle diagnostic method provided in an embodiment of the present application is applied.

[0047] The example architecture includes: a target diagnostic device, a target vehicle, and a server for diagnosis. The target vehicle includes: a vehicle computer, a gateway (VGM), ECU1, ECU2...ECUN, and multiple electronic control units (Electronic Control Unit, referred to as ECU) involved in vehicle diagnosis. The vehicle computer of the target vehicle includes: a WIFI module, a system-on-chip (System on Chip, referred to as SoC). It should be noted that the target vehicle computer can also be called an audio host. The SOC of the vehicle computer of the target vehicle is used to execute the instructions of the vehicle diagnostic method provided in the embodiment of the present application.

[0048] The full name of WIFI is Wireless Fidelity. WIFI is a wireless network technology based on the IEEE 802.11 series standards.

[0049] The target diagnostic device and the WIFI module of the target vehicle are connected to the same WIFI network. Before the WIFI module of the target vehicle is connected to the same WIFI network, the WIFI module of the target vehicle searches for WIFI hotspots. The WIFI module of the vehicle may search for multiple WIFI hotspots, each of which belongs to a different WIFI network among the multiple WIFI networks. The WIFI module of the target vehicle connects to the WIFI hotspot of the searched target WIFI network, thereby connecting the target vehicle to the target WIFI network.

[0050] The target vehicle is selected by a user of the target diagnostic device from a list of vehicles including the target vehicle. When multiple vehicles including the target vehicle are connected to the target WIFI network, the list of vehicles is displayed on the screen of the target diagnostic device. The user using the diagnostic device selects the target vehicle from the list of vehicles including the target vehicle. During the diagnosis of the target vehicle, the WIFI module of the target vehicle receives a diagnostic instruction from the target diagnostic device through the same WIFI network. The gateway of the target vehicle sends a diagnostic instruction to an ECU of the target vehicle that participates in vehicle diagnosis to trigger the ECU of the target vehicle that participates in vehicle diagnosis to send data for diagnosis to the gateway of the target vehicle.

[0051] The server for diagnosis can be used to record the diagnosis result of the target vehicle. The server for diagnosis can also be used to provide the diagnostic device with data related to the diagnosis of the vehicle to be diagnosed, such as the diagnosis process.

[0052] refer to Figure 2 , which shows a flow chart of the vehicle diagnostic method provided in the embodiment of the present application. The vehicle diagnostic method provided in the embodiment of the present application can be executed by a computer device on the target vehicle. For example, the method can be executed by a computer device of a vehicle computer of the target vehicle. The target vehicle can be any vehicle to which the vehicle diagnostic method provided in the embodiment of the present application can be applied.

[0053] In step S201, when an operation indicating that a diagnosis of a target vehicle is required is detected, the target vehicle is connected to a target WIFI network.

[0054] Before the target vehicle is connected to the target WIFI network, the target diagnostic device has been connected to the target WIFI network.

[0055] Once an operation indicating that a diagnosis of the target vehicle is required is detected, the WIFI module of the target vehicle can be turned on. Once the WIFI module of the target vehicle is turned on, the WIFI module of the target vehicle can be used to connect to the target WIFI network.

[0056] Before the WIFI module of the target vehicle connects to the target WIFI network, the WIFI module of the target vehicle searches for WIFI hotspots. The WIFI module of the vehicle may search for multiple WIFI hotspots, each of which belongs to a different WIFI network among the multiple WIFI networks. The WIFI module of the target vehicle connects to the WIFI hotspot of the searched target WIFI network, thereby connecting the target vehicle to the target WIFI network.

[0057] In a possible implementation, the target WIFI network is a WIFI network with the best signal quality among the multiple WIFI networks.

[0058] In a possible implementation, the operation indicating that the target vehicle needs to be diagnosed is: when the main driving door of the target vehicle is open, the person involved in the diagnosis of the target vehicle presses the vehicle diagnosis-related key on the vehicle multiple times within a time period with a preset duration. As an example, the operation indicating that the target vehicle needs to be diagnosed is: pressing the central locking key of the armrest box of the target vehicle three times within a time period with a duration of three seconds.

[0059] In another possible implementation, the operation of indicating that the target vehicle needs to be diagnosed is: a person involved in the diagnosis of the target vehicle clicks a button related to the diagnosis of the vehicle displayed on the screen of the target vehicle.

[0060] In step S202 , a first certificate related to the target vehicle is sent to a server for diagnosis through a target WIFI network, so that the server for diagnosis performs a first authentication on the first certificate related to the target vehicle.

[0061] The first certificate related to the target vehicle is pre-stored in a non-volatile storage medium of a computer device that executes the vehicle diagnostic method provided in an embodiment of the present application before step S201.

[0062] In a possible implementation, the first certificate related to the target vehicle is downloaded from a server that provides a certificate of the type to which the first certificate belongs before step S201.

[0063] The first certificate associated with the target vehicle may be any certificate that can be used to authenticate the identity of the device that sends the first certificate associated with the target vehicle. The authentication step of the first authentication is defined by the protocol on which the first certificate associated with the target vehicle is based.

[0064] When the server for diagnosis performs the first authentication for the first certificate related to the target vehicle, the server for diagnosis executes an authentication step of the first authentication defined by the protocol based on which the first certificate related to the target vehicle is based.

[0065] In one possible implementation, the first certificate related to the target vehicle is an OCSP certificate based on the Online Certificate Status Protocol (OCSP). The first certificate related to the target vehicle based on the OCSP protocol includes: a vehicle identification number (VIN) of the target vehicle. The first authentication includes: the server for diagnosis determines whether the received VIN of the target vehicle is consistent with the VIN of the target vehicle pre-stored in the server for diagnosis.

[0066] In step S203, when the first authentication is passed, a second certificate related to the target vehicle is sent to the target diagnostic device through the target WIFI network, so that the target diagnostic device performs a second authentication on the second certificate related to the target vehicle.

[0067] Among them, passing the first authentication can also be called the first certificate passing the first authentication.

[0068] It should be noted that, when the first authentication is passed, the server for diagnosis may send notification information to the target diagnosis device to notify the target diagnosis device that the first authentication is passed.

[0069] The first authentication pass may indicate that the server for diagnosis determines that the target vehicle is authorized to be diagnosed.

[0070] The second certificate related to the target vehicle is pre-stored in a non-volatile storage medium of a computer device that executes the vehicle diagnostic method provided in an embodiment of the present application before step S201.

[0071] In a possible implementation, the second certificate related to the target vehicle is downloaded from a server that provides a certificate of the type to which the second certificate belongs before step S201.

[0072] The second certificate associated with the target vehicle may be any certificate that can be used to authenticate the identity of the device that sends the second certificate associated with the target vehicle. The authentication step of the second authentication is defined by the protocol on which the second certificate associated with the target vehicle is based.

[0073] When the target diagnostic device performs the second authentication for the second certificate related to the target vehicle, the target diagnostic device executes an authentication step of the second authentication defined by the protocol based on which the second certificate related to the target vehicle is based.

[0074] In a possible implementation, the second certificate associated with the target vehicle is a Security Assertion Markup Language (SAML) certificate based on the SAML protocol. The SAML certificate is a security credential used for identity authentication and single sign-on, and is used to transfer identity information between different systems.

[0075] In one possible implementation, the second certificate associated with the target vehicle has a validity period set by a user of the target diagnostic device, and the second certificate is valid during the validity period of the second certificate; and before detecting an operation indicating a need to diagnose the target vehicle, the further step includes: receiving the second certificate associated with the target vehicle sent by the target diagnostic device.

[0076] As an example, the validity period of the second certificate associated with the target vehicle is 12 hours.

[0077] The target diagnostic device and the target vehicle pre-establish a communication connection for transmitting a second certificate related to the target vehicle. As an example, the communication connection can be Bluetooth, WIFI, etc. Before receiving the second certificate related to the target vehicle sent by the target diagnostic device, the target diagnostic device authenticates the target vehicle. After the target vehicle passes the identity authentication of the target vehicle, data for verifying the identity of the target vehicle is transmitted through the communication connection.

[0078] The second certificate associated with the target vehicle has a validity period, so that only within the validity period of the second certificate can the second authentication of the second certificate be passed and the target vehicle can be diagnosed. This can avoid the situation where the target vehicle occupies the resources used for vehicle diagnosis for a long time, and it is also convenient to arrange the diagnosis of multiple vehicles. The user of the target diagnosis device can flexibly set the validity period of the second certificate associated with the target vehicle, thereby improving the flexibility of vehicle diagnosis.

[0079] In step S204, when the second authentication is passed, a diagnostic task for the target vehicle is performed through the target WIFI network.

[0080] Among them, passing the second authentication can also be called the second certificate passing the second authentication.

[0081] The second authentication pass may indicate that the target diagnostic device determines that the target vehicle is authorized to be diagnosed.

[0082] In one possible implementation, the diagnostic task for the target vehicle includes: receiving diagnostic instructions sent by a target diagnostic device through a target WIFI network of the target vehicle; sending diagnostic instructions to an ECU of the target vehicle that participates in vehicle diagnosis; receiving data for diagnosis sent by an ECU of the target vehicle that participates in vehicle diagnosis; and sending data for diagnosis to a target diagnostic device through a target WIFI network of the target vehicle, so that the target diagnostic device determines a fault of the target vehicle based on the data for diagnosis.

[0083] It should be noted that during the execution of the diagnostic task for the target vehicle, the state of the target vehicle recorded by the computer device on the target vehicle that executes the vehicle diagnostic method provided in the embodiment of the present application is the diagnostic state.

[0084] In one possible implementation, if, when performing a diagnostic task for a target vehicle, a person involved in the diagnosis of the target vehicle clicks a button displayed on the screen of the target vehicle indicating that the target vehicle is disconnected from the target WIFI network, or the person involved in the diagnosis of the target vehicle presses a button on the target vehicle related to vehicle diagnosis multiple times within a preset time period, the target vehicle is disconnected from the target WIFI network, and the WIFI module of the target vehicle is turned off.

[0085] It should be noted that once the target vehicle is disconnected from the target WIFI network, the computer device executing the vehicle diagnostic method provided in the embodiment of the present application will stop executing the diagnostic task for the target vehicle.

[0086] refer to Figure 3 , which shows a flow chart of another vehicle diagnostic method provided in an embodiment of the present application.

[0087] In step S301, when an operation indicating that a diagnosis of a target vehicle is required is detected, the target vehicle is connected to a target WIFI network.

[0088] In step S302 , a first certificate related to the target vehicle is sent to a server for diagnosis through a target WIFI network, so that the server for diagnosis performs a first authentication on the first certificate related to the target vehicle.

[0089] In step S303, when the first authentication is passed, a second certificate related to the target vehicle is sent to the target diagnostic device through the target WIFI network, so that the diagnostic device performs a second authentication on the second certificate related to the target vehicle.

[0090] In step S304, when the second authentication is passed, a diagnostic task for the target vehicle is performed through the target WIFI network.

[0091] In a possible implementation, the method further includes: during the execution of the diagnostic task for the target vehicle, displaying a reminder message indicating that the target vehicle is in a diagnostic state on a screen of the target vehicle.

[0092] As an example, the reminder message displayed on the screen of the target vehicle is "The vehicle is being diagnosed, please do not drive the vehicle."

[0093] In an embodiment of the present application, a reminder message indicating that the target vehicle is in a diagnostic state is displayed on the screen of the target vehicle, taking into account the following situations: during the execution of a diagnostic task for the target vehicle, personnel in the area used for vehicle diagnosis where the target vehicle is located may perform operations that may cause the target vehicle to move without knowing that the target vehicle is being diagnosed, and some faults of the target vehicle determined through diagnosis and the movement of the target vehicle may cause an accident. Displaying a reminder message indicating that the target vehicle is in a diagnostic state on the screen of the target vehicle can remind personnel in the area used for vehicle diagnosis where the target vehicle is located that the target vehicle is being diagnosed, thereby avoiding the movement of the target vehicle due to the user's operations on the target vehicle during the execution of a diagnostic task for the target vehicle, and avoiding accidents caused by some faults of the target vehicle determined through diagnosis and the movement of the target vehicle. Improving the safety of vehicle diagnosis.

[0094] In one possible implementation, executing a diagnostic task for a target vehicle through a target WIFI network includes: encrypting diagnostic data of an electronic control unit of the target vehicle that participates in vehicle diagnosis to obtain encrypted diagnostic data of the electronic control unit that participates in vehicle diagnosis; and sending the encrypted diagnostic data of the electronic control unit that participates in vehicle diagnosis to a target diagnostic device through the target WIFI network.

[0095] Before encrypting the data used for diagnosis of the electronic control unit participating in vehicle diagnosis of the target vehicle, the computer device executing the vehicle diagnosis method provided in the embodiment of the present application can receive the data used for diagnosis of the electronic control unit participating in vehicle diagnosis of the target vehicle from the electronic control unit participating in vehicle diagnosis of the target vehicle through the gateway of the target vehicle.

[0096] The computer device executing the vehicle diagnosis method provided in the embodiment of the present application sends the encrypted diagnostic data of the electronic control unit participating in the vehicle diagnosis to the target diagnostic device through the target WIFI network. The target diagnostic device can decrypt the encrypted diagnostic data sent by the electronic control unit participating in the vehicle diagnosis to obtain the diagnostic data of the electronic control unit participating in the vehicle diagnosis. The target diagnostic device obtains the diagnostic result indicating the fault occurred in the target vehicle based on the diagnostic data of the electronic control unit participating in the vehicle diagnosis.

[0097] In the embodiment of the present application, the diagnostic data of the electronic control unit involved in vehicle diagnosis of the target vehicle is encrypted to obtain the encrypted diagnostic data of the electronic control unit involved in vehicle diagnosis, and the encrypted diagnostic data of the electronic control unit involved in vehicle diagnosis is sent to the target diagnostic device through the target WIFI network. The diagnostic data of the electronic control unit involved in vehicle diagnosis can be prevented from being illegally obtained, thereby improving the security of vehicle diagnosis.

[0098] In step S305, when it is detected that the target vehicle is abnormally disconnected from the target WIFI network during the execution of the diagnostic task for the target vehicle, a reconnection operation for reconnecting the target vehicle to the target WIFI network is performed, wherein the diagnostic task for the target vehicle during the execution of the reconnection operation is stopped due to the abnormal disconnection between the target vehicle and the target WIFI network; when the target vehicle is reconnected to the target WIFI network, the diagnostic task for the target vehicle continues to be executed.

[0099] Once the reconnection operation for reconnecting the target vehicle to the target WIFI network is completed, the target vehicle is reconnected to the target WIFI network.

[0100] Step S305 takes into account the situation that the target vehicle is abnormally disconnected from the target WIFI network, resulting in the interruption of the execution of the diagnostic task for the target vehicle. The target vehicle is connected to the target WIFI network again by performing a reconnection operation for reconnecting the target vehicle to the target WIFI network. When the target vehicle is reconnected to the target WIFI network, the diagnostic task for the target vehicle is continued. The stability of the vehicle diagnosis is improved.

[0101] In step S306 , during the reconnection operation, a diagnostic state maintaining signal indicating that the target vehicle is in a diagnostic state is received from the gateway of the target vehicle, so as to maintain the recorded state of the target vehicle in the diagnostic state according to the diagnostic state maintaining signal.

[0102] Step S306 takes into account that once the target vehicle is abnormally disconnected from the target WIFI network, the state of the target vehicle recorded by the computer device executing the vehicle diagnostic method provided in the embodiment of the present application may be a non-diagnostic state. The recorded state of the target vehicle may be a non-diagnostic state, and the target vehicle may perform actions that are performed when the target vehicle is in a non-diagnostic state, such as target vehicle movement. The actions performed by the target vehicle when the target vehicle is in a non-diagnostic state may have an adverse effect on the diagnosis of the vehicle. During the execution of the reconnection operation, a diagnostic state maintenance signal indicating that the target vehicle is in a diagnostic state is sent by the gateway of the receiving target vehicle, so as to maintain the recorded state of the target vehicle in a diagnostic state according to the diagnostic state maintenance signal, thereby avoiding the adverse effects on the diagnosis of the vehicle caused by actions performed when the target vehicle is in a non-diagnostic state.

[0103] refer to Figure 4 , which shows a flowchart of an example of performing vehicle diagnosis through the vehicle diagnostic method provided by an embodiment of the present application.

[0104] In this example, the person involved in the diagnosis presses the central locking key of the armrest box of the target vehicle three times within a first time period of three seconds, thereby triggering the WIFI module of the vehicle computer of the target vehicle to be turned on. After the WIFI module of the vehicle computer of the target vehicle is turned on, the WIFI module of the vehicle computer of the target vehicle connects the target vehicle to the target WiFi network.

[0105] In this example, the vehicle computer of the target vehicle sends the first certificate to the server for diagnosis through the target WiFi network. The server for diagnosis performs a first authentication on the first certificate.

[0106] In this example, after the first authentication is passed, the vehicle computer of the target vehicle sends a second certificate to the target diagnostic device. The target diagnostic device performs a second authentication for the second certificate. After the second authentication is passed, the vehicle computer of the target vehicle performs a diagnostic task for the target vehicle.

[0107] In this example, during the period when the vehicle computer of the target vehicle executes the diagnostic task for the target vehicle, the screen of the target vehicle displays a reminder message indicating that the target vehicle is in a diagnostic state.

[0108] In this example, when the target vehicle's vehicle computer performs a diagnostic task for the target vehicle, the person involved in the diagnosis presses the central locking key of the armrest box of the target vehicle three times within a second time period of three seconds, triggering the disconnection of the target vehicle from the target WIFI network. Once the target vehicle is disconnected from the target WIFI network, the computer device executing the vehicle diagnostic method provided in the embodiment of the present application will stop performing the diagnostic task for the target vehicle.

[0109] In this example, after the target vehicle is disconnected from the target WIFI network, the WIFI module of the vehicle computer of the target vehicle is turned off.

[0110] The embodiments of the present application provide a vehicle diagnostic device. The vehicle diagnostic device is used to implement the above-mentioned embodiments and preferred embodiments, and the descriptions that have been made will not be repeated. As used below, the term "unit" can be a combination of software and / or hardware that implements a predetermined function. Although the system described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0111] The vehicle diagnostic device comprises:

[0112] a connection unit, configured to connect the target vehicle to a target WIFI network when an operation indicating that a diagnosis of the target vehicle is required is detected;

[0113] A first sending unit, configured to send a first certificate related to a target vehicle to a server for diagnosis through a target WIFI network, so that the server for diagnosis performs a first authentication on the first certificate;

[0114] a second sending unit, configured to send, when the first authentication is passed, a second certificate related to the target vehicle to a target diagnostic device through a target WIFI network, so that the target diagnostic device performs a second authentication on the second certificate, wherein the second certificate is different from the first certificate;

[0115] The diagnostic unit is used to perform a diagnostic task for the target vehicle through the target WIFI network when the second authentication is passed.

[0116] In a possible implementation, the second certificate has a validity period set by a user of the target diagnostic device, and the second certificate is valid during the validity period of the second certificate; and the vehicle diagnostic device further includes:

[0117] The second certificate receiving unit is configured to receive the second certificate sent by the target diagnostic device before detecting an operation indicating that the target vehicle needs to be diagnosed.

[0118] In one possible implementation, the diagnostic unit is also used to encrypt the diagnostic data of the electronic control unit involved in vehicle diagnosis of the target vehicle, and obtain the encrypted diagnostic data of the electronic control unit involved in vehicle diagnosis; and send the encrypted diagnostic data to the target diagnostic device through the target WIFI network.

[0119] In a possible implementation, the vehicle diagnostic device further includes:

[0120] The reminder unit is used to display reminder information indicating that the target vehicle is in a diagnosis state on a screen of the target vehicle during the execution of a diagnosis task for the target vehicle.

[0121] In a possible implementation, the vehicle diagnostic device further includes:

[0122] A reconnection unit is used to perform a reconnection operation for reconnecting the target vehicle to the target WIFI network when it is detected that the target vehicle is abnormally disconnected from the target WIFI network during the execution of the diagnostic task for the target vehicle, wherein the diagnostic task for the target vehicle during the execution of the reconnection operation is stopped due to the abnormal disconnection between the target vehicle and the target WIFI network; when the target vehicle is reconnected to the target WIFI network, the diagnostic task for the target vehicle is continued.

[0123] In a possible implementation, the vehicle diagnostic device further includes:

[0124] The diagnostic state maintaining unit is used to receive a diagnostic state maintaining signal sent by the gateway of the target vehicle indicating that the target vehicle is in a diagnostic state during the execution of the reconnection operation, so as to maintain the recorded state of the target vehicle in the diagnostic state according to the diagnostic state maintaining signal.

[0125] In this embodiment, the device is presented in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and a memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0126] The further functional description of each of the above units is the same as that of the above corresponding embodiments and will not be repeated here.

[0127] refer to Figure 5 , which shows a schematic diagram of the structure of a computer device provided in an embodiment of the present application, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the computer device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system).

[0128] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0129] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.

[0130] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0131] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0132] The computer device further includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means.

[0133] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.

[0134] The embodiment of the present application also provides a computer-readable storage medium. The above method according to the embodiment of the present application can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0135] A portion of the embodiments of the present application may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can execute or provide the method and / or technical solution according to the present invention through the operation of the computer. Technical users in the art should understand that the existence of computer program instructions in computer-readable media includes, but is not limited to, source files, executable files, installation package files, etc., and accordingly, the way in which computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to the computer.

[0136] Although the embodiments of the present application are described in conjunction with the accompanying drawings, users skilled in the art may make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A vehicle diagnostic method, characterized in that: The method comprises: When an operation indicating that a diagnosis of the target vehicle is required is detected, connecting the target vehicle to the target WIFI network; Sending a first certificate related to the target vehicle to a server for diagnosis through a target WIFI network, so that the server for diagnosis performs a first authentication on the first certificate; When the first authentication is passed, sending a second certificate related to the target vehicle to the target diagnostic device through the target WIFI network, so that the target diagnostic device performs a second authentication on the second certificate, wherein the second certificate is different from the first certificate; When the second authentication is passed, a diagnostic task for the target vehicle is performed through the target WIFI network.

2. The method according to claim 1, characterized in that The second certificate has a validity period set by a user of the target diagnostic device, and the second certificate is valid within the validity period of the second certificate; as well as Prior to detecting an operation indicating a need to diagnose the target vehicle, the method further includes: The second certificate sent by the target diagnostic device is received.

3. The method according to claim 1, characterized in that Through the target WIFI network, the diagnostic tasks performed on the target vehicle include: Encrypting the diagnostic data of the electronic control unit involved in vehicle diagnosis of the target vehicle to obtain the encrypted diagnostic data of the electronic control unit involved in vehicle diagnosis; The encrypted data for diagnosis is sent to the target diagnostic device via the target WIFI network.

4. The method according to claim 1, characterized in that: The method further comprises: During the execution of the diagnostic task for the target vehicle, a reminder message indicating that the target vehicle is in a diagnostic state is displayed on a screen of the target vehicle.

5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: When it is detected that the target vehicle is abnormally disconnected from the target WIFI network during the execution of the diagnostic task for the target vehicle, a reconnection operation for reconnecting the target vehicle to the target WIFI network is performed, wherein the diagnostic task for the target vehicle during the execution of the reconnection operation is stopped due to the abnormal disconnection of the target vehicle from the target WIFI network; When the target vehicle is connected to the target WIFI network again, the diagnostic task for the target vehicle continues to be performed.

6. The method according to claim 5, characterized in that The method further comprises: During the reconnection operation, a diagnostic state maintaining signal indicating that the target vehicle is in a diagnostic state is received from a gateway of the target vehicle, so as to maintain the recorded state of the target vehicle in the diagnostic state according to the diagnostic state maintaining signal.

7. A vehicle diagnostic device, characterized in that: Installed on a vehicle, the device comprises: a connection unit, configured to connect the target vehicle to a target WIFI network when an operation indicating that a diagnosis of the target vehicle is required is detected; A first sending unit, configured to send a first certificate related to a target vehicle to a server for diagnosis through a target WIFI network, so that the server for diagnosis performs a first authentication on the first certificate; a second sending unit, configured to send, when the first authentication is passed, a second certificate related to the target vehicle to a target diagnostic device through a target WIFI network, so that the target diagnostic device performs a second authentication on the second certificate, wherein the second certificate is different from the first certificate; The diagnostic unit is used to perform a diagnostic task for the target vehicle through the target WIFI network when the second authentication is passed.

8. A computer device, characterized in that: Installed on the vehicle, including: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method according to any one of claims 1 to 6 by executing the computer instructions.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 6.

10. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the method according to any one of claims 1 to 6.