CN110572641A - display equipment testing method and device and computer readable storage medium - Google Patents

display equipment testing method and device and computer readable storage medium Download PDF

Info

Publication number
CN110572641A
CN110572641A CN201810566943.9A CN201810566943A CN110572641A CN 110572641 A CN110572641 A CN 110572641A CN 201810566943 A CN201810566943 A CN 201810566943A CN 110572641 A CN110572641 A CN 110572641A
Authority
CN
China
Prior art keywords
setting instruction
similarity
display equipment
histogram
standard
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.)
Granted
Application number
CN201810566943.9A
Other languages
Chinese (zh)
Other versions
CN110572641B (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.)
Haier Smart Home Co Ltd
Qingdao Haier Multimedia Co Ltd
Original Assignee
Qingdao Haier Multimedia 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 Qingdao Haier Multimedia Co Ltd filed Critical Qingdao Haier Multimedia Co Ltd
Priority to CN201810566943.9A priority Critical patent/CN110572641B/en
Publication of CN110572641A publication Critical patent/CN110572641A/en
Application granted granted Critical
Publication of CN110572641B publication Critical patent/CN110572641B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The embodiment of the invention discloses a testing method of display equipment, and belongs to the technical field of display equipment. The method comprises the following steps: when the setting instruction which is not executed exists in the setting instruction sequence, the first setting instruction which is not executed in the setting instruction sequence is sent to the display equipment, the first actual image displayed after the display equipment executes the first setting instruction is obtained, and when the first similarity between the first actual image and the first standard image in the obtained standard image library meets the setting condition, the test represented by the first setting instruction is determined to pass through the display equipment. By adopting the technical scheme, the operation of the display equipment by a user can be automatically simulated, and whether the display condition of the display equipment meets the standard or not can be automatically judged, so that the labor intensity of testers can be reduced. The embodiment of the invention also discloses a testing device of the display equipment and a computer readable storage medium.

Description

display equipment testing method and device and computer readable storage medium
Technical Field
the present invention relates to the field of display device technologies, and in particular, to a method and an apparatus for testing a display device, and a computer-readable storage medium.
Background
the traditional test method for simulating the user operation display equipment needs manual operation of a tester. The tester simulates a user to send an instruction to the display device in various application scenes, and judges whether the display condition of the display device meets the standard, namely, the tester needs to manually check each detection index of the display device one by one, and the labor intensity of the tester is high.
Disclosure of Invention
The embodiment of the invention provides a detection method of display equipment, which automatically simulates the operation of a user on the display equipment and automatically judges whether the display condition of the display equipment meets the standard or not, thereby solving the problem of high labor intensity of testers.
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview and is intended to neither identify key/critical elements nor delineate the scope of such embodiments. Its sole purpose is to present some concepts in a simplified form as a prelude to the more detailed description that is presented later.
according to a first aspect of embodiments of the present invention, a method for testing a display device is provided.
In an optional embodiment, the method for testing the display device includes:
When an unexecuted setting instruction exists in a setting instruction sequence, sending a first unexecuted setting instruction in the setting instruction sequence to a display device; wherein each set instruction represents a test;
acquiring a first actual image displayed after the display equipment executes the first setting instruction;
and when determining that the first similarity between the first actual image and the first standard image in the acquired standard image library meets a set condition, determining that the display equipment passes the test represented by the first set command, wherein all the standard images in the standard image library meet the detection standard.
In an alternative embodiment, the determining that the first similarity between the first actual image and the first standard image in the acquired standard image library satisfies a set condition includes:
Acquiring the first similarity according to color histograms of the first actual image and the first standard image, wherein the color histogram comprises one or more of a histogram of a red channel, a histogram of a green channel, a histogram of a blue channel and a gray histogram;
And judging whether the first similarity meets a set condition or not according to the first similarity and a first set similarity.
in an alternative embodiment, the step of obtaining the library of standard images comprises:
saving a second setting instruction executed by the display equipment;
When the display equipment correctly executes the second setting instruction, saving a second standard image displayed by the display equipment;
wherein the second setting instruction is associated with the second standard image.
In an optional embodiment, the sending the first setting instruction that is not executed in the setting instruction sequence to the display device specifically includes: sending the first setting instruction to the display equipment through a matched input device of the display equipment;
The obtaining of the first actual image displayed after the display device executes the first setting instruction specifically includes: and acquiring the first actual image through a camera device.
according to a second aspect of the embodiments of the present invention, there is provided a test apparatus of a display device.
In an alternative embodiment, the testing apparatus for a display device includes:
The device comprises a first module, a second module and a third module, wherein the first module is used for sending a first setting instruction which is not executed in a setting instruction sequence to display equipment when the setting instruction which is not executed exists in the setting instruction sequence; wherein each set instruction represents a test;
The second module is used for acquiring a first actual image displayed after the display equipment executes the first setting instruction;
And the third module is used for determining that the display equipment passes the test represented by the first setting command when the first similarity between the first actual image and the first standard image in the acquired standard image library meets the setting condition, wherein all the standard images in the standard image library meet the detection standard.
in an alternative embodiment, the third module comprises:
a first unit, configured to obtain the first similarity according to a color histogram of the first actual image and the first standard image, where the color histogram includes one or more of a histogram of a red channel, a histogram of a green channel, a histogram of a blue channel, and a grayscale histogram;
And the second unit is used for judging whether the first similarity meets a set condition or not according to the first similarity and a first set similarity.
In an optional embodiment, the testing apparatus further includes a fourth module, configured to store a second setting instruction executed by the display device; when the display equipment correctly executes the second setting instruction, saving a second standard image displayed by the display equipment; wherein the second setting instruction is associated with the second standard image.
In an optional embodiment, the first module is specifically configured to send the first setting instruction to the display device through a matching input device of the display device;
The second module is specifically configured to acquire the first actual image through a camera device.
according to a third aspect of embodiments of the present invention, there is provided a test apparatus of a display device.
in an alternative embodiment, the testing apparatus of the display device includes:
A processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
When an unexecuted setting instruction exists in a setting instruction sequence, sending a first unexecuted setting instruction in the setting instruction sequence to a display device; wherein each set instruction represents a test;
Acquiring a first actual image displayed after the display equipment executes the first setting instruction;
and when determining that the first similarity between the first actual image and the first standard image in the acquired standard image library meets a set condition, determining that the display equipment passes the test represented by the first set command, wherein all the standard images in the standard image library meet the detection standard.
According to a fourth aspect of embodiments of the present invention, there is provided a computer-readable storage medium.
in an alternative embodiment, the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the aforementioned testing method of a display device.
the technical scheme provided by the embodiment of the invention has the beneficial effects that: the operation of the user on the display equipment is automatically simulated, and whether the display condition of the display equipment meets the standard or not is automatically judged, so that the labor intensity of testers can be reduced.
it is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow diagram illustrating a method of testing a display device according to an exemplary embodiment;
FIG. 2 is a schematic flow chart illustrating a process of determining that a first similarity between a first actual image and a first standard image in an acquired standard image library satisfies a set condition according to an exemplary embodiment;
FIG. 3 is a schematic flow chart illustrating a process of determining that a first similarity between a first actual image and a first standard image in an acquired standard image library satisfies a set condition according to an exemplary embodiment;
FIG. 4 is a schematic diagram illustrating a process for obtaining a library of standard images in accordance with an exemplary embodiment;
FIG. 5 is a block diagram illustrating a test system in accordance with an exemplary embodiment;
FIG. 6 is a block diagram illustrating a test system in accordance with an exemplary embodiment;
FIG. 7 is a flowchart illustrating a method of testing a display device according to an exemplary embodiment;
Fig. 8 is a block diagram illustrating a testing apparatus of a display device according to an exemplary embodiment.
Detailed Description
the following description and the drawings sufficiently illustrate specific embodiments of the invention to enable those skilled in the art to practice them. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. The scope of embodiments of the invention encompasses the full ambit of the claims, as well as all available equivalents of the claims. Embodiments may be referred to herein, individually or collectively, by the term "invention" merely for convenience and without intending to voluntarily limit the scope of this application to any single invention or inventive concept if more than one is in fact disclosed. Herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed. The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the structures, products and the like disclosed by the embodiments, the description is relatively simple because the structures, the products and the like correspond to the parts disclosed by the embodiments, and the relevant parts can be just described by referring to the method part.
the traditional test method for simulating the user operation display equipment needs manual operation of a tester. In the technical scheme provided by the text, the user is simulated to send the instruction to the display equipment automatically in various application scenes, whether the image displayed after the display equipment executes the instruction meets the standard or not is automatically judged, the test work of part of testers is undertaken, and the labor intensity of the testers is reduced.
Display device in this context refers to a device that can display images, text, including but not limited to television, display, projector, removable display device.
according to a first aspect of embodiments of the present invention, a method for testing a display device is provided.
as shown in fig. 1, in an alternative embodiment, the method for testing the display device includes:
s101, when setting instructions which are not executed exist in the setting instruction sequence, sending first setting instructions which are not executed in the setting instruction sequence to display equipment, wherein each setting instruction represents a test.
In S101, each setting instruction in the setting instruction sequence represents a test, all the setting instructions in the setting instruction sequence may represent all tests that need to be performed on the display device, and the setting instruction that has not been executed in the setting instruction sequence indicates that the test on the display device has not been completed, and the test on the display device needs to be continued. Each setting instruction represents a test, and the test is performed on the display device, and obviously, all the setting instructions in the setting instruction sequence are setting instructions which can be identified and executed by the display device. And after a first setting instruction which is not executed in the setting instructions is sent to the display equipment, the display equipment executes the first setting instruction. In S101, sending the first setting instruction to the display device may be implemented as: directly sending the first setting instruction to the display equipment in a network communication mode, for example, the display equipment is connected with a router, and the first setting instruction is sent to the display equipment through the router; can also be implemented as: and sending the first setting instruction to the display equipment through a matched input device of the display equipment.
s102, a first actual image displayed after the display device executes the first setting instruction is obtained.
the first actual image displayed after the display device executes the first setting instruction can be acquired through a software screenshot mode, and the first actual image displayed after the display device executes the first setting instruction can also be acquired through the camera device. Optionally, when the display device is a television, an image of the user interaction interface is taken as the first actual image. Avoiding taking the video program as the first actual image.
s103, when the first similarity between the first actual image and the first standard image in the acquired standard image library meets the set condition, determining that the display equipment passes a test represented by the first set command, wherein all standard images in the standard image library meet the test standard.
in S103, all the standard images in the standard image library conform to the detection standard, and for the first actual image, the first standard image is the detection standard of the first actual image. The first similarity between the first actual image and the first standard image meets the set condition, which indicates that the first actual image meets the test standard, indicates that the result obtained after the display device executes the first set instruction meets the expectation, further indicates that the display device successfully executes the first set instruction, and further indicates that various signals are smoothly transmitted in the display device, and hardware related to the first set instruction normally works.
by adopting the technical scheme to detect the display equipment, the labor intensity of testers can be reduced. In addition, in the process of testing the display device, the situation of inattention always occurs to the tester, and more or less misjudgment occurs.
in an alternative embodiment, as shown in fig. 2, the determining that the first similarity between the first actual image and the first standard image in the acquired standard image library satisfies the set condition includes:
S201, acquiring a first similarity according to color histograms of the first actual image and the first standard image, wherein the color histograms include one or more of a histogram of a red channel, a histogram of a green channel, a histogram of a blue channel and a gray level histogram.
s201 may be implemented by various embodiments, and in an alternative embodiment, the first similarity is obtained according to any one of a histogram of a red channel, a histogram of a green channel, a histogram of a blue channel, and a gray histogram of the first actual image and the first standard image. In this embodiment, a first similarity may be obtained, for example, the similarity of the histogram of the red channel, the similarity of the histogram of the green channel, the similarity of the histogram of the blue channel, or the similarity of the histogram of the gray level.
In an alternative embodiment, the first similarity is obtained from any two of histograms of a red channel, a green channel, a blue channel, and a gray histogram of the first actual image and the first standard image. In this embodiment, two first similarities may be obtained, for example, the similarity of the red channel histogram and the similarity of the green channel histogram, or the similarity of the red channel histogram and the similarity of the gray level histogram.
in an alternative embodiment, the first similarity is obtained according to any three of a histogram of a red channel, a histogram of a green channel, a histogram of a blue channel, and a histogram of gray scale of the first actual image and the first standard image. In the present embodiment, three first similarities may be acquired, for example, the similarity of the red channel histogram, the similarity of the green channel histogram, and the similarity of the blue channel histogram.
in an alternative embodiment, the first similarity is obtained from the histogram of the red channel, the histogram of the green channel, the histogram of the blue channel, and the grayscale histogram of the first actual image and the first standard image. In the present embodiment, four first similarities can be acquired.
S202, judging whether the first similarity meets the set condition or not according to the first similarity and the first set similarity.
in an optional implementation manner, when a first similarity is obtained, a first set similarity is correspondingly set, and if the first similarity is greater than the first set similarity, it is determined that the first similarity satisfies the set condition.
In an optional implementation manner, when two first similarities are obtained, two first set similarities are correspondingly set, and if both the two first similarities are greater than the two corresponding first set similarities, it is determined that the first similarities satisfy the set condition. For example, when the two first similarities include a similarity of a red channel histogram and a similarity of a green channel histogram, the first set similarity includes a set similarity of the red channel histogram and a set similarity of the green channel histogram, and if the similarity of the red channel histogram is greater than the set similarity of the red channel histogram and the similarity of the green channel histogram is greater than the set similarity of the green channel histogram at the same time, it is determined that the first similarity satisfies the setting condition.
In an optional implementation manner, when three first similarities are obtained, correspondingly, three first set similarities are set, and if all the three first similarities are greater than the corresponding three first set similarities, it is determined that the first similarities satisfy the set condition.
in an optional implementation manner, when four first similarities are obtained, correspondingly, four first set similarities are set, and if the four first similarities are all greater than the corresponding four first set similarities, it is determined that the first similarities satisfy the set condition.
in this embodiment, the first similarity between the first actual image and the first standard image can be quickly obtained, so as to determine whether the first actual image meets the set condition.
In a specific embodiment, as shown in fig. 3, the determining that the first similarity between the first actual image and the first standard image in the acquired standard image library satisfies the setting condition includes:
s301, reading a first actual image A;
S302, acquiring a red channel histogram A.R histogram of the first actual image A, acquiring a green channel histogram A.G histogram of the first actual image A, and acquiring a blue channel histogram A.B histogram of the first actual image A;
S303, converting the first actual image A into a gray mode to obtain a gray histogram A.GRAY histogram of the first actual image A;
s304, reading a first standard image B;
S305, acquiring a red channel histogram B.R histogram of the first standard image B, acquiring a green channel histogram B.G histogram of the first standard image B, and acquiring a blue channel histogram B.B histogram of the first standard image B;
S306, converting the first standard image B into a gray mode, and acquiring a gray histogram B.GRAY histogram of the first standard image B;
the steps are used for acquiring a color histogram of a first actual image and acquiring a color histogram of a first standard image;
S307, acquiring A.R histograms and a first similarity ABR of the B.R histograms, acquiring A.G histograms and a first similarity ABG of the B.G histograms, acquiring A.B histograms and a first similarity ABB of the B.B histograms, and acquiring a first similarity ABGRAY of the A.GRAY histograms and the B.GRAY histograms;
in S307, four first similarities may be acquired: a first similarity ABR, a first similarity ABG, a first similarity ABB and a first similarity ABGRAY;
s308, judging whether the first similarity ABR, the first similarity ABG, the first similarity ABB and the first similarity ABGRAY are simultaneously greater than a first set similarity corresponding to the first similarity ABR, the first similarity ABG, the first similarity ABGRAY or not; if yes, executing S309, otherwise executing S310;
That is, in S309, it is determined whether the following four conditions are simultaneously satisfied: the first similarity ABR is greater than a first set similarity ABR, the first similarity ABG is greater than a first set similarity ABG, the first similarity ABB is greater than a first set similarity ABB, and the first similarity ABGRAY is greater than the first set similarity ABGRAY;
S309, determining that the first similarity meets a set condition;
and S310, determining that the first similarity does not meet the set condition.
In some optional embodiments, the step S202 of determining whether the first similarity satisfies the set condition according to the first similarity and the first set similarity may be implemented as:
Acquiring a cosine value between a first vector and a second vector, and judging whether the first similarity meets a set condition or not according to the cosine value and a set cosine value, wherein the first vector takes two or more first similarities as vector coordinates, and the second vector takes two or more first set similarities as vector coordinates;
If the cosine value is larger than or equal to the set cosine value, the first similarity meets the set condition, and if the cosine value is smaller than the set cosine value, the first similarity does not meet the set condition.
In the technical scheme, whether the first similarity meets the set condition or not can be accurately judged. For example, the first similarity a1 of the red channel histogram, the first similarity a2 of the green channel histogram, and the first similarity a3 of the gray histogram between the third actual image and the third standard image are acquired, and then the first vector a is (a1, a2, a 3); correspondingly, the first set similarity of the red channel histogram is b1, the first set similarity of the green channel histogram is b2, and the first set similarity of the gray histogram is b3, then the second vector b is (b1, b2, b3), the cosine values of the first vector a and the second vector b are cos θ, the larger the value of cos θ, the higher the degree of similarity between the third actual image and the third standard image, and the smaller the value of cos θ, the lower the degree of similarity between the third actual image and the third standard image. If the process of acquiring the third actual image is disturbed, the first vector becomes a' ═ δ × a ═ (δ × a1, δ × a2, δ × a3), where δ is a constant. At this time, if the first similarity is directly compared with the first set similarity to determine whether the first similarity satisfies the set condition, it is obvious that the change of the first vector a affects the determination result. And judging whether the first similarity meets the set condition by using the cosine values cos theta of the first vector a 'and the second vector b, wherein even if the first vector is changed from a to a', the angle between the first vector and the second vector is unchanged, and the judgment result is not influenced. Therefore, under the condition that certain interference exists, the technical scheme can still accurately judge whether the first similarity meets the set condition.
In fig. 4, in an alternative embodiment, the step of obtaining a library of standard images comprises:
s401, saving a second setting instruction executed by the display device.
The second setting instruction is a second setting instruction input by the user. S401 needs to be executed for a plurality of times, each time S401 is executed, a second setting instruction executed by one display device is saved, and the test represented by the first setting instruction saved each time is different. After being executed several times in S401, the saved several second setting instructions form a setting instruction sequence. Optionally, the set instruction sequence is saved in the form of a script.
when a user normally uses the display equipment, a certain sequence is formed between the two set instructions, for example, when the display equipment is a television, the television must be muted first, and then the muting can be cancelled; in the process of operating the television menu, the first-level menu must be accessed first, and the second-level menu can be accessed on the basis of the first-level menu. When a user normally uses the display device, the same operation has different functions in different application scenes, for example, when a television plays a video, a certain operation can reduce the volume, and when the television calls a menu, the operation can control the movement of a cursor. In view of this, the tester needs to input the second setting instruction to the display device in sequence, and correspondingly, the display device stores the second setting instruction in sequence, that is, the setting instructions in the setting instruction sequence are arranged according to the setting sequence.
Correspondingly, in S101, sending the first setting instruction that is not executed in the setting instruction sequence to the display device may be implemented as: and sending the first setting instruction which is not executed in the setting instruction sequence to the display equipment according to the setting sequence.
S402, when the display device correctly executes a second setting instruction, saving a second standard image displayed by the display device, wherein the second setting instruction is associated with the second standard image.
the display device correctly executes the second setting instruction, which means that the display device displays an expected image after the display device executes the second setting instruction. Whether the image displayed by the display device is an expected image or not needs to be judged by a tester. And if the expected image is not displayed after the display equipment executes the second setting instruction, the image is not saved. The tester or the display equipment is replaced to obtain a second standard image which corresponds to a second set instruction and meets the expectation; or debugging the equipment to acquire a second standard image corresponding to the second setting instruction and meeting the expectation. The standard images in the standard image library are arranged according to the setting sequence corresponding to the setting instructions in the setting instruction sequence. The second setting instruction is associated with the second standard image, which means that the setting instruction corresponds to the standard image one by one, so that in the test process, after the first actual image displayed after the display equipment executes the first setting instruction is obtained, the correct first standard image can be obtained.
In this embodiment, it is only necessary to ensure that the second setting instruction corresponds to the second standard image one to one. In an alternative embodiment, the order of acquiring the library of standard images comprises: and saving a setting instruction executed by the display device, and saving a standard image displayed by the display device after the display device correctly executes the setting instruction. That is, S401 is executed once, while S402 is executed once.
In an alternative embodiment, the order of acquiring the library of standard images comprises: and saving the setting instruction sequence executed by the display equipment, and saving the standard image corresponding to one setting instruction displayed by the display equipment after the display equipment executes the setting instruction in the setting execution sequence. I.e. S401 is performed several times first, and S402 is performed several times.
the technical scheme provides a test standard for an actual test process, namely, whether the display equipment passes the test represented by a certain set command or not needs to use the second standard image as a detection standard. In addition, in this embodiment, the tester may save the second setting instruction and the second standard image corresponding to the display device according to different display devices, and form a setting instruction sequence and a standard image library dedicated to the display device. Namely, different display devices can be tested by the testing method only by providing different set instruction sequences and different standard image libraries, so that the testing method is wider in application range.
in an alternative embodiment, sending the first setting instruction that is not executed in the setting instruction sequence to the display device may be implemented as: and directly sending the first setting instruction to the display equipment in a network communication mode.
In an optional implementation manner, the acquiring of the first actual image displayed after the display device executes the first setting instruction may be implemented as: and acquiring a first actual image displayed after the display equipment executes a first setting instruction in a software screenshot mode.
For example, when a display of a computer is tested, a first actual image displayed after the display executes a first setting instruction can be acquired through screenshot software.
Corresponding to the above two ways, in some alternative embodiments, a hardware block diagram as shown in fig. 5 is used to test the display device, where the testing apparatus 20 is used to execute the testing method, the testing apparatus 20 is connected to the display device 10 through the router 60, the signal generating apparatus 50 is connected to the display device 10, and the display device 10 can display the image signal sent by the signal generating apparatus 50, such as an ATV signal, a DTV signal, a CVBS signal, a YUV signal, an HDMI signal, and the like. Alternatively, the signal generating device 50 sends standard signals, such as standard images of 525 circles, 625 circles, 32 gray scales, 16 gray scales, color bars, color cards, and the like. The accuracy of the test can be increased. The testing apparatus 50 sends a first setting instruction to the display device 10 through the router 60, and the testing apparatus 20 further obtains a first actual image displayed after the display device 10 executes the first setting instruction through the router 60.
in a preferred embodiment, the first setting instruction that is not executed in the setting instruction sequence is sent to the display device, specifically: sending the first setting instruction to the display equipment through a matched input device of the display equipment;
The method includes the steps of acquiring a first actual image displayed after a display device executes a first setting instruction, specifically: a first actual image is acquired by the camera device.
In the embodiment, the manual operation of a tester can be simulated more truly, the interference of other signals to the display equipment can be avoided, and the test work on the display equipment can be completed more accurately. As for the input device associated with the display device, for example, a television is taken as an example, and if the television receives an operation command transmitted from a remote controller through an infrared receiving device, the input device associated with the television is an infrared receiving device. Compared with the method that the first setting instruction is sent to the display device through the debugging interface, if the first similarity between the first actual image and the first standard image meets the setting condition, the method that the first setting instruction is sent to the display device through the matched input device of the display device is adopted, and meanwhile, the matched input device of the display device can work normally is indicated. Therefore, the present embodiment can complete the testing work of the display device more comprehensively.
in some optional embodiments, the display device is tested by using a hardware block diagram shown in fig. 6, the signal generating device 50 provides an image signal for the display device 10, the testing device 20 is used for executing the testing method, and the testing device 20 can send a setting instruction to the display device 10 through the input device 30. In the process of sending the setting instruction, taking a television as an example, the input device 30 is an infrared receiving device, correspondingly, the output end of the testing device 20 may be connected to the input end of an infrared emitting device (not shown in the figure), the testing device 20 sends the setting instruction to the infrared emitting device in the form of an electrical signal, the infrared emitting device converts the setting instruction in the form of the electrical signal into the setting instruction in the form of an infrared signal, and then sends the setting instruction in the form of the infrared signal to the input device 30, the input device converts the received setting instruction in the form of the infrared into the setting instruction in the form of an electrical signal, and the display device 10 executes a corresponding action according to the setting instruction in the form of the electrical signal. Thereby enabling the first setting instruction to be transmitted to the display apparatus 10 through the companion input device 30 of the display apparatus 10. In fig. 6, the image pickup device 40 may acquire an actual image displayed by the display apparatus 10 and transmit the actual image to the test device 20.
In an alternative embodiment, as shown in fig. 7, when the display device is a tv, the testing method of the display device may be implemented as follows:
S701, judging whether the set command sequence is null: if not, executing S702, if so, executing S709;
s702, sequentially reading a group of setting instructions in the setting instruction sequence;
S703, analyzing the setting instruction and sending the setting instruction to the display equipment through the remote controller;
The remote controller can send the setting execution to the display equipment through protocols such as infrared rays, 2.4G or Bluetooth and the like;
S704, acquiring an actual image displayed by display equipment;
the router can directly use a network protocol to perform screen capture operation on the display equipment so as to obtain the actual image displayed by the display equipment;
s705, acquiring the similarity between the actual image and the standard image;
S706, judging whether the similarity meets a set condition, if so, executing S707, otherwise, executing S708;
s707, determining that the actual execution setting instruction of the display equipment is in accordance with expectation, identifying the printing success to set a document, and executing S701;
S708, determining that the actual execution setting instruction of the display equipment is not in accordance with expectation, identifying printing failure to set a document, and executing S701;
and S709, outputting the setting document, and finishing the test.
according to a second aspect of the embodiments of the present invention, there is provided a test apparatus of a display device.
as shown in fig. 8, in an alternative embodiment, the test apparatus of the display device includes:
A first module 70, configured to send a first setting instruction that is not executed in the setting instruction sequence to the display device when there is an unexecuted setting instruction in the setting instruction sequence; wherein each set instruction represents a test;
A second module 80, configured to obtain a first actual image displayed after the display device executes the first setting instruction;
a third module 90, configured to determine a test that the display device is characterized by the first setting command when it is determined that the first similarity between the first actual image and the first standard image in the acquired standard image library satisfies the setting condition, where all the standard images in the standard image library conform to the detection standard.
in an alternative embodiment, the third module comprises:
the first unit is used for acquiring a first similarity according to a color histogram of the first actual image and the first standard image, wherein the color histogram comprises one or more of a histogram of a red channel, a histogram of a green channel, a histogram of a blue channel and a gray level histogram;
And the second unit is used for judging whether the first similarity meets the set condition or not according to the first similarity and the first set similarity.
in an optional implementation manner, the first unit is specifically configured to obtain the first similarity according to any one of a histogram of a red channel, a histogram of a green channel, a histogram of a blue channel, and a grayscale histogram of the first actual image and the first standard image.
In an optional implementation manner, the first unit is specifically configured to obtain the first similarity according to any two histograms of a red channel histogram, a green channel histogram, a blue channel histogram, and a gray level histogram of the first actual image and the first standard image.
in an optional implementation manner, the first unit is specifically configured to obtain the first similarity according to any three of a histogram of a red channel, a histogram of a green channel, a histogram of a blue channel, and a grayscale histogram of the first actual image and the first standard image.
in an optional implementation manner, the first unit is specifically configured to obtain the first similarity from the histogram of the red channel, the histogram of the green channel, the histogram of the blue channel, and the grayscale histogram of the first actual image and the first standard image.
in an optional implementation manner, the second unit is specifically configured to set a first set similarity when obtaining a first similarity, and determine that the first similarity satisfies the set condition if the first similarity is greater than the first set similarity.
In an optional implementation manner, the second unit is specifically configured to set two first set similarities when two first similarities are obtained, and determine that the first similarities meet the set condition if the two first similarities are greater than the two corresponding first set similarities.
in an optional implementation manner, the second unit is specifically configured to set three first set similarities when three first similarities are obtained, and determine that the first similarities satisfy the set condition if all the three first similarities are greater than the corresponding three first set similarities.
in an optional implementation manner, the second unit is specifically configured to set four first set similarities when four first similarities are obtained, and determine that the first similarities meet the set condition if the four first similarities are all greater than the corresponding four first set similarities.
In an optional implementation manner, the second unit is specifically configured to obtain a cosine value between a first vector and a second vector, and determine whether the first similarity satisfies a set condition according to the cosine value and a set cosine value, where the first vector uses two or more first similarities as vector coordinates, and the second vector uses two or more first set similarities as vector coordinates; if the cosine value is larger than or equal to the set cosine value, the first similarity meets the set condition, and if the cosine value is smaller than the set cosine value, the first similarity does not meet the set condition.
in an optional embodiment, the testing apparatus for a display device further includes a fourth module, configured to store a second setting instruction executed by the display device; when the display equipment correctly executes the second setting instruction, saving a second standard image displayed by the display equipment; wherein the second setting instruction is associated with the second standard image.
in an optional implementation manner, the fourth module is specifically configured to store a setting instruction executed by the display device, and store a standard image displayed by the display device after the display device correctly executes the setting instruction.
In an optional implementation manner, the fourth module is specifically configured to store a setting instruction sequence executed by the display device, and after the display device executes a setting instruction in the setting execution sequence, store a standard image corresponding to the setting instruction and displayed by the display device.
In an optional embodiment, the first module is specifically configured to send the first setting instruction to the display device through a matching input device of the display device;
the second module is specifically used for acquiring a first actual image through the camera device.
in an alternative embodiment, a test apparatus for a display device includes:
a processor;
A memory for storing processor-executable instructions;
wherein the processor is configured to:
when the setting instruction sequence has the setting instruction which is not executed, sending a first setting instruction which is not executed in the setting instruction sequence to the display equipment; wherein each set instruction represents a test;
Acquiring a first actual image displayed after the display equipment executes a first setting instruction;
and when the first similarity between the first actual image and the first standard image in the acquired standard image library meets the set condition, determining the test represented by the display equipment through the first set command, wherein all the standard images in the standard image library meet the detection standard.
alternatively, the foregoing test method and test apparatus for a display device may be implemented in a network-side server, or implemented in a mobile terminal, or implemented in a dedicated control device.
In some alternative embodiments, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the method of the preceding. The computer-readable storage medium includes a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic tape, an optical storage device, and the like.
those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
it is to be understood that the present invention is not limited to the procedures and structures described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (10)

1. A method for testing a display device, comprising:
when an unexecuted setting instruction exists in a setting instruction sequence, sending a first unexecuted setting instruction in the setting instruction sequence to a display device; wherein each set instruction represents a test;
Acquiring a first actual image displayed after the display equipment executes the first setting instruction;
And when determining that the first similarity between the first actual image and the first standard image in the acquired standard image library meets a set condition, determining that the display equipment passes the test represented by the first set command, wherein all the standard images in the standard image library meet the detection standard.
2. The testing method according to claim 1, wherein the determining that the first similarity between the first actual image and the first standard image in the acquired standard image library satisfies a set condition comprises:
Acquiring the first similarity according to color histograms of the first actual image and the first standard image, wherein the color histogram comprises one or more of a histogram of a red channel, a histogram of a green channel, a histogram of a blue channel and a gray histogram;
And judging whether the first similarity meets a set condition or not according to the first similarity and a first set similarity.
3. The method of claim 1, wherein the step of obtaining the library of standard images comprises:
Saving a second setting instruction executed by the display equipment;
When the display equipment correctly executes the second setting instruction, saving a second standard image displayed by the display equipment;
wherein the second setting instruction is associated with the second standard image.
4. the testing method according to claim 1, wherein the sending of the first setting instruction that has not been executed in the setting instruction sequence to a display device specifically comprises: sending the first setting instruction to the display equipment through a matched input device of the display equipment;
The obtaining of the first actual image displayed after the display device executes the first setting instruction specifically includes: and acquiring the first actual image through a camera device.
5. A test apparatus for a display device, comprising:
the device comprises a first module, a second module and a third module, wherein the first module is used for sending a first setting instruction which is not executed in a setting instruction sequence to display equipment when the setting instruction which is not executed exists in the setting instruction sequence; wherein each set instruction represents a test;
the second module is used for acquiring a first actual image displayed after the display equipment executes the first setting instruction;
And the third module is used for determining that the display equipment passes the test represented by the first setting command when the first similarity between the first actual image and the first standard image in the acquired standard image library meets the setting condition, wherein all the standard images in the standard image library meet the detection standard.
6. The testing device of claim 5, wherein the third module comprises:
A first unit, configured to obtain the first similarity according to a color histogram of the first actual image and the first standard image, where the color histogram includes one or more of a histogram of a red channel, a histogram of a green channel, a histogram of a blue channel, and a grayscale histogram;
And the second unit is used for judging whether the first similarity meets a set condition or not according to the first similarity and a first set similarity.
7. The testing device of claim 5, further comprising a fourth module for saving a second setting instruction executed by the display device; when the display equipment correctly executes the second setting instruction, saving a second standard image displayed by the display equipment; wherein the second setting instruction is associated with the second standard image.
8. the testing device of claim 5, wherein the first module is specifically configured to send the first setting instruction to the display device through a matching input device of the display device;
The second module is specifically configured to acquire the first actual image through a camera device.
9. A test apparatus for a display device, comprising:
A processor;
A memory for storing processor-executable instructions;
Wherein the processor is configured to:
when an unexecuted setting instruction exists in a setting instruction sequence, sending a first unexecuted setting instruction in the setting instruction sequence to a display device; wherein each set instruction represents a test;
acquiring a first actual image displayed after the display equipment executes the first setting instruction;
and when determining that the first similarity between the first actual image and the first standard image in the acquired standard image library meets a set condition, determining that the display equipment passes the test represented by the first set command, wherein all the standard images in the standard image library meet the detection standard.
10. a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of testing a display device according to any one of claims 1 to 4.
CN201810566943.9A 2018-06-05 2018-06-05 Display equipment testing method and device and computer readable storage medium Active CN110572641B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810566943.9A CN110572641B (en) 2018-06-05 2018-06-05 Display equipment testing method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810566943.9A CN110572641B (en) 2018-06-05 2018-06-05 Display equipment testing method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110572641A true CN110572641A (en) 2019-12-13
CN110572641B CN110572641B (en) 2021-04-09

Family

ID=68772559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810566943.9A Active CN110572641B (en) 2018-06-05 2018-06-05 Display equipment testing method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110572641B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113342627A (en) * 2021-05-31 2021-09-03 深圳前海微众银行股份有限公司 Application service monitoring method and monitoring system of terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521834A (en) * 2009-04-02 2009-09-02 深圳市茁壮网络技术有限公司 Automatic testing method, device and system
CN102833577A (en) * 2012-08-15 2012-12-19 深圳Tcl新技术有限公司 Method and device for automatically testing function of television
US20150278629A1 (en) * 2014-03-31 2015-10-01 Verizon Patent And Licensing Inc. Objective metric relating to perceptual color differences between images
CN106056575A (en) * 2016-05-05 2016-10-26 南京大学 Image matching method based on object similarity recommended algorithm
CN106899846A (en) * 2017-02-23 2017-06-27 广州视源电子科技股份有限公司 Board method of testing, apparatus and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521834A (en) * 2009-04-02 2009-09-02 深圳市茁壮网络技术有限公司 Automatic testing method, device and system
CN102833577A (en) * 2012-08-15 2012-12-19 深圳Tcl新技术有限公司 Method and device for automatically testing function of television
US20150278629A1 (en) * 2014-03-31 2015-10-01 Verizon Patent And Licensing Inc. Objective metric relating to perceptual color differences between images
CN106056575A (en) * 2016-05-05 2016-10-26 南京大学 Image matching method based on object similarity recommended algorithm
CN106899846A (en) * 2017-02-23 2017-06-27 广州视源电子科技股份有限公司 Board method of testing, apparatus and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113342627A (en) * 2021-05-31 2021-09-03 深圳前海微众银行股份有限公司 Application service monitoring method and monitoring system of terminal

Also Published As

Publication number Publication date
CN110572641B (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN106951346B (en) Response time testing method and device
CN110572642B (en) Automatic test method of display device, display device and storage medium
KR20160021419A (en) Mobile terminal test system and mobile terminal test method using the system
US7085408B1 (en) Method and system for testing image sensor system-on-chip
CN103618892A (en) Method for detecting television and television
CN111896232A (en) Optical machine module testing method, equipment, system and computer readable storage medium
CN113039577A (en) Product testing method and device, computer readable storage medium and electronic equipment
CN110572641B (en) Display equipment testing method and device and computer readable storage medium
JP2007328509A (en) Information processor and information processing method, program, and recording medium
JP7012968B2 (en) Program inspection equipment, program inspection method and program inspection program
CN116527879A (en) Set top box testing method, device, medium and computer device
CN110288579A (en) Show the detection method and device of equipment
CN107179181B (en) Display screen uniformity testing method, terminal and computer readable storage medium
CN110865911B (en) Image testing method, device, storage medium, image acquisition card and upper computer
CN113742152A (en) Screen projection test method, device, equipment and storage medium
KR20150035151A (en) System, terminal device, verification apparatus, method and computer-readable medium for testing application performance
CN110033723B (en) Display input delay detection system and method
US20170230519A1 (en) Terminal device, diagnosis system, computer readable medium, diagnostic method, and computer data signal
JP2009277060A (en) Test device, test method, and test program for electronic equipment
JP2020204835A (en) Information processing apparatus, system, information processing method and program
KR102316969B1 (en) Electronic apparatus capable of recognizing text included in an image captured by a camera and the method thereof
CN113077735B (en) Test method, device and system of vehicle-mounted display equipment
CN219143449U (en) Computer HDMI interface test system
JP7296152B2 (en) Program inspection device, program inspection method and program inspection program
CN108921843B (en) System and method for detecting performance of vehicle-mounted navigator

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210324

Address after: 266103 Haier Industrial Park, 1 Haier Road, Laoshan District, Shandong, Qingdao

Applicant after: QINGDAO HAIER MULTI-MEDIA Co.,Ltd.

Applicant after: Haier Zhijia Co.,Ltd.

Address before: 266103 Haier Industrial Park, 1 Haier Road, Laoshan District, Shandong, Qingdao

Applicant before: QINGDAO HAIER MULTI-MEDIA Co.,Ltd.

GR01 Patent grant
GR01 Patent grant