CN109104608B - Television performance test method, equipment and computer readable storage medium - Google Patents

Television performance test method, equipment and computer readable storage medium Download PDF

Info

Publication number
CN109104608B
CN109104608B CN201811264704.4A CN201811264704A CN109104608B CN 109104608 B CN109104608 B CN 109104608B CN 201811264704 A CN201811264704 A CN 201811264704A CN 109104608 B CN109104608 B CN 109104608B
Authority
CN
China
Prior art keywords
screen image
television
image
preset
target
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
CN201811264704.4A
Other languages
Chinese (zh)
Other versions
CN109104608A (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 TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology 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 TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201811264704.4A priority Critical patent/CN109104608B/en
Publication of CN109104608A publication Critical patent/CN109104608A/en
Application granted granted Critical
Publication of CN109104608B publication Critical patent/CN109104608B/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 a method, equipment and a computer readable storage medium for testing television performance, wherein the method comprises the following steps: sending a test remote control code to a tested television so that the tested television can respond according to the test remote control code; acquiring a screen image in the response process of the tested television, which is acquired within a preset time length according to a preset frequency; determining a target image in the screen image, and acquiring a time parameter corresponding to the target image; and calculating according to the time parameter and the preset frequency to obtain the response time of the tested television responding according to the test remote control code so as to determine the test result of the television performance according to the response time. The method and the device realize automatic testing of the performances of the television such as the starting speed, the information source switching speed and the like, improve the testing efficiency and accuracy and reduce the testing cost in the television performance testing process.

Description

Television performance test method, equipment and computer readable storage medium
Technical Field
The invention relates to the technical field of televisions, in particular to a television performance testing method, equipment and a computer readable storage medium.
Background
At present, the performance requirements on the aspects of the starting speed, the information source switching speed, the application starting speed, the operation fluency and the like of the television are higher and higher, so that the performances of the television need to be tested, and the performance of the television is judged according to the test result obtained by the test. The performance test needs to calculate the response time of the television to the operations of starting, switching information sources and the like, but because the response time of the television to the operations is within 0.1 second, under the condition of manual test, a tester subjectively cannot accurately judge the response time of the television to the operations, and the manual test needs two persons to test simultaneously, one person is responsible for the operation, one person is responsible for recording, then the response time of the television is calculated according to the video, and repeated tests are needed for multiple times to avoid errors of single test, the test workload is large, and the test efficiency is low.
Disclosure of Invention
The invention mainly aims to provide a method and equipment for testing television performance and a computer readable storage medium, and aims to solve the technical problems of large workload of testing television performance and low efficiency of testing television performance.
In order to achieve the above object, the present invention provides a television performance testing method, which comprises the steps of:
sending a test remote control code to a tested television so that the tested television can respond according to the test remote control code;
acquiring a screen image in the response process of the tested television, which is acquired within a preset time length according to a preset frequency;
determining a target image in the screen image, and acquiring a time parameter corresponding to the target image;
and calculating according to the time parameter and the preset frequency to obtain the response time of the tested television responding according to the test remote control code so as to determine the test result of the television performance according to the response time.
Preferably, before the step of determining the target image in the screen image, the method further includes:
naming the screen images according to the collection sequence so that the filenames of the screen images carry time parameters;
the step of obtaining the time parameter corresponding to the target image comprises the following steps:
and acquiring the file name of the target image, and analyzing the file name to obtain the time parameter.
Preferably, the step of determining a target image in the screen image includes:
judging whether the image characteristics of the screen image meet preset conditions or not;
and determining the screen image which meets the preset condition and is collected firstly as a target image.
Preferably, the step of judging whether the image features of the screen image meet a preset condition includes:
calculating the average RGB value of the pixel points in the target range of the screen image;
judging whether the average RGB value is within a preset RGB threshold range or not;
and if the average RGB value is within the preset RGB threshold value range, determining that the screen image meets a preset condition.
Preferably, the step of judging whether the image features of the screen image meet a preset condition further includes:
calculating the average brightness value in the target range of the screen image;
judging whether the average brightness value is larger than a preset brightness threshold value or not;
and if the average brightness value is larger than the preset brightness threshold value, determining that the screen image meets a preset condition.
Preferably, the step of calculating the average brightness value in the target range of the screen image comprises:
acquiring the RGB value of each pixel point in the target range of the screen image;
correspondingly calculating the brightness value of each pixel point according to the RGB value of each pixel point;
and adding the brightness values of all the pixel points, and dividing the added brightness values by the total number of the pixel points in the target range to obtain the average brightness value in the target range of the screen image.
Preferably, before the step of calculating the average brightness value in the target range of the screen image, the method further includes:
taking the target area cut out from the screen image as a cut-out screen image;
the step of calculating the average brightness value in the target range of the screen image comprises the following steps:
and calculating the average brightness value of the cut screen image in a target range.
Preferably, before the step of calculating the average brightness value in the target range of the screen image, the method further includes:
zooming the screen image according to a preset proportion to obtain a zoomed screen image;
the step of calculating the average brightness value in the target range of the screen image comprises the following steps:
and calculating the average brightness value of the scaled screen image in a target range.
In addition, in order to achieve the above object, the present invention further provides a television performance testing device, which includes a memory, a processor, and a television performance testing program stored in the memory and capable of running on the processor, wherein the television performance testing program, when executed by the processor, implements the steps of the television performance testing method as described above.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, having a television performance testing program stored thereon, where the television performance testing program, when executed by a processor, implements the steps of the television performance testing method as described above.
The testing remote control code is sent to the tested television through the testing end so that the tested television can respond according to the testing remote control code; acquiring a screen image in the response process of the tested television, which is acquired within a preset time length according to a preset frequency; determining a target image in the screen image, and acquiring a time parameter corresponding to the target image; and calculating according to the time parameter and the preset frequency to obtain the response time of the tested television responding according to the test remote control code so as to determine the test result of the television performance according to the response time. The method and the device realize automatic testing of the performances of the television such as the starting speed, the information source switching speed and the like, improve the testing efficiency and accuracy and reduce the testing cost in the television performance testing process.
Drawings
FIG. 1 is a schematic diagram of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a television performance testing method according to a preferred 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
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Because the existing manual testing method for the television performance has large testing workload, low testing efficiency and low testing accuracy, the invention provides a solution, and the testing remote control code is sent to the tested television through the testing end so that the tested television can respond according to the testing remote control code; acquiring a screen image in the response process of the tested television, which is acquired within a preset time length according to a preset frequency; determining a target image in the screen image, and acquiring a time parameter corresponding to the target image; and calculating according to the time parameter and the preset frequency to obtain the response time of the tested television responding according to the test remote control code so as to determine the test result of the television performance according to the response time. The method and the device realize automatic testing of the performances of the television such as the starting speed, the information source switching speed and the like, improve the testing efficiency and accuracy and reduce the testing cost in the television performance testing process.
The invention provides a television performance testing device, and referring to fig. 1, fig. 1 is a schematic structural diagram of a hardware operating environment according to an embodiment of the invention.
It should be noted that fig. 1 is a schematic structural diagram of a hardware operating environment of a television performance testing apparatus. The television performance testing equipment provided by the embodiment of the invention can be a PC (personal computer), and can also be a mobile terminal equipment with a display function, such as a smart phone, a tablet personal computer and a portable computer.
As shown in fig. 1, the television performance test apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a 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.
Optionally, the tv performance testing apparatus may further include a video capture card, a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. It will be appreciated by those skilled in the art that the television performance testing apparatus configuration shown in figure 1 does not constitute a limitation of the television performance testing apparatus and may include more or fewer components than shown, or some components in combination, 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 television performance test program.
In the television performance testing apparatus shown in fig. 1, the network interface 1004 is mainly used for connecting to the tested television and performing data communication with the tested television; the tester can trigger the performance test instruction through the user interface 1003, so that the television performance test equipment sends the test remote control code to the tested television according to the performance test instruction, and the user interface 1003 can also be used for displaying the performance test result; and the processor 1001 may be configured to call the tv performance test program stored in the memory 1005 and perform the following operations:
sending a test remote control code to a tested television so that the tested television can respond according to the test remote control code;
acquiring a screen image in the response process of the tested television, which is acquired within a preset time length according to a preset frequency;
determining a target image in the screen image, and acquiring a time parameter corresponding to the target image;
and calculating according to the time parameter and the preset frequency to obtain the response time of the tested television responding according to the test remote control code so as to determine the test result of the television performance according to the response time.
Further, before the step of determining the target image in the screen image, the processor 1001 may call a television performance test program stored in the memory 1005, and further perform the following operations:
naming the screen images according to the collection sequence so that the filenames of the screen images carry time parameters;
the step of obtaining the time parameter corresponding to the target image comprises the following steps:
and acquiring the file name of the target image, and analyzing the file name to obtain the time parameter.
Further, the step of determining a target image in the screen image includes:
judging whether the image characteristics of the screen image meet preset conditions or not;
and determining the screen image which meets the preset condition and is collected firstly as a target image.
Further, the step of judging whether the image features of the screen image meet the preset conditions includes:
calculating the average RGB value of the pixel points in the target range of the screen image;
judging whether the average RGB value is within a preset RGB threshold range or not;
and if the average RGB value is within the preset RGB threshold value range, determining that the screen image meets a preset condition.
Further, the step of determining whether the image characteristics of the screen image meet the preset conditions further includes:
calculating the average brightness value in the target range of the screen image;
judging whether the average brightness value is larger than a preset brightness threshold value or not;
and if the average brightness value is larger than the preset brightness threshold value, determining that the screen image meets a preset condition.
Further, the step of calculating the average brightness value within the target range of the screen image comprises:
acquiring the RGB value of each pixel point in the target range of the screen image;
correspondingly calculating the brightness value of each pixel point according to the RGB value of each pixel point;
and adding the brightness values of all the pixel points, and dividing the added brightness values by the total number of the pixel points in the target range to obtain the average brightness value in the target range of the screen image.
Further, before the step of calculating the average brightness value within the target range of the screen image, the processor 1001 may call the tv performance test program stored in the memory 1005, and further perform the following operations:
taking the target area cut out from the screen image as a cut-out screen image;
the step of calculating the average brightness value in the target range of the screen image comprises the following steps:
and calculating the average brightness value of the cut screen image in a target range.
Further, before the step of calculating the average brightness value within the target range of the screen image, the processor 1001 may call the tv performance test program stored in the memory 1005, and further perform the following operations:
zooming the screen image according to a preset proportion to obtain a zoomed screen image;
the step of calculating the average brightness value in the target range of the screen image comprises the following steps:
and calculating the average brightness value of the scaled screen image in a target range.
Based on the hardware structure, the invention provides various embodiments of the television performance testing method. In the embodiments of the television performance testing method of the present invention, for convenience of description, the embodiments are explained by taking a testing end as an execution subject.
Referring to fig. 2, a preferred embodiment of the tv performance testing method of the present invention provides a tv performance testing method, it should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that shown. The television performance testing method comprises the following steps:
and step S1, sending a test remote control code to the tested television for the tested television to respond according to the test remote control code.
The test end performs data transmission with the tested Television in a wireless or wired connection mode, the tested Television is connected with a video signal generator such as an HDMI (High Definition Multimedia Interface) or a DTV (Digital Television), and the video signal generator can input a fixed video signal to the tested Television. The test end can be a television performance test device, and can also be a terminal device such as a PC (personal computer), a smart phone and the like.
The testing end sends a testing remote control code to the tested television, and the tested television makes a corresponding response according to the testing remote control code after receiving the testing remote control code. Wherein, the testing remote control code means that the testing end simulates various remote control signals sent by the tested television remote controller. The test end can simulate the tested television remote controller to send out various remote control signals, and then test the response time of the tested television to various remote control signals, namely the response time to the test remote control codes and the response time to the various test remote control codes reflect the performance of the tested television. The testing end sends out different testing remote control codes according to different performances of the tested television to be tested. If the starting-up speed of the tested television needs to be tested, the testing end sends the starting-up remote control code to the tested television. And after the tested television receives the starting-up remote control code, the starting-up response is made according to the starting-up remote control code. When the speed of the tested television for switching the information source is required to be tested, the testing end sends a remote control code for switching the information source to the tested television. And after receiving the switching information source remote control code, the tested television makes a response of switching the information source according to the switching information source remote control code.
And step S2, acquiring a screen image in the response process of the tested television, which is acquired within a preset time length according to a preset frequency.
When the test end sends the test remote control code to the tested television, the screen image acquisition device acquires the screen image in the response process of the tested television according to the preset frequency within the preset time length. The screen image capturing device may be a video capturing card, but is not limited to a video capturing card. The video capture card, also known as a video capture card, is used to capture digitized video information and store and play it out, and in this embodiment, is used to capture images for display on a television. The preset frequency and the preset time length can be set according to specific needs, for example, the preset time length is set to be 1 second, and the preset frequency is set to be 30 sheets per second. The screen image acquisition device can be arranged in the test end and also can be arranged in the tested television. When the screen image acquisition device is arranged in the test end, the test end directly acquires a screen image from the screen image acquisition device; when the screen image acquisition device is arranged in the tested television, the test end sends an instruction for acquiring the screen image to the tested television, and the tested television receives the instruction and then sends the screen image to the test end.
Step S3, determining a target image in the screen image, and obtaining a time parameter corresponding to the target image.
Because the screen image acquisition device acquires the screen images according to the preset frequency, the acquisition time interval of each screen image is the same. In the process that the tested television responds according to the test operation code, the image characteristics of the image displayed on the screen are changed, namely the image characteristics of the image displayed on the screen after responding are different from those before responding, for example, after the tested television responds according to the starting remote control code, the brightness of the image displayed on the screen is changed, or the RGB value of the fixed position is changed. The testing end finds out the screen image with the image characteristics changed firstly in the screen image by analyzing the image characteristics of the acquired screen image, determines the screen image as a target image, and acquires the time parameter corresponding to the target image. It should be noted that each screen image corresponds to a time parameter, and the time parameter represents the sequence in which the screen images are acquired. The time parameter may be a sequence mark correspondingly made by the test terminal for each screen image according to the acquisition sequence of the screen images, and the sequence mark may be any mark capable of reflecting the acquired sequence of the screen images, such as arabic numerals, english letters, and the like. And the sequence acquired by the test terminal from the target image is marked as the time parameter of the target image. For example, the time parameter corresponding to the first captured screen image may be 0, the time parameter corresponding to the second captured screen image may be 1, and the time parameter corresponding to the nth captured screen image may be n-1. The time parameter can also be the acquisition time recorded by the screen image acquisition device when the corresponding screen image is acquired, and the test end can directly acquire the acquisition time to obtain the time parameter corresponding to the screen image.
Further, in order to enable the testing terminal to calculate the response time of the tested television responding according to the test remote control code more quickly, step S3 includes:
step a, naming the screen images according to the collection sequence so that the filenames of the screen images carry time parameters.
The test end stores the collected screen images and names each screen image according to the collected sequence, the format of the file name is 'sequence mark and file suffix name', wherein the sequence mark is the time parameter corresponding to the screen image, the sequence mark can be Arabic numerals or other characters capable of representing the sequence, and the file suffix name can be picture formats such as bmp (Bitmap), png (Portable Network Graphics) and the like.
If step a is included before step S3, the step of acquiring the time parameter corresponding to the target image in step S3 includes:
and b, acquiring the file name of the target image, and analyzing the file name to obtain the time parameter.
After determining the target image, the test terminal acquires the file name of the target image, solves the file name to acquire a sequence mark in the file name, and the sequence mark is the time parameter of the target image. The process of obtaining the sequence mark in the file name from the file name can be realized by a regular expression, for example, when the sequence mark is 0, 1, 2 and the like, the numbers before the decimal point of the file name can be obtained by the regular expression to obtain the time parameter. Regular expressions, also called regular expressions, are commonly used to retrieve and replace text that conforms to a pattern rule. It should be understood that, besides regular expressions, any manner of obtaining the precedence order mark before the filename decimal point from the filename may be adopted.
And step S4, calculating according to the time parameter and the preset frequency to obtain the response time of the tested television responding according to the test remote control code, so as to determine the test result of the television performance according to the response time.
After the test end acquires the time parameters of the target image, because the time parameters can represent the sequence of the corresponding screen images acquired in all the screen images, the test end can calculate the response time of the tested television responding according to the test remote control code through the time parameters corresponding to the target image and the preset frequency. The time parameter may be an arabic number, when the time parameter corresponding to the first acquired screen image is 0, at this time, the test end may directly multiply the time parameter corresponding to the target image by the acquisition time interval of the screen image to obtain the response time of the detected tv responding according to the test remote control code, where the acquisition time interval of the screen image is calculated according to a preset frequency, for example, when the preset frequency is 30 per second, the acquisition time interval of the screen image is 1/30 seconds, at this time, when the time parameter corresponding to the target image is 3, that is, when the target image is the fourth acquired screen image in all the screen images, the response time of the detected tv responding according to the test remote control code is 3 × 1/30 seconds, the calculation result may be retained to three bits after a decimal point, and the response time is 0.100 seconds. When the time parameter is other characters or numbers, the other characters or numbers can be correspondingly converted into numbers of 0, 1, 2 and the like and then multiplied by the acquisition time interval of the screen image, so that the response time of the tested television responding according to the test remote control code is obtained.
The tester can determine the test result of the television performance according to the response time calculated by the test end, for example, in the test scene of testing the television starting-up speed, when the response time of the tested television to the starting-up operation code calculated by the test end is 0.033 seconds, the starting-up speed of the tested television can be determined to be very high, and the starting-up performance of the tested television can be considered to be better.
Further, if the video capture card records the capture time of each screen image when capturing the screen image, and the capture time is accurate enough to determine the response time of the tested television to the test remote control code, the test terminal can subtract the capture time corresponding to the target image from the capture time corresponding to the screen image captured first in the screen image, and then the response time of the tested television to the test remote control code can be obtained.
Furthermore, in order to avoid the inaccuracy of the test result caused by the influence of uncertain factors on a single test, the method can be set to perform the test for the same performance for preset times according to specific needs, then calculate the average value of the response time obtained by each test, and determine the performance of the tested television according to the average value.
In the embodiment, the testing remote control code is sent to the tested television through the testing end so that the tested television can respond according to the testing remote control code; acquiring a screen image in the response process of the tested television, which is acquired within a preset time length according to a preset frequency; determining a target image in the screen image, and acquiring a time parameter corresponding to the target image; and calculating according to the time parameter and the preset frequency to obtain the response time of the tested television responding according to the test remote control code so as to determine the test result of the television performance according to the response time. The method and the device realize automatic testing of the performances of the television such as the starting speed, the information source switching speed and the like, improve the testing efficiency and accuracy and reduce the testing cost in the television performance testing process.
Further, based on the first embodiment, a second embodiment of the television performance testing method according to the present invention provides a television performance testing method. In the present embodiment, step S3 includes:
and c, judging whether the image characteristics of the screen image meet preset conditions or not.
The test end can sequentially judge whether the image characteristics of each screen image meet preset conditions according to the collecting sequence, and stops judging when the first screen image meeting the preset conditions is judged, wherein the preset conditions can be set according to specific needs, for example, the average brightness of the screen images is set to be larger than a preset threshold value. The test end can also judge according to the acquisition sequence, and at the moment, each screen image needs to be traversed to find out all screen images meeting the preset conditions. The image characteristics of the screen image meet the preset conditions, namely the image characteristics of the screen image are changed.
And d, determining the screen image which meets the preset condition and is firstly collected as a target image.
And when the test end sequentially judges according to the acquisition sequence, determining the first judged screen image meeting the preset condition as a target image. And when the test end judges according to the acquisition sequence, determining the screen image which is firstly acquired in all the judged screen images which accord with the preset condition as the target image. It should be understood that, as long as the screen image with the image characteristics changed first, that is, meeting the preset conditions, can be found from all the screen images and determined as the target image, that is, the manner of determining the target image is not limited to the above two manners.
Further, in order to quickly determine whether the image characteristics of the screen image have changed, step c includes:
and e, calculating the average RGB value of the pixel points in the target range of the screen image.
When a test end judges a screen image, a target range of the screen image is determined, wherein the target range is a pixel point in the screen image or an area containing a plurality of pixel points, and the target range of the screen image under each performance test scene is preset in the test end according to different test performances. If under the test scene of testing the tested television from the start to the operable time, the test end continuously sends an open menu remote control code to the tested television when sending the start remote control code to the tested television, after the tested television pops out a menu frame according to the open menu remote control code, a fixed position of the menu frame in an image displayed on a screen has a red highlight icon, a preset target range of the test end is the position of the red highlight icon, and the target range is an area containing a plurality of pixel points. And then, under a test scene of testing the speed of switching menu options of the tested television, when the tested television is positioned in a menu frame popup screen, the test end sends a menu option right-shift remote control code to the tested television, after the tested television shifts the cursor right according to the menu option right-shift remote control code, the cursor in the image displayed on the screen shifts right, and the target range preset by the test end can be the position of the original cursor or the position of the cursor after the cursor moves.
The testing end obtains the RGB value of each pixel point in the target range after determining the target range of the screen image, and it can be understood that when the target range is one pixel point, the result that whether the image characteristics of the screen image change or not is judged by the testing end is inaccurate due to too few cardinalities, so that when the target range is one region, the accuracy of judging whether the image characteristics of the screen image change or not can be improved by calculating the average value of the RGB values of all the pixel points in the target range.
And f, judging whether the average RGB value is within a preset RGB threshold range.
And g, if the average RGB value is within the preset RGB threshold value range, determining that the screen image meets a preset condition.
And after the test end calculates the average RGB value of the pixel points in the target range, judging whether the average RGB value is within a preset RGB threshold range. The preset RGB threshold may be set according to specific needs, corresponding to each performance test scenario, for example, the R value threshold is set to 244-247 (in this embodiment, the current "-" indicates a numerical range, and the numerical range includes values before and after the "-"), the G value threshold is set to 18-21, and the B value threshold is set to 48-50.
Further, the R value, the G value, and the B value in the preset RGB threshold may also be a specific value, not necessarily a range. If the R value threshold is set to 250, the G value threshold is set to 19, and the B value threshold is set to 49.
And when the average RGB value of the screen image is within a preset RGB threshold value range, the testing end determines that the screen image meets a preset condition. And when the average RGB value of the screen image is not within the preset RGB threshold value range, the testing end determines that the screen image does not conform to the preset condition, and at the moment, the testing end judges another screen image according to the same judgment method. And when the test end traverses all the screen images or judges the screen image which is firstly collected and meets the preset condition, ending the judgment process.
In the embodiment, the target image is determined from all the screen images quickly by determining the screen image which is acquired first and has the image characteristics meeting the preset conditions in all the screen images as the target image.
Further, based on the first or second embodiment, a third embodiment of the television performance testing method of the present invention provides a television performance testing method. In this embodiment, step c further includes:
and h, calculating the average brightness value in the target range of the screen image.
When the test end judges one screen image, the target range of the screen image is determined firstly. The target range is different according to different test performances, for example, in a test scene that the tested television is tested to respond to the time for playing the local film source remote control codes, the test end sends the played local film source remote control codes to the tested television, after the tested television plays the local film sources according to the played local film source remote control codes, the image brightness displayed by the tested television can be changed, and the target range preset by the test end is all areas of the screen image. In the test scenario of testing the time from the startup to the operation of the tested television, the target range preset by the test end is the red highlight icon. If the tested television is tested in the scene of testing the speed of switching the information source, the testing end sends the switching information source to the HDMI remote control code to the tested television, after the tested television is switched to the HDMI information source according to the switching information source to the HDMI remote control code, the brightness of the image displayed by the tested television changes, and the target range preset by the testing end is all the area of the screen image. And after determining the target range of the screen image, the testing end calculates the average brightness value in the target range.
And i, judging whether the average brightness value is larger than a preset brightness threshold value.
And j, if the average brightness value is larger than the preset brightness threshold value, determining that the screen image meets a preset condition.
After calculating the average brightness value in the target range, the test end judges whether the average brightness value is greater than a preset brightness threshold value. The preset brightness threshold may be set according to specific needs, for example, to 30, corresponding to each performance test scenario. And when the average brightness value of the screen image is greater than the preset brightness threshold value, the testing end determines that the screen image meets a preset condition. And when the average brightness value of the screen image is not greater than the preset brightness threshold value, the testing end determines that the screen image does not meet the preset condition.
Further, step h comprises:
and k, acquiring the RGB value of each pixel point in the target range of the screen image.
And step l, correspondingly calculating the brightness value of each pixel point according to the RGB value of each pixel point.
And m, adding the brightness values of all the pixel points, and dividing the sum by the total number of the pixel points in the target range to obtain the average brightness value in the target range of the screen image.
The testing end firstly determines a target range of the screen image, and after the target range is determined, the RGB value of each pixel point in the target range, namely the R value, the G value and the B value of each pixel point, is obtained. And correspondingly calculating the brightness value of each pixel point according to the R value, the G value and the B value of each pixel point. The calculation formula is Y ═ R × a + G × B + B × c, where R, G, B are the R value, G value and B value of a pixel respectively, Y is the brightness value of the pixel, and a, B and c are preset parameters, which can be set according to specific situations, such as setting a to 0.299, B to 0.587 and B to 0.114. When the R value of a pixel is 246, the G value is 20, and the B value is 49, the luminance value Y of the pixel is 246 × 0.299+20 × 0.587+49 × 0.114 — 90.88. And after the testing end calculates the brightness value of each pixel point in the target range through the formula, adding the brightness values of the pixel points and dividing the added brightness values by the total pixel point number in the target range to obtain the average brightness value in the target range of the screen image, wherein when the pixel number of the screen image is 1920 × 1080, the total pixel point number of all the areas of the screen image is 1920 × 1080-2073600.
Further, in order to improve the accuracy of determining that the image characteristics of the screen image change, the scheme for determining that the screen image meets the preset condition in the present embodiment and the scheme for determining that the screen image meets the preset condition in the second embodiment may be combined, that is, when the RGB value in the first target range of the screen image is within the preset RGB threshold range and the average brightness value in the second target range is greater than the preset brightness threshold, the test end determines that the screen image meets the preset condition.
In this embodiment, a plurality of schemes for determining the change of the image characteristics of the screen image are provided, and the method can be applied to different performance test scenes.
Further, based on the first, second, or third embodiment, a fourth embodiment of the television performance testing method according to the present invention provides a television performance testing method. In this embodiment, in order to improve the accuracy of determining the time point when the image feature of the screen image changes, step c further includes:
and n, taking the target area cut out from the screen image as the cut-out screen image.
When the test scene is a test scene in which the target range preset by the test end is not all the areas of the screen image but a certain area, for example, in the test scene in which the tested television is tested from startup to operable time, the target range preset by the test end is the red highlight icon, at this time, calculating the average brightness value in the target range may be affected by other areas of the screen image, so that the test end can cut the area corresponding to the target range, i.e., the target area, from the screen image, and take the target area as the cut screen image.
If step n is included before step c, step h includes:
and step o, calculating the average brightness value of the cut screen image in a target range.
And after the test end obtains the cut screen image, determining the target range of the cut screen image, wherein the target range is the whole area of the cut screen image. The test end calculates the average brightness value in the target range.
In the embodiment, by cutting the screen image and calculating the average brightness value of the cut screen image, the accuracy of judging the change of the screen image is improved.
Further, based on the first, second, third, or fourth embodiment, a fifth embodiment of the television performance testing method according to the present invention provides a television performance testing method. In this embodiment, in order to reduce the calculation amount of calculating the average luminance value within the target range of the screen image, step c further includes:
and step p, zooming the screen image according to a preset proportion to obtain a zoomed screen image.
The testing terminal may scale the screen image according to a preset scale to obtain a scaled screen image, where the preset scale may be set according to specific needs, for example, scale the screen image with 1920 × 1080 pixels to 192 × 108 pixels.
If step p is included before step c, step h includes:
and q, calculating the average brightness value of the zoomed screen image in a target range.
This step is similar to step h and will not be described in detail herein. It should be noted that, after the screen image is zoomed, the total number of the pixels in the target range of the screen image is reduced, and the number of the pixels required to calculate the brightness value is reduced, thereby reducing the calculation amount.
In the present embodiment, the calculation amount for calculating the average luminance value within the target range of the screen image is reduced by scaling the screen image in accordance with the preset scale.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a television performance testing program is stored on the computer-readable storage medium, and when the television performance testing program is executed by a processor, the steps of the television performance testing method are implemented.
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 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 terminal 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 (7)

1. A television performance test method is characterized by comprising the following steps:
sending a test remote control code to a tested television so that the tested television can respond according to the test remote control code;
acquiring a screen image in the response process of the tested television, which is acquired within a preset time length according to a preset frequency;
determining a target image in the screen image, and acquiring a time parameter corresponding to the target image;
calculating according to the time parameter and the preset frequency to obtain the response time of the tested television responding according to the test remote control code so as to determine the test result of the television performance according to the response time;
the step of determining a target image in the screen image includes:
judging whether the image characteristics of the screen image meet preset conditions or not;
determining the screen image which meets the preset condition and is collected firstly as a target image;
the step of judging whether the image characteristics of the screen image meet preset conditions comprises the following steps:
calculating the average RGB value of the pixel points in the target range of the screen image;
judging whether the average RGB value is within a preset RGB threshold range or not;
if the average RGB value is within the preset RGB threshold value range, determining that the screen image meets a preset condition; or
Calculating the average brightness value in the target range of the screen image;
judging whether the average brightness value is larger than a preset brightness threshold value or not;
and if the average brightness value is larger than the preset brightness threshold value, determining that the screen image meets a preset condition.
2. The television performance testing method of claim 1, wherein the step of determining the target image in the screen image is preceded by the step of:
naming the screen images according to the collection sequence so that the filenames of the screen images carry time parameters;
the step of obtaining the time parameter corresponding to the target image comprises the following steps:
and acquiring the file name of the target image, and analyzing the file name to obtain the time parameter.
3. The television performance testing method of claim 1, wherein the step of calculating the average brightness value within the target range of the screen image comprises:
acquiring the RGB value of each pixel point in the target range of the screen image;
correspondingly calculating the brightness value of each pixel point according to the RGB value of each pixel point;
and adding the brightness values of all the pixel points, and dividing the added brightness values by the total number of the pixel points in the target range to obtain the average brightness value in the target range of the screen image.
4. The television performance testing method of claim 1, wherein the step of calculating the average luminance value within the target range of the screen image is preceded by the step of:
taking the target area cut out from the screen image as a cut-out screen image;
the step of calculating the average brightness value in the target range of the screen image comprises the following steps:
and calculating the average brightness value of the cut screen image in a target range.
5. The television performance testing method of claim 1, wherein the step of calculating the average luminance value within the target range of the screen image is preceded by the step of:
zooming the screen image according to a preset proportion to obtain a zoomed screen image;
the step of calculating the average brightness value in the target range of the screen image comprises the following steps:
and calculating the average brightness value of the scaled screen image in a target range.
6. A television performance testing device comprising a memory, a processor and a television performance testing program stored on the memory and executable on the processor, the television performance testing program when executed by the processor implementing the steps of the television performance testing method of any one of claims 1 to 5.
7. A computer-readable storage medium, having a television performance testing program stored thereon, which when executed by a processor, performs the steps of the television performance testing method of any one of claims 1 to 5.
CN201811264704.4A 2018-10-26 2018-10-26 Television performance test method, equipment and computer readable storage medium Active CN109104608B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811264704.4A CN109104608B (en) 2018-10-26 2018-10-26 Television performance test method, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811264704.4A CN109104608B (en) 2018-10-26 2018-10-26 Television performance test method, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109104608A CN109104608A (en) 2018-12-28
CN109104608B true CN109104608B (en) 2021-08-24

Family

ID=64869482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811264704.4A Active CN109104608B (en) 2018-10-26 2018-10-26 Television performance test method, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109104608B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327890B (en) * 2020-03-06 2021-12-28 成都极米科技股份有限公司 Optical machine testing method and device and electronic equipment
CN113900875A (en) * 2021-11-23 2022-01-07 深圳市康冠商用科技有限公司 Startup test method and device, computer equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301714A (en) * 2014-10-09 2015-01-21 青岛海信电器股份有限公司 Method and device for detecting channel switching response time of television equipment
CN106951346A (en) * 2016-01-06 2017-07-14 阿里巴巴集团控股有限公司 The method of testing and device of a kind of response time

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103780898A (en) * 2012-10-23 2014-05-07 夏普株式会社 TV set testing method, device thereof and system thereof
KR101393612B1 (en) * 2012-10-30 2014-05-09 공주대학교 산학협력단 The iptv channel switching time automatic measurement system and method with image processing
CN107172420B (en) * 2017-06-23 2018-11-02 天津市德力电子仪器有限公司 IPTV and OTT set-top box quality automatic test method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301714A (en) * 2014-10-09 2015-01-21 青岛海信电器股份有限公司 Method and device for detecting channel switching response time of television equipment
CN106951346A (en) * 2016-01-06 2017-07-14 阿里巴巴集团控股有限公司 The method of testing and device of a kind of response time

Also Published As

Publication number Publication date
CN109104608A (en) 2018-12-28

Similar Documents

Publication Publication Date Title
KR101813196B1 (en) Method, device, program, and recording medium for video communication
CN106951346B (en) Response time testing method and device
KR101622196B1 (en) Apparatus and method for providing poi information in portable terminal
CN104834597B (en) Using the measuring method and system of response time
US8713448B2 (en) Portable communication terminal, communication method and control program
CN105518666B (en) Information processing apparatus, information processing method, and computer program
CN105320695A (en) Picture processing method and device
CN109104608B (en) Television performance test method, equipment and computer readable storage medium
EP2849427A1 (en) Infrared recording device and infrared recording method
WO2015078418A1 (en) Determining apparatus and determining method
US10057477B2 (en) Imaging device, imaging system, communication device, imaging method, and computer readable recording medium for generating and transmitting superimposed image data
EP2445206A1 (en) Television and signal source displaying method thereof
CN110827770B (en) Regional backlight brightness adjusting method and device for display image and storage medium
CN112328193A (en) Multi-terminal screen combination method, device, equipment and computer storage medium
CN109857907B (en) Video positioning method and device
CN113852756B (en) Image acquisition method, device, equipment and storage medium
JP2006253984A (en) Image display control apparatus and program
US9940084B2 (en) Display processing apparatus and method, and storage medium
CN106407222B (en) picture processing method and equipment
EP3312734A1 (en) Method and apparatus for providing local search suggestion
CN112650872A (en) Dynamic picture playing method, device and equipment and computer readable storage medium
JP2006222503A (en) Method, device and program for reproducing continuous photographed image
CN112346684A (en) Data display method and device, television and computer readable storage medium
JP4982331B2 (en) Image evaluation apparatus and image evaluation program
US20130127841A1 (en) Three-dimensional (3d) image display method and apparatus for 3d imaging and displaying contents according to start or end of operation

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