An instrument display anomaly optimization method and device

By acquiring and analyzing instrument screen image data, identifying and optimizing the alarm priority of indicator lights, the problem of abnormal instrument display was solved, realizing automated detection and correct display, and reducing safety risks and workload.

CN116185685BActive Publication Date: 2026-07-03CHINA FAW CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA FAW CO LTD
Filing Date
2023-02-01
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

In the existing technology, when the indicator lights of the car instrument system display abnormally, users have difficulty understanding their meaning, which increases safety risks. In addition, the workload of testing and design is large when dealing with faults, and there is a lack of automated detection methods.

Method used

By acquiring image data from the instrument screen, identifying the indicator lights to be tested and obtaining their interface data, determining alarm priority, and automatically optimizing the display to ensure accuracy.

Benefits of technology

It enables automated anomaly detection of dashboard indicator lights, improving display accuracy and reducing safety risks and workload caused by malfunctions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116185685B_ABST
    Figure CN116185685B_ABST
Patent Text Reader

Abstract

The application discloses an instrument display abnormality optimization method and device, comprising: acquiring image data of a to-be-detected indicator lamp in a preset area of a current instrument screen; acquiring indicator lamp interface data of the to-be-detected indicator lamp according to the image data of the to-be-detected indicator lamp; acquiring displayable interface data of the preset area in a car machine log, wherein the displayable interface data at least comprises indicator lamp interface data; judging whether the displayable interface data is multiple, if yes, acquiring alarm priority of each interface data in the displayable interface data; judging whether alarm priority of the indicator lamp interface data is higher than alarm priority of other interface data according to the alarm priority of each interface data, if no, the preset area of the current instrument screen is abnormal, and the preset area of the instrument screen is optimized and displayed according to the alarm priority of each interface data. The application can detect and optimize instrument display abnormality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automotive instrument panel testing technology, specifically to a method and device for optimizing abnormal instrument panel displays. Background Technology

[0002] With the advancement of technology, the focus on automotive functional safety is increasing. This reflects both the public's growing emphasis on driving safety and the ever-increasing complexity of the entire automotive system due to the growing number and lines of code in ECUs (Electronic Control Units, also known as "vehicle computers" or "onboard computers"). The functional safety of the instrument cluster and central control system has become a critical issue. Users often encounter various malfunction indicators when driving, but few understand their meaning. Aside from vehicle designers or mechanics, the meaning of common indicators is crucial for driving safety. Continuing to drive when malfunction lights illuminate not only damages the vehicle but also poses significant safety risks. Because vehicle malfunction indicator light systems are complex and have different priorities, users generally don't understand the underlying display logic and won't notice abnormal indicator lights in a timely manner. Testers, on the other hand, must ensure each malfunction light or indicator light is matched to the requirements specifications, increasing project time and cost. Furthermore, designers need to understand the cause of any malfunction discovered. The workload for both testers and designers after a fault occurs is enormous, and currently, there is no automated method to detect abnormal indicator light displays. Summary of the Invention

[0003] The purpose of this invention is to provide a method and apparatus for optimizing instrument display anomalies, so as to solve at least one of the above-mentioned technical problems.

[0004] This invention provides the following solution:

[0005] According to one aspect of the present invention, a method for optimizing instrument display anomalies is provided, comprising:

[0006] Acquire image data of the indicator lights to be detected in the preset area of ​​the current instrument screen;

[0007] Obtain the indicator interface data of the indicator light to be tested based on the image data of the indicator light to be tested;

[0008] Obtain the displayable interface data of the preset area in the vehicle system log, wherein the displayable interface data includes at least indicator light interface data;

[0009] Determine whether there are multiple displayable interface data sets; if so, then...

[0010] Obtain the alarm priority of each interface data in the displayable interface data;

[0011] Based on the alarm priority of each interface data, determine whether the alarm priority of the indicator light interface data is higher than the alarm priority of other interface data. If not, then...

[0012] The current preset area of ​​the instrument screen is displaying abnormally. The display of the preset area of ​​the instrument screen will be optimized according to the alarm priority of each interface data.

[0013] Optionally, acquiring the image data of the indicator light to be detected in a preset area of ​​the current instrument screen includes:

[0014] Take a screenshot of the current instrument screen and obtain the image data of the current instrument screen;

[0015] Image data of the indicator lights to be detected in the preset area are obtained based on the image data of the current instrument screen.

[0016] Optionally, obtaining the indicator interface data of the indicator light to be detected based on the image data of the indicator light to be detected includes:

[0017] Retrieve preset indicator light information table;

[0018] The function name of the indicator light to be tested is obtained based on the image data of the indicator light to be tested and the preset indicator light information table.

[0019] Retrieve the preset function interface definition information table;

[0020] The indicator interface data of the indicator to be tested is obtained according to the function name of the indicator to be tested and the preset function interface definition information table.

[0021] Optionally, obtaining the displayable interface data of the preset area in the vehicle log includes:

[0022] Acquire preset indicator light image data for the preset area, wherein the preset indicator light image data is at least one;

[0023] The function name of the preset indicator light is obtained based on the preset indicator light image data of the preset area and the preset indicator light information table;

[0024] The interface data of the preset indicator light is obtained according to the function name of the preset indicator light and the preset function interface definition information table;

[0025] The interface data of the preset indicator light is compared with the interface data in the vehicle log to obtain the matching displayable interface data in the vehicle log.

[0026] Optionally, determining whether there are multiple displayable interface data points, and if so, obtaining the alarm priority of each interface data point in the displayable interface data points, includes:

[0027] Obtain the preset alarm priority information table;

[0028] The function name of the displayable interface data is obtained based on the displayable interface data matched in the vehicle log and the preset function interface definition information table;

[0029] The alarm priority of each interface data in the displayable interface data is obtained according to the function name of the displayable interface data and the preset alarm priority information table. The alarm priority of the displayable interface data includes the alarm priority of the indicator light interface data.

[0030] Optionally, determining whether the alarm priority of the indicator light interface data is higher than the alarm priority of other interface data based on the alarm priority of each interface data includes:

[0031] According to the preset priority sorting logic, the alarm priority of the indicator light interface data is compared with the alarm priority of each interface data. If the alarm priority of the indicator light interface data is higher than the alarm priority of other interface data, the current preset area of ​​the instrument screen is displayed normally.

[0032] Optionally, determining whether the alarm priority of the indicator light interface data is higher than the alarm priority of other interface data based on the alarm priority of each interface data includes:

[0033] If the alarm priority of the indicator light interface data is lower than the alarm priority of any other interface data, then

[0034] The preset area on the current instrument panel screen is displaying abnormally.

[0035] Optionally, if the current preset area of ​​the instrument screen displays abnormally, optimizing the display of the preset area of ​​the instrument screen according to the alarm priority of each interface data includes:

[0036] The alarm priority of each interface data is sorted from high to low according to a preset priority sorting logic, and the interface data with the highest alarm priority is obtained as the optimized display interface data.

[0037] Based on the optimized display interface data and the preset function interface definition information table, determine whether the parameters of the optimized display interface data are correct. If so, then...

[0038] The indicator light signals of the optimized display interface data are obtained based on the optimized display interface data, the preset function interface definition information table, and the preset indicator light information table.

[0039] Optimized display indicator image data is generated based on the indicator light signals of the optimized display interface data;

[0040] The optimized display indicator light image data replaces the image data of the indicator light to be detected in the preset area of ​​the current instrument screen, and the display is optimized.

[0041] Optionally, determining whether the parameters of the optimized display interface data are correct based on the optimized display interface data and the preset function interface definition information table includes:

[0042] Obtain the parameter information of the optimized display interface data;

[0043] Based on the parameter definition type of the optimized display interface data in the preset function interface definition information table, determine whether the parameter information of the optimized display interface data conforms to the parameter definition type of the preset function interface definition information table.

[0044] The present invention also provides an instrument display anomaly optimization device, comprising:

[0045] The image data acquisition module for the indicator light to be detected is used to acquire the image data of the indicator light to be detected in a preset area of ​​the current instrument screen.

[0046] An indicator light interface data acquisition module is used to acquire the indicator light interface data of the indicator light to be tested based on the image data of the indicator light to be tested.

[0047] A displayable interface data acquisition module is used to acquire displayable interface data of the preset area in the vehicle log, wherein the displayable interface data includes at least indicator light interface data;

[0048] A displayable interface data determination module is used to determine whether there are multiple displayable interface data.

[0049] An interface data alarm priority acquisition module is used to acquire the alarm priority of each interface data in the displayable interface data.

[0050] An instrument screen preset area display anomaly judgment module is used to determine whether the alarm priority of the indicator light interface data is higher than the alarm priority of other interface data based on the alarm priority of each interface data.

[0051] An optimized display module is used to optimize the display of the preset area of ​​the instrument screen according to the alarm priority of each interface data if the current preset area of ​​the instrument screen is abnormal.

[0052] Compared with the prior art, the present invention has the following advantages:

[0053] This invention captures and identifies the display content of the current instrument panel screen, thereby identifying the indicator lights to be tested. Based on these indicator lights, it obtains their corresponding functions and defined interface information. Simultaneously, it iterates through all interface data in the vehicle's log that can be displayed at the location of the indicator light. Based on the alarm priority of these interface data, it determines whether the currently displayed indicator light has the highest priority, thus identifying whether the current instrument panel display is abnormal. Abnormally displaying indicator lights are replaced, optimizing the instrument panel display. This invention enables automated anomaly detection of instrument panel indicator lights, improving the accuracy of instrument panel function display. It features high accuracy and non-intrusive detection, ensuring the instrument panel provides correct display functions during driving while reducing injuries to personnel and vehicles caused by instrument panel malfunctions. Attached Figure Description

[0054] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0055] Figure 1 This is a flowchart illustrating an instrument display anomaly optimization method according to an embodiment of the present invention;

[0056] Figure 2 This is a schematic diagram of an instrument display anomaly optimization method according to an embodiment of the present invention;

[0057] Figure 3 This is a schematic representation of preset indicator light information in an instrument display anomaly optimization method according to an embodiment of the present invention;

[0058] Figure 4 This is a schematic diagram of the structure of an instrument display anomaly optimization device according to an embodiment of the present invention;

[0059] Figure 5 This is a structural diagram of an electronic device that can implement the instrument display anomaly optimization method of the present invention. Detailed Implementation

[0060] The technical solution of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0061] Figure 1 This is a flowchart illustrating an instrument display anomaly optimization method according to an embodiment of the present invention;

[0062] like Figure 1 As shown, a method for optimizing instrument display anomalies includes:

[0063] Step 1: Acquire image data of the indicator lights to be detected in the preset area of ​​the current instrument screen;

[0064] Step 2: Obtain the indicator interface data of the indicator light to be tested based on the image data of the indicator light to be tested;

[0065] Step 3: Obtain the displayable interface data of the preset area in the vehicle log, wherein the displayable interface data includes at least the indicator light interface data;

[0066] Step 4: Determine if there are multiple displayable interface data sets; if so, then...

[0067] Step 5: Obtain the alarm priority for each interface data in the displayable interface data;

[0068] Step 6: Determine whether the alarm priority of the indicator light interface data is higher than the alarm priority of other interface data based on the alarm priority of each interface data. If not, then...

[0069] Step 7: The current instrument screen preset area is displaying abnormally. Optimize the display of the instrument screen preset area according to the alarm priority of each interface data.

[0070] This invention captures and identifies the display content of the current instrument panel screen, thereby identifying the indicator lights to be tested. Based on these indicator lights, it obtains their corresponding functions and defined interface information. Simultaneously, it iterates through all interface data in the vehicle's log that can be displayed at the location of the indicator light. Based on the alarm priority of these interface data, it determines whether the currently displayed indicator light has the highest priority, thus identifying whether the current instrument panel display is abnormal. Abnormally displaying indicator lights are replaced, optimizing the instrument panel display. This invention enables automated anomaly detection of instrument panel indicator lights, improving the accuracy of instrument panel function display. It features high accuracy and non-intrusive detection, ensuring the instrument panel provides correct display functions during driving while reducing injuries to personnel and vehicles caused by instrument panel malfunctions.

[0071] In this embodiment, acquiring the image data of the indicator light to be detected in the preset area of ​​the current instrument screen includes:

[0072] Take a screenshot of the current instrument screen and obtain the image data of the current instrument screen;

[0073] The image data of the indicator lights to be detected in the preset area is obtained based on the image data of the current instrument screen.

[0074] Specifically, such as Figure 2 As shown, after taking a screenshot of the current instrument panel screen, the image data of the current instrument panel screen is obtained. In the current instrument panel screen, there are multiple displayable indicator lights at each indicator light display position. If the driver or tester does not understand the priority logic of each indicator light display, it is also uncertain whether the currently displayed indicator light is correct. In this embodiment, Python is used to obtain a screenshot of the instrument panel screen and then obtain the image data of the indicator lights. Specifically, im =

[0075] `pyautogui.screenshot()` returns a screenshot of the current instrument screen. `im.getpixel((X,Y))` returns the `im` object. The corresponding indicator light is identified by comparing the currently displayed indicator light image data with the image data defined in the requirements. In image recognition, if the returned `im` (indicator light image data) matches the preset indicator light information table (e.g., ...), the corresponding indicator light will be identified. Figure 3 If the image data is consistent with the one shown, the matching is successful and the function name corresponding to the indicator light is obtained. After determining the function, the color of the indicator light needs to be determined again, because the same function will display different colors in the fault, waiting and active states. The color of the pixel at (X,Y) can be determined using the function function.

[0076] Figure 3 This is a schematic representation of preset indicator light information in an instrument display anomaly optimization method according to an embodiment of the present invention;

[0077] In this embodiment, obtaining the indicator interface data of the indicator light to be detected based on the image data of the indicator light to be detected includes:

[0078] Retrieve the preset indicator light information table, such as Figure 3 As shown;

[0079] The function name of the indicator light to be tested is obtained based on the image data of the indicator light to be tested and the preset indicator light information table.

[0080] Specifically, the `pyautogui.pixelMatchesColor(X,Y)` comparison function is used to compare the image data of the indicator light to be detected on the screen with the image data in the preset indicator light information table, thereby obtaining the function name of the matching image data; the preset indicator light information table in this embodiment is as follows: Figure 3 As shown, it is understandable that Figure 3 The preset indicator light information table displays color icons with color characteristics during actual use.

[0081] In this embodiment, a preset functional interface definition information table is obtained;

[0082] Obtain the indicator interface data of the indicator to be tested based on the function name of the indicator and the preset function interface definition information table.

[0083] Specifically, based on the function name of the indicator light to be tested, the corresponding interface data is searched in the preset function interface definition information table. The interface data includes the interface name, parameter type and specific parameters. The preset function interface definition information table is shown in Table 1.

[0084]

[0085] Table 1

[0086] In this embodiment, obtaining the displayable interface data of a preset area in the vehicle log includes:

[0087] Acquire preset indicator light image data for a preset area, wherein the preset indicator light image data is at least one;

[0088] The function name of the preset indicator light is obtained based on the preset indicator light image data of the preset area and the preset indicator light information table;

[0089] Obtain the interface data of the preset indicator light based on the function name of the preset indicator light and the preset function interface definition information table;

[0090] The interface data of the preset indicator light is compared with the interface data in the vehicle log to obtain the matching displayable interface data in the vehicle log.

[0091] In this embodiment, it is determined whether there are multiple displayable interface data. If so, the alarm priority of each interface data in the displayable interface data is obtained, including:

[0092] Obtain the preset alarm priority information table;

[0093] The function name of the displayable interface data is obtained by matching the displayable interface data in the vehicle log and the preset function interface definition information table;

[0094] The alarm priority of each interface data in the displayable interface data is obtained based on the function name of the displayable interface data and the preset alarm priority information table. The alarm priority of the displayable interface data includes the alarm priority of the indicator light interface data.

[0095] Specifically, in this embodiment, the corresponding function name is obtained from the preset function interface definition information table (Table 1) based on the displayable interface data matched in the vehicle log. Then, the alarm priority of each matched displayable interface data is obtained from the preset alarm priority information table based on the function name. The preset alarm priority information table is shown in Table 2. This table is the alarm priority of each indicator light defined by the product designer at the beginning of the instrument design. The smaller the priority value, the higher the level of the alarm indicator light, and the more priority it should be displayed.

[0096] Function Name Priority type ESC Indicators and Alarms 8 Long-term alarm ACC Activation 10 Short alarm fuel level display 6.1 Short alarm

[0097] Table 2

[0098] In this embodiment, determining whether the alarm priority of the indicator light interface data is higher than the alarm priority of other interface data based on the alarm priority of each interface data includes:

[0099] The alarm priority of the indicator light interface data is compared with the alarm priority of each interface data according to the preset priority sorting logic. If the alarm priority of the indicator light interface data is higher than the alarm priority of other interface data, the current preset area of ​​the instrument screen will be displayed normally.

[0100] In this embodiment, determining whether the alarm priority of the indicator light interface data is higher than the alarm priority of other interface data based on the alarm priority of each interface data includes:

[0101] If the alarm priority of the indicator light interface data is lower than the alarm priority of any other interface data, then

[0102] The preset area on the current instrument panel screen is displaying abnormally.

[0103] Specifically, after obtaining the indicator light to be tested currently displayed on the instrument panel, the system iterates through all interface data that may be displayed in the preset area in the vehicle log. The alarm priority corresponding to the indicator light to be tested is compared with the alarm priority of these interface data. If the indicator light to be tested displayed on the instrument panel has the highest priority, it means that the preset area of ​​the instrument panel is displayed normally. If there are other interface data in the vehicle log that can be displayed in the preset area with a higher alarm priority than the current indicator light to be tested, it means that the current preset area of ​​the instrument panel is displayed abnormally, and therefore the current preset area of ​​the instrument panel needs to be optimized.

[0104] In this embodiment, if the current preset area of ​​the instrument screen displays abnormally, optimizing the display of the preset area of ​​the instrument screen according to the alarm priority of each interface data includes:

[0105] The alarm priority of each interface data is sorted from high to low according to the preset priority sorting logic, and the interface data with the highest alarm priority is selected as the optimized display interface data.

[0106] Based on the optimized display interface data and the preset function interface definition information table, determine whether the parameters of the optimized display interface data are correct. If so, then...

[0107] The indicator light signals of the optimized display interface data are obtained based on the optimized display interface data, the preset function interface definition information table, and the preset indicator light information table.

[0108] Optimized display indicator image data is generated based on the indicator signal of the optimized display interface data;

[0109] The optimized display indicator light image data replaces the image data of the indicator lights to be detected in the preset area of ​​the current instrument screen, thus optimizing the display.

[0110] In this embodiment, determining whether the parameters of the optimized display interface data are correct based on the optimized display interface data and the preset function interface definition information table includes:

[0111] Obtain parameter information for optimized display interface data;

[0112] Based on the parameter definition type of the optimized display interface data in the preset function interface definition information table, determine whether the parameter information of the optimized display interface data conforms to the parameter definition type of the preset function interface definition information table.

[0113] Specifically, the displayable interface data obtained from the vehicle's log is sorted from high to low according to a preset priority sorting logic (the smaller the priority value, the higher the alarm priority). The interface data with the highest priority is obtained. In this embodiment, it is assumed that the three functions in Table 2, ESC indication and alarm, ACC activation, and fuel level display, are the functions corresponding to the displayable interface data obtained from the vehicle's log. The priorities of the three functions are 8, 10, and 6.1, respectively. Among them, the priority value of fuel level display is the lowest, so the alarm corresponding to fuel level display has the highest priority. The interface data corresponding to fuel level display is used as the optimized display interface data. According to the preset function interface definition information table (Table 1), it is determined whether the fuel level display interface data obtained from the vehicle's log conforms to the parameter definition of fuel level display in the preset function interface definition information table (Table 1). If it does, the indicator light signal corresponding to fuel level display is obtained. Optimized display indicator light image data is generated based on the indicator light signal of fuel level display and replaces the indicator light image data to be detected in the preset area of ​​the current instrument screen for optimized display.

[0114] Figure 4 This is a schematic diagram of the structure of an instrument display anomaly optimization device according to an embodiment of the present invention;

[0115] like Figure 4 As shown, the present invention provides an instrument display anomaly optimization device, including a target indicator light image data acquisition module, an indicator light interface data acquisition module, a displayable interface data acquisition module, a displayable interface data judgment module, an interface data alarm priority acquisition module, an instrument screen preset area display anomaly judgment module, and an optimized display module; wherein,

[0116] The image data acquisition module for indicator lights to be tested is used to acquire image data of indicator lights to be tested in a preset area of ​​the current instrument screen;

[0117] The indicator light interface data acquisition module is used to acquire the indicator light interface data of the indicator light to be tested based on the image data of the indicator light to be tested;

[0118] The displayable interface data acquisition module is used to acquire displayable interface data in a preset area of ​​the vehicle log, wherein the displayable interface data includes at least indicator light interface data;

[0119] The module for determining displayable interface data is used to determine whether there are multiple displayable interface data.

[0120] The interface data alarm priority acquisition module is used to acquire the alarm priority of each interface data in the displayable interface data.

[0121] The instrument screen preset area display anomaly judgment module is used to determine whether the alarm priority of the indicator interface data is higher than the alarm priority of other interface data based on the alarm priority of each interface data.

[0122] The optimized display module is used to optimize the display of the preset area of ​​the instrument screen according to the alarm priority of each interface data if the current preset area of ​​the instrument screen is abnormal.

[0123] It is worth noting that although this system only discloses basic functional modules such as the indicator light image data acquisition module, indicator light interface data acquisition module, displayable interface data acquisition module, displayable interface data judgment module, interface data alarm priority acquisition module, instrument screen preset area display anomaly judgment module, and optimized display module, it does not mean that this device is limited to the above-mentioned basic functional modules. On the contrary, what this invention intends to express is that, based on the above-mentioned basic functional modules, those skilled in the art can arbitrarily add one or more functional modules in combination with the prior art to form an infinite number of embodiments or technical solutions. That is to say, this system is open rather than closed. It should not be assumed that the scope of protection of the claims of this invention is limited to the above-disclosed basic functional modules just because this embodiment only discloses a few basic functional modules.

[0124] Figure 5 A structural diagram of an electronic device that can implement the instrument display anomaly optimization method of the present invention.

[0125] like Figure 5 As shown, the electronic device includes a processor, a communication interface, a memory, and a communication bus. The processor, communication interface, and memory communicate with each other through the communication bus. The memory stores a computer program, which, when executed by the processor, causes the processor to perform the steps of the instrument display anomaly optimization method.

[0126] This application also provides a computer-readable storage medium storing a computer program executable by an electronic device, which, when run on the electronic device, causes the electronic device to perform the steps of an instrument display anomaly optimization method.

[0127] The communication bus mentioned in the above electronic devices can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.

[0128] The electronic device comprises a hardware layer, an operating system layer running on top of the hardware layer, and an application layer running on the operating system. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory. The operating system can be any one or more computer operating systems that control the electronic device through processes, such as Linux, Unix, Android, iOS, or Windows. Furthermore, in this embodiment of the invention, the electronic device can be a smartphone, tablet computer, or other handheld device, or a desktop computer, portable computer, or other electronic device; there is no particular limitation in this embodiment.

[0129] In this embodiment of the invention, the executing entity for electronic device control can be an electronic device itself, or a functional module within an electronic device capable of calling and executing a program. The electronic device can obtain the firmware corresponding to the storage medium. This firmware is provided by the supplier, and different storage media may have the same or different firmware; no limitation is made here. After obtaining the firmware corresponding to the storage medium, the electronic device can write this firmware into the storage medium; specifically, it burns the firmware corresponding to the storage medium into the storage medium. The process of burning the firmware into the storage medium can be implemented using existing technology, and will not be elaborated upon in this embodiment of the invention.

[0130] Electronic devices can also obtain reset commands corresponding to the storage media. The reset commands corresponding to the storage media are provided by the supplier. The reset commands corresponding to different storage media can be the same or different, and no restrictions are imposed here.

[0131] At this time, the storage medium of the electronic device is a storage medium on which the corresponding firmware has been written. The electronic device can respond to the reset command corresponding to the storage medium on which the corresponding firmware has been written, thereby resetting the storage medium on which the corresponding firmware has been written according to the reset command. The process of resetting the storage medium according to the reset command can be implemented by existing technology and will not be described in detail in this embodiment of the invention.

[0132] For ease of description, the above devices are described separately by function as various units and modules. Of course, in implementing this application, the functions of each unit and module can be implemented in one or more software and / or hardware.

[0133] It will be understood by those skilled in the art that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. It should also be understood that terms such as those defined in general dictionaries should be understood to have the meaning consistent with their meaning in the context of the prior art, and should not be interpreted in an idealized or overly formal sense unless specifically defined.

[0134] For the sake of simplicity, the method embodiments are described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.

[0135] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of this application.

[0136] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. An instrument display abnormality optimization method characterized by comprising: include: Acquire image data of the indicator lights to be detected in the preset area of ​​the current instrument screen; Obtain the indicator interface data of the indicator light to be tested based on the image data of the indicator light to be tested; Obtain the displayable interface data of the preset area in the vehicle system log, wherein the displayable interface data includes at least indicator light interface data; Determine whether there are multiple displayable interface data sets; if so, then... Obtain the alarm priority of each interface data in the displayable interface data; Based on the alarm priority of each interface data, determine whether the alarm priority of the indicator light interface data is higher than the alarm priority of all other interface data. If not, then... The current preset area of ​​the instrument screen is displaying abnormally. The display of the preset area of ​​the instrument screen will be optimized according to the alarm priority of each interface data. Specifically, optimizing the display of the preset area of ​​the instrument screen according to the alarm priority of each interface data involves: sorting the alarm priority of each interface data from high to low according to a preset priority arrangement logic, and obtaining the interface data with the highest alarm priority as the optimized display interface data. Based on the optimized display interface data and the preset function interface definition information table, determine whether the parameters of the optimized display interface data are correct. If so, then... The indicator light signals of the optimized display interface data are obtained based on the optimized display interface data, the preset function interface definition information table, and the preset indicator light information table. Optimized display indicator image data is generated based on the indicator light signals of the optimized display interface data; The optimized display indicator light image data replaces the image data of the indicator light to be detected in the preset area of ​​the current instrument screen, and the display is optimized.

2. The method of claim 1, wherein, The acquisition of image data of the indicator lights to be detected in the preset area of ​​the current instrument screen includes: Take a screenshot of the current instrument screen and obtain the image data of the current instrument screen; Image data of the indicator lights to be detected in the preset area are obtained based on the image data of the current instrument screen.

3. The method of claim 2, wherein, The step of obtaining the indicator interface data of the indicator light to be detected based on the image data of the indicator light to be detected includes: Retrieve preset indicator light information table; The function name of the indicator light to be tested is obtained based on the image data of the indicator light to be tested and the preset indicator light information table. Retrieve the preset function interface definition information table; The indicator interface data of the indicator to be tested is obtained according to the function name of the indicator to be tested and the preset function interface definition information table.

4. The instrument display anomaly optimization method as described in claim 3, characterized in that, The process of obtaining the displayable interface data of the preset area in the vehicle log includes: Acquire preset indicator light image data for the preset area, wherein the preset indicator light image data is at least one; The function name of the preset indicator light is obtained based on the preset indicator light image data of the preset area and the preset indicator light information table; The interface data of the preset indicator light is obtained according to the function name of the preset indicator light and the preset function interface definition information table; The interface data of the preset indicator light is compared with the interface data in the vehicle log to obtain the matching displayable interface data in the vehicle log.

5. The method of claim 4, wherein, The step of determining whether there are multiple displayable interface data points, and if so, obtaining the alarm priority of each interface data point in the displayable interface data points, includes: Obtain the preset alarm priority information table; The function name of the displayable interface data is obtained based on the displayable interface data matched in the vehicle log and the preset function interface definition information table; The alarm priority of each interface data in the displayable interface data is obtained according to the function name of the displayable interface data and the preset alarm priority information table. The alarm priority of the displayable interface data includes the alarm priority of the indicator light interface data.

6. The method of claim 5, wherein, The step of determining whether the alarm priority of the indicator light interface data is higher than the alarm priority of all other interface data based on the alarm priority of each interface data includes: According to the preset priority sorting logic, the alarm priority of the indicator light interface data is compared with the alarm priority of each interface data. If the alarm priority of the indicator light interface data is higher than the alarm priority of all other interface data, the current preset area of ​​the instrument screen is displayed normally.

7. The method of claim 6, wherein, The step of determining whether the alarm priority of the indicator light interface data is higher than the alarm priority of all other interface data based on the alarm priority of each interface data includes: If the alarm priority of the indicator light interface data is lower than the alarm priority of any other interface data, then The preset area on the current instrument panel screen is displaying abnormally.

8. The method of claim 1, wherein, The step of determining whether the parameters of the optimized display interface data are correct based on the optimized display interface data and the preset function interface definition information table includes: Obtain the parameter information of the optimized display interface data; Based on the parameter definition type of the optimized display interface data in the preset function interface definition information table, determine whether the parameter information of the optimized display interface data conforms to the parameter definition type of the preset function interface definition information table.

9. An instrument display abnormality optimization device characterized by comprising: include: The image data acquisition module for the indicator light to be detected is used to acquire the image data of the indicator light to be detected in a preset area of ​​the current instrument screen. An indicator light interface data acquisition module is used to acquire the indicator light interface data of the indicator light to be tested based on the image data of the indicator light to be tested. A displayable interface data acquisition module is used to acquire displayable interface data of the preset area in the vehicle log, wherein the displayable interface data includes at least indicator light interface data; A displayable interface data determination module is used to determine whether there are multiple displayable interface data. An interface data alarm priority acquisition module is used to acquire the alarm priority of each interface data in the displayable interface data. An instrument screen preset area display anomaly judgment module is used to determine whether the alarm priority of the indicator light interface data is higher than the alarm priority of all other interface data based on the alarm priority of each interface data. An optimized display module is used to optimize the display of the preset area of ​​the instrument screen according to the alarm priority of each interface data if the current preset area of ​​the instrument screen is abnormal. The instrument display anomaly optimization device is used to execute the instrument display anomaly optimization method according to any one of claims 1-8.