A display failure analysis method, device, terminal equipment and storage medium for a display
By constructing a spatial rectangular coordinate system and projecting image pixel points, and calculating the overlap rate to determine the display failure, the misjudgment problem caused by brightness changes in the prior art is solved, and the accuracy of display failure detection is improved.
Patent Information
- Application Number
- CN202411003382.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-07-25
AI Technical Summary
When detecting a display splash screen, the prior art tends to cause misjudgment due to changes in the brightness of the displayed content, and it is impossible to accurately distinguish between display failure and switching of normal content.
By constructing a spatial rectangular coordinate system, using the image display time, pixel point position number and grayscale value, the pixel points to be evaluated and the standard image are projected into the coordinate system, and the overlap rate of the projected points is calculated to determine the display failure. Determine the fault type based on the projection point distribution.
It improves the accuracy of display fault detection, reduces interference from external environmental factors, and avoids misjudgment caused by sudden brightness changes.
Smart Images

Figure CN118553182B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a display failure analysis method, device, terminal equipment and storage medium of a display. Background Art
[0002] Monitors generally undergo a certain period of aging testing before leaving the factory. Testers pick out monitors with problems such as screen noise or screen flickering in order to eliminate display failures.
[0003] In the prior art, automatic detection of display screen flashing is mainly carried out by detecting the brightness of the displayed image. When the brightness of the displayed image changes suddenly, it is determined that the display screen flashes. However, in actual situations, some sudden changes in brightness are caused by changes in the displayed content itself. For example, in some display scenes on rainy nights, the displayed content may have images such as lightning. At this time, the entire display screen will suddenly change from dark to bright, and the brightness of the display will suddenly change. At that time, the display itself has no fault, but it is just a normal switch of the displayed content. If the above solution is adopted at this time, it will cause detection errors of display faults. Summary of the invention
[0004] The embodiments of the present invention provide a display fault analysis method, an apparatus, a terminal device and a storage medium of a display, which can improve the accuracy of display fault detection.
[0005] An embodiment of the present invention provides a display failure analysis method of a display, comprising: acquiring each frame image displayed by a display to be evaluated within a preset time length to obtain a plurality of images to be evaluated;
[0006] Obtaining a resolution of the display to be evaluated, determining a total number of pixels in the image to be evaluated according to the resolution, and then numbering each pixel in turn according to the total number of pixels and a position of each pixel in the image to be evaluated, to generate a position number for indicating a position of the pixel in the image to be evaluated;
[0007] A spatial rectangular coordinate system is constructed with the display time of the image as the Z axis, the position number of the pixel in the image as the Y axis, and the gray value of the pixel in the image as the X axis;
[0008] For each image to be evaluated, projecting each pixel in the image to be evaluated into the spatial rectangular coordinate system according to the display time of the image to be evaluated, the position number of each pixel in the image to be evaluated, and the gray value of each pixel in the image to be evaluated, and generating a plurality of first projection points in the spatial rectangular coordinate system;
[0009] Obtain a standard image corresponding to each image to be evaluated, and for each standard image, project each pixel in the standard image into the spatial rectangular coordinate system according to the display time of the standard image, the position number of each pixel in the standard image, and the grayscale value of each pixel in the standard image, and generate a plurality of second projection points in the spatial rectangular coordinate system; wherein the standard image is displayed by a display without display failure, and the screen content and display time are consistent with the corresponding image to be evaluated;
[0010] The overlap ratio of the first projection point and the second projection point in the spatial rectangular coordinate system is calculated, and when the overlap ratio is less than a first preset threshold, it is determined that a display failure occurs in the display to be evaluated.
[0011] Furthermore, the method further includes: when it is determined that the display to be evaluated has a display failure, determining the type of the failure according to the distribution of the first projection points in the spatial rectangular coordinate system.
[0012] Furthermore, the fault type is determined according to the distribution of the first projection points in the spatial rectangular coordinate system, including: if each of the first projection points is distributed in the first plane formed by the Z axis and the Y axis, then the fault type is determined to be a black screen.
[0013] Furthermore, the fault type is determined based on the distribution of the first projection points in the spatial rectangular coordinate system, including: if some of the first projection points are aggregated into a number of projection sections parallel to the second plane in the spatial rectangular coordinate system, and some of the first projection points are aggregated into a number of projection line segments parallel to the Y-axis in the spatial rectangular coordinate system, then the fault type is determined to be a screen flash; wherein the second plane is a plane formed by the Y-axis and the X-axis.
[0014] Furthermore, it also includes: when it is determined that the fault type is a flash screen, for each projection line segment, determining the coincidence of each first projection point in the projection line segment with the second projection point with the same position number;
[0015] Calculate the overlap rate of the projection line segment according to the overlap between each first projection point in the projection line segment and the second projection point with the same position number;
[0016] Eliminate the projection line segments whose overlap rate is greater than a second preset threshold, and use the remaining projection line segments as target projection line segments;
[0017] The frequency of the screen flashing is determined according to the difference in display time corresponding to each adjacent target projection line segment.
[0018] Further, determining the fault type according to the distribution of the first projection points in the spatial rectangular coordinate system includes:
[0019] If the first projection points are gathered into a number of projection sections parallel to the second plane in the spatial rectangular coordinate system, and there are abnormal first projection points in each projection section, and the position numbers of the abnormal first projection points between the projection sections are consistent, then the fault type is determined to be a flower screen; wherein the abnormal first projection point is: a first projection point that does not overlap with the corresponding second projection point.
[0020] Furthermore, it also includes: when it is determined that the fault type is a flower screen, extracting the position numbers of all first projection points with abnormalities in any projection section;
[0021] The positions of the pixels having abnormalities in the display to be evaluated are determined according to the position numbers of all the first projection points having abnormalities and the resolution of the display to be evaluated.
[0022] Based on the above method embodiment, the present invention provides a corresponding device embodiment;
[0023] An embodiment of the present invention provides a display fault analysis device for a display, comprising: an image acquisition module, a position encoding module, a coordinate system construction module, a first projection module, a second projection module and a fault determination module;
[0024] The image acquisition module is used to acquire each frame of image displayed by the display to be evaluated within a preset time length to obtain a plurality of images to be evaluated;
[0025] The position coding module is used to obtain the resolution of the display to be evaluated, determine the total number of pixels in the image to be evaluated according to the resolution, and then number each pixel in turn according to the total number of pixels and the position of each pixel in the image to be evaluated to generate a position number indicating the position of the pixel in the image to be evaluated;
[0026] The coordinate system construction module is used to construct a spatial rectangular coordinate system with the display time of the image as the Z axis, the position number of the pixel point in the image as the Y axis, and the gray value of the pixel point in the image as the X axis;
[0027] The first projection module is used for, for each image to be evaluated, projecting each pixel point in the image to be evaluated into the spatial rectangular coordinate system according to the display time of the image to be evaluated, the position number of each pixel point in the image to be evaluated, and the gray value of each pixel point in the image to be evaluated, and generating a plurality of first projection points in the spatial rectangular coordinate system;
[0028] The second projection module is used to obtain a standard image corresponding to each image to be evaluated, and for each standard image, project each pixel in the standard image into the spatial rectangular coordinate system according to the display time of the standard image, the position number of each pixel in the standard image, and the gray value of each pixel in the standard image, and generate a plurality of second projection points in the spatial rectangular coordinate system; wherein the standard image is displayed by a display without display failure, and the picture content and display time are consistent with the corresponding image to be evaluated;
[0029] The fault determination module is used to calculate the overlap rate of the first projection point and the second projection point in the spatial rectangular coordinate system, and when the overlap rate is less than a first preset threshold, determine that a display fault occurs in the display to be evaluated.
[0030] Based on the above method embodiment, the present invention provides another embodiment;
[0031] Another embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, it implements the display failure analysis method of the display provided by any one of the above method embodiments of the present application.
[0032] Based on the method embodiment of the present invention, another embodiment is provided:
[0033] Another embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the display failure analysis method of a display provided by any one of the above-mentioned method embodiments of the present invention.
[0034] The following beneficial effects are achieved by implementing the embodiments of the present invention:
[0035] An embodiment of the present invention provides a display fault analysis method, device, terminal device and storage medium for a display. The method comprises: for a plurality of images to be evaluated displayed by the display within a preset time period, for each image to be evaluated, firstly encoding the position of each pixel in the image to be evaluated to obtain a position number, and then constructing a spatial rectangular coordinate system with the display time of the image as the Z axis, the position number of the pixel in the image as the Y axis, and the grayscale value of the pixel in the image as the X axis. Since the image to be evaluated is position-encoded first, the pixel can be determined by a position number, and there is no need to determine the pixel by the horizontal and vertical coordinates. In this way, all the pixels of the image to be evaluated can be projected into the constructed three-dimensional coordinate system according to the display time, position number and grayscale value, and then all the standard images are also projected into the three-dimensional coordinate system. Ideally, if the display to be evaluated has not failed, then the grayscale values of all pixels of the image to be evaluated should be consistent with the grayscale values of the pixels of the corresponding standard image. In other words, if the display to be evaluated has not failed, then the projection points of all images to be evaluated in three-dimensional coordinates should coincide with the projection points of the corresponding standard image. Therefore, by calculating the coincidence rate of the first projection point and the second projection point in the spatial rectangular coordinate system, when the coincidence rate is less than the first preset threshold, it can be determined that the display to be evaluated has a display failure. Compared with the prior art, the present invention can determine whether the display to be evaluated has a display failure by judging the coincidence rate. Since the contents displayed by the image to be evaluated and the corresponding standard image are consistent, if the display has not failed, the mutations of the image to be evaluated and the standard image are also synchronized, so they will not be affected by the displayed contents, thereby improving the accuracy of display failure detection. In addition, since image acquisition is inevitably affected by external factors, if an image is affected by external light during acquisition, resulting in a change in brightness, if only a single image is compared one by one, when comparing the image affected by external light, it is easy to mistakenly determine that an abnormality has occurred in the display. In order to solve this problem, the present invention first encodes the pixel points in the image to obtain a position number, so that the position of the pixel point in the image can be represented by the position number as a parameter, so that a three-dimensional rectangular coordinate system can be constructed, and then the pixel values of the pixel points of multiple images to be evaluated of the display to be evaluated and the corresponding multiple standard images can be projected into the three-dimensional coordinate system. By calculating the overall overlap rate of all pixel points, the overall similarity between all images displayed by the display to be evaluated and all standard images can be compared as a whole, thereby reducing the interference of external environmental factors, thereby further improving the accuracy of fault detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is a flowchart of a display fault analysis method provided by an embodiment of the present invention.
[0037] Figure 2 It is a flowchart of a display fault analysis method provided by another embodiment of the present invention.
[0038] Figure 3 Another embodiment of the present invention provides a schematic diagram of the distribution of the first projection point in the space coordinate system when the screen is black.
[0039] Figure 4 It is a schematic diagram of the distribution of the first projection point in the space coordinate system when the screen is flashed according to another embodiment of the present invention.
[0040] Figure 5 It is a schematic diagram of the distribution of the first projection point in the space coordinate system when a flower screen is provided in another embodiment of the present invention.
[0041] Figure 6 It is a structural schematic diagram of a display failure analysis device of a display provided by an embodiment of the present invention.
[0042] Figure 7 It is a structural schematic diagram of a display failure analysis device of a display provided by another embodiment of the present invention. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0044] See also Figure 1 , is a flow chart of a display failure analysis method of a display provided by an embodiment of the present invention, comprising:
[0045] Step S101: Acquire each frame of image displayed by the display to be evaluated within a preset time period to obtain a plurality of images to be evaluated.
[0046] Specifically, the display to be evaluated can be controlled to play a video of a preset length, and then the display screen displayed by the display to be evaluated can be captured by an external camera device to obtain several frames of images, thereby obtaining the above-mentioned image to be evaluated. The optional image to be evaluated is not a pure color image.
[0047] Step S102: Obtain the resolution of the display to be evaluated, determine the total number of pixels in the image to be evaluated according to the resolution, and then number each pixel in sequence according to the total number of pixels and the position of each pixel in the image to be evaluated, and generate a position number for indicating the position of the pixel in the image to be evaluated.
[0048] Specifically, in order to solve the problem that the form of comparing single images one by one is easily affected by the external environment, the present invention needs to compare all the images to be evaluated as a whole and another whole formed by all standard images in the future to determine the overall similarity. In order to determine the overall similarity, the present invention creatively uses the spatial projection method to project the pixel values of the pixels of all the images to be evaluated into a three-dimensional coordinate system, and a problem will arise at this time. Usually, the position of the pixel point is represented by its horizontal and vertical coordinates in the rectangular coordinate system, that is, two parameters are required for representation. In order to distinguish images of different frames, a time dimension parameter, that is, the display time, is required for distinction. In addition, in order to represent the grayscale value of each pixel point in the same image, a parameter is also required for representation. If the position of the pixel point is not re-encoded, then 4 parameters are required to accurately describe the attributes of each pixel point in space, and it is impossible in a three-dimensional state. In order to solve this problem, the present application creatively proposes a simple new position encoding method, which can identify the position of the pixel point in the image by one parameter, so that the pixel points of all images can be projected by three-dimensional coordinates later.
[0049] The specific method is: first obtain the resolution of the display to be evaluated, and determine the number of rows and columns of pixels of the display to be evaluated through the resolution of the display to be evaluated, and also calculate the total number of pixels; it should be noted that the image to be evaluated in the present application is an image of the content displayed on the display, and the number of rows, columns and total number of pixels are consistent with the pixels in the display to be evaluated;
[0050] After determining the total number of pixels of the display to be evaluated, the pixels can be numbered in order from top to bottom and from left to right. For example, assuming that the resolution of the display to be evaluated is 1920x1080, it has 1920 columns and 1080 rows, and the total number of pixels is 2073600. Then the position number of the pixel in the first row and first column can be 1, the position number of the pixel in the first row and second column can be 2, the position number of the pixel in the first row and third column can be 3, and so on. The position number of the pixel in the first row and 1920th column can be 1920, and the position number of the pixel in the second row and first column can be 1920. The position number can be 1921, the position number of the pixel in the second row and second column is 1922, the position number of the pixel in the second row and third column is 1923... The position number of the pixel in the second row and 1920 column is 39840... and so on. The position number of the pixel in the last row and last column is 2073600; thereby, the position number of the pixel in the image to be evaluated can be generated; subsequently, after obtaining the position code of any pixel, the resolution can be used to reversely determine the row and column of the pixel, and then determine the position.
[0051] Step S103: construct a spatial rectangular coordinate system with the display time of the image as the Z axis, the position number of the pixel in the image as the Y axis, and the gray value of the pixel in the image as the X axis.
[0052] Specifically, the display time of the image can be used to determine which frame of the multiple images it is, the position number can be used to determine the pixel position in the image, and the grayscale value can be used to determine the brightness of the pixel. Through the parameters of these three dimensions, all the pixels of the image can be projected into a three-dimensional coordinate system based on the grayscale value of each pixel in each frame of the image. It should be noted that the grayscale value of the pixel in the image can be determined by first extracting the RGB value of each pixel in the image, and then calculating the grayscale value of the pixel based on the RGB value.
[0053] Step S104: for each image to be evaluated, according to the display time of the image to be evaluated, the position number of each pixel in the image to be evaluated, and the gray value of each pixel in the image to be evaluated, each pixel in the image to be evaluated is projected into the spatial rectangular coordinate system, and a plurality of first projection points are generated in the spatial rectangular coordinate system;
[0054] Specifically, for each image to be evaluated, as well as the display time of the image to be evaluated, the position number of each pixel in the image, and the grayscale value, all pixels of the image to be evaluated can be projected into the spatial rectangular coordinate system constructed in step S103 to form a plurality of first projection points in the spatial rectangular coordinate system.
[0055] Step S105: obtaining a standard image corresponding to each image to be evaluated, and for each standard image, projecting each pixel in the standard image into the spatial rectangular coordinate system according to the display time of the standard image, the position number of each pixel in the standard image, and the grayscale value of each pixel in the standard image, and generating a plurality of second projection points in the spatial rectangular coordinate system; wherein the standard image is displayed by a display without display failure, and the picture content and display time are consistent with the corresponding image to be evaluated;
[0056] Specifically, a display with the same model as the display to be evaluated and without any faults can be used to broadcast a video with the same content as the display to be evaluated, and then an external camera device can be used to capture images to obtain each frame of standard images. Each frame of standard images is matched one by one with the image to be evaluated with the same content. After obtaining several frames of standard images, the pixel points of all standard images are projected into the spatial coordinate system according to the same method to form several second projection points in the spatial coordinate system.
[0057] Step S106: Calculate the overlap ratio of the first projection point and the second projection point in the spatial rectangular coordinate system, and when the overlap ratio is less than a first preset threshold, determine that a display failure occurs in the display to be evaluated.
[0058] Specifically, the number of overlapping first projection points and second projection points is calculated, and then divided by the total number of projections to obtain the overlap; then the overlap rate is compared with the pre-set first preset threshold. If the overlap rate is too low, it means that there are many pixel grayscale values inconsistent between the image displayed by the display to be evaluated and the standard image points, then it is determined that the display to be evaluated has a display failure. It should be noted that the above-mentioned first preset threshold can be determined according to the actual detection accuracy, and one can be schematically selected from the range of 80%-100%. For example, 90% is selected as the above-mentioned first preset threshold. When the overlap rate is less than 90%, it can be determined that the display to be evaluated has a display failure, otherwise it is determined that the display to be evaluated is displaying normally.
[0059] like Figure 2 As shown, in a preferred embodiment, the display fault analysis method further includes step S107: when it is determined that the display to be evaluated has a display fault, the fault type is determined according to the distribution of the first projection point in the spatial rectangular coordinate system.
[0060] Specifically, after determining that the display to be evaluated has a display failure, the corresponding fault type can be determined in combination with the distribution of the first projection point in the spatial rectangular coordinate system. In the present invention, three display failures, namely, black screen, flickering screen and distorted screen, are identified;
[0061] In a preferred embodiment, determining the fault type according to the distribution of the first projection points in the spatial rectangular coordinate system includes:
[0062] If all of the first projection points are distributed in the first plane formed by the Z axis and the Y axis, it is determined that the fault type is a black screen.
[0063] Indicative, such as Figure 3 As shown, if the display to be evaluated has a black screen failure, the grayscale values of all pixels in the collected image to be evaluated are 0. At this time, all the first projection points 1 will be gathered on the first plane formed by the Z axis and the Y axis, that is, plane Y0Z. At this time, it can be determined that the display to be evaluated has a black screen failure.
[0064] In a preferred embodiment, if some of the first projection points are gathered into a number of projection sections parallel to the second plane in the spatial rectangular coordinate system, and some of the first projection points are gathered into a number of projection line segments parallel to the Y-axis in the spatial rectangular coordinate system, then the fault type is determined to be a screen flash; wherein the second plane is the plane formed by the Y-axis and the X-axis.
[0065] Indicatively Figure 4 As shown, if the display to be evaluated has a screen flashing fault, the brightness will suddenly change when the screen flashes, for example, the screen suddenly becomes blank, and the grayscale values of all pixels will instantly change to 255. At this time, all the first projection points at the moment of the screen flashing will be arranged linearly in the spatial rectangular coordinate system, forming a projection line segment 3 parallel to the Y axis, while the grayscale values of the pixels at the moment of the screen not flashing are different. The first projection points at the same moment will be arranged in a plane in the spatial rectangular coordinate system, forming a projection section 2 parallel to the second plane, that is, plane Y0X; the screen flashing picture and the normal picture appear alternately, and multiple projection sections and multiple projection line segments will appear in the spatial rectangular coordinate system, that is, it will form Figure 4 According to the distribution situation shown, it can be determined that the display to be evaluated has a screen flickering failure.
[0066] In a preferred embodiment, the method further includes: when it is determined that the fault type is a flash screen, for each projection line segment, determining the coincidence of each first projection point in the projection line segment with a second projection point with the same position number;
[0067] Calculate the overlap rate of the projection line segment according to the overlap between each first projection point in the projection line segment and the second projection point with the same position number;
[0068] Eliminate the projection line segments whose overlap rate is greater than a second preset threshold, and use the remaining projection line segments as target projection line segments;
[0069] The frequency of the screen flashing is determined according to the difference in display time corresponding to each adjacent target projection line segment.
[0070] Specifically, after determining the flash screen, the frequency of the flash screen can be further identified. First, for all the projection line segments, determine the overlap of each first projection point in the projection line segment with the second projection point with the same position number, and then calculate the overlap rate of the projection line segment. For example, there are 2073600 first projection points on the projection line segment, of which 207360 overlap with the corresponding second projection point, then the overlap rate of the projection line segment is 10%; according to the overlap rate of the projection line segment, the projection line segment with an overlap rate greater than the second preset threshold is eliminated. In the present invention, if the overlap rate is greater than the second preset threshold, it means that the image to be evaluated at this moment is basically the same as the standard image. At this time, it means that the formation of this projection line segment is caused by the sudden change of the screen display content, not the flash screen, and it is eliminated at this time. After elimination, all the remaining projection line segments are caused by the flash screen, and then the projection line segment caused by the flash screen is used as the target projection line segment. According to the difference in display time corresponding to each adjacent target projection line segment, the frequency of the flash screen can be determined.
[0071] In a preferred embodiment, if the first projection points are gathered into a number of projection sections parallel to the second plane in the spatial rectangular coordinate system, and there are abnormal first projection points in each projection section, and the position numbers of the abnormal first projection points between the projection sections are consistent, then the fault type is determined to be a flower screen; wherein the abnormal first projection point is: a first projection point that does not overlap with the corresponding second projection point.
[0072] Indicative, such as Figure 5 As shown in FIG. 1 , if the display to be evaluated has a screen failure, there will be an abnormal grayscale value point 4 on each projection section. If the grayscale value is abnormal, the first projection point does not coincide with the corresponding second projection point, and the position numbers of these abnormal first projection points on each projection section are consistent, that is, a grayscale value abnormal point 4 will be formed. Figure 5 The situation shown, Figure 5 The point circled in each projection section is the abnormal first projection point. It can be seen that the two first projection points of each circle are in the same position on different projection sections, that is, the position numbers are also consistent. At this time, it can be determined that the display to be evaluated has a screen failure.
[0073] In a preferred embodiment, when it is determined that the fault type is a screen distortion, the position numbers of all first projection points with abnormalities in any projection section are extracted;
[0074] The positions of the pixels having abnormalities in the display to be evaluated are determined according to the position numbers of all the first projection points having abnormalities and the resolution of the display to be evaluated.
[0075] Specifically, the position number of the abnormal first projection point can be extracted from any projection section; after the position number is extracted, the position of the pixel point corresponding to the abnormal first projection point in the display to be evaluated is reversely determined in the display to be evaluated in combination with the resolution of the display to be evaluated and the numbering method in the above step S102.
[0076] Based on the above method embodiment, a corresponding device embodiment is provided;
[0077] like Figure 6 As shown, another embodiment of the present invention provides a display fault analysis device for a display, comprising: an image acquisition module, a position encoding module, a coordinate system construction module, a first projection module, a second projection module and a fault determination module;
[0078] The image acquisition module is used to acquire each frame of image displayed by the display to be evaluated within a preset time length to obtain a plurality of images to be evaluated;
[0079] The position coding module is used to obtain the resolution of the display to be evaluated, determine the total number of pixels in the image to be evaluated according to the resolution, and then number each pixel in turn according to the total number of pixels and the position of each pixel in the image to be evaluated to generate a position number indicating the position of the pixel in the image to be evaluated;
[0080] The coordinate system construction module is used to construct a spatial rectangular coordinate system with the display time of the image as the Z axis, the position number of the pixel point in the image as the Y axis, and the gray value of the pixel point in the image as the X axis;
[0081] The first projection module is used for, for each image to be evaluated, projecting each pixel point in the image to be evaluated into the spatial rectangular coordinate system according to the display time of the image to be evaluated, the position number of each pixel point in the image to be evaluated, and the gray value of each pixel point in the image to be evaluated, and generating a plurality of first projection points in the spatial rectangular coordinate system;
[0082] The second projection module is used to obtain a standard image corresponding to each image to be evaluated, and for each standard image, project each pixel in the standard image into the spatial rectangular coordinate system according to the display time of the standard image, the position number of each pixel in the standard image, and the gray value of each pixel in the standard image, and generate a plurality of second projection points in the spatial rectangular coordinate system; wherein the standard image is displayed by a display without display failure, and the picture content and display time are consistent with the corresponding image to be evaluated;
[0083] The fault determination module is used to calculate the overlap rate of the first projection point and the second projection point in the spatial rectangular coordinate system, and when the overlap rate is less than a first preset threshold, determine that a display fault occurs in the display to be evaluated.
[0084] like Figure 7 As shown, another embodiment of the present invention provides a display fault analysis device for a display, further comprising a fault type determination module, wherein the fault type determination module is used to determine the fault type according to the distribution of the first projection point in the spatial rectangular coordinate system when it is determined that a display fault occurs on the display to be evaluated.
[0085] It can be understood that the above-mentioned device item embodiments correspond to the method item embodiments of the present invention, and can implement the display fault analysis method of the display provided by any one of the above-mentioned method item embodiments of the present invention.
[0086] It should be noted that the device embodiments described above are merely schematic, wherein the units / modules described as separate components may or may not be physically separated, and the components displayed as units / modules may or may not be physical units / modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without creative work. The schematic diagram is only an example of a display fault analysis device for a display, and does not constitute a limitation on the display fault analysis device for a display, and may include more or fewer components than shown in the figure, or a combination of certain components, or different components.
[0087] Based on the above method embodiment, another embodiment is provided;
[0088] Another embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, it implements the display failure analysis method of a display provided by any one of the above-mentioned method embodiments of the present invention.
[0089] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the terminal device.
[0090] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art may understand that, for example, the terminal device may also include an input / output device, a network access device, a bus, etc.
[0091] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device.
[0092] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the terminal device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound display function, an image display function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0093] Based on the above-mentioned embodiments of the invention, a corresponding storage medium embodiment is provided;
[0094] Another embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the display failure analysis method of a display provided by any one of the above-mentioned method embodiments of the present invention.
[0095] Wherein, the storage medium is a computer storage medium, and the module / unit integrated in the device / terminal equipment can be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as an independent product. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium can include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0096] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A display failure analysis method for a display, characterized in that: include: Acquire each frame of images displayed by the display to be evaluated within a preset time length to obtain a number of images to be evaluated; Obtaining a resolution of the display to be evaluated, determining a total number of pixels in the image to be evaluated according to the resolution, and then numbering each pixel in turn according to the total number of pixels and a position of each pixel in the image to be evaluated, to generate a position number for indicating a position of the pixel in the image to be evaluated; A spatial rectangular coordinate system is constructed with the display time of the image as the Z axis, the position number of the pixel in the image as the Y axis, and the gray value of the pixel in the image as the X axis; For each image to be evaluated, projecting each pixel in the image to be evaluated into the spatial rectangular coordinate system according to the display time of the image to be evaluated, the position number of each pixel in the image to be evaluated, and the gray value of each pixel in the image to be evaluated, and generating a plurality of first projection points in the spatial rectangular coordinate system; Obtain a standard image corresponding to each image to be evaluated, and for each standard image, project each pixel in the standard image into the spatial rectangular coordinate system according to the display time of the standard image, the position number of each pixel in the standard image, and the grayscale value of each pixel in the standard image, and generate a plurality of second projection points in the spatial rectangular coordinate system; wherein the standard image is displayed by a display without display failure, and the screen content and display time are consistent with the corresponding image to be evaluated; The overlap ratio of the first projection point and the second projection point in the spatial rectangular coordinate system is calculated, and when the overlap ratio is less than a first preset threshold, it is determined that a display failure occurs in the display to be evaluated.
2. The display failure analysis method of a display according to claim 1, characterized in that: Also includes: When it is determined that a display failure occurs on the display to be evaluated, the type of the failure is determined according to the distribution of the first projection points in the spatial rectangular coordinate system.
3. The display failure analysis method of a display as claimed in claim 2, characterized in that: Determining the fault type according to the distribution of the first projection points in the spatial rectangular coordinate system includes: If all of the first projection points are distributed in the first plane formed by the Z axis and the Y axis, it is determined that the fault type is a black screen.
4. The display failure analysis method of a display as claimed in claim 2, characterized in that: Determining the fault type according to the distribution of the first projection points in the spatial rectangular coordinate system includes: If some of the first projection points are gathered into a number of projection sections parallel to the second plane in the spatial rectangular coordinate system, and some of the first projection points are gathered into a number of projection line segments parallel to the Y-axis in the spatial rectangular coordinate system, then the fault type is determined to be a screen flash; wherein the second plane is the plane formed by the Y-axis and the X-axis.
5. The display failure analysis method of a display according to claim 4, characterized in that: Also includes: When it is determined that the fault type is a flash screen, for each projection line segment, determining the coincidence of each first projection point in the projection line segment with a second projection point with the same position number; Calculate the overlap rate of the projection line segment according to the overlap between each first projection point in the projection line segment and the second projection point with the same position number; Eliminate the projection line segments whose overlap rate is greater than a second preset threshold, and use the remaining projection line segments as target projection line segments; The frequency of the screen flashing is determined according to the difference in display time corresponding to each adjacent target projection line segment.
6. The display failure analysis method of a display according to claim 4, characterized in that: Determining the fault type according to the distribution of the first projection points in the spatial rectangular coordinate system includes: If the first projection points are gathered into a number of projection sections parallel to the second plane in the spatial rectangular coordinate system, and there are abnormal first projection points in each projection section, and the position numbers of the abnormal first projection points between the projection sections are consistent, then the fault type is determined to be a flower screen; wherein the abnormal first projection point is: a first projection point that does not overlap with the corresponding second projection point.
7. The display failure analysis method of a display according to claim 6, characterized in that: Also includes: When it is determined that the fault type is a flower screen, the position numbers of all the first projection points with abnormalities in any projection section are extracted; The positions of the pixels having abnormalities in the display to be evaluated are determined according to the position numbers of all the first projection points having abnormalities and the resolution of the display to be evaluated.
8. A display failure analysis device for a display, characterized in that: include: An image acquisition module, a position encoding module, a coordinate system construction module, a first projection module, a second projection module and a fault determination module; The image acquisition module is used to acquire each frame of image displayed by the display to be evaluated within a preset time length to obtain a plurality of images to be evaluated; The position coding module is used to obtain the resolution of the display to be evaluated, determine the total number of pixels in the image to be evaluated according to the resolution, and then number each pixel in turn according to the total number of pixels and the position of each pixel in the image to be evaluated to generate a position number indicating the position of the pixel in the image to be evaluated; The coordinate system construction module is used to construct a spatial rectangular coordinate system with the display time of the image as the Z axis, the position number of the pixel point in the image as the Y axis, and the gray value of the pixel point in the image as the X axis; The first projection module is used for, for each image to be evaluated, projecting each pixel point in the image to be evaluated into the spatial rectangular coordinate system according to the display time of the image to be evaluated, the position number of each pixel point in the image to be evaluated, and the gray value of each pixel point in the image to be evaluated, and generating a plurality of first projection points in the spatial rectangular coordinate system; The second projection module is used to obtain a standard image corresponding to each image to be evaluated, and for each standard image, project each pixel in the standard image into the spatial rectangular coordinate system according to the display time of the standard image, the position number of each pixel in the standard image, and the gray value of each pixel in the standard image, and generate a plurality of second projection points in the spatial rectangular coordinate system; wherein the standard image is displayed by a display without display failure, and the picture content and display time are consistent with the corresponding image to be evaluated; The fault determination module is used to calculate the overlap rate of the first projection point and the second projection point in the spatial rectangular coordinate system, and when the overlap rate is less than a first preset threshold, determine that a display fault occurs in the display to be evaluated.
9. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the display failure analysis method of a display according to any one of claims 1 to 7 when executing the computer program.
10. A storage medium, characterized in that: The storage medium includes a stored computer program, wherein when the computer program is executed, the device where the storage medium is located is controlled to execute the display failure analysis method of a display according to any one of claims 1 to 7.
