A method, device, medium and program product for testing electronic paper display effect
By comparing the display effects of the comparison electronic paper and the electronic paper to be tested under the same test environment, calculating the display deviation value, and verifying it with standard reference images, the problem of environmental light changes affecting the test results is solved, and efficient and accurate electronic paper display effect testing is achieved.
Patent Information
- Application Number
- CN202411669398.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-21
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2044-11-21
AI Technical Summary
In the prior art, the test results of the electronic paper display effect are affected by changes in ambient light, resulting in unstable measurement results, affecting the testing efficiency and accuracy.
By comparing the same test images of the control electronic paper and the electronic paper to be tested under the same test environment, the display deviation value of the differential feature pixels is calculated, and the display effect is judged whether the display effect is qualified, and two-fold verification is performed through the standard reference image.
Eliminate the impact of environmental factors on test results, improve the accuracy and reliability of the test, simplify the test process, and improve the testing efficiency of electronic paper.
Smart Images

Figure FT_1 
Figure FT_2 
Figure FT_3
Abstract
Description
Technical Field
[0001] The present application relates to the field of control of static display devices, and in particular to a method, device, medium and program product for testing the display effect of electronic paper. Background Art
[0002] With the popularity of electronic reading devices, electronic paper display technology has been widely used due to its paper-like display effect and low power consumption. In the production process of electronic paper products, display effect testing and quality control are key links to ensure product consistency.
[0003] In related technologies, the test of electronic paper display effects is usually measured using professional optical instruments. These test methods use devices such as colorimeter or spectrophotometer to sample and measure multiple test points on the display screen to obtain parameter data such as brightness, contrast, and chromaticity. Testers compare these data with preset standard parameters to determine whether the display effect is qualified.
[0004] However, since changes in ambient lighting conditions can affect the accuracy of measurement results, even if the same test equipment and methods are used, there will be differences in the test data obtained at different times or in different environments. Frequent environmental adjustments and retests will affect test efficiency. Summary of the invention
[0005] The present application provides a method, device, medium and program product for testing the display effect of electronic paper, which are used to improve the testing efficiency of electronic paper.
[0006] In a first aspect, the present application provides a method for testing the display effect of an electronic paper, which is applied to a testing device, and the method includes: sending a test instruction to a control electronic paper and an electronic paper to be tested, so that the control electronic paper and the electronic paper to be tested display the same test image; the control electronic paper and the electronic paper to be tested are in the same test environment; obtaining a test reference image of the control electronic paper and a target test image of the electronic paper to be tested; determining the difference feature pixels on the target test image that are different from the test reference image; calculating a display deviation value of the electronic paper to be tested based on the difference feature pixels; when the display deviation value is lower than a display deviation threshold, a test pass mark is set for binding the test image to the electronic paper to be tested.
[0007] In the above embodiment, the testing device eliminates the influence of environmental factors on the test results by comparing the effects of the same test image displayed by the control electronic paper and the electronic paper to be tested under the same test environment, and calculates the difference characteristics between the two, thereby improving the accuracy and reliability of the test. At the same time, no equipment such as a colorimeter or a spectrophotometer is required, which simplifies the test process and improves the testing efficiency of the electronic paper.
[0008] In combination with some embodiments of the first aspect, in some embodiments, there are multiple test images, each test image corresponds to a test pass mark; when the display deviation value is lower than the display deviation threshold, after the step of binding the test pass mark of the test image to the electronic paper to be tested, the method also includes: after determining that the electronic paper to be tested is bound with the test pass marks of all test images, displaying the test completion information of the electronic paper to be tested; determining the number of control tests for the control electronic paper; the number of control tests is the number of rounds in which the control electronic paper displays all test images; when the number of control tests is equal to or greater than the aging test limit, replacing the control electronic paper with the electronic paper to be tested, and using the electronic paper to be tested as the new control electronic paper, continuing the display test of other electronic papers to be tested.
[0009] In the above embodiment, the testing device ensures the consistency of the testing standard by timely replacing the reference electronic paper, avoids the testing deviation caused by the performance degradation of the reference electronic paper, and improves the accuracy and efficiency of batch testing.
[0010] In combination with some embodiments of the first aspect, in some embodiments, after the step of determining the number of control tests of the control electronic paper, the method also includes: when the number of control tests is less than the aging test limit, obtaining multiple historical reference images of the control electronic paper when the same test image is displayed in different test rounds; calculating multiple image feature parameters of the multiple historical reference images, and determining a performance attenuation curve of the control electronic paper based on the multiple image feature parameters; and determining the aging test limit of the control electronic paper according to the performance attenuation curve.
[0011] In the above embodiment, the testing device achieves accurate evaluation of the service life of the control electronic paper by analyzing the performance decay curve of the control electronic paper in different test rounds, optimizes the replacement cycle of the control electronic paper, and ensures the reliability of the test results.
[0012] In combination with some embodiments of the first aspect, in some embodiments, after the step of calculating the display deviation value of the electronic paper to be tested based on the difference feature pixels, the method also includes: determining the current test image when the display deviation value is equal to or higher than the display deviation threshold; obtaining test environment information, and determining the standard reference image corresponding to the current test image under the test environment information; respectively calculating the control deviation value between the test reference image and the standard reference image, and the test deviation value between the target test image and the standard reference image; when the control deviation value is lower than the test deviation value, marking the test failure of the test image bound to the electronic paper to be tested.
[0013] In the above embodiment, the test device introduces a standard reference image as a judgment basis and performs in-depth analysis when the display deviation exceeds the standard, thereby achieving double verification of the test results, improving the accuracy of the test results, and avoiding misjudgment.
[0014] In combination with some embodiments of the first aspect, in some embodiments, after the steps of respectively calculating the control deviation value between the test reference image and the standard reference image, and the test deviation value between the target test image and the standard reference image, the method further includes: when the control deviation value is equal to or higher than the test deviation value, binding the test pass mark of the test image to the electronic paper to be tested; replacing the control electronic paper with a spare electronic paper, and continuing the display test of the electronic paper to be tested on other test images.
[0015] In the above embodiment, the testing device ensures the continuity of the test standard, improves the test efficiency, and ensures the reliability of the test result by timely replacing the control electronic paper with a qualified spare electronic paper when the performance of the control electronic paper decays.
[0016] In combination with some embodiments of the first aspect, in some embodiments, after the step of binding a test pass mark for the test image to be tested to the electronic paper to be tested when the control deviation value is equal to or higher than the test deviation value, the method also includes: when the number of control tests of the control electronic paper is less than the aging test limit, binding an aging fail mark to the control electronic paper; and recording the current test image as an error image of the control electronic paper.
[0017] In the above embodiment, the testing device establishes a performance degradation tracking mechanism by recording the error image of the control electronic paper, which is helpful for analyzing the performance characteristics of the electronic paper and optimizing the testing scheme.
[0018] In combination with some embodiments of the first aspect, in some embodiments, the step of calculating the display deviation value of the electronic paper to be tested based on the difference feature pixels specifically includes: performing regional clustering analysis on the difference feature pixels on the target test image to obtain multiple difference feature regions; using the corresponding pixel regions on the test reference image as a comparison basis, respectively calculating the brightness deviation value, chromaticity deviation value and contrast deviation value of each difference feature region; based on a preset weight coefficient, performing weighted summation on the brightness deviation value, chromaticity deviation value and contrast deviation value to obtain the regional deviation value of each difference feature region; determining the display deviation value according to the area size of each difference feature region and the corresponding regional deviation value.
[0019] In the above embodiment, the testing device achieves a comprehensive evaluation of the display effect by performing regional clustering analysis on the difference feature pixels and combining multiple evaluation dimensions, and can effectively identify display defects.
[0020] In a second aspect, an embodiment of the present application provides a testing device, which includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the testing device to execute the method described in the first aspect and any possible implementation method of the first aspect.
[0021] In a third aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when the computer program product is run on a test device, enables the test device to execute the method described in the first aspect and any possible implementation of the first aspect.
[0022] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, comprising instructions, which, when executed on a test device, enable the test device to execute the method described in the first aspect and any possible implementation of the first aspect.
[0023] It is understandable that the test device provided in the second aspect, the computer program product provided in the third aspect, and the computer storage medium provided in the fourth aspect are all used to execute the method provided in the embodiment of the present application. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method, which will not be repeated here.
[0024] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0025] 1. Since the control e-paper and the e-paper to be tested are compared under the same test environment, and the display deviation value is calculated by the difference feature pixels, the influence of environmental factors on the test results can be eliminated, which effectively solves the problem of unstable test results caused by relying solely on professional optical instruments in related technologies, thereby achieving objectivity and repeatability of the test results, while improving test efficiency and reducing test costs.
[0026] 2. Since a standard reference image is used as the evaluation benchmark and double verification is performed by calculating the control deviation value and the test deviation value, the cause of abnormal display effect can be accurately determined, effectively solving the problem in related technologies that inaccurate test results cannot be distinguished whether it is a problem with the control e-paper or a problem with the e-paper to be tested, thereby achieving reliability and accuracy of the test results.
[0027] 3. Due to the use of the control electronic paper aging test and error image recording method, the control electronic paper with performance degradation can be discovered and replaced in time, which effectively solves the problem of inconsistent batch test results caused by unstable control standards in related technologies, thereby achieving the continuity and consistency of test standards. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a flow chart of a method for testing the display effect of electronic paper in an embodiment of the present application;
[0029] Figure 2 is another flow chart of the method for testing the display effect of electronic paper in an embodiment of the present application;
[0030] Figure 3 It is a schematic diagram of a physical device structure of a test device in an embodiment of the present application. DETAILED DESCRIPTION
[0031] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification of the present application, the singular expressions "one", "a kind of", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to any or all possible combinations comprising one or more of the listed items.
[0032] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0033] For ease of understanding, the characteristics of the electronic paper involved in this application are first introduced below.
[0034] Electronic paper (E-paper or Electronic paper) is a display technology that simulates the display effect of paper. It is also known as electronic ink display (E-ink display) in the industry. This display technology has many unique characteristics: it uses a bistable display principle, which means that power is only required when the display content is changed; it uses a reflective display method, that is, similar to paper, it uses ambient light reflection to display content; it has extremely low power consumption characteristics and consumes almost no power in a static display state. It is precisely because electronic paper uses a reflective display principle and mainly relies on ambient light to display content, which makes its display effect under different ambient lighting conditions have significant differences: changes in ambient light intensity will affect display brightness, changes in light angle will affect contrast, and fluctuations in ambient temperature will also affect the display effect. These environmental factors will not only affect the display effect, but also affect the measurement results, because the measuring instrument is very sensitive to ambient light. Therefore, even if the same test equipment and methods are used, if the test is performed at different times or under different environmental conditions, the test data obtained will often be different. In order to ensure the accuracy and repeatability of the measurement results, it is usually necessary to test under strictly controlled standardized environmental conditions.
[0035] The application scenarios of the embodiments of the present application are introduced below.
[0036] On the production line of a large e-book reader manufacturer, thousands of electronic paper display devices need to be tested every day. Traditional manual visual inspection methods are inefficient and highly subjective, while the use of professional optical instruments to measure one by one is affected by changes in ambient light, resulting in unstable test results. For example, in an 8-hour work shift, the test results of the same batch of electronic paper in the morning and noon when the sunlight intensity is different are different, which not only causes a large number of repeated tests, but also easily leads to misjudgment.
[0037] In related technologies, the quality evaluation of electronic paper display effects can be achieved by using professional optical instruments to perform sampling and analysis on multiple test points of the electronic paper display screen, and obtaining parameter data such as brightness, contrast, and chromaticity through devices such as colorimeter or spectrophotometer. The following introduces the scenarios of using the electronic paper display effect test method in related technologies.
[0038] An electronic paper manufacturer uses professional colorimeter and spectrophotometer to test display effects. Testers need to sample and measure multiple test points of each device in a darkroom environment with constant temperature and humidity, record parameter data such as brightness and contrast, and then compare them with preset standard parameters. However, the test method has high requirements and high costs, and it still cannot effectively avoid the problem of different test results caused by environmental changes.
[0039] By using the control test method in the embodiment of the present application, the control electronic paper and the electronic paper to be tested are tested simultaneously in the same environment, and the display difference is analyzed based on the image processing technology, so as to achieve a relative evaluation of the display effect and eliminate the influence of environmental factors. The following introduces the scenario in which the test method of the electronic paper display effect in the present application is used.
[0040] The electronic paper production line using the solution of the present application is equipped with a stable control electronic paper and an image acquisition system. When a new electronic paper needs to be tested, the system sends the same test image to the control electronic paper and the electronic paper to be tested at the same time, collects the display effect under exactly the same environmental conditions, and calculates the difference through the image analysis algorithm. For example, during the test, even if the ambient light changes, since the control electronic paper and the electronic paper to be tested are affected at the same time, the relative display effect difference remains stable, thereby ensuring the reliability of the test results.
[0041] It can be seen that by adopting the differentiated testing scheme in the embodiment of the present application, while achieving objective evaluation of the electronic paper display effect, it can also effectively solve the problem of test instability caused by environmental changes, while improving test efficiency and effectively controlling costs.
[0042] For ease of understanding, the following describes the process of the method provided by this implementation in combination with the above scenario. Figure 1 , is a flow chart of a method for testing the display effect of electronic paper in an embodiment of the present application.
[0043] S101 : Sending a test instruction to a control electronic paper and an electronic paper to be tested, so that the control electronic paper and the electronic paper to be tested display the same test image.
[0044] Among them, the control electronic paper refers to a qualified electronic paper device used as a test benchmark; the electronic paper to be tested refers to an electronic paper device that needs to be tested for display effect; the test image refers to a standardized image content used to evaluate the display effect, and the test image may include multiple images of various types such as solid color images, grayscale images, text images, etc.
[0045] The test device performs this step when starting the electronic paper display effect test. Specifically, the test device first ensures that the control electronic paper and the electronic paper to be tested are in the same test environment, then generates a test instruction containing test image information, and sends the test instruction to the control electronic paper and the electronic paper to be tested simultaneously through the communication interface, so that the two devices synchronously display exactly the same test image content.
[0046] In some embodiments, the sending of test instructions and image display can be achieved in a variety of ways: optionally, the test device can establish a wireless connection with the electronic paper, encode the test image into a display instruction, send the instruction through a wireless channel, and confirm the reception status of the electronic paper; optionally, the test device can establish a connection with the electronic paper through a USB interface, write the test image data directly into the display cache, trigger the display refresh, and verify the display status. It is understandable that other communication methods and display control methods can also be used to achieve the synchronous display of the test image, which is not limited here.
[0047] S102: Acquire a test reference image of the control electronic paper and a target test image of the electronic paper to be tested.
[0048] The test reference image represents the acquisition result of the image content currently displayed by the control electronic paper; the target test image refers to the acquisition result of the image content currently displayed by the electronic paper to be tested.
[0049] The test device performs this step after confirming that the two electronic papers have completed the display of the test image. Specifically, the test device first adjusts the position and parameter settings of the image acquisition device to ensure that the acquisition conditions are consistent, and then respectively acquires images of the contents displayed on the control electronic paper and the electronic paper to be tested, and pre-processes and converts the format of the acquired image data to finally obtain a standardized test reference image and a target test image for subsequent analysis. The image acquisition device is a device that can convert display content into digital signals, such as an industrial camera, a scanner, etc. In some embodiments, the control electronic paper and the electronic paper to be tested can be placed on the same test platform, and image acquisition is performed on the contents displayed on the control electronic paper and the electronic paper to be tested at the same time.
[0050] S103: Determine the difference feature pixels on the target test image that are different from the test reference image.
[0051] Among them, the difference feature pixels indicate that there are obviously different pixels at corresponding positions in the two images.
[0052] The test device performs this step after completing image acquisition. Specifically, the test device first performs pixel-level alignment on the test reference image and the target test image, then calculates the difference value of each pixel through the image processing algorithm, selects pixels with obvious differences according to the preset difference judgment criteria, and finally marks these difference pixels and records their position information and difference feature data.
[0053] In some embodiments, the determination of difference feature pixels can be achieved in a variety of ways: Optionally, the test device can calculate the Euclidean distance of pixel values, set a difference threshold, mark pixels exceeding the threshold, and cluster analyze the difference area; Optionally, the test device can calculate the statistical features of the local area, compare the feature differences, determine the abnormal area, and extract the difference features. It is understandable that other image comparison algorithms can also be used to achieve the identification of difference feature pixels, which is not limited here.
[0054] S104, calculating the display deviation value of the electronic paper to be tested according to the difference characteristic pixels.
[0055] The display deviation value represents the quantitative evaluation result of the display effect of the electronic paper to be tested.
[0056] The test device performs this step after completing the identification of the difference feature pixels. Specifically, the test device first classifies and counts the difference feature pixels, then calculates various deviation indicators according to the evaluation criteria of different types of differences, and then obtains the comprehensive deviation value through weighted calculation, and finally standardizes the value into the display deviation value for subsequent judgment. The weight coefficient can be set to indicate the importance of different types of differences.
[0057] In some embodiments, the calculation of the deviation value can be implemented in a variety of ways: Optionally, the test device can calculate the statistical value of each type of difference, apply a preset weight coefficient, perform weighted summation, and normalize; Optionally, the test device can construct an evaluation feature vector, use a display effect evaluation model to calculate a comprehensive score, and convert it into a standard score. It is understandable that other calculation methods can also be used to implement quantitative evaluation of display deviation, which is not limited here.
[0058] It should be noted that the display effect evaluation model used here inputs a large amount of comparative image data of standard electronic paper and electronic paper to be tested during the training stage, including display effect image pairs under different environmental conditions, and the corresponding manually annotated quality scores. Through the deep learning method, the training model identifies the difference patterns of multi-dimensional features such as brightness, chromaticity, and contrast, and establishes a quantitative evaluation standard for display effects. The training goal is to minimize the error between the model prediction score and the expert score. The display effect evaluation model adopts a multi-layer convolutional neural network structure, including a feature extraction layer, a regional attention mechanism, and a multi-task learning branch. The feature extraction layer is used to capture the local and global features of the image, the regional attention mechanism focuses on the key areas of display defects, and the multi-task learning branch outputs quality scores of different dimensions respectively. By inputting the real-time collected images of the electronic paper to be tested and the control electronic paper, the display effect evaluation model first performs image preprocessing and feature extraction, and then calculates the deviation values of each evaluation dimension through regional analysis, and finally can output a comprehensive display deviation value and a specific score of each dimension; the dimensions of the difference evaluation can be different aspects of the display effect evaluation, such as brightness, contrast, etc.
[0059] S105 . When the display deviation value is lower than the display deviation threshold, a test pass mark is assigned to the electronic paper to be tested and the test image is bound thereto.
[0060] The display deviation threshold represents the standard value for determining whether the display effect is qualified; and the test pass mark refers to the marking information indicating that the test result is qualified.
[0061] The test device performs this step after obtaining the display deviation value. Specifically, the test device first obtains a preset display deviation threshold, and then compares the calculated display deviation value with the threshold. When the display deviation value is lower than the threshold, a test pass mark is generated, and the mark information is associated with the unique mark of the electronic paper to be tested and saved, and the relevant test data is recorded at the same time.
[0062] In some embodiments, the processing of test results can be achieved in a variety of ways: optionally, the test device can query the device identification information, generate a test result record, update the test status, and save the test report; optionally, the test device can create a result database entry, associate test parameters, record test environment information, and generate a quality traceability code. It is understandable that other methods can also be used to achieve the management and traceability of test results, which are not limited here.
[0063] In the above embodiments, the test efficiency is improved through comparative analysis and automated processing. In practical applications, the system also needs to replace the control electronic paper in time to ensure the continuity and reliability of the test standard. The following is a more detailed description of the process of the method provided by this embodiment. Please refer to Figure 2, is another flow chart of the method for testing the display effect of electronic paper in an embodiment of the present application.
[0064] S201 : Sending a test instruction to the control electronic paper and the electronic paper to be tested, so that the control electronic paper and the electronic paper to be tested display the same test image.
[0065] Referring to step S101 , the testing device causes the control electronic paper and the electronic paper to be tested to display a test image.
[0066] S202: Acquire a test reference image of the control electronic paper and a target test image of the electronic paper to be tested.
[0067] Referring to step S102 , the testing device acquires a test reference image and a target test image.
[0068] S203: Determine the difference feature pixels on the target test image that are different from the test reference image.
[0069] Referring to step S103 , the testing device determines the difference feature pixels.
[0070] S204: Calculate the display deviation value of the electronic paper to be tested according to the difference characteristic pixels.
[0071] Referring to step S104 , the testing device calculates and displays a deviation value.
[0072] In some embodiments, when calculating the display deviation value, the testing device will first perform regional clustering analysis on the difference feature pixels on the target test image to obtain multiple difference feature regions; then, based on the corresponding pixel regions on the test reference image, respectively calculate the brightness deviation value, chromaticity deviation value, and contrast deviation value of each difference feature region; then, based on a preset weight coefficient, perform weighted summation on the brightness deviation value, chromaticity deviation value, and contrast deviation value to obtain the regional deviation value of each difference feature region; finally, determine the display deviation value based on the area size of each difference feature region and the corresponding regional deviation value.
[0073] Among them, the brightness deviation value is used to indicate the degree of deviation of the brightness of the area; the chromaticity deviation value indicates the degree of deviation of the color feature; the contrast deviation value refers to the degree of change of the local brightness and darkness contrast of the image; the weight coefficient is used to indicate the importance of different deviation indicators.
[0074] The system performs the regional analysis process after completing the difference pixel identification. Specifically, the system first uses a spatial clustering algorithm to group the identified difference pixels to form multiple difference feature regions with spatial continuity, and then calculates multi-dimensional display quality indicators for each region, including the deviation values of brightness, chromaticity and contrast, and then performs weighted calculations based on the weight coefficients set in the display effect evaluation standard. Finally, the system considers the size of each region for a comprehensive evaluation to obtain the overall display deviation value.
[0075] In some embodiments, regional analysis and deviation calculation can be implemented in a variety of ways: Optionally, the system can use the DBSCAN algorithm (Density-Based Spatial Clustering of Applications with Noise, a density-based clustering algorithm) for spatial clustering, calculate regional statistical features, apply a multi-dimensional evaluation model, and generate weighted scores; Optionally, the system can use a regional growing algorithm to divide regions, extract regional feature vectors, calculate a quality indicator matrix, and perform multi-level fusion. It is understandable that other algorithms and models can also be used to implement regional feature analysis and quality evaluation, which are not limited here.
[0076] S205: When the display deviation value is lower than the display deviation threshold, a test pass mark is provided for the electronic paper to be tested and the test image is bound thereto.
[0077] Referring to step S105 , the testing device will mark the electronic paper to be tested as having passed the test when the display deviation value is lower than the display deviation threshold.
[0078] S206: When the display deviation value is equal to or higher than the display deviation threshold, determine the current test image.
[0079] The current test image represents the specific image content of the display test being performed.
[0080] The test device executes this step when it detects abnormal display deviation. Specifically, the test device first retrieves the corresponding original test image data from the test image library based on the feature information of the test reference image and the target test image, and extracts the complete information of the test image for subsequent standardized comparison and analysis. The test image library is used to represent the data set storing all test images, and the test images are arranged in a specified test order.
[0081] S207: Acquire test environment information, and determine a standard reference image corresponding to the current test image under the test environment information.
[0082] Among them, the test environment information represents the data of various environmental factors that affect the display effect, including temperature, humidity, light and other environmental factors; the standard reference image refers to the ideal display effect benchmark under specific environmental conditions; the standard image library represents a data set that stores standard display effects under different environmental conditions.
[0083] The test device performs this step after determining the current test image. Specifically, the test device first collects detailed parameters of the current test environment through various environmental sensors, then retrieves the standard display effect data that best matches the current test environment from the standard image library based on these environmental parameters, and finally determines the standard reference image based on the content characteristics of the current test image.
[0084] In some embodiments, the determination of the standard reference image can be achieved in a variety of ways: Optionally, the test device can collect environmental parameter data, calculate the environmental impact coefficient, retrieve the standard image library, and generate a matching reference image; Optionally, the test device can establish a test environment compensation model, predict the display effect change, adjust the standard reference data, and output the corrected reference image. It is understandable that other methods can also be used to achieve the generation of environmentally adapted standard reference images, which are not limited here.
[0085] It should be noted that the test environment compensation model here, during the training phase, inputs standard display effect data and actual test data under different environmental conditions (temperature, humidity, light, etc.) to train the model to understand the influence of environmental factors on the display effect. The training goal is to minimize the difference between the display effect after environmental compensation and the standard effect. The test environment compensation model adopts an environmental factor mapping network, which includes an environmental parameter encoding layer, an influencing factor analysis layer, and a compensation calculation layer. The encoding layer processes environmental data, the analysis layer establishes an environmental impact model, and the compensation layer generates correction parameters. By inputting the current test environment parameters and the original test data, the test environment compensation model can calculate the environmental impact coefficient and generate a standard reference image after environmental compensation for more accurate display effect evaluation.
[0086] S208, respectively calculating the comparison deviation value between the test reference image and the standard reference image, and the test deviation value between the target test image and the standard reference image.
[0087] The control deviation value indicates the display difference degree of the control electronic paper relative to the standard state; the test deviation value refers to the display difference degree of the electronic paper to be tested relative to the standard state.
[0088] The test device performs this step after obtaining the standard reference image. Specifically, the test device first compares the test reference image and the target test image with the standard reference image at the pixel level, then calculates the deviation values of each type based on multiple feature dimensions, then obtains the comprehensive deviation index through weighted fusion, and finally generates the control deviation value and the test deviation value for subsequent performance judgment.
[0089] In some embodiments, the calculation and comparison of deviation values can be achieved in a variety of ways: Optionally, the test device can extract multi-dimensional feature parameters, calculate the deviation values of each dimension, apply a weight system, and generate a comprehensive deviation index; the feature dimensions represent multiple aspects of the evaluation of display effects, such as brightness, chromaticity, contrast, etc. Optionally, the test device can build an image quality evaluation model, input comparison data, calculate the quality score, and standardize the processing results. It is understandable that other evaluation algorithms can also be used to achieve quantitative analysis of display effects, which is not limited here.
[0090] In some embodiments, when the control deviation value is equal to or higher than the test deviation value, the test device will bind a test pass mark of the test image to the electronic paper to be tested; replace the control electronic paper with a spare electronic paper, and continue the display test of the electronic paper to be tested on other test images.
[0091] Among them, the test pass mark indicates the status mark of the display test passing; the spare electronic paper is an electronic paper device with qualified performance, which can be the electronic paper that has recently completed the test; for example, the last electronic paper to be tested that passed the display test can be temporarily stored in the spare library as a spare electronic paper, and wait for the next electronic paper to be tested to pass the display test, and then replace the spare electronic paper with the electronic paper to be tested that has just passed the display test.
[0092] The system performs the replacement process after comparing the deviation values. Specifically, the system first determines whether the control deviation value is equal to or higher than the test deviation value. When the condition is met, it means that the display effect of the current control electronic paper is no longer suitable as a test benchmark. At this time, the system will bind the test pass mark to the electronic paper to be tested, and select a spare electronic paper from the spare library as the new control electronic paper, update the test configuration information, and continue to perform subsequent test image display tests.
[0093] In some embodiments, when the control test times of the control electronic paper are less than the aging test limit, the testing device binds an aging failure mark to the control electronic paper; and records the current test image as an error image of the control electronic paper.
[0094] Among them, the number of control tests refers to the number of test cycles completed by the control electronic paper; the aging test limit is used to indicate the maximum number of tests allowed; and the error image indicates the test image that causes the performance determination to fail.
[0095] The system performs this identification process when checking the control test times. Specifically, the system first compares the control test times with the aging test limit. When the test times are less than the limit but the performance is abnormal, it means that the control electronic paper has abnormal attenuation. At this time, the system will add an aging failure mark to the control electronic paper and record the test image that caused the judgment failure as an error image for subsequent performance analysis and problem diagnosis.
[0096] In some embodiments, the determination and recording of aging status can be achieved in a variety of ways: Optionally, the system can analyze the cause of performance anomalies, generate fault diagnosis reports, mark problem images, and update device status; Optionally, the system can establish a performance monitoring model, calculate attenuation indicators, record abnormal data, and generate early warning information. It is understandable that other methods can also be used to detect and record performance anomalies, which are not limited here.
[0097] S209: When the control deviation value is lower than the test deviation value, a test failure mark is given to the electronic paper to be tested that is bound to the test image.
[0098] The test failure mark indicates a status mark indicating a test failure.
[0099] The test device performs this step after completing the deviation value comparison. Specifically, the test device first compares the magnitude relationship between the control deviation value and the test deviation value. When the control deviation value is lower than the test deviation value, it indicates that the display effect of the electronic paper to be tested is significantly inferior to that of the control electronic paper. At this time, a test failure mark is generated, and the result information is associated with the identity information of the electronic paper to be tested, and detailed test data and failure reasons are recorded.
[0100] In some embodiments, the processing and recording of test results can be achieved in a variety of ways: optionally, the test device can generate a result determination report, update the device test status, record deviation data, and save failure cause analysis; optionally, the test device can create a test record entry, associate device information, store test parameters, and generate a traceability code. It is understandable that other methods can also be used to manage and track test results, which are not limited here.
[0101] S210 , after determining that the electronic paper to be tested is bound with test pass marks of all test images, display test completion information of the electronic paper to be tested.
[0102] Among them, all test images represent a complete test image set, including multiple test images; and the test completion information is status information showing the success of the overall display test.
[0103] The test device performs this step after completing all test items. Specifically, the test device first checks all test result records of the electronic paper to be tested to confirm whether the pass mark of all test images has been obtained. When all tests are verified to be passed, the final test completion information is generated, including a test summary report, performance evaluation data, etc., and the information is output through a display interface or other means.
[0104] In some embodiments, the confirmation and display of the test results can be achieved in a variety of ways: optionally, the test device can count the test result data, generate a test report, display a qualified mark, and output detailed test data; optionally, the test device can verify the test integrity, summarize the performance indicators, generate a quality certificate, and send a test notification. It is understandable that other ways can also be used to achieve the confirmation and display of the test results, which are not limited here.
[0105] S211, determining the number of control tests of the control electronic paper.
[0106] The number of control tests indicates the number of test cycles completed by the control electronic paper, that is, the number of repetitions of the complete test process.
[0107] The test device performs this step after completing each round of testing. Specifically, the test device first queries the test history record of the control electronic paper, counts the number of completed test rounds, then adds the test information of the current round to the history record, and updates the count value of the number of control tests to evaluate the use status of the control electronic paper.
[0108] In some embodiments, the test times can be counted and recorded in a variety of ways: optionally, the test device can read historical test records, update test counters, record test timestamps, and save test data; optionally, the test device can establish a test history database, count test frequencies, analyze test rules, and predict service life. It is understandable that other methods can also be used to manage and analyze test times, which are not limited here.
[0109] In some embodiments, when the number of control tests is less than the aging test limit, the testing device obtains multiple historical reference images of the control electronic paper when it displays the same test image in different test rounds; calculates multiple image feature parameters of the multiple historical reference images, and determines a performance attenuation curve of the control electronic paper based on the multiple image feature parameters; and determines the aging test limit of the control electronic paper based on the performance attenuation curve.
[0110] Among them, historical reference images represent image data obtained in different test rounds; image feature parameters refer to various quantitative indicators that describe the display effect; the performance decay curve is used to represent the trend of display performance changing with the number of uses; the aging test limit refers to the maximum test number threshold determined based on performance changes.
[0111] The system performs this analysis process when it detects that the number of control tests is low. Specifically, the system first collects historical image data of the control e-paper when it displays the same content in multiple tests, then extracts the multi-dimensional feature parameters of these images, and establishes a trend model of display performance changes over time through data analysis, that is, a performance degradation prediction model. Finally, the aging test limit is dynamically adjusted according to the performance degradation law to achieve a scientific evaluation of the service life of the control e-paper.
[0112] It should be noted that the performance decay prediction model of the present application inputs the complete life cycle data of the historical control electronic paper during the training phase, including the display parameters, environmental conditions and test results of different test rounds. Through time series analysis and machine learning methods, the performance change law is learned and a decay trend prediction model is established. The training standard is to minimize the error between the performance prediction value and the actual observation value. The performance decay prediction model combines the timing prediction network and the state evaluation network, and includes a historical data encoder, a trend analyzer and a prediction decoder. The encoder processes historical performance data, the trend analyzer establishes a performance change pattern, and the prediction decoder generates future performance change trends. By inputting the historical test data and current performance parameters of the control electronic paper, the performance decay prediction model can analyze the performance change trend, predict possible decay time points in the future, and output performance warning information and recommended replacement time.
[0113] In some embodiments, the analysis and evaluation of performance degradation can be achieved in a variety of ways: Optionally, the system can construct a time series data set, extract performance feature vectors, fit the degradation curve, and predict performance changes; Optionally, the system can establish a multi-dimensional evaluation model, analyze the performance degradation law, determine the critical threshold, and generate a life prediction. It is understandable that other algorithms and models can also be used to achieve quantitative analysis of performance degradation, which is not limited here.
[0114] S212: When the number of control tests is equal to or greater than the aging test limit, replace the control electronic paper with the electronic paper to be tested, and use the electronic paper to be tested as the new control electronic paper to continue the display test of other electronic papers to be tested.
[0115] The aging test limit indicates the maximum number of times the control electronic paper can be used for testing.
[0116] The test device performs this step after determining the number of control tests. Specifically, the test device first compares the number of control tests with the preset aging test limit. When the limit is reached or exceeded, the electronic paper to be tested that has passed the test is used as a new control electronic paper to perform display tests on other electronic papers to be tested. At the same time, the test device updates the test benchmark information of the new control electronic paper and resets the test number counter to ensure the continuity of the test standard.
[0117] In the embodiments of the present application, due to the use of a relative testing method based on control electronic paper, multi-dimensional image analysis technology and intelligent testing management mechanism, it is possible to achieve accurate comparative evaluation of display effects, dynamic optimization of automated testing processes and testing standards, and effectively solve the problems of strong environmental dependence, low testing efficiency, unstable results, etc. existing in traditional testing methods, thereby achieving high efficiency, high accuracy and high reliability in electronic paper display effect testing.
[0118] The following describes the test device in the embodiment of the present invention from the perspective of hardware processing. Figure 3 , is a schematic diagram of a physical device structure of a test device in an embodiment of the present application.
[0119] It should be noted that Figure 3 The structure of the test device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0120] like Figure 3 As shown, the test device includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 302 or the program loaded from the storage part 308 to the random access memory (RAM) 303, such as executing the method described in the above embodiment. In RAM 303, various programs and data required for system operation are also stored. CPU 301, ROM 302 and RAM 303 are connected to each other through bus 304. Input / output (I / O) interface 305 is also connected to bus 304.
[0121] The following components are connected to the I / O interface 305: an input section 306 including an audio input device, a button switch, etc.; an output section 307 including a liquid crystal display (LCD) and an audio output device, an indicator light, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed so that a computer program read therefrom is installed into the storage section 308 as needed.
[0122] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 309, and / or installed from a removable medium 311. When the computer program is executed by the central processing unit (CPU) 301, various functions defined in the present invention are performed.
[0123] It should be noted that specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device.
[0124] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. Each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings.
[0125] Specifically, the testing device of this embodiment includes a processor and a memory. The memory stores a computer program. When the computer program is executed by the processor, the testing method for the electronic paper display effect provided by the above embodiment is implemented.
[0126] As another aspect, the present invention further provides a computer-readable storage medium, which may be included in the test device described in the above embodiment; or may exist independently without being assembled into the test device. The above storage medium carries one or more computer programs, and when the above one or more computer programs are executed by a processor of the test device, the test device implements the test method of the electronic paper display effect provided in the above embodiment.
[0127] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements 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 application.
[0128] As used in the above embodiments, the term "when..." may be interpreted to mean "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. Similarly, the phrases "upon determining..." or "if (the stated condition or event) is detected" may be interpreted to mean "if determining..." or "in response to determining..." or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)", depending on the context.
[0129] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
Claims
1. A method for testing the display effect of electronic paper, characterized in that: Applied to a test device, the method comprises: Sending a test instruction to the control electronic paper and the electronic paper to be tested, so that the control electronic paper and the electronic paper to be tested display the same test image; the control electronic paper and the electronic paper to be tested are in the same test environment; Acquire a test reference image of the control electronic paper and a target test image of the electronic paper to be tested; Determine the difference feature pixels on the target test image that are different from the test reference image; Calculating a display deviation value of the electronic paper to be tested according to the difference characteristic pixels; When the display deviation value is equal to or higher than the display deviation threshold, determining a current test image; Acquire test environment information, and determine a standard reference image corresponding to the current test image under the test environment information; Respectively calculating a comparison deviation value between the test reference image and the standard reference image, and a test deviation value between the target test image and the standard reference image; When the control deviation value is lower than the test deviation value, a test failure mark of the test image is bound to the electronic paper to be tested; When the display deviation value is lower than the display deviation threshold, a test pass mark of the test image is bound to the electronic paper to be tested.
2. The method according to claim 1, characterized in that There are multiple test images, each of which corresponds to a test pass mark; after the step of binding the test pass mark of the test image to the electronic paper to be tested when the display deviation value is lower than the display deviation threshold, the method further includes: After determining that the electronic paper to be tested is bound with test pass marks of all test images, displaying test completion information of the electronic paper to be tested; Determining the number of control tests of the control electronic paper; the number of control tests is the number of rounds in which the control electronic paper displays all the test images; When the control test times are equal to or greater than the aging test limit, the control electronic paper is replaced with the electronic paper to be tested, and the electronic paper to be tested is used as a new control electronic paper to continue the display test of other electronic papers to be tested.
3. The method according to claim 2, characterized in that After the step of determining the number of control tests of the control electronic paper, the method further includes: When the control test number is less than the aging test limit, obtaining a plurality of historical reference images when the control electronic paper displays the same test image in different test rounds; Calculating a plurality of image feature parameters of the plurality of historical reference images, and determining a performance attenuation curve of the reference electronic paper based on the plurality of image feature parameters; According to the performance decay curve, an aging test limit value of the control electronic paper is determined.
4. The method according to claim 1, characterized in that: After the step of respectively calculating the comparison deviation value between the test reference image and the standard reference image and the test deviation value between the target test image and the standard reference image, the method further includes: When the control deviation value is equal to or higher than the test deviation value, a test pass mark of the test image is bound to the electronic paper to be tested; The control electronic paper is replaced with the spare electronic paper, and the display test of the electronic paper to be tested on other test images is continued.
5. The method according to claim 4, characterized in that When the control deviation value is equal to or higher than the test deviation value, after the step of binding the test pass mark of the test image to the electronic paper to be tested, the method further includes: When the control test times of the control electronic paper are less than the aging test limit, an aging failure mark is bound to the control electronic paper; The current test image is recorded as the error image of the control electronic paper.
6. The method according to claim 1, characterized in that The step of calculating the display deviation value of the electronic paper to be tested according to the difference characteristic pixels specifically includes: Performing regional clustering analysis on the difference feature pixels on the target test image to obtain a plurality of difference feature regions; Based on the comparison of the corresponding pixel area on the test reference image, the brightness deviation value, the chromaticity deviation value and the contrast deviation value of each of the difference feature areas are calculated respectively; Based on a preset weight coefficient, weighted summation is performed on the brightness deviation value, the chromaticity deviation value, and the contrast deviation value to obtain a regional deviation value of each of the difference feature regions; The display deviation value is determined according to the area size of each of the difference feature regions and the corresponding region deviation value.
7. A testing device, characterized in that: The testing device comprises: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code comprises computer instructions, and the one or more processors call the computer instructions so that the testing device executes the method as described in any one of claims 1-6.
8. A computer-readable storage medium comprising instructions, characterized in that: When the instruction is executed on a test device, the test device is caused to execute the method according to any one of claims 1 to 6.
9. A computer program product, characterized in that When the computer program product is run on a test device, the test device is caused to execute the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Screen display state detection method, device and system and readable storage medium
CN115390291A
Debugging method and system for multi-color-gradation display of electronic paper
CN118366406A