Display screen detection method, system and storage medium
By periodically sending operating instructions and collecting display images, the screen detection algorithm is used to analyze display screen abnormalities, which solves the problems of low display detection efficiency and high cost in the existing technology, and achieves efficient and low-cost display screen detection.
Patent Information
- Application Number
- CN202110532943.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-17
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2041-05-17
AI Technical Summary
In the existing technology, the display screen detection efficiency is low and the cost is high, and the status of the display screen cannot be fed back in time, which affects the efficiency of screen detection and production efficiency.
By periodically sending operating instructions to the display screen to be detected, it collects its display image based on predetermined actions, and uses the preset screen detection algorithm to analyze whether there are any display abnormalities, including screen blur, black screen, blurred display and other problems, and generate a detection report.
It realizes low-cost display screen detection, improves detection efficiency, can quickly and conveniently set up a detection environment, monitor the display image in real time and determine the cause of the fault, shortening the test cycle.
Smart Images

Figure CN113269735B
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart device detection technology, and in particular to a display screen detection method, system and storage medium. Background Art
[0002] With the continuous advancement of technology, display screens are being used more and more widely, and the number of electronic products using display screens is also increasing. For example, TVs, refrigerators, and electronic whiteboards in classrooms are all integrated with display screens. With the increase in the application scenarios of display screens, the production volume of display screens is also increasing year by year. In the face of a large number of display screens, how to efficiently detect whether their display quality meets the standards has become an urgent issue. The existing technical solutions are not only costly, but also cannot provide timely feedback on the status of the display screen, which seriously affects the efficiency of screen detection.
[0003] According to statistics, the potential market for smart air conditioners is 165.38 billion yuan, refrigerators is 146.82 billion yuan, and washing machines is 114.34 billion yuan. Faced with a market with huge potential, if the efficiency of screen inspection before leaving the factory cannot be improved, the yield rate of the display screen will be reduced or the production efficiency of the display screen will be reduced. Summary of the invention
[0004] The object of the present invention is to provide a display screen detection method, system and storage medium to solve the technical problems of low display screen detection efficiency and high cost.
[0005] To achieve the above-mentioned purpose, the present invention provides a display screen detection method, which comprises: periodically sending operation instructions to a display screen to be detected to trigger the display screen to be detected to perform a predetermined action; collecting a display image of the display screen to be detected based on the predetermined action at a predetermined time interval; and analyzing the collected display image to determine whether the display screen to be detected displays abnormalities.
[0006] Preferably, the step of periodically sending operation instructions to the display screen to be detected further includes: the control device periodically generates the operation instructions via an automated script running thereon, and sends the operation instructions to the display screen to be detected, wherein the control device is connected to the display screen to be detected wirelessly or by wire.
[0007] Preferably, the step of analyzing the acquired display image to determine whether the display screen to be detected displays abnormalities further comprises: the control device acquires the display image by triggering a mobile phone wirelessly or wiredly connected thereto to perform a screenshot operation or a photo taking operation.
[0008] Preferably, the step of analyzing the acquired display image to determine whether the display screen to be detected has a display abnormality further includes: determining whether the display screen to be detected has a display abnormality based on a preset screen detection algorithm, wherein the display abnormality includes one or more of the following: a flowery screen, a black screen, a blurred display, and the presence of bad pixels.
[0009] Preferably, the method further comprises: if it is determined that the display screen to be detected has a display abnormality, stopping sending the operation instruction and stopping collecting the display image, and recording the equipment and environmental parameters when the display abnormality occurs for subsequent analysis of the cause of the abnormality.
[0010] Preferably, the screen detection algorithm comprises: comparing the displayed image with a preset reference image, and judging whether the display screen to be detected displays abnormality according to the comparison result.
[0011] Preferably, the screen detection algorithm further comprises: calculating whether the number of different pixel points between the display image and the reference image is greater than a first threshold, and if so, determining that the display screen to be detected has a display abnormality.
[0012] Preferably, the step of recording the equipment and environmental parameters when the display abnormality occurs for subsequent analysis of the cause of the abnormality further includes: automatically generating a test report based on the equipment and environmental parameters when the display abnormality occurs and preset rules, and feeding back the test report to the tester.
[0013] Preferably, if it is determined that the display screen to be tested has a display abnormality, then stopping sending the operation instruction and stopping collecting the display image, and recording the equipment and environmental parameters when the display abnormality occurs for subsequent analysis of the cause of the abnormality further includes: continuously counting the collected display images, and stopping sending the operation instruction and stopping collecting the display images when the number of collected display images reaches a second threshold, and automatically generating a test report based on preset rules, and feeding back the test report to the tester.
[0014] Preferably, the predetermined action includes one or more of the following: clicking a button, sliding a screen, switching a menu.
[0015] The present invention also provides a display screen detection system, comprising: a control device, the control device is used to sequentially trigger the display screen to be detected and the image acquisition device to perform predetermined actions to obtain the display image of the display screen to be detected; and an image acquisition device, the image acquisition device is used to acquire the display image of the display screen to be detected based on the predetermined action at a predetermined time interval according to the triggering of the control device, and send the acquired display image to the control device; wherein the control device is further used to analyze the display image to determine whether the display screen to be detected displays abnormalities.
[0016] Preferably, the control device includes: a main control module, which is used to periodically send operation instructions to the display screen to be detected, so as to trigger the display screen to be detected to perform the predetermined action, and trigger the image acquisition device wirelessly or wired connected thereto to perform a screenshot operation or a photo operation to acquire the display image; an image receiving module, which is used to receive the display image from the image acquisition device and send it to an analysis and processing module; and an analysis and processing module, which is used to determine whether the display screen to be detected displays abnormalities based on the display image and a preset screen detection algorithm.
[0017] The present invention also provides a computer-readable storage medium for storing processor-executable instructions. When the processor-executable instructions stored in the computer-readable storage medium are executed, the processor can cause the processor to implement the display screen detection method according to any one of claims 1 to 10.
[0018] The technical effect of the present invention is to provide a display screen detection method, system and storage medium to solve the problems of high quality detection cost and difficulty in setting up a detection environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The technical solution and other beneficial effects of the present application will be made apparent by describing in detail the specific implementation methods of the present application in conjunction with the accompanying drawings.
[0020] Figure 1 A schematic diagram of the structure of a display screen detection system provided by an embodiment of the present invention.
[0021] Figure 2 It is a schematic diagram of the structure of a control device for a display screen detection system provided in an embodiment of the present invention.
[0022] Figure 3 This is a flow chart of a display screen detection method provided by an embodiment of the present invention.
[0023] The following are marked in the figure:
[0024] Control device 11, image acquisition device 12,
[0025] Main control module 111 , image receiving module 112 , and analysis and processing module 113 . DETAILED DESCRIPTION
[0026] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0027] The disclosure below provides many different embodiments or examples to realize the different structures of the present application. In order to simplify the disclosure of the present application, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present application. In addition, the present application can repeat reference numbers and / or reference letters in different examples, and this repetition is for the purpose of simplification and clarity, which itself does not indicate the relationship between the various embodiments and / or settings discussed. In addition, the various specific processes and material examples provided by the present application, but those of ordinary skill in the art can appreciate the application of other processes and / or the use of other materials.
[0028] Example 1
[0029] like Figure 1 to Figure 2 As shown, the present invention provides a preferred embodiment of a display screen detection system, the display screen detection system includes a control device 11 and an image acquisition device 12, and the image acquisition device 12 is electrically connected to the control device 11. Preferably, the image acquisition device 12 is electrically connected to the control device 11 via a data line. Exemplarily, the image acquisition device 12 is a mobile phone with a camera function, and the control device 11 is a computer.
[0030] Before using the display screen detection system, the user needs to establish a communication link between the object to be detected and the control device 11, turn on the developer mode of the image acquisition device 12 and enable it to communicate with the control device 11, and set the screen-off mode of the image acquisition device 12 to never turn off the screen, thereby ensuring that the status of the object to be detected can be monitored for a long time.
[0031] The control device 11 is wirelessly connected to the object to be detected, and in this embodiment, it is preferably a WIFI connection. Exemplarily, the object to be detected can be a display screen of smart home appliances such as a refrigerator, LCD TV, computer, air conditioner, large-screen washing machine, and integrated stove. The main control module 111 in the control device 11 is used to periodically send operation instructions to the object to be detected to trigger the object to be detected to perform a predetermined action, thereby simulating user behavior. Among them, the periodic sending of operation instructions can specifically be sending an operation instruction to the object to be detected every 1 second, and in other embodiments, it can also be any positive number such as every 1.5 seconds, 2 seconds, 3 seconds, etc., which is not limited by the present invention. The operation instruction is automatically generated by an automation script running on the control device 11. Exemplarily, the automation script is a UI automation framework code, and the UI automation framework code is preferably airtest / Appium, and the predetermined action is used to simulate user behavior. Preferably, the predetermined action is one or more behaviors of clicking a button, sliding the screen, and switching the menu. In this embodiment, the UI automation framework is applied to operate the object to be detected, which increases the types of detection of the object to be detected. It can not only detect the quality of the display screen of the object to be detected, but also effectively distinguish whether the object to be detected has abnormal screen in dynamic operation, so as to judge the quality of the object to be detected from multiple angles. Using the UI automation framework instead of manual operation can reduce the input of personnel in quality inspection to a certain extent, thereby reducing the cost of quality inspection. On the other hand, human factors are eliminated in the quality inspection environment, and the probability of accidents in the inspection environment is also reduced.
[0032] For example, the user can place the display screen detection system in a darkroom environment, preferably a closed space without light, and the lightless environment can improve the accuracy of image acquisition by the image acquisition device 12. When using the display screen detection system, the user installs the image acquisition device 12 in front of the object to be detected. The distance between the image acquisition device 12 and the object to be detected is determined by the ratio of the screen size of the image acquisition device 12 and the object to be detected. The distance is used to ensure that the image acquisition device 12 can fully acquire the display image of the object to be detected.
[0033] Exemplarily, the control device 11 is used to sequentially trigger the display screen to be detected and the image acquisition device 12 to perform a predetermined action to obtain a display image of the display screen to be detected. The image acquisition device 12 is used to acquire a display image of the display screen to be detected based on the predetermined action at a predetermined time interval according to the triggering of the control device 11, and send the acquired display image to the control device 11. Exemplarily, the predetermined action performed by the display screen to be detected includes one or more of the following: clicking a button, sliding a screen, and switching a menu.
[0034] In this embodiment, a third-party program is installed inside the control device 11, preferably minicap. The control device 11 generates an image acquisition instruction through minicap, and the image acquisition instruction is used to instruct the image acquisition device 12 to acquire the current display image of the object to be detected for detection. Exemplarily, the image acquisition device 12 acquires the display image by taking a screenshot. In this embodiment, compared with the native screenshot tool of the Android system, the screenshot speed of minicap is faster, which can reduce the time of screen quality detection to a certain extent.
[0035] Exemplarily, the control device 11 includes a main control module 111 , an image receiving module 112 , and an analysis and processing module 113 .
[0036] The main control module 111 is used to periodically send operation instructions to the display screen to be detected, so as to trigger the display screen to be detected to perform the predetermined action, and to trigger the image acquisition device connected to it wirelessly or wired to perform a screenshot operation or a photo operation to acquire the display image. The periodic sending of operation instructions can specifically be sending an operation instruction to the object to be detected every 1 second, and in other embodiments, it can also be any positive number such as every 1.5 seconds, 2 seconds, 3 seconds, etc., which is not limited by the present invention.
[0037] The image receiving module 112 is used to receive the display image from the image acquisition device 12 and send it to the analysis and processing module 113 .
[0038] The analysis and processing module 113 is used to determine whether the display screen to be detected has a display abnormality based on the display image and a preset screen detection algorithm. Further, the analysis and processing module 113 can be used to stop sending the operation instruction and stop collecting the display image when it is determined that the display screen to be detected has a display abnormality, and record the equipment and environmental parameters when the display abnormality occurs for subsequent analysis of the abnormality cause. Further, the screen detection algorithm includes: comparing the display image with a preset reference image, and judging whether the display screen to be detected has a display abnormality based on the comparison result. The screen detection algorithm further includes: calculating whether the number of different pixels between the display image and the reference image is greater than a first threshold, and if so, judging that the display screen to be detected has a display abnormality, and the first preset value is preferably 1. Among them, different pixels refer to pixels that are different between the display image and the reference image. Exemplarily, different pixels may be pixels with different RGB values in the display image or the reference image.
[0039] Furthermore, the analysis and processing module 113 is used to automatically generate a test report based on the equipment and environmental parameters when the display abnormality occurs and preset rules, and feed back the test report to the tester.
[0040] Further, the analysis and processing module 113 is used to continuously count the received display images, and when the number of received display images reaches a second threshold, stop sending the operation instruction and stop collecting the display images, and automatically generate a detection report based on a preset rule, and feed back the detection report to the tester. Wherein, the second threshold is n (n is a natural number) set by the user, in this embodiment, preferably 10, and in other embodiments it can also be 5, 15, 20, etc.
[0041] In this embodiment, the pre-written code running in the analysis and processing module 113 can accurately analyze the problems existing in the object to be detected. For example: problems such as screen distortion, black screen, blurred display, and damaged pixels. When it is determined that the object to be detected has any of the above problems, the analysis and processing module 113 generates a termination instruction, which is used to terminate the detection process of the object to be detected, retain the abnormal scene of the object to be detected, and promptly notify the user to inspect and repair the object to be detected. The analysis and processing module 113 notifies the user to repair the object to be detected as soon as the abnormality occurs in the object to be detected, which can clearly show the problems existing in the object to be detected. In other embodiments, the analysis and processing module 113 can generate an analysis report, summarize the frequency of various types of faults over a period of time, and notify production personnel to increase their attention to such problems and reduce the rate of defective products.
[0042] The beneficial effect of this embodiment is that, through a low-cost device, the display image of the object to be detected is periodically obtained, the screen quality detection process is fully automated, and the RGB analysis of the collected display image of the object to be detected is performed. This embodiment can not only quickly and conveniently build a detection environment to monitor the display image of the object to be detected in real time, but also determine a variety of fault causes. In addition, the display screen detection system provided by this embodiment takes as little as 0.8 seconds from discovering defects to feeding back analysis results, and the detection efficiency has been significantly improved, shortening the test cycle.
[0043] Example 2
[0044] like Figure 3 As shown, the present invention provides a flow chart of a preferred embodiment of a display screen detection method, and the display screen detection method comprises the following steps:
[0045] (S1): Periodically sending an operation instruction to the display screen to be detected to trigger the display screen to be detected to perform a predetermined action, wherein the predetermined action includes one or more of the following: clicking a button, sliding a screen, and switching a menu.
[0046] The periodic sending of the operation instruction may specifically be sending an operation instruction to the object to be detected every 1 second. In other embodiments, it may be any positive number such as every 1.5 seconds, 2 seconds, 3 seconds, etc., and the present invention is not limited to this.
[0047] (S2): collecting a display image of the display screen to be detected based on the predetermined action at a predetermined time interval.
[0048] The predetermined time interval may be selected as 1 second, and in other embodiments may also be any positive number such as 2 seconds, 2.5 seconds, 3 seconds, etc., which is not limited in the present invention.
[0049] (S3): Analyze the collected display image to determine whether the display screen to be detected displays abnormalities.
[0050] Further, the step (S1) includes: the control device periodically generates the operation instruction via the automated script running thereon, and sends the operation instruction to the display screen to be detected, wherein the control device is wirelessly or wiredly connected to the display screen to be detected. The automated script periodically generates the operation instruction, which may specifically be sending an operation instruction to the object to be detected every 1 second. In other embodiments, it may also be any positive number such as every 1.5 seconds, 2 seconds, 3 seconds, etc., which is not limited by the present invention.
[0051] In this embodiment, a wireless connection is established in advance between the object to be detected and the control device, and this embodiment is preferably a WIFI connection. In this embodiment, the automation script running on the control device automatically generates the operation instruction. Exemplarily, the automation script is a UI automation framework code, and the UI automation framework code is preferably airtest / Appium. The operation instruction generated in the control device is transmitted to the object to be detected via a WIFI transmission method, and the predetermined action is used to simulate user behavior. Preferably, the predetermined action is one or more behaviors of clicking a button, sliding a screen, and switching a menu.
[0052] In this embodiment, exemplarily, the object to be detected and / or the image acquisition device for acquiring the display image are placed in a dark room, preferably a sealed lightless box. The lightless environment can improve the accuracy of image acquisition by the image acquisition device.
[0053] In this embodiment, the UI automation framework is applied to operate the object to be detected, which increases the types of detection of the object to be detected. It can not only detect the quality of the display screen of the object to be detected, but also effectively distinguish whether the object to be detected has abnormal screen in dynamic operation, so as to judge the quality of the object to be detected from multiple angles. Using the UI automation framework instead of manual operation can reduce the input of personnel in quality inspection to a certain extent, thereby reducing the cost of quality inspection. On the other hand, human factors are eliminated in the quality inspection environment, and the probability of accidents in the inspection environment is also reduced.
[0054] Furthermore, the step (S2) includes: the control device collects the display image by triggering a mobile phone connected thereto wirelessly or by wire to perform a screenshot operation or a photo taking operation.
[0055] In this embodiment, the user installs the image acquisition device in front of the object to be detected. The distance between the image acquisition device and the object to be detected is determined by the screen size ratio of the image acquisition device and the object to be detected. The distance is used to ensure that the image acquisition device can fully acquire the display image of the object to be detected. The image acquisition device is electrically connected to the control device. Preferably, the image acquisition device establishes a connection relationship with the control device via a data line. Before the image acquisition device acquires the display image of the object to be detected, the developer mode of the acquisition device is turned on, and the screen-off mode of the acquisition device is set to never turn off the screen, so as to ensure that the state of the object to be detected can be monitored for a long time.
[0056] In this embodiment, a third-party program is installed inside the control device, preferably minicap, and the control device generates an image acquisition instruction through minicap, and the image acquisition instruction is used to instruct the image acquisition device 12 to acquire the current display image of the object to be detected for detection. Compared with using the native Android system screenshot tool to take screenshots, minicap's screenshot speed is faster, which can reduce the time of screen quality detection to a certain extent.
[0057] Further, the step (S3) includes: judging whether the display screen to be detected has display abnormality based on a preset screen detection algorithm, wherein the display abnormality includes one or more of the following: a distorted screen, a black screen, a blurred display, and the presence of bad pixels. The screen detection algorithm includes: comparing the displayed image with a preset reference image, and judging whether the display screen to be detected has display abnormality based on the comparison result.
[0058] In other embodiments, the detection method further includes: (S4): when it is determined that the display screen to be detected has a display abnormality, stop sending the operation instruction and stop collecting the display image, and record the device and environmental parameters when the display abnormality occurs for subsequent analysis of the cause of the abnormality.
[0059] Furthermore, the step (S4) includes: automatically generating a test report based on the equipment and environmental parameters when the display abnormality occurs and preset rules, and feeding back the test report to the tester.
[0060] Further, the step (S4) includes: continuously counting the collected display images, and stopping sending the operation instruction and stopping collecting the display images when the number of collected display images reaches a second threshold, and automatically generating a detection report based on a preset rule, and feeding back the detection report to the tester. Wherein, the second threshold is n (n is a natural number) set by the user, preferably 10 in this embodiment, and can also be 1, 5, 15, 20, etc. in other embodiments.
[0061] The above detection method can accurately analyze the problems existing in the object to be detected, such as: screen distortion, black screen, blurred display, and damaged pixels. When the object to be detected is determined to be unqualified, a termination instruction is generated, which is used to terminate the detection process for the object to be detected, retain the abnormal scene of the object to be detected, and promptly notify the user to inspect and repair the object to be detected. Notifying the user for repair as soon as the object to be detected has an abnormality can clearly show the problems existing in the object to be detected. In other embodiments, the control device can generate an analysis report, summarize the frequency of various types of faults within a period of time, and notify production personnel to increase their attention to such problems and reduce the rate of defective products.
[0062] The beneficial effect of this embodiment is that, through a low-cost device, the display image of the object to be detected is periodically acquired, the quality inspection process is fully automated, and the RGB analysis of the collected display image of the object to be detected is performed. This embodiment can not only quickly and conveniently build a detection environment to monitor the display image of the object to be detected in real time, but also determine a variety of fault causes. In addition, the display screen detection method provided by this embodiment takes as little as 0.8 seconds from discovering defects to feeding back analysis results, and the detection efficiency has been significantly improved, shortening the test cycle.
[0063] Example 3
[0064] The technical features included in this embodiment are basically the same as those disclosed in Embodiment 1, and the technical features that distinguish them are as follows:
[0065] The image acquisition device 12 and the control device 11 are integrated into the same intelligent terminal, and the intelligent terminal is preferably a mobile phone with a camera function.
[0066] The beneficial effect of this embodiment is that, compared with other embodiments, this embodiment sets the image acquisition device 12 and the control device 11 in the same intelligent terminal to simplify the construction process of the quality inspection environment to the greatest extent. At the same time, compared with other embodiments in which the above-mentioned quality inspection method is implemented by two intelligent devices, this embodiment integrates the image acquisition device 12 and the control device 11 in the same terminal, which reduces the cost of the display screen inspection system to a certain extent and reduces the space occupied by the display screen inspection system.
[0067] Example 4
[0068] The technical features included in this embodiment are basically the same as those disclosed in Embodiment 1, and the technical features that distinguish them are as follows:
[0069] The image acquisition device 12 and the control device 11 are integrated into the same intelligent terminal, and the intelligent terminal is preferably a computer with a camera function.
[0070] The beneficial effect of this embodiment is that, compared with other embodiments, this embodiment integrates the image acquisition device and the control device into the same intelligent terminal to simplify the process of setting up the quality inspection environment to the greatest extent. At the same time, compared with other embodiments in which the above-mentioned quality inspection method is implemented by two intelligent devices, this embodiment integrates the image acquisition device and the control device into the same terminal, which reduces the cost of the display screen inspection system to a certain extent and reduces the space occupied by the display screen inspection system.
[0071] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0072] like Figure 1-2 As shown, the present invention also discloses a control device 11 for display screen detection, the control device 11 includes: a main control module 111, which is used to periodically send operation instructions to the display screen to be detected to trigger the display screen to be detected to perform a predetermined action, and trigger the image acquisition device 12 connected to it wirelessly or wired to perform a screenshot operation or a photo operation to collect the display image of the display screen to be detected based on the predetermined action. Among them, the periodic sending of operation instructions can specifically be sending an operation instruction to the object to be detected every 1 second, and in other embodiments, it can also be any positive number such as every 1.5 seconds, 2 seconds, 3 seconds, etc., and the present invention does not limit this.
[0073] The image receiving module 112 is used to receive the display image from the image acquisition device 12 and send it to the analysis and processing module 113. The analysis and processing module 113 is used to determine whether the display screen to be detected is abnormal based on the display image and a preset screen detection algorithm. The specific working principle and structure of the control device for display screen detection disclosed in the present invention are the same or similar to the working principle and structure of the control device in the above-mentioned embodiments 1-4, and will not be repeated here.
[0074] The present invention also discloses a computer-readable storage medium for storing processor-executable instructions. When the processor-executable instructions stored in the computer-readable storage medium are executed, the processor can cause the processor to implement any of the display screen detection methods described above.
[0075] The above is a detailed introduction to the method, system, control device and storage medium for display screen detection provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the technical solution and its core idea of the present application. Ordinary technicians in this field should understand that they can still modify the technical solutions recorded in the aforementioned embodiments, or replace some of the technical features therein with equivalents; and these modifications or replacements do not make the essence of the corresponding technical solution deviate from the scope of the technical solution of the embodiments of the present application.
Claims
1. A display screen detection method, It is characterized in that include: The control device periodically generates an operation instruction via an automation script running thereon, and sends the operation instruction to the display screen to be detected, so as to trigger the display screen to be detected to perform a predetermined action, wherein the control device is connected to the display screen to be detected wirelessly or by wire, the automation script is a UI automation framework code, and the predetermined action includes one or more of the following: clicking a button, sliding a screen, switching a menu; Collecting a display image of the display screen to be detected based on the predetermined action at a predetermined time interval; Analyze the collected display image to determine whether the display screen to be detected displays abnormality; If it is determined that the display screen to be tested has a display abnormality, stop sending the operation instruction and stop collecting the display image, automatically generate a test report based on the device and environmental parameters when the display abnormality occurs and preset rules, and feed back the test report to the tester.
2. The display screen detection method according to claim 1, It is characterized in that The step of analyzing the collected display image to determine whether the display screen to be detected displays abnormality further includes: The control device collects the display image by triggering a mobile phone connected thereto wirelessly or by wire to perform a screenshot operation or a photo taking operation.
3. The display screen detection method according to claim 1, It is characterized in that The step of analyzing the acquired display image to determine whether the display screen to be detected has a display abnormality further includes: determining whether the display screen to be detected has a display abnormality based on a preset screen detection algorithm, wherein the display abnormality includes one or more of the following: a flowery screen, a black screen, a blurred display, and the presence of bad pixels.
4. The display screen detection method according to claim 1, It is characterized in that The method further includes: if it is determined that the display screen to be detected has a display abnormality, stopping sending the operation instruction and stopping collecting the display image, and recording the device and environmental parameters when the display abnormality occurs for subsequent analysis of the cause of the abnormality.
5. The display screen detection method according to claim 3, It is characterized in that The screen detection algorithm includes: comparing the display image with a preset reference image, and judging whether the display screen to be detected has display abnormality according to the comparison result.
6. The display screen detection method according to claim 5, It is characterized in that The screen detection algorithm further includes: calculating whether the number of different pixel points between the display image and the reference image is greater than a first threshold, and if so, determining that the display screen to be detected displays abnormalities.
7. A display screen detection system, It is characterized in that include: A control device, the control device is used to periodically generate operation instructions through an automation script running thereon and send the operation instructions to the display screen to be detected to sequentially trigger the display screen to be detected and the image acquisition device to perform predetermined actions to obtain the display image of the display screen to be detected, wherein the control device is connected to the display screen to be detected wirelessly or by wire, the automation script is a UI automation framework code, and the predetermined action includes one or more of the following: clicking a button, sliding a screen, switching a menu; and An image acquisition device, the image acquisition device is used to acquire a display image of the display screen to be detected based on the predetermined action at a predetermined time interval according to the triggering of the control device, and send the acquired display image to the control device; Among them, the control device is further used to analyze the display image to determine whether the display screen to be tested has a display abnormality; if it is determined that the display screen to be tested has a display abnormality, stop sending the operation instruction and stop collecting the display image, automatically generate a test report based on the equipment and environmental parameters when the display abnormality occurs and preset rules, and feed back the test report to the tester.
8. The display screen detection system according to claim 7, It is characterized in that The control device comprises: A main control module, used for periodically sending operation instructions to the display screen to be detected, so as to trigger the display screen to be detected to perform the predetermined action, and trigger the image acquisition device connected thereto wirelessly or by wire to perform a screenshot operation or a photo operation to acquire the display image; an image receiving module, used to receive the display image from the image acquisition device and send it to the analysis and processing module; and The analysis and processing module is used to determine whether the display screen to be detected displays abnormalities based on the display image and a preset screen detection algorithm.
9. A computer-readable storage medium for storing processor-executable instructions, wherein the processor-executable instructions stored in the computer-readable storage medium, when executed, can cause a processor to implement the display screen detection method according to any one of claims 1 to 6.
