Vehicle diagnosis method, diagnosis device, electronic device, and vehicle
By performing target operations in the vehicle to obtain the operation log information of the installed equipment, and combining it with supplementary information for diagnosis, the problem of the inability of existing technologies to effectively diagnose installed equipment in vehicles is solved, the diagnostic efficiency and accuracy are improved, and the load on the T-BOX is reduced.
Patent Information
- Application Number
- CN202410795432.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2044-06-19
AI Technical Summary
Existing technologies cannot effectively diagnose aftermarket equipment in vehicles, leading to undetermined faults, increased computing load and data traffic on the T-BOX, and the inability to design the vehicle's electronic and electrical architecture in advance to support the diagnosis of aftermarket equipment.
By performing the target operation in the vehicle and obtaining the operation log information of the installed equipment, diagnostic results are generated to ensure a rapid reflection of the current operating status. Diagnosis is then performed by combining the operation log information with supplementary information.
It improved the efficiency and accuracy of diagnostics for the added equipment, reduced the load on the T-BOX, decreased data traffic, and ensured the accuracy of diagnostic results.
Smart Images

Figure CN118605454B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicles, and more specifically, to a vehicle diagnostic method, diagnostic device, electronic device, and vehicle in the field of vehicles. Background Technology
[0002] In existing technologies, installing additional devices in vehicles, such as smart seats and in-vehicle refrigerators, can meet the diverse needs of users. However, during the use of these devices, it is impossible to effectively diagnose their current operating status. Therefore, improving the diagnostic efficiency of these additional devices in vehicles is a problem that needs to be solved. Summary of the Invention
[0003] This application provides a vehicle diagnostic method, diagnostic device, electronic device, and vehicle, the method being able to diagnose aftermarket equipment installed in a vehicle.
[0004] Firstly, a vehicle diagnostic method is provided, the diagnostic method comprising:
[0005] If a diagnostic command for a target device installed in the vehicle is detected, a first prompt message is output; wherein, the first prompt message is used to prompt the target device to perform a target operation; the target operation is used to represent the operation required for the target device to perform a target function;
[0006] During the execution of the target operation, the diagnostic application obtains the operation log information of the target installed device;
[0007] Based on the operation log information of the target installed device, a diagnostic result for the target function of the target installed device is generated.
[0008] In the embodiments of this application, if a diagnostic command for a target retrofitted device in a vehicle is detected, a first prompt message is output. The first prompt message prompts the user to perform a target operation corresponding to the target function of the target retrofitted device. During the execution of the target operation, the operation log information of the target retrofitted device is obtained through a diagnostic application, and a diagnostic result for the target function of the target retrofitted device is generated based on the operation log information. In the above scheme, since the user is prompted to perform the target operation again through the first prompt message when a diagnostic command is detected, the operation log information of the target retrofitted device is quickly obtained during the execution of the target operation. That is, when a diagnostic command is detected, the operation log information that reflects the current operating status of the target retrofitted device is quickly obtained. Since the operation log information can specifically reflect the current operating status of the target retrofitted device in performing the target function, the fault information of the target function of the target retrofitted device can be determined more quickly based on the operation log information of the target operation, thereby improving the diagnostic efficiency when diagnosing the target retrofitted device.
[0009] In conjunction with the first aspect, some implementations of the first aspect also include:
[0010] Obtain supplementary information about the target operation;
[0011] The step of generating a diagnostic result for the target function of the target device based on the operation log information of the target device includes:
[0012] Based on the operation log information and the supplementary information, the diagnostic results of the target installed device are generated.
[0013] In the embodiments of this application, supplementary information of the target operation is obtained. When diagnosing the target added equipment, the target added equipment is diagnosed based on the operation log information and the supplementary information. Since the operation log information can reflect the target functional failure caused by the equipment failure, and the supplementary information can be used to reflect the target functional failure caused by other factors besides the equipment, the accuracy of the diagnosis results can be ensured by diagnosing the target added equipment based on the operation log information and the supplementary information.
[0014] In conjunction with the first aspect and the above-described implementations, in some implementations of the first aspect, generating a diagnostic result for the target function of the target device based on the operation log information of the target device includes:
[0015] If the target installation device is faulty, the target fault information of the target installation device is determined based on the fault code corresponding to the target identifier bit in the operation log information; wherein, the target identifier bit is the identifier bit corresponding to the target function;
[0016] Based on the target fault information and the preset dataset, a target solution corresponding to the target fault information is determined; wherein, the preset dataset includes the fault information of the target installation equipment and the solution corresponding to the fault information;
[0017] Based on the target fault information and the target solution, the diagnostic result of the target installed equipment is determined.
[0018] In the embodiments of this application, the target fault information of the target installation device is determined based on the fault code corresponding to the target identifier bit in the operation log information; the solution corresponding to the target fault information is determined based on the target fault information and the preset dataset; and the diagnostic result of the target installation device is determined based on the target fault information and the solution; ensuring that the fault of the target installation device can be diagnosed according to the operation log information, and generating a diagnostic result containing the target fault information and the solution.
[0019] In conjunction with the first aspect and the above implementation methods, in some implementation methods of the first aspect, before outputting the first prompt information, the following is also included:
[0020] Determine whether the target device and the diagnostic application are connected.
[0021] If a diagnostic command for a target device installed in the vehicle is detected, a first prompt message is output, including:
[0022] If the target installation device is in the connected state with the diagnostic application and a diagnostic command for the target installation device in the vehicle is detected, the first prompt information is output.
[0023] In the embodiments of this application, before outputting the first prompt message to prompt the execution of the target operation on the target installation device, it is also determined whether the target installation device and the diagnostic application are in a connected state. If the target installation device and the diagnostic application are in a connected state, and a diagnostic command for the target installation device in the vehicle is detected, the first prompt message is output; that is, it is ensured that the diagnostic application and the target installation device are in a connected state when the target installation device is being diagnosed, avoiding the situation where the diagnostic application and the target installation device are not connected, resulting in diagnostic failure.
[0024] In conjunction with the first aspect and the above-described implementations, in some implementations of the first aspect, before determining whether the target installation device and the diagnostic application are connected, the method further includes:
[0025] If a diagnostic command for the target device installed in the vehicle is detected, it is determined whether user authorization has been detected; wherein, the user authorization is authorization for the operation log information of the target device installed.
[0026] In the embodiments of this application, if a diagnostic command for a target retrofitted device in a vehicle is detected, it is determined whether user authorization for the target retrofitted device's operation log information has been detected. If user authorization is detected, it is determined whether the target retrofitted device and the diagnostic application are in a connected state; ensuring that the target retrofitted device is diagnosed under user authorization.
[0027] In conjunction with the first aspect and the above implementation methods, some implementation methods of the first aspect also include:
[0028] If the target device and the diagnostic application are not in the connected state, a second prompt message is output.
[0029] The second prompt message is used to instruct the user to re-add the card of the target device in the diagnostic application.
[0030] In the embodiments of this application, if the target device and the diagnostic application are not connected, a second prompt message is output. The second prompt message is used to instruct the target device card to be re-added in the diagnostic application; that is, by re-adding the target device card in the diagnostic application, the connection between the target device and the diagnostic application is achieved.
[0031] In conjunction with the first aspect and the above implementation methods, some implementation methods of the first aspect also include:
[0032] If the target function cannot be operated, and the diagnostic result indicates that the target function of the target installed device is normal, obtain supplementary information on the target operation;
[0033] Based on the supplementary information, an updated diagnostic result for the target function of the target added equipment is generated.
[0034] In the embodiments of this application, if the target function cannot be operated and the diagnostic result indicates that the target function of the target added device is normal, it means that the fault of the target added device cannot be diagnosed based on the operation log information at present; that is, the current fault of the added device may be caused by user operation or by cabin environment factors; therefore, supplementary information of the target operation is obtained, and based on the supplementary information, an updated diagnostic result of the target function of the target added device is generated to ensure the accuracy of the updated diagnostic result.
[0035] Secondly, a vehicle diagnostic device is provided, the diagnostic device comprising:
[0036] The output module is configured to output a first prompt message if a diagnostic command for a target installation device in the vehicle is detected; wherein the first prompt message is used to prompt the target installation device to perform a target operation; the target operation is used to represent the operation required for the target installation device to perform a target function;
[0037] The acquisition module is used to acquire the operation log information of the target installed device through the diagnostic application during the execution of the target operation;
[0038] The generation module is used to generate diagnostic results for the target function of the target device based on the operation log information of the target device.
[0039] Thirdly, an electronic device is provided, including a memory and a processor, the memory for storing executable program code, and the processor for calling and running the executable program code from the memory, causing the electronic device to perform the diagnostic method in the first aspect or any possible implementation thereof.
[0040] Fourthly, a vehicle is provided that includes electronic equipment as described in the third aspect.
[0041] Fifthly, a computer program product is provided, comprising: computer program code, which, when run on a computer, causes the computer to perform the diagnostic method described in the first aspect or any possible implementation thereof.
[0042] In a sixth aspect, a computer-readable storage medium is provided that stores instructions which, when executed on an electronic device, cause the electronic device to perform the diagnostic method described in the first aspect or any possible implementation thereof. Attached Figure Description
[0043] Figure 1 This is a schematic diagram of a diagnostic application display interface provided in an embodiment of this application;
[0044] Figure 2 This is a schematic diagram of a diagnostic application output prompt information provided in an embodiment of this application;
[0045] Figure 3 This is a schematic flowchart of a vehicle diagnostic method provided in an embodiment of this application;
[0046] Figure 4 This is a schematic flowchart of another vehicle diagnostic method provided in the embodiments of this application;
[0047] Figure 5 This is a schematic diagram of the structure of a vehicle diagnostic device provided in an embodiment of this application;
[0048] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0049] The technical solutions in this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.
[0050] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
[0051] Currently, configuring in-vehicle smart hardware (aftermarket devices), such as smart seats and in-vehicle refrigerators, can meet diverse user needs. However, existing technologies only offer online diagnostic solutions for vehicle body components, lacking corresponding diagnostic solutions for aftermarket devices. Therefore, it's impossible to diagnose aftermarket devices during use; and if a fault exists, the specific fault information cannot be determined.
[0052] In existing technologies, the diagnosis of vehicle body components involves a Telematics Service Provider (TSP) issuing diagnostic commands, and an intelligent in-vehicle terminal (T-BOX) collecting vehicle data and uploading it to the TSP for problem analysis to obtain diagnostic results. Because existing diagnostic solutions for vehicle body components rely on data collection and analysis via the T-BOX, real-time data acquisition by the T-BOX increases its computing and storage load, as well as the data flow between the T-BOX and the TSP, leading to higher operating costs. Furthermore, since vehicle-installed equipment is often retrofitted or added aftermarket, and the variety of in-vehicle intelligent hardware makes it impossible to pre-design the vehicle's Electrical / Electronic Architecture (EEA), it's not possible to directly collect operational data from retrofitted equipment via the T-BOX for diagnosis. In other words, existing diagnostic solutions for vehicle body components cannot be used to diagnose retrofitted equipment. Therefore, how to diagnose retrofitted equipment in vehicles is a problem that needs to be solved.
[0053] In view of this, this application provides a vehicle diagnostic method, diagnostic device, electronic device, and vehicle. Through the embodiments of this application, when diagnosing a target retrofitted device, a target operation is performed on the target retrofitted device; and a diagnostic result of the target retrofitted device is generated based on the operation log information corresponding to the target operation; ensuring that the target retrofitted device can be diagnosed based on the operation log information corresponding to the current operating status of the target retrofitted device, thereby obtaining a diagnostic result reflecting the current operating status of the target retrofitted device.
[0054] Figure 1 This is a schematic diagram of a diagnostic application display interface provided in an embodiment of this application.
[0055] For example, Figure 1 Interface 100 is a schematic diagram of the diagnostic application display interface; the diagnostic application display interface includes multiple cards for added devices, such as... Figure 1 As shown in (a), the added equipment includes smart seats, smart fragrances, and smart refrigerators.
[0056] For example, when the smart seat card is clicked, the interface displayed is as follows: Figure 1 As shown in (b), the current display interface allows control of the smart seat to activate different functions, including ventilation, heating, and massage. Clicking the virtual "Start Diagnosis" button allows for the diagnosis of different functions of the smart seat. For example, clicking the ventilation function and then clicking "Start Diagnosis" will diagnose the ventilation function of the smart seat.
[0057] It should be noted that the above are examples illustrating the diagnostic application display interface and button operations, and this application does not limit them.
[0058] It should be understood that the diagnostic application in this solution can be a diagnostic application in the vehicle system, or a diagnostic application in a mobile phone, tablet or computer. This solution does not limit the terminal device on which the diagnostic application is installed.
[0059] Figure 2 This is a schematic diagram of a diagnostic application output prompt information provided in an embodiment of this application.
[0060] For example, when a diagnostic command for a target device to be installed in a vehicle is detected, the diagnostic application outputs a first prompt message; wherein the first prompt message is used to prompt the target device to perform the target operation.
[0061] For example, when the virtual button to start diagnostics is clicked, i.e., when the ventilation function of the vehicle's smart seat is being diagnosed, the display interface showing the vehicle's first prompt message can be as follows: Figure 2 As shown in (a), it displays "Please start the ventilation function of the smart seat".
[0062] Optionally, the target operation can be a single operation, such as turning on the ventilation function of the smart seat; or it can be a series of operations, such as after performing the first operation of turning on the ventilation function of the smart seat, displaying "Please adjust the ventilation airflow" on the diagnostic interface; after performing the second operation of adjusting the ventilation airflow, displaying "Please adjust the ventilation airflow direction" on the diagnostic interface; and after performing the third operation of adjusting the ventilation airflow direction, the target operation of the ventilation function of the smart seat is completed.
[0063] It should be noted that the above is an example of the first prompt information and the target operation, and this application does not limit it.
[0064] For example, when diagnosing the target device, if it is detected that the target device is not connected to the diagnostic application, the display interface that outputs the second prompt message is as follows: Figure 2 As shown in (b) above. The second prompt message is used to prompt the user to re-add the target add-on device card in the diagnostic application, so as to reconnect the target add-on device with the diagnostic application.
[0065] The following is combined with Figure 3 and Figure 4 The vehicle diagnostic method provided in the embodiments of this application will be described in detail.
[0066] Figure 3 This is a schematic flowchart of a vehicle diagnostic method provided in an embodiment of this application.
[0067] For example, Figure 3 The vehicle diagnostic methods shown can be performed by diagnostic applications.
[0068] like Figure 3 As shown, the vehicle diagnostic method 300 includes S310 to S330, which are described in detail below.
[0069] S310: If a diagnostic command for adding equipment to a target in a vehicle is detected, the first prompt message is output.
[0070] The first prompt message is used to prompt the target operation to be performed on the target device; the target operation is used to indicate the operation required for the target device to perform the target function.
[0071] For example, the diagnostic command is triggered by the user in a pre-installed diagnostic application; for instance, the user clicks a virtual button to start the diagnostic process (such as...) in the diagnostic application. Figure 1 (As shown in (b)). If the diagnostic command can be a diagnostic command for the target function in the target installed device, then the first prompt message will prompt the user to perform the operation corresponding to the target function.
[0072] It should be understood that added equipment can refer to equipment that was not configured when the vehicle left the factory, that is, equipment that was selected after the vehicle left the factory; for example, added equipment may include at least one of the following: smart seats, smart refrigerators, smart fragrances, smart speakers, etc.
[0073] For example, each added device includes multiple functions. Taking a smart seat as an example, a smart seat includes functions such as ventilation, heating, and massage.
[0074] For example, if the target device to be installed is a smart seat and the target function is the massage function of the smart seat, then when diagnosing the massage function of the smart seat, the first prompt message will sequentially prompt the user to complete the operation corresponding to the massage function, such as: turning on the massage function of the smart seat, selecting a massage mode, switching massage modes, adjusting the massage speed, and turning off the massage function.
[0075] It should be noted that the above are examples of adding equipment and functions to the target, and this application does not limit them.
[0076] Optionally, the diagnostic command can be a diagnostic command for all functions of the target added device, then the first prompt information is used to prompt the user to perform the operation corresponding to all functions of the target added device.
[0077] For example, if the diagnostic command is given for all functions of the smart seat, the first prompt message will sequentially prompt the user to perform the operation corresponding to the ventilation function, the operation corresponding to the heating function, and the operation corresponding to the massage function.
[0078] In one implementation, before outputting the first prompt message, the following is also included:
[0079] Determine if the target installation device and the diagnostic application are connected.
[0080] If a diagnostic command for a target device installed in the vehicle is detected, the first prompt message will be output, including:
[0081] If the target device is connected to the diagnostic application and a diagnostic command for the target device in the vehicle is detected, the first prompt message is output.
[0082] For example, the connection between the target add-on device and the diagnostic application can be via Bluetooth or Wi-Fi.
[0083] For example, since diagnosing the target device requires performing a target operation on the target device within the diagnostic application, it is necessary to ensure that the target device and the diagnostic application are connected. Therefore, before outputting the first prompt message, the diagnostic application determines whether the target device and the diagnostic application are connected; if they are connected and a diagnostic command is detected, the first prompt message is output.
[0084] In the embodiments of this application, before outputting the first prompt message to prompt the execution of the target operation on the target installation device, it is also determined whether the target installation device and the diagnostic application are in a connected state. If the target installation device and the diagnostic application are in a connected state, and a diagnostic command for the target installation device in the vehicle is detected, the first prompt message is output; that is, it is ensured that the diagnostic application and the target installation device are in a connected state when the target installation device is being diagnosed, avoiding the situation where the diagnostic application and the target installation device are not connected, resulting in diagnostic failure.
[0085] In one implementation, before determining whether the target device and the diagnostic application are connected, the diagnostic method further includes:
[0086] If a diagnostic command for a target device installed in a vehicle is detected, determine whether user authorization has been detected; where user authorization refers to authorization for the operation log information of the target device installed.
[0087] For example, when a diagnostic command for the target device is detected, a pop-up window will prompt the user to authorize the running log information; after detecting user authorization, the diagnostic application will determine whether the target device and the diagnostic application are in a connected state; and if the target device and the diagnostic application are in a connected state, the first prompt message will be output.
[0088] In the embodiments of this application, if a diagnostic command for a target retrofitted device in a vehicle is detected, it is determined whether user authorization for the target retrofitted device's operation log information has been detected. If user authorization is detected, it is determined whether the target retrofitted device and the diagnostic application are in a connected state; ensuring that the target retrofitted device is diagnosed under user authorization.
[0089] In one implementation, the diagnostic method further includes:
[0090] If the target device and the diagnostic application are not connected, a second prompt message will be output.
[0091] The second prompt message is used to instruct the user to re-add the card for the target device in the diagnostic application.
[0092] For example, if the target device and the diagnostic application are not connected, the target operation cannot be performed on the target device in the diagnostic application; therefore, when the diagnostic application detects that the target device and the diagnostic application are not connected, it outputs a second prompt message to prompt the user to re-add the card of the target device in order to reconnect the target device and the diagnostic application.
[0093] For example, when a diagnostic command for a smart seat is detected, if it is detected that the smart seat and the diagnostic application are not connected, then... Figure 1 The smart seat card is re-added in the interface shown in (a).
[0094] In the embodiments of this application, if the target device and the diagnostic application are not connected, a second prompt message is output. The second prompt message is used to instruct the target device card to be re-added in the diagnostic application; that is, by re-adding the target device card in the diagnostic application, the connection between the target device and the diagnostic application is achieved.
[0095] S320 obtains the operating log information of the target installed device through a diagnostic application during the execution of the target operation.
[0096] The operation log information is used to record event information during the operation of the target installed equipment.
[0097] For example, the operation log information includes an identifier bit; the identifier bit in the operation log information corresponds one-to-one with the function of the target added device; the target fault information of the target added device can be determined by the fault code corresponding to the target identifier bit.
[0098] S330 generates diagnostic results for the target functions of the target installed device based on the operation log information of the target installed device.
[0099] For example, since the operation log information is used to record event information during the operation of the target installation device, the device malfunction of the target installation device can be determined based on the operation log information.
[0100] It should be noted that if the target device is faulty or the user makes a mistake, the device will not function properly. Therefore, there may be two diagnostic methods when diagnosing the target device: one is to generate a diagnostic result based on the operation log information; the other is to generate a diagnostic result based on the operation log information and supplementary information about the target operation. These two methods will be explained in detail below.
[0101] Scenario 1: Based on the operation log information of the target installed device, generate diagnostic results for the target function of the target installed device.
[0102] In one implementation, the above-mentioned generation of diagnostic results for the target functions of the target device based on the operating log information of the target device includes:
[0103] If the target installation device is faulty, the target fault information of the target installation device is determined based on the fault code corresponding to the target identifier bit in the operation log information; where the target identifier bit is the identifier bit corresponding to the target function;
[0104] Based on the target fault information and the preset dataset, the target solution corresponding to the target fault information is determined; wherein, the preset dataset includes the fault information of the target installed equipment and the corresponding solution.
[0105] Based on the target fault information and the target solution, determine the diagnostic results of the target installed equipment.
[0106] For example, when determining the target fault information of the target installed device based on the fault code corresponding to the target identifier bit in the operation log information, firstly, determine whether there is a fault in the function corresponding to the target identifier bit according to the value of the target identifier bit; if there is a fault in the function corresponding to the target identifier bit, then further identify the fault information according to the fault code corresponding to the target identifier bit; for example, if the target identifier bit is 0, it indicates that there is no fault in the function corresponding to the target identifier bit; if the target identifier bit is 1, it indicates that there is a fault in the function corresponding to the target identifier bit, then identify the fault information according to the fault code corresponding to the target identifier bit.
[0107] For example, the preset dataset includes fault information of the target installed equipment and the corresponding solutions; one fault information corresponds to at least one solution; when generating diagnostic results, the diagnostic results include the target fault information and at least one solution corresponding to the target fault information.
[0108] Optionally, the preset dataset can be stored locally or in the cloud.
[0109] In one possible implementation, if there is no solution corresponding to the target fault information in the preset dataset, a mark is added to the operation log information of the target installation device, and the marked operation log information is uploaded to the backend system through the diagnostic application, so that the backend technicians can determine the diagnostic result of the target installation device based on the marked operation log information; after generating the diagnostic result, the diagnostic result is pushed to the diagnostic application on the user's end.
[0110] In the embodiments of this application, the value of the target identifier bit is first identified to determine whether the function is faulty; if the function is faulty, the fault is diagnosed according to the fault code corresponding to the target identifier bit, thereby improving the efficiency of fault diagnosis.
[0111] For example, the correspondence between fault codes and fault information can be shown in Table 1:
[0112] Table 1
[0113] Fault codes Fault Information 0101 Signal transmission failure 0102 Cooling system failure 0103 Transmitter overheating fault 0104 Network failure …… ……
[0114] As shown in Table 1, if the fault code is 0101, the corresponding fault information is a signal transmission fault; if the fault code is 0102, the corresponding fault information is a cooling system fault; if the fault code is 0103, the corresponding fault is an engine overheating fault; and if the fault code is 0104, the corresponding fault is a network fault.
[0115] It should be noted that the above is an example illustrating the correspondence between fault codes and fault information, and this application does not limit it.
[0116] In the embodiments of this application, the target fault information of the target installation device is determined based on the fault code corresponding to the target identifier bit in the operation log information; the solution corresponding to the target fault information is determined based on the target fault information and the preset dataset; and the diagnostic result of the target installation device is determined based on the target fault information and the solution; ensuring that the fault of the target installation device can be diagnosed according to the operation log information, and generating a diagnostic result containing the target fault information and the solution.
[0117] Scenario 2: Based on the operation log information and supplementary information, generate diagnostic results for the target installed equipment.
[0118] In one implementation, the diagnostic method further includes:
[0119] Obtain supplementary information for the target operation;
[0120] Based on the operational log information of the target installed device, generate diagnostic results for the target functions of the target installed device, including:
[0121] Based on the operation log information and supplementary information, diagnostic results for the target installed equipment are generated.
[0122] The supplementary information includes at least one of the following: configuration information of the target installed equipment, environmental information of the vehicle cabin, operation video corresponding to the target operation, and operation image corresponding to the target operation.
[0123] For example, the configuration information of the target device includes, but is not limited to, the version number of the target device, the initialization settings of the target device, and the user's personalized settings.
[0124] It should be understood that the operating procedures for different versions of the added equipment differ. If the target operation differs from the operating procedure of that version of the added equipment, it may cause the target function of the added equipment to malfunction. Therefore, it is necessary to diagnose the target added equipment in accordance with the operating procedure of the current version of the target added equipment.
[0125] For example, the initialization settings and user personalization settings of the target device can also affect the diagnostic results. For instance, the initialization setting is to enable the target function by performing operation A. If the user configures their personalization setting to enable the target function by performing operation B for convenience, then if the user performs operation A, the target function will not be enabled. Therefore, it is necessary to combine the initialization settings and user personalization settings of the target device for diagnosis.
[0126] For example, environmental information of the vehicle cabin includes, but is not limited to, vehicle cabin temperature and vehicle cabin humidity.
[0127] For example, excessively high vehicle cabin temperature can cause the refrigeration function of aftermarket devices (such as smart refrigerators) to malfunction; or excessively high vehicle cabin humidity can prevent the aftermarket devices (such as smart fragrance devices) from functioning properly. Therefore, it is necessary to conduct a diagnosis based on the environmental information of the vehicle cabin.
[0128] For example, when generating diagnostic results for the target installed device based on operation log information and supplementary information: the device fault is determined based on the fault code corresponding to the identifier bit in the operation log information, and the user's operational errors or environmental factors are diagnosed based on the supplementary information. The generated diagnostic results include the target fault information and solution corresponding to the device fault, and / or video information of the user's operational errors and correct steps.
[0129] For example, the process of determining the fault information of the target added device based on the fault codes in the operation log information is described in the relevant description in Case 1 above, and will not be repeated here; the following uses an operation video as an example to further explain in detail the process of diagnosing the target function of the target added device based on supplementary information.
[0130] Specifically, the diagnostic application stores standard operation videos of the installed equipment; by comparing the user's operation video during the target operation process with the standard operation video; the similarity between each operation step performed by the user during the target operation process and the operation steps in the standard operation video is determined; the similarity is used to determine whether the user's operation steps are correct, the higher the similarity, the more accurate the user's operation steps are; when the similarity is lower than a preset value, it indicates that the user's operation steps are incorrect; and the video segments corresponding to the incorrect operation steps and the video segments corresponding to the correct operation steps are extracted.
[0131] When determining the similarity between user operation steps and standard operation video operation steps, the comparison includes: button positions, button operation order, and button operation duration.
[0132] For example, in the standard operation video, the massage function of the smart seat is activated by pressing and holding button A for 3 seconds. If the user's operation video shows a long press on button B or a short press on button A, the operation steps are not very similar to those in the standard operation video and the massage function of the smart seat cannot be activated. Therefore, this step is determined to be a user operation error.
[0133] For example, if the massage function of the smart chair is currently unavailable, when generating diagnostic results based on the operation log information and operation video, the fault code in the operation log information indicates a network fault, and the corresponding solution is to reconnect to the network or switch networks. The operation video shows the user's operation of the smart chair's massage function; based on the operation video, it is determined that the user's button operation sequence when controlling the massage function is incorrect; therefore, based on the operation log information and operation video, the generated diagnostic results include fault information, solutions corresponding to the target fault information, and video information of the user's incorrect operation steps and the correct steps.
[0134] It should be noted that the above are examples of operation log information and operation videos, and this application does not impose any limitations on them.
[0135] Optionally, when obtaining supplementary information for the target operation, a pop-up window can be made in the diagnostic application to remind the user to upload supplementary information; or, if the user authorizes supplementary information, the supplementary information for the target operation can be obtained directly. This application does not limit the method of obtaining supplementary information.
[0136] In the embodiments of this application, supplementary information of the target operation is obtained. When diagnosing the target added equipment, the target added equipment is diagnosed based on the operation log information and the supplementary information. Since the operation log information can reflect the target functional failure caused by the equipment failure, and the supplementary information can be used to reflect the target functional failure caused by other factors besides the equipment, the accuracy of the diagnosis results can be ensured by diagnosing the target added equipment based on the operation log information and the supplementary information.
[0137] In one possible implementation, after generating the diagnostic results using the above method, if the target function cannot operate and the diagnostic results indicate that the target function of the installed equipment is normal, supplementary information corresponding to the target operation is obtained; based on the supplementary information, an updated diagnostic result for the target function is generated.
[0138] For example, if the diagnostic result generated based on the operation log information indicates that the target added device is functioning normally, but the target added device cannot function normally, it means that the current inability to operate is not caused by a device malfunction, but by user operation error or environmental factors. Therefore, supplementary information on the target operation process is obtained, and an updated diagnostic result is generated based on the supplementary information.
[0139] For example, if a user cannot switch massage modes when activating the massage function of a smart seat, indicating that the massage function is not functioning properly, the system will diagnose the massage function based on the operation log information. If the diagnostic results indicate that the massage function is functioning normally, the fault is caused by user error or environmental factors. The system will then obtain supplementary information about the user's massage mode switching, including the operation video corresponding to the target operation, the configuration information of the target installed device, and the environmental information of the vehicle cabin. If the supplementary information indicates that the user briefly pressed the switch button, but the correct procedure in the standard operation is to long-press the switch button to switch massage modes, the generated diagnostic results will include video information corresponding to the incorrect and correct operation steps. Alternatively, if the supplementary information indicates that an abnormal cabin environment is causing the massage function to fail to switch normally, the corresponding diagnostic results will be output.
[0140] It should be noted that the above are examples of the installation of equipment and operation videos on the target, and this application does not limit them.
[0141] In the embodiments of this application, if the target function cannot be operated and the diagnostic result indicates that the target function of the target added device is normal, it means that the fault of the target added device cannot be diagnosed based on the operation log information at present; that is, the current fault of the added device may be caused by user operation or by cabin environment factors; therefore, supplementary information of the target operation is obtained, and based on the supplementary information, an updated diagnostic result of the target function of the target added device is generated to ensure the accuracy of the updated diagnostic result.
[0142] In the above embodiments, if a diagnostic command for a target device installed in a vehicle is detected, a first prompt message is output. The first prompt message prompts the user to perform the target operation corresponding to the target function of the target device. During the execution of the target operation, the operation log information of the target device is obtained through a diagnostic application, and a diagnostic result for the target function of the target device is generated based on the operation log information. In the above scheme, if a diagnostic command for a target device is detected, the user is prompted to perform the target operation on the target device again. During the execution of the target operation, it is ensured that the operation log information of the target device can be obtained quickly. That is, when a diagnostic command is detected, operation log information that reflects the current operating status of the target device is quickly obtained. Since the operation log information is the log information during the target operation, compared with historical log information, the operation log information only contains the log information of the target function that needs to be diagnosed. That is, the operation log information can more specifically reflect the current operating status of the target device performing the target function. That is, it is ensured that the fault information of the target function of the target device can be determined more quickly based on the operation log information of the target operation, thereby improving the diagnostic efficiency of diagnosing the target device.
[0143] Figure 4 This is a schematic flowchart of another vehicle diagnostic method provided in the embodiments of this application.
[0144] For example, Figure 4 Vehicle diagnostic methods can be performed by diagnostic applications.
[0145] like Figure 4 As shown, the vehicle diagnostic method 400 includes S401 to S412, which are described in detail below.
[0146] S401, a diagnostic command for a target device installed in the vehicle has been detected.
[0147] For example, the diagnostic command is triggered by the user in a pre-installed diagnostic application; for instance, the user clicks a virtual button to start the diagnostic process (such as...) in the diagnostic application. Figure 1 (As shown in (b)). The diagnostic command can be a diagnostic command for the target function of the target installed equipment, or the diagnostic command can be a diagnostic command for all functions of the target installed equipment.
[0148] S402, determine whether user-authorized running log information has been detected; if yes, execute S403; if no, execute S404.
[0149] For example, since the diagnosis of the target device is based on the operation log information of the target device, after detecting the diagnostic command, it is necessary to determine whether user-authorized operation log information is detected; if user authorization is detected, it is determined whether the target device and the diagnostic application are in a connected state; if user authorization is not detected, the diagnosis is exited.
[0150] S403, determine whether the target device and the diagnostic application are connected; if yes, proceed to S405; if no, proceed to S406.
[0151] For example, if the target device and the diagnostic application are connected, the first prompt message is output; if the target device and the diagnostic application are not connected, the target device card is re-added to achieve reconnection.
[0152] S404, Exit diagnostics.
[0153] For example, if no user-authorized runtime log information is detected, the diagnostics process exits and a pop-up window in the diagnostics application prompts the user for authorization.
[0154] S405, output the first prompt message.
[0155] For example, the first prompt message is used to prompt the target device to perform the target operation; the target operation is used to indicate the operation required for the target device to perform the target function.
[0156] Alternatively, the implementation of S405 can be found in [reference needed]. Figure 3 The relevant description of the first prompt message output in S310 is not repeated here.
[0157] S406, Re-add the card for the target device.
[0158] For example, when it is detected that the target add-on device and the diagnostic application are not connected, the card of the target add-on device is re-added; or a second prompt message is output to prompt the user to add the card of the target add-on device, so as to reconnect the target add-on device and the diagnostic application.
[0159] S407: During the execution of the target operation corresponding to the target function, the operation log information of the target installed device is obtained through the diagnostic application.
[0160] Alternatively, the implementation of S407 can be found in [reference needed]. Figure 3 The relevant description of S320 will not be repeated here.
[0161] S408, determine whether supplementary information for the target operation has been obtained; if yes, execute S409; if no, execute S410.
[0162] For example, if supplementary information about the target operation is obtained, a diagnostic result for the target installed device is generated based on the operation log information and the supplementary information; if no supplementary information is obtained, a diagnostic result for the target installed device is generated based on the operation log information.
[0163] S409 generates diagnostic results for the target installed device based on the operation log information and supplementary information.
[0164] For example, based on operation log information and supplementary information, the generated diagnostic results include target fault information and solutions corresponding to the target installed equipment, and / or video information of user operation errors and correct steps.
[0165] Alternatively, the implementation of S410 can be found in [reference needed]. Figure 3 The relevant description of S330 case 2 is omitted here.
[0166] S410 generates diagnostic results for the target installed device based on the operation log information.
[0167] For example, based on the operation log information, the generated diagnostic results include the target fault information and solutions corresponding to the target installed equipment.
[0168] Alternatively, the implementation of S410 can be found in [reference needed]. Figure 3 The relevant description of Case 1 in S330 will not be repeated here.
[0169] S411, If the diagnostic results indicate that the target function is normal, but the target function cannot be operated, obtain supplementary information.
[0170] For example, if the diagnostic result generated based on the operation log information indicates that the target function of the target installed device is normal, but the target function cannot operate normally, it means that the target function cannot operate normally due to user operation error or environmental factors; therefore, supplementary information on the target operation process is obtained, and diagnosis is performed based on the supplementary information.
[0171] S412, Generate updated diagnostic results based on supplementary information.
[0172] Alternatively, the implementation of S412 can be found in [reference needed]. Figure 3 The relevant description of the updated diagnostic results of the target generation function in S330 is not repeated here.
[0173] In the embodiments of this application, by prompting the user to perform the target operation on the target device again, the operation log information of the target device is ensured to be obtained; supplementary information corresponding to the target operation is obtained; based on the operation log of the target device and the supplementary information of the target operation during the execution of the target operation, a diagnostic result of the target function of the target device is generated; since the diagnosis of the target device is based on the operation log information and the user's supplementary information, not only the device factors of the target device are considered, but also the user operation factors and the cabin environment factors are considered, thereby ensuring the accuracy of the diagnostic result.
[0174] The above text combined Figure 3 and Figure 4 The vehicle diagnostic method provided in the embodiments of this application has been described in detail; the following will be combined with Figure 5 and Figure 6 The apparatus embodiments of this application are described in detail below. It should be understood that the apparatus in the embodiments of this application can perform the various methods described in the foregoing embodiments of this application, that is, the specific working processes of the various products described below can be referred to the corresponding processes in the foregoing method embodiments.
[0175] Figure 5 This is a schematic diagram of the structure of a vehicle diagnostic device provided in an embodiment of this application.
[0176] For example, such as Figure 5 As shown, the vehicle diagnostic device 500 includes:
[0177] The output module 510 is used to output a first prompt message if a diagnostic command for a target device installed in a vehicle is detected; wherein the first prompt message is used to prompt the target device to perform a target operation; the target operation is used to indicate the operation required for the target device to perform a target function;
[0178] The acquisition module 520 is used to acquire the operation log information of the target installed device through a diagnostic application during the execution of the target operation.
[0179] The generation module 530 is used to generate diagnostic results for the target functions of the target added device based on the operation log information of the target added device.
[0180] Optionally, as an embodiment, the acquisition module 520 is further configured to:
[0181] Obtain supplementary information for the target operation;
[0182] The generation module 530 is specifically used to generate diagnostic results for the target installed device based on the operation log information and supplementary information.
[0183] Optionally, as an embodiment, the generation module 530 is specifically used for:
[0184] If the target installation device is faulty, the target fault information of the target installation device is determined based on the fault code corresponding to the target identifier bit in the operation log information; where the target identifier bit is the identifier bit corresponding to the target function;
[0185] Based on the target fault information and the preset dataset, the target solution corresponding to the target fault information is determined; wherein, the preset dataset includes the fault information of the target installed equipment and the corresponding solution.
[0186] Based on the target fault information and the target solution, determine the diagnostic results of the target installed equipment.
[0187] Optionally, as an embodiment, it also includes a determining module, which is specifically used to determine whether the target installation device and the diagnostic application are in a connected state;
[0188] The output module 510 is specifically used to: if the target device is connected to the diagnostic application and a diagnostic command for the target device in the vehicle is detected, output the first prompt information.
[0189] Optionally, as an embodiment, the determining module is further configured to:
[0190] If a diagnostic command for a target device installed in a vehicle is detected, determine whether user authorization has been detected; where user authorization refers to authorization for the operation log information of the target device installed.
[0191] Optionally, as an embodiment, the output module 510 is further configured to: output a second prompt message if the target installation device and the diagnostic application are not in a connected state;
[0192] The second prompt message is used to instruct the user to re-add the card for the target device in the diagnostic application.
[0193] Optionally, as an embodiment, the acquisition module 520 is further configured to:
[0194] If the target function cannot be operated, and the diagnostic result indicates that the target function of the target installed device is normal, obtain supplementary information on the target operation;
[0195] The generation module 530 is also used to: generate an updated diagnostic result for the target function based on the supplementary information.
[0196] It should be noted that the aforementioned vehicle diagnostic device is embodied in the form of functional units. The term "module" here can be implemented in software and / or hardware, without specific limitations.
[0197] For example, a "module" can be a software program, hardware circuit, or a combination of both that implements the above functions. Hardware circuits may include application-specific integrated circuits (ASICs), electronic circuits, processors (e.g., shared processors, proprietary processors, or group processors) and memory for executing one or more software or firmware programs, combined logic circuits, and / or other suitable components that support the described functions.
[0198] Therefore, the units of the various examples described in the embodiments of this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0199] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0200] For example, electronic device 600 includes: processor 610, memory 620 and executable program code 630.
[0201] For example, electronic device 600 includes one or more processors 610 that can support the implementation of the vehicle diagnostic method in the method embodiments of electronic device 600. Processor 610 can be a general-purpose processor or a special-purpose processor. For example, processor 610 can be a central processing unit (CPU), digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic device, such as discrete gate, transistor logic device, or discrete hardware component.
[0202] For example, processor 610 can be used to control electronic device 600, execute software programs, and process data from the software programs. Electronic device 600 may also include a communication unit for receiving and transmitting signals.
[0203] For example, the electronic device 600 may include one or more memories 620, on which executable program code 630 is stored. The executable program code 630 can be run by the processor 610 to generate instructions, causing the processor 610 to execute the vehicle diagnostic method described in the above method embodiments according to the instructions.
[0204] Optionally, the memory 620 may also store data. Optionally, the processor 610 may also read data stored in the memory 620, which may be stored at the same memory address as the executable program code 630, or the data may be stored at a different memory address than the executable program code 630.
[0205] For example, the processor 610 and memory 620 can be configured separately or integrated together, for example, integrated on a system-on-chip (SOC) of the terminal device.
[0206] For example, the memory 620 can be used to store related programs of the vehicle diagnostic method provided in the embodiments of this application, and the processor 620 can be used to call the executable program code 630 stored in the memory 620 when controlling the vehicle to execute the vehicle diagnostic method of the embodiments of this application; for example, if a diagnostic instruction for a target device installed in the vehicle is detected, a first prompt message is output; wherein, the first prompt message is used to prompt the target device to perform a target operation; the target operation is used to represent the operation required for the target device to perform a target function; during the execution of the target operation, the operation log information of the target device is obtained through a diagnostic application; based on the operation log information of the target device, a diagnostic result of the target function of the target device is generated.
[0207] This application also provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the steps of the vehicle diagnostic method of any of the foregoing embodiments.
[0208] The computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, Digital Video Discs (DVDs), Compact Disc Read-Only Memory (CD-ROM), microdrives, and magneto-optical disks, read-only memory (ROM), random access memory (RAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), dynamic random access memory (DRAM), video random access memory (VRAM), flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.
[0209] This application also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned related steps to implement a vehicle diagnostic method as described in the above embodiments.
[0210] In addition, the electronic device provided in the embodiments of this application may specifically be a chip, component or module. The electronic device may include a connected processor and a memory. The memory is used to store instructions. When the electronic device is running, the processor may call and execute the instructions to make the chip perform a vehicle diagnostic method in the above embodiments.
[0211] The electronic devices, computer-readable storage media, computer program products or chips provided in this application are all used to execute the corresponding vehicle diagnostic methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding vehicle diagnostic methods provided above, and will not be repeated here.
[0212] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0213] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0214] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A vehicle diagnostic method, characterized in that, The diagnostic method includes: If a diagnostic command for a target device installed in the vehicle is detected, a first prompt message is output; wherein, the first prompt message is used to prompt the target device to perform a target operation; the target operation is used to represent the operation required for the target device to perform a target function; During the execution of the target operation, the operation log information of the target installed device is obtained through a diagnostic application; Based on the operation log information of the target installed device, a diagnostic result for the target function of the target installed device is generated; The step of generating a diagnostic result for the target function of the target device based on the operation log information of the target device includes: Obtain supplementary information for the target operation, wherein the supplementary information includes at least one of the following: configuration information of the target installation equipment, cabin environment information of the vehicle, operation video corresponding to the target operation, and operation image corresponding to the target operation; Based on the operation log information and the supplementary information, the diagnostic result of the target installed device is generated; wherein, the operation log information is used to determine the device fault of the target installed device, the supplementary information is used to diagnose errors in the user operation process or faults caused by environmental factors, and the diagnostic result includes the target fault information and target solution corresponding to the device fault, and / or video information of the user operation error steps and the correct steps.
2. The diagnostic method according to claim 1, characterized in that, The step of generating a diagnostic result for the target function of the target device based on the operation log information of the target device includes: If the target installation device is faulty, the target fault information is determined based on the fault code corresponding to the target identifier bit in the operation log information; wherein, the target identifier bit is the identifier bit corresponding to the target function; Based on the target fault information and a preset dataset, the target solution corresponding to the target fault information is determined; wherein, the preset dataset includes fault information of the target installation equipment and the solution corresponding to the fault information; Based on the target fault information and the target solution, the diagnostic result of the target installed equipment is determined.
3. The diagnostic method according to claim 1 or 2, characterized in that, Before outputting the first prompt message, the following is also included: Determine whether the target device and the diagnostic application are connected. If a diagnostic command for a target device installed in the vehicle is detected, a first prompt message is output, including: If the target installation device is in the connected state with the diagnostic application and a diagnostic command for the target installation device in the vehicle is detected, the first prompt information is output.
4. The diagnostic method according to claim 3, characterized in that, Before determining whether the target installation device and the diagnostic application are connected, the method further includes: If a diagnostic command for the target device installed in the vehicle is detected, it is determined whether user authorization has been detected; wherein, the user authorization is authorization for the operation log information of the target device installed.
5. The diagnostic method according to claim 4, characterized in that, Also includes: If the target device and the diagnostic application are not in the connected state, a second prompt message is output. The second prompt message is used to instruct the user to re-add the card of the target device in the diagnostic application.
6. The diagnostic method according to claim 1, characterized in that, Also includes: If the target function cannot be operated, and the diagnostic result indicates that the target function of the target installed device is normal, obtain supplementary information on the target operation; Based on the supplementary information, an updated diagnostic result for the target function is generated.
7. A vehicle diagnostic device, characterized in that, The diagnostic device includes: The output module is configured to output a first prompt message if a diagnostic command for a target installation device in the vehicle is detected; wherein the first prompt message is used to prompt the target installation device to perform a target operation; the target operation is used to represent the operation required for the target installation device to perform a target function; The acquisition module is used to acquire the operation log information of the target installed device through the diagnostic application during the execution of the target operation; The generation module is used to generate diagnostic results for the target function of the target device based on the operation log information of the target device. The generation module is specifically used for: obtaining supplementary information of the target operation, wherein the supplementary information includes at least one of the following: configuration information of the target installation device, cabin environment information of the vehicle, operation video corresponding to the target operation, and operation image corresponding to the target operation; generating the diagnostic result of the target installation device based on the operation log information and the supplementary information; wherein the operation log information is used to determine the equipment fault of the target installation device, the supplementary information is used to diagnose errors in the user operation process or faults caused by environmental factors, and the diagnostic result includes target fault information and target solution corresponding to the equipment fault, and / or video information of the user's erroneous steps and correct steps.
8. An electronic device, characterized in that, The electronic device includes: Memory, used to store executable program code; A processor for calling and running the executable program code from the memory, causing the electronic device to perform the diagnostic method as described in any one of claims 1 to 6.
9. A vehicle, characterized in that, The vehicle includes the electronic equipment as described in claim 8.
Citation Information
Patent Citations
Multi-source data fault processing method and device, electronic equipment and storage medium
CN113190372A
Method and apparatus for providing diagnosis function of a user device
KR1020130064859A