A vehicle instrument display test analysis method and system

Through the data writeback method of program-controlled SOC, the problem of difficulty in capturing abnormal screenshots of the full LCD instrument is solved, low-cost and efficient screenshots and analysis are achieved, and development efficiency is improved.

CN113918250BActive Publication Date: 2024-12-27DENSO KOTEI AUTOMOTIVE ELECTRONICS (WUHAN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111089135.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-16
Publication Date
2024-12-27
Estimated Expiration
2041-09-16

AI Technical Summary

Technical Problem

During the development of full LCD instruments, abnormal images may appear instantly, making it difficult to accurately capture, and the high-definition shooting equipment is costly and has poor results, which affects the efficiency of testing and analysis.

Method used

The display unit of the SOC is controlled by the program to write back data, realize screenshots, set image data writeback parameters, and write image data back to the specified storage space in the display processing module, read stored image data to analyze the cause of display abnormality, and use a single time , continuous or triggered reading method.

Benefits of technology

It reduces development costs and achieves 100% picture restoration, facilitates developer problem analysis, and improves testing efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113918250B_ABST
    Figure CN113918250B_ABST
Patent Text Reader

Abstract

The present invention relates to a vehicle-mounted instrument display test and analysis method and system, comprising: determining whether the display processing module in the instrument SOC has a data write-back function; if so, setting image data write-back parameters and turning on the data write-back function; while the display processing module of the instrument SOC sends the processed image data to the instrument LCD screen for display, the image data is written back to the designated storage space of the instrument SOC; reading the image data stored in the designated storage space, and analyzing the cause of the abnormal instrument display. The present invention realizes screenshots by program-controlled SOC display unit data write-back. Not only is the cost low, but also the abnormal display screen can be 100% restored by direct data write-back screenshots, which is convenient for developers to analyze problems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of instrument testing, and in particular to a vehicle-mounted instrument display test and analysis method and system. Background Art

[0002] With the advancement of technology, full LCD instruments are gradually replacing physical instruments. During the development of full LCD instruments, when the display is abnormal, the abnormal screen needs to be saved for analysis. Currently, high-definition shooting equipment is usually used to capture abnormal screens during testing. In the actual development process, the abnormal screen may appear instantaneously, and it may not be possible to capture the screen accurately. In addition, due to the reflection of the LCD screen or the influence of ambient light, it is difficult to ensure the accuracy of the captured screen, which also increases the testing cost.

[0003] Therefore, in order to solve the above shortcomings, a fast screenshot method is developed, which can capture the screen efficiently and timely, making it convenient for developers to test and analyze problems. Summary of the invention

[0004] The present invention aims at the technical problems existing in the prior art and provides a vehicle-mounted instrument display test and analysis method and system, which realizes screenshot by program-controlled SOC display unit to write back data. Not only is the cost low, but also the abnormal display screen can be 100% restored by direct data write-back screenshot, which is convenient for developers to analyze the problem.

[0005] The technical solution of the present invention to solve the above technical problems is as follows:

[0006] In one aspect, the present invention provides a vehicle instrument display test analysis method, comprising:

[0007] Determine whether the display processing module in the instrument SOC has a data write-back function;

[0008] If available, set the image data write-back parameters and enable the data write-back function; when the display processing module of the instrument SOC sends the processed image data to the instrument LCD screen for display, the image data is written back to the designated storage space of the instrument SOC;

[0009] The image data stored in the designated storage space is read, and the analysis instrument displays the cause of the abnormality.

[0010] Furthermore, the image data write-back parameters include a display screen width w, a display screen height h, a display memory step length stride, and a data write-back memory address addr.

[0011] Furthermore, the reading of the image data stored in the designated storage space and the analysis of the abnormality caused by the instrument display include:

[0012] The PC sends the screenshot execution command script to the instrument SOC to confirm whether the image data has been saved;

[0013] If it has been saved, the PC sends a data copy command to copy the image data stored in the designated storage space to the PC.

[0014] Furthermore, the reading of the image data stored in the designated storage space includes single reading, continuous reading and triggered reading;

[0015] When a fault occurs on the display and the fault screen is retained, a single read mode is used;

[0016] When the display is restored to the original screen after a fault occurs, the continuous reading method is adopted;

[0017] According to the test task settings, data is read when the program is executed to a specific stage, and triggered reading is adopted.

[0018] Furthermore, when the display processing module in the instrument SOC does not have a data write-back function, the image data stored in the display memory address of the instrument SOC is directly read according to the test requirements.

[0019] On the other hand, the present invention provides a vehicle-mounted instrument display test and analysis system, including a PC end and an instrument SOC end;

[0020] The PC determines whether the display processing module in the instrument SOC has a data write-back function; if so, sets the image data write-back parameters and turns on the data write-back function;

[0021] The instrument SOC end writes the processed image data back into the designated storage space of the instrument SOC while the display processing module sends the processed image data to the instrument LCD screen for display;

[0022] The PC reads the image data stored in the designated storage space, and the analysis instrument displays the cause of the abnormality.

[0023] Furthermore, the image data write-back parameters include a display screen width w, a display screen height h, a display memory step length stride, and a data write-back memory address addr.

[0024] Furthermore, the reading of the image data stored in the designated storage space and the analysis of the abnormality reasons displayed by the instrument include:

[0025] The PC sends the screenshot execution command script to the instrument SOC to confirm whether the image data has been saved;

[0026] If it has been saved, the PC sends a data copy command to copy the image data stored in the designated storage space to the PC.

[0027] Furthermore, the reading of the image data stored in the designated storage space includes single reading, continuous reading and triggered reading;

[0028] When a fault occurs on the display and the fault screen is retained, a single read mode is used;

[0029] When the display is restored to the original screen after a fault occurs, the continuous reading method is adopted;

[0030] According to the test task settings, data is read when the program is executed to a specific stage, and triggered reading is adopted.

[0031] The beneficial effects of the present invention are as follows: the present invention realizes screen capture by program-controlled Soc, without using high-definition camera equipment to capture the screen, which effectively reduces the development cost. The new screenshot method can also realize single screenshot, continuous screenshot, and triggered screenshot through software control, which can more efficiently assist developers in testing and problem analysis. The method of the present invention can effectively solve the problems of high cost and poor effect of the existing method, and is more convenient to use. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 A schematic diagram of a vehicle instrument display test and analysis method provided by an embodiment of the present invention;

[0033] Figure 2 Display process diagram for vehicle instrument;

[0034] Figure 3 A schematic diagram of the execution flow of the data write-back function when there is an independent storage space in the instrument SOC;

[0035] Figure 4 A schematic diagram of the structure of a vehicle instrument display test and analysis system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0036] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.

[0037] like Figure 1 As shown, an embodiment of the present invention provides a vehicle instrument display test and analysis method, the method comprising:

[0038] Determine whether the display processing module in the instrument SOC has a data write-back function;

[0039] If available, set the image data write-back parameters and enable the data write-back function; when the display processing module of the instrument SOC sends the processed image data to the instrument LCD screen for display, the image data is written back to the designated storage space of the instrument SOC;

[0040] The image data stored in the designated storage space is read, and the analysis instrument displays the cause of the abnormality.

[0041] When the display processing module in the instrument SOC does not have a data write-back function, the image data stored in the display memory address of the instrument SOC is directly read according to the test requirements.

[0042] The embodiment of the present invention realizes screenshot by program-controlled SOC display unit to write back data, which is not only low-cost, but also can 100% restore abnormal display screen by direct data write-back screenshot, which is convenient for developers to analyze problems.

[0043] Displaying images on a full LCD instrument requires the following steps: Figure 2 The processing flow is shown in the figure. That is, the display resource file draws different display layers through the drawing program and stores them in the instrument SOC video memory, then the layers are merged through the display processing module, and then the display output module outputs them to the display screen of the full LCD instrument for image display. In this process, there are generally two reasons that will cause abnormal display of the LCD instrument display:

[0044] 1. Hardware abnormalities, such as screen defect, LVDS hardware signal abnormality, backlight chip abnormality, etc.

[0045] 2. Software anomalies, such as drawing program anomalies, display hardware driver anomalies, memory bandwidth anomalies, etc.

[0046] Figure 3 This is a flowchart of the data write-back function. Through data write-back, the data after layer fusion by the display processing module is written into the storage space specified in the DDR of the instrument SOC, and the original data displayed by the instrument is obtained by reading the DDR. When an abnormality occurs in the instrument display, the original data displayed by the instrument can be analyzed to determine what kind of abnormality it is. The judgment process is as follows:

[0047] 1. The original data is abnormal. Check whether there is a problem with the APP drawing program;

[0048] 2. If the original data is normal, check whether the display output signal is abnormal. If the signal is abnormal, check whether there is a problem with the driver. If the signal is normal, check whether there is a problem with the hardware.

[0049] Image data write-back parameters include w, h, stride, and addr.

[0050] The process of reading the image data stored in the storage space or the video memory includes:

[0051] The PC sends the screenshot execution command script to the instrument SOC to confirm whether the image data has been saved;

[0052] If it has been saved, the PC sends a data copy command to copy the image data stored in the designated storage space to the PC.

[0053] The reading modes here include single reading, continuous periodic reading and triggered reading.

[0054] In the actual development process, the abnormal screen may appear instantaneously, that is, the display automatically restores the original screen after the abnormal screen appears, or the LCD instrument screen may be static after the abnormal screen appears. At the same time, during the test process, there may be only one image display test, or there may be multiple continuous image display tests. When the display fails and the fault screen remains, a single read method is used; when the display returns to the original screen after a failure, a continuous read method is used. Triggered reading is performed when the program is executed to a certain stage according to the pre-set test task.

[0055] It should be understood that the image data stored in the designated storage space can be copied to the PC by directly copying the image data to the PC via the CAN bus, or the PC can control the instrument SOC to transfer the image data to a U disk and then transfer it from the U disk to the PC.

[0056] Figure 4 The present invention provides a schematic diagram of the structure of a vehicle instrument display test and analysis system. Figure 4 As shown, the system includes a PC end and an instrument SOC end;

[0057] The PC determines whether the display processing module in the instrument SOC has a data write-back function; if so, sets the image data write-back parameters and turns on the data write-back function;

[0058] The instrument SOC end writes the processed image data back into the designated storage space of the instrument SOC while the display processing module sends the processed image data to the instrument LCD screen for display;

[0059] The PC reads the image data stored in the designated storage space, and the analysis instrument displays the cause of the abnormality.

[0060] The image data write-back parameters include a display screen width w, a display screen height h, a display memory step length stride, and a data write-back memory address addr.

[0061] The reading of the image data stored in the designated storage space and the analysis of the abnormal reasons displayed by the instrument include:

[0062] The PC sends the screenshot execution command script to the instrument SOC to confirm whether the image data has been saved;

[0063] If it has been saved, the PC sends a data copy command to copy the image data stored in the designated storage space to the PC.

[0064] The reading of the image data stored in the storage space or the video memory includes single reading, continuous reading and triggered reading;

[0065] The present invention realizes screen capture by program-controlled Soc, instead of using high-definition camera equipment to capture the screen, which effectively reduces the development cost. The new screenshot method can also realize single screenshot, continuous screenshot, and triggered screenshot through software control, which can more efficiently assist developers in testing and problem analysis. The method of the present invention can effectively solve the problems of high cost and poor effect of the existing method, and is more convenient to use.

[0066] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A vehicle instrument display test and analysis method, characterized in that: include: Determine whether the display processing module in the instrument SOC has a data write-back function; If available, set the image data write-back parameters and enable the data write-back function; when the display processing module of the instrument SOC sends the processed image data to the instrument LCD screen for display, write the image data back to the storage space specified in the DDR of the instrument SOC; the image data write-back parameters include the display screen width w, the display screen height h, the display memory step length stride and the data write-back memory address addr; Read the image data stored in the designated storage space and analyze the cause of the abnormality displayed by the instrument; When the display processing module in the instrument SOC does not have a data write-back function, the image data stored in the display memory address of the instrument SOC is directly read according to the test requirements.

2. The vehicle-mounted instrument display test and analysis method according to claim 1, characterized in that: The reading of the image data stored in the designated storage space and the analysis of the abnormality reasons displayed by the instrument include: The PC sends the screenshot execution command script to the instrument SOC to confirm whether the image data has been saved; If it has been saved, the PC sends a data copy command to copy the image data stored in the designated storage space to the PC.

3. The vehicle-mounted instrument display test and analysis method according to claim 1, characterized in that: The reading of the image data stored in the designated storage space includes single reading, continuous reading and triggered reading; When a fault occurs on the display and the fault screen is retained, a single read mode is used; When the display is restored to the original screen after a fault occurs, the continuous reading method is adopted; According to the test task settings, data is read when the program is executed to a certain stage, and triggered reading is adopted.

4. A vehicle instrument display test and analysis system, characterized in that: Including PC side and instrument SOC side; The PC determines whether the display processing module in the instrument SOC has a data write-back function; if so, sets image data write-back parameters and turns on the data write-back function; the image data write-back parameters include display screen width w, display screen height h, display memory step length stride, and data write-back memory address addr; The instrument SOC end writes the processed image data back into the storage space specified in the DDR of the instrument SOC while the display processing module sends the processed image data to the instrument LCD screen for display; The PC reads the image data stored in the designated storage space, and the analysis instrument displays the cause of the abnormality; If the display processing module in the instrument SOC does not have a data write-back function, the PC directly reads the image data stored in the display memory address of the instrument SOC according to the test requirements.

5. The vehicle-mounted instrument display test and analysis system according to claim 4, characterized in that: The reading of the image data stored in the designated storage space and the analysis of the abnormality reasons displayed by the instrument include: The PC sends the screenshot execution command script to the instrument SOC to confirm whether the image data has been saved; If it has been saved, the PC sends a data copy command to copy the image data stored in the designated storage space to the PC.

6. The vehicle-mounted instrument display test and analysis system according to claim 4, characterized in that: The reading of the image data stored in the designated storage space includes single reading, continuous reading and triggered reading; When a fault occurs on the display and the fault screen is retained, a single read mode is used; When the display is restored to the original screen after a fault occurs, the continuous reading method is adopted; According to the test task settings, data is read when the program is executed to a certain stage, and triggered reading is adopted.