Vehicle instrument detection method, device and equipment and computer readable storage medium

By selecting the detection mode in the vehicle instrument detection interface and obtaining the current value of the vehicle instrument, the problem of low detection accuracy in the prior art is solved, and higher detection accuracy and flexibility are achieved.

CN120194944APending Publication Date: 2025-06-24CHERY AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510236600.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-28
Publication Date
2025-06-24

AI Technical Summary

Technical Problem

The existing vehicle instrument detection methods only detect the appearance, resulting in poor detection accuracy and inability to effectively evaluate the internal status and life of the vehicle instrument.

Method used

By displaying the vehicle instrument detection interface, selecting the detection mode and outputting the corresponding voltage, obtaining the current value of the vehicle instrument according to the detection frequency, and calculating the current value difference to determine the life detection result of the vehicle instrument.

Benefits of technology

It improves the accuracy and accuracy of vehicle instrument life detection, provides multiple detection modes, and enhances detection flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120194944A_ABST
    Figure CN120194944A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle instrument detection method, device and equipment and a computer readable storage medium, and belongs to the technical field of vehicle instruments. The method comprises the steps that a vehicle instrument detection interface is displayed, at least one detection mode is displayed in the vehicle instrument detection interface, and any detection mode corresponds to detection duration, output voltage and detection frequency; in response to a trigger operation for a reference detection mode in the at least one detection mode, receiving a detection instruction, and outputting an output voltage corresponding to the reference detection mode to the vehicle instrument within a detection duration corresponding to the reference detection mode; according to the detection frequency corresponding to the reference detection mode, sending multiple acquisition requests to the vehicle instrument; receiving a current value corresponding to each acquisition request returned by the vehicle instrument; and determining a service life detection result of the vehicle instrument according to the current value corresponding to each acquisition request. The method improves the accuracy of the service life detection result of the vehicle instrument.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of vehicle instrument, and in particular, to a detection method, device, equipment and computer-readable storage medium for a vehicle instrument. Background Art

[0002] A vehicle instrument is an important component in a vehicle, and the vehicle instrument is used to display vehicle status and driving information. To ensure the quality and reliability of the vehicle instrument, the vehicle instrument needs to be detected before leaving the factory.

[0003] In the related art, before the vehicle instrument leaves the factory, the vehicle instrument is photographed by an image acquisition device to obtain an image of the vehicle instrument; the image of the vehicle instrument is input into an image processing model, and the image of the vehicle instrument is recognized by the image processing model to determine whether the appearance of the vehicle instrument is qualified.

[0004] However, the above detection method for the vehicle instrument only detects the appearance of the vehicle instrument, resulting in poor detection accuracy of the vehicle instrument. Summary of the Invention

[0005] The embodiments of the present application provide a detection method, device, equipment and computer-readable storage medium for a vehicle instrument, which can be used to solve the problems in the related art. The technical solutions are as follows:

[0006] On the one hand, the embodiments of the present application provide a detection method for a vehicle instrument, the method includes:

[0007] Display a vehicle instrument detection interface, where at least one detection mode is displayed in the vehicle instrument detection interface, and any detection mode corresponds to a detection duration, an output voltage, and a detection frequency;

[0008] In response to a trigger operation for a reference detection mode in the at least one detection mode and receiving a detection instruction, within the detection duration corresponding to the reference detection mode, output the output voltage corresponding to the reference detection mode to the vehicle instrument;

[0009] Send multiple acquisition requests to the vehicle instrument according to the detection frequency corresponding to the reference detection mode, and any acquisition request is used to acquire the current value of the vehicle instrument at the moment when the vehicle instrument receives the any acquisition request;

[0010] Receive the current values corresponding to each acquisition request returned by the vehicle instrument, and the current value corresponding to any acquisition request refers to the current value of the vehicle instrument at the moment when the vehicle instrument receives the any acquisition request;

[0011] Determine the life detection result of the vehicle instrument according to the current values corresponding to each acquisition request.

[0012] In a possible implementation manner, determining the life detection result of the vehicle instrument according to the current values corresponding to the respective acquisition requests includes:

[0013] According to the current values corresponding to the respective acquisition requests, determining the absolute value of the difference between the current values corresponding to two adjacent acquisition requests;

[0014] Determining a first quantity of the absolute values of the differences between the current values corresponding to two adjacent acquisition requests that are greater than the absolute value of a reference value;

[0015] Based on the first quantity not being greater than a quantity threshold, determining that the life detection result of the vehicle instrument is qualified;

[0016] Based on the first quantity being greater than the quantity threshold, determining that the life detection result of the vehicle instrument is unqualified.

[0017] In a possible implementation manner, a detection duration box is further displayed in the vehicle instrument detection interface, and the detection duration box is used to display the duration required for detecting the vehicle instrument;

[0018] The method further includes:

[0019] In response to a trigger operation for a reference detection mode in the at least one detection mode, displaying the detection duration corresponding to the reference detection mode in the detection duration box.

[0020] In a possible implementation manner, a detected duration box is further displayed in the vehicle instrument detection interface, and the detected duration box is used to display the duration already spent on detecting the vehicle instrument;

[0021] The method further includes:

[0022] In response to receiving a detection instruction, determining the time difference between the current time and the time when the detection instruction is received;

[0023] Displaying the time difference between the current time and the time when the detection instruction is received in the detected duration box.

[0024] In a possible implementation manner, a voltage box is further displayed in the vehicle instrument detection interface, and the voltage box is used to display the voltage value output to the vehicle instrument;

[0025] The method further includes:

[0026] In response to a trigger operation for a reference detection mode in the at least one detection mode, when the output voltage corresponding to the reference detection mode is one, displaying the output voltage corresponding to the reference detection mode in the voltage box.

[0027] In a possible implementation, after outputting the output voltage corresponding to the reference detection mode to the vehicle instrument within the detection duration corresponding to the reference detection mode, the method further includes:

[0028] Displaying a function detection interface, where at least one selectable vehicle speed is displayed in the function detection interface;

[0029] In response to a trigger operation for a reference vehicle speed among the at least one selectable vehicle speeds, sending the reference vehicle speed to the vehicle instrument so that the vehicle instrument adjusts the displayed vehicle speed in the vehicle instrument according to the reference vehicle speed;

[0030] Receiving the vehicle speed displayed in the vehicle instrument returned by the vehicle instrument;

[0031] Determining the accuracy of the vehicle speed display function of the vehicle instrument according to the reference vehicle speed and the vehicle speed displayed in the vehicle instrument.

[0032] In a possible implementation, the determining the accuracy of the vehicle speed display function of the vehicle instrument according to the reference vehicle speed and the vehicle speed displayed in the vehicle instrument includes:

[0033] Determining the absolute value of the difference between the reference vehicle speed and the vehicle speed displayed in the vehicle instrument;

[0034] Based on the absolute value of the difference between the reference vehicle speed and the vehicle speed displayed in the vehicle instrument not being greater than the vehicle speed threshold, determining that the accuracy of the vehicle speed display function of the vehicle instrument is accurate;

[0035] Based on the absolute value of the difference between the reference vehicle speed and the vehicle speed displayed in the vehicle instrument being greater than the vehicle speed threshold, determining that the accuracy of the vehicle speed display function of the vehicle instrument is inaccurate.

[0036] On the other hand, an embodiment of the present application provides a detection device for a vehicle instrument, and the device includes:

[0037] A display module, configured to display a vehicle instrument detection interface, where at least one detection mode is displayed in the vehicle instrument detection interface, and any detection mode corresponds to a detection duration, an output voltage, and a detection frequency;

[0038] An output module, configured to, in response to a trigger operation for a reference detection mode among the at least one detection modes and upon receiving a detection instruction, output the output voltage corresponding to the reference detection mode to the vehicle instrument within the detection duration corresponding to the reference detection mode;

[0039] A sending module, configured to send multiple acquisition requests to the vehicle instrument according to the detection frequency corresponding to the reference detection mode, and any one of the acquisition requests is used to acquire the current value of the vehicle instrument at the moment when the vehicle instrument receives the any one of the acquisition requests;

[0040] A receiving module, configured to receive the current values corresponding to the respective acquisition requests returned by the vehicle instrument, and the current value corresponding to any one of the acquisition requests refers to the current value of the vehicle instrument at the moment when the vehicle instrument receives the any one of the acquisition requests;

[0041] A determining module, configured to determine a life detection result of the vehicle instrument according to the current values corresponding to the respective acquisition requests.

[0042] In a possible implementation manner, the determining module is configured to determine, according to the current values corresponding to the respective acquisition requests, an absolute value of a difference between the current values corresponding to two adjacent acquisition requests;

[0043] determine a first quantity of absolute values of differences between the current values corresponding to the two adjacent acquisition requests that are greater than an absolute value of a reference value;

[0044] Based on that the first quantity is not greater than a quantity threshold, determine that the life detection result of the vehicle instrument is qualified;

[0045] Based on that the first quantity is greater than the quantity threshold, determine that the life detection result of the vehicle instrument is unqualified.

[0046] In a possible implementation manner, a detection duration box is further displayed in the vehicle instrument detection interface, and the detection duration box is used to display the duration required for detecting the vehicle instrument;

[0047] The display module is further configured to, in response to a trigger operation for the reference detection mode in the at least one detection mode, display the detection duration corresponding to the reference detection mode in the detection duration box.

[0048] In a possible implementation manner, a detected duration box is further displayed in the vehicle instrument detection interface, and the detected duration box is used to display the duration that has been spent on detecting the vehicle instrument;

[0049] The determining module is further configured to, in response to receiving a detection instruction, determine a time difference between the current time and the time when the detection instruction is received;

[0050] The display module is further configured to display the time difference between the current time and the time when the detection instruction is received in the detected duration box.

[0051] In a possible implementation, a voltage box is further displayed in the vehicle instrument detection interface, and the voltage box is used to display the voltage value output to the vehicle instrument;

[0052] The display module is further configured to, in response to a trigger operation for a reference detection mode among the at least one detection mode, when the output voltage corresponding to the reference detection mode is one, display the output voltage corresponding to the reference detection mode in the voltage box.

[0053] In a possible implementation, the display module is further configured to display a function detection interface, and at least one selectable vehicle speed is displayed in the function detection interface;

[0054] The sending module is further configured to, in response to a trigger operation for a reference vehicle speed among the at least one selectable vehicle speeds, send the reference vehicle speed to the vehicle instrument, so that the vehicle instrument adjusts the displayed vehicle speed in the vehicle instrument according to the reference vehicle speed;

[0055] The receiving module is further configured to receive the vehicle speed displayed in the vehicle instrument returned by the vehicle instrument;

[0056] The determining module is further configured to determine the accuracy of the vehicle speed display function of the vehicle instrument according to the reference vehicle speed and the vehicle speed displayed in the vehicle instrument.

[0057] In a possible implementation, the determining module is configured to determine the absolute value of the difference between the reference vehicle speed and the vehicle speed displayed in the vehicle instrument;

[0058] Based on the absolute value of the difference between the reference vehicle speed and the vehicle speed displayed in the vehicle instrument not being greater than the vehicle speed threshold, determine that the accuracy of the vehicle speed display function of the vehicle instrument is accurate;

[0059] Based on the absolute value of the difference between the reference vehicle speed and the vehicle speed displayed in the vehicle instrument being greater than the vehicle speed threshold, determine that the accuracy of the vehicle speed display function of the vehicle instrument is inaccurate.

[0060] On the other hand, an embodiment of the present application provides a computer device, which includes a processor and a memory, and at least one program code is stored in the memory. The at least one program code is loaded and executed by the processor to enable the computer device to implement the detection method of the vehicle instrument described in any one of the above.

[0061] On the other hand, a computer-readable storage medium is further provided, and at least one program code is stored in the computer-readable storage medium. The at least one program code is loaded and executed by a processor to enable a computer to implement the detection method of the vehicle instrument described in any one of the above.

[0062] On the other hand, a computer program or a computer program product is also provided. At least one computer instruction is stored in the computer program or the computer program product. The at least one computer instruction is loaded and executed by a processor to enable a computer to implement any one of the above-mentioned vehicle instrument detection methods.

[0063] The technical solution provided by the embodiment of the present application at least brings the following beneficial effects:

[0064] After determining the reference detection mode, within the detection duration corresponding to the reference detection mode, the technical solution provided by the embodiment of the present application outputs the output voltage corresponding to the reference detection mode to the vehicle instrument to supply power to the vehicle instrument, and obtains the current values of the vehicle instrument at different moments according to the detection frequency corresponding to the reference detection mode. Furthermore, the life detection result of the vehicle instrument is determined according to the current values of the vehicle instrument at different moments. This method determines the life detection result of the vehicle instrument through the current values at multiple moments, making the accuracy and the accuracy of the life detection result of the vehicle instrument higher. Moreover, this method provides multiple detection modes and detects the vehicle instrument according to the selected reference detection mode, making the detection of the vehicle instrument more flexible. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0066] Figure 1 It is a schematic diagram of the implementation environment of a vehicle instrument detection method provided by the embodiment of the present application;

[0067] Figure 2 It is a flowchart of a vehicle instrument detection method provided by the embodiment of the present application;

[0068] Figure 3 It is a schematic diagram of a vehicle instrument detection interface provided by the embodiment of the present application;

[0069] Figure 4 It is a schematic diagram of the front and back of a terminal device provided by the embodiment of the present application;

[0070] Figure 5 It is a schematic diagram of a function detection interface provided by the embodiment of the present application;

[0071] Figure 6 It is a schematic diagram of a detection interface provided by the embodiment of the present application;

[0072] Figure 7 It is a schematic diagram of the internal circuit of a terminal device provided by an embodiment of the present application;

[0073] Figure 8 It is a schematic structural diagram of a detection device for a vehicle instrument provided by an embodiment of the present application;

[0074] Figure 9 It is a schematic structural diagram of a terminal device provided by an embodiment of the present application. Detailed implementation manners

[0075] To make the objectives, technical solutions, and advantages of the present application clearer, the following will further describe the embodiments of the present application in detail with reference to the accompanying drawings.

[0076] It should be noted that the terms "first", "second", etc. in the present application are used to distinguish similar objects and do not necessarily need to describe a specific order or sequence. It should be understood that such terms can be interchanged under appropriate circumstances so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0077] Figure 1 It is a schematic diagram of the implementation environment of a method for detecting a vehicle instrument provided by an embodiment of the present application. As Figure 1 shown, the implementation environment includes: a terminal device 101 and a vehicle instrument 102. The terminal device 101 and the vehicle instrument 102 are communicatively connected through a wired network. The terminal device 101 is powered on through a 220-volt (V) power supply. The terminal device 101 is used to execute the method for detecting a vehicle instrument provided by an embodiment of the present application.

[0078] Among them, the terminal device 101 is any electronic product that can perform human-computer interaction with a user in one or more ways such as a keyboard, a touchpad, a touch screen, a remote control, voice interaction, or a handwriting device. For example, the terminal device can be a PC (Personal Computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC), a tablet computer, a smart vehicle machine, a smart TV, a smart speaker, etc.

[0079] The vehicle instrument 102 includes a speedometer, a tachometer, a water temperature gauge, a fuel gauge, and so on.

[0080] Those skilled in the art should understand that the above-mentioned terminal device 101 and vehicle instrument 102 are only for illustrative purposes. Other existing or future terminal devices and vehicle instruments that are applicable to this application should also be included within the protection scope of this application and are hereby incorporated by reference.

[0081] An embodiment of this application provides a method for detecting a vehicle instrument. This method can be applied to the Figure 1 shown implementation environment. Taking Figure 2 the flowchart of a method for detecting a vehicle instrument provided by an embodiment of this application as an example, this method can be executed by the Figure 1 terminal device 101 in. As Figure 2 shown, this method includes the following steps 201 to step 205.

[0082] In step 201, a vehicle instrument detection interface is displayed, and at least one detection mode is displayed in the vehicle instrument detection interface.

[0083] Among them, any detection mode corresponds to a detection duration, an output voltage, and a detection frequency. Optionally, the output voltage corresponding to any detection mode can be one or multiple. That is to say, the output voltage corresponding to any detection mode can be fixed during the detection duration corresponding to any detection mode, or can change with the change of the detection duration. This application embodiment does not limit this.

[0084] In a possible implementation manner, when the terminal device is powered on and in an open state, the terminal device displays a vehicle instrument detection interface, and at least one detection mode is displayed in the vehicle instrument detection interface. As Figure 3 is a schematic diagram of a vehicle instrument detection interface provided by an embodiment of this application. Among them, four detection modes are displayed, namely detection mode one, detection mode two, detection mode three, and detection mode four.

[0085] Among them, any detection mode corresponds to a detection duration, an output voltage, and a detection frequency. Exemplarily, the detection duration corresponding to detection mode 1 is 1000 hours, the output voltage corresponding to detection mode 1 is 14 volts, and the detection frequency corresponding to detection mode 1 is 10 minutes. The detection duration corresponding to detection mode 2 is 2000 hours, the output voltage corresponding to detection mode 2 is 12 volts, and the detection frequency corresponding to detection mode 2 is 30 minutes. The detection duration corresponding to detection mode 3 is 144 hours. For the first 36 hours of the detection duration corresponding to detection mode 3, the output voltage is 13.5 volts; for the second 36 hours, the output voltage is 15 volts; for the third 36 hours, the output voltage is 13.5 volts; for the fourth 36 hours, the output voltage is 10.8 volts. The detection frequency corresponding to detection mode 3 is 5 minutes. The detection duration corresponding to detection mode 4 is 8 hours. For the first 150 minutes of the detection duration corresponding to detection mode 4, the output voltage is 12 volts; from the 150th minute to the 420th minute, the output voltage is 14 volts; from the 420th minute to the 480th minute, the output voltage is 12 volts.

[0086] It should be noted that the above detection mode 1 to detection mode 4 are only examples of the embodiments of the present application. The detection modes displayed on the vehicle instrument detection interface may also be other detection modes, and the embodiments of the present application do not limit this.

[0087] In step 202, in response to a trigger operation for a reference detection mode in at least one detection mode and receiving a detection instruction, within the detection duration corresponding to the reference detection mode, an output voltage corresponding to the reference detection mode is output to the vehicle instrument.

[0088] In a possible implementation manner, a start control is also displayed on the vehicle instrument detection interface. For example, Figure 3 301 in is the start control, and the start control is used to indicate the start of detection. In response to a trigger operation for a reference detection mode in at least one detection mode and a trigger operation for the start control, it is determined that a detection instruction is received, and then within the detection duration corresponding to the reference detection mode, an output voltage corresponding to the reference detection mode is output to the vehicle instrument. If a trigger operation for the reference detection mode has not been received before the trigger operation for the start control, a prompt message is displayed, and the prompt message is used to indicate the determination of the detection mode. That is, on the basis of determining the detection mode, the start control is triggered, and then within the detection duration corresponding to the determined detection mode, the output voltage corresponding to the determined detection mode is output to the vehicle instrument.

[0089] Optionally, when the reference detection mode is Detection Mode 1, upon receiving a detection instruction, a 14-volt voltage is output to the vehicle instrument within 1000 hours. When the reference detection mode is Detection Mode 2, upon receiving a detection instruction, a 12-volt voltage is output to the vehicle instrument within 2000 hours. When the reference detection mode is Detection Mode 3, upon receiving a detection instruction, a 13.5-volt voltage is output to the vehicle instrument in the first 36 hours, a 15-volt voltage in the second 36 hours, a 13.5-volt voltage in the third 36 hours, and a 10.8-volt voltage in the fourth 36 hours. When the reference detection mode is Detection Mode 4, upon receiving a detection instruction, a 12-volt voltage is output to the vehicle instrument in the first 150 minutes, a 14-volt voltage from the 150th minute to the 420th minute; and a 12-volt voltage from the 420th minute to the 480th minute.

[0090] Optionally, the vehicle instrument and the terminal device are communicatively connected via a wired network, and the terminal device outputs the output voltage corresponding to the reference detection mode to the vehicle instrument via the wired network. As Figure 4 are the front and back views of a terminal device provided by an embodiment of the present application. Figure 4 (1) in it is the front view of the terminal device. Figure 4 (2) in it is the back view of the terminal device, which shows Interface 1 401 and Interface 2 402. Among them, Interface 1 401 is used to power on the terminal device, and Interface 2 402 is used for the terminal device to connect to the vehicle instrument. Interface 2 402 includes 50 pins (respectively 1 - 50), and the meaning corresponding to each pin in Interface 2 402 is shown in Table 1 below.

[0091] Table 1

[0092]

[0093]

[0094] In Table 1 above, CAN-3L represents the low wire of the 3rd CAN; CAN-3H represents the high wire of the 3rd CAN; CAN-2L represents the low wire of the 2nd CAN; CAN-2H represents the high wire of the 2nd CAN; CAN-1L represents the low wire of the 1st CAN; CAN-1H represents the high wire of the 1st CAN; REST is the reset signal; BKGD is the background light signal; MCU_5V represents the externally output 5V power supply voltage. KL30_1 represents the normal power supply voltage of the 1st instrument; KL15_1 represents the ignition power supply voltage of the 1st instrument; KL30_2 represents the normal power supply voltage of the 2nd instrument; KL15_2 represents the ignition power supply voltage of the 2nd instrument; KL30_3 represents the normal power supply voltage of the 3rd instrument; KL15_3 represents the ignition power supply voltage of the 3rd instrument. SUBFUEL3 represents the 3rd gearbox oil temperature signal; SUBFUEL2 represents the 2nd gearbox oil temperature signal; SUBFUEL1 represents the 1st gearbox oil temperature signal. FUEL3- and FUEL3+ represent the 3rd fuel level signal; FUEL2- and FUEL2+ represent the 2nd fuel level signal; FUEL1- and FUEL1+ represent the 1st fuel level signal. I / O_1LOWOIL represents the 1st antifreeze level signal; I / O_2LOWOIL represents the 2nd antifreeze level signal; I / O_3LOWOIL represents the 3rd antifreeze level signal. I / O_4BrakeFluid represents the 4th brake fluid level signal; I / O_5BrakeFluid represents the 5th brake fluid level signal; I / O_6BrakeFluid represents the 6th brake fluid level signal. GND represents the ground signal.

[0095] In step 203, according to the detection frequency corresponding to the reference detection mode, multiple acquisition requests are sent to the vehicle instrument, and any one of the acquisition requests is used to acquire the current value of the vehicle instrument at the moment when any one of the acquisition requests is received.

[0096] In a possible implementation manner, after outputting the output voltage corresponding to the reference detection mode to the vehicle instrument in step 202 above, according to the detection frequency corresponding to the reference detection mode, multiple acquisition requests are sent to the vehicle instrument, and any one of the acquisition requests is used to acquire the current value of the vehicle instrument at the moment when any one of the acquisition requests is received.

[0097] Exemplarily, if the detection frequency corresponding to the reference detection mode is 30 minutes, the terminal device sends an acquisition request to the vehicle instrument every 30 minutes.

[0098] Optionally, the number of acquisition requests sent by the terminal device to the vehicle instrument is the maximum value among integers not greater than the target value. The target value is the quotient of the detection duration corresponding to the reference detection mode and the detection frequency corresponding to the reference detection mode. Exemplarily, if the detection duration corresponding to the reference detection mode is 1000 hours and the detection frequency corresponding to the reference detection mode is 0.5 hours, the number of acquisition requests sent by the terminal device to the vehicle instrument is 2000 times.

[0099] In a possible implementation, the terminal device sends multiple acquisition requests to the vehicle instrument at a communication rate of 250 kbps (kilobits per second).

[0100] Optionally, the terminal device sends multiple CAN (Controller Area Network) messages to the vehicle instrument according to the detection frequency corresponding to the reference detection mode, and each CAN message includes an acquisition request.

[0101] In step 204, receive the current values corresponding to each acquisition request returned by the vehicle instrument. The current value corresponding to any acquisition request refers to the current value of the vehicle instrument at the moment when the vehicle instrument receives any acquisition request.

[0102] In a possible implementation, after the vehicle instrument receives any acquisition request sent by the terminal device, the vehicle instrument determines the current value of the vehicle instrument at the moment when the vehicle instrument receives any acquisition request, uses the current value of the vehicle instrument at the moment when the vehicle instrument receives any acquisition request as the current value corresponding to any acquisition request, and then sends the current value corresponding to any acquisition request to the terminal device, so that the terminal device can obtain the current value corresponding to any acquisition request returned by the vehicle instrument. Since after the vehicle instrument receives each acquisition request, it will determine the current value of the vehicle instrument at the moment when the vehicle instrument receives each acquisition request, use the current value of the vehicle instrument at the moment when the vehicle instrument receives each acquisition request as the current value corresponding to each acquisition request, and then send the current value corresponding to each acquisition request to the terminal device, so that the terminal device can obtain the current value corresponding to each acquisition request returned by the vehicle instrument.

[0103] Optionally, after the terminal device receives the current values corresponding to each acquisition request, the terminal device can also sort the current values corresponding to each acquisition request according to the reference order according to the reception time of the current values corresponding to each acquisition request, obtain a sorting result, and store the sorting result in the terminal device for subsequent determination of the life detection result of the vehicle instrument according to the current values corresponding to each acquisition request. The reference sorting can be in the order from early to late or from late to early, and the embodiments of the present application do not limit this.

[0104] In step 205, based on the current values corresponding to each acquisition request, determine the life detection result of the vehicle instrument.

[0105] In a possible implementation, after obtaining the current values corresponding to each acquisition request, the process of determining the life detection result of the vehicle instrument based on the current values corresponding to each acquisition request includes: determining the absolute value of the difference between the current values corresponding to two adjacent acquisition requests according to the current values corresponding to each acquisition request; determining a first quantity of absolute values of differences between the current values corresponding to two adjacent acquisition requests that are greater than the absolute value of a reference value; based on the first quantity not being greater than a quantity threshold, determining that the life detection result of the vehicle instrument is qualified; based on the first quantity being greater than the quantity threshold, determining that the life detection result of the vehicle instrument is unqualified.

[0106] Wherein, both the reference value and the quantity threshold are set based on experience or adjusted according to the implementation environment, and the embodiments of the present application do not limit this. Exemplarily, the reference value is 5 and the quantity threshold is 10.

[0107] In a possible implementation, a detection duration box is also displayed in the vehicle instrument detection interface, and the detection duration box is used to display the duration required to detect the vehicle instrument, such as Figure 3 302 in is the detection duration box. In response to a trigger operation for a reference detection mode in at least one detection mode, display the detection duration corresponding to the reference detection mode in the detection duration box. By displaying the detection duration corresponding to the reference detection mode in the detection duration box, the user can know how long it takes to detect the vehicle instrument according to the reference detection mode, and thus the user can understand the duration required to detect the vehicle instrument.

[0108] Optionally, in response to a trigger operation for a reference detection mode in at least one detection mode, and when the number of output voltages corresponding to the reference detection mode is one, after displaying the detection duration corresponding to the reference detection mode in the detection duration box, if the user believes that the detection duration corresponding to the reference detection mode is too long, or the user believes that the detection duration corresponding to the reference detection mode is too short, the user can also modify the detection duration corresponding to the reference detection mode.

[0109] Optionally, in response to a trigger operation for the detection duration box, display a virtual keyboard, and multiple numeric controls and a confirmation control are displayed in the virtual keyboard, and any numeric control corresponds to a number; in response to a trigger operation for at least one numeric control in the virtual keyboard and a trigger operation for the confirmation control in the virtual keyboard, display a first value in the detection duration box, and the first value is the value determined by the trigger operation for at least one numeric control in the virtual keyboard. After receiving a detection instruction, output the output voltage corresponding to the reference detection mode within the duration of the first value.

[0110] In response to a trigger operation on the confirmation control, the virtual keyboard is cancelled from display. A cancellation control is also displayed in the virtual keyboard. When the user does not want to modify the detection duration corresponding to the reference detection mode, the user selects the cancellation control. In response to a trigger operation on the cancellation control, the virtual keyboard is cancelled from display. At this time, the detection duration box still displays the detection duration corresponding to the reference detection mode.

[0111] In another possible implementation, in response to a trigger operation on the reference detection mode in at least one detection mode, and if the number of output voltages corresponding to the reference detection mode is multiple, the detection duration corresponding to the reference detection mode is displayed in the detection duration box, and the user cannot change the detection duration corresponding to the reference detection mode. This is because there are multiple output voltages corresponding to the reference detection mode. During the detection duration corresponding to the reference detection mode, the voltages output to the vehicle instrument are different at different time periods. If the detection duration corresponding to the reference detection mode is modified, it will cause the voltages output to the vehicle instrument to be chaotic, and further make the detection result of the vehicle instrument inaccurate.

[0112] In a possible implementation, a detected duration box is also displayed in the vehicle instrument detection interface. The detected duration box is used to display the duration spent on detecting the vehicle instrument, such as Figure 3 303 in [the figure] is the detected duration box. In response to receiving a detection instruction, the time difference between the current time and the time when the detection instruction is received is determined; the time difference between the current time and the time when the detection instruction is received is displayed in the detected duration box. By displaying the time difference between the current time and the time when the detection instruction is received in the detected duration box, the user can know how long it has taken to detect the vehicle instrument.

[0113] In a possible implementation, a voltage box is also displayed in the vehicle instrument detection interface. The voltage box is used to display the voltage value output to the vehicle instrument, such as Figure 3 304 in [the figure] is the voltage box. In response to a trigger operation on the reference detection mode in at least one detection mode, when the output voltage corresponding to the reference detection mode is one, the output voltage corresponding to the reference detection mode is displayed in the voltage box. By displaying the output voltage corresponding to the reference detection mode in the voltage box, the user can know what the voltage output to the vehicle instrument is when detecting the vehicle instrument.

[0114] Exemplarily, if the output voltage corresponding to the reference detection mode is 14 volts, then 14 volts is displayed in the voltage box.

[0115] In a possible implementation, after the output voltage corresponding to the reference detection mode is displayed in the voltage box, the user can also adjust the output voltage corresponding to the reference detection mode. Optionally, an up adjustment control and a down adjustment control are also displayed in the vehicle instrument detection interface. The up adjustment control is used to increase the output voltage, and the down adjustment control is used to decrease the output voltage. For example, Figure 3 305 in Figure 3 is the up adjustment control, and 306 is the down adjustment control. When the user wants to increase the output voltage, the user triggers the up adjustment control. In response to the trigger operation on the up adjustment control, a first voltage value is added to the output voltage corresponding to the reference detection mode to obtain a first adjusted output voltage of the reference detection mode, and the first adjusted output voltage of the reference detection mode is displayed in the voltage box. After receiving the detection instruction, within the detection duration corresponding to the reference detection mode, the first adjusted output voltage of the reference detection mode is output to the vehicle instrument.

[0116] Wherein, the first voltage value is set based on experience or adjusted according to the implementation environment, and the embodiments of the present application do not limit this. Exemplarily, the first voltage value is 0.5 volts.

[0117] When the user wants to decrease the output voltage, the user triggers the down adjustment control. In response to the trigger operation on the down adjustment control, a second voltage value is subtracted from the output voltage corresponding to the reference detection mode to obtain a second adjusted output voltage of the reference detection mode, and the second adjusted output voltage of the reference detection mode is displayed in the voltage box. After receiving the detection instruction, within the detection duration corresponding to the reference detection mode, the second adjusted output voltage of the reference detection mode is output to the vehicle instrument.

[0118] Wherein, the second voltage value is set based on experience or adjusted according to the implementation environment, and the embodiments of the present application do not limit this. Exemplarily, the second voltage value is 0.5 volts.

[0119] In another possible implementation, in response to a trigger operation on the reference detection mode in at least one detection mode, when there are multiple output voltages corresponding to the reference detection mode, the output voltage corresponding to the reference detection mode is not displayed in the voltage box. Instead, after receiving the detection instruction, the voltage output to the vehicle instrument at the time corresponding to the detected duration is displayed in the voltage box. So that the user knows what the voltage output to the vehicle instrument is at the current time.

[0120] Exemplarily, the output voltages corresponding to the reference detection mode include a 12-volt voltage and a 14-volt voltage. In the first 150 minutes, the voltage output to the vehicle instrument is 12 volts. From the 150th minute to the 420th minute, the voltage output to the vehicle instrument is 14 volts. From the 420th minute to the 480th minute, the voltage output to the vehicle instrument is 12 volts. After receiving the detection instruction, when the detected duration is from 0 to 150 minutes, a 12-volt voltage is displayed in the voltage box; when the detected duration is from 150 minutes to 420 minutes, a 14-volt voltage is displayed in the voltage box; when the detected duration is from 420 minutes to 480 minutes, a 12-volt voltage is displayed in the voltage box.

[0121] Optionally, a life detection result box is also displayed in the vehicle instrument detection interface. The life detection result box is used to display the life detection result of the vehicle instrument, such as Figure 3 307 in

[0122] In a possible implementation manner, after outputting the output voltage corresponding to the reference detection mode within the detection duration corresponding to the reference detection mode, the vehicle speed display function of the vehicle instrument can also be detected. The process of detecting the vehicle speed display function of the vehicle instrument includes: displaying a function detection interface, where at least one selectable vehicle speed is displayed in the function detection interface; in response to a trigger operation for the reference vehicle speed among the at least one selectable vehicle speeds, sending the reference vehicle speed to the vehicle instrument so that the vehicle instrument adjusts the displayed vehicle speed in the vehicle instrument according to the reference vehicle speed; receiving the vehicle speed displayed in the vehicle instrument returned by the vehicle instrument; and determining the accuracy of the vehicle speed display function of the vehicle instrument according to the reference vehicle speed and the vehicle speed displayed in the vehicle instrument.

[0123] Among them, in response to a trigger operation for the blank area in the vehicle instrument detection interface, the function detection interface is displayed. Such as Figure 5 is a schematic diagram of a function detection interface provided by an embodiment of the present application. Five selectable vehicle speeds are displayed therein, which are 0 km / h, 40 km / h, 100 km / h, 160 km / h, and 200 km / h respectively.

[0124] Optionally, the process of determining the accuracy of the vehicle speed display function of the vehicle instrument according to the reference vehicle speed and the vehicle speed displayed in the vehicle instrument includes: determining the absolute value of the difference between the reference vehicle speed and the vehicle speed displayed in the vehicle instrument; based on the absolute value of the difference between the reference vehicle speed and the vehicle speed displayed in the vehicle instrument not being greater than the vehicle speed threshold, determining that the accuracy of the vehicle speed display function of the vehicle instrument is accurate; based on the absolute value of the difference between the reference vehicle speed and the vehicle speed displayed in the vehicle instrument being greater than the vehicle speed threshold, determining that the accuracy of the vehicle speed display function of the vehicle instrument is inaccurate.

[0125] Wherein, the vehicle speed threshold is set based on experience or determined according to the reference vehicle speed, and the embodiments of the present application do not limit this. Exemplarily, the process of determining the vehicle speed threshold according to the reference vehicle speed includes: determining the product of the reference vehicle speed and a second value as the vehicle speed threshold, where the second value is a value greater than 0 and less than 1. Exemplarily, the second value is 0.1.

[0126] Optionally, after determining the detection result of the vehicle speed display function, the detection result of the vehicle speed display function can also be displayed so that the user can know whether the vehicle speed display function of the vehicle instrument is normal.

[0127] In a possible implementation, a software version number box and a hardware version number box are also displayed in the function detection interface, where the software version number box is used to display the software version number of the vehicle instrument, and the hardware version number box is used to display the hardware version number of the vehicle instrument. As Figure 5 501 in is the software version number box, and 502 is the hardware version number box.

[0128] In a possible implementation, at least one selectable rotational speed is also displayed in the function detection interface. As Figure 5 shown in the function detection interface, 5 selectable rotational speeds are displayed, which are 0 revolutions per minute, 1000 revolutions per minute, 3000 revolutions per minute, 5000 revolutions per minute, and 6000 revolutions per minute respectively. In response to a trigger operation for a reference rotational speed among the at least one selectable rotational speed, a reference rotational speed is sent to the vehicle instrument so that the vehicle instrument adjusts the rotational speed displayed in the vehicle instrument according to the reference rotational speed; the rotational speed displayed in the vehicle instrument returned by the vehicle instrument is received; and the accuracy of the rotational speed display function of the vehicle instrument is determined according to the reference rotational speed and the rotational speed displayed in the vehicle instrument.

[0129] Optionally, the process of determining the accuracy of the tachometer display function of the vehicle instrument according to the reference speed and the speed displayed in the vehicle instrument includes: determining the absolute value of the difference between the reference speed and the speed displayed in the vehicle instrument; based on the absolute value of the difference between the reference speed and the speed displayed in the vehicle instrument not being greater than the speed threshold, determining that the accuracy of the tachometer display function of the vehicle instrument is accurate; based on the absolute value of the difference between the reference speed and the speed displayed in the vehicle instrument being greater than the speed threshold, determining that the accuracy of the tachometer display function of the vehicle instrument is inaccurate.

[0130] Wherein, the speed threshold is set based on experience or determined according to the reference speed, and the embodiments of the present application do not limit this. Exemplarily, the process of determining the speed threshold according to the reference speed includes: determining the product of the reference speed and a third value as the speed threshold, and the third value is a value greater than 0 and less than 1. Exemplarily, the third value is 0.1.

[0131] Optionally, after determining the detection result of the tachometer display function, the detection result of the tachometer display function can also be displayed to enable the user to know whether the tachometer display function of the vehicle instrument is normal.

[0132] In a possible implementation, at least one selectable temperature is also displayed in the function detection interface, such as Figure 5 the function detection interface shown has 5 selectable temperatures, which are 0 degrees, 20 degrees, 40 degrees, 60 degrees, and 80 degrees respectively. In response to a trigger operation for the reference temperature among at least one selectable temperature, the reference temperature is sent to the vehicle instrument so that the vehicle instrument adjusts the temperature displayed in the vehicle instrument according to the reference temperature; the temperature displayed in the vehicle instrument returned by the vehicle instrument is received; and the accuracy of the water temperature display function of the vehicle instrument is determined according to the reference temperature and the temperature displayed in the vehicle instrument.

[0133] Optionally, the process of determining the accuracy of the water temperature display function of the vehicle instrument according to the reference temperature and the temperature displayed in the vehicle instrument includes: determining the absolute value of the difference between the reference temperature and the temperature displayed in the vehicle instrument; based on the absolute value of the difference between the reference temperature and the temperature displayed in the vehicle instrument not being greater than the temperature threshold, determining that the accuracy of the water temperature display function of the vehicle instrument is accurate; based on the absolute value of the difference between the reference temperature and the temperature displayed in the vehicle instrument being greater than the temperature threshold, determining that the accuracy of the temperature display function of the vehicle instrument is inaccurate.

[0134] Wherein, the temperature threshold is set based on experience or determined according to the reference temperature, and the embodiments of the present application do not limit this. Exemplarily, the process of determining the temperature threshold according to the reference temperature includes: determining the product of the reference temperature and a fourth value as the temperature threshold, and the fourth value is a value greater than 0 and less than 1. Exemplarily, the fourth value is 0.1.

[0135] Optionally, after determining the detection result of the water temperature display function, the detection result of the water temperature display function can also be displayed so that the user can know whether the water temperature display function of the vehicle instrument is normal.

[0136] In a possible implementation, at least one optional fuel ratio is also displayed in the function detection interface, and any optional fuel ratio is the ratio of the remaining fuel quantity to the fuel capacity. For example, Figure 5 as shown in the function detection interface, 5 optional fuel ratios are displayed, which are 0, 1 / 4, 1 / 2, 3 / 4, and 1 respectively. In response to a trigger operation for a reference fuel ratio among at least one optional fuel ratio, the reference fuel ratio is sent to the vehicle instrument so that the vehicle instrument adjusts the fuel ratio displayed in the vehicle instrument according to the reference fuel ratio; the fuel ratio displayed in the vehicle instrument returned by the vehicle instrument is received; and the accuracy of the fuel quantity display function of the vehicle instrument is determined according to the reference fuel ratio and the fuel ratio displayed in the vehicle instrument.

[0137] Optionally, the process of determining the accuracy of the fuel quantity display function of the vehicle instrument according to the reference fuel ratio and the fuel ratio displayed in the vehicle instrument includes: determining the absolute value of the difference between the reference fuel ratio and the fuel ratio displayed in the vehicle instrument; based on the absolute value of the difference between the reference fuel ratio and the fuel ratio displayed in the vehicle instrument not being greater than the ratio threshold, determining that the accuracy of the fuel quantity display function of the vehicle instrument is accurate; based on the absolute value of the difference between the reference fuel ratio and the fuel ratio displayed in the vehicle instrument being greater than the ratio threshold, determining that the accuracy of the fuel quantity display function of the vehicle instrument is inaccurate.

[0138] Wherein, the ratio threshold is set based on experience or determined according to the reference fuel ratio, and the embodiments of the present application do not limit this. Exemplarily, the process of determining the ratio threshold according to the reference fuel ratio includes: determining the product of the reference fuel ratio and a fifth value as the ratio threshold, and the fifth value is a value greater than 0 and less than 1. Exemplarily, the fifth value is 0.1.

[0139] Optionally, after determining the detection result of the fuel quantity display function, the detection result of the fuel quantity display function can also be displayed so that the user can know whether the fuel quantity display function of the vehicle instrument is normal.

[0140] In a possible implementation, a color detection control is also displayed in the function detection interface, and the color detection control is used to detect whether the color display function of the vehicle instrument is normal. For example, Figure 5The 503 in it is a color detection control. In response to a trigger operation on the color detection control, the RGB (Red-Green-Blue) value of the target color is sent to the vehicle instrument, so that the vehicle instrument adjusts the color displayed on the vehicle instrument according to the RGB value of the target color; the RGB value of the color displayed on the vehicle instrument returned by the vehicle instrument is received; according to the RGB value of the target color and the RGB value of the color displayed on the vehicle instrument, it is determined whether the color display function of the vehicle instrument is normal.

[0141] Optionally, if the RGB value of the target color is the same as the RGB value of the color displayed on the vehicle instrument, it is determined that the color display function of the vehicle instrument is normal; if the RGB value of the target color is different from the RGB value of the color displayed on the vehicle instrument, it is determined that the color display function of the vehicle instrument is abnormal.

[0142] Among them, the target color can be any color, and the embodiments of the present application do not limit this. Exemplarily, the target color is red.

[0143] In a possible implementation manner, a fault code elimination control is also displayed in the function detection interface. The fault code elimination control is used to determine whether the fault code elimination function of the vehicle instrument is normal, such as Figure 5 The 504 in it is a fault code elimination control. When a fault code is displayed on the vehicle instrument, in response to a trigger operation on the fault code elimination control, an elimination instruction is sent to the vehicle instrument, so that the vehicle instrument eliminates the fault code displayed on the vehicle instrument. In response to receiving the elimination information returned by the vehicle instrument, it is determined that the fault code elimination function of the vehicle instrument is normal. In response to not receiving the elimination information returned by the vehicle instrument, it is determined that the fault code elimination function of the vehicle instrument is abnormal. Among them, the elimination information is used to indicate that the fault code has been eliminated.

[0144] In a possible implementation manner, a detection control is also displayed in the function detection interface. The detection control is used to detect each function of the vehicle instrument. Each function includes but is not limited to at least one of a vehicle speed display function, a rotation speed display function, a water temperature display function, a fuel quantity display function, etc., such as Figure 5 The 505 in it is a detection control. In response to a trigger operation on the detection control, a detection interface is displayed. The detection interface displays each function and a detection result box corresponding to each function. The detection result box corresponding to any function is used to display the detection result corresponding to any function. Such as Figure 6It is a schematic diagram of a detection interface provided by an embodiment of the present application. It shows a vehicle speed display function, a detection result box 601 corresponding to the vehicle speed display function, a rotation speed display function, a detection result box 602 corresponding to the rotation speed display function, a water temperature display function, a detection result box 603 corresponding to the water temperature display function, a fuel quantity display function, a detection result box 604 corresponding to the fuel quantity display function, a buzzer function, a detection result box 605 corresponding to the buzzer function, an indicator light function, and a detection result box 606 corresponding to the indicator light function.

[0145] A start control is also shown in the detection interface. The start control is used to start the function detection. For example, Figure 6 607 in it is the start control. In response to the trigger operation on the start control, each function displayed in the detection interface is sequentially detected, and the detection results of each function are obtained. The detection results corresponding to each function are displayed in the detection result box corresponding to each function, so that the user can perceive the detection results of each function.

[0146] Optionally, an end control is also shown in the detection interface. The end control is used to exit the function detection. For example, Figure 6 608 in it is the end control.

[0147] After determining the reference detection mode, within the detection duration corresponding to the reference detection mode, an output voltage corresponding to the reference detection mode is output to the vehicle instrument to supply power to the vehicle instrument. According to the detection frequency corresponding to the reference detection mode, the current values of the vehicle instrument at different times are obtained. Then, based on the current values of the vehicle instrument at different times, the life detection result of the vehicle instrument is determined. This method determines the life detection result of the vehicle instrument through the current values at multiple times, making the accuracy and accuracy of the life detection result of the vehicle instrument higher. Moreover, this method provides multiple detection modes and detects the vehicle instrument according to the selected reference detection mode, making the detection of the vehicle instrument more flexible.

[0148] Figure 7It is a schematic diagram of the internal circuit of a terminal device provided by an embodiment of the present application. The terminal device includes a power conversion module 701, a display screen 702, a connection circuit board 703, and a test board 704. Among them, the power conversion module 701 is used to convert 220V alternating current into 24V direct current to supply power to the connection circuit board 703; the display screen 702 is connected to the connection circuit board 703 through a power 485 line, and the display screen 702 is used to display the vehicle instrument detection interface; the test board 704 integrates a 485 module, a power module, a micro control unit, a CAN module, a resistance signal module, and a high and low level signal module, and the test board 704 is used to generate and process various signals. The test board 704 is connected to the connection circuit board 703 through a CAN signal / power 485 line, and at the same time, the test board 704 outputs a CAN signal to the vehicle instrument. The terminal device provided by the embodiment of the present application can not only detect the lifespan and functions of the vehicle instrument, but also is small and lightweight, has a low development cost, a short development and design cycle, requires few personnel, and the used parts and raw materials are all non-standard parts. The software and hardware are both independently developed, and the profit is controllable, which can enable the manufacturers of vehicle instruments to reduce costs and increase efficiency.

[0149] The micro control unit is equipped with a freeRTOS (a real-time operating system) real-time operating system, and each module is written in a multi-threaded manner, which not only simplifies the complexity of program writing, but also greatly improves the real-time performance of the entire system. And it can be written in any programming language. The micro control unit includes the following tasks, respectively:

[0150] 1. RS485 (Recommended Standard 485, serial communication standard) communication task: used to communicate with the display screen (host computer), receive the instructions issued by the display screen, and upload the detection results to the display screen for display.

[0151] 2. Programmable resistance signal: Using a relay array and combining the 8421 (a binary coding method) coding principle to design a 2-way programmable resistance signal circuit, which can control the relay to output arbitrarily between 0-500 ohms (Ω) according to the resistance signal instruction issued by the display screen, with an accuracy of 0.1 ohm.

[0152] 3. Step voltage signal: Using a relay array and combining the resistance voltage division principle to design a 2-way step voltage signal circuit, which can control the on and off of the corresponding relay according to the voltage instruction issued by the display screen, output 2-way voltage signals, with a 0-5V (V) step and a step of 0.5V.

[0153] 4. H / L (High / Low) level signals: An array of 16 rows of coupling is adopted. According to the instructions sent by the display screen, the on / off of the corresponding channels of the coupling is controlled to make the output of the coupling grounded or connected to a high level, thereby providing 16 high / low level signals to the corresponding ports of the vehicle instrument.

[0154] 5. CAN diagnostic communication: It is used for diagnostic communication with the vehicle instrument. By sending a series of diagnostic instructions to enter the corresponding services, the vehicle instrument will reply with corresponding series of messages, and various data such as "software version number", "hardware version number", "hydraulic oil temperature signal", "fuel level signal", "brake sensor signal", "tire pressure sensor signal", etc. can be extracted from the series of messages.

[0155] 6. PWM (Pulse Width Modulation) for adjusting vehicle speed and rotation speed: Through programming, the timer module of the microcontroller unit is driven to generate PWM waves with specified frequency and duty cycle ranges and output them to the vehicle instrument, thereby controlling the display of vehicle speed and rotation speed on the vehicle instrument.

[0156] 7. Operating current and sleep current: The operating current and sleep current are sampled respectively through two precision resistors. The sampled voltage values are amplified by an operational amplifier and then input to an ADC (Analog-to-Digital Converter) for analog-to-digital conversion. Finally, the current values are obtained through calculation and sent to the display screen for display through the serial port.

[0157] 8. KL30 / KL15 power supply tasks: The power-on and power-off of KL30 power (constant power) and KL15 power (power supply controlled by the ignition switch) are controlled through programs, thereby controlling the supply of 30 power and 15 power to the vehicle instrument.

[0158] 9. PWM voltage regulation task (0 - 36V): The timer of the microcontroller unit generates PWM to control LM2576-ADJ (switching voltage regulator integrated circuit), thereby controlling the output of an adjustable voltage value from 0 to 36V. The control accuracy is 0.1V.

[0159] Figure 8 The following shows a schematic structural diagram of a detection device for a vehicle instrument provided by an embodiment of the present application, as Figure 8 shown, the device includes:

[0160] A display module 801, which is used to display the vehicle instrument detection interface. At least one detection mode is displayed in the vehicle instrument detection interface, and any detection mode corresponds to a detection duration, an output voltage, and a detection frequency;

[0161] An output module 802, configured to, in response to a trigger operation for a reference detection mode in at least one detection mode and upon receiving a detection instruction, output an output voltage corresponding to the reference detection mode to a vehicle instrument within a detection duration corresponding to the reference detection mode;

[0162] A sending module 803, configured to send multiple acquisition requests to the vehicle instrument according to a detection frequency corresponding to the reference detection mode, where any one of the acquisition requests is used to acquire a current value of the vehicle instrument at the moment when any one of the acquisition requests is received;

[0163] A receiving module 804, configured to receive the current values corresponding to each of the acquisition requests returned by the vehicle instrument, where the current value corresponding to any one of the acquisition requests refers to the current value of the vehicle instrument at the moment when any one of the acquisition requests is received;

[0164] A determination module 805, configured to determine a life detection result of the vehicle instrument according to the current values corresponding to each of the acquisition requests.

[0165] In a possible implementation manner, the determination module 805 is configured to determine an absolute value of a difference between the current values corresponding to two adjacent acquisition requests according to the current values corresponding to each of the acquisition requests; determine a first quantity of absolute values of differences between the current values corresponding to two adjacent acquisition requests that are greater than an absolute value of a reference value; based on the first quantity not being greater than a quantity threshold, determine that the life detection result of the vehicle instrument is qualified; based on the first quantity being greater than the quantity threshold, determine that the life detection result of the vehicle instrument is unqualified.

[0166] In a possible implementation manner, a detection duration box is further displayed in a vehicle instrument detection interface, and the detection duration box is used to display a duration required for detecting the vehicle instrument;

[0167] The display module 801 is further configured to, in response to a trigger operation for a reference detection mode in at least one detection mode, display a detection duration corresponding to the reference detection mode in the detection duration box.

[0168] In a possible implementation manner, a detected duration box is further displayed in the vehicle instrument detection interface, and the detected duration box is used to display a duration that has been spent on detecting the vehicle instrument;

[0169] The determination module 805 is further configured to, in response to receiving a detection instruction, determine a time difference between the current time and the time when the detection instruction is received;

[0170] The display module 801 is further configured to display the time difference between the current time and the time when the detection instruction is received in the detected duration box.

[0171] In a possible implementation manner, a voltage box is further displayed in the vehicle instrument detection interface, and the voltage box is used to display a voltage value output to the vehicle instrument;

[0172] The display module 801 is further configured to, in response to a trigger operation for a reference detection mode in at least one detection mode, when the output voltage corresponding to the reference detection mode is one, display the output voltage corresponding to the reference detection mode in the voltage box.

[0173] In a possible implementation, the display module 801 is further configured to display a function detection interface, and at least one selectable vehicle speed is displayed in the function detection interface;

[0174] The sending module 803 is further configured to, in response to a trigger operation for a reference vehicle speed in at least one selectable vehicle speed, send the reference vehicle speed to the vehicle instrument, so that the vehicle instrument adjusts the displayed vehicle speed in the vehicle instrument according to the reference vehicle speed;

[0175] The receiving module 804 is further configured to receive the vehicle speed displayed in the vehicle instrument returned by the vehicle instrument;

[0176] The determining module 805 is further configured to determine the accuracy of the vehicle speed display function of the vehicle instrument according to the reference vehicle speed and the vehicle speed displayed in the vehicle instrument.

[0177] In a possible implementation, the determining module 805 is configured to determine the absolute value of the difference between the reference vehicle speed and the vehicle speed displayed in the vehicle instrument; based on the absolute value of the difference between the reference vehicle speed and the vehicle speed displayed in the vehicle instrument not being greater than the vehicle speed threshold, determine that the accuracy of the vehicle speed display function of the vehicle instrument is accurate; based on the absolute value of the difference between the reference vehicle speed and the vehicle speed displayed in the vehicle instrument being greater than the vehicle speed threshold, determine that the accuracy of the vehicle speed display function of the vehicle instrument is inaccurate.

[0178] After determining the reference detection mode, the above-mentioned device outputs the output voltage corresponding to the reference detection mode to the vehicle instrument within the detection duration corresponding to the reference detection mode to supply power to the vehicle instrument, obtains the current values of the vehicle instrument at different times according to the detection frequency corresponding to the reference detection mode, and further determines the life detection result of the vehicle instrument according to the current values of the vehicle instrument at different times. Determining the life detection result of the vehicle instrument through the current values at multiple times makes the accuracy and accuracy of the life detection result of the vehicle instrument higher. Moreover, multiple detection modes are provided, and the vehicle instrument is detected according to the selected reference detection mode, so that the flexibility of the vehicle instrument detection is higher.

[0179] It should be understood that when the above-provided device implements its functions, only the division of the above functional modules is used as an example for illustration. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device provided in the above embodiment and the method embodiment belong to the same concept. For the specific implementation process, please refer to the method embodiment, which will not be elaborated here.

[0180] Figure 9 FIG. 4 shows a structural block diagram of a terminal device 900 provided by an exemplary embodiment of the present application. The terminal device 900 can be any electronic device product that can perform human-computer interaction with a user in one or more ways such as a keyboard, a touchpad, a remote control, voice interaction, or a handwriting device. For example, a PC (Personal Computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC), a tablet computer, a smart car machine, a smart TV, a smart speaker, a smart watch, etc.

[0181] Generally, the terminal device 900 includes a processor 901 and a memory 902.

[0182] The processor 901 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 901 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 901 may also include a main processor and a coprocessor. The main processor is a processor used to process data in the wake state, also known as the CPU (Central Processing Unit); the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 901 may be integrated with a GPU (Graphics Processing Unit), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 901 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computational operations related to machine learning.

[0183] The memory 902 may include one or more computer-readable storage media, which may be non-transitory. The memory 902 may also include high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 902 is used to store at least one instruction for being executed by the processor 901 to implement the detection method of the vehicle instrument provided in the method embodiments of the present application.

[0184] In some embodiments, the terminal device 900 may further optionally include: a peripheral device interface 903 and at least one peripheral device. The processor 901, the memory 902, and the peripheral device interface 903 may be connected through a bus or signal lines. Each peripheral device may be connected to the peripheral device interface 903 through a bus, signal lines, or a circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 904, a display screen 905, a camera assembly 906, an audio circuit 907, and a power supply 908.

[0185] The peripheral device interface 903 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 901 and the memory 902. In some embodiments, the processor 901, the memory 902, and the peripheral device interface 903 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 901, the memory 902, and the peripheral device interface 903 may be implemented on a separate chip or circuit board, and the present embodiment does not limit this.

[0186] The radio frequency circuit 904 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 904 communicates with a communication network and other communication devices through electromagnetic signals. The radio frequency circuit 904 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 904 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like. The radio frequency circuit 904 may communicate with other terminal devices through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: the World Wide Web, a metropolitan area network, an intranet, each generation of mobile communication networks (2G, 3G, 4G, and 5G), a wireless local area network, and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 904 may further include a circuit related to NFC (Near Field Communication), and the present application does not limit this.

[0187] The display screen 905 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 905 is a touch display screen, the display screen 905 also has the ability to collect touch signals on or above the surface of the display screen 905. The touch signals can be input to the processor 901 as control signals for processing. At this time, the display screen 905 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, there may be one display screen 905, which is disposed on the front panel of the terminal device 900; in other embodiments, there may be at least two display screens 905, which are respectively disposed on different surfaces of the terminal device 900 or are in a foldable design; in other embodiments, the display screen 905 may be a flexible display screen, which is disposed on the curved surface or the folding surface of the terminal device 900. Even, the display screen 905 can also be set to an irregular non-rectangular shape, that is, a special-shaped screen. The display screen 905 can be prepared from materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0188] The camera module 906 is used to capture images or videos. Optionally, the camera module 906 includes a front camera and a rear camera. Generally, the front camera is disposed on the front panel of the terminal device 900, and the rear camera is disposed on the back of the terminal device 900. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth camera, a wide-angle camera, and a telephoto camera, so as to implement the function of background blurring by fusing the main camera and the depth camera, the function of panoramic shooting by fusing the main camera and the wide-angle camera, and the VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera module 906 may further include a flash. The flash can be a single-color temperature flash or a two-color temperature flash. A two-color temperature flash refers to the combination of a warm light flash and a cold light flash, which can be used for light compensation under different color temperatures.

[0189] The audio circuit 907 may include a microphone and a speaker. The microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals for input to the processor 901 for processing, or input to the radio frequency circuit 904 to achieve voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal device 900. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signal from the processor 901 or the radio frequency circuit 904 into sound waves. The speaker may be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for uses such as ranging. In some embodiments, the audio circuit 907 may further include a headphone jack.

[0190] The power supply 908 is used to supply power to each component in the terminal device 900. The power supply 908 may be alternating current, direct current, a disposable battery or a rechargeable battery. When the power supply 908 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0191] In some embodiments, the terminal device 900 further includes one or more sensors 909. The one or more sensors 909 include but are not limited to: an acceleration sensor 910, a gyroscope sensor 911, a pressure sensor 912, an optical sensor 913, and a proximity sensor 914.

[0192] The acceleration sensor 910 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established with the terminal device 900. For example, the acceleration sensor 910 can be used to detect the components of the gravitational acceleration on the three coordinate axes. The processor 901 can control the display screen 905 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 910. The acceleration sensor 910 can also be used for collecting game or user's motion data.

[0193] The gyroscope sensor 911 can detect the body direction and rotation angle of the terminal device 900. The gyroscope sensor 911 can cooperate with the acceleration sensor 910 to collect the 3D actions of the user on the terminal device 900. According to the data collected by the gyroscope sensor 911, the processor 901 can achieve the following functions: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0194] The pressure sensor 912 can be disposed on the side frame of the terminal device 900 and / or the lower layer of the display screen 905. When the pressure sensor 912 is disposed on the side frame of the terminal device 900, it can detect the holding signal of the user on the terminal device 900, and the processor 901 can perform left / right hand recognition or quick operation according to the holding signal collected by the pressure sensor 912. When the pressure sensor 912 is disposed on the lower layer of the display screen 905, the processor 901 can control the operable controls on the UI interface according to the pressure operation of the user on the display screen 905. The operable controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0195] The optical sensor 913 is used to collect the ambient light intensity. In one embodiment, the processor 901 can control the display brightness of the display screen 905 according to the ambient light intensity collected by the optical sensor 913. Specifically, when the ambient light intensity is high, the display brightness of the display screen 905 is increased; when the ambient light intensity is low, the display brightness of the display screen 905 is decreased. In another embodiment, the processor 901 can also dynamically adjust the shooting parameters of the camera module 906 according to the ambient light intensity collected by the optical sensor 913.

[0196] The proximity sensor 914, also known as the distance sensor, is usually disposed on the front panel of the terminal device 900. The proximity sensor 914 is used to collect the distance between the user and the front of the terminal device 900. In one embodiment, when the proximity sensor 914 detects that the distance between the user and the front of the terminal device 900 is gradually decreasing, the processor 901 controls the display screen 905 to switch from the lit state to the off state; when the proximity sensor 914 detects that the distance between the user and the front of the terminal device 900 is gradually increasing, the processor 901 controls the display screen 905 to switch from the off state to the lit state.

[0197] Those skilled in the art can understand that Figure 9 the structure shown in does not constitute a limitation on the terminal device 900, and it may include more or fewer components than shown in the figure, or combine some components, or adopt a different component layout.

[0198] In an exemplary embodiment, a computer-readable storage medium is further provided, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor to enable a computer to implement any one of the above-mentioned detection methods of a vehicle instrument.

[0199] Optionally, the above computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, optical data storage device, etc.

[0200] In an exemplary embodiment, there is also provided a computer program or a computer program product. At least one computer instruction is stored in the computer program or the computer program product. The at least one computer instruction is loaded and executed by a processor so that the computer implements any one of the above vehicle instrument detection methods.

[0201] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.), and signals involved in this application are all authorized by the user or fully authorized by all parties. The collection, use, and processing of relevant data need to comply with relevant laws, regulations, and standards of relevant countries and regions. For example, the information returned by the vehicle instrument to the terminal device involved in this application is obtained under full authorization.

[0202] It should be understood that the term "a plurality of" mentioned herein refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after.

[0203] The above are only exemplary embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the principle of the present application shall be included in the protection scope of the present application.

Claims

1. A vehicle instrument detection method, characterized in that: The method comprises: Displaying a vehicle instrument detection interface, wherein at least one detection mode is displayed in the vehicle instrument detection interface, and any detection mode corresponds to a detection duration, an output voltage, and a detection frequency; In response to a trigger operation for a reference detection mode in the at least one detection mode and receiving a detection instruction, outputting an output voltage corresponding to the reference detection mode to a vehicle instrument within a detection time period corresponding to the reference detection mode; sending multiple acquisition requests to the vehicle meter according to the detection frequency corresponding to the reference detection mode, wherein any acquisition request is used to acquire the current value of the vehicle meter at the moment of receiving any acquisition request; receiving the current value corresponding to each acquisition request returned by the vehicle meter, wherein the current value corresponding to any acquisition request refers to the current value of the vehicle meter at the moment when the vehicle meter receives any acquisition request; The life detection result of the vehicle instrument is determined according to the current value corresponding to each acquisition request.

2. The method according to claim 1, characterized in that: The determining the life detection result of the vehicle instrument according to the current value corresponding to each acquisition request includes: Determine, according to the current values ​​corresponding to the acquisition requests, an absolute value of a difference between the current values ​​corresponding to two adjacent acquisition requests; Determine a first number of absolute values ​​of differences between current values ​​corresponding to two adjacent acquisition requests that are greater than an absolute value of a reference value; Based on the first number being not greater than a number threshold, determining that a life test result of the vehicle instrument is qualified; Based on the first number being greater than the number threshold, it is determined that the life detection result of the vehicle instrument is unqualified.

3. The method according to claim 1, characterized in that The vehicle instrument detection interface also displays a detection time frame, which is used to display the time required for detecting the vehicle instrument; The method further comprises: In response to a triggering operation on a reference detection mode in the at least one detection mode, a detection duration corresponding to the reference detection mode is displayed in the detection duration box.

4. The method according to claim 1, characterized in that The vehicle instrument detection interface also displays a detection time frame, which is used to display the time spent on detecting the vehicle instrument; The method further comprises: In response to receiving the detection instruction, determining a time difference between a current time and a time when the detection instruction is received; The time difference between the current time and the time when the detection instruction is received is displayed in the detected time frame.

5. The method according to claim 1, characterized in that The vehicle meter detection interface also displays a voltage box, which is used to display the voltage value output to the vehicle meter; The method further comprises: In response to a trigger operation on a reference detection mode in the at least one detection mode, when the output voltage corresponding to the reference detection mode is one, the output voltage corresponding to the reference detection mode is displayed in the voltage box.

6. The method according to claim 1, characterized in that After outputting the output voltage corresponding to the reference detection mode to the vehicle instrument within the detection time corresponding to the reference detection mode, the method further includes: Displaying a function detection interface, wherein at least one optional vehicle speed is displayed in the function detection interface; In response to a trigger operation for a reference vehicle speed among the at least one selectable vehicle speed, sending the reference vehicle speed to the vehicle instrument, so that the vehicle instrument adjusts the vehicle speed displayed in the vehicle instrument according to the reference vehicle speed; receiving the vehicle speed displayed in the vehicle instrument returned by the vehicle instrument; The accuracy of the vehicle speed display function of the vehicle instrument is determined based on the reference vehicle speed and the vehicle speed displayed in the vehicle instrument.

7. The method according to claim 6, characterized in that The step of determining the accuracy of the vehicle speed display function of the vehicle instrument according to the reference vehicle speed and the vehicle speed displayed in the vehicle instrument comprises: determining an absolute value of a difference between the reference vehicle speed and the vehicle speed displayed in the vehicle instrument; Determining that the accuracy of the vehicle speed display function of the vehicle instrument is accurate based on that the absolute value of the difference between the reference vehicle speed and the vehicle speed displayed in the vehicle instrument is not greater than the vehicle speed threshold; Based on the absolute value of the difference between the reference vehicle speed and the vehicle speed displayed in the vehicle meter being greater than the vehicle speed threshold, it is determined that the accuracy of the vehicle speed display function of the vehicle meter is inaccurate.

8. A vehicle instrument detection device, characterized in that: The device comprises: A display module, used to display a vehicle instrument detection interface, wherein at least one detection mode is displayed in the vehicle instrument detection interface, and any detection mode corresponds to a detection duration, an output voltage, and a detection frequency; an output module, configured to respond to a trigger operation for a reference detection mode in the at least one detection mode and receive a detection instruction, and output an output voltage corresponding to the reference detection mode to a vehicle instrument within a detection time corresponding to the reference detection mode; A sending module, used for sending multiple acquisition requests to the vehicle meter according to the detection frequency corresponding to the reference detection mode, wherein any acquisition request is used for acquiring the current value of the vehicle meter at the moment of receiving any acquisition request; A receiving module, used for receiving the current value corresponding to each acquisition request returned by the vehicle meter, wherein the current value corresponding to any acquisition request refers to the current value of the vehicle meter at the moment of receiving any acquisition request; The determination module is used to determine the life detection result of the vehicle instrument according to the current value corresponding to each acquisition request.

9. A terminal device, characterized in that: The terminal device includes a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor so that the terminal device implements the vehicle instrument detection method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one program code, and the at least one program code is loaded and executed by the processor so that the terminal device implements the vehicle instrument detection method as described in any one of claims 1 to 7.