Vehicle fault detection method and device, vehicle, electronic equipment and storage medium
Patent Information
- Application Number
- CN202510494758.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-18
- Publication Date
- 2026-10-23
AI Technical Summary
现有技术依赖DTC诊断仪,增加了设备成本,而且操作流程较为繁琐,售后专家需要付出学习成本,同时依赖人工判断,导致检测效率较低而且准确性不足
[0036]本申请实施例提供的辆故障检测方法、装置、车辆、电子设备及存储介质,通过接收到服务端发送的故障检测脚本后,执行该故障检测结果,并在故障检测脚本的执行过程中执行目标操作,得到目标操作结果,将目标操作结果发送至服务端,由服务端基于目标操作结果进行故障检测分析得到故障检测结果,本申请实施例可以由服务端下发故障检测脚本至车端,并由车端执行故障检测脚本,并将执行过程中的目标操作结果反馈至服务端,服务端可以基于目标操作结果确定故障检测结果,整个故障检测过程中不需要连接DTC诊断仪,也不需要人工判断,从而降低了检测成本,提高了检测效率,而且避免了人工判断错误的情况,提高了检测准确性。
Smart Images

Figure CN122963133A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and in particular to a vehicle fault detection method, device, vehicle, electronic device, and storage medium. Background Technology
[0002] As businesses grow and total vehicle sales increase, the demands on the efficiency and service quality of after-sales service departments become increasingly higher. When users' vehicles need repair, faster, more accurate, and lower-cost inspections will greatly improve after-sales capabilities.
[0003] In existing technologies, vehicle fault detection typically requires connecting a DTC (Diagnostic Trouble Codes) diagnostic tool to acquire vehicle signals, which are then manually interpreted to determine the detection results. This reliance on DTC diagnostic tools increases equipment costs, and the operational procedures are cumbersome, requiring after-sales experts to invest in learning the technology. Furthermore, the dependence on manual judgment results in low detection efficiency and insufficient accuracy. Summary of the Invention
[0004] This application provides a vehicle fault detection method, device, vehicle, electronic device, and storage medium, which helps to reduce detection costs and improve detection efficiency and accuracy.
[0005] To address the aforementioned problems, in a first aspect, embodiments of this application provide a vehicle fault detection method, applied to a vehicle, comprising:
[0006] Receive fault detection scripts sent by the server;
[0007] The fault detection script is executed, and a target operation is performed during the execution of the fault detection script to obtain the target operation result. The target operation includes vehicle control operation and / or reading target signal value.
[0008] The target operation result is sent to the server, and the target operation result is used to request the server to perform fault detection analysis in order to obtain fault detection results.
[0009] Secondly, embodiments of this application provide a vehicle fault detection method, applied to a server, including:
[0010] Receive a fault detection request sent by a mobile terminal, the fault detection request including a script identifier and a vehicle identifier;
[0011] Send the fault detection script corresponding to the script identifier to the vehicle terminal corresponding to the vehicle identifier;
[0012] Receive the target operation result sent by the vehicle terminal. The target operation result is the result of the target operation performed by the vehicle terminal during the execution of the fault detection script. The target operation includes vehicle control operation and / or reading target signal value.
[0013] The target operation result is analyzed for fault detection to obtain the fault detection result;
[0014] The fault detection results are sent to the mobile terminal.
[0015] Thirdly, embodiments of this application provide a vehicle fault detection method, applied to a mobile terminal, comprising:
[0016] Obtain the script identifier and the vehicle identifier of the vehicle to be detected, wherein the script identifier is the identifier of the fault detection script to be executed;
[0017] Send a fault detection request, including the script identifier and the vehicle identifier, to the server.
[0018] Receive the fault detection results sent by the server and display the fault detection results.
[0019] Fourthly, embodiments of this application provide a vehicle fault detection device, applied to a vehicle, comprising:
[0020] The script receiving module is used to receive fault detection scripts sent by the server.
[0021] The script execution module is used to execute the fault detection script and perform target operations during the execution of the fault detection script to obtain target operation results. The target operations include vehicle control operations and / or reading target signal values.
[0022] The operation result sending module is used to send the target operation result to the server, and the target operation result is used to request the server to perform fault detection analysis to obtain fault detection results.
[0023] Fifthly, embodiments of this application provide a vehicle fault detection device, applied to a server, comprising:
[0024] The detection request receiving module is used to receive fault detection requests sent by the mobile terminal, wherein the fault detection request includes a script identifier and a vehicle identifier;
[0025] The script sending module is used to send the fault detection script corresponding to the script identifier to the vehicle terminal corresponding to the vehicle identifier.
[0026] An operation result receiving module is used to receive the target operation result sent by the vehicle terminal. The target operation result is the result of the target operation performed during the execution of the fault detection script by the vehicle terminal. The target operation includes vehicle control operation and / or reading target signal value.
[0027] The detection and analysis module is used to perform fault detection and analysis on the target operation results to obtain fault detection results;
[0028] The detection result sending module is used to send the fault detection result to the mobile terminal.
[0029] Sixthly, embodiments of this application provide a vehicle fault detection device applied to a mobile terminal, comprising:
[0030] The acquisition module is used to acquire the script identifier and the vehicle identifier of the vehicle to be detected, wherein the script identifier is the identifier of the fault detection script to be executed;
[0031] The detection request sending module is used to send a fault detection request, including the script identifier and the vehicle identifier, to the server.
[0032] The detection result receiving module is used to receive the fault detection results sent by the server and display the fault detection results.
[0033] In a seventh aspect, embodiments of this application also provide a vehicle, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the vehicle fault detection method described in the first aspect.
[0034] Eighthly, embodiments of this application also provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the vehicle fault detection method described in the second or third aspect.
[0035] Ninthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the vehicle fault detection method described in embodiments of this application.
[0036] The vehicle fault detection method, device, vehicle, electronic device, and storage medium provided in this application embodiment receive a fault detection script sent by a server, execute the fault detection result, and perform a target operation during the execution of the fault detection script to obtain the target operation result. The target operation result is then sent to the server, which performs fault detection analysis based on the target operation result to obtain the fault detection result. In this application embodiment, the server can send the fault detection script to the vehicle, and the vehicle can execute the fault detection script and feed back the target operation result during the execution process to the server. The server can determine the fault detection result based on the target operation result. The entire fault detection process does not require connection to a DTC diagnostic instrument or manual judgment, thereby reducing detection costs, improving detection efficiency, avoiding errors in manual judgment, and improving detection accuracy. Attached Figure Description
[0037] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0038] Figure 1 This is a flowchart of a vehicle fault detection method provided in an embodiment of this application;
[0039] Figure 2 This is a flowchart of a vehicle fault detection method provided in an embodiment of this application;
[0040] Figure 3 This is a flowchart of a vehicle fault detection method provided in an embodiment of this application;
[0041] Figure 4 This is a schematic diagram of the overall processing flow of the vehicle fault detection method in the embodiments of this application;
[0042] Figure 5 This is a flowchart of a vehicle fault detection method provided in an embodiment of this application;
[0043] Figure 6 This application provides a vehicle fault detection device.
[0044] Figure 7 This application provides a vehicle fault detection device.
[0045] Figure 8 This application provides a vehicle fault detection device.
[0046] Figure 9This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0047] 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 some embodiments of this application, not all embodiments. 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.
[0048] Figure 1 This is a flowchart of a vehicle fault detection method provided in an embodiment of this application. This vehicle fault detection method is applied to the vehicle end, such as... Figure 1 As shown, the method includes steps 110 to 130.
[0049] Step 110: Receive the fault detection script sent by the server.
[0050] In an exemplary embodiment, the fault detection script may correspond to the position of the vehicle (such as the front left side of the vehicle, the front right side of the vehicle, etc.), that is, different positions of the vehicle correspond to different fault detection scripts, and the fault detection scripts are used to perform fault detection on the corresponding positions of the vehicle.
[0051] In one exemplary embodiment, after-sales experts can log in to the corresponding application on a mobile terminal such as a mobile phone and select the fault detection script for the corresponding vehicle collision location. The mobile terminal sends the script identifier of the fault detection script to the server. The server obtains the corresponding fault detection script based on the script identifier and sends the fault detection script to the vehicle. The vehicle receives the fault detection script sent by the server.
[0052] Step 120: Execute the fault detection script and perform the target operation during the execution of the fault detection script to obtain the target operation result. The target operation includes vehicle control operation and / or reading target signal value.
[0053] In one exemplary embodiment, after receiving a fault detection script, the vehicle executes the script. The fault detection script may involve performing a target operation. During the execution of the fault detection script, the target operation is performed to perform vehicle control operations and / or read target signal values to obtain the target operation result. For example, when the target operation is a vehicle control operation, the target operation result can be operation success or operation failure; when the target operation is reading a target signal value, the target operation result is the read target signal value. Target signals may include, for example, headlight signals, seat signals, air conditioning signals, power signals, central locking signals, and the vehicle's gear position.
[0054] Step 130: Send the target operation result to the server. The target operation result is used to request the server to perform fault detection analysis to obtain fault detection results.
[0055] Upon receiving the target operation result, the vehicle can feed it back to the server in real time. After the fault detection script completes its execution, the vehicle sends a completion message to the server. The server then performs fault detection analysis on the received target operation result to obtain the final fault detection result. During this analysis, the server can combine the input from after-sales experts regarding vehicle faults with the target operation result to obtain fault detection results, such as identifying damaged components, and generate an analysis report including the fault detection results. The server can employ existing methods based on target operation results for fault detection analysis; this embodiment does not limit the specific method used.
[0056] The vehicle fault detection method provided in this application embodiment receives a fault detection script sent by the server, executes the fault detection result, performs a target operation during the execution of the fault detection script, obtains the target operation result, and sends the target operation result to the server. The server then performs fault detection analysis based on the target operation result to obtain the fault detection result. In this application embodiment, the server can send the fault detection script to the vehicle, and the vehicle can execute the fault detection script and feed back the target operation result during the execution process to the server. The server can determine the fault detection result based on the target operation result. The entire fault detection process does not require connection to a DTC diagnostic tool or manual judgment, thereby reducing detection costs, improving detection efficiency, avoiding errors in manual judgment, and improving detection accuracy.
[0057] Based on the above technical solution, the vehicle end includes a vehicle engine and vehicle applications;
[0058] The execution of the target operation during the execution of the fault detection script may include: during the execution of the fault detection script, sending a target operation execution request to the vehicle application through the vehicle engine; executing the target operation through the vehicle application; and returning the target operation result to the vehicle engine.
[0059] In one exemplary embodiment, the vehicle-side engine, also known as the function computing engine, together with the function computing platform (second server) on the server side, forms an integrated edge-cloud function computing product. It can operate function scripts in the cloud, run them on the vehicle, and provide a calling interface for the server (first server). The vehicle-side engine is deployed on the vehicle side to perform function computing in the background, i.e., to execute fault detection scripts.
[0060] In one exemplary embodiment, a vehicle-side application is an application in the vehicle that can provide services to users and after-sales departments.
[0061] In an exemplary embodiment, the vehicle engine receives a fault detection script sent by the server (second server), brings up the main interface of the vehicle application, and executes the fault detection script in the background of the vehicle. During the execution of the fault detection script, if the fault detection script requires the execution of a target operation, the vehicle engine sends a target operation execution request to the vehicle application. The vehicle application executes the target operation based on the target operation execution request and returns the target operation result to the vehicle engine.
[0062] By coordinating the vehicle-side engine and vehicle-side applications to execute fault detection scripts and target operations, the results of the target operations can be accurately obtained without relying on DTC diagnostic tools, thus reducing equipment costs in the fault detection process.
[0063] Based on the above technical solution, before executing the fault detection script, the method may further include: sending an authentication command to the vehicle application through the vehicle engine; and obtaining authorization through the vehicle application when the user is logged in.
[0064] In one exemplary embodiment, the vehicle-side engine needs to perform authentication before executing the fault detection script. This involves authenticating the user (who could be an after-sales expert) and downgrading vehicle safety permissions. The vehicle-side engine sends an authentication command to the vehicle-side application. Based on the authentication command, the vehicle-side application displays an authorization interface when the user is logged in and obtains the user's authorization through the authorization interface. If the user is not logged in, the vehicle-side application displays a login interface and obtains the user's authorization after the user logs in. At the same time, the vehicle-side application also needs to confirm that the vehicle is in P gear. If the vehicle is not in P gear, it prompts the user to switch the vehicle to P gear. The authentication is confirmed to be successful when the user authorizes and the vehicle is in P gear, and the authentication result is returned to the vehicle-side engine. After receiving the authentication result, the vehicle-side engine can execute the fault detection script.
[0065] By sending authentication commands from the vehicle engine to the vehicle application, and having the vehicle application perform authentication, the fault detection script can be executed when the user authorizes it and the vehicle is in P gear, thus ensuring vehicle safety.
[0066] Based on the above technical solution, the method may further include: after the fault detection script is executed, the vehicle-side engine executes a termination function to send a termination command to the vehicle-side application; and the vehicle-side application controls the vehicle to restore the target state.
[0067] In one exemplary embodiment, the closing function is a script that runs after the fault detection script has finished running, restoring the vehicle to its default state.
[0068] In one exemplary embodiment, after the fault detection script finishes execution, the vehicle-side engine executes a cleanup function and sends a cleanup command to the vehicle-side application. Based on the cleanup command, the vehicle-side application controls the vehicle to restore the target state.
[0069] By controlling the vehicle to return to the target state after the fault detection script finishes execution, the vehicle can be restored to the target state.
[0070] Based on the above technical solution, the method may further include: sending the execution progress of the fault detection script to the server.
[0071] In one exemplary embodiment, during the execution of the fault detection script, the vehicle engine can send the execution progress of the fault detection script to the server, and the server can send the execution progress to the mobile terminal so that the execution progress can be displayed in real time on the mobile terminal, making it easier for after-sales experts to understand the progress of fault detection.
[0072] Figure 2 This is a flowchart of a vehicle fault detection method provided in an embodiment of this application. This vehicle fault detection method is applied to a server, such as... Figure 2 As shown, the method includes steps 210 to 250.
[0073] Step 210: Receive a fault detection request sent by the mobile terminal. The fault detection request includes a script identifier and a vehicle identifier.
[0074] In one exemplary embodiment, the script identifier is an identifier for a fault detection script. The fault detection script may correspond to the vehicle's position (such as the front left side of the vehicle, the front right side of the vehicle, etc.), that is, different positions of the vehicle correspond to different fault detection scripts, and the fault detection scripts are used to perform fault detection at the corresponding positions of the vehicle.
[0075] In one exemplary embodiment, the vehicle identifier is a unique identifier for the vehicle, such as the VIN (Vehicle Identification Number). The VIN is determined by national vehicle management standards and contains information such as the vehicle's manufacturer, year, model, body style and code, engine code, and assembly location. Each vehicle has a unique VIN code.
[0076] In one exemplary embodiment, after-sales experts can log in to the corresponding application on a mobile terminal such as a mobile phone, select the fault detection script for the corresponding vehicle collision location, and input the vehicle identifier of the vehicle to be detected. The mobile terminal sends a fault detection request, including the footprint identifier of the fault detection script and the vehicle identifier, to the server, and the server receives the fault detection request sent by the mobile terminal.
[0077] Step 220: Send the fault detection script corresponding to the script identifier to the vehicle terminal corresponding to the vehicle identifier.
[0078] In one exemplary embodiment, after receiving a fault detection request from a mobile terminal, the server obtains the corresponding fault detection script based on the script identifier in the fault detection request and sends the fault detection script to the vehicle terminal corresponding to the vehicle identifier.
[0079] Step 230: Receive the target operation result sent by the vehicle terminal. The target operation result is the result of the target operation performed by the vehicle terminal during the execution of the fault detection script. The target operation includes vehicle control operation and / or reading target signal value.
[0080] In one exemplary embodiment, after receiving a fault detection script from the server, the vehicle can execute the script and perform a target operation during its execution to obtain the target operation result, which is then sent to the server. For example, when the target operation is a vehicle control operation, the result can be either successful or unsuccessful; when the target operation is reading a target signal value, the result is the read target signal value. Target signals may include, for example, headlight signals, seat signals, air conditioning signals, power signals, central locking signals, and the vehicle's gear position.
[0081] Step 240: Perform fault detection analysis on the target operation result to obtain fault detection results.
[0082] In one exemplary embodiment, after the fault detection script completes execution, the vehicle sends the script completion information to the server. The server performs fault detection analysis on the received target operation results to obtain the final fault detection result. When performing fault detection analysis on the target operation results, the server can combine the input content of after-sales experts regarding vehicle faults with the target operation results to obtain fault detection results, such as identifying damaged components, and generate an analysis report including the fault detection results. The server can perform fault detection analysis using existing methods based on target operation results; this embodiment does not limit this approach. For example, when analyzing the target operation results, the server can compare the target operation results with the corresponding correct operation results to determine whether the target operation performed by the vehicle is faulty. If the target operation is faulty, the server can identify the component associated with the target operation as the faulty component.
[0083] Step 250: Send the fault detection result to the mobile terminal.
[0084] In one exemplary embodiment, the server sends the fault detection results to the mobile terminal, which can then display the results for easy viewing by after-sales experts to help them repair the vehicle.
[0085] The vehicle fault detection method provided in this application embodiment, after receiving a fault detection request sent by a mobile terminal, sends the fault detection script corresponding to the script identifier in the fault detection request to the vehicle terminal corresponding to the vehicle identifier, receives the target operation result sent by the vehicle terminal, the target operation result is the result of the target operation executed during the execution of the fault detection script by the vehicle terminal, performs fault detection analysis on the target operation result to obtain the fault detection result, and sends the fault detection result to the mobile terminal. In this application embodiment, the fault detection script can be sent from the server to the vehicle terminal, and the vehicle terminal can execute the fault detection script and feed back the target operation result during the execution process to the server. The server can determine the fault detection result based on the target operation result. The entire fault detection process does not require connection to a DTC diagnostic tool or manual judgment, thereby reducing detection costs, improving detection efficiency, avoiding errors in manual judgment, and improving detection accuracy.
[0086] Based on the above technical solution, the server includes a first server and a second server;
[0087] Sending the fault detection script corresponding to the script identifier to the vehicle terminal corresponding to the vehicle identifier may include: sending a call request from the first server to the second server, the call request including the script identifier and the vehicle identifier; and sending the fault detection script corresponding to the script identifier to the vehicle terminal corresponding to the vehicle identifier through the second server.
[0088] In one exemplary embodiment, the first server is a data science platform with capabilities such as calling the capabilities of the second server (function computing platform) and analyzing vehicle test data. The first server provides services to applications in the mobile terminal to perform vehicle fault detection.
[0089] In one exemplary embodiment, the second server, also referred to as a function computing platform, is an edge-cloud integrated function computing product that, together with the vehicle-side engine, can operate function scripts (such as fault detection scripts) in the cloud and run them on the vehicle side, providing a calling interface for the server (first server). The second server provides fault detection scripts for different fault types (i.e., vehicle location).
[0090] In an exemplary embodiment, the first server receives a fault detection request sent by the mobile terminal and sends a call request including a script identifier and a vehicle identifier to the second server to call the fault detection script in the second server. After receiving the call request sent by the first server, the second server sends the fault detection script corresponding to the script identifier to the vehicle terminal corresponding to the vehicle identifier.
[0091] By sending a call request from the first server to the second server, the second server sends the fault detection script to the vehicle, thus achieving isolation between the vehicle fault detection service and the script service.
[0092] Based on the above technical solution, the method may further include: sending the target operation result to the mobile terminal, wherein the target operation result is used to display on the mobile terminal.
[0093] In an exemplary embodiment, after receiving the target operation result sent by the vehicle, the server can send the target operation result to the mobile terminal in real time so that the target operation result can be displayed in real time on the mobile terminal, enabling after-sales experts to understand the fault detection information in real time.
[0094] Based on the above technical solution, the method may further include: receiving the execution progress of the fault detection script sent by the vehicle terminal, and sending the execution progress to the mobile terminal, wherein the execution progress is used to display on the mobile terminal.
[0095] In an exemplary embodiment, during the execution of the fault detection script, the vehicle engine can send the execution progress of the fault detection script to the server (first server), and the server can send the execution progress to the mobile terminal to display the execution progress in real time on the mobile terminal, so that after-sales experts can understand the progress of fault detection.
[0096] Figure 3 This is a flowchart of a vehicle fault detection method provided in an embodiment of this application. This vehicle fault detection method is applied to a mobile terminal, such as... Figure 3 As shown, the method includes steps 310 to 330.
[0097] Step 310: Obtain the script identifier and the vehicle identifier of the vehicle to be detected, wherein the script identifier is the identifier of the fault detection script to be executed.
[0098] In one exemplary embodiment, the script identifier is an identifier for a fault detection script. The fault detection script may correspond to the vehicle's position (such as the front left side of the vehicle, the front right side of the vehicle, etc.), that is, different positions of the vehicle correspond to different fault detection scripts, and the fault detection scripts are used to perform fault detection at the corresponding positions of the vehicle.
[0099] In one exemplary embodiment, the vehicle identifier is a unique identifier for the vehicle, such as the VIN (Vehicle Identification Number). The VIN is determined by national vehicle management standards and contains information such as the vehicle's manufacturer, year, model, body style and code, engine code, and assembly location. Each vehicle has a unique VIN code.
[0100] In one exemplary embodiment, an after-sales expert can log into a corresponding application on a mobile terminal such as a smartphone, select a fault detection script for the corresponding vehicle collision location, and input the vehicle identifier of the vehicle to be detected. The mobile terminal obtains the step identifiers of the fault detection script and the vehicle identifier of the vehicle to be detected. The mobile terminal application can directly display the step identifiers of all fault detection scripts for the user to select, or it can recommend corresponding fault detection scripts based on the vehicle information (such as the fault location) input by the after-sales expert.
[0101] Step 320: Send a fault detection request, including the script identifier and the vehicle identifier, to the server.
[0102] In one exemplary embodiment, the mobile terminal sends a fault detection request, including a footstep identifier and a vehicle identifier, comprising a fault detection script, to the server. Upon receiving the fault detection request from the mobile terminal, the server obtains the fault detection script corresponding to the script identifier and sends it to the vehicle terminal corresponding to the vehicle identifier. The vehicle terminal executes the fault detection script, performs a target operation during script execution, obtains the target operation result, and sends the result to the server. After the script execution is complete, the vehicle terminal sends script completion information to the server. The server performs fault detection analysis on the received target operation results to obtain the final fault detection result.
[0103] Step 330: Receive the fault detection result sent by the server and display the fault detection result.
[0104] In one exemplary embodiment, after determining the fault detection result, the server sends the detection result to the mobile terminal, which then receives and displays the fault detection result.
[0105] The vehicle fault detection method provided in this application obtains a script identifier and a vehicle identifier of the vehicle to be tested, sends a fault detection request including the script identifier and the vehicle identifier to a server, receives the fault detection result sent by the server and displays the fault detection result. The server can send the fault detection script corresponding to the script identifier to the vehicle terminal corresponding to the vehicle identifier, and the vehicle terminal executes the fault detection script and feeds back the target operation result during the execution process to the server. The server can determine the fault detection result based on the target operation result. The entire fault detection process does not require connection to a DTC diagnostic instrument or manual judgment, thereby reducing detection costs, improving detection efficiency, avoiding errors in manual judgment, and improving detection accuracy.
[0106] Based on the above technical solution, the method may further include: receiving the target operation result sent by the server and displaying the target operation result, wherein the target operation result is the result of performing the target operation during the execution of the fault detection script by the vehicle, and the target operation includes vehicle control operation and / or reading target signal value.
[0107] In one exemplary embodiment, when the target operation is a vehicle control operation, the result of the target operation can be either successful or unsuccessful; when the target operation is reading a target signal value, the result of the target operation is the read target signal value. Target signals may include, for example, headlight signals, seat signals, air conditioning signals, power signals, central locking signals, and the vehicle's gear position.
[0108] In one exemplary embodiment, after receiving the target operation result sent by the vehicle, the server can send the target operation result to the mobile terminal in real time. The mobile terminal can display the target operation result in real time, so that after-sales experts can understand the fault detection information in real time.
[0109] Based on the above technical solution, the method may further include: receiving the execution progress of the fault detection script sent by the server, and displaying the execution progress.
[0110] In one exemplary embodiment, during the execution of the fault detection script, the vehicle engine can send the execution progress of the fault detection script to the server (first server), and the server can send the execution progress to the mobile terminal. The mobile terminal can display the execution progress in real time, so that after-sales experts can understand the progress of fault detection.
[0111] Figure 4 This is a schematic diagram of the overall processing flow of the vehicle fault detection method in the embodiments of this application, as shown below. Figure 4As shown, when a vehicle malfunctions, after-sales experts can select the appropriate type of fault detection script in the mobile app (mobile terminal application) based on the vehicle's condition and input the vehicle identifier. The mobile app then sends a fault detection request, including the fault detection script identifier and the vehicle identifier, to the first server. The first server calls the function calculation capability of the second server to send the fault detection script corresponding to the script identifier to the vehicle engine. The vehicle engine executes the fault detection script. During the execution of the fault detection script, the script uses dynamic capabilities to notify the vehicle application to perform target operations, such as performing vehicle control operations and / or reading target signal values, and returns the target operation results to the first server (information synchronization). The first server performs fault detection analysis based on the target operation results to determine whether a component is faulty and generates a fault detection report including the fault detection results, which is then sent to the mobile app.
[0112] Figure 5 This is a flowchart of a vehicle fault detection method provided in an embodiment of this application, such as... Figure 5 As shown, the vehicle fault detection method may include a script distribution phase, a test execution phase, and a test completion phase, specifically including the following steps:
[0113] Step 501: The mobile terminal application obtains the script identifier and vehicle identifier.
[0114] After the after-sales expert prepares the vehicle to be inspected and the mobile terminal application, they select the script identifier for the fault detection script in the mobile terminal application and enter the vehicle identifier.
[0115] Step 502: The mobile terminal application sends a fault detection request to the first server.
[0116] Step 503: The first server obtains the script identifier and vehicle identifier.
[0117] Step 504: The first server sends a call request to the second server.
[0118] Step 505: The second server obtains the fault detection script corresponding to the script identifier and sends it to the vehicle engine.
[0119] Step 506: The vehicle engine receives the fault detection script and sends a call-up command to the vehicle application, which then calls up the main interface.
[0120] Step 507: The vehicle engine sends an authentication command to the vehicle application, and the vehicle application performs the authentication.
[0121] Step 508: After authentication is successful, the vehicle-side engine executes the fault detection script and controls the vehicle-side application to perform the target operation.
[0122] Step 509: The first server collects vehicle information (such as the target operation result and execution progress) and displays it in real time in the mobile terminal application.
[0123] Step 510: After the script finishes execution, the vehicle engine sends an exit command to the vehicle application, and the vehicle application exits to the background.
[0124] Step 511: The vehicle engine executes the cleanup function and sends a cleanup command to the vehicle application. The vehicle application then controls the vehicle to restore the target state.
[0125] Step 512: The first server performs fault detection and analysis, and sends the fault detection results to the mobile terminal application.
[0126] Step 513: The mobile terminal application displays the fault detection results.
[0127] Steps 501 to 503 are the script distribution stage, steps 504 to 510 are the test execution stage, and steps 511 to 513 are the test completion stage.
[0128] The vehicle fault detection method provided in this application embodiment, in the field of vehicle after-sales service, does not require any other physical instruments. It only requires vehicle-mounted and mobile terminal application operation, without the need for physical equipment intervention, which greatly reduces material costs and operational difficulty. Moreover, it eliminates the need for manual fault analysis, automatically generates result analysis, reduces the workload and learning cost of maintenance experts, and improves detection efficiency.
[0129] Figure 6 This application provides a vehicle fault detection device, which is applied to the vehicle end, such as... Figure 6 As shown, the device includes:
[0130] The script receiving module 610 is used to receive fault detection scripts sent by the server.
[0131] The script execution module 620 is used to execute the fault detection script and perform target operations during the execution of the fault detection script to obtain target operation results. The target operations include vehicle control operations and / or reading target signal values.
[0132] The operation result sending module 630 is used to send the target operation result to the server, and the target operation result is used to request the server to perform fault detection analysis to obtain fault detection results.
[0133] Optionally, the vehicle end includes a vehicle engine and vehicle applications;
[0134] The script execution module is specifically used for:
[0135] During the execution of the fault detection script, the vehicle engine sends a target operation execution request to the vehicle application.
[0136] The target operation is executed through the vehicle-side application, and the result of the target operation is returned to the vehicle-side engine.
[0137] Optionally, the device further includes:
[0138] The authentication command sending module is used to send authentication commands to the vehicle application through the vehicle engine;
[0139] The authentication module is used to obtain authorization through the vehicle-side application when the user logs in.
[0140] Optionally, the device further includes:
[0141] The closing function execution module is used to execute the closing function through the vehicle engine after the fault detection script is executed, and send the closing instruction to the vehicle application.
[0142] The state recovery module is used to control the vehicle to restore the target state through the vehicle-side application.
[0143] Optionally, the device further includes:
[0144] The execution progress sending module is used to send the execution progress of the fault detection script to the server.
[0145] The vehicle fault detection device provided in this application embodiment is used to implement the steps of the vehicle fault detection method applied to the vehicle end as described in this application embodiment. The specific implementation of each module of the device is described in the corresponding steps, and will not be repeated here.
[0146] The vehicle fault detection device provided in this application embodiment receives a fault detection script sent by a server, executes the fault detection result, performs a target operation during the execution of the fault detection script, obtains the target operation result, and sends the target operation result to the server. The server then performs fault detection analysis based on the target operation result to obtain the fault detection result. In this application embodiment, the server can send the fault detection script to the vehicle, and the vehicle can execute the fault detection script and feed back the target operation result during the execution process to the server. The server can determine the fault detection result based on the target operation result. The entire fault detection process does not require connection to a DTC diagnostic tool or manual judgment, thereby reducing detection costs, improving detection efficiency, avoiding errors in manual judgment, and improving detection accuracy.
[0147] Figure 7This application provides a vehicle fault detection device, which is applied to a server, such as... Figure 7 As shown, the device includes:
[0148] The detection request receiving module 710 is used to receive a fault detection request sent by a mobile terminal, wherein the fault detection request includes a script identifier and a vehicle identifier;
[0149] The script sending module 720 is used to send the fault detection script corresponding to the script identifier to the vehicle terminal corresponding to the vehicle identifier.
[0150] The operation result receiving module 730 is used to receive the target operation result sent by the vehicle terminal. The target operation result is the result of the target operation performed during the execution of the fault detection script by the vehicle terminal. The target operation includes vehicle control operation and / or reading target signal value.
[0151] The detection and analysis module 740 is used to perform fault detection and analysis on the target operation result to obtain the fault detection result;
[0152] The detection result sending module 750 is used to send the fault detection result to the mobile terminal.
[0153] Optionally, the server may include a first server and a second server;
[0154] The script sending module is specifically used for:
[0155] The first server sends a call request to the second server, the call request including the script identifier and the vehicle identifier;
[0156] The second server sends the fault detection script corresponding to the script identifier to the vehicle terminal corresponding to the vehicle identifier.
[0157] Optionally, the device further includes:
[0158] An operation result sending module is used to send the target operation result to the mobile terminal, and the target operation result is used to display on the mobile terminal.
[0159] Optionally, the device further includes:
[0160] The execution progress processing module is used to receive the execution progress of the fault detection script sent by the vehicle terminal and send the execution progress to the mobile terminal, and the execution progress is used to display on the mobile terminal.
[0161] The vehicle fault detection device provided in this application embodiment is used to implement the steps of the vehicle fault detection method applied to the server described in this application embodiment. The specific implementation of each module of the device is described in the corresponding steps, and will not be repeated here.
[0162] The vehicle fault detection device provided in this application embodiment, after receiving a fault detection request sent by a mobile terminal, sends the fault detection script corresponding to the script identifier in the fault detection request to the vehicle terminal corresponding to the vehicle identifier. It then receives the target operation result sent by the vehicle terminal. The target operation result is the result of the target operation performed during the execution of the fault detection script by the vehicle terminal. Fault detection analysis is performed on the target operation result to obtain the fault detection result, which is then sent to the mobile terminal. In this application embodiment, the server can send the fault detection script to the vehicle terminal, and the vehicle terminal can execute the fault detection script and feed back the target operation result during execution to the server. The server can determine the fault detection result based on the target operation result. The entire fault detection process does not require connection to a DTC diagnostic tool or manual judgment, thereby reducing detection costs, improving detection efficiency, avoiding errors in manual judgment, and improving detection accuracy.
[0163] Figure 8 This application provides a vehicle fault detection device, which is applied to a mobile terminal, such as... Figure 8 As shown, the device includes:
[0164] The acquisition module 810 is used to acquire the script identifier and the vehicle identifier of the vehicle to be detected, wherein the script identifier is the identifier of the fault detection script to be executed;
[0165] The detection request sending module 820 is used to send a fault detection request, including the script identifier and the vehicle identifier, to the server.
[0166] The detection result receiving module 830 is used to receive the fault detection results sent by the server and display the fault detection results.
[0167] Optionally, the device further includes:
[0168] The operation result display module is used to receive the target operation result sent by the server and display the target operation result. The target operation result is the result of the target operation performed during the execution of the fault detection script on the vehicle side. The target operation includes vehicle control operation and / or reading target signal value.
[0169] Optionally, the device further includes:
[0170] The execution progress display module is used to receive the execution progress of the fault detection script sent by the server and display the execution progress.
[0171] The vehicle fault detection device provided in this application embodiment is used to implement the steps of the vehicle fault detection method applied to a mobile terminal described in this application embodiment. The specific implementation of each module of the device is described in the corresponding steps, and will not be repeated here.
[0172] The vehicle fault detection device provided in this application obtains a script identifier and the vehicle identifier of the vehicle to be detected, sends a fault detection request including the script identifier and the vehicle identifier to the server, receives the fault detection result sent by the server and displays the fault detection result. The server can send the fault detection script corresponding to the script identifier to the vehicle terminal corresponding to the vehicle identifier, and the vehicle terminal executes the fault detection script and feeds back the target operation result during the execution process to the server. The server can determine the fault detection result based on the target operation result. The entire fault detection process does not require connection to a DTC diagnostic instrument or manual judgment, thereby reducing detection costs, improving detection efficiency, avoiding errors in manual judgment, and improving detection accuracy.
[0173] Accordingly, this application also provides a vehicle, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the vehicle fault detection method applied to the vehicle end as described in this application.
[0174] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application, such as... Figure 9 As shown, the electronic device 900 may include one or more processors 910 and one or more memories 920 connected to the processors 910. The electronic device 900 may also include an input interface 930 and an output interface 940 for communicating with another device or system. Program code executed by the processor 910 may be stored in the memory 920.
[0175] The processor 910 in the electronic device 900 calls the program code stored in the memory 920 to execute the vehicle fault detection method applied to the server or mobile terminal in the above embodiments.
[0176] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the vehicle fault detection method as described in this application.
[0177] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the vehicle fault detection method as described in this application.
[0178] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus embodiments, since they are fundamentally similar to the method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
[0179] The foregoing has provided a detailed description of a vehicle fault detection method, device, vehicle, electronic device, and storage medium provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
[0180] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
Claims
1. A vehicle fault detection method, characterized in that, Applications in vehicles include: Receive fault detection scripts sent by the server; The fault detection script is executed, and a target operation is performed during the execution of the fault detection script to obtain the target operation result. The target operation includes vehicle control operation and / or reading target signal value. The target operation result is sent to the server, and the target operation result is used to request the server to perform fault detection analysis in order to obtain fault detection results.
2. The method according to claim 1, characterized in that, The vehicle-side includes the vehicle-side engine and vehicle-side applications; The execution of the target operation during the execution of the fault detection script includes: During the execution of the fault detection script, the vehicle engine sends a target operation execution request to the vehicle application. The target operation is executed through the vehicle-side application, and the result of the target operation is returned to the vehicle-side engine.
3. The method according to claim 2, characterized in that, Before executing the fault detection script, the following is also included: The vehicle engine sends authentication commands to the vehicle application. Authorization is obtained through the vehicle-side application when the user is logged in.
4. The method according to claim 2 or 3, characterized in that, Also includes: After the fault detection script finishes execution, the vehicle engine executes a cleanup function to send a cleanup command to the vehicle application. The vehicle is controlled to restore the target state via the vehicle-side application.
5. The method according to any one of claims 1-4, characterized in that, Also includes: The execution progress of the fault detection script is sent to the server.
6. A vehicle fault detection method, characterized in that, Applied to the server side, including: Receive a fault detection request sent by a mobile terminal, the fault detection request including a script identifier and a vehicle identifier; Send the fault detection script corresponding to the script identifier to the vehicle terminal corresponding to the vehicle identifier; Receive the target operation result sent by the vehicle terminal. The target operation result is the result of the target operation performed by the vehicle terminal during the execution of the fault detection script. The target operation includes vehicle control operation and / or reading target signal value. The target operation result is analyzed for fault detection to obtain the fault detection result; The fault detection results are sent to the mobile terminal.
7. The method according to claim 6, characterized in that, The server includes a first server and a second server; Sending the fault detection script corresponding to the script identifier to the vehicle terminal corresponding to the vehicle identifier includes: The first server sends a call request to the second server, the call request including the script identifier and the vehicle identifier; The second server sends the fault detection script corresponding to the script identifier to the vehicle terminal corresponding to the vehicle identifier.
8. The method according to claim 6 or 7, characterized in that, Also includes: The target operation result is sent to the mobile terminal, and the target operation result is displayed on the mobile terminal.
9. The method according to any one of claims 6-8, characterized in that, Also includes: The system receives the execution progress of the fault detection script sent by the vehicle terminal and sends the execution progress to the mobile terminal, whereby the execution progress is displayed.
10. A vehicle fault detection method, characterized in that, Applied to mobile terminals, including: Obtain the script identifier and the vehicle identifier of the vehicle to be detected, wherein the script identifier is the identifier of the fault detection script to be executed; Send a fault detection request, including the script identifier and the vehicle identifier, to the server. Receive the fault detection results sent by the server and display the fault detection results.
11. The method according to claim 10, characterized in that, Also includes: The system receives and displays the target operation result sent by the server. The target operation result is the result of the target operation performed during the execution of the fault detection script on the vehicle side. The target operation includes vehicle control operation and / or reading target signal value.
12. The method according to claim 10 or 11, characterized in that, Also includes: Receive the execution progress of the fault detection script sent by the server and display the execution progress.
13. A vehicle fault detection device, characterized in that, Applications in vehicles include: The script receiving module is used to receive fault detection scripts sent by the server. The script execution module is used to execute the fault detection script and perform target operations during the execution of the fault detection script to obtain target operation results. The target operations include vehicle control operations and / or reading target signal values. The operation result sending module is used to send the target operation result to the server, and the target operation result is used to request the server to perform fault detection analysis to obtain fault detection results.
14. A vehicle fault detection device, characterized in that, Applied to the server side, including: The detection request receiving module is used to receive fault detection requests sent by the mobile terminal, wherein the fault detection request includes a script identifier and a vehicle identifier; The script sending module is used to send the fault detection script corresponding to the script identifier to the vehicle terminal corresponding to the vehicle identifier. An operation result receiving module is used to receive the target operation result sent by the vehicle terminal. The target operation result is the result of the target operation performed during the execution of the fault detection script by the vehicle terminal. The target operation includes vehicle control operation and / or reading target signal value. The detection and analysis module is used to perform fault detection and analysis on the target operation results to obtain fault detection results; The detection result sending module is used to send the fault detection result to the mobile terminal.
15. A vehicle fault detection device, characterized in that, Applied to mobile terminals, including: The acquisition module is used to acquire the script identifier and the vehicle identifier of the vehicle to be detected, wherein the script identifier is the identifier of the fault detection script to be executed; The detection request sending module is used to send a fault detection request, including the script identifier and the vehicle identifier, to the server. The detection result receiving module is used to receive the fault detection results sent by the server and display the fault detection results.
16. A vehicle comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the vehicle fault detection method according to any one of claims 1 to 5.
17. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the vehicle fault detection method according to any one of claims 6 to 9 or the vehicle fault detection method according to any one of claims 10 to 12.
18. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the program implements the steps of the vehicle fault detection method according to any one of claims 1 to 5, or the steps of the vehicle fault detection method according to any one of claims 6 to 9, or the steps of the vehicle fault detection method according to any one of claims 10 to 12.