Vehicle diagnostic data acquisition method and related apparatus

By using multiple modules of diagnostic and communication equipment for concurrent transmission, the problem of low communication efficiency in existing automotive diagnostic equipment has been solved, achieving efficient data acquisition and improved user experience.

WO2026092331A1PCT designated stage Publication Date: 2026-05-07AUTEL INTELLIGENT TECHNOLOGY CORP LTD
View PDF 7 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
AUTEL INTELLIGENT TECHNOLOGY CORP LTD
Filing Date
2025-10-24
Publication Date
2026-05-07

AI Technical Summary

Technical Problem

In existing technologies, automotive diagnostic equipment needs to sequentially traverse multiple pin pairs when acquiring vehicle diagnostic data due to differences in different brands and models, resulting in low communication efficiency, poor diagnostic efficiency, and poor user experience.

Method used

By using multiple types of communication modules of diagnostic and communication devices to transmit data concurrently, and utilizing pin communication parameters and mode parameters, concurrent data acquisition of multiple target pin pairs can be achieved.

Benefits of technology

It improved data acquisition efficiency, reduced waiting time, and enhanced user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025129941_07052026_PF_FP_ABST
    Figure CN2025129941_07052026_PF_FP_ABST
Patent Text Reader

Abstract

A vehicle diagnostic data acquisition method, applied to a diagnostic device (10). The diagnostic device (10) is connected to a communication device (20), the communication device (20) comprises a communication interface and at least two types of first communication modules (23), the diagnostic device (10) comprises at least two types of second communication modules (13), the communication device (20) is connected to an electronic control unit of a vehicle by means of the communication interface, the communication interface has a plurality of sets of pin pairs, and the electronic control unit sends diagnostic data to the pin pairs of the communication interface. The vehicle diagnostic data acquisition method comprises: sending pin communication parameters to the communication device (20), the pin communication parameters comprising first identification codes of target pin pairs and first communication mode parameters corresponding to the first identification codes (S100); and receiving diagnostic data of the target pin pairs by means of a second communication module (13) corresponding to the first communication mode parameters (S200). In the vehicle diagnostic data acquisition method, the at least two types of communication modules of the diagnostic device (10) and the communication device (20) concurrently transmit and acquire the diagnostic data, thereby improving the data acquisition efficiency and reducing the waiting time.
Need to check novelty before this filing date? Find Prior Art

Description

A method and related apparatus for acquiring vehicle diagnostic data

[0001] This application claims priority to Chinese Patent Application No. 202411550668.3, filed on November 1, 2024, entitled “A Method and Related Device for Acquiring Vehicle Diagnostic Data”, the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of automotive diagnostic technology, and in particular to a vehicle diagnostic data acquisition method, diagnostic equipment, communication equipment, vehicle diagnostic data acquisition system, and storage medium. Background Technology

[0003] With social development and the advancement of science and technology, automobile design and production are increasingly adopting electronic control units (ECUs). On the one hand, this makes automobiles more automated, with better performance and more convenient and flexible operation; on the other hand, it also puts forward higher requirements for automobile maintenance.

[0004] In automotive diagnostics, technicians or users operate diagnostic equipment, connect to a VCI (Vehicle Communication Interface) device, and acquire bus data via an OBD (On-Board Diagnostics) interface to perform diagnostics in certain scenarios (such as battery pack diagnostics in new energy vehicles). Due to design differences between different brands and models of vehicles, the vehicle's ECU uses different pin pairs on the OBD interface to send diagnostic data to the communication bus, resulting in diagnostic data being distributed across one or more pin pairs. Since the OBD interface has multiple pin pairs, and each pin pair may contain diagnostic data, if it is not known beforehand which pin pair is used to send the diagnostic data, the diagnostic equipment must sequentially traverse all pin pairs to obtain all possible diagnostic data. However, this communication process (i.e., sequentially acquiring data from each pin pair) is inefficient. Technicians or users must wait for each pin pair to acquire all possible data before the diagnostic equipment can proceed with further processing, leading to low data acquisition efficiency, reduced diagnostic efficiency, and a poor user experience. Summary of the Invention

[0005] In view of this, one objective of the embodiments of this application is to provide a vehicle diagnostic data acquisition method, diagnostic device, communication device, vehicle diagnostic data acquisition system, and storage medium. After the communication device acquires diagnostic data of at least two sets of target pin pairs, the method transmits the diagnostic data concurrently through at least two types of communication modules of the diagnostic device and the communication device. This enables the diagnostic device to acquire vehicle diagnostic data concurrently, improves data acquisition efficiency, reduces waiting time, and enhances user experience.

[0006] To address the aforementioned technical problems, this application provides the following technical solutions:

[0007] In a first aspect, embodiments of this application provide a method for acquiring vehicle diagnostic data, applied to a diagnostic device. The diagnostic device is connected to a communication device, which includes a communication interface and at least two types of first communication modules. The diagnostic device also includes at least two types of second communication modules, with each type of first communication module corresponding to one type of second communication module. The communication device is connected to the vehicle's electronic control unit through the communication interface, which has multiple sets of pin pairs. The electronic control unit sends diagnostic data to the pin pairs of the communication interface.

[0008] The method includes:

[0009] Send pin communication parameters to the communication device. The pin communication parameters include a first identifier code of the target pin pair and a first communication mode parameter corresponding to the first identifier code. The number of the target pin pairs includes at least two sets.

[0010] The diagnostic data of the target pin pair is received by the second communication module corresponding to the first communication mode parameter. After acquiring the diagnostic data on the target pin pair, the communication device sends the diagnostic data of the target pin pair to the diagnostic device through the first communication module corresponding to the first communication mode parameter.

[0011] In some embodiments, the diagnostic device further includes a cache module, and the method further includes:

[0012] The diagnostic data of the target pin pair is stored in the cache module, and the first identification code corresponding to the diagnostic data is recorded.

[0013] In some embodiments, the method further includes:

[0014] If the number of diagnostic data corresponding to the first identifier is greater than or equal to a preset number threshold, then the diagnostic data corresponding to the first identifier in the cache module is output to the diagnostic application of the diagnostic device.

[0015] If the number of diagnostic data corresponding to the first identifier is less than the preset quantity threshold, and the duration for which the target pin corresponding to the first identifier acquires diagnostic data is greater than or equal to the preset time threshold, then the diagnostic data corresponding to the first identifier in the cache module is output to the diagnostic application of the diagnostic device.

[0016] In some embodiments, before sending the pin communication parameters to the communication device, the method further includes:

[0017] Identify the target pin pair;

[0018] Based on the number of types of the first communication module or the second communication module and the number of target pin pairs, a first communication mode parameter corresponding to the first identifier of the target pin pair is determined. The first communication mode parameter includes the second identifier of the first communication module and the second communication module.

[0019] The pin communication parameters are obtained by combining the first identifier code of the target pin pair and the first communication mode parameter corresponding to the first identifier code.

[0020] In some embodiments, determining the first communication mode parameter corresponding to the first identifier code of the target pin pair based on the number of types of the first communication module or the second communication module and the number of target pin pairs includes:

[0021] If the number of types of the first communication module or the second communication module is greater than or equal to the number of target pin pairs, then a first communication module and a second communication module of a certain type are assigned to each group of target pin pairs, and the second identification code of the first communication module and the second communication module assigned to each group of target pin pairs is used as the first communication mode parameter corresponding to the first identification code of each group of target pin pairs, wherein each group of target pin pairs corresponds to a first communication module and a second communication module of a certain type;

[0022] or,

[0023] If the number of types of the first communication module or the second communication module is less than the number of target pin pairs, then at least two types of first communication modules and second communication modules are respectively assigned to a first number of target pin pairs, and the number of target pin pairs that are not assigned to first communication modules and second communication modules is counted. The first number is the number of types of the first communication module or the second communication module.

[0024] Among the various types of first and second communication modules, one or more types of reference communication modules with data transmission rates greater than or equal to a rate threshold are selected, and the reference communication modules are assigned to the target pin pairs of the unassigned first and second communication modules, wherein each type of first and second communication module corresponds to one or more sets of target pin pairs;

[0025] The first communication mode parameter is obtained by using the second identifier code of the first communication module and the second communication module assigned to each target pin pair as the first communication mode parameter corresponding to the first identifier code of each group of target pin pairs.

[0026] In some embodiments, the first communication module is any one of a Wi-Fi module, a USB module, a Bluetooth module, and an Ethernet module, and the second communication module is any one of a Wi-Fi module, a USB module, a Bluetooth module, and an Ethernet module.

[0027] Secondly, embodiments of this application provide a method for acquiring vehicle diagnostic data, applied to a communication device. The communication device is connected to a diagnostic device. The communication device includes a communication interface and at least two types of first communication modules. The diagnostic device includes at least two types of second communication modules. Each type of first communication module corresponds to one type of second communication module. The communication device is connected to the vehicle's electronic control unit through the communication interface. The communication interface has multiple sets of pin pairs. The electronic control unit sends diagnostic data to the pin pairs of the communication interface.

[0028] The method includes:

[0029] The diagnostic device receives pin communication parameters, wherein the pin communication parameters include a first identifier code of the target pin pair and a first communication mode parameter corresponding to the first identifier code, and the number of the target pin pairs includes at least two sets.

[0030] Acquire diagnostic data from the target pin pair;

[0031] After acquiring the diagnostic data on the target pin pair, the diagnostic data of the target pin pair is sent to the diagnostic device through the first communication module corresponding to the first communication mode parameter, wherein the diagnostic device receives the diagnostic data of the target pin pair through the second communication module corresponding to the first communication mode parameter.

[0032] In some embodiments, before sending the diagnostic data of the target pin pair to the diagnostic device through the first communication module corresponding to the first communication mode parameter, the method further includes:

[0033] After obtaining the diagnostic data of the target pin pair, the diagnostic data of the target pin pair is added with the first identification code of the target pin pair, wherein each target pin pair corresponds to a unique first identification code, and the first identification code represents the target pin pair in the communication interface of the communication device used to obtain diagnostic data.

[0034] Thirdly, embodiments of this application provide a diagnostic device, including:

[0035] A first processor, a first memory communicatively connected to the first processor, and at least two types of second communication modules;

[0036] The first memory stores computer program instructions executable by the first processor, which, when invoked by the first processor, cause the first processor to execute any of the vehicle diagnostic data acquisition methods proposed in the first aspect.

[0037] Fourthly, embodiments of this application provide a communication device, including:

[0038] The second processor, and a second memory, a communication interface, and at least two types of first communication modules communicatively connected to the second processor;

[0039] The second memory stores computer program instructions executable by the second processor, which, when invoked by the second processor, cause the second processor to execute any of the vehicle diagnostic data acquisition methods proposed in the second aspect.

[0040] Fifthly, embodiments of this application provide a vehicle diagnostic data acquisition system, including:

[0041] The third aspect proposes diagnostic equipment, and the fourth aspect proposes communication equipment.

[0042] In a sixth aspect, embodiments of this application provide a computer-readable storage medium storing processor-executable computer program instructions, which, when invoked by the processor, cause the processor to execute any of the vehicle diagnostic data acquisition methods proposed in the first or second aspect.

[0043] The beneficial effects of this application's embodiments are as follows: Unlike the prior art, the vehicle diagnostic data acquisition method provided in this application is applied to a diagnostic device. The diagnostic device is connected to a communication device, which includes a communication interface and at least two types of first communication modules. The diagnostic device also includes at least two types of second communication modules, with each type of first communication module corresponding to one type of second communication module. The communication device is connected to the vehicle's electronic control unit (ECU) through the communication interface, which has multiple sets of pin pairs. The ECU sends diagnostic data to the pin pairs of the communication interface. The method includes: sending pin communication parameters to the communication device, whereby the pin communication parameters include a first identifier of the target pin pair and a first communication mode parameter corresponding to the first identifier. The number of target pin pairs includes at least two sets. The method also includes receiving diagnostic data of the target pin pair through the second communication module corresponding to the first communication mode parameter. After acquiring the diagnostic data on the target pin pair, the communication device sends the diagnostic data of the target pin pair to the diagnostic device through the first communication module corresponding to the first communication mode parameter.

[0044] The vehicle diagnostic data acquisition method provided in this application embodiment acquires diagnostic data of at least two sets of target pin pairs through a communication device, and then transmits the diagnostic data concurrently through at least two types of communication modules of the diagnostic device and the communication device. This enables the diagnostic device to acquire vehicle diagnostic data concurrently, improves data acquisition efficiency, reduces waiting time, and enhances user experience. Attached Figure Description

[0045] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the prior art or embodiments will be briefly introduced below. Obviously, the drawings described below only show some embodiments of this application and should not be considered as limiting the scope of protection. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0046] Figure 1 is a schematic diagram of the structure of a vehicle diagnostic data acquisition system provided in some embodiments of this application;

[0047] Figure 2 is a schematic diagram of the structure of a diagnostic device provided in some embodiments of this application;

[0048] Figure 3 is a schematic diagram of the structure of a communication device provided in some embodiments of this application;

[0049] Figure 4 is a schematic diagram of the interaction between various devices in a vehicle diagnostic data acquisition system provided in some embodiments of this application;

[0050] Figure 5 is a flowchart illustrating a vehicle diagnostic data acquisition method (applied to diagnostic equipment) provided in some embodiments of this application;

[0051] Figure 6 is a flowchart illustrating a vehicle diagnostic data acquisition method (applied to communication equipment) provided in some embodiments of this application. Detailed Implementation

[0052] To make the objectives and advantages of the embodiments of this application more readily understood, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. The detailed description of the embodiments of this application in the accompanying drawings is not intended to limit the scope of protection claimed by this application, but only represents selected embodiments of this application. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0053] It should be noted that, unless there is a conflict, the various technical features involved in the embodiments of this application described below can be combined with each other, and all are within the protection scope of this application. Furthermore, although functional modules are divided in the device or structural schematic diagram and a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. In addition, the terms "first," "second," "third," and other similar expressions used herein do not limit the data or execution order, but are only for illustrative purposes and to distinguish identical or similar items with substantially the same function and effect, and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features.

[0054] Unless otherwise defined, the technical and scientific terms used in this specification have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of this application. It should be understood that the term "and / or" as used in this specification includes any and all combinations of one or more of the associated listed items.

[0055] Please refer to Figure 1, which schematically illustrates the structure of a vehicle diagnostic data acquisition system 100 provided in some embodiments of this application.

[0056] As shown in Figure 1, the vehicle diagnostic data acquisition system 100 includes a diagnostic device 10 and a communication device 20 connected by communication. The diagnostic device 10 and the communication device 20 are connected via a network, examples of which include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. For example, in some embodiments, the diagnostic device 10 and the communication device 20 establish a communication connection via technologies such as Wi-Fi, Bluetooth, and NFC, and communicate with each other using a predetermined communication protocol, which may be a protocol such as TCP / IP or UDP.

[0057] The communication device 20 is also connected to the vehicle 30 so that the diagnostic device 10 can obtain the diagnostic data of the vehicle 30 through the communication device 20. The diagnostic device 10 can then analyze and diagnose the faults or abnormalities of the vehicle 30 based on the diagnostic data, thereby achieving the diagnosis of the vehicle 30.

[0058] In some embodiments, the communication device 20 may be a VCI device, which is an electronic device with computing capabilities and integrates a communication interface, such as an OBD interface. The communication device 20 can communicate with the OBD interface of the vehicle 30 via the OBD interface. The communication device 20 can convert data on the vehicle 30's bus into data that the diagnostic device 10 can recognize, and it can also convert data sent by the diagnostic device 10 into data that the vehicle 30's bus can recognize. Furthermore, the communication device 20 may have wireless communication capabilities, enabling it to communicate with the diagnostic device 10 via networks such as Wi-Fi and Bluetooth, or via a wired connection, to enhance communication reliability. In some embodiments, the communication device 20 also includes a touchscreen display, thereby enabling it to receive operator input or display operating instructions, diagnostic status, and related data.

[0059] In some feasible implementations, the communication device 20 includes an independent communication unit and a mobile terminal. Here, the communication unit can be a VCI device, and the mobile terminal can be a tablet computer, smartphone, or various forms of handheld smart devices. In this embodiment, the communication unit is wired to the OBD interface of the vehicle 30 and also wired to the mobile terminal, such as via a USB wired connection. The mobile terminal communicates with the diagnostic device 10 via networks such as Wi-Fi and Bluetooth. The mobile terminal can also communicate with the diagnostic device 10 via a wired connection, making communication more reliable. Understandably, the mobile terminal includes a touchscreen display, enabling it to receive operator input or display operating instructions, diagnostic status, and related data.

[0060] Specifically, diagnostic device 10 is a portable intelligent vehicle fault self-diagnostic instrument used to detect vehicle faults. Users can use diagnostic device 10 to quickly read faults occurring in the vehicle's electronic control system and display fault information on an LCD screen to quickly identify the location and cause of the fault. It should be understood that diagnostic device 10 can be a commercially available vehicle diagnostic instrument, which includes a host computer and a slave computer. The two can be connected via wired or wireless means, such as through USB cable, Bluetooth, or WIFI. The host computer can be a tablet, computer, or other device used for human-computer interaction. The slave computer can be a VCI device used for communication connection between the host computer and communication device 20. The structure and working principle of diagnostic device 10 are well known to those skilled in the art and will not be described in detail here.

[0061] The above is merely an illustrative example of the vehicle diagnostic data acquisition system 100. The vehicle diagnostic data acquisition system 100 can also be implemented using other hardware and software methods. For example, the function of the communication device 20 can be implemented through software. A network communication interface can be added to the software of the diagnostic device 10 to transmit data with the communication device 20 through this network communication interface.

[0062] It should be understood that the vehicle diagnostic data acquisition system 100 shown in Figure 1 is merely illustrative and does not limit the structure or type of other vehicle diagnostic data acquisition systems. For example, in some other embodiments, the vehicle diagnostic data acquisition system may also include a server. After the communication device acquires diagnostic data from the vehicle, it transmits the diagnostic data to the server, and the server then forwards the diagnostic data to the diagnostic device, thereby enabling remote diagnosis of vehicle faults.

[0063] To facilitate understanding of the vehicle diagnostic data acquisition method provided in the embodiments of this application, the diagnostic equipment and communication equipment provided in the embodiments of this application will first be described in detail.

[0064] Please refer to Figure 2, which schematically shows a structural diagram of a diagnostic device 10 provided in some embodiments of this application.

[0065] Specifically, as shown in Figure 2, the diagnostic device 10 includes a first processor 11, a first memory 12, a cache module 14, and at least two types of second communication modules 13, all connected via communication. Figure 2 uses a bus system 15 and a single first processor as an example. The second communication module 13 is used to communicate with the communication device 20, enabling the diagnostic device 10 to perform communication control and data transmission with the communication device 20 through the second communication module 13. The cache module 14 is used to cache received diagnostic data.

[0066] In this embodiment, the various components of the diagnostic device 10 are coupled together via a bus system 15, which is used to enable communication between these components. It is readily understood that the bus system 15 may include not only a data bus but also a power bus, a control bus, and a status signal bus. However, for clarity and brevity, all buses are labeled as bus system 15 in Figure 2. It is understood that the structure of the diagnostic device 10 shown in Figure 2 is merely illustrative and does not limit the structure of the diagnostic device 10 described above. In some embodiments, the diagnostic device 10 may include more or fewer components than shown in Figure 2, or have a different configuration than that shown in Figure 2.

[0067] The first processor 11 provides computational and control capabilities to control the diagnostic device 10 to perform corresponding tasks. For example, it controls the diagnostic device 10 to execute any vehicle diagnostic data acquisition method provided in the first aspect of the embodiments of this application, or to execute the steps in any possible implementation of any vehicle diagnostic data acquisition method provided in the second aspect of the embodiments of this application. It should be understood that the first processor 11 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0068] The first memory 12, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, instructions, and modules, such as the programs, instructions, and modules corresponding to the vehicle diagnostic data acquisition method provided in the first aspect of this application. In some embodiments, the first memory 12 may include a program storage area and a data storage area. The program storage area may store an operating system and an application program required for at least one function; the data storage area may store data created according to the use of the first processor 11, etc. The first processor 11 executes various functional applications and data processing of the diagnostic device 10 by running the non-transitory software programs, instructions, and modules stored in the first memory 12, so as to implement any vehicle diagnostic data acquisition method provided in the first aspect of this application, or execute the steps in any possible implementation of any vehicle diagnostic data acquisition method provided in the first aspect of this application. The first memory 12 may include high-speed random access memory and may also include non-transitory memory. For example, at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the first memory 12 may also include memory remotely located relative to the first processor 11, and these remotely located memories may be connected to the first processor 11 through a communication network. It should be understood that examples of the aforementioned communication networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0069] Please refer to Figure 3, which schematically illustrates the structure of a communication device 20 provided in some embodiments of this application.

[0070] Specifically, as shown in Figure 3, the communication device 20 includes a second processor 21, a second memory 22, a communication interface 24, and at least two types of first communication modules 23 connected via communication. Figure 3 uses a bus system 25 and a second processor as an example. The first communication module 23 is used to communicate with the diagnostic device 10, enabling the communication device 20 to complete communication control and data transmission with the diagnostic device 10 through the first communication module 23. The communication interface 24 has multiple pin pairs and is used to communicate with the vehicle 30. Specifically, the communication interface 24 is connected to the electronic control unit of the vehicle 30, enabling the electronic control unit of the vehicle 30 to send diagnostic data to the pin pairs of the communication interface 24. In this embodiment, each type of first communication module 23 in the communication device 20 corresponds to a type of second communication module 13 in the diagnostic device 10. For example, when the first communication module 23 is a Bluetooth module, the second communication module 13 is also a Bluetooth module; if the first communication module 23 is a Wi-Fi module, the second communication module 13 is also a Wi-Fi module.

[0071] In this embodiment, the various components of the communication device 20 are coupled together via a bus system 25, which is used to enable communication between these components. It is readily understood that the bus system 25 may include not only a data bus but also a power bus, a control bus, and a status signal bus. However, for clarity and brevity, all buses are labeled as bus system 25 in Figure 3. It is understood that the structure of the communication device 20 shown in Figure 3 is merely illustrative and does not limit the structure of the communication device 20 described above. In some embodiments, the communication device 20 may include more or fewer components than shown in Figure 3, or have a different configuration than that shown in Figure 3.

[0072] The second processor 21 provides computational and control capabilities to control the communication device 20 to perform corresponding tasks. For example, it controls the communication device 20 to execute any of the vehicle diagnostic data acquisition methods provided in the second aspect of the embodiments of this application, or to execute the steps in any possible implementation of any of the vehicle diagnostic data acquisition methods provided in the second aspect of the embodiments of this application. It should be understood that the second processor 21 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0073] The second memory 22, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, instructions, and modules, such as the programs, instructions, and modules corresponding to the vehicle diagnostic data acquisition method provided in the second aspect of this application. In some embodiments, the second memory 22 may include a program storage area and a data storage area. The program storage area may store an operating system and an application program required for at least one function; the data storage area may store data created according to the use of the second processor 21, etc. The second processor 21 executes various functional applications and data processing of the communication device 20 by running the non-transitory software programs, instructions, and modules stored in the second memory 22, so as to implement any of the vehicle diagnostic data acquisition methods provided in the second aspect of this application, or execute the steps in any possible implementation of any of the vehicle diagnostic data acquisition methods provided in the second aspect of this application. The second memory 22 may include high-speed random access memory and may also include non-transitory memory. For example, at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the second memory 22 may also include memory remotely located relative to the second processor 21, and these remotely located memories may be connected to the second processor 21 through a communication network. It should be understood that examples of the aforementioned communication networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0074] Please refer to Figure 4, which schematically illustrates the interaction between a diagnostic device and a communication device in a vehicle diagnostic data acquisition system provided in some embodiments of this application. In Figure 4, the diagnostic device 10 is communicatively connected to the communication device 20, and the communication device 20 is communicatively connected to the vehicle 30.

[0075] Specifically, the electronic control unit of vehicle 30 sends its own diagnostic data to communication device 20 via a communication connection. Specifically, the diagnostic data is sent to the pin pair of the communication interface of communication device 20.

[0076] Specifically, after establishing a communication connection with the communication device 20, the diagnostic device 10 sends pin communication parameters to the communication device 20. These pin communication parameters include a first identifier code for the target pin pair and a corresponding first communication mode parameter. The first communication mode parameter includes second identifier codes for the first and second communication modules. Diagnostic data and the communication device can transmit diagnostic data from the target pin pair through the first and second communication modules according to the first communication mode parameter. The number of target pin pairs includes at least two sets.

[0077] After receiving the pin communication parameters, the communication device 20 obtains the diagnostic data of the vehicle 30 from its corresponding target pin pair. Then, according to the pin communication parameters, it transmits the obtained diagnostic data of the target pin pair (i.e., the diagnostic data of the vehicle 30) to the diagnostic device 10 through the first communication module corresponding to the first communication mode parameters.

[0078] The diagnostic device 20 receives diagnostic data (i.e., diagnostic data of vehicle 30) from the target pin pair through the second communication module corresponding to the first communication mode parameters, based on the pin communication parameters. It then analyzes and processes the diagnostic data to obtain the diagnostic results for vehicle 30. Clearly, the diagnostic results include information such as faults, abnormalities, or other conditions.

[0079] As can be understood from the foregoing, the implementing entity of any vehicle diagnostic data acquisition method provided in the first aspect of this application can be any suitable type of diagnostic device with certain computing and control capabilities, such as the diagnostic device 10 described above. The implementing entity of any vehicle diagnostic data acquisition method provided in the second aspect of this application can be any suitable type of communication device with certain computing and control capabilities, such as the communication device 20 described above. In some implementations, any vehicle diagnostic data acquisition method provided in this application can be implemented by a processor calling computer program instructions stored in memory. The vehicle diagnostic data acquisition method provided in this application will be described in detail below with reference to exemplary applications and implementations of the diagnostic devices and communication devices provided in this application.

[0080] First, the method for acquiring vehicle diagnostic data provided in the first aspect of the embodiments of this application will be described in detail.

[0081] Please refer to Figure 5, which schematically illustrates a flowchart of a vehicle diagnostic data acquisition method provided in some embodiments of this application.

[0082] Those skilled in the art will understand that the vehicle diagnostic data acquisition method provided in this application embodiment can be applied to the aforementioned diagnostic equipment (e.g., diagnostic equipment 10). Specifically, the executing entity of this vehicle diagnostic data acquisition method is one or at least two first processors of the diagnostic equipment.

[0083] As shown in Figure 5, the method for acquiring vehicle diagnostic data includes, but is not limited to, the following steps S100-S200:

[0084] S100: Send pin communication parameters to the communication device. The pin communication parameters include the first identifier of the target pin pair and the first communication mode parameters corresponding to the first identifier. The number of target pin pairs includes at least two sets.

[0085] In this embodiment, the pin communication parameters include a first identifier code of the target pin pair and a first communication mode parameter corresponding to the first identifier code. The first communication mode parameter includes a second identifier code of the first communication module and a second identifier code of the second communication module. Diagnostic data and the communication device can transmit diagnostic data of the target pin pair through the first and second communication modules according to the first communication mode parameter. The number of target pin pairs includes at least two sets. The target pin pair is the pin pair of the communication interface in the communication device that the communication device needs to read.

[0086] Specifically, based on the established communication connection (e.g., Bluetooth connection, Wi-Fi connection, or other connection), the diagnostic device selects an appropriate communication protocol (e.g., CAN, LIN, etc.) to send pin communication parameters to the communication device, so that after receiving the pin communication parameters, the communication device obtains the diagnostic data on the target pin pair and sends the diagnostic data to the diagnostic device.

[0087] In some embodiments, before sending pin communication parameters to the communication device, the diagnostic device needs to first determine the target pin pair (i.e., obtain diagnostic data on which pin pairs in the communication interface of the communication device), and then match the corresponding type of communication module in the diagnostic device and the communication device according to the target pin pair to obtain the pin communication parameters.

[0088] For example, in some embodiments, before sending pin communication parameters to the communication device, the vehicle diagnostic data acquisition method further includes, but is not limited to, the following steps S101-S103:

[0089] S101: Determine the target pin pair.

[0090] Specifically, the diagnostic equipment identifies the type of vehicle system and electronic control unit (ECU) by using the vehicle model and technical documents provided by the manufacturer. Based on the identified vehicle system, it queries internal or external databases and performs pin pair mapping based on the pin pair information in the database to determine the pin pairs used for the diagnostic task and the corresponding pin pair configuration information (e.g., the function of the pin pair and the first identification code of the pin pair).

[0091] In some embodiments, target pin pairs can be selected and determined according to preset rules. For example, the electronic control unit (ECU) of a certain vehicle model typically sends diagnostic data to pin pairs 3 and 13, 4 and 12, and 5 and 11 of the communication device. Therefore, the vehicle model number and pin pairs 3-13, 4-12, and 5-11 can form a preset rule. When the diagnostic device identifies the vehicle as belonging to this model, it can determine the target pin pairs as pin pairs 3-13, 4-12, and 5-11 according to this preset rule.

[0092] Of course, there are other suitable ways to determine the target pin pair. Those skilled in the art can use any suitable method to determine it, and the embodiments of this application do not limit this in any way.

[0093] S102: Based on the number of types of the first communication module or the second communication module and the number of target pin pairs, determine the first communication mode parameter corresponding to the first identifier of the target pin pair. The first communication mode parameter includes the second identifier of the first communication module and the second communication module.

[0094] Specifically, after determining the target pin pair of the communication device, the diagnostic device identifies the number of types of second communication modules currently configured in itself, i.e., how many types of second communication modules it has configured. Alternatively, it identifies the number of types of first communication modules currently configured in the communication device, i.e., how many types of first communication modules the communication device has configured. It can be understood that since each type of first communication module corresponds one-to-one with a type of second communication module, the number of types of first communication modules configured in the communication device is equal to the number of types of second communication modules configured in the diagnostic device.

[0095] Based on the number of types of the first or second communication module and the number of target pin pairs, the diagnostic device assigns a corresponding first or second communication module of a certain type to each target pin pair according to a predefined mapping rule, and uses the second identifier of the first and second communication modules as the first communication mode parameter, thereby obtaining the first communication mode parameter corresponding to the first identifier of each target pin pair.

[0096] In some embodiments, a corresponding first communication module and a second communication module can be assigned to a target pin pair according to the relationship between the number of types of the first communication module or the second communication module and the number of target pin pairs, so as to obtain the first communication mode parameter corresponding to the first identifier code of the target pin pair.

[0097] In some embodiments, the first communication mode parameter corresponding to the first identifier code of the target pin pair is determined based on the number of types of the first communication module or the second communication module and the number of target pin pairs, specifically including but not limited to the following step S1021:

[0098] S1021: If the number of types of the first communication module or the second communication module is greater than or equal to the number of target pin pairs, then a first communication module and a second communication module of a certain type are assigned to each group of target pin pairs, and the second identification code of the first communication module and the second communication module assigned to each group of target pin pairs is used as the first communication mode parameter corresponding to the first identification code of each group of target pin pairs, wherein each group of target pin pairs corresponds to a first communication module and a second communication module of a certain type.

[0099] Specifically, the number of types of the first or second communication module is compared with the number of target pin pairs. If the number of types of the first or second communication module is greater than or equal to the number of target pin pairs, it means that different types of first and second communication modules can be assigned to each group of target pin pairs. Then, one type of first and second communication module is assigned to each group of target pin pairs, and the second identifier code of the first and second communication modules assigned to each group of target pin pairs is used as the first communication mode parameter corresponding to the first identifier code of that group of target pin pairs. In this embodiment, each group of target pin pairs uniquely corresponds to one type of first and second communication module; that is, the types of the first and second communication modules corresponding to each group of target pin pairs are not the same.

[0100] For example, the target pin pairs include three groups, namely target pin pairs 1, 2, and 3. The first identifier of target pin pair 1 is A211, the first identifier of target pin pair 2 is B233, and the first identifier of target pin pair 3 is C257. The first communication module and the second communication module include four types: Wi-Fi module, Bluetooth module, NFC module, and Zigbee module.

[0101] In the four types of first and second communication modules, different types of first and second communication modules are assigned to the three sets of target pin pairs. For example, target pin pair 1 is assigned a first and second communication module of type Wi-Fi module, and the second identification code of the first and second communication modules (i.e., Wi-Fi module) is used as the first communication mode parameter corresponding to the first identification code of this set of target pin pairs. Target pin pair 2 is assigned a first and second communication module of type NFC module, and the second identification code of the first and second communication modules (i.e., NFC module) is used as the first communication mode parameter corresponding to the first identification code of this set of target pin pairs. Target pin pair 3 is assigned a first and second communication module of type Bluetooth module, and the second identification code of the first and second communication modules (i.e., Bluetooth module) is used as the first communication mode parameter corresponding to the first identification code of this set of target pin pairs.

[0102] For example, in some other embodiments, the first communication mode parameter corresponding to the first identifier code of the target pin pair is determined based on the number of types of the first communication module or the second communication module and the number of target pin pairs, specifically including but not limited to the following steps S1022-S1024:

[0103] S1022: If the number of types of the first communication module or the second communication module is less than the number of target pin pairs, then at least two types of the first communication module and the second communication module are respectively assigned to the first number of target pin pairs, and the target pin pairs that are not assigned the first communication module and the second communication module are counted. The first number is the number of types of the first communication module or the second communication module.

[0104] Specifically, when comparing the number of types of first or second communication modules with the number of target pin pairs, if the number of types of first or second communication modules is less than the number of target pin pairs, it means that different types of first and second communication modules cannot be assigned to each group of target pin pairs. That is, different target pin pairs need to be assigned the same type of first and second communication modules. In this case, at least two types of first and second communication modules are assigned to a first number of target pin pairs, where the first number is the number of types of first or second communication modules. This ensures that each type of first and second communication module is assigned to its corresponding target pin pair. Then, the target pin pairs that have not yet been assigned first and second communication modules are counted.

[0105] S1023: Among the various types of first and second communication modules, select one or more types of reference communication modules with data transmission rates greater than or equal to a rate threshold, and assign reference communication modules to target pin pairs that are not assigned first or second communication modules, wherein each type of first and second communication module corresponds to one or more sets of target pin pairs.

[0106] Specifically, among at least two types of first communication modules and second communication modules, one or more types of first communication modules and second communication modules with data transmission rates greater than or equal to a rate threshold are selected based on the data transmission rates of the first communication modules and second communication modules, and the first communication modules and second communication modules with data transmission rates greater than or equal to the rate threshold are marked as reference communication modules.

[0107] Then, based on the type and availability of the first and second communication modules, reference communication modules are assigned to target pin pairs for which no first or second communication modules have yet been assigned. In this embodiment, each type of first and second communication module corresponds to one or more sets of target pin pairs, that is, each type of first and second communication module is used to transmit diagnostic data for one or more sets of target pin pairs. The types of first and second communication modules corresponding to different target pin pairs may be the same or different.

[0108] S1024: The second identifier code of the first communication module and the second communication module assigned to each target pin pair is used as the first communication mode parameter corresponding to the first identifier code of each group of target pin pairs to obtain the first communication mode parameter.

[0109] After assigning a corresponding first communication module and a second communication module to each group of target pin pairs, the second identifier code of the first communication module and the second identifier code of the second communication module assigned to each group of target pin pairs are used as the first communication mode parameter corresponding to the first identifier code of that group of target pin pairs, thereby obtaining the first communication mode parameter corresponding to the first identifier code of each group of target pin pairs.

[0110] For example, the target pin pairs include three groups, namely target pin pairs 4, 5, and 6. The first identifier of target pin pair 4 is A121, the first identifier of target pin pair 5 is B143, and the first identifier of target pin pair 6 is C177. The first communication module and the second communication module include two types: Wi-Fi module and Bluetooth module. Among them, the data transmission rate of the first communication module and the second communication module of type Wi-Fi module is greater than the rate threshold.

[0111] In this embodiment, if the number of target pin pairs is greater than the number of types of the first communication module or the second communication module, then the first and second communication modules of type Wi-Fi are assigned to target pin pair 4, the first and second communication modules of type Bluetooth are assigned to target pin pair 5, and target pin pair 6 remains unassigned to the first and second communication modules.

[0112] Among the two types of first and second communication modules, reference communication modules with data transmission rates greater than or equal to the rate threshold are selected, namely, the first and second communication modules of type Wi-Fi modules, and the first and second communication modules of type Wi-Fi modules are assigned to target pin pair 6.

[0113] Then, the second identifier codes of the first and second communication modules (types Wi-Fi modules) assigned to target pin pair 4 are used as the first communication mode parameters corresponding to the first identifier codes of target pin pair 4. Similarly, the second identifier codes of the first and second communication modules (types Bluetooth modules) assigned to target pin pair 5 are used as the first communication mode parameters corresponding to the first identifier codes of target pin pair 5. Finally, the second identifier codes of the first and second communication modules (types Wi-Fi modules) assigned to target pin pair 6 are used as the first communication mode parameters corresponding to the first identifier codes of target pin pair 6, thus obtaining the first communication mode parameters corresponding to the first identifier codes of each set of target pin pairs.

[0114] In some embodiments, the first communication module of the communication device is any one of a Wi-Fi module, a USB module, a Bluetooth module, and an Ethernet module; correspondingly, the second communication module of the diagnostic device is any one of a Wi-Fi module, a USB module, a Bluetooth module, and an Ethernet module.

[0115] S103: Combine the first identifier of the target pin pair with the first communication mode parameter corresponding to the first identifier to obtain the pin communication parameter.

[0116] Specifically, after determining the first communication mode parameter corresponding to the first identifier code of the target pin pair, the diagnostic device combines the first identifier code of the target pin pair and the first communication mode parameter corresponding to the first identifier code of the target pin pair together. That is, it combines the first identifier code of the target pin pair with the second identifier code of the first communication module and the second identifier code of the second communication module corresponding to the first identifier code of the target pin pair to obtain the pin communication parameters.

[0117] For example, the target pin pairs include three groups, namely target pin pairs A, B, and C. The first identifier of target pin pair A is A206, the first identifier of target pin pair B is B204, and the first identifier of target pin pair C is C207. The first and second communication modules assigned to target pin pair A are of type Wi-Fi module. The second identifier of the first communication module is Wi-Fi-11, and the second identifier of the second communication module is Wi-Fi-21. Therefore, the first communication mode parameter corresponding to the first identifier A206 of target pin pair A includes the second identifiers of the first and second communication modules: Wi-Fi-11 and Wi-Fi-21.

[0118] The first and second communication modules assigned to the target pin pair B are Bluetooth modules. The second identification code of the first communication module is Bluetooth-101, and the second identification code of the second communication module is Bluetooth-201. Then, the first communication mode parameter corresponding to the first identification code B204 of the target pin pair B includes the second identification code Bluetooth-101 of the first communication module and the second identification code Bluetooth-201 of the second communication module.

[0119] The first communication module and the second communication module assigned to the target pin pair C are of type NFC module. The second identification code of the first communication module is NFC-11 and the second identification code of the second communication module is NFC-21. Then the first communication mode parameter corresponding to the first identification code C207 of the target pin pair C includes the second identification code NFC-11 of the first communication module and the second identification code NFC-21 of the second communication module.

[0120] Then, the first identifier codes of target pin pairs A, B, and C, and the second identifier codes of the first and second communication modules corresponding to the first identifier codes of target pin pairs A, B, and C are combined to obtain the pin communication parameters. In this embodiment, the pin communication parameters include three sets of parameters, namely [A206, Wi-Fi-11, Wi-Fi-21], [B204, Bluetooth-101, Bluetooth-201], and [C207, NFC-11, NFC-21].

[0121] S200: Receive diagnostic data of the target pin pair through the second communication module corresponding to the first communication mode parameter, wherein after acquiring the diagnostic data on the target pin pair, the communication device sends the diagnostic data of the target pin pair to the diagnostic device through the first communication module corresponding to the first communication mode parameter.

[0122] Specifically, the diagnostic device configures the corresponding second communication module according to the first communication mode parameters to ensure it can receive diagnostic data sent by the communication device. The second communication module initiates a listening process under the specified communication protocol, preparing to receive diagnostic data. Understandably, after receiving the pin communication parameters sent by the diagnostic device and obtaining the diagnostic data for the target pin pair based on those parameters, the communication device sends the diagnostic data to the diagnostic device through the first communication module corresponding to the first communication mode parameters, thus enabling the diagnostic device to receive the diagnostic data for the target pin pair.

[0123] In some embodiments, after receiving diagnostic data through the second communication module, the diagnostic device parses the diagnostic data, extracts the diagnostic data and the first identification code, and then performs further processing, analysis or display on the diagnostic data to obtain subsequent fault diagnosis results.

[0124] In some embodiments, the diagnostic device further includes a caching module, which stores diagnostic data in the caching module after receiving diagnostic data.

[0125] Specifically, in some embodiments, the vehicle diagnostic data acquisition method further includes, but is not limited to, the following step S201:

[0126] S201: Store the diagnostic data of the target pin pair in the cache module and record the first identifier code corresponding to the diagnostic data.

[0127] Specifically, after receiving diagnostic data through the second communication module corresponding to the first communication mode parameter, the diagnostic device stores the received diagnostic data in the cache module of the diagnostic device, parses the received diagnostic data, extracts the first identifier code corresponding to the diagnostic data (that is, the first identifier code unique to the target pin pair, used to indicate that the diagnostic data comes from the target pin pair), and records the first identifier code corresponding to the extracted diagnostic data.

[0128] In some embodiments, the diagnostic data and the first identifier code corresponding to the diagnostic data are associated and stored in the caching module so that the diagnostic data associated with a specific pin pair can be quickly retrieved during subsequent queries and processing.

[0129] In some embodiments, the diagnostic device monitors the amount of diagnostic data in the cache module in real time to determine the required amount of diagnostic data to be received.

[0130] Specifically, in some embodiments, the vehicle diagnostic data acquisition method further includes, but is not limited to, the following steps S202-S203:

[0131] S202: If the number of diagnostic data corresponding to the first identifier is greater than or equal to a preset number threshold, the diagnostic data corresponding to the first identifier in the cache module is output to the diagnostic application of the diagnostic device.

[0132] Specifically, during the process of receiving diagnostic data, the diagnostic device monitors the number of diagnostic data corresponding to the first identifier in the cache module in real time. When the number of diagnostic data corresponding to the first identifier reaches or exceeds a preset threshold (i.e., greater than or equal to the preset threshold), it indicates that a sufficient number of diagnostic data has been received, triggering the diagnostic data output condition. The device retrieves the diagnostic data corresponding to the first identifier in the cache module, packages or organizes the diagnostic data into a suitable data format, and then sends the packaged or organized diagnostic data to the diagnostic application of the diagnostic device through a suitable communication channel (e.g., TCP / IP, Bluetooth, and CAN bus). This allows the diagnostic application to process and analyze the diagnostic data, troubleshoot, or display the results to the user after receiving the data.

[0133] In some embodiments, after sending diagnostic data corresponding to the first identifier code to the diagnostic application, the diagnostic data corresponding to the first identifier code in the cache module can be deleted to release the storage space of the cache module.

[0134] S203: If the number of diagnostic data corresponding to the first identifier is less than a preset quantity threshold, and the duration of acquiring diagnostic data for the target pin corresponding to the first identifier is greater than or equal to a preset time threshold, then the diagnostic data corresponding to the first identifier in the cache module is output to the diagnostic application of the diagnostic device.

[0135] Specifically, if the number of diagnostic data corresponding to the first identifier code does not reach a preset threshold (i.e., is less than the preset threshold), and the duration for which the target pin corresponding to the first identifier code acquires diagnostic data is greater than or equal to a preset time threshold, it also indicates that a sufficient number of diagnostic data has been received, triggering the diagnostic data output condition. The diagnostic data corresponding to the first identifier code is retrieved from the cache module, packaged or organized into a suitable data format, and then sent to the diagnostic application of the diagnostic device through a suitable communication channel (e.g., TCP / IP, Bluetooth, and CAN bus). This allows the diagnostic application to process and analyze the received diagnostic data, troubleshoot, or display it to the user.

[0136] It is easy to understand that those skilled in the art can set and determine the preset quantity threshold and preset time threshold based on actual application scenarios and historical experience data. For example, the preset quantity threshold can be 10 items and the preset time threshold can be 30 seconds. This application embodiment does not impose any limitations on this.

[0137] In summary, the vehicle diagnostic data acquisition method provided in this application is applied to a diagnostic device connected to a communication device. The communication device includes a communication interface and at least two types of first communication modules. The diagnostic device also includes at least two types of second communication modules, with each type of first communication module corresponding to one type of second communication module. The communication device is connected to the vehicle's electronic control unit (ECU) via the communication interface, which has multiple pin pairs. The ECU sends diagnostic data to the pin pairs of the communication interface. The method includes: sending pin communication parameters to the communication device, the pin communication parameters including a first identifier of the target pin pair and a first communication mode parameter corresponding to the first identifier, the number of target pin pairs including at least two sets; and receiving diagnostic data of the target pin pair through the second communication module corresponding to the first communication mode parameter. After acquiring the diagnostic data on the target pin pair, the communication device sends the diagnostic data of the target pin pair to the diagnostic device through the first communication module corresponding to the first communication mode parameter.

[0138] The vehicle diagnostic data acquisition method provided in this application embodiment acquires diagnostic data of at least two sets of target pin pairs through a communication device, and then transmits the diagnostic data concurrently through at least two types of communication modules of the diagnostic device and the communication device. This enables the diagnostic device to acquire vehicle diagnostic data concurrently, improves data acquisition efficiency, reduces waiting time, and enhances user experience.

[0139] Next, the method for acquiring vehicle diagnostic data provided in the second aspect of the embodiments of this application will be described in detail.

[0140] Please refer to Figure 6, which schematically illustrates a flowchart of a vehicle diagnostic data acquisition method provided in some embodiments of this application.

[0141] Those skilled in the art will understand that the vehicle diagnostic data acquisition method provided in this application embodiment can be applied to the aforementioned communication device (e.g., communication device 20). Specifically, the execution entity of this vehicle diagnostic data acquisition method is one or at least two second processors of the communication device.

[0142] As shown in Figure 6, the method for acquiring vehicle diagnostic data includes, but is not limited to, the following steps S300-S500:

[0143] S300: Receives pin communication parameters sent by the diagnostic device, wherein the pin communication parameters include a first identifier code of the target pin pair and a first communication mode parameter corresponding to the first identifier code, and the number of target pin pairs includes at least two sets.

[0144] In this embodiment, the pin communication parameters include a first identifier code of the target pin pair and a first communication mode parameter corresponding to the first identifier code. The first communication mode parameter includes a second identifier code of the first communication module and a second identifier code of the second communication module. Diagnostic data and the communication device can transmit diagnostic data of the target pin pair through the first and second communication modules according to the first communication mode parameter. The number of target pin pairs includes at least two sets. The target pin pair is the pin pair of the communication interface in the communication device that the communication device needs to read.

[0145] Specifically, the communication device receives the pin communication parameters sent by the diagnostic device based on the established communication connection (e.g., Bluetooth connection, Wi-Fi connection, or other connection), through the communication protocol selected by the diagnostic device (e.g., CAN, LIN, etc.).

[0146] S400: Obtain diagnostic data from the target pin pair.

[0147] Specifically, after receiving the pin communication parameters, the communication device parses the received pin communication parameters and extracts the contents of the pin communication parameters, that is, it obtains the first identification code of the target pin pair and the first communication mode parameter corresponding to the first identification code of the target pin pair.

[0148] The communication device retrieves diagnostic data sent by the vehicle to the target pin pair from the target pin pair in its own communication interface based on the first identifier code of the target pin pair in the pin communication parameters. It is understood that the vehicle's electronic control unit can actively or passively send diagnostic data to the pin pair in the communication interface of the communication device. In some embodiments, after receiving the diagnostic data, the communication device parses the received diagnostic data, extracts useful data information, and performs necessary processing or format conversion for subsequent transmission to the diagnostic device.

[0149] S500: After acquiring the diagnostic data on the target pin pair, the diagnostic data of the target pin pair is sent to the diagnostic device through the first communication module corresponding to the first communication mode parameter. The diagnostic device receives the diagnostic data of the target pin pair through the second communication module corresponding to the first communication mode parameter.

[0150] Specifically, after acquiring the diagnostic data from the target pin pair, the communication device determines the first communication module to use for transmitting the diagnostic data based on the first communication mode parameters. The communication device then sends the diagnostic data of the target pin pair to the diagnostic device through the selected first communication module. Since each type of second communication module in the diagnostic device corresponds to a type of first communication module in the communication device (i.e., the second identifier of the first communication module and the second identifier of the second communication module in the first communication mode parameters correspond one-to-one), after the communication device sends the diagnostic data of the target pin pair, the diagnostic device receives the diagnostic data of the target pin pair through the second communication module corresponding to the first communication mode parameters.

[0151] In some embodiments, after acquiring diagnostic data for a target pin pair, the diagnostic data for the target pin pair is added with a first identifier code of the target pin pair, so that the diagnostic device can record the number of received diagnostic data based on the first identifier code of the target pin pair.

[0152] Specifically, in some embodiments, before sending diagnostic data of the target pin pair to the diagnostic device through the first communication module corresponding to the first communication mode parameter, the vehicle diagnostic data acquisition method further includes, but is not limited to, the following step S501:

[0153] S501: After obtaining the diagnostic data of the target pin pair, add the first identification code of the target pin pair to the diagnostic data of the target pin pair. Each target pin pair corresponds to a unique first identification code, and the first identification code represents the target pin pair used to obtain diagnostic data in the communication interface of the communication device.

[0154] In the pin communication parameters, each target pin pair corresponds to a unique first identifier code. The first identifier code represents the target pin pair used to obtain diagnostic data in the communication interface of the communication device. The target pin pair is the pin pair that the vehicle's electronic control unit sends diagnostic data to.

[0155] Specifically, after acquiring the diagnostic data of the target pin pair, but before sending the diagnostic data of the target pin pair to the diagnostic device, the communication device adds a first identifier code of the target pin pair to the corresponding diagnostic data of the target pin pair as supplementary information of the diagnostic data (for example, the first identifier code can serve as metadata of the diagnostic data), indicating which specific pin pair this set of diagnostic data originates from. Then, the complete data packet containing the diagnostic data and the first identifier code is packaged into a suitable data format for transmission to the diagnostic device via the corresponding first communication module.

[0156] By employing the above methods, we can ensure that diagnostic data has a clear source identifier during transmission, which is beneficial for diagnostic equipment to correctly parse and process the received diagnostic data.

[0157] In summary, the vehicle diagnostic data acquisition method provided in this application is applied to a communication device connected to a diagnostic device. The communication device includes a communication interface and at least two types of first communication modules, while the diagnostic device includes at least two types of second communication modules. Each type of first communication module corresponds to one type of second communication module. The communication device is connected to the vehicle's electronic control unit (ECU) via the communication interface, which has multiple pin pairs. The ECU sends diagnostic data to the pin pairs of the communication interface. The method includes: receiving pin communication parameters sent by the diagnostic device, the pin communication parameters including a first identifier of a target pin pair and a first communication mode parameter corresponding to the first identifier; acquiring diagnostic data from the target pin pair; and after acquiring the diagnostic data on the target pin pair, sending the diagnostic data of the target pin pair to the diagnostic device via the first communication module corresponding to the first communication mode parameter. The diagnostic device receives the diagnostic data of the target pin pair via the second communication module corresponding to the first communication mode parameter.

[0158] The vehicle diagnostic data acquisition method provided in this application embodiment acquires diagnostic data of at least two sets of target pin pairs through a communication device, and then transmits the diagnostic data concurrently through at least two types of communication modules of the communication device and the diagnostic device. This enables the diagnostic device to acquire vehicle diagnostic data concurrently, improves data acquisition efficiency, reduces waiting time, and enhances user experience.

[0159] This application provides a computer-readable storage medium storing processor-executable computer program instructions. When invoked by a processor, the computer program instructions cause the processor to execute any of the vehicle diagnostic data acquisition methods provided in this application, or to execute the steps in any of the implementations of the vehicle diagnostic data acquisition methods provided in this application.

[0160] In some embodiments, the storage medium may be a flash memory, a hard disk, an optical disk, a register, a magnetic surface memory, a removable disk, a CD-ROM, a random access memory (RAM), a read-only memory (ROM), an electrically programmable ROM, and an electrically erasable programmable ROM, or any other form of storage medium known in the art, or various devices including one or any combination of the above storage media.

[0161] In some embodiments, computer program instructions may take the form of programs, software, software modules, scripts, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.

[0162] As an example, computer program instructions may, but do not necessarily, correspond to files in a file system, and may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a Hyper Text Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple collaborative files (e.g., a file that stores one or more modules, subroutines, or code sections).

[0163] As an example, computer program instructions can be deployed to execute on a single computing device (including devices such as smart terminals and servers), or on multiple computing devices located in one location, or on multiple computing devices distributed across multiple locations and interconnected via a communication network. It is readily understood that all or part of the steps of the methods described in the embodiments provided above can be implemented directly using electronic hardware or processor-executable computer program instructions, or a combination of both.

[0164] Those skilled in the art will understand that the embodiments provided in this application are merely illustrative. The order in which the steps in the methods of the embodiments are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The order can be adjusted, merged, and deleted according to actual needs. Modules or sub-modules, units or sub-units in the apparatus or system of the embodiments can be merged, divided, and deleted according to actual needs. For example, the division of units is only a logical functional division, and there may be other division methods in actual implementation. For another example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed.

[0165] Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented using software and a general-purpose hardware platform, or it can be implemented using hardware. Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This computer program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0166] It should be noted that the above embodiments are for illustrating the technical concept and features of this application, and are intended to enable those skilled in the art to understand the content of this application and implement it accordingly. They should not be construed as limiting the scope of protection of this application. Those skilled in the art can understand that all or part of the processes of the above embodiments can be implemented, modified according to the technical solutions described in the embodiments of this application, or equivalent substitutions can be made to some of the technical features. It is understood that these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application, and should be considered as equivalent changes and modifications made based on the embodiments of this application, all of which should fall within the scope of the claims of this application.

Claims

1. A method for acquiring vehicle diagnostic data, applied to diagnostic equipment, characterized in that, The diagnostic device is connected to a communication device, which includes a communication interface and at least two types of first communication modules. The diagnostic device also includes at least two types of second communication modules, with each type of first communication module corresponding to one type of second communication module. The communication device is connected to the vehicle's electronic control unit through the communication interface, which has multiple sets of pin pairs. The electronic control unit sends diagnostic data to the pin pairs of the communication interface. The method includes: Send pin communication parameters to the communication device. The pin communication parameters include a first identifier code of the target pin pair and a first communication mode parameter corresponding to the first identifier code. The number of the target pin pairs includes at least two sets. The diagnostic data of the target pin pair is received by the second communication module corresponding to the first communication mode parameter. After acquiring the diagnostic data on the target pin pair, the communication device sends the diagnostic data of the target pin pair to the diagnostic device through the first communication module corresponding to the first communication mode parameter.

2. The method according to claim 1, characterized in that, The diagnostic device further includes a cache module, and the method further includes: The diagnostic data of the target pin pair is stored in the cache module, and the first identification code corresponding to the diagnostic data is recorded.

3. The method according to claim 2, characterized in that, The method further includes: If the number of diagnostic data corresponding to the first identifier is greater than or equal to a preset number threshold, then the diagnostic data corresponding to the first identifier in the cache module is output to the diagnostic application of the diagnostic device. If the number of diagnostic data corresponding to the first identifier is less than the preset quantity threshold, and the duration for which the target pin corresponding to the first identifier acquires diagnostic data is greater than or equal to the preset time threshold, then the diagnostic data corresponding to the first identifier in the cache module is output to the diagnostic application of the diagnostic device.

4. The method according to any one of claims 1-3, characterized in that, Before transmitting the pin communication parameters to the communication device, the method further includes: Identify the target pin pair; Based on the number of types of the first communication module or the second communication module and the number of target pin pairs, a first communication mode parameter corresponding to the first identifier of the target pin pair is determined. The first communication mode parameter includes the second identifier of the first communication module and the second communication module. The pin communication parameters are obtained by combining the first identifier code of the target pin pair and the first communication mode parameter corresponding to the first identifier code.

5. The method according to claim 4, characterized in that, The determination of the first communication mode parameter corresponding to the first identifier code of the target pin pair based on the number of types of the first communication module or the second communication module and the number of target pin pairs includes: If the number of types of the first communication module or the second communication module is greater than or equal to the number of target pin pairs, then a first communication module and a second communication module of a certain type are assigned to each group of target pin pairs, and the second identification code of the first communication module and the second communication module assigned to each group of target pin pairs is used as the first communication mode parameter corresponding to the first identification code of each group of target pin pairs, wherein each group of target pin pairs corresponds to a first communication module and a second communication module of a certain type; or, If the number of types of the first communication module or the second communication module is less than the number of target pin pairs, then at least two types of first communication modules and second communication modules are respectively assigned to a first number of target pin pairs, and the number of target pin pairs that are not assigned to first communication modules and second communication modules is counted. The first number is the number of types of the first communication module or the second communication module. Among the various types of first and second communication modules, one or more types of reference communication modules with data transmission rates greater than or equal to a rate threshold are selected, and the reference communication modules are assigned to the target pin pairs of the unassigned first and second communication modules, wherein each type of first and second communication module corresponds to one or more sets of target pin pairs; The first communication mode parameter is obtained by using the second identifier code of the first communication module and the second communication module assigned to each target pin pair as the first communication mode parameter corresponding to the first identifier code of each group of target pin pairs.

6. The method according to claim 4, characterized in that, The first communication module is any one of a Wi-Fi module, a USB module, a Bluetooth module, and an Ethernet module, and the second communication module is any one of a Wi-Fi module, a USB module, a Bluetooth module, and an Ethernet module.

7. A method for acquiring vehicle diagnostic data, applied to communication equipment, characterized in that, The communication device is connected to the diagnostic device. The communication device includes a communication interface and at least two types of first communication modules. The diagnostic device includes at least two types of second communication modules. Each type of first communication module corresponds to one type of second communication module. The communication device is connected to the vehicle's electronic control unit through the communication interface. The communication interface has multiple sets of pin pairs. The electronic control unit sends diagnostic data to the pin pairs of the communication interface. The method includes: The diagnostic device receives pin communication parameters, wherein the pin communication parameters include a first identifier code of the target pin pair and a first communication mode parameter corresponding to the first identifier code, and the number of the target pin pairs includes at least two sets. Acquire diagnostic data from the target pin pair; After acquiring the diagnostic data on the target pin pair, the diagnostic data of the target pin pair is sent to the diagnostic device through the first communication module corresponding to the first communication mode parameter, wherein the diagnostic device receives the diagnostic data of the target pin pair through the second communication module corresponding to the first communication mode parameter.

8. The method according to claim 7, characterized in that, Before sending the diagnostic data of the target pin pair to the diagnostic device through the first communication module corresponding to the first communication mode parameter, the method further includes: After obtaining the diagnostic data of the target pin pair, the diagnostic data of the target pin pair is added with the first identification code of the target pin pair, wherein each target pin pair corresponds to a unique first identification code, and the first identification code represents the target pin pair in the communication interface of the communication device used to obtain diagnostic data.

9. A diagnostic device, characterized in that, include: A first processor, a first memory communicatively connected to the first processor, and at least two types of second communication modules; The first memory stores computer program instructions executable by the first processor, which, when invoked by the first processor, cause the first processor to execute the vehicle diagnostic data acquisition method as described in any one of claims 1-6.

10. A communication device, characterized in that, include: The second processor, and a second memory, a communication interface, and at least two types of first communication modules communicatively connected to the second processor; The second memory stores computer program instructions executable by the second processor, which, when invoked by the second processor, cause the second processor to execute the vehicle diagnostic data acquisition method as described in claim 7 or 8.

11. A vehicle diagnostic data acquisition system, characterized in that, include: The diagnostic device as claimed in claim 9 and the communication device as claimed in claim 10.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores processor-executable computer program instructions, which, when invoked by the processor, cause the processor to perform the vehicle diagnostic data acquisition method as described in any one of claims 1-8.

Citation Information

Patent Citations

  • Vehicle diagnosis method and device and medium

    CN111813095A

  • Communication interaction method and device, equipment and storage medium

    CN115733871A

  • Pin switching circuit of OBD interface and fault diagnosis device

    CN116088459A

  • Multi-channel communication method and system based on vehicle diagnosis and electronic equipment

    CN118018978A

  • Vehicle diagnostic data acquisition method and related device

    CN119596898A