CN109104608A - TV performance test methods, equipment and computer readable storage medium - Google Patents

TV performance test methods, equipment and computer readable storage medium Download PDF

Info

Publication number
CN109104608A
CN109104608A CN201811264704.4A CN201811264704A CN109104608A CN 109104608 A CN109104608 A CN 109104608A CN 201811264704 A CN201811264704 A CN 201811264704A CN 109104608 A CN109104608 A CN 109104608A
Authority
CN
China
Prior art keywords
screen picture
performance test
tested
test
brightness value
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
CN201811264704.4A
Other languages
Chinese (zh)
Other versions
CN109104608B (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

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

Landscapes

  • Engineering & Computer Science (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 invention discloses a kind of TV performance test methods, equipment and computer readable storage mediums, which comprises sends test remote control mode to tested TV, so that the tested TV makes a response according to the test remote control mode;It obtains in preset duration according to the screen picture in the tested TV response process of predeterminated frequency acquisition;Target image is determined in the screen picture, obtains the corresponding time parameter of the target image;It is calculated according to the time parameter and the predeterminated frequency, the response time that the tested TV makes a response according to the test remote control mode is obtained, to determine the test result of the TV performance according to the response time.It realizes and the performances such as the starting up speed of TV, switching information source speed is tested automatically, improve the efficiency and accuracy rate of test, reduce the testing cost during TV performance test.

Description

TV performance test methods, equipment and computer readable storage medium
Technical field
The present invention relates to TV technology more particularly to a kind of TV performance test methods, equipment and computer-readable Storage medium.
Background technique
At present to the starting up speed of TV, switching information source speed, using the property of starting speed and operational fluency etc. It can require higher and higher, it is therefore desirable to these performances of TV be tested, judge electricity according to resulting test result is tested Depending on the quality of performance.Performance test needs to calculate TV to the response time of these operations such as booting, switching information source, but due to The response time that TV operates these, test man's subjectivity was unable to judge accurately out all in 0.1 second in the case where manual testing The response time that TV operates these, and manual testing needs two people to test simultaneously, and a people is responsible for operation, a people It is responsible for video recording, the response time of TV is calculated further according to video, and needs to carry out repeated test to avoid list The error of secondary test, test job amount is big, and testing efficiency is low.
Summary of the invention
The main purpose of the present invention is to provide a kind of TV performance test methods, equipment and computer-readable storage mediums Matter, it is intended to which the test job amount for solving TV performance is big, the technical issues of performance test low efficiency.
To achieve the above object, the present invention provides a kind of TV performance test methods, the TV performance test methods packet Include step:
Test remote control mode is sent to tested TV, so that the tested TV makes a response according to the test remote control mode;
It obtains in preset duration according to the screen picture in the tested TV response process of predeterminated frequency acquisition;
Target image is determined in the screen picture, obtains the corresponding time parameter of the target image;
It is calculated according to the time parameter and the predeterminated frequency, it is distant according to the test to obtain the tested TV The response time that control code makes a response, to determine the test result of the TV performance according to the response time.
Preferably, before described the step of determining target image in the screen picture, further includes:
It is named according to acquisition sequencing to the screen picture, so as to carry the time in the filename of the screen picture Parameter;
Described the step of obtaining the target image corresponding time parameter includes:
The filename for obtaining the target image parses the filename and obtains the time parameter.
Preferably, described determine in the screen picture includes: the step of target image
Judge whether the characteristics of image of the screen picture meets preset condition;
The preset condition will be met, collected screen picture is determined as target image at first.
Preferably, the step of whether characteristics of image for judging the screen picture meets preset condition include:
Calculate the average RGB value of pixel in the screen picture target zone;
Judge the average RGB value whether in default RGB threshold range;
If the average RGB value is in the default RGB threshold range, it is determined that the screen picture meets default item Part.
Preferably, the step of whether characteristics of image for judging the screen picture meets preset condition further include:
Calculate the average brightness value in the screen picture target zone;
Judge whether the average brightness value is greater than predetermined luminance threshold value;
If the average brightness value is greater than the predetermined luminance threshold value, it is determined that the screen picture meets preset condition.
Preferably, the step of average brightness value calculated in the screen picture target zone includes:
Obtain the rgb value of each pixel in the screen picture target zone;
According to the corresponding brightness value for calculating each pixel of the rgb value of each pixel;
, divided by total pixel number in the target zone, the screen will be obtained after the added luminance of each pixel Average brightness value within the scope of image object.
Preferably, before the step of average brightness value calculated in the screen picture target zone, further includes:
Using from the target area cut out in the screen picture as cut after screen picture;
The step of average brightness value calculated in the screen picture target zone includes:
Average brightness value of the screen picture in target zone after calculating the cutting.
Preferably, before the step of average brightness value calculated in the screen picture target zone, further includes:
The screen picture is zoomed in and out according to preset ratio, the screen picture after being scaled;
The step of average brightness value calculated in the screen picture target zone includes:
Average brightness value of the screen picture in target zone after calculating the scaling.
In addition, to achieve the above object, the present invention also provides a kind of TV performance test apparatus, the TV performance test Equipment includes memory, processor and is stored in the TV performance test that can be run on the memory and on the processor Program, the TV performance test program realize the step of TV performance test methods as described above when being executed by the processor Suddenly.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium TV performance test program is stored on storage medium, the TV performance test program realizes institute as above when being executed by processor The step of TV performance test methods stated.
The present invention sends test remote control mode to tested TV by test lead, is remotely controlled so that this is tested TV according to the test Code makes a response;It obtains in preset duration according to the screen picture in the tested TV response process of predeterminated frequency acquisition; Target image is determined in the screen picture, obtains the corresponding time parameter of the target image;It is pre- with this according to the time parameter If frequency is calculated, the response time that the tested TV makes a response according to the test remote control mode is obtained, according to the response Time determines the test result of the TV performance.Realize automatically to the starting up speed of TV, switching information source speed etc. performances into Row test, improves the efficiency and accuracy rate of test, reduces the testing cost during TV performance test.
Detailed description of the invention
Fig. 1 is the structural schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of TV performance test methods preferred embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Since manual testing's method test job amount of existing TV performance is big, testing efficiency is low, and test accuracy rate is low, The present invention provides a solution, sends test remote control mode to tested TV, so that tested TV is according to this by test lead Test remote control mode makes a response;It obtains in preset duration according to the screen in the tested TV response process of predeterminated frequency acquisition Curtain image;Target image is determined in the screen picture, obtains the corresponding time parameter of the target image;According to the time parameter It is calculated with the predeterminated frequency, the response time that the tested TV makes a response according to the test remote control mode is obtained, with basis The response time determines the test result of the TV performance.It realizes automatically to the starting up speed of TV, switching information source speed etc. Performance is tested, and is improved the efficiency and accuracy rate of test, is reduced the testing cost during TV performance test.
The present invention provides a kind of TV performance test apparatus, and referring to Fig.1, Fig. 1 is that the embodiment of the present invention is related to The structural schematic diagram of hardware running environment.
It should be noted that Fig. 1 can be the structural schematic diagram of the hardware running environment of TV performance test apparatus.This hair Bright embodiment TV performance test apparatus can be PC, be also possible to smart phone, tablet computer, portable computer etc. with aobvious Show the packaged type terminal device of function.
As shown in Figure 1, the TV performance test apparatus may include: processor 1001, such as CPU, network interface 1004, User interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing between these components Connection communication.User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional User interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include standard Wireline interface, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable Memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned The storage device of processor 1001.
Optionally, TV performance test apparatus can also include video frequency collection card, camera, RF (Radio Frequency, radio frequency) circuit, sensor, voicefrequency circuit, WiFi module etc..It will be understood by those skilled in the art that in Fig. 1 The TV performance test apparatus structure shown does not constitute the restriction to TV performance test apparatus, may include more than illustrating Or less component, perhaps combine certain components or different component layouts.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe module, Subscriber Interface Module SIM and TV performance test program.
In TV performance test apparatus shown in Fig. 1, network interface 1004 is mainly used for connecting tested TV, and tested TV carries out data communication;Tester can trigger performance test instruction by user interface 1003, so that TV performance test Equipment instructs according to the performance test test remote control mode being sent to tested TV, and user interface 1003 can also be used in display performance Test result;And processor 1001 can be used for calling the TV performance test program stored in memory 1005, and execute with Lower operation:
Test remote control mode is sent to tested TV, so that the tested TV makes a response according to the test remote control mode;
It obtains in preset duration according to the screen picture in the tested TV response process of predeterminated frequency acquisition;
Target image is determined in the screen picture, obtains the corresponding time parameter of the target image;
It is calculated according to the time parameter and the predeterminated frequency, it is distant according to the test to obtain the tested TV The response time that control code makes a response, to determine the test result of the TV performance according to the response time.
Further, before the step of target image is determined in the screen picture, processor 1001 can be called and be deposited The TV performance test program stored in reservoir 1005 also executes following operation:
It is named according to acquisition sequencing to the screen picture, so as to carry the time in the filename of the screen picture Parameter;
Described the step of obtaining the target image corresponding time parameter includes:
The filename for obtaining the target image parses the filename and obtains the time parameter.
Further, it is determined in the screen picture and includes: the step of target image
Judge whether the characteristics of image of the screen picture meets preset condition;
The preset condition will be met, collected screen picture is determined as target image at first.
Further, judge that the step of whether characteristics of image of the screen picture meets preset condition includes:
Calculate the average RGB value of pixel in the screen picture target zone;
Judge the average RGB value whether in default RGB threshold range;
If the average RGB value is in the default RGB threshold range, it is determined that the screen picture meets default item Part.
Further, the step of whether characteristics of image of the screen picture meets preset condition judged further include:
Calculate the average brightness value in the screen picture target zone;
Judge whether the average brightness value is greater than predetermined luminance threshold value;
If the average brightness value is greater than the predetermined luminance threshold value, it is determined that the screen picture meets preset condition.
Further, the step of calculating the average brightness value in the screen picture target zone include:
Obtain the rgb value of each pixel in the screen picture target zone;
According to the corresponding brightness value for calculating each pixel of the rgb value of each pixel;
, divided by total pixel number in the target zone, the screen will be obtained after the added luminance of each pixel Average brightness value within the scope of image object.
Further, before the step of calculating the average brightness value in the screen picture target zone, processor 1001 The TV performance test program stored in memory 1005 can be called, following operation is also executed:
Using from the target area cut out in the screen picture as cut after screen picture;
The step of average brightness value calculated in the screen picture target zone includes:
Average brightness value of the screen picture in target zone after calculating the cutting.
Further, before the step of calculating the average brightness value in the screen picture target zone, processor 1001 The TV performance test program stored in memory 1005 can be called, following operation is also executed:
The screen picture is zoomed in and out according to preset ratio, the screen picture after being scaled;
The step of average brightness value calculated in the screen picture target zone includes:
Average brightness value of the screen picture in target zone after calculating the scaling.
Based on above-mentioned hardware configuration, each embodiment of TV performance test methods of the present invention is proposed.In electricity of the invention Depending on for ease of description, being illustrated each implementation by executing subject of test lead in each embodiment of performance test methods Example.
Referring to Fig. 2, TV performance test methods preferred embodiment of the present invention provides a kind of TV performance test methods, needs Illustrate, it, in some cases, can be to be different from sequence herein although logical order is shown in flow charts Execute shown or described step.The TV performance test methods include:
Step S1 sends test remote control mode to tested TV, so that the tested TV is made according to the test remote control mode It responds out.
Test lead is tested TV connection by carrying out data transmission between wireless or wired connection mode and tested TV HDMI (High Definition Multimedia Interface, high-definition multimedia interface) or DTV (Digital Television, DTV) etc. flying-spot video generators, the flying-spot video generator can input fixed video signal to quilt Survey TV.Wherein, test lead can be TV performance test apparatus, be also possible to PC, the terminal devices such as smart phone.
Test lead sends test remote control mode to tested TV, after being tested television reception to the test remote control mode, according to the survey Examination remote control mode makes corresponding response.Wherein, test remote control mode refers to that test lead simulates the various distant of tested TV remote controller sending Control signal.Test lead can simulate tested TV remote controller and issue various remote signals, and then test tested TV to various distant The response time of signal, the i.e. response time to test remote control mode are controlled, it is anti-to the speed of the response time of various test remote control modes Reflect the quality of the various performances of tested TV.Test lead is different according to the performance of tested TV to be tested, issues different tests Remote control mode.Such as when to test the starting up speed of tested TV, test lead sends booting remote control mode to tested TV.Tested TV After receiving booting remote control mode, the response of booting is made according to booting remote control mode.When the speed that test tested TV switching information source When spending, test lead sends switching information source remote control mode to tested TV.Tested television reception is to after switching information source remote control mode, according to cutting Change the response that information source remote control mode makes switching information source.
Step S2 is obtained in preset duration according to the screen in the tested TV response process of predeterminated frequency acquisition Image.
When test lead sends test remote control mode to tested TV, screen picture acquisition device is in preset duration according to pre- If frequency is acquired the screen picture being tested in TV response process.Wherein, screen picture acquisition device can be view Frequency capture card, but it is not limited to video frequency collection card.Video frequency collection card is also known as capure card, is believed with its available digitized video Breath, and stored and played back, in the present embodiment, it can be used to acquire the image that TV is shown.Predeterminated frequency and Preset duration is arranged according to specific needs, such as sets preset duration to 1 second, and predeterminated frequency is set as 30 per second. Screen picture acquisition device can be set in test lead, also can be set in tested TV.When screen picture acquisition device When being arranged in test lead, test lead directly obtains screen picture from screen picture acquisition device;It is filled when screen picture acquires When installing in tested TV, test lead gives tested TV to send the instruction for obtaining screen picture, and tested TV is receiving After the instruction, screen picture is sent to test lead.
Step S3 determines target image in the screen picture, obtains the corresponding time parameter of the target image.
Since screen picture acquisition device acquires screen picture according to predeterminated frequency, when the acquisition of every screen picture Between be spaced it is identical.The process that tested TV makes a response according to the test operation code, the characteristics of image meeting for the image that screen is shown It changes, that is, the characteristics of image of image that screen show after responding can such as be tested TV according to opening with the difference before response After machine remote control mode makes a response, the brightness of image that screen is shown can be changed, or the rgb value of fixed position can change.It surveys End is tried by analyzing the characteristics of image of collected screen picture, finds out in screen picture characteristics of image changed screen at first Curtain image, is determined as target image for the screen picture, and obtain the corresponding time parameter of the target image.It needs to illustrate It is that the corresponding time parameter of every screen picture, time parameter indicates the collected sequence of this screen picture.Time ginseng Number can be test lead according to the acquisition sequencing of screen picture, give every screen picture the corresponding sequencing mark made Note, sequencing label can be any label for being able to reflect the collected sequence of this screen picture, such as Arabic number Word, English alphabet etc..The sequencing that test lead is got from target image is labeled as the time parameter of the target image.Example Such as, the corresponding time parameter of first collected screen picture can be 0, second collected screen picture corresponding time Parameter can be 1, and the corresponding time parameter of n-th collected screen picture can be n-1.The time parameter is also possible to corresponding screen The acquisition time of screen picture acquisition device record, test lead can directly acquire the acquisition time when curtain image is collected to obtain the final product To the corresponding time parameter of screen picture.
Further, it is made a response to realize that test lead is more quickly computed out tested TV according to test remote control mode Response time, before step S3 further include:
Step a is named according to acquisition sequencing to the screen picture, so as to take in the filename of the screen picture Band time parameter.
Test lead saves collected screen picture, and is ordered according to the sequencing of acquisition to every screen picture Name, the format of filename are " sequencing marks file suffixes name ", wherein sequencing label is that screen picture is corresponding Time parameter, sequencing label can be Arabic numerals, be also possible to other can order of representation character, file suffixes Name can be the pictures such as bmp (Bitmap, bitmap), png (Portable Network Graphics, portable network picture) Format.
If the step of including step a, the corresponding time parameter of the target image obtained in step S3 before step S3 Include:
Step b obtains the filename of the target image, parses the filename and obtains the time parameter.
Test lead obtains the filename of target image after determining target image, and solution file name obtains in filename Sequencing label, sequencing label are the time parameter of the target image.It is obtained in filename from filename The process of sequencing label can realize by regular expression, can such as when successive sequence notation is 0,1,2 digital To obtain these numbers before filename decimal point by regular expression, to obtain time parameter.Wherein, regular expression is again Claim regular expression, is usually used to retrieval, replaces those texts for meeting some pattern rules.It should be understood that except just Then outside expression formula, as long as can all can be used from the mode that the sequencing before getting filename decimal point in filename marks.
Step S4 is calculated according to the time parameter and the predeterminated frequency, obtains the tested TV according to institute The response time that test remote control mode makes a response is stated, to determine the test result of the TV performance according to the response time.
Test lead is after getting the time parameter of target image, because time parameter can indicate that corresponding screen picture exists The sequence being collected in all screen pictures, so test lead can correspond to time parameter and the default frequency by target image Rate calculates the response time that tested TV makes a response according to the test remote control mode.Time parameter can be Arabic numerals, when the When the corresponding time parameter of one collected screen picture is 0, at this point, test lead can be directly by the target image corresponding time Parameter multiplied by screen picture acquisition time interval, when obtaining the response that tested TV makes a response according to the test remote control mode Between, wherein the acquisition time interval of screen picture is calculated according to predeterminated frequency, such as when predeterminated frequency is 30 per second, screen It is divided into 1/30 second between the acquisition time of curtain image, at this point, when the corresponding time parameter of target image is 3, i.e. the target image is In all screen pictures when the 4th collected screen picture, it is tested the response that TV makes a response according to the test remote control mode Time is 3*1/30 seconds, and calculated result can be remained into after decimal point three, then the response time is 0.100 second.Join when the time It can be after the numbers such as 0,1,2 by other characters or digital corresponding conversion multiplied by screen picture when number is other characters or number Acquisition time interval obtains the response time that tested TV makes a response according to the test remote control mode.
The response time that tester is calculated according to test lead, that is, it can determine the test result of the TV performance, Such as under the test scene of test this performance of television startup speed, tested TV is calculated to booting operation code in test lead When response time is 0.033 second, it can determine that this is tested the starting up speed of TV quickly, at this time it is believed that the booting of tested TV Better performances.
Further, if video acquisition has recorded the acquisition time of every screen picture when being stuck in acquisition screen picture, and And the acquisition time is accurate to and can determine tested TV to the response time of the test remote control mode, then test lead can be by target The corresponding acquisition time of image subtracts in screen picture the corresponding acquisition time of screen picture collected at first, can be obtained by TV is surveyed to the response time of the test remote control mode.
Further, to avoid single from testing influence by uncertain factor, lead to the inaccuracy of test result, it can After being set as the test for carrying out preset times to same performance according to specific needs, the obtained response time is tested in calculating every time Average value determines the quality of the tested TV performance according to the average value.
The present embodiment sends test remote control mode to tested TV by test lead, so as to be tested TV distant according to the test for this Control code makes a response;It obtains in preset duration according to the screen map in the tested TV response process of predeterminated frequency acquisition Picture;Target image is determined in the screen picture, obtains the corresponding time parameter of the target image;According to the time parameter and it is somebody's turn to do Predeterminated frequency is calculated, and the response time that the tested TV makes a response according to the test remote control mode is obtained, according to the sound The test result of the TV performance is determined between seasonable.It realizes automatically to performances such as the starting up speed of TV, switching information source speed It is tested, improves the efficiency and accuracy rate of test, reduce the testing cost during TV performance test.
Further, it is based on above-mentioned first embodiment, TV performance test methods second embodiment of the present invention provides one kind TV performance test methods.In the present embodiment, step S3 includes:
Step c, judges whether the characteristics of image of the screen picture meets preset condition.
Test lead it is default can successively to judge whether the characteristics of image of every screen picture meets according to acquisition sequencing Condition stops judgement, wherein preset condition can be according to specific need when judging first screen picture for meeting preset condition It is arranged, the average brightness for being such as set as screen picture has to be larger than a preset threshold.Test lead can not also be according to acquisition Sequencing is judged, at this point, to traverse every screen picture, finds out all screen pictures for meeting preset condition.Screen The characteristics of image of image meets preset condition, that is, indicates that the characteristics of image of the screen picture is changed.
Step d will meet the preset condition, and collected screen picture is determined as target image at first.
When test lead is successively judged according to acquisition sequencing, judge first is met the screen of preset condition Curtain image is determined as target image.When test lead is not judged according to acquisition sequencing, all meet what is judged In the screen picture of preset condition, collected screen picture is determined as target image at first.As long as it is understood that can be from Characteristics of image is found out in all screen pictures to change at first, that is, meets the screen picture of preset condition, and is determined it as It is above two to determine that the mode of target image is not limited to for target image.
Further, in order to quickly determine that the figure of screen picture thinks whether feature is changed, step c includes:
Step e calculates the average RGB value of pixel in the screen picture target zone.
When test lead judges a screen picture, the target zone of the screen picture, target zone are first determined A pixel i.e. in screen picture or a region comprising multiple pixels, according to the performance difference of test without Together, the target zone of the screen picture under every kind of performance test scene is preset in test lead.Such as tested TV is being tested from opening Under machine to the test scene of operable time, test lead continues when sending booting remote control mode to tested TV to tested electricity Menu remote control mode is opened depending on sending, is tested TV after according to the opening menu remote control mode popup menu frame, the figure that screen is shown The fixation position of menu box has a red highlighted icon as in, and the preset target zone of test lead is at the red highlighted icon, The target zone is a region comprising multiple pixels at this time.For another example tested TV switching menu option speed is being tested Under test scene, test lead moves to right distant when tested TV is in menu box pop-up picture to tested TV transmission menu option Control code, tested TV move to right remote control mode for after cursor right according to the menu option, and cursor is to right avertence in the image that screen is shown It moves, the preset target zone of test lead can be at where former cursor, be also possible to after cursor moves at place.
Test lead obtains the RGB of each pixel in the target zone after determining the target zone of the screen picture Value, it is to be understood that when target zone is a pixel, since radix is very few, may cause test lead and judge screen map Therefore the whether changed result inaccuracy of the characteristics of image of picture when target zone is a region, can pass through calculating Average value in target zone between the rgb value of all pixels point out, raising judge whether the characteristics of image of screen picture occurs The accuracy of variation.
Whether step f judges the average RGB value in default RGB threshold range.
Step g, if the average RGB value is in the default RGB threshold range, it is determined that the screen picture meets pre- If condition.
After test lead calculates the average RGB value of pixel in target zone, judge the average RGB value whether default In RGB threshold range.Wherein, RGB threshold value is preset according to specific needs, corresponding every kind of performance test scene is configured, such as Setting 244-247 for R value threshold value, (appearance indicates numberical range with "-" in the present embodiment, before numberical range includes "-" Numerical value afterwards), G value threshold value is set as 18-21 and B value threshold value and is set as 48-50.
Further, R value, G value and the B value in the default RGB threshold value may be a specific value, and be not necessarily One range.As R value threshold value is set as 250, G value threshold value and is set as 19, B value threshold value being set as 49.
When the average RGB value of the screen picture is in default RGB threshold range, test lead determines that the screen picture accords with Close preset condition.When the average RGB value of the screen picture is not in default RGB threshold range, test lead determines the screen Image does not meet preset condition, and test lead judges another screen picture according to same judgment method at this time.Work as survey Try end and traverse all screen pictures, or judge to be collected at first the screen picture for meeting preset condition when, terminate judgement Process.
In the present embodiment, by the way that characteristics of image in all screen pictures is met preset condition, collected at first Screen picture is determined as target image, realizes and rapidly determines target image from all screen pictures.
Further, above-mentioned first or second embodiments are based on, TV performance test methods 3rd embodiment of the present invention mentions For a kind of TV performance test methods.In the present embodiment, step c further include:
Step h calculates the average brightness value in the screen picture target zone.
When test lead judges a screen picture, the target zone of the screen picture is first determined.The target zone Checkout areas different and different according to the performance of test, such as in the time for testing the tested local film source remote control mode of TV response broadcasting Under scape, test lead, which is sent, plays local film source remote control mode to tested TV, is tested TV according to the broadcasting local film source remote control mode After playing local film source, the brightness of image that tested TV is shown can change, and the preset target zone of test lead is screen map The whole region of picture.For another example in the case where above-mentioned test is tested test scene of the TV from booting to the operable time, test lead is pre- If target zone be the red highlighted icon at.For another example under the scene for testing tested TV switching information source speed, test lead Switching information source is sent to HDMI remote control mode to tested TV, tested TV is switched to according to the switching information source to HDMI remote control mode After HDMI information source, the brightness of image that tested TV is shown changes, and the preset target zone of test lead is the complete of screen picture Portion region.Test lead calculates the average brightness value in the target zone after determining the target zone of the screen picture.
Step i, judges whether the average brightness value is greater than predetermined luminance threshold value.
Step j, if the average brightness value is greater than the predetermined luminance threshold value, it is determined that the screen picture meets default Condition.
It is default to judge whether the average brightness value is greater than after calculating the average brightness value in the target zone for test lead Luminance threshold.Wherein, according to specific needs, corresponding every kind of performance test scene is configured predetermined luminance threshold value, is such as arranged It is 30.When the average brightness value of the screen picture is greater than the predetermined luminance threshold value, test lead determines that the screen picture meets Preset condition.When the average brightness value of the screen picture is not more than the predetermined luminance threshold value, test lead determines the screen map As not meeting preset condition.
Further, step h includes:
Step k obtains the rgb value of each pixel in the screen picture target zone.
Step l, according to the corresponding brightness value for calculating each pixel of the rgb value of each pixel.
Step m, divided by total pixel number in the target zone, will obtain institute after the added luminance of each pixel State the average brightness value in screen picture target zone.
Test lead first determines the target zone of screen picture, after determining target zone, obtains each pixel in target zone The rgb value of point, i.e., R value, G value, the B value of each pixel.Each picture is calculated according to the R value, G value, B value of each pixel are corresponding The brightness value of vegetarian refreshments.Calculation formula is Y=R*a+G*b+B*c, and wherein R, G, B are respectively that the R value, G value and B value, Y of pixel are The brightness value of the pixel, a, b, c are parameter preset, can be configured as the case may be, such as set 0.299 for a, will B is set as 0.587, sets 0.114 for b.When the R value of a pixel be 246, G value to be 20, B value be 49 when, the pixel Brightness value Y be 246*0.299+20*0.587+49*0.114=90.88.Test lead calculates target zone by the formula After the brightness value of interior each pixel, by after the added luminance of each pixel divided by total pixel number in target zone, Obtain the average brightness value in the screen picture target zone, wherein when the pixel of screen picture is 1920*1080, screen Total pixel number of the whole region of curtain image is 1920*1080=2073600.
It further, can be by this reality in order to improve the accuracy to the changed judgement of the characteristics of image of screen picture It applies and determines that screen picture meets determining screen picture in the scheme and second embodiment of preset condition and meets preset condition in example Scheme is combined, i.e., when the rgb value within the scope of screen picture first object is in default RGB threshold range, and the second target When average brightness value in range is greater than predetermined luminance threshold value, test lead just determines that the screen picture meets preset condition.
In the present embodiment, the changed scheme of characteristics of image of a variety of determining screen pictures is given, can be applicable in In different performance test scenes.
Further, it is based on above-mentioned first, second or third embodiment, TV performance test methods the 4th of the present invention are implemented Example provides a kind of TV performance test methods.In the present embodiment, in order to which the characteristics of image for improving to screen picture changes The accuracy of time point judgement, before step c further include:
Step n, using from the target area cut out in the screen picture as cut after screen picture.
When test scene be the preset target zone of test lead not instead of screen picture whole region, some region When test scene, under the test scene such as in the above-mentioned tested TV of test from booting to the operable time, test lead is default Target zone be the red highlighted icon at, at this point, the average brightness value calculated in the target zone may be subjected to screen The influence in other regions of image, therefore test lead can cut out the target zone corresponding region, that is, target area from screen picture It cuts and, using the target area as the screen picture after cutting.
If including step n before step c, step h includes:
Step o, average brightness value of the screen picture in target zone after calculating the cutting.
Test lead cut after screen picture after, determine the target zone of the screen picture after cutting, at this time target Range should be the whole region of the screen picture after cutting.Test lead calculates the average brightness value in the target zone.
In the present embodiment, by being cut to screen picture, the average brightness value of the screen picture after calculating cutting, It improves raising and judges the changed accuracy of screen picture.
Further, above-mentioned first, second, third or fourth embodiment, TV performance test methods of the present invention the are based on Five embodiments provide a kind of TV performance test methods.In the present embodiment, in the present embodiment, in order to reduce calculating screen map As the calculation amount of average brightness value in target zone, before step c further include:
Step p zooms in and out the screen picture according to preset ratio, the screen picture after being scaled.
Test lead can scale screen picture according to preset ratio, the screen picture after being scaled, wherein preset ratio It can be configured according to specific needs, it is 192*108 that the screen picture that pixel is 1920*1080, which is such as zoomed to pixel,.
If including step p before step c, step h includes:
Step q, average brightness value of the screen picture in target zone after calculating the scaling.
This step is similar with step h, and in this not go into detail.It should be noted that after screen picture is scaled, screen Pixel sum within the scope of curtain image object tails off, and the pixel for needing to calculate brightness value reduces, therefore reduces calculating Amount.
In the present embodiment, it by scaling screen picture according to preset ratio, reduces and calculates screen picture target zone The calculation amount of interior average brightness value.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium On be stored with TV performance test program, the TV performance test program realizes TV as described above when being executed by processor The step of energy test method.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of TV performance test methods, which is characterized in that the TV performance test methods the following steps are included:
Test remote control mode is sent to tested TV, so that the tested TV makes a response according to the test remote control mode;
It obtains in preset duration according to the screen picture in the tested TV response process of predeterminated frequency acquisition;
Target image is determined in the screen picture, obtains the corresponding time parameter of the target image;
It is calculated according to the time parameter and the predeterminated frequency, obtains the tested TV according to the test remote control mode The response time made a response, to determine the test result of the TV performance according to the response time.
2. TV performance test methods as described in claim 1, which is characterized in that described to determine mesh in the screen picture Before the step of logo image, further includes:
It is named according to acquisition sequencing to the screen picture, so as to carry time ginseng in the filename of the screen picture Number;
Described the step of obtaining the target image corresponding time parameter includes:
The filename for obtaining the target image parses the filename and obtains the time parameter.
3. TV performance test methods as claimed in claim 1 or 2, which is characterized in that described true in the screen picture Set the goal image the step of include:
Judge whether the characteristics of image of the screen picture meets preset condition;
The preset condition will be met, collected screen picture is determined as target image at first.
4. TV performance test methods as claimed in claim 3, which is characterized in that the image of the judgement screen picture The step of whether feature meets preset condition include:
Calculate the average RGB value of pixel in the screen picture target zone;
Judge the average RGB value whether in default RGB threshold range;
If the average RGB value is in the default RGB threshold range, it is determined that the screen picture meets preset condition.
5. TV performance test methods as claimed in claim 3, which is characterized in that the image of the judgement screen picture The step of whether feature meets preset condition further include:
Calculate the average brightness value in the screen picture target zone;
Judge whether the average brightness value is greater than predetermined luminance threshold value;
If the average brightness value is greater than the predetermined luminance threshold value, it is determined that the screen picture meets preset condition.
6. TV performance test methods as claimed in claim 5, which is characterized in that described to calculate the screen picture target model The step of enclosing interior average brightness value include:
Obtain the rgb value of each pixel in the screen picture target zone;
According to the corresponding brightness value for calculating each pixel of the rgb value of each pixel;
, divided by total pixel number in the target zone, the screen picture will be obtained after the added luminance of each pixel Average brightness value in target zone.
7. TV performance test methods as claimed in claim 5, which is characterized in that described to calculate the screen picture target model Before the step of enclosing interior average brightness value, further includes:
Using from the target area cut out in the screen picture as cut after screen picture;
The step of average brightness value calculated in the screen picture target zone includes:
Average brightness value of the screen picture in target zone after calculating the cutting.
8. TV performance test methods as claimed in claim 5, which is characterized in that described to calculate the screen picture target model Before the step of enclosing interior average brightness value, further includes:
The screen picture is zoomed in and out according to preset ratio, the screen picture after being scaled;
The step of average brightness value calculated in the screen picture target zone includes:
Average brightness value of the screen picture in target zone after calculating the scaling.
9. a kind of TV performance test apparatus, which is characterized in that the TV performance test apparatus include memory, processor and The TV performance test program that is stored on the memory and can run on the processor, the TV performance test journey It realizes when sequence is executed by the processor such as the step of TV performance test methods described in any item of the claim 1 to 8.
10. a kind of computer readable storage medium, which is characterized in that be stored with TV on the computer readable storage medium Energy test program, is realized when the TV performance test program is executed by processor as described in any item of the claim 1 to 8 The step of TV performance test methods.
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 true CN109104608A (en) 2018-12-28
CN109104608B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327890A (en) * 2020-03-06 2020-06-23 成都极米科技股份有限公司 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
CN114898188A (en) * 2022-03-29 2022-08-12 北京百佑科技有限公司 Automatic equipment testing method and device, terminal equipment and storage medium
CN117979002A (en) * 2024-03-28 2024-05-03 深圳市艾科维达科技有限公司 Set top box performance test method based on big data

Citations (5)

* 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
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
CN107172420A (en) * 2017-06-23 2017-09-15 天津市德力电子仪器有限公司 IPTV and OTT set-top box quality automatic method of testing

Patent Citations (5)

* 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
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
CN107172420A (en) * 2017-06-23 2017-09-15 天津市德力电子仪器有限公司 IPTV and OTT set-top box quality automatic method of testing

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327890A (en) * 2020-03-06 2020-06-23 成都极米科技股份有限公司 Optical machine testing method and device and electronic equipment
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
CN113900875B (en) * 2021-11-23 2024-07-09 深圳市康冠商用科技有限公司 Startup test method and device, computer equipment and storage medium
CN114898188A (en) * 2022-03-29 2022-08-12 北京百佑科技有限公司 Automatic equipment testing method and device, terminal equipment and storage medium
CN117979002A (en) * 2024-03-28 2024-05-03 深圳市艾科维达科技有限公司 Set top box performance test method based on big data

Also Published As

Publication number Publication date
CN109104608B (en) 2021-08-24

Similar Documents

Publication Publication Date Title
CN109104608A (en) TV performance test methods, equipment and computer readable storage medium
CN105975394B (en) A kind of program testing method and device
CN108924622B (en) Video processing method and device, storage medium and electronic device
US20130273853A1 (en) Mobile device monitoring and testing
CN106802935A (en) The method of testing and device of a kind of page fluency
CN107077292A (en) Clip and paste information providing method and device
KR100965720B1 (en) Method for generating mosaic image and apparatus for the same
CN104834597B (en) Using the measuring method and system of response time
CN108287744A (en) Character displaying method, device and storage medium
CN112437353B (en) Video processing method, video processing device, electronic apparatus, and readable storage medium
CN114025219B (en) Rendering method, device, medium and equipment for augmented reality special effects
CN106951346A (en) The method of testing and device of a kind of response time
CN104184731A (en) Information display method, device and system
CN110930220A (en) Display method, display device, terminal equipment and medium
CN111583348B (en) Image data encoding method and device, image data displaying method and device and electronic equipment
US20170161871A1 (en) Method and electronic device for previewing picture on intelligent terminal
CN112306601A (en) Application interaction method and device, electronic equipment and storage medium
CN109840315A (en) A kind of detail information inspection method and device
CN113794831B (en) Video shooting method, device, electronic equipment and medium
CN114445545A (en) Method, device, equipment, system and medium for testing rendering engine
CN107396178A (en) A kind of method and apparatus for editing video
CN105323624B (en) A kind of methods, devices and systems of recorded video
CN107179181B (en) Display screen uniformity testing method, terminal and computer readable storage medium
CN110245068A (en) Automated testing method, device and the computer equipment of the H5 page
CN115103206A (en) Video data processing method, device, equipment, system and storage medium

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