CN110572642B - Automatic test method of display device, display device and storage medium - Google Patents

Automatic test method of display device, display device and storage medium Download PDF

Info

Publication number
CN110572642B
CN110572642B CN201911040700.2A CN201911040700A CN110572642B CN 110572642 B CN110572642 B CN 110572642B CN 201911040700 A CN201911040700 A CN 201911040700A CN 110572642 B CN110572642 B CN 110572642B
Authority
CN
China
Prior art keywords
test
image
preset
script
display device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911040700.2A
Other languages
Chinese (zh)
Other versions
CN110572642A (en
Inventor
马连群
何腾飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN201911040700.2A priority Critical patent/CN110572642B/en
Publication of CN110572642A publication Critical patent/CN110572642A/en
Application granted granted Critical
Publication of CN110572642B publication Critical patent/CN110572642B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/04Diagnosis, testing or measuring for television systems or their details for receivers

Abstract

The invention discloses an automatic test method of display equipment, the display equipment and a storage medium, wherein the automatic test method of the display equipment comprises the following steps: receiving a test signal, running a corresponding preset test script according to the test signal, displaying a display picture corresponding to the preset test script, and sending an image acquisition instruction to a camera; receiving and storing a first test image acquired by the camera according to the image acquisition instruction, wherein the first test image comprises the display picture; judging whether the first test image is consistent with a preset standard image corresponding to the preset test script or not; and if the first test image is inconsistent with the preset standard image, stopping the running of the preset test script, generating a first test result, and sending the first test result to a client. The display device can automatically detect whether display abnormity occurs.

Description

Automatic test method of display device, display device and storage medium
Technical Field
The invention relates to the field of automatic testing of televisions, in particular to an automatic testing method of display equipment, the display equipment and a storage medium.
Background
At present, methods for automatically testing a television are gradually increased, such as a pressure testing tool test, a script test, a RedRat test, and the like, however, the above testing methods cannot automatically obtain a first testing result, need to manually monitor whether an abnormal phenomenon occurs, cannot automatically judge whether an abnormal phenomenon occurs, and cannot automatically terminate the testing after the abnormal phenomenon occurs.
Therefore, it is necessary to provide an automatic testing method for a display device to solve the above technical problems.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide an automatic testing method of a display device, the display device and a storage medium, and aims to solve the technical problem that the display device cannot automatically detect whether an abnormality occurs.
In order to achieve the above object, the present invention provides an automatic testing method for a display device, comprising:
receiving a test signal, running a corresponding preset test script according to the test signal, displaying a display picture corresponding to the preset test script, and sending an image acquisition instruction to a camera;
receiving and storing a first test image acquired by the camera according to the image acquisition instruction, wherein the first test image comprises the display picture;
judging whether the first test image is consistent with a preset standard image corresponding to the preset test script or not;
and if the first test image is inconsistent with the preset standard image, generating a first test result according to the first test image, and sending the first test result to a client.
Preferably, after the step of determining whether the first test image is consistent with a preset standard image corresponding to the preset test script, the method further includes:
if the first test image is consistent with the preset standard image, deleting the first test image;
judging whether a test ending instruction is received or not;
if receiving a test ending instruction, ending the test;
if the test ending instruction is not received, executing: and receiving a test signal, running a corresponding preset test script according to the test signal, displaying a display picture corresponding to the preset test script, and sending an image acquisition instruction to the camera.
Preferably, the step of judging whether the first test image is consistent with a preset standard image corresponding to the preset test script includes:
analyzing and calculating the image parameter difference value of the first test image and the preset standard image;
judging whether the image parameter difference value is within a preset range;
and if the image parameter difference value is within a preset range, confirming that the first test image is consistent with a preset standard image corresponding to the preset test script.
Preferably, the image parameter difference values include a color difference value, a contrast difference value and a brightness difference value, and the step of analyzing and calculating the image parameter difference values of the first test image and the preset standard image includes:
converting the first test image into a first RGB three-channel histogram, and converting the preset standard image into a second RGB three-channel histogram;
comparing the first RGB three-channel histogram with the second RGB three-channel histogram, and calculating to obtain a color difference value of the first test image and the preset standard image;
converting the first test image into a first Y-channel histogram and converting the preset standard image into a second Y-channel histogram;
comparing the first Y-channel histogram with the second Y-channel histogram, and calculating to obtain a contrast difference value between the first test image and the preset standard image;
calculating a first Y-channel average value of the first test image and a second Y-channel average value of the preset standard image, and calculating to obtain a brightness difference value of the first test image and the preset standard image according to the first Y-channel average value and the second Y-channel average value;
and calculating the image parameter difference value according to the color difference value, the contrast difference value and the brightness difference value.
Preferably, if the first test image is inconsistent with the preset standard image, the step of generating a first test result according to the first test image and sending the first test result to the client includes:
if the first test image is inconsistent with the preset standard image, generating a first test result according to the first test image;
stopping the running of the preset test script, and sending the first test result to a client; or after the preset test script is operated, the first test result is sent to the client.
Preferably, the preset test script is a script generated by an automatic test Framework built based on Sikuli and a Robot Framework.
Preferably, the step of receiving a test signal, running a corresponding preset test script according to the test signal, displaying a display picture corresponding to the preset test script, and sending an image acquisition instruction to the camera further includes:
receiving and storing a second test image acquired by the camera according to the image acquisition instruction;
judging whether the second test image is consistent with a preset abnormal image corresponding to the preset test script or not;
and if the second test image is consistent with the preset abnormal image, generating a second test result according to the second test image, and sending the second test result to a client.
Preferably, the step of receiving a test signal, running a corresponding preset test script according to the test signal, displaying a display picture corresponding to the preset test script, and sending an image acquisition instruction to a camera includes:
receiving the test signal, decoding the test signal and generating a decoding result;
running the preset test script corresponding to the decoding result;
and displaying a display picture corresponding to the preset test script, and sending the image acquisition instruction to the camera.
In order to achieve the above object, the present invention further provides a display device, which is characterized by comprising a memory, a processor and a computer program stored on the memory and operable on the processor, wherein the processor executes the program to realize the steps of the automatic test method of the display device;
in order to achieve the above object, the present invention further provides a storage medium, wherein the storage medium stores a computer program, and the computer program, when executed by a processor, implements the steps of the automatic testing method for a display device as described above.
According to the automatic test method of the display equipment, the display equipment and the storage medium, the test signal is received, the corresponding preset test script is operated according to the test signal, the display picture corresponding to the preset test script is displayed, and the image acquisition instruction is sent to the camera; receiving and storing a first test image acquired by the camera according to the image acquisition instruction, wherein the first test image comprises the display picture; judging whether the first test image is consistent with a preset standard image corresponding to the preset test script or not; and if the first test image is inconsistent with the preset standard image, generating a first test result according to the first test image, and sending the first test result to a client. Thereby, it is realized that the display device can automatically detect whether an abnormality is generated.
Drawings
FIG. 1 is a schematic diagram of a display device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first exemplary embodiment of an automatic testing method for a display device according to the present invention;
FIG. 3 is a flowchart illustrating step S120 of a second embodiment of an automatic testing method for a display device according to the present invention;
FIG. 4 is a flowchart illustrating a step S300 of a third embodiment of an automatic testing method for a display device according to the present invention;
FIG. 5 is a flowchart illustrating step S130 of a fourth embodiment of an automatic testing method for a display device according to the present invention;
FIG. 6 is a flowchart illustrating a fourth exemplary embodiment of an automatic testing method for a display device according to the present invention;
fig. 7 is a flowchart illustrating step S100 of the method for automatically testing a display device according to the fifth embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides an automatic test method of display equipment, the display equipment and a storage medium.
As shown in fig. 1, the method of the present invention is applicable to display devices including, but not limited to, the following: tablet, computer, television, etc. The display device may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may comprise a touch-sensitive pad, touch screen, keyboard, and the optional user interface 1003 may also comprise a standard wired, wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Alternatively, the display device may further include an RF (Radio Frequency) circuit, an audio circuit, a WiFi module, and the like. Of course, the display device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer and a thermometer, which are not described herein again.
Those skilled in the art will appreciate that the display device configuration shown in fig. 1 does not constitute a limitation of the display device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a display device automatic test program.
In the display device shown in fig. 1, the processor 1001 may be configured to call a display device automatic test program stored in the memory 1005, and perform the following operations:
receiving a test signal, running a corresponding preset test script according to the test signal, displaying a display picture corresponding to the preset test script, and sending an image acquisition instruction to a camera;
receiving and storing a first test image acquired by the camera according to the image acquisition instruction, wherein the first test image comprises the display picture;
judging whether the first test image is consistent with a preset standard image corresponding to the preset test script or not;
if the first test image is inconsistent with the preset standard image, generating a first test result according to the first test image, and sending the first test result to a client
Further, the processor 1001 may call the display device automatic test program stored in the memory 1005, and also perform the following operations:
if the first test image is consistent with the preset standard image, deleting the first test image;
judging whether a test ending instruction is received or not;
if receiving a test ending instruction, ending the test;
if the test ending instruction is not received, executing: and receiving a test signal, running a corresponding preset test script according to the test signal, displaying a display picture corresponding to the preset test script, and sending an image acquisition instruction to the camera.
Further, the processor 1001 may call the display device automatic test program stored in the memory 1005, and also perform the following operations:
analyzing and calculating the image parameter difference value of the first test image and the preset standard image;
judging whether the image parameter difference value is within a preset range;
and if the image parameter difference value is within a preset range, confirming that the first test image is consistent with a preset standard image corresponding to the preset test script.
Further, the processor 1001 may call the display device automatic test program stored in the memory 1005, and also perform the following operations:
converting the first test image into a first RGB three-channel histogram, and converting the preset standard image into a second RGB three-channel histogram;
comparing the first RGB three-channel histogram with the second RGB three-channel histogram, and calculating to obtain a color difference value of the first test image and the preset standard image;
converting the first test image into a first Y-channel histogram and converting the preset standard image into a second Y-channel histogram;
comparing the first Y-channel histogram with the second Y-channel histogram, and calculating to obtain a contrast difference value between the first test image and the preset standard image;
calculating a first Y-channel average value of the first test image and a second Y-channel average value of the preset standard image, and calculating to obtain a brightness difference value of the first test image and the preset standard image according to the first Y-channel average value and the second Y-channel average value;
and calculating the image parameter difference value according to the color difference value, the contrast difference value and the brightness difference value.
Further, the processor 1001 may call the display device automatic test program stored in the memory 1005, and also perform the following operations:
if the first test image is inconsistent with the preset standard image, generating a first test result according to the first test image;
stopping the running of the preset test script, and sending the first test result to a client; or after the preset test script is operated, the first test result is sent to the client.
Further, the preset test script is a script generated by an automatic test Framework built on the basis of Sikuli and a Robot Framework.
Further, the processor 1001 may call the display device automatic test program stored in the memory 1005, and also perform the following operations:
receiving and storing a second test image acquired by the camera according to the image acquisition instruction;
judging whether the second test image is consistent with a preset abnormal image corresponding to the preset test script or not;
and if the second test image is consistent with the preset abnormal image, generating a second test result according to the second test image, and sending the second test result to a client.
Further, the processor 1001 may call the display device automatic test program stored in the memory 1005, and also perform the following operations:
receiving the test signal, decoding the test signal and generating a decoding result;
running the preset test script corresponding to the decoding result;
and displaying a display picture corresponding to the preset test script, and sending the image acquisition instruction to the camera.
Based on the above hardware structure, embodiments of the automatic test method for the display device in the present application are provided.
Referring to fig. 2, a first embodiment of the present invention provides an automatic test method for a display device, where the automatic test method for a display device includes:
step S100, receiving a test signal, running a corresponding preset test script according to the test signal, displaying a display picture corresponding to the preset test script, and sending an image acquisition instruction to a camera;
in this embodiment, the test signal may be an infrared signal sent by a remote controller or a digital signal based on a bluetooth protocol, the test signal corresponds to a corresponding preset test script, and the preset test scripts may be multiple or one.
Step S110, receiving and storing a first test image acquired by the camera according to the image acquisition instruction, wherein the first test image comprises the display picture;
in this embodiment, after the preset test script is finished running, an image acquisition instruction is sent to the camera to control the camera to shoot and receive the display picture of the display device, so as to obtain and store the first test image. The tester can preset a viewing port of the camera to be aligned with the display screen of the display device, so that the shot first test image contains a display picture of the display device.
Step S120, judging whether the first test image is consistent with a preset standard image corresponding to the preset test script;
in this embodiment, the preset test script corresponds to the preset standard image, and both the preset test script and the preset standard image may be pre-stored in the memory of the display device.
Step S130, if the first test image is not consistent with the preset standard image, generating a first test result according to the first test image, and sending the first test result to a client.
In this embodiment, if the first test image is not consistent with the preset standard image, it indicates that the first test result of the script test is abnormal, at this time, the operation of the preset test script should be terminated, a first test result is generated, and the first test result is sent to a client, where the client is an operation end of a tester and the tester can use the client to control the display device.
Further, step S130 includes:
if the first test image is inconsistent with the preset standard image, generating a first test result according to the first test image;
stopping the running of the preset test script, and sending the first test result to a client; or after the preset test script runs, sending the first test result to the client.
Specifically, the first test result may be sent to the client immediately when the first test image is found to be inconsistent with the preset standard image, or one or more first test results may be sent to the client after a preset test script is run.
In the embodiment, the first test result is automatically obtained through graph comparison, and the first test result is automatically sent to the client side to inform the client side whether an abnormality occurs, so that the test process does not need to be monitored manually, and the automatic test of the display equipment is realized.
Further, referring to fig. 2, after the step S120, the method includes:
step S200, if the first test image is consistent with the preset standard image, deleting the first test image;
in this embodiment, when the first test image is consistent with the preset standard image, it is indicated that no exception is generated in the script test, and the first test image needs to be deleted in order to save storage resources and prevent problems from occurring in a subsequent script test process.
Step S210, judging whether a test ending instruction is received or not;
step S220, if receiving a test ending instruction, ending the test;
if the test termination instruction is not received, step S100 is executed.
In this embodiment, the tester may send a test termination instruction through the remote controller to terminate the test, or may continue to send the test signal to perform a new test on the display device.
In the embodiment, when the script test does not generate the abnormality, the first test image is deleted, so that the storage resource is saved, the test time is shortened, and the user experience is improved.
Further, a second embodiment is proposed based on the first embodiment, referring to fig. 3, fig. 3 is a detailed flow diagram of step S120 in the second embodiment of the present invention, in this embodiment, the step S120 includes:
step S300, analyzing and calculating the image parameter difference value of the first test image and the preset standard image;
in this embodiment, the image parameter difference between the first test image and the preset standard image may be a color difference, a contrast difference, and a brightness difference, an image comparison algorithm may be preset in the memory of the display device, and by using the image comparison algorithm, the first test image and the preset standard image may be converted into an RGB three-channel histogram and a Y-channel histogram to obtain an image parameter, and then the image parameter difference is obtained by performing calculation and comparison on the image parameter.
Step S310, judging whether the image parameter difference value is within a preset range;
the preset range is set by the person skilled in the art according to actual requirements.
Step S320, if the image parameter difference value is within a preset range, confirming that the first test image is consistent with a preset standard image corresponding to the preset test script;
and if the image parameter difference value is not in a preset range, confirming that the first test image is inconsistent with a preset standard image corresponding to the preset test script.
In this embodiment, whether the image parameter difference is within a preset range is determined, and if the image parameter difference is within the preset range, it is determined that the first test image is consistent with a preset standard image corresponding to the preset test script. By comparing the image parameter difference value of the first test image and the preset standard image with the preset range, whether the first test image is consistent with the preset standard image or not can be accurately determined, and the accuracy of a first test result is ensured.
Further, a third embodiment is proposed based on the second embodiment, referring to fig. 4, fig. 4 is a detailed flowchart of step S300 in the third embodiment of the method for automatically testing a display device of the present invention in fig. 3, in this embodiment, the step S300 includes:
step S400, converting the first test image into a first RGB three-channel histogram, and converting the preset standard image into a second RGB three-channel histogram;
in this embodiment, the conversion of the first test image into the first RGB three-channel histogram and the conversion of the preset standard image into the second RGB three-channel histogram are performed to accurately obtain the RGB values of the pixels of the first test image and obtain the RGB values of the pixels of the preset standard image.
Step S410, comparing the first RGB three-channel histogram with the second RGB three-channel histogram, and calculating to obtain a color difference value of the first test image and the preset standard image;
in this embodiment, comparing the first RGB three-channel histogram with the second RGB three-channel histogram, the RGB values of the pixels of the first test image may be compared with the RGB values of the pixels corresponding to the preset standard image, then the color difference values of the pixels are calculated by using a preset color difference value calculation rule, and then the average is calculated to obtain the color difference values of the first test image and the preset standard image, for example: the RGB value of a pixel point of the first RGB three-channel histogram is (252, 208, 107), the RGB value of a pixel point corresponding to the second RGB three-channel histogram is (245, 220, 105), the color difference value of the pixel point can be calculated to be 5.13 according to a preset color difference value calculation rule, and by analogy, the difference values of all pixel points of the first RGB three-channel histogram and the second RGB three-channel histogram can be calculated, and then the average is calculated to obtain the color difference value of the first test image and the preset standard image.
Step S420, converting the first test image into a first Y-channel histogram, and converting the preset standard image into a second Y-channel histogram;
the Y channel is one of the channels in the CMYK image format.
Step S430, comparing the first Y-channel histogram with the second Y-channel histogram, and calculating to obtain a contrast difference value between the first test image and the preset standard image;
in this embodiment, the first test image is converted into a first Y-channel histogram, and the preset standard image is converted into a second Y-channel histogram, so that the contrast information between the first test image and the preset standard image is easier to obtain, and the contrast difference between the first test image and the preset standard image is calculated according to the contrast information.
Step S440, calculating a first Y channel average value of the first test image and a second Y channel average value of the preset standard image, and calculating to obtain a brightness difference value of the first test image and the preset standard image according to the first Y channel average value and the second Y channel average value;
step S450, calculating the image parameter difference value according to the color difference value, the contrast difference value and the brightness difference value.
Preset constants a, b, c may be set, and the image parameter difference may be calculated by the following formula:
a color difference + b contrast difference + c brightness difference. Of course other calculation means may be used.
Further, a fourth embodiment is proposed based on the third embodiment, referring to fig. 5, fig. 5 is a detailed flow diagram of step S130 in the third embodiment of the method for automatically testing a display device of the present invention in fig. 4, in this embodiment, the step S130 further includes:
step S500, if the first test image is inconsistent with the preset standard image, generating a first test result according to the first test image;
step S510, stopping running of the preset test script, and sending the first test result to a client; or after the preset test script is operated, the first test result is sent to the client.
In this embodiment, detecting that the first test image is inconsistent with the preset standard image, generating a first test result, at this time, terminating the running of the prediction script, and then sending the first test result to the client; and after the preset test script runs, the first image abnormity test result is sent to the client, and the display equipment can be remotely monitored in real time through the client, so that the operation is convenient.
Further, the preset test script is a script generated by an automatic test Framework built on the basis of Sikuli and a Robot Framework.
In this embodiment, Sikuli is a graphic script language, which operates based on a Robot Framework, and the Sikuli and the Robot Framework can build an automatic test Framework, so that a tester can generate the preset test script only by inputting the preset standard image into the automatic test Framework according to a simple language rule when using the Framework, wherein the preset standard image can be obtained through screenshot, and the automatic test Framework is simple to operate, thereby improving user experience.
Further, a fourth embodiment is proposed based on the first embodiment, referring to fig. 6, fig. 6 is a schematic flow chart of the fourth embodiment of the automatic testing method for the display device of the present invention, in this embodiment, after the step S100, the method further includes:
step S600, receiving and storing a second test image acquired by the camera according to the image acquisition instruction;
step S610, judging whether the second test image is consistent with a preset abnormal image corresponding to the preset test script;
step S620, if the second test image is consistent with the preset abnormal image, generating a second test result according to the second test image, and sending the second test result to a client;
and if the second test image is inconsistent with the preset abnormal image, deleting the second test image.
In this embodiment, because in the test process of the display device, an abnormal situation that is difficult to obtain through comparison between the second test image and the preset standard image occurs, at this time, the comparison and the inspection between the second test image and the preset abnormal image corresponding to the test signal are directly passed, and only the region where the second test image may be abnormal needs to be inspected during the image comparison, which is simple and efficient.
Further, referring to fig. 7, fig. 7 is a detailed flowchart of step S100 of the automatic testing method for the display device shown in fig. 2, in this embodiment, the step S100 includes:
step S700, receiving the test signal, decoding the test signal and generating a decoding result;
step S710, operating the preset test script corresponding to the decoding result;
and S720, displaying a display picture corresponding to the preset test script, and sending the image acquisition instruction to the camera.
In this embodiment, the test signal may be sent by an infrared remote control, the test signal corresponds to the preset test script, one test signal may correspond to a plurality of preset test scripts, and one test signal may also be sent to a plurality of different display devices, because the plurality of preset test scripts and the plurality of different display devices can both identify the decoding result of the test signal, and the preset test script is run through the test signal, so that the test method is more widely applied.
The specific embodiment of the storage medium of the present invention is substantially the same as the embodiments of the automatic testing method for the display device, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be substantially or partially embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a display device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. An automatic test method for a display device, the method being suitable for the display device, the automatic test method for the display device comprising:
receiving a test signal, running a corresponding preset test script according to the test signal, displaying a display picture corresponding to the preset test script, and sending an image acquisition instruction to a camera;
receiving and storing a first test image acquired by the camera according to the image acquisition instruction, wherein the first test image comprises the display picture;
judging whether the first test image is consistent with a preset standard image corresponding to the preset test script or not;
if the first test image is inconsistent with the preset standard image, generating a first test result according to the first test image, and sending the first test result to a client;
wherein, the step of judging whether the first test image is consistent with a preset standard image corresponding to the preset test script comprises:
converting the first test image into a first RGB three-channel histogram, and converting the preset standard image into a second RGB three-channel histogram;
comparing the first RGB three-channel histogram with the second RGB three-channel histogram, and calculating to obtain a color difference value of the first test image and the preset standard image;
converting the first test image into a first Y-channel histogram and converting the preset standard image into a second Y-channel histogram;
comparing the first Y-channel histogram with the second Y-channel histogram, and calculating to obtain a contrast difference value between the first test image and the preset standard image;
calculating a first Y-channel average value of the first test image and a second Y-channel average value of the preset standard image, and calculating to obtain a brightness difference value of the first test image and the preset standard image according to the first Y-channel average value and the second Y-channel average value;
calculating an image parameter difference value according to the color difference value, the contrast difference value and the brightness difference value;
judging whether the image parameter difference value is within a preset range;
and if the image parameter difference value is within a preset range, confirming that the first test image is consistent with a preset standard image corresponding to the preset test script.
2. The method for automatically testing a display device according to claim 1, wherein the step of determining whether the first test image is consistent with a preset standard image corresponding to the preset test script further comprises:
if the first test image is consistent with the preset standard image, deleting the first test image;
judging whether a test ending instruction is received or not;
if the test ending instruction is received, ending the test;
if the test ending instruction is not received, executing: and receiving a test signal, running a corresponding preset test script according to the test signal, displaying a display picture corresponding to the preset test script, and sending an image acquisition instruction to the camera.
3. The method for automatically testing a display device according to claim 1, wherein the step of generating a first test result according to the first test image and sending the first test result to the client if the first test image is inconsistent with the preset standard image comprises:
if the first test image is inconsistent with the preset standard image, generating a first test result according to the first test image;
stopping the running of the preset test script, and sending the first test result to a client; or after the preset test script is operated, the first test result is sent to the client.
4. The automatic test method for the display device according to any one of claims 1 to 3, wherein the preset test script is a script generated by an automatic test Framework built based on Sikuli and Robot Framework.
5. The method according to any one of claims 1 to 3, wherein the step of receiving the test signal, running a corresponding preset test script according to the test signal, displaying a display screen corresponding to the preset test script, and sending an image acquisition instruction to the camera further comprises:
receiving and storing a second test image acquired by the camera according to the image acquisition instruction;
judging whether the second test image is consistent with a preset abnormal image corresponding to the preset test script or not;
and if the second test image is consistent with the preset abnormal image, generating a second test result according to the second test image, and sending the second test result to a client.
6. The method according to any one of claims 1 to 3, wherein the step of receiving a test signal, running a corresponding preset test script according to the test signal, displaying a display screen corresponding to the preset test script, and sending an image acquisition instruction to a camera comprises:
receiving the test signal, decoding the test signal and generating a decoding result;
running the preset test script corresponding to the decoding result;
and displaying a display picture corresponding to the preset test script, and sending the image acquisition instruction to the camera.
7. A display device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of automatic testing of a display device according to any one of claims 1 to 6 when executing the program.
8. A storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method for automatic testing of a display device according to any one of claims 1 to 6.
CN201911040700.2A 2019-10-25 2019-10-25 Automatic test method of display device, display device and storage medium Active CN110572642B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911040700.2A CN110572642B (en) 2019-10-25 2019-10-25 Automatic test method of display device, display device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911040700.2A CN110572642B (en) 2019-10-25 2019-10-25 Automatic test method of display device, display device and storage medium

Publications (2)

Publication Number Publication Date
CN110572642A CN110572642A (en) 2019-12-13
CN110572642B true CN110572642B (en) 2021-09-24

Family

ID=68786016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911040700.2A Active CN110572642B (en) 2019-10-25 2019-10-25 Automatic test method of display device, display device and storage medium

Country Status (1)

Country Link
CN (1) CN110572642B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3082644B1 (en) * 2018-12-14 2020-06-26 Jcdecaux Sa METHOD FOR VERIFYING THE DISPLAY OF CONTENT BY A DIGITAL DISPLAY DEVICE AND DIGITAL DISPLAY SYSTEM.
CN111131905A (en) * 2019-12-30 2020-05-08 深圳Tcl数字技术有限公司 Image quality detection method, device, equipment and storage medium
CN113362270A (en) * 2020-03-05 2021-09-07 西安诺瓦星云科技股份有限公司 Method and device for monitoring abnormal display of display screen picture
CN111554219A (en) * 2020-04-29 2020-08-18 深圳创维-Rgb电子有限公司 Display equipment testing method and device, electronic product and storage medium
CN113852800A (en) * 2020-06-28 2021-12-28 深圳Tcl新技术有限公司 Display picture testing method, terminal and storage medium
CN111953962A (en) * 2020-07-13 2020-11-17 西安万像电子科技有限公司 Monitoring method and system
CN111669578A (en) * 2020-07-30 2020-09-15 重庆盛泰光电有限公司 Camera module automatic check out test set
CN113270054A (en) * 2021-05-17 2021-08-17 京东方科技集团股份有限公司 Image quality detection of display equipment, image quality detection report generation method and device equipment
CN114554172B (en) * 2022-01-19 2023-08-04 深圳市微特精密科技股份有限公司 Visual test display system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349159A (en) * 2013-08-05 2015-02-11 鸿富锦精密工业(深圳)有限公司 Screen test system and method
CN107948554A (en) * 2017-11-30 2018-04-20 深圳Tcl新技术有限公司 Contrast adjustment method, display and the readable storage medium storing program for executing of display picture
CN108088654A (en) * 2017-12-07 2018-05-29 东莞职业技术学院 Projector quality determining method and its electronic equipment
CN110300299A (en) * 2019-06-27 2019-10-01 深圳创维-Rgb电子有限公司 Show facility switching machine method for testing pressure, device, equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070070254A1 (en) * 2005-09-26 2007-03-29 Cazier Robert P Video standard determination

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349159A (en) * 2013-08-05 2015-02-11 鸿富锦精密工业(深圳)有限公司 Screen test system and method
CN107948554A (en) * 2017-11-30 2018-04-20 深圳Tcl新技术有限公司 Contrast adjustment method, display and the readable storage medium storing program for executing of display picture
CN108088654A (en) * 2017-12-07 2018-05-29 东莞职业技术学院 Projector quality determining method and its electronic equipment
CN110300299A (en) * 2019-06-27 2019-10-01 深圳创维-Rgb电子有限公司 Show facility switching machine method for testing pressure, device, equipment and storage medium

Also Published As

Publication number Publication date
CN110572642A (en) 2019-12-13

Similar Documents

Publication Publication Date Title
CN110572642B (en) Automatic test method of display device, display device and storage medium
WO2018095218A1 (en) Method for remote controller upgrading test and device
CN112419693B (en) Device control method, device, display device and computer readable storage medium
CN112637842B (en) Screen projection equipment connection method, system, equipment and storage medium
US8972793B2 (en) Apparatus and method for analyzing error generation in mobile terminal
CN113344901A (en) Gluing defect detection method and device, storage medium and electronic equipment
CN110636286A (en) Remote testing method of display equipment, terminal and storage medium
US9904865B2 (en) Setting apparatus which sets a detection region for a detection process
CN105100850A (en) Intelligent terminal touch screen remote control method and device
CN115686963A (en) Server compatibility testing method and device
CN114299056A (en) Defect point recognition method of image and defect image recognition model training method
CN108235101B (en) Smart television initialization method, smart television and computer readable storage medium
CN109656826B (en) Application testing method, system, device and computer readable storage medium
CN109104608B (en) Television performance test method, equipment and computer readable storage medium
US10834169B2 (en) System and method of communicating with and controlling a test device
CN109862352B (en) Video quality testing method, set top box and storage medium
CN111866481B (en) Method for detecting contamination of projection device, detection device and readable storage medium
CN110572641B (en) Display equipment testing method and device and computer readable storage medium
CN110865911B (en) Image testing method, device, storage medium, image acquisition card and upper computer
CN111258890A (en) Program test method, storage medium, and system
JP2009277060A (en) Test device, test method, and test program for electronic equipment
CN110928766A (en) Application software testing method, device, equipment and computer readable storage medium
CN110740366A (en) Method and device for automatically maintaining television through external storage medium and storage medium
CN111061630A (en) Product debugging method, debugging device and readable storage medium
US11188743B2 (en) Image processing apparatus and image processing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant