Vehicle diagnosis method and system

By directly connecting the vehicle diagnostic equipment to the domain controller's wireless communication module, synchronous uploading of diagnostic results through multiple signal transmission channels was achieved, solving the problems of slow transmission rate and high latency, and improving the efficiency and stability of vehicle diagnostics.

CN120935654AActive Publication Date: 2025-11-11Z-ONE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511091583.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-05
Publication Date
2025-11-11
Estimated Expiration
2045-08-05

AI Technical Summary

Technical Problem

Existing near-field wireless diagnostic technologies suffer from slow transmission rates and high transmission latency, which leads to decreased stability and reliability in vehicle diagnostics.

Method used

The vehicle diagnostic equipment establishes a direct communication connection with the wireless communication modules of each domain controller. After receiving the target diagnostic task, the domain controller performs synchronous diagnosis and uploads the diagnostic results synchronously through its own wireless communication module. Multiple signal transmission channels are used to speed up the transmission rate and reduce latency.

Benefits of technology

It improves the efficiency of vehicle diagnostics, enhances the stability and reliability of diagnostics, and provides a vehicle diagnostic system with high transmission rate and low transmission latency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120935654A_ABST
    Figure CN120935654A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle diagnosis method and system, the system comprises a vehicle diagnosis device and a vehicle, the vehicle comprises a gateway and a plurality of domain controllers, each domain controller comprises a domain control upper layer application and a domain control wireless communication module, and the vehicle diagnosis device establishes near field wireless communication connection with the vehicle through the gateway. The method comprises the following steps: a vehicle diagnosis device sends vehicle diagnosis task information to a gateway, the gateway sends a target diagnosis task determined according to the vehicle diagnosis task information to a corresponding domain control upper layer application, and the domain control upper layer application determines to enable a corresponding domain control wireless communication module according to vehicle state information and the target diagnosis task, the domain control wireless communication module is in a low-power-consumption mode, wireless communication connection is established between the domain control wireless communication module and the vehicle diagnosis equipment, the domain control wireless communication module is in a high-performance mode, and the domain control upper-layer application sends a diagnosis result obtained by executing the target diagnosis task to the vehicle diagnosis equipment through the corresponding domain control wireless communication module. Therefore, the transmission rate is improved, and the transmission delay is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle diagnostic technology, and in particular to a vehicle diagnostic method and system. Background Technology

[0002] As automotive component application technologies evolve towards intelligent connectivity, in-vehicle systems are becoming increasingly complex, and the number of various software programs installed in vehicles is multiplying. This makes quickly locating and repairing faults when they occur extremely difficult. To reduce the cost of defect location and repair, vehicle diagnostic technology has become a topic that automotive industry professionals need to continuously research.

[0003] Currently, near-field wireless diagnostics technology is commonly used for vehicle diagnostics. This technology involves vehicle diagnostic equipment accessing the gateway wireless communication module of the vehicle gateway via a local wireless network. Based on this gateway wireless communication module, communication with various Electronic Control Units (ECUs) within the vehicle is achieved, enabling diagnostics of each ECU. The diagnostic results from each ECU are converted into bus signals and sent to the gateway wireless communication module. The gateway wireless communication module then converts the bus signals into wireless communication signals and transmits them to the vehicle diagnostic equipment.

[0004] While near-field wireless diagnostics (NFC) technology eliminates the need for wiring harnesses, making it easier to connect vehicle diagnostic equipment to the vehicle, it suffers from drawbacks. For scenarios with extremely high diagnostic efficiency requirements, such as whole-vehicle software updates, the software needs to be updated sequentially, resulting in a relatively slow transmission rate and consequently low diagnostic efficiency. Furthermore, since diagnostic information from each electronic control unit (ECU) and vehicle diagnostic results are transmitted through the gateway channel, large data volumes can cause channel congestion, leading to delayed transmission of diagnostic information and results, resulting in high latency. Moreover, all ECU diagnostic results must first be converted into bus signals and then into wireless communication signals via the gateway's wireless communication module. This long transmission link further contributes to slow transmission speeds and high latency. Additionally, if the transmission speed is slow and latency is high, and the vehicle diagnostic equipment times out while waiting for a response, the delayed results will be discarded, leading to low diagnostic efficiency, reduced diagnostic stability, and decreased reliability.

[0005] Therefore, existing near-field wireless diagnostic technologies suffer from slow transmission rates and high transmission latency, which leads to a decrease in the stability and reliability of vehicle diagnostics. Summary of the Invention

[0006] This application provides a vehicle diagnostic method and system. The vehicle diagnostic device directly establishes a communication connection with the wireless communication module of the corresponding domain controller, enabling the domain controller to directly send diagnostic results to the diagnostic device. Thus, each domain controller performs synchronous diagnostics upon receiving a target diagnostic task and synchronously uploads diagnostic results based on its respective wireless communication module. Multiple signal transmission channels accelerate the transmission rate of diagnostic results, reduce transmission latency, and thereby improve vehicle diagnostic efficiency. The high transmission rate and low transmission latency of the vehicle diagnostic system enhance diagnostic stability and reliability.

[0007] To address the aforementioned technical problems, in a first aspect, embodiments of this application provide a vehicle diagnostic method applied to a vehicle diagnostic system. The vehicle diagnostic system includes a vehicle diagnostic device and a vehicle. The vehicle includes a gateway and multiple domain controllers. Each domain controller includes a domain controller upper-layer application and a domain controller wireless communication module. The vehicle diagnostic device establishes a near-field wireless communication connection with the vehicle through the gateway. The method includes: the vehicle diagnostic device sending vehicle diagnostic task information to the gateway; the gateway receiving the vehicle diagnostic task information, determining a target diagnostic task based on the vehicle diagnostic task information, and sending the target diagnostic task to the domain controller upper-layer application included in the corresponding domain controller; the domain controller upper-layer application determining vehicle status information, and based on the vehicle status information and... In the target diagnostic task, if the corresponding domain control wireless communication module is enabled, the domain control wireless communication module is enabled, put into low-power mode, and emits a wireless communication signal. Upon receiving the wireless communication signal, the vehicle diagnostic device sends a connection request signal to the corresponding domain control wireless communication module. If the domain control wireless communication module receives the connection request signal and passes the validity verification of the vehicle diagnostic device, it establishes a wireless communication connection with the vehicle diagnostic device and enters high-performance mode. The upper-layer application of the domain control executes the target diagnostic task, obtains the diagnostic results, and sends the diagnostic results to the vehicle diagnostic device through the corresponding domain control wireless communication module.

[0008] Using the above technical solution, when the gateway receives vehicle diagnostic task information, it determines the target diagnostic task based on the information and sends it to the corresponding domain controller's upper-layer application. The upper-layer application of the domain controller determines whether to enable the corresponding domain controller wireless communication module based on the target diagnostic task and vehicle status information. If enabling is required, the corresponding domain controller wireless communication module is enabled and placed in a low-power mode, emitting a wireless communication signal. Thus, the domain controller wireless communication module is only enabled and placed in a low-power mode when needed, ensuring only the ability to emit a wireless communication signal, maximizing power savings. Furthermore, after establishing a wireless communication connection with the vehicle diagnostic equipment, the domain controller wireless communication module operates in a high-performance state. Therefore, each domain controller wireless communication module only operates in a high-performance state after successfully establishing a communication connection with the vehicle diagnostic equipment, guaranteeing the quality of wireless transmission communication. Furthermore, the domain controller upper-layer application that performs the target diagnostic task can synchronously upload diagnostic results based on its respective domain controller wireless communication module, which speeds up the transmission rate, reduces the transmission latency of diagnostic results, and thus improves vehicle diagnostic efficiency. The high transmission rate and low transmission latency enhance diagnostic stability and reliability.

[0009] In one possible implementation of the first aspect above, the gateway determines the target diagnostic task based on the vehicle diagnostic task information, including: if the vehicle diagnostic task information includes one vehicle diagnostic task, the gateway takes the vehicle diagnostic task as the target diagnostic task; if the vehicle diagnostic task information includes multiple vehicle diagnostic tasks, the gateway performs task arbitration processing based on the priority of each vehicle diagnostic task to determine the target diagnostic task.

[0010] By adopting the above technical solution, when there are multiple vehicle diagnostic tasks, the vehicle diagnostic tasks can be executed in an orderly manner through priority arbitration.

[0011] In one possible implementation of the first aspect above, the method further includes: the vehicle diagnostic device determining a domain controller with which it has established a wireless communication connection, and sending target diagnostic task information corresponding to the target diagnostic task to the domain controller upper-layer application through the domain controller wireless communication module; the domain controller upper-layer application executing the target diagnostic task according to the target diagnostic task information to obtain a diagnostic result.

[0012] By adopting the above technical solution, the vehicle diagnostic equipment sends the target diagnostic task information to the corresponding domain controller upper-layer application through the domain controller wireless communication module with established communication connection. The target diagnostic task information is sent through multiple transmission channels, which improves the speed at which each domain controller executes vehicle diagnostic tasks, improves diagnostic efficiency, and reduces transmission latency.

[0013] In one possible implementation of the first aspect described above, the gateway includes a gateway wireless communication module, a gateway arbitration module, a gateway routing module, and a gateway upper-layer application. The vehicle diagnostic device establishes a near-field wireless communication connection with the gateway through the gateway wireless communication module. The gateway arbitration module communicates with both the gateway wireless communication module and the gateway upper-layer application. The gateway upper-layer application communicates with each domain controller via the gateway routing module. When the vehicle diagnostic task information includes multiple vehicle diagnostic tasks, the gateway receives the vehicle diagnostic task information, determines the target diagnostic task based on the vehicle diagnostic task information, and sends the target diagnostic task to the domain controller upper-layer application included in the domain controller. This includes: the gateway wireless communication module receiving the vehicle diagnostic task information and sending the vehicle diagnostic task information to the gateway arbitration module; the gateway arbitration module determining the target diagnostic task based on the vehicle diagnostic task information and sending the target diagnostic task to the gateway upper-layer application; and sending the target diagnostic task to the vehicle diagnostic device based on the gateway wireless communication module; and the gateway upper-layer application broadcasting the target diagnostic task to the communication bus via the gateway routing module, so that each domain controller upper-layer application receives the target diagnostic task.

[0014] The above technical solution employs a bus transmission method for broadcasting target diagnostic tasks, and parallel transmission accelerates the transmission efficiency of target diagnostic tasks.

[0015] In one possible implementation of the first aspect above, after the domain controller upper-layer application obtains the diagnostic results, the method further includes: if the domain controller upper-layer application determines that the wireless communication connection between the domain controller wireless communication module and the vehicle diagnostic device is disconnected, and the disconnection time exceeds a preset time, then the domain controller wireless communication module is put into a low-power mode; and the domain controller upper-layer application sends the diagnostic results to the gateway upper-layer application through the gateway routing module; the gateway upper-layer application sends the diagnostic results to the vehicle diagnostic device through the gateway wireless communication module.

[0016] By adopting the above technical solution, when the wireless communication connection between the domain control wireless communication module and the vehicle diagnostic equipment is disconnected and the disconnection time exceeds a preset time, the domain control wireless communication module is put into a low power consumption mode to minimize energy consumption.

[0017] In one possible implementation of the first aspect above, the method further includes: if the vehicle diagnostic device determines that the wireless communication connection between the domain control wireless communication module corresponding to the domain control upper-layer application whose diagnostic processing has not been completed and the vehicle diagnostic device is disconnected, the vehicle diagnostic device resends a connection request signal to the corresponding domain control wireless communication module to re-establish the wireless communication connection with the domain control wireless communication module, and if the number of connection failures exceeds a preset number during the re-establishment process, the connection is stopped; and if the domain control upper-layer application determines that the number of connection failures between the domain control wireless communication module and the vehicle diagnostic device exceeds a preset number, the domain control wireless communication module is put into a low-power mode.

[0018] By adopting the above technical solution, when the wireless communication connection between the domain control wireless communication module and the vehicle diagnostic equipment is disconnected and multiple reconnection attempts fail, the domain control wireless communication module is put into a low-power mode to minimize energy consumption.

[0019] In one possible implementation of the first aspect above, after the domain controller upper-layer application sends the diagnostic results to the vehicle diagnostic device through the corresponding domain controller wireless communication module, the method further includes: if the domain controller upper-layer application determines that the communication connection between the domain controller wireless communication module and the vehicle diagnostic device is disconnected and the disconnection exceeds a preset time, then the domain controller wireless communication module is put into a low-power mode.

[0020] By adopting the above technical solution, after the vehicle diagnostics are completed, the domain control wireless communication module is put into a low-power mode to minimize energy consumption.

[0021] In one possible implementation of the first aspect above, when the domain control wireless communication module and the vehicle diagnostic device are in a wireless communication connection state, the method further includes: when the domain control upper layer application receives a notification message to stop near-field diagnostic processing, or when it determines that the vehicle does not meet the target conditions based on the vehicle status information, it disables the domain control wireless communication module.

[0022] When vehicle diagnostics are not possible using the above technical solution, the domain control wireless communication module is disabled, allowing the domain control wireless communication module to switch modes according to actual needs, making the management of the domain control wireless communication module's working mode more flexible.

[0023] In one possible implementation of the first aspect mentioned above, after the vehicle is woken up, the gateway wireless communication module is always enabled, while the domain control wireless communication modules of each domain controller are disabled by default.

[0024] By adopting the above technical solution, when not in use, the domain controller wireless communication module of each domain controller is in a disabled state by default, thereby minimizing energy consumption.

[0025] Secondly, this application also discloses a vehicle diagnostic system, including a vehicle diagnostic device and a vehicle. The vehicle includes a gateway and multiple domain controllers. Each domain controller includes a domain controller upper-layer application and a domain controller wireless communication module. The vehicle diagnostic device establishes a near-field wireless communication connection with the vehicle through the gateway. The vehicle diagnostic device is used to send vehicle diagnostic task information to the gateway. The gateway receives the vehicle diagnostic task information and uses it to determine the target diagnostic task based on the vehicle diagnostic task information, and sends the target diagnostic task to the domain controller upper-layer application included in the corresponding domain controller. The domain controller upper-layer application is used to determine the vehicle status information, and based on the vehicle status information and the target diagnostic task, determines whether to enable the corresponding domain controller. In the case of the domain control wireless communication module, the domain control wireless communication module is enabled and put into low-power mode while emitting wireless communication signals. The vehicle diagnostic equipment is also used to send a connection request signal to the corresponding domain control wireless communication module upon receiving the wireless communication signal. The domain control wireless communication module is used to establish a wireless communication connection with the vehicle diagnostic equipment upon receiving the connection request signal and after the validity verification of the vehicle diagnostic equipment is passed, and is in high-performance mode. Furthermore, the upper-layer application of the domain control is also used to perform the target diagnostic task, obtain the diagnostic results, and send the diagnostic results to the vehicle diagnostic equipment through the corresponding domain control wireless communication module.

[0026] In one possible implementation of the second aspect described above, the gateway includes a gateway wireless communication module, a gateway arbitration module, a gateway routing module, and a gateway upper-layer application. The vehicle diagnostic device establishes a near-field wireless communication connection with the gateway through the gateway wireless communication module. The gateway arbitration module communicates with both the gateway wireless module and the gateway upper-layer application. The gateway wireless communication module receives vehicle diagnostic task information sent by the vehicle diagnostic device and sends the vehicle diagnostic task information to the gateway arbitration module. The gateway arbitration module determines the target diagnostic task based on the vehicle diagnostic task information and sends the target diagnostic task to the gateway upper-layer application. The gateway upper-layer application broadcasts the target diagnostic task to the communication bus via the gateway routing module in a broadcast manner, so that each domain controller upper-layer application receives the target diagnostic task. Attached Figure Description

[0027] To more clearly illustrate the technical solution of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below.

[0028] Figure 1 A schematic diagram of an existing vehicle diagnostic system;

[0029] Figure 2 A schematic diagram illustrating a data transmission scenario in an existing vehicle diagnostic system;

[0030] Figure 3This is a schematic diagram of a vehicle diagnostic system provided in an embodiment of the present invention;

[0031] Figure 4 This is another structural schematic diagram of the vehicle diagnostic system provided in an embodiment of the present invention;

[0032] Figure 5 This is another structural schematic diagram of the vehicle diagnostic system provided in an embodiment of the present invention;

[0033] Figure 6 This is a schematic flowchart of a vehicle diagnostic method provided in an embodiment of the present invention;

[0034] Figure 7 This is a schematic diagram of one mode of the domain control wireless communication module provided in an embodiment of the present invention;

[0035] Figure 8 This is a schematic diagram illustrating an application scenario of the vehicle diagnostic method provided in an embodiment of the present invention;

[0036] Figure 9 This is a schematic diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0037] Currently, vehicle diagnostics can be divided into far-field diagnostics and near-field diagnostics based on the scenario. Far-field diagnostics is not limited by distance and has remote diagnostic capabilities, but the vehicle's connection to the public network depends on base stations or wireless routers. Near-field diagnostics, on the other hand, is limited by distance, and the vehicle diagnostic equipment must be close to the vehicle and access the vehicle through wired cables or local wireless networks.

[0038] Currently, based on the communication medium, vehicle diagnostics can be divided into wired diagnostics and wireless diagnostics. Priority diagnostics connects to the vehicle via a wired cable, such as near-field wired diagnostics, while wireless diagnostics access the vehicle via a wireless network, such as far-field wireless diagnostics and near-field wireless diagnostics.

[0039] like Figure 1 As shown, far-field wireless diagnostics involves the vehicle connecting to a base station via 4G / 5G or a wireless router via Wi-Fi to access the public network of a cloud server. The vehicle diagnostic equipment then initiates remote diagnostics on the vehicle by accessing the cloud backend.

[0040] Near-field wired diagnostics involves vehicle diagnostic equipment connecting to the OBD interface of the vehicle's On-Board Diagnostics (OBD) connector via a solid wire cable (usually a CAN bus or Ethernet cable), thereby enabling diagnostic communication with various electronic control units (ECUs) within the vehicle.

[0041] Near-field wireless diagnostics involves vehicle diagnostic equipment accessing the vehicle's gateway wireless communication module via a local wireless network (such as Bluetooth / Starflash / Ultra Wide Band (UWB)). This allows diagnostic communication between the device and various electronic control units connected to the domain controllers within the vehicle.

[0042] However, all three types of diagnostics—far-field wireless, near-field wired, and near-field wireless—have their own advantages and disadvantages, as shown in Table 1. Far-field wireless diagnostics offers the advantage of remote diagnosis, free from distance limitations, and is commonly used in remote diagnostic systems and Over-the-Air (OTA) technology. However, due to its remote wireless transmission, its disadvantages include slow transmission, high latency, unstable connections, and high costs. Near-field wired diagnostics offers stable and reliable connections. Because it involves short-distance wired transmission, it is fast and has low latency, making it suitable for applications such as vehicle engineering R&D, factory production lines, and after-sales maintenance where diagnostic solutions are primarily used. However, because it involves a wired connection, its disadvantages include being constrained by wiring harnesses and having cumbersome connections. Near-field wireless diagnostics offers the advantage of being unconstrained by wiring harnesses and quick connections, but when diagnosing multiple electronic control units, the data transmission is all through a gateway, resulting in slow transmission and high latency.

[0043] Table 1 - Comparison of the advantages and disadvantages of current far-field wireless diagnostics, near-field wired diagnostics, and near-field wireless diagnostics

[0044]

[0045] Slow transmission rates are a common problem in wireless transmission. Although current short-range wireless communication technologies have developed rapidly (such as StarFlash), their transmission rates are still too low compared to cable transmission. Slow transmission rates lead to low diagnostic efficiency, failing to meet the demands of highly efficient diagnostic scenarios, such as updating vehicle software on a production line. A slow transmission rate would increase the update time and reduce production line efficiency.

[0046] In addition, there are two reasons for the high transmission latency: one is transmission channel congestion, which causes data transmission delays. Current near-field wireless diagnostic systems are essentially single-point serial diagnostic communication architectures, meaning that diagnostic data from all domain controllers must communicate with the vehicle diagnostic equipment through a single wireless communication node (gateway wireless communication module). When all domain controllers share a single transmission channel, transmission channel congestion is inevitable, a common problem in serial diagnostic communication architectures. The other reason is excessively long transmission links. Longer transmission links increase transmission time and data arrival latency. Currently, the diagnostic data from the domain controllers must first be converted into bus signals, sent to the gateway wireless communication module via the bus, and then converted back into wireless signals by the gateway wireless module before being sent to the vehicle diagnostic equipment, resulting in an excessively long transmission link.

[0047] like Figure 2 As shown, when vehicle diagnostic equipment sends diagnostic requests to the electronic control units (ECUs) connected to the corresponding domain controller via the transmission link, there is a diagnostic request transmission delay (ΔP2Request). When the ECUs send diagnostic responses to the vehicle diagnostic equipment, there is a diagnostic response transmission delay (ΔP2Response). If the transmission delay increases, the response time (P2Client) of the vehicle diagnostic equipment as a client will also increase. P2Client is the timeout period for the vehicle diagnostic equipment. Once the timeout period expires, the diagnostic equipment will not continue to wait for a diagnostic response, and any diagnostic responses that arrive after the timeout will be discarded. Therefore, high transmission delay will reduce the stability and reliability of the system.

[0048] Therefore, existing near-field wireless diagnostic technologies suffer from slow transmission rates and high transmission latency, which leads to a decrease in the stability and reliability of vehicle diagnostics.

[0049] The vehicle diagnostic method and system provided in this application aim to solve the problems of slow transmission rate and high transmission latency faced by current near-field wireless diagnostic systems. A novel diagnostic communication architecture is designed, enabling vehicle diagnostic equipment to establish direct communication connections with the wireless communication modules of each domain controller. After receiving the target diagnostic task, each domain controller performs synchronous diagnosis and can synchronously upload diagnostic results based on its own wireless communication module. The multiple signal transmission channels accelerate the transmission rate of diagnostic results and reduce transmission latency, thereby improving vehicle diagnostic efficiency. The high transmission rate and low transmission latency of the vehicle diagnostic system enhance the stability and reliability of diagnostic updates.

[0050] The vehicle diagnostic method and system provided in this application will be described in detail below.

[0051] like Figure 3 As shown, in the implementation of this application, the vehicle diagnostic system includes a vehicle diagnostic device and a vehicle. The vehicle includes a gateway and multiple domain controllers. Each domain controller includes a domain controller upper-layer application and a domain controller wireless communication module. The vehicle diagnostic device establishes a near-field wireless communication connection with the vehicle through the gateway.

[0052] Furthermore, the vehicle also includes at least one electronic control unit (ECU), which establishes a wired communication connection with the domain controller in parallel or series.

[0053] Among them, the vehicle diagnostic equipment is used to send vehicle diagnostic task information to the gateway.

[0054] The gateway receives vehicle diagnostic task information, uses it to determine the target diagnostic task based on the vehicle diagnostic task information, and sends the target diagnostic task to the domain controllers and their upper-layer applications.

[0055] Each domain controller includes a domain controller upper-layer application used to determine vehicle status information. Based on the vehicle status information and the target diagnostic task, and when it is determined that the corresponding domain controller wireless communication module is enabled, the domain controller wireless communication module is put into a low-power mode and emits wireless communication signals.

[0056] The vehicle diagnostic equipment is also used to send a connection request signal to the corresponding domain control wireless communication module when a wireless communication signal is received.

[0057] The domain control wireless communication module is used to establish a wireless communication connection with the vehicle diagnostic equipment upon receiving a connection request signal and after the validity of the vehicle diagnostic equipment has been verified, and is in high-performance mode.

[0058] Furthermore, the domain controller upper-layer application is also used to perform target diagnostic tasks to obtain diagnostic results, and then send the diagnostic results to the vehicle diagnostic equipment through the corresponding domain controller wireless communication module.

[0059] In this process, the upper-level application of the domain controller performs the target diagnostic task, sends diagnostic signals to the corresponding electronic control unit, obtains the diagnostic results, and sends the diagnostic results to the corresponding domain controller wireless communication module, which then sends the diagnostic results to the vehicle diagnostic equipment.

[0060] Furthermore, in the implementation of this application, the gateway includes a gateway wireless communication module, a gateway arbitration module, a gateway routing module, and a gateway upper-layer application. The vehicle diagnostic equipment establishes a near-field wireless communication connection (i.e., short-range wireless communication) with the gateway through the gateway wireless communication module. The gateway arbitration module communicates with both the gateway wireless module and the gateway upper-layer application.

[0061] The gateway wireless communication module is used to receive vehicle diagnostic task information sent by the vehicle diagnostic equipment and send the vehicle diagnostic task information to the gateway arbitration module.

[0062] The gateway arbitration module is used to receive vehicle diagnostic task information sent by the gateway wireless communication module, determine the target diagnostic task based on the vehicle diagnostic task information, and send the target diagnostic task to the upper layer application of the gateway.

[0063] The gateway upper-layer application is used to broadcast the target diagnostic task to the communication bus (e.g., CAN bus) in a broadcast manner through the gateway routing module, so that each domain controller upper-layer application can receive the target diagnostic task.

[0064] Furthermore, in another implementation of this application, when the vehicle diagnostic task information includes multiple vehicle diagnostic tasks, the gateway arbitration module is also used to send the target diagnostic task to the vehicle diagnostic device.

[0065] like Figure 4 and Figure 5 As shown, the vehicle diagnostic equipment and the gateway wireless communication module establish a short-range wireless communication connection (RF) based on Bluetooth, StarFlash, UWB, etc. The gateway's arbitration module establishes communication connections with the gateway wireless communication module and the gateway application, respectively. The gateway application also establishes a communication connection with the gateway routing module. The gateway routing module includes connectors. The gateway routing module establishes communication connections with the domain controller application through its own connectors and the connectors of each domain controller (Domain Controller1, Domain Controller2). The domain controller applications of each domain controller establish wireless communication connections with the domain controller wireless communication module (RF wireless module). When vehicle diagnostics are required, the domain controller's wireless communication module (RF wireless module) establishes a near-field wireless communication connection (RF) with the vehicle diagnostic equipment.

[0066] Each domain controller can specifically include a microcontroller or a processor unit. Applications deployed above the domain controller are located on the microcontroller / processor unit.

[0067] Furthermore, a gateway can also be considered a domain controller that establishes a communication connection with an electronic control unit. When a target diagnostic task is obtained by an application at the gateway layer, if it is determined that the target diagnostic task is related to the connected electronic control unit, the target diagnostic task can be executed, a diagnostic signal can be sent to the electronic control unit, a diagnostic result can be obtained, and the diagnostic result can be sent to the vehicle diagnostic equipment through the gateway's wireless communication module.

[0068] The gateway may include a microcontroller or a processor unit. The gateway arbitration module, the gateway upper-layer application, and the gateway routing module are deployed in the microcontroller / processor unit.

[0069] Furthermore, for near-field wired diagnostics based on the vehicle diagnostic system provided in this application, the vehicle diagnostic device connects to the gateway arbitration module via an OBD connector to achieve vehicle diagnostics. For far-field wireless diagnostics, the cloud server connects to the gateway arbitration module wirelessly to achieve vehicle diagnostics.

[0070] Furthermore, in the implementation of this application, if near-field wireless diagnostics are performed, the vehicle diagnostic equipment is used to send vehicle diagnostic task information to the gateway arbitration module through the gateway wireless communication module.

[0071] The gateway arbitration module is used to send the vehicle diagnostic task as the target diagnostic task to the upper-layer application of the gateway if it is determined that the vehicle diagnostic task information includes a vehicle diagnostic task, and to perform task arbitration processing according to the priority of each vehicle diagnostic task if it is determined that the vehicle diagnostic task information includes multiple vehicle diagnostic tasks, determine the vehicle diagnostic task with the highest priority as the target diagnostic task, and send the target diagnostic task to the upper-layer application of the gateway.

[0072] Furthermore, the gateway arbitration module also sends the target diagnostic task to the vehicle diagnostic equipment via the gateway wireless communication module.

[0073] The gateway upper-layer application broadcasts the target diagnostic task to the CAN bus through the gateway routing module. The domain controller upper-layer application of each domain controller receives the target diagnostic task, determines whether diagnostic processing is required, and if diagnostic processing is required, enables its own domain controller wireless communication module, putting the domain controller wireless communication module in an enabled state and a low-power state, and sends out wireless communication signals.

[0074] Furthermore, the vehicle diagnostic equipment is also used to send a connection request signal to the corresponding domain control wireless communication module based on the wireless communication signal received.

[0075] The domain control wireless communication module is used to establish a wireless communication connection with the vehicle diagnostic equipment and operate in high-performance mode when it receives a connection request signal and passes the validity verification of the vehicle diagnostic equipment.

[0076] Furthermore, if the target diagnostic task is a self-diagnostic task (such as a task to diagnose whether a function is normal or whether communication is normal), the domain controller upper-layer application executes the target diagnostic task to obtain the diagnostic results, and sends the diagnostic results to the vehicle diagnostic equipment through the corresponding domain controller wireless communication module.

[0077] Furthermore, if the target diagnostic task is an upgrade / refresh task, the vehicle diagnostic equipment is also used to send the target diagnostic task information (e.g., the upgrade package corresponding to each domain controller) to the upper-layer application of the domain controller through the corresponding domain controller wireless communication module.

[0078] The domain controller upper-layer application is used to execute target diagnostic tasks based on target diagnostic task information to obtain diagnostic results.

[0079] Furthermore, each domain controller upper-layer application sends the diagnostic results to the vehicle diagnostic equipment through its corresponding domain controller wireless communication module.

[0080] Furthermore, in another implementation of this application, the vehicle diagnostic equipment can also determine the target diagnostic task information corresponding to the target diagnostic task of each domain controller based on the domain controllers of the domain controllers with established wireless communication connections, and send the target diagnostic task information to the corresponding domain controller. That is, the target diagnostic task information may be different for different domain controllers.

[0081] Next, see Figure 6 The vehicle diagnostic method provided in this application, applied to a vehicle diagnostic system, specifically includes the following steps:

[0082] S100, the vehicle diagnostic equipment sends vehicle diagnostic task information to the gateway.

[0083] S200: The gateway receives vehicle diagnostic task information, determines the target diagnostic task based on the vehicle diagnostic task information, and sends the target diagnostic task to the domain controller upper layer application included in the corresponding domain controller.

[0084] S310, each domain controller, including the domain controller upper-layer application, determines the vehicle status information. Based on the vehicle status information and the target diagnostic task, and if it is determined that the corresponding domain controller wireless communication module should be enabled, the domain controller wireless communication module should be put into a low-power mode.

[0085] S320, the domain control wireless communication module sends out wireless communication signals.

[0086] In S400, when the vehicle diagnostic equipment receives a wireless communication signal, it sends a connection request signal to the corresponding domain control wireless communication module based on the wireless communication signal.

[0087] The S500 domain control wireless communication module, upon receiving a connection request signal and after successfully verifying the legitimacy of the vehicle diagnostic equipment, establishes a wireless communication connection with the vehicle diagnostic equipment and enters high-performance mode.

[0088] S610: The domain controller upper-layer application executes the target diagnostic task, obtains the diagnostic results, and sends the diagnostic results to the corresponding domain controller wireless communication module.

[0089] The S620 domain control wireless communication module sends diagnostic results to the vehicle diagnostic equipment.

[0090] In this implementation, when the gateway receives vehicle diagnostic task information, it determines the target diagnostic task based on the information and sends it to the domain controller upper-layer applications included in each domain controller. Each domain controller's upper-layer application determines whether to enable the corresponding domain controller wireless communication module based on the target diagnostic task and vehicle status information. If enabling is required, the corresponding domain controller wireless communication module is enabled, enters a low-power mode, and emits a wireless communication signal. Thus, the domain controller wireless communication module is enabled only when needed and operates in a low-power mode, ensuring only the ability to emit a wireless communication signal, thereby maximizing power savings. Furthermore, after establishing a wireless communication connection with the vehicle diagnostic equipment, the domain controller wireless communication module operates in a high-performance state. Therefore, each domain controller wireless communication module only operates in a high-performance state after successfully establishing a communication connection with the vehicle diagnostic equipment, guaranteeing the quality of wireless transmission communication. Furthermore, the domain controller upper-layer applications of each domain controller that performs the target diagnostic task can synchronously upload diagnostic results based on their respective domain controller wireless communication modules, which speeds up the transmission rate, reduces the transmission latency of diagnostic results, and thus improves vehicle diagnostic efficiency. The vehicle diagnostic system with high transmission rate and low transmission latency enhances diagnostic stability and reliability.

[0091] First, when vehicle diagnostics are required and the diagnostic method is near-field wireless diagnostics, the gateway wireless communication module remains enabled after the vehicle is powered on and woken up. The vehicle diagnostic device sends a wireless communication connection request to the gateway wireless communication module based on the wireless communication signal of the gateway wireless communication module. After receiving the wireless communication connection request, the gateway wireless communication module verifies the legitimacy of the vehicle diagnostic device. Once the verification is successful, a wireless communication connection is established with the vehicle diagnostic device, which is the near-field wireless communication connection.

[0092] It should be noted that after the vehicle is woken up, the domain control wireless communication modules of each domain controller do not need to communicate and are in a disabled state by default.

[0093] Specifically, the gateway wireless communication module performs the following legitimacy verification for the vehicle diagnostic equipment: The gateway wireless communication module determines whether the vehicle diagnostic equipment belongs to the whitelist based on the identification information of the vehicle diagnostic equipment included in the wireless communication connection request. If it is determined to be a whitelisted device, the vehicle diagnostic equipment verification passes; otherwise, the verification fails and the connection is rejected. Alternatively, the gateway wireless communication module performs the following legitimacy verification for the vehicle diagnostic equipment: The gateway wireless communication module determines whether the username and password included in the wireless communication connection request are correct. If the username and password are correct, the vehicle diagnostic equipment verification passes; otherwise, the verification fails and the connection is rejected.

[0094] Furthermore, the vehicle diagnostic equipment sends the vehicle diagnostic task information to the gateway wireless communication module, which in turn sends the vehicle diagnostic task information to the gateway arbitration module of the gateway. The gateway arbitration module then determines the target diagnostic task based on the vehicle diagnostic task information.

[0095] In one implementation of this application, the gateway arbitration module determines the target diagnostic task based on the vehicle diagnostic task information, including: when the vehicle diagnostic task information includes a vehicle diagnostic task, the gateway arbitration module takes the vehicle diagnostic task as the target diagnostic task.

[0096] The gateway arbitration module sends the target diagnostic task to the gateway upper-layer application. The gateway upper-layer application then broadcasts the target diagnostic task in real time on the CAN bus via the gateway routing module, based on their respective connectors, so that the domain controller upper-layer application of the corresponding domain controller can receive the target diagnostic task signal.

[0097] After receiving the above signals, each domain controller upper-layer application determines whether to perform corresponding diagnostics based on the target diagnostic task and the current vehicle conditions (such as vehicle speed, gear, and vehicle mode as examples of vehicle status information), in order to determine whether to enable its own domain controller wireless communication module.

[0098] For example, each domain controller upper-layer application first determines whether the target diagnostic task is related to itself, that is, whether the corresponding domain controller needs to perform the corresponding diagnosis. If so, it obtains the vehicle's current speed, gear, and vehicle mode based on the bus to determine whether the corresponding domain controller is not in a working state, that is, whether vehicle diagnostic services can be performed. If it is determined that vehicle diagnostics can be performed, it enables its own domain controller wireless communication module, puts the domain controller wireless communication module in an enabled state, and puts the domain controller wireless communication module into a low-power mode.

[0099] If no corresponding diagnosis is required or if the current vehicle status information indicates that vehicle diagnosis cannot be performed, no action will be taken.

[0100] Furthermore, the domain controller wireless communication module (i.e., the target domain controller wireless communication module) of the domain controller that needs to perform the target diagnostic task (as an example of the target domain controller) sends out wireless communication signals.

[0101] The vehicle diagnostic equipment searches for wireless communication signals and sends a connection request signal to the corresponding target domain control wireless communication module based on the wireless communication signals.

[0102] When the target domain control wireless communication module receives a connection request signal from the vehicle diagnostic device, it verifies the vehicle diagnostic device's permissions. If the verification passes, the connection is successfully established, and the target domain control wireless communication module switches from low-power mode to high-performance mode. Otherwise, it sends a signal indicating that a communication connection could not be established or that the connection failed.

[0103] The verification method of the domain control wireless communication module for the vehicle diagnostic equipment is the same as that of the gateway wireless device for the vehicle diagnostic equipment.

[0104] In this implementation, the vehicle diagnostic equipment can establish communication connections with multiple domain controller wireless communication modules simultaneously, enabling simultaneous diagnostic processing of multiple domain controllers and accelerating diagnostic processing efficiency.

[0105] In one implementation, the target diagnostic task includes target diagnostic task information. The target domain controller upper-layer application that needs to be diagnosed directly executes the target diagnostic task to diagnose the electronic control unit connected to itself, obtains the diagnostic results, and sends the diagnostic results back to the vehicle diagnostic equipment through its own target domain controller wireless communication module.

[0106] In another implementation, the vehicle diagnostic equipment determines the domain controller (i.e., the target domain controller) that has established a wireless communication connection with the vehicle diagnostic equipment, determines the target diagnostic task information corresponding to the target diagnostic task, and sends the target diagnostic task information to the target domain controller upper-layer application through the target domain controller wireless communication module. The target domain controller upper-layer application executes the target diagnostic task according to the target diagnostic task information to obtain the diagnostic result.

[0107] If it is a diagnostic task, the target diagnostic task information is the diagnostic signal; if it is an upgrade / refresh task, the target diagnostic task information is the upgrade software package corresponding to the domain controller that needs to be upgraded.

[0108] For example, taking an upgrade / refresh as an example, if the target diagnostic task includes upgrade packages corresponding to each target domain controller that needs to be upgraded / refreshed, then the target upper-layer application of each target domain controller directly executes the target diagnostic task. If the target diagnostic task does not include upgrade packages corresponding to each target domain controller, then after establishing a communication connection with each target domain controller, the vehicle diagnostic equipment sends the target diagnostic task information corresponding to the target diagnostic task and the target domain controller to the target upper-layer application through the target wireless communication module of the corresponding target domain controller, so that each target upper-layer application can perform upgrade / refresh processing based on the received target diagnostic task information.

[0109] For example, if the target domain controllers requiring upgrades are Domain Controller 1, Domain Controller 2, and Domain Controller 3, and the upgrade package for Domain Controller 1 is Package 1, for Domain Controller 2 it is Package 2, and for Domain Controller 3 it is Package 3, then the vehicle diagnostic device sends Package 1 to Domain Controller Upper-Layer Application 1 via Domain Controller Wireless Communication Module 1, sends Package 2 to Domain Controller Upper-Layer Application 2 via Domain Controller Wireless Communication Module 2, and sends Package 3 to Domain Controller Upper-Layer Application 3 via Domain Controller Wireless Communication Module 3. In this way, by sending vehicle diagnostic task information based on the target wireless communication modules of each target domain controller, compared to the method where the vehicle diagnostic device sends the target diagnostic task information of all target domain controllers to the gateway, and then the gateway sends the vehicle diagnostic task information to each domain controller, data transmission time can be effectively saved and vehicle diagnostic efficiency can be improved.

[0110] Furthermore, in another implementation of this application, the gateway arbitration module determines the target diagnostic task based on the vehicle diagnostic task information, including: when the vehicle diagnostic task information includes multiple vehicle diagnostic tasks, the gateway arbitration module performs task arbitration processing based on the priority of each vehicle diagnostic task to determine the target diagnostic task.

[0111] For example, if multiple business parties are simultaneously diagnosing a vehicle, i.e., there are multiple vehicle diagnostic tasks, the vehicle diagnostic device will send the vehicle diagnostic task information, which includes multiple vehicle diagnostic tasks, to the gateway arbitration module. The gateway arbitration module receives the vehicle diagnostic task information based on the gateway wireless communication module, performs task arbitration processing according to the priority of each vehicle diagnostic task, and obtains the vehicle diagnostic task with the highest priority as the target diagnostic task.

[0112] The priority of each vehicle diagnostic task can be preset, or the gateway arbitration module can determine the priority based on the task type (fault diagnosis, routine function diagnosis, software refresh, etc.) and task timeliness, and select the vehicle diagnostic task with the highest priority as the target diagnostic task.

[0113] Furthermore, the gateway arbitration module sends the target diagnostic task to the gateway upper-layer application. The gateway upper-layer application then broadcasts the target diagnostic task in real time on the bus via the gateway routing module, based on its respective connector, so that the domain controller upper-layer application of each domain controller can receive the target diagnostic task signal.

[0114] After receiving the above signals, each domain controller upper-layer application, based on the target diagnostic task and vehicle status information, determines that corresponding diagnostics are required. It then enables its own domain controller wireless communication module, puts the target domain controller wireless communication module in an enabled state, and enters a low-power mode. Furthermore, the target domain controller wireless communication module of each target domain controller that needs to perform the target diagnostic task sends a wireless communication signal.

[0115] Furthermore, the vehicle diagnostic equipment establishes a communication connection with the target domain controller's target upper-layer application through the target domain controller wireless communication module, and the target domain controller wireless communication module switches from low-power mode to high-performance mode.

[0116] As mentioned earlier, the domain controller upper-layer application that needs to be diagnosed directly executes the target diagnostic task to diagnose the electronic control unit connected to itself, obtains the diagnostic results, and sends the diagnostic results back to the vehicle diagnostic equipment through its own domain controller wireless communication module.

[0117] Furthermore, in another implementation of this application, the gateway arbitration module also sends the target diagnostic task to the vehicle diagnostic device through the gateway wireless module, so that the vehicle diagnostic device knows which vehicle diagnostic task needs to be performed.

[0118] The vehicle diagnostic equipment identifies the target domain controller with which it establishes a wireless communication connection. It then sends the target diagnostic task information corresponding to the target diagnostic task to the target domain controller's upper-layer application via the target domain controller's wireless communication module. The target domain controller's upper-layer application executes the target diagnostic task based on the target diagnostic task information to obtain the diagnostic result.

[0119] Furthermore, the target domain controller upper-layer application performs target diagnostic tasks including: each target domain controller upper-layer application performs target diagnostic tasks, generates diagnostic signals, and sends them to the corresponding electronic control unit, so that each electronic control unit generates diagnostic results based on the diagnostic signals and sends the diagnostic results to the target domain controller upper-layer application.

[0120] Furthermore, each target domain controller upper-layer application sends the diagnostic results to the vehicle diagnostic equipment through its respective target domain controller wireless communication module. In this way, sending diagnostic results based on their respective wireless communication modules, compared to each target first upper-layer application sending the diagnostic results to the gateway and then uniformly sending them to the vehicle diagnostic equipment via the gateway, can accelerate the transmission rate and reduce data transmission latency.

[0121] Furthermore, if the vehicle diagnostic equipment determines that the wireless communication connection between the domain controller wireless communication module corresponding to the domain controller upper-layer application whose diagnostic processing has not yet ended and the vehicle diagnostic equipment is in a disconnected state, the vehicle diagnostic equipment will resend a connection request signal to the corresponding domain controller wireless communication module to re-establish the wireless communication connection. During the re-establishment process, if the number of connection failures exceeds a preset number, the connection will be stopped. If the domain controller upper-layer application determines that the number of connection failures between the domain controller wireless communication module and the vehicle diagnostic equipment exceeds a preset number, the domain controller wireless communication module will be put into a low-power mode.

[0122] For example, once the vehicle diagnostic device successfully establishes a wireless communication connection with the domain controller's wireless communication module, it switches from low-power mode to high-performance mode. The diagnostic results generated by the domain controller's upper-layer application are no longer sent to the gateway via the bus, but instead go through the wireless channel. If the wireless communication connection is interrupted due to signal interference or other reasons during the diagnostic process, an automatic reconnection is performed with a priority number of attempts. If the connection fails multiple times (e.g., five times), the wireless communication module switches from high-performance mode to low-power mode.

[0123] Furthermore, in this implementation, after the domain controller upper-layer application obtains the diagnostic results, if the domain controller upper-layer application determines that the wireless communication connection between the domain controller wireless communication module and the vehicle diagnostic equipment is disconnected, and the disconnection time exceeds a preset time, then the domain controller wireless communication module is put into a low-power mode. The domain controller upper-layer application then sends the diagnostic results to the gateway upper-layer application through the gateway routing module, and the gateway upper-layer application then sends the diagnostic results to the vehicle diagnostic equipment through the gateway wireless communication module.

[0124] For example, if the wireless communication connection between the domain controller's upper-layer application and the vehicle diagnostic equipment is lost for more than a preset time, the diagnostic results will be sent to the vehicle diagnostic equipment via the bus channel and the gateway. In this case, the domain controller's wireless communication module does not need to operate and can enter low-power mode.

[0125] Furthermore, when the domain control wireless communication module and the vehicle diagnostic equipment are in a wireless communication connection state, the domain control upper-layer application can disable the domain control wireless communication module when it receives a notification to stop near-field diagnostic processing or when it determines that the vehicle does not meet the target conditions based on the vehicle status information.

[0126] For example, during a wireless communication connection, if the vehicle signal received by the domain controller upper layer application indicates that the current vehicle has lost the priority of near-field wireless diagnostics, or if the domain controller upper layer application identifies that the current vehicle condition does not meet the requirements of near-field wireless diagnostics, the domain controller wireless communication module is immediately disabled, putting the domain controller wireless communication module in a disabled state.

[0127] Furthermore, after the domain controller upper-layer application sends the diagnostic results to the vehicle diagnostic equipment through the corresponding domain controller wireless communication module, the method also includes: if the domain controller upper-layer application determines that the communication connection between the domain controller wireless communication module and the vehicle diagnostic equipment is disconnected and the disconnection exceeds a preset time, then the domain controller wireless communication module is put into a low-power mode.

[0128] For example, if the communication connection between the vehicle diagnostic device and the domain control wireless communication module is disconnected for more than a preset time (e.g., 5 minutes) after the vehicle diagnostic is completed, the domain control wireless communication module will switch from high-performance mode to low-power mode.

[0129] In this implementation, the domain-controlled wireless communication module enters a high-performance mode when signal transmission is required, and a low-power mode when a communication connection has not been established or when the communication connection is disconnected, thereby maximizing power saving.

[0130] like Figure 7As shown, the domain controller's domain wireless communication modules are divided into disabled and enabled states. When the vehicle is powered on, each domain wireless communication module is in a disabled state by default. In the disabled state, the domain wireless communication modules do not work and are in a sleep state. When it is determined that the vehicle meets the priority of near-field wireless diagnostics and the vehicle condition meets the diagnostic conditions (i.e., priority is allowed & conditions met), it enters the enabled state. In the enabled state, the domain wireless communication modules start working, which is further divided into low-power mode and high-performance mode. First, the domain wireless communication modules enter low-power mode. In low-power mode, the domain wireless communication modules only retain the ability to handle client (e.g., vehicle diagnostic equipment) requests to establish connections, maximizing power saving. Once the client successfully establishes a connection (i.e., in the communication connection state), it switches to high-performance mode to ensure the quality of wireless transmission communication. When the communication connection is disconnected for a period of time... After a period of time, it switches from high-performance mode to low-power mode. Furthermore, when the vehicle has lost priority for near-field wireless diagnostics and / or the domain control upper-layer application identifies that the current vehicle condition does not meet the requirements for near-field wireless diagnostics (Priority not allowed = conditions not met), the domain control wireless communication module is disabled.

[0131] The vehicle diagnostic method and system provided in this application are actually a near-field wireless diagnostic method and system based on a multi-point parallel diagnostic communication architecture of domain controllers. Specifically, the near-field vehicle diagnostic device can directly communicate in parallel with each domain controller within the vehicle (the gateway is one of the domain controllers). Each domain controller acts as an independent wireless communication node for diagnostic communication with the near-field vehicle diagnostic device. The diagnostic result data sent by the domain controller is no longer uniformly sent to the gateway via a bus, but is instead directly sent to the near-field vehicle diagnostic device through the wireless communication module within the domain controller.

[0132] As shown in Table 2, the difference between the vehicle diagnostic method and system implemented in this application and existing vehicle diagnostic methods and systems lies in the fact that the existing diagnostic communication architecture is a single-point serial diagnostic communication architecture, with the diagnostic communication link being domain controller → bus → gateway routing module → gateway wireless communication module → wireless network → near-field vehicle diagnostic equipment. The diagnostic communication architecture of this application is a multi-point parallel diagnostic communication architecture based on the domain controller, with the diagnostic communication link being domain controller → domain controller wireless communication module → wireless network → near-field vehicle diagnostic equipment.

[0133] Table 2 - Comparison of Existing Vehicle Diagnostic Systems and the Vehicle Diagnostic System Applied For in this Application

[0134]

[0135] The vehicle diagnostic method and system provided in this application can effectively improve diagnostic efficiency and enhance the reliability and stability of the near-field wireless diagnostic system.

[0136] like Figure 8 As shown, taking a factory production line software refresh scenario as an example, this describes the efficiency improvement brought by a domain controller-based multi-point parallel diagnostic communication architecture: Assume that vehicle rollout requires software upgrades for the intelligent computing domain controller, intelligent driving domain controller, and intelligent cabin domain controller, where the intelligent computing domain controller software package size is 3GB, the intelligent driving domain controller software package size is 12GB, and the intelligent cabin domain controller software package size is 5GB. Assuming Bluetooth is used as the wireless short-range communication carrier with a wireless transmission rate of 24Mbps, the time required for each vehicle to transmit the software package at the refresh station is:

[0137] Serial transmission in existing technologies:

[0138]

[0139] Substituting the above data into the calculation, it is found that the time required for each vehicle to transmit the software package at the refresh station is 114 minutes.

[0140] Parallel transmission in this application:

[0141]

[0142] Substituting the above data into the calculation, it is found that the time required for each vehicle to transmit the software package at the refresh station is 68 minutes.

[0143] This effectively improves diagnostic efficiency, and parallel transmission can prioritize reducing the probability of channel congestion, thus effectively reducing transmission latency.

[0144] The vehicle diagnostic equipment provided in this application can specifically be electronic devices such as computers or industrial control computers.

[0145] Please see Figure 9 , Figure 9 The diagram shown is a structural schematic of an electronic device provided in an embodiment of this application. Figure 9 As shown, the electronic device may include: transceiver 121, processor 122, and memory 123.

[0146] Processor 122 executes computer execution instructions stored in memory, causing it to perform some technical solutions of the vehicle diagnostic method described in the above embodiments. Processor 122 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital data 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.

[0147] The memory 123 is connected to the processor 122 via the system bus and completes communication between them. The memory 123 is used to store computer program instructions.

[0148] For example, and not as a limitation, memory 123 may include a hard disk drive (HDD), a floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 123 may include removable or non-removable (or fixed) media. Where appropriate, memory 123 may be internal or external to the integrated gateway device. In a particular embodiment, memory 123 is non-volatile solid-state memory. In a particular embodiment, memory 123 includes read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable read-only ROM (PROM), an erasable programmable read-only ROM (EPROM), an electrically erasable programmable read-only ROM (EEPROM), an electrically alterable read-only ROM (EAROM), or flash memory, or a combination of two or more of these. Transceiver 121 can be used to obtain the task to be run and its configuration information.

[0149] The system bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The system bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only one thick line is used in the diagram, but this does not indicate that there is only one bus or one type of bus. Transceivers are used to enable communication between database access devices and other computers (e.g., clients, read-write libraries, and read-only libraries). Memory may include random access memory (RAM) and may also include non-volatile memory.

[0150] This application also provides a chip for executing instructions, which is used to execute the vehicle diagnostic method described in the above embodiments.

[0151] This application also provides a computer-readable storage medium storing computer instructions that, when executed on a processor of an electronic device, cause the processor of the electronic device to perform part of the technical solution of the vehicle diagnostic method described above.

[0152] In some possible implementations, various aspects of the methods provided in this application can also be implemented as a program product, which includes program code. When the program product is run on the processor of an electronic device, the program code is used to cause the processor of the electronic device to execute the steps in the methods of the various exemplary implementations of this application described above. For example, the electronic device can execute part of the technical solution of the vehicle diagnostic method described in the embodiments of this application.

[0153] The program product may take the form of any combination of one or more readable media. A readable medium may be a readable data medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CDROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0154] This application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium, and when the at least one processor executes the computer program, it can implement the technical solution of the vehicle diagnostic method in the above embodiments.

[0155] It should be noted that, in addition to the specific embodiments described above, those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. Although the description of this application is presented in conjunction with preferred embodiments, this does not mean that the features of this invention are limited to this implementation. On the contrary, the purpose of describing the invention in conjunction with the implementation is to cover other options or modifications that may be derived from this application. To provide a thorough understanding of this application, many specific details are included in the above description, and this application may also be implemented without using these details. Furthermore, to avoid confusion or obscuring the focus of this application, some specific details will be omitted in the description. It should be noted that, unless otherwise specified, the embodiments and features in the embodiments of this application can be combined with each other.

[0156] It should be noted that in this specification, similar reference numerals and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0157] It should be noted that some structural or methodological features may be shown in the accompanying drawings in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be necessary. Rather, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. Furthermore, including structural or methodological features in a particular figure does not imply that such features are required in all embodiments, and in some embodiments, these features may be omitted or may be combined with other features.

[0158] Although this application has been illustrated and described with reference to certain preferred embodiments, those skilled in the art should understand that the above description is a further detailed explanation of the application in conjunction with specific implementations, and should not be construed as limiting the specific implementation of the application to these descriptions. Those skilled in the art can make various changes in form and detail, including some simple deductions or substitutions, without departing from the spirit and scope of this application.

Claims

1. A vehicle diagnostic method, characterized in that, An application is made to a vehicle diagnostic system, the vehicle diagnostic system including a vehicle diagnostic device and a vehicle, the vehicle including a gateway and multiple domain controllers, each domain controller including a domain controller upper-layer application and a domain controller wireless communication module, the vehicle diagnostic device establishing a near-field wireless communication connection with the vehicle through the gateway, the method including: The vehicle diagnostic device sends vehicle diagnostic task information to the gateway; The gateway receives the vehicle diagnostic task information, determines the target diagnostic task based on the vehicle diagnostic task information, and sends the target diagnostic task to the domain controller upper-layer application included in the corresponding domain controller; The domain controller includes the domain controller upper layer application that determines vehicle status information. Based on the vehicle status information and the target diagnostic task, when it is determined that the corresponding domain controller wireless communication module should be enabled, the domain controller wireless communication module should be enabled and put into a low power mode and emit a wireless communication signal. Upon receiving the wireless communication signal, the vehicle diagnostic device sends a connection request signal to the corresponding domain control wireless communication module based on the wireless communication signal. Upon receiving the connection request signal and successfully verifying the legitimacy of the vehicle diagnostic device, the domain control wireless communication module establishes a wireless communication connection with the vehicle diagnostic device and enters high-performance mode; and The domain controller upper-layer application executes the target diagnostic task to obtain diagnostic results, and sends the diagnostic results to the vehicle diagnostic device through the corresponding domain controller wireless communication module.

2. The vehicle diagnostic method according to claim 1, characterized in that, The gateway determines the target diagnostic task based on the vehicle diagnostic task information, including: If the vehicle diagnostic task information includes a vehicle diagnostic task, the gateway will use the vehicle diagnostic task as the target diagnostic task. When the vehicle diagnostic task information includes multiple vehicle diagnostic tasks, the gateway performs task arbitration based on the priority of each vehicle diagnostic task to determine the target diagnostic task.

3. The vehicle diagnostic method according to claim 2, characterized in that, The method further includes: The vehicle diagnostic device identifies the domain controller with which it has established a wireless communication connection and sends the target diagnostic task information corresponding to the target diagnostic task to the upper-layer application of the domain controller through the domain controller's wireless communication module. The domain controller upper-layer application executes the target diagnostic task based on the target diagnostic task information to obtain the diagnostic result.

4. The vehicle diagnostic method according to any one of claims 1-3, characterized in that, The gateway includes a gateway wireless communication module, a gateway arbitration module, a gateway routing module, and a gateway upper-layer application. The vehicle diagnostic device establishes a near-field wireless communication connection with the gateway through the gateway wireless communication module. The gateway arbitration module communicates with both the gateway wireless communication module and the gateway upper-layer application. The gateway upper-layer application communicates with each of the domain controllers via the gateway routing module. The gateway receives vehicle diagnostic task information, determines the target diagnostic task based on the vehicle diagnostic task information, and sends the target diagnostic task to the domain controller upper-layer application included in the domain controller, including: The gateway wireless communication module receives the vehicle diagnostic task information and sends the vehicle diagnostic task information to the gateway arbitration module; The gateway arbitration module determines the target diagnostic task based on the vehicle diagnostic task information and sends the target diagnostic task to the upper-layer application of the gateway. The gateway upper-layer application broadcasts the target diagnostic task to the communication bus via the gateway routing module, so that each domain controller upper-layer application receives the target diagnostic task.

5. The vehicle diagnostic method according to any one of claims 1-4, characterized in that, After the domain controller upper-layer application obtains the diagnostic results, the method further includes: If the domain controller upper-layer application determines that the wireless communication connection between the domain controller wireless communication module and the vehicle diagnostic equipment is disconnected, and the disconnection period exceeds a preset time, then Put the domain-controlled wireless communication module into a low-power mode; and The domain controller upper-layer application sends the diagnostic results to the gateway upper-layer application through the gateway routing module; The upper-layer application of the gateway sends the diagnostic results to the vehicle diagnostic device through the gateway's wireless communication module.

6. The vehicle diagnostic method according to any one of claims 1-5, characterized in that, The method further includes: If the vehicle diagnostic device determines that the wireless communication connection between the domain controller wireless communication module corresponding to the domain controller upper-layer application whose diagnostic processing has not yet ended and the vehicle diagnostic device is in a disconnected state, the vehicle diagnostic device will resend a connection request signal to the corresponding domain controller wireless communication module to re-establish the wireless communication connection. Furthermore, if the number of connection failures exceeds a preset number during the re-establishment process, the connection will be stopped. If the domain controller upper-layer application determines that the number of connection failures between the domain controller wireless communication module and the vehicle diagnostic device exceeds a preset number, then the domain controller wireless communication module is put into a low-power mode.

7. The vehicle diagnostic method according to any one of claims 1-6, characterized in that, After the domain controller upper-layer application sends the diagnostic results to the vehicle diagnostic device through the corresponding domain controller wireless communication module, the method further includes: If the domain controller upper-layer application determines that the communication connection between the domain controller wireless communication module and the vehicle diagnostic device is disconnected and the disconnection exceeds a preset time, then the domain controller wireless communication module is put into a low-power mode.

8. The vehicle diagnostic method according to any one of claims 1-7, characterized in that, When the domain control wireless communication module and the vehicle diagnostic equipment are in a wireless communication connection state, the method further includes: When the domain control upper-layer application receives a notification to stop near-field diagnostic processing, or when it determines, based on the vehicle status information, that the vehicle does not meet the target conditions, it disables the domain control wireless communication module.

9. The vehicle diagnostic method according to any one of claims 1-8, characterized in that, After the vehicle is awakened, the gateway wireless communication module remains enabled, while the domain controller wireless communication module of each domain controller is disabled by default.

10. A vehicle diagnostic system, characterized in that, The vehicle diagnostic system includes vehicle diagnostic equipment and a vehicle. The vehicle includes a gateway and multiple domain controllers. Each domain controller includes a domain controller upper-layer application and a domain controller wireless communication module. The vehicle diagnostic equipment establishes a near-field wireless communication connection with the vehicle through the gateway. The vehicle diagnostic device is used to send vehicle diagnostic task information to the gateway; The gateway receives the vehicle diagnostic task information and uses it to determine the target diagnostic task based on the vehicle diagnostic task information, and sends the target diagnostic task to the domain controller upper layer application included in the corresponding domain controller; The domain controller includes an upper-layer application for determining vehicle status information. Based on the vehicle status information and the target diagnostic task, when it is determined that the corresponding domain controller wireless communication module should be enabled, the domain controller wireless communication module should be enabled and put into a low-power mode and emit a wireless communication signal. The vehicle diagnostic device is also used to send a connection request signal to the corresponding domain control wireless communication module based on the wireless communication signal when the wireless communication signal is received; The domain-controlled wireless communication module is used to establish a wireless communication connection with the vehicle diagnostic equipment and operate in high-performance mode upon receiving the connection request signal and passing the validity verification of the vehicle diagnostic equipment; and The domain controller upper-layer application is also used to execute the target diagnostic task to obtain diagnostic results, and send the diagnostic results to the vehicle diagnostic device through the corresponding domain controller wireless communication module.

Citation Information

Patent Citations

  • Cloud-based vehicle diagnosis method and system, electronic equipment and storage medium

    CN119011267A

  • Vehicle diagnostic communication apparatus, system including the same and method thereof

    US20200394853A1