A vehicle diagnosis method, device, apparatus and storage medium

By verifying and switching wireless networks based on network connection requests in vehicle diagnostic equipment, the serial number of the target diagnostic equipment and user information are obtained, thus solving the problem of limited wireless network cards and realizing intelligent network connection and efficient diagnostic operation.

CN121187273BActive Publication Date: 2026-08-04LAUNCH TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
LAUNCH TECH CO LTD
Filing Date
2025-11-10
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

Existing vehicle diagnostic equipment cannot connect to the diagnostic equipment when the wireless network card connection is limited or damaged, resulting in low diagnostic efficiency, especially when there is no external wireless network card and the equipment cannot connect to the network and perform diagnostic operations normally.

Method used

By determining the preset wireless network based on the network connection request in the physical machine, verifying and connecting to the external wireless network and the diagnostic device's wireless network, obtaining the target diagnostic device's serial number and user information to obtain access permissions, and switching networks according to the diagnostic application scenario, intelligent connection and diagnostic operations are achieved.

Benefits of technology

Without the need for an additional external wireless network card, the system ensures smooth network verification and data acquisition by quickly switching network connections, reducing manual intervention and significantly improving the application efficiency of diagnostic equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121187273B_ABST
    Figure CN121187273B_ABST
Patent Text Reader

Abstract

The application discloses a vehicle diagnosis method and device, equipment and storage medium, and relates to the field of vehicle diagnosis. The method comprises the following steps: determining a corresponding preset wireless network based on a network connection request, verifying the network connection request to connect the preset wireless network; wherein the preset wireless network comprises an external wireless network and a diagnosis equipment wireless network; sending a reading equipment instruction to a target diagnosis equipment by using the diagnosis equipment wireless network, and obtaining a target diagnosis equipment serial number returned by the target diagnosis equipment; closing the diagnosis equipment wireless network and switching to the external wireless network, verifying the obtained user information and the target diagnosis equipment serial number based on the external wireless network to obtain access permission of target diagnosis software; determining target network demand in the target diagnosis software according to a diagnosis application scene, determining a target wireless network from the preset wireless network based on the target network demand, and executing a preset diagnosis operation on a target vehicle by using the target wireless network. The efficiency of the diagnosis equipment application is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle diagnostics, and in particular to a vehicle diagnostic method, apparatus, device, and storage medium. Background Technology

[0002] With the continuous development of electronics, the connection methods between current diagnostic equipment (VCI, Vehicle Communication Interface) and PC (Personal Computer) diagnostic software are becoming increasingly diverse, with wired and wireless connections being the most common. Wired connections require physical cables, which not only limit distance but also depend on the quality of the hardware itself. If the cable is lost or damaged, diagnostics cannot be performed via the VCI. Wi-Fi communication, with its speed and convenience, has become the preferred diagnostic method. However, in current vehicle diagnostic work, many laptops only have a built-in wireless network card, while many diagnostic software programs require internet access, such as logging in, acquiring data online, and downloading / flashing files. When the laptop's built-in wireless network card is connected to the internet, it cannot connect to the diagnostic equipment's Wi-Fi, necessitating the use of an external wireless network card. This situation is not only extremely inconvenient but can also prevent diagnostic work from proceeding without an external wireless network card, severely impacting the efficiency and progress of vehicle diagnostics.

[0003] In conclusion, improving the efficiency of diagnostic equipment application is an urgent problem to be solved. Summary of the Invention

[0004] In view of this, the purpose of this invention is to provide a vehicle diagnostic method, apparatus, device, and storage medium that can improve the efficiency of diagnostic equipment applications. The specific solution is as follows:

[0005] In a first aspect, this application provides a vehicle diagnostic method applied to a physical machine on which target diagnostic software is installed, comprising:

[0006] The corresponding preset wireless network is determined based on the network connection request, and the network connection request is verified to connect to the preset wireless network; wherein, the preset wireless network includes an external wireless network and a diagnostic device wireless network;

[0007] The diagnostic device uses its wireless network to send a read device command to the target diagnostic device and obtains the target diagnostic device serial number returned by the target diagnostic device.

[0008] The diagnostic device's wireless network is turned off and switched to the external wireless network. Based on the user information obtained through the external wireless network verification and the target diagnostic device's serial number, access permissions for the target diagnostic software are obtained.

[0009] The target diagnostic software determines the target network requirements based on the diagnostic application scenario, selects the target wireless network from the preset wireless networks based on the target network requirements, and performs corresponding preset diagnostic operations on the target vehicle using the target wireless network.

[0010] Optionally, determining the corresponding preset wireless network based on the network connection request and verifying the network connection request to connect to the preset wireless network includes:

[0011] Scan the network adapters in the local machine of the physical machine;

[0012] Based on the scan results, pre-defined interfering network cards in the network adapter are eliminated to determine the target wireless network card;

[0013] Send a first network connection request of the diagnostic device's wireless network to the target wireless network card, so that the target wireless network card can authenticate the target diagnostic device based on the first network connection request, connect to the diagnostic device's wireless network based on the corresponding first authentication result, and send first connection confirmation information to the target diagnostic software in the physical machine;

[0014] A second network connection request for the external wireless network is sent to the target wireless network card, so that the target wireless network card can authenticate with the external wireless network device based on the second network connection request, connect to the external wireless network based on the corresponding second authentication result, and send second connection confirmation information to the target diagnostic software in the physical machine.

[0015] Optionally, the preset interference network card includes any one or more of the following: wired network card, virtual network card, Bluetooth network card, and USB network card.

[0016] Optionally, the method further includes:

[0017] If the first connection confirmation information indicates that the diagnostic device's wireless network connection has failed, a corresponding first prompt message is generated and sent to the user terminal; wherein, the first prompt message includes reconfiguring the diagnostic device's wireless network;

[0018] If the second connection confirmation information indicates that the external wireless network connection has failed, a corresponding second prompt message is generated and sent to the user terminal; wherein, the second prompt message includes reconfiguring the external wireless network.

[0019] Optionally, the step of obtaining access to the target diagnostic software based on the user information obtained through verification using the external wireless network and the target diagnostic device serial number includes:

[0020] Retrieve the username and password sent by the user;

[0021] The username and password sent by the user terminal and the serial number of the target diagnostic device are sent to the target server so that the target server can verify the username and password sent by the user terminal and the serial number of the target diagnostic device, and send the verification result to the target diagnostic software in the physical machine;

[0022] If the verification result indicates that the user terminal and the target diagnostic device meet the preset trust conditions, then the access permission of the target diagnostic software is granted.

[0023] Optionally, the method further includes:

[0024] Disconnect the diagnostic device from its wireless network;

[0025] Connect to the external wireless network;

[0026] The process of performing the diagnostic operations corresponding to the target network requirements generates a corresponding target diagnostic log;

[0027] The generated target diagnostic logs are uploaded to the target server using the external wireless network.

[0028] Optionally, the target network requirements include diagnosing the target vehicle or upgrading the target diagnostic software;

[0029] Accordingly, the step of determining the target wireless network from the preset wireless networks based on the target network requirements, and performing corresponding preset diagnostic operations on the target vehicle using the target wireless network, includes:

[0030] If the target network requirement is the target vehicle for diagnosis, then the wireless network of the diagnostic device is determined as the target wireless network, and the target wireless network is used to perform a preset diagnostic operation on the target vehicle;

[0031] If the target network requirement is the upgrade target diagnostic software, then the external wireless network is identified as the target wireless network, and the target diagnostic software is updated using the target wireless network.

[0032] Secondly, this application provides a vehicle diagnostic device applied to a physical machine on which target diagnostic software is installed, comprising:

[0033] A wireless network connection module is used to determine a corresponding preset wireless network based on a network connection request, and to verify the network connection request to connect to the preset wireless network; wherein, the preset wireless network includes an external wireless network and a diagnostic device wireless network;

[0034] The serial number acquisition module is used to send a read device command to the target diagnostic device using the wireless network of the diagnostic device, and to obtain the target diagnostic device serial number returned by the target diagnostic device.

[0035] Access permission acquisition software module is used to turn off the wireless network of the diagnostic device and switch to the external wireless network, and to obtain access permission for the target diagnostic software based on the user information obtained by the external wireless network and the serial number of the target diagnostic device.

[0036] The vehicle diagnostic module is used to determine the target network requirements based on the diagnostic application scenario in the target diagnostic software, determine the target wireless network from the preset wireless networks based on the target network requirements, and perform corresponding preset diagnostic operations on the target vehicle using the target wireless network.

[0037] Thirdly, this application provides an electronic device, comprising:

[0038] Memory, used to store computer programs;

[0039] A processor is used to execute the computer program to implement the vehicle diagnostic method as described above.

[0040] Fourthly, this application provides a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the vehicle diagnostic method as described above.

[0041] In summary, this application first determines a corresponding preset wireless network based on a network connection request, verifies the network connection request to connect to the preset wireless network; wherein, the preset wireless network includes an external wireless network and a diagnostic device wireless network; using the diagnostic device wireless network, a read device command is sent to the target diagnostic device to obtain the target diagnostic device serial number returned by the target diagnostic device; the diagnostic device wireless network is turned off and switched to the external wireless network, and the user information obtained and the target diagnostic device serial number are verified based on the external wireless network to obtain access permissions for the target diagnostic software; in the target diagnostic software, the target network requirement is determined according to the diagnostic application scenario, and the target wireless network is determined from the preset wireless networks based on the target network requirement, and the target wireless network is used to perform corresponding preset diagnostic operations on the target vehicle. As described above, this application first determines and verifies the corresponding preset wireless network based on the network connection request to complete the connection. Then, it sends a read command to the target diagnostic device via the diagnostic device's wireless network to obtain its serial number. Subsequently, it shuts down the diagnostic device's wireless network and switches to an external wireless network, verifying user information and the device serial number to obtain access permissions for the target diagnostic software. Finally, within the target diagnostic software, the target network requirements are defined according to the specific diagnostic application scenario, and a suitable target wireless network is selected from the preset wireless networks to perform the corresponding preset diagnostic operations on the target vehicle. In this way, by quickly switching network connections, even without an additional external wireless network card, the diagnostic software can automatically handle network changes according to the application scenario, achieving intelligent connection between the network and the device. This not only ensures smooth network verification and data acquisition but also guarantees normal communication with the diagnostic device, reduces manual intervention, simplifies the operation process, and significantly improves the efficiency of diagnostic device applications. Attached Figure Description

[0042] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0043] Figure 1 This is a flowchart of a vehicle diagnostic method disclosed in this application;

[0044] Figure 2 This is a timing interaction diagram of a vehicle diagnostic method disclosed in this application;

[0045] Figure 3 This is a schematic diagram of a specific wireless network configuration disclosed in this application;

[0046] Figure 4 This is a schematic diagram of a specific vehicle diagnostic method disclosed in this application;

[0047] Figure 5 This is a schematic diagram of the structure of a vehicle diagnostic device disclosed in this application;

[0048] Figure 6 This is a structural diagram of an electronic device disclosed in this application. Detailed Implementation

[0049] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0050] Currently, with the continuous development of electronic appliances, the connection methods between VCI (Vehicle Inspection Center) devices and PC diagnostic software are becoming increasingly diverse, with wired and wireless connections being common. Wired connections require physical wiring, which not only limits distance but also depends on the quality of the hardware itself. If the wire is lost or damaged, the connection to the VCI cannot be established for diagnosis. WIFI communication, with its speed and convenience, has become the preferred diagnostic method. However, in current vehicle diagnostic work, many laptops are only equipped with a built-in wireless network card, while many diagnostic software programs require internet access, such as logging in, acquiring data online, and downloading / writing files. When the laptop's built-in wireless network card connects to the internet, it cannot connect to the diagnostic device's WIFI, necessitating the use of an external wireless network card. This situation is not only extremely inconvenient but can also prevent diagnostic work from proceeding without an external wireless network card, severely impacting the efficiency and progress of vehicle diagnostics. To solve the above technical problems, this application discloses a vehicle diagnostic method, apparatus, device, and storage medium that can improve the efficiency of diagnostic equipment applications.

[0051] See Figure 1 As shown, this embodiment of the invention discloses a vehicle diagnostic method, applied to a physical machine with target diagnostic software installed, comprising:

[0052] Step S11: Determine the corresponding preset wireless network based on the network connection request, and verify the network connection request to connect to the preset wireless network; wherein, the preset wireless network includes an external wireless network and a diagnostic device wireless network.

[0053] In this embodiment, if it is the first time using the target diagnostic software, it is necessary to remove other interfering network card information and find the physical machine's built-in wireless network card. This can be done by scanning the network adapters in the physical machine; based on the scan results, pre-defined interfering network cards in the network adapters are eliminated to determine the target wireless network card; a first network connection request from the diagnostic device's wireless network is sent to the target wireless network card, so that the target wireless network card authenticates with the target diagnostic device based on the first network connection request, connects to the diagnostic device's wireless network based on the corresponding first authentication result, and sends first connection confirmation information to the target diagnostic software in the physical machine; a second network connection request from the external wireless network is sent to the target wireless network card, so that the target wireless network card authenticates with the external wireless network device based on the second network connection request, connects to the external wireless network based on the corresponding second authentication result, and sends second connection confirmation information to the target diagnostic software in the physical machine. Specifically, as shown below... Figure 2 As shown, when the target diagnostic software is used for the first time, it first calls the operating system's low-level interface to scan the physical machine's network adapters, eliminating preset interfering network cards in the network adapters to find the required target wireless network card. These preset interfering network cards include any one or more of the following: wired network cards, virtual network cards, Bluetooth network cards, and USB network cards. Then, as... Figure 3 As shown, a first network connection request is sent to the target wireless network card, specifically a request to the diagnostic device's network VCI_WIFI2. This request may include a static IP address, device IP address, and subnet mask. After the wireless network card matches the signal, it initiates authentication. If the diagnostic device verifies the information and it passes the authentication, it assigns an IP address and completes the connection. The target wireless network card then returns the connection result in JSON format, including status, IP address, signal strength, etc. The software updates the interface synchronously and provides error suggestions. After the first connection is successful, the software automatically or manually triggers a second network connection request, specifically a request to the external network Wireless_WIFI1, to obtain configuration information from the diagnostic device or for the user to enter the WIFI password. Simultaneously, the target wireless network card needs to maintain the diagnostic network connection while scanning for external signals. If the signal is weaker than -85dBm, a pop-up message appears. Authentication failure does not interrupt the existing connection; success establishes a dual network channel. The feedback information now includes a dual network compatibility status, which is displayed in the updated software, ensuring that the diagnostic function is not affected by external connection failures.

[0054] Additionally, if the first connection confirmation information indicates that the diagnostic device's wireless network connection has failed, a corresponding first prompt message is generated and sent to the user terminal; wherein, the first prompt message includes reconfiguring the diagnostic device's wireless network. If the second connection confirmation information indicates that the external wireless network connection has failed, a corresponding second prompt message is generated and sent to the user terminal; wherein, the second prompt message includes reconfiguring the external wireless network. Specifically, when the first connection confirmation information indicates that the diagnostic device's wireless network connection has failed, the target diagnostic software will generate a targeted first prompt message based on the returned error code. If the error code points to a key error, the prompt message will explicitly suggest that the user re-verify the diagnostic device's wireless network password, while providing an entry point for quickly jumping to the network configuration page; if the failure is due to a weak signal, it will prompt the user to check the distance between the physical device and the diagnostic device, suggesting that they be brought closer together to enhance the signal, and displaying the current signal strength value for reference. If the second connection confirmation information indicates that the external wireless network connection has failed, the generated second prompt message will provide corresponding suggestions based on the specific reason for the failure. If the corresponding SSID (Service Set Identifier) ​​does not exist, the user will be prompted to confirm the correctness of the external wireless network name, paying particular attention to capitalization; if authentication fails, in addition to suggesting that the password be re-entered, the user will also be prompted to check whether the encryption method matches.

[0055] Understandably, after the external wireless network and the diagnostic device's wireless network are successfully connected, the connection configuration information of both is saved locally on the diagnostic instrument so that when connecting to the external wireless network and the diagnostic device's wireless network in the future, the corresponding wireless network can be directly connected through the connection configuration information.

[0056] Step S12: Use the diagnostic device's wireless network to send a read device command to the target diagnostic device and obtain the target diagnostic device serial number returned by the target diagnostic device.

[0057] In this embodiment, after successfully connecting to the diagnostic device's wireless network, the target diagnostic software generates a device read command conforming to a specific protocol. This command includes a command identifier, a length field, a CRC32 checksum, and a software identifier, ensuring the command's legality and integrity. The command is sent to the target diagnostic device's port through the diagnostic network channel. After verifying the command's legality, the target diagnostic device reads its serial number from its internal storage chip and encapsulates it into a response packet containing a response identifier, serial number, checksum, and device status. The target diagnostic software parses the response packet and verifies the target diagnostic device's serial number. If successful, the serial number is stored in a local configuration file and displayed on the interface as a unique identifier for subsequent operations. If unsuccessful, an exception is displayed and a log is logged.

[0058] Step S13: Turn off the diagnostic device's wireless network and switch to the external wireless network. Based on the user information obtained through the external wireless network verification and the target diagnostic device's serial number, obtain access permissions for the target diagnostic software.

[0059] In this embodiment, the target wireless network card is controlled to shut down the diagnostic device's wireless network, quickly switch to an external wireless network, enter the target diagnostic software login function, and then obtain the username and password sent by the user terminal. The username, password, and target diagnostic device serial number are sent to the target server so that the target server can verify them and send the verification result to the target diagnostic software in the physical machine. If the verification result indicates that the user terminal and the target diagnostic device meet preset trust conditions, then access to the target diagnostic software is granted. Specifically, when the target wireless network card shuts down the diagnostic device's wireless network, it first sends a disconnect command, releases the IP address, and records connection parameters for later reuse, then quickly reconnects based on the saved external wireless network configuration. After entering the login function, the software interface displays an account and password input box, supporting "remember password" and "auto-fill" functions. After the user submits the username and password, the software encrypts the password and combines it with the plaintext username and target diagnostic device serial number to form a verification data packet. The verification data packet is sent to the target server's verification interface via an external wireless network. Upon receiving the packet, the target server first checks whether the target diagnostic device's serial number is registered in the system, and then compares the username with the encrypted password and the user information stored in the database. If the serial number is not registered or the username and password do not match, the server returns a verification failure result with an explanation of the reason; if all three match and the device is bound to the user account, thus meeting the preset trust conditions, the server returns a verification success result, and the target diagnostic software immediately unlocks all functional modules, granting full access permissions.

[0060] Step S14: In the target diagnostic software, determine the target network requirement according to the diagnostic application scenario, determine the target wireless network from the preset wireless networks based on the target network requirement, and use the target wireless network to perform the corresponding preset diagnostic operation on the target vehicle.

[0061] In this embodiment, after obtaining full access to the target diagnostic software, the target network requirement is determined based on the diagnostic application scenario. This target network requirement includes diagnosing the target vehicle or upgrading the target diagnostic software. If the target network requirement is to diagnose the target vehicle, the diagnostic device's wireless network is identified as the target wireless network, and a preset diagnostic operation is performed on the target vehicle using the target wireless network. If the target network requirement is to upgrade the target diagnostic software, the external wireless network is identified as the target wireless network, and the target diagnostic software is updated using the target wireless network. Specifically, when performing a specific diagnostic function on the target vehicle, the external wireless network is automatically disconnected, and the diagnostic device's wireless network is connected. When targeting the target diagnostic software, the external wireless network is used. For example, if the target network requirement is to upgrade the target diagnostic software, an upgrade request containing the software version and device serial number is sent to the server using the external wireless network, and an upgrade installation package is received to upgrade the target diagnostic software.

[0062] Additionally, when the target diagnostic software exits, it needs to disconnect the diagnostic device's wireless network; connect to the external wireless network; generate corresponding target diagnostic logs for the diagnostic operations performed according to the target network requirements; and upload the generated target diagnostic logs to the target server using the external wireless network. Specifically, after receiving the exit command, the target diagnostic software immediately initiates multi-tasking, prioritizing network switching. It sends a disconnect command to the target wireless network card, which terminates the diagnostic device's network connection. Subsequently, it automatically reconnects to the external network. Simultaneously, the network switch generates target diagnostic logs, including information such as exit time, device serial number, user account, network switch record, vehicle model, fault code, software upgrade version, and verification results. Finally, the generated target diagnostic logs are uploaded to the target server.

[0063] As described above, this embodiment first determines and verifies the corresponding preset wireless network based on the network connection request to complete the connection. Then, it sends a read command to the target diagnostic device via the diagnostic device's wireless network to obtain its serial number. Subsequently, it shuts down the diagnostic device's wireless network and switches to an external wireless network, verifying user information and the device serial number to obtain access permissions for the target diagnostic software. Finally, in the target diagnostic software, the target network requirements are determined according to the specific diagnostic application scenario, and a suitable target wireless network is selected from the preset wireless networks to perform corresponding preset diagnostic operations on the target vehicle. In this way, by quickly switching network connections, even without an additional external wireless network card, the diagnostic software can automatically handle network changes according to the application scenario, achieving intelligent connection between the network and the device. This not only ensures smooth network verification and data acquisition but also guarantees normal communication with the diagnostic device, reduces manual intervention, simplifies the operation process, and significantly improves the efficiency of diagnostic device applications.

[0064] As can be seen from the previous embodiment, this application discloses a vehicle diagnostic method that can improve the efficiency of diagnostic equipment applications. Next, we will discuss... Figure 4 The vehicle diagnostic methods shown are explained in detail.

[0065] First, this application reads the wireless configuration file in XML format. Based on the network connection requests in this file, the diagnostic tool determines the corresponding preset wireless network, namely the external wireless network and the diagnostic device's wireless network, and verifies the network connection requests, thereby successfully connecting to the preset wireless network.

[0066] Next, using the diagnostic device's wireless network, a device read command is sent to the target diagnostic device. Upon receiving the command, the target diagnostic device returns its serial number, which the diagnostic instrument then obtains.

[0067] Afterwards, the diagnostic device's wireless network will be turned off, and it will switch to an external wireless network. Using this external network, the diagnostic tool will verify the acquired user information and the previously obtained target diagnostic device serial number. Once verification is successful, the diagnostic tool will gain access to the target diagnostic software and can then operate it.

[0068] In the target diagnostic software, the target network requirement is determined based on the actual diagnostic application scenario. For example, in a diagnostic scenario requiring real-time, high-volume data interaction with the vehicle diagnostic module and demanding low latency, the target network requirement is determined to be the diagnostic device's wireless network. In scenarios requiring software upgrades or data uploads that rely on the internet, the target network requirement is the use of an external wireless network. After determining the target network requirement, the diagnostic tool identifies the target wireless network from both the external and diagnostic device wireless networks. Then, using the target wireless network, it performs corresponding preset diagnostic operations on the target vehicle, such as fault code scanning and ECU parameter reading via the diagnostic device's wireless network, or diagnostic software upgrades and diagnostic data uploads via the external wireless network. Simultaneously, the external wireless network can also interact with the internet, providing a channel for the diagnostic software to access a wider range of resources and support.

[0069] See Figure 5 As shown, this embodiment of the invention discloses a vehicle diagnostic device, applied to a physical machine on which target diagnostic software is installed, specifically including:

[0070] The wireless network connection module 11 is used to determine the corresponding preset wireless network based on the network connection request, and to verify the network connection request to connect to the preset wireless network; wherein, the preset wireless network includes an external wireless network and a diagnostic device wireless network;

[0071] Serial number acquisition module 12 is used to send a read device command to the target diagnostic device using the diagnostic device wireless network and acquire the target diagnostic device serial number returned by the target diagnostic device;

[0072] Access permission acquisition software module 13 is used to turn off the wireless network of the diagnostic device and switch to the external wireless network, and to obtain access permission for the target diagnostic software based on the user information obtained by the external wireless network and the serial number of the target diagnostic device.

[0073] The vehicle diagnostic module 14 is used to determine the target network requirements in the target diagnostic software according to the diagnostic application scenario, determine the target wireless network from the preset wireless networks based on the target network requirements, and perform corresponding preset diagnostic operations on the target vehicle using the target wireless network.

[0074] As described above, this application first determines and verifies the corresponding preset wireless network based on the network connection request to complete the connection. Then, it sends a read command to the target diagnostic device via the diagnostic device's wireless network to obtain its serial number. Subsequently, it shuts down the diagnostic device's wireless network and switches to an external wireless network, verifying user information and the device serial number to obtain access permissions for the target diagnostic software. Finally, within the target diagnostic software, the target network requirements are defined according to the specific diagnostic application scenario, and a suitable target wireless network is selected from the preset wireless networks to perform the corresponding preset diagnostic operations on the target vehicle. In this way, by quickly switching network connections, even without an additional external wireless network card, the diagnostic software can automatically handle network changes according to the application scenario, achieving intelligent connection between the network and the device. This not only ensures smooth network verification and data acquisition but also guarantees normal communication with the diagnostic device, reduces manual intervention, simplifies the operation process, and significantly improves the efficiency of diagnostic device applications.

[0075] In some specific embodiments, the wireless network connection module 11 may specifically include:

[0076] An adapter adaptation unit is used to scan the network adapters in the local physical machine.

[0077] The network card determination unit is used to eliminate preset interfering network cards in the network adapter based on the scanning results in order to determine the target wireless network card;

[0078] The first network connection request sending unit is used to send a first network connection request of the diagnostic device wireless network to the target wireless network card, so that the target wireless network card can authenticate the target diagnostic device based on the first network connection request, connect to the diagnostic device wireless network based on the corresponding first authentication result, and send first connection confirmation information to the target diagnostic software in the physical machine.

[0079] The second network connection request sending unit is used to send a second network connection request of the external wireless network to the target wireless network card, so that the target wireless network card can authenticate with the external wireless network device based on the second network connection request, connect to the external wireless network based on the corresponding second authentication result, and send second connection confirmation information to the target diagnostic software in the physical machine.

[0080] In some specific implementations, the preset interference network card includes any one or more of wired network cards, virtual network cards, Bluetooth network cards, and USB network cards.

[0081] In some specific embodiments, the vehicle diagnostic device may further include:

[0082] The first prompt information sending module is used to generate a corresponding first prompt information and send the first prompt information to the user terminal if the first connection confirmation information indicates that the wireless network connection of the diagnostic device has failed; wherein, the first prompt information includes reconfiguring the wireless network of the diagnostic device;

[0083] The second prompt message sending module is used to generate a corresponding second prompt message and send the second prompt message to the user terminal if the second connection confirmation information indicates that the external wireless network connection has failed; wherein, the second prompt message includes reconfiguring the external wireless network.

[0084] In some specific implementations, the access permission acquisition software module 13 may specifically include:

[0085] The username and password acquisition unit is used to acquire the username and password sent by the user terminal.

[0086] The serial number sending unit is used to send the username and password sent by the user terminal and the serial number of the target diagnostic device to the target server, so that the target server can verify the username and password sent by the user terminal and the serial number of the target diagnostic device, and send the verification result to the target diagnostic software in the physical machine;

[0087] The access permission opening unit is used to open the access permission of the target diagnostic software if the verification result indicates that the user terminal and the target diagnostic device meet the preset trust conditions.

[0088] In some specific embodiments, the vehicle diagnostic device may further include:

[0089] A diagnostic device wireless network disconnection module is used to disconnect the diagnostic device's wireless network;

[0090] An external wireless network connection module is used to connect to the external wireless network;

[0091] The target diagnostic log generation module is used to generate corresponding target diagnostic logs for the process of performing diagnostic operations corresponding to the target network requirements.

[0092] The log upload module is used to upload the generated target diagnostic logs to the target server using the external wireless network.

[0093] In some specific implementations, the target network requirement includes diagnosing the target vehicle or upgrading the target diagnostic software;

[0094] Accordingly, the vehicle diagnostic module 14 may specifically include:

[0095] An operation execution unit is configured to, if the target network requirement is the target vehicle for diagnosis, determine the wireless network of the diagnostic device as the target wireless network and perform a preset diagnostic operation on the target vehicle using the target wireless network;

[0096] The software update unit is configured to, if the target network requirement is to upgrade the target diagnostic software, identify the external wireless network as the target wireless network and update the target diagnostic software using the target wireless network.

[0097] Furthermore, embodiments of this application also disclose an electronic device, Figure 6 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content of the diagram should not be construed as limiting the scope of this application.

[0098] Figure 6 This is a schematic diagram of the structure of an electronic device 20 provided in an embodiment of this application. Specifically, the electronic device 20 may include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 stores a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the vehicle diagnostic method disclosed in any of the foregoing embodiments. Furthermore, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0099] In this embodiment, the power supply 23 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this application, and is not specifically limited here; the input / output interface 25 is used to acquire external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.

[0100] In addition, the memory 22, as a carrier for resource storage, can be a read-only memory, random access memory, disk or optical disk, etc. The resources stored thereon can include operating system 221, computer program 222, etc., and the storage method can be temporary storage or permanent storage.

[0101] The operating system 221 is used to manage and control the various hardware devices on the electronic device 20 and the computer program 222, which may be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program capable of performing the vehicle diagnostic method executed by the electronic device 20 as disclosed in any of the foregoing embodiments, the computer program 222 may further include a computer program capable of performing other specific tasks.

[0102] Furthermore, this application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the aforementioned vehicle diagnostic method. Specific steps of this method can be found in the corresponding content disclosed in the foregoing embodiments, and will not be repeated here.

[0103] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section.

[0104] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0105] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0106] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0107] The technical solutions provided in this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A vehicle diagnostic method, characterized in that, The physical machines used to install the target diagnostic software include: The corresponding preset wireless network is determined based on the network connection request, and the network connection request is verified to connect to the preset wireless network; wherein, the preset wireless network includes an external wireless network and a diagnostic device wireless network; The diagnostic device uses its wireless network to send a read device command to the target diagnostic device and obtains the target diagnostic device serial number returned by the target diagnostic device. The diagnostic device's wireless network is turned off and switched to the external wireless network. Based on the user information obtained through the external wireless network verification and the target diagnostic device's serial number, access permissions for the target diagnostic software are obtained. The target diagnostic software determines the target network requirement based on the diagnostic application scenario, selects the target wireless network from the preset wireless network based on the target network requirement, and performs the corresponding preset diagnostic operation on the target vehicle using the target wireless network. The step of determining the corresponding preset wireless network based on the network connection request and verifying the network connection request to connect to the preset wireless network includes: Scan the network adapters in the local machine of the physical machine; Based on the scan results, pre-defined interfering network cards in the network adapter are eliminated to determine the target wireless network card; Send a first network connection request of the diagnostic device's wireless network to the target wireless network card, so that the target wireless network card can authenticate the target diagnostic device based on the first network connection request, connect to the diagnostic device's wireless network based on the corresponding first authentication result, and send first connection confirmation information to the target diagnostic software in the physical machine; Send a second network connection request for the external wireless network to the target wireless network card, so that the target wireless network card can authenticate with the external wireless network device based on the second network connection request, connect to the external wireless network based on the corresponding second authentication result, and send second connection confirmation information to the target diagnostic software in the physical machine; The target network requirements include diagnosing the target vehicle or upgrading the target diagnostic software; Accordingly, the step of determining the target wireless network from the preset wireless networks based on the target network requirements, and performing corresponding preset diagnostic operations on the target vehicle using the target wireless network, includes: If the target network requirement is the target vehicle for diagnosis, then the wireless network of the diagnostic device is determined as the target wireless network, and the target wireless network is used to perform a preset diagnostic operation on the target vehicle; If the target network requirement is the upgrade target diagnostic software, then the external wireless network is identified as the target wireless network, and the target diagnostic software is updated using the target wireless network.

2. The vehicle diagnostic method according to claim 1, characterized in that, The preset interference network card includes any one or more of the following: wired network card, virtual network card, Bluetooth network card, and USB network card.

3. The vehicle diagnostic method according to claim 1, characterized in that, Also includes: If the first connection confirmation information indicates that the diagnostic device's wireless network connection has failed, a corresponding first prompt message is generated and sent to the user terminal; wherein, the first prompt message includes reconfiguring the diagnostic device's wireless network; If the second connection confirmation information indicates that the external wireless network connection has failed, a corresponding second prompt message is generated and sent to the user terminal; wherein, the second prompt message includes reconfiguring the external wireless network.

4. The vehicle diagnostic method according to claim 1, characterized in that, The step of obtaining access to the target diagnostic software based on the user information obtained through verification using the external wireless network and the target diagnostic device serial number includes: Retrieve the username and password sent by the user; The username and password sent by the user terminal and the serial number of the target diagnostic device are sent to the target server so that the target server can verify the username and password sent by the user terminal and the serial number of the target diagnostic device, and send the verification result to the target diagnostic software in the physical machine; If the verification result indicates that the user terminal and the target diagnostic device meet the preset trust conditions, then the access permission of the target diagnostic software is granted.

5. The vehicle diagnostic method according to claim 4, characterized in that, Also includes: Disconnect the diagnostic device from its wireless network; Connect to the external wireless network; The process of performing the diagnostic operations corresponding to the target network requirements generates a corresponding target diagnostic log; The generated target diagnostic logs are uploaded to the target server using the external wireless network.

6. A vehicle diagnostic device, characterized in that, The physical machines used to install the target diagnostic software include: A wireless network connection module is used to determine a corresponding preset wireless network based on a network connection request, and to verify the network connection request to connect to the preset wireless network; wherein, the preset wireless network includes an external wireless network and a diagnostic device wireless network; The serial number acquisition module is used to send a read device command to the target diagnostic device using the wireless network of the diagnostic device, and to obtain the target diagnostic device serial number returned by the target diagnostic device. Access permission acquisition software module is used to turn off the wireless network of the diagnostic device and switch to the external wireless network, and to obtain access permission for the target diagnostic software based on the user information obtained by the external wireless network and the serial number of the target diagnostic device. The vehicle diagnostic module is used to determine the target network requirements in the target diagnostic software according to the diagnostic application scenario, determine the target wireless network from the preset wireless network based on the target network requirements, and perform corresponding preset diagnostic operations on the target vehicle using the target wireless network. The wireless network connection module includes: An adapter adaptation unit is used to scan the network adapters in the local physical machine. The network card determination unit is used to eliminate preset interfering network cards in the network adapter based on the scanning results in order to determine the target wireless network card; The first network connection request sending unit is used to send a first network connection request of the diagnostic device wireless network to the target wireless network card, so that the target wireless network card can authenticate the target diagnostic device based on the first network connection request, connect to the diagnostic device wireless network based on the corresponding first authentication result, and send first connection confirmation information to the target diagnostic software in the physical machine. The second network connection request sending unit is used to send a second network connection request of the external wireless network to the target wireless network card, so that the target wireless network card can authenticate the external wireless network device based on the second network connection request, connect to the external wireless network based on the corresponding second authentication result, and send second connection confirmation information to the target diagnostic software in the physical machine. The target network requirements include diagnosing the target vehicle or upgrading the target diagnostic software; Accordingly, the vehicle diagnostic module includes: An operation execution unit is configured to, if the target network requirement is the target vehicle for diagnosis, determine the wireless network of the diagnostic device as the target wireless network and perform a preset diagnostic operation on the target vehicle using the target wireless network; The software update unit is configured to, if the target network requirement is to upgrade the target diagnostic software, identify the external wireless network as the target wireless network and update the target diagnostic software using the target wireless network.

7. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the vehicle diagnostic method as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, Used to store a computer program; wherein, when the computer program is executed by a processor, it implements the vehicle diagnostic method as described in any one of claims 1 to 5.