CN109672882A - Set-top box tuner test method, terminal and storage medium - Google Patents
Set-top box tuner test method, terminal and storage medium Download PDFInfo
- Publication number
- CN109672882A CN109672882A CN201811619483.8A CN201811619483A CN109672882A CN 109672882 A CN109672882 A CN 109672882A CN 201811619483 A CN201811619483 A CN 201811619483A CN 109672882 A CN109672882 A CN 109672882A
- Authority
- CN
- China
- Prior art keywords
- test
- top box
- error rate
- tuner
- configuration parameter
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/04—Diagnosis, testing or measuring for television systems or their details for receivers
Abstract
The invention discloses a kind of set-top box tuner test method, terminal and storage mediums.This method comprises: sending tuner configuration parameter and frequency point matching instruction to test equipment;After the test equipment is matched according to the frequency point matching instruction with the set-top box, the set-top box execution frequency locking is controlled to operate and control the test equipment according to tuner configuration parameter to set-top box progress error rate test, to determine whether error rate test passes through;When set-top box error rate test is obstructed out-of-date, the video frame that error rate test result and the set-top box export after screen locking operation is obtained, to obtain video contrast test result according to the video frame of output.The present invention not only reduces testing cost, improves testing efficiency, and test result is more accurate.
Description
Technical field
The present invention relates to electronic technology fields more particularly to a kind of set-top box tuner test method, terminal and storage to be situated between
Matter.
Background technique
The tuner functional test of set-top box largely uses manual test at present, and manual test mainly leads in the prior art
Whether have mosaic, and then complete to survey the tuner function of set-top box if crossing in the video pictures of artificial observation set-top box output
Examination, and this test method needs tester to manually adjust the parameter of set-top box and test equipment, so that set-top box functionality
Test is too dependent on the working experience of tester, is easy to cause test result inaccurate.And in addition least a portion of automatic survey
Method for testing is then solely to carry out the test of set-top box tuner using the method for picture comparison, and this single test method is encountering
When test parameter is excessive, test period is longer.
Summary of the invention
The main purpose of the present invention is to provide a kind of set-top box tuner test method, terminal and storage mediums, it is intended to
It solves the prior art and carries out result inaccuracy, test period longer problem when tuner functional test.
To achieve the above object, the present invention provides a kind of set-top box tuner test method, comprising:
Tuner configuration parameter and frequency point matching instruction are sent to test equipment;
After the test equipment is matched according to the frequency point matching instruction with the set-top box, the machine top is controlled
Box executes frequency locking and operates and control the test equipment according to tuner configuration parameter to set-top box progress error rate test, with true
Determine whether error rate test passes through;
When set-top box error rate test is obstructed out-of-date, acquisition error rate test result and the set-top box are after screen locking operation
The video frame of output, to obtain video contrast test result according to the video frame of output.
Preferably, described the step of sending tuner configuration parameter to test equipment, includes:
One group of tuner configuration parameter is selected from multiple groups tuner configuration parameter according to preset order, and by the height of selection
Frequency head configuration parameter is sent to the test equipment;
The control test equipment carries out error rate test to set-top box according to tuner configuration parameter, is missed with determining
Code rate test whether by the step of include:
After every tuner configuration parameter to test equipment for sending selection, the test equipment is controlled according to the high frequency of selection
Head configuration parameter carries out error rate test to set-top box, and judges the test that the set-top box returns after carrying out error rate test
It as a result whether is true;
When the set-top box is when the test result returned after carrying out error rate test is true, determine that error rate test is logical
It crosses, and stops selecting tuner configuration parameter;
When the set-top box is when the test result returned after carrying out error rate test is not true, continue to select next group high
Frequency head configuration parameter, until choosing the error rate test result that the set-top box returns when last group of tuner configuration parameter
When being not still true, determine that error rate test does not pass through.
Preferably, the selected tuner configuration parameter includes the output level N of the test equipment;
It is described when the set-top box is when the test result returned after carrying out error rate test is not true, continue to select next
Group tuner configuration parameter, until choosing the error rate test that the set-top box returns when last group of tuner configuration parameter
When being not still as a result true, determine that the unacceptable step of error rate test includes:
When the set-top box is when the test result returned after carrying out error rate test is not true, tuner configuration ginseng is judged
Whether the output level N of test equipment described in number reaches parameter preset threshold value;
When the output level N of the test equipment reaches parameter preset threshold value, determine that error rate test does not pass through;
When the output level N of the test equipment is not up to parameter preset threshold value, certainly by the output level N of test equipment
Add M, using updated tuner configuration parameter as next group of tuner configuration parameter, and returns and continue to control the test
Equipment carries out error rate test to the set-top box according to the tuner configuration parameter of selection, and wherein M is not 0.
Preferably, when the test result returned after carrying out error rate test is true, the set-top box exists the set-top box
Bit error rate when carrying out error rate test is less than default bit error rate extreme value;
When the test result returned after carrying out error rate test is not true, the set-top box is being missed the set-top box
Bit error rate when code rate is tested is greater than or equal to default bit error rate extreme value.
Preferably, described the step of obtaining video contrast test result according to the video frame of output, includes:
The video frame of the output and preset standard video frame are subjected to video comparison, with the video frame of the determination output
Whether matched with preset standard video frame;
If so, video contrast test result is that test passes through;
If it is not, then video contrast test result is that test does not pass through.
Preferably, the video frame by the output and preset standard video frame carry out video comparison, described in determination
The step of whether video frame of output matches with preset standard video frame include:
The video frame of the output and preset standard video frame are subjected to video comparison, with the video frame of acquisition output and in advance
It is marked with the similarity of quasi- video frame;
Judge whether the similarity is greater than default similarity threshold;Wherein, when the similarity is greater than default similarity
When threshold value, determine that the video frame of the output is matched with preset standard video frame;When the similarity is less than or equal to default phase
When like degree threshold value, determine that the video frame of the output and preset standard video frame mismatch.
Preferably, it before described the step of sending tuner configuration parameter and frequency point matching instruction to test equipment, also wraps
It includes:
Tuner configuration parameter to be tested is read from test report;
After the step of acquisition error rate test result, further includes:
Error rate test result is written in the test report, line number where the corresponding tuner configuration parameter read.
Preferably, after the step of acquisition video contrast test result, further includes:
The video contrastive test result is written in the default test report.
In addition, to achieve the above object, the present invention also provides a kind of terminal, the terminal includes: communication module, storage
Device, processor and it is stored in the computer program that can be run on the memory and on the processor, the computer journey
It realizes when sequence is executed by the processor such as the step of above-mentioned set-top box tuner test method.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
It is stored with computer program on storage medium, such as above-mentioned set-top box high frequency is realized when the computer program is executed by processor
The step of head test method.
The present invention is by sending tuner configuration parameter and frequency point matching instruction to test equipment;In the test equipment root
After being matched according to the frequency point matching instruction with the set-top box, controls the set-top box execution frequency locking and operate and control described
Test equipment carries out error rate test to set-top box according to tuner configuration parameter, to determine whether error rate test passes through;When
Set-top box error rate test is obstructed out-of-date, obtains the video that error rate test result and the set-top box export after screen locking operation
Frame, to obtain video contrast test result according to the video frame of output.Since the present invention is by error rate test and video pixel pair
Than combining, the video frame of locking not necessarily in accurate situation, can not be passed through by result what error rate test obtained
Pixel carrys out auxiliary judgment to obtain the functional verification of set-top box tuner as a result, not only can guarantee the accurate of test result but also reduced in advance
The test quantity compared by video, can improve testing efficiency.In addition, error rate test therein all passes through terminal, surveys
The interaction tried between equipment and set-top box is realized, is realized automatic error rate test instead of manual testing, is reduced cost of labor,
Error rate test accuracy is also improved compared to manual testing.
Detailed description of the invention
Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of set-top box tuner test method first embodiment of the present invention;
Fig. 3 is the refinement flow diagram of step S20 in set-top box tuner test method second embodiment of the present invention;
Fig. 4 is the refinement flow diagram of step S30 in set-top box tuner test method 3rd 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.
Fig. 1 is please referred to, Fig. 1 is the hardware structural diagram of terminal provided by the present invention.The terminal can be calculating
Machine and/or the electronic equipment for being exclusively used in control test equipment, the terminal may include communication module 10 on hardware configuration, deposit
The components such as reservoir 20 and processor 30.In the terminal, the processor 30 respectively with the memory 20 and described
Communication module 10 connects, and is stored with computer program on the memory 20, the computer program is held by processor 30 simultaneously
Row, when the computer program executes the step of realization following methods embodiment.
Communication module 10 can be connect by network with external communications equipment.Communication module 10 can receive external communication and set
The request that preparation goes out, can also send request, instruction and information to the external communications equipment.The external communications equipment can be with
It is other provided terminals of set-top box, test equipment, server or Fig. 1 etc..Terminal can use communication module 10
Connection function sends to set-top box and instructs, the test data that receiving set up box returns, or sends tuner to test equipment and match
Set parameter and frequency point matching instruction.
Memory 20 can be used for storing software program and various data.Memory 20 can mainly include storing program area
The storage data area and, wherein storing program area can application program needed for storage program area, at least one function (for example obtain
Take test result) etc.;Storage data area may include database, and storage data area, which can be stored, uses created number according to terminal
According to or information etc..In addition, memory 20 may include high-speed random access memory, it can also include nonvolatile memory,
A for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 30 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to
It crosses operation or executes the software program and/or module being stored in memory 20, and call the number being stored in memory 20
According to, execute terminal various functions and processing data, thus to terminal carry out integral monitoring.Processor 30 may include one or more
A processing unit;Optionally, processor 30 can integrate application processor and modem processor, wherein application processor master
Processing operation system, user interface and application program etc. are wanted, modem processor mainly handles wireless communication.It is understood that
It is that above-mentioned modem processor can not also be integrated into processor 30.
Although Fig. 1 is not shown, above-mentioned terminal can also guarantee it for connecting to power supply including circuit control module
The normal work of his component.It will be understood by those skilled in the art that the limit of the not structure paired terminal of terminal structure shown in Fig. 1
It is fixed, it may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
Based on above-mentioned hardware configuration, each embodiment of the present invention is proposed.
Referring to Fig. 2, Fig. 2 is the flow diagram of set-top box tuner test method first embodiment of the present invention, in this reality
It applies in example, which comprises
Step S10 sends tuner configuration parameter and frequency point matching instruction to test equipment;
In the present embodiment, test macro is made of test equipment and terminal, for carrying out to set-top box tuner function
Test, wherein test equipment can be communicated with set-top box by Cable line (cable of cable TV), test macro terminal
It can be communicated by serial ports or network interface line with set-top box, terminal can be communicated with test equipment by network interface line.
Tuner configuration parameter is read from memory or other External memory equipments by terminal, is then sent tuner and is matched
Parameter and frequency point matching instruction are set to test equipment.Wherein, which can be radio and television test macro equipment SFU,
It is a kind of equipment that tuner correlation function item parameter can be set, and is joined by the function items of radio and television test macro equipment
Several traversals adjusts the verifying to realize all tuner functional test items.The tuner configuration that the test macro terminal is sent
Parameter may include: the data information of every relevant parameter such as the input frequency of tuner, test level, local frequency, frequency point
It may include that on-air testing equipment needs matched frequency point data information in matching instruction, for making test equipment and current test
The frequency point of set-top box is identical, to guarantee that set-top box can receive the fc-specific test FC code stream of test equipment output.
Step S20, after the test equipment is matched according to the frequency point matching instruction with the set-top box, control
The set-top box execution frequency locking, which operates and controls the test equipment, carries out error rate test to set-top box according to configuration parameter, with
Determine whether error rate test passes through;
After above-mentioned test equipment receives tuner configuration parameter and frequency point matching instruction, by the test function of test equipment
Item parameter is automatically set to the tuner configuration parameter received, and according to the frequency point matching instruction automatic adjustment frequency received
Point is allowed to match with the frequency point of set-top box.Wherein in matching process, terminal can send frequency point matching instruction to set-top box,
The frequency point of set-top box is arranged, keep the frequency point of set-top box corresponding with test equipment.Alternatively, frequency can also be completed in test equipment
After the automatic adjustment of point, make the frequency point of set-top box is also corresponding to adjust by serial ports or network interface communication.Test macro terminal is controlling
After the frequency point of set-top box and the frequency point Corresponding matching of test equipment, it can control set-top box progress frequency locking and operate with locked frequency point,
And control test equipment and error rate test is carried out to set-top box according to tuner configuration parameter, to determine whether error rate test leads to
It crosses.The above-mentioned bit error rate is a kind of index of measurement data data transmission at the appointed time accuracy, is used to make in the present invention
To measure the index whether video frame of set-top box output has mosaic, the calculation of the bit error rate are as follows: in the bit error rate=transmission
Wrong yardage/transmission gross yards × 100%.
It should be noted that the error rate test of set-top box can be performed automatically, it is only necessary to return to error rate test result
Parameter passes through or tests unacceptable character string, such as " 01 " or " true " to terminal, the expression test that can be of return
Indicate that error rate test passes through, " 00 " or " false " indicates that error rate test does not pass through.It can also be when the bit error rate returned is surveyed
It indicates to test when test result is true to pass through, otherwise without return test result, or the test result returned is vacation, indicates test not
Pass through.
Step S30, when set-top box error rate test is obstructed out-of-date, acquisition error rate test result and the set-top box are being locked
The video frame that frequency exports after operating, to obtain video contrast test result according to the video frame of output.
After determining that error rate test is obstructed, test macro terminal obtains the video that set-top box exports after frequency locking operation
Frame, wherein the test macro terminal has a video frequency collection card, and the video frequency collection card passes through HDMI (High
Definition Multimedia Interface, high-definition media interface) line or CVBS (Composite Video
Broadcast Signal, audio video synchronization broadcast singal) line connect with set-top box.View can be obtained by HDMI wire or CVBS line
Frequency frame, and the video frame received and preset normal video frame are compared, video contrastive test is judged according to comparison result
Whether pass through, so that correspondence obtains video contrast test as a result, to assess set-top box tuner function.
It should be noted that the preset normal video frame is tested under current set top box identical parameters environment
System terminal is from collected, the video frame being stored under particular category in third party's video, picture library in the similar library Opencv.
The error rate test of the present embodiment all passes through the interaction between terminal, test equipment and set-top box and realizes, realizes
Automatic error rate test replaces manual testing, reduces cost of labor, also improves error rate test standard compared to manual testing
True property, but since there are certain errors for measurement of the bit error rate itself, so that Marseille card may not occur in video originally
Error rate test is identified as not pass through.Therefore the present embodiment is further based on error rate test, supplemented by video contrast test
It realizes set-top box tuner automated function test, result not necessarily accurate feelings can not be passed through what error rate test obtained
Under condition, by the video frame pixel of locking come auxiliary judgment to obtain the functional verification of set-top box tuner as a result, both can guarantee survey
Test result accurate and reduce the test quantity compared by video in advance, testing efficiency can be improved, saved the testing time.
Further, in other embodiments, the error rate test knot that above-mentioned automatic test course can also be obtained
Fruit and video contrast test result automatically write in particular data file, and combine original tuner configuration parameter finally common
Test report is formed, without being manually entered, electronic degree is high.
Optionally, the original tuner configuration parameter for being sent to set-top box can be pre-stored in test report, can be pre-
First tuner configuration parameter is grouped, and remains filling position in advance for each group of corresponding test result not being written, is being sent out
Send tuner configuration parameter to test equipment before, can directly read from test report currently needs tuner to be tested to match
Parameter is set, after obtaining error rate test result and/or video contrast test result, error rate test result can directly be write
Line number where entering the tuner configuration parameter currently tested, corresponding reserved error rate test result inserts position, by video ratio
The obstructed out-of-date corresponding position of tuner configuration parameter is written to result.This programme being preset and being write by test report
Enter, tester's fast browsing and export can be helped, it is simple and convenient to obtain test data.
Further, propose set-top box tuner test method of the present invention based on above-mentioned first embodiment second is implemented
Example, in a second embodiment, the step S10 includes:
Step S11, selects one group of tuner configuration parameter from multiple groups tuner configuration parameter in sequence, and by frequency point
Matching instruction and the tuner configuration parameter of selection are sent to the test equipment.
Include: referring to Fig. 3, the step S20
Step S21, after the test equipment is matched according to the frequency point matching instruction with the set-top box, control
The test equipment carries out error rate test to set-top box according to the tuner configuration parameter of selection, and judges that the set-top box exists
Whether the test result return after error rate test is true;If so, thening follow the steps S22;If it is not, thening follow the steps S23;
Step S22 determines that error rate test passes through, and stops selecting tuner configuration parameter;
Step S23 continues to select next group of tuner configuration parameter, until choosing last group of tuner configuration parameter
When the error rate test result that Shi Suoshu set-top box returns is not still true, determine that error rate test does not pass through.
Wherein, before testing begins, one bit error rate extreme value (different model set-top box can be set to above-mentioned set-top box
Between bit error rate extreme value it is different), such as bit error rate extreme value can be 5.0*10-6, set-top box carry out the bit error rate test automatically
After can obtain an error rate value, set-top box is by included logical calculation method by the error rate value and preset error code
Rate ratio of extreme values pair is still 5.0*10 with bit error rate extreme value-6For be illustrated, if the error rate value be greater than or equal to 5.0*
10-6, then set-top box can generate " 0 " electric signal, indicate that test result is not true, if the error rate value is less than 5.0*10-6, then set-top box can generate the electric signal of one " 1 ", indicate that result is true, and the electric signal of above-mentioned " 0 " or " 1 " is sent to survey
Test system terminal judges whether error rate test passes through according to electric signal by test macro terminal.
If the result that current test returns is very, directly to stop selection tuner configuration parameter, it is believed that error rate test
Pass through, tuner is successfully tested in the functional configuration item parameter, and test report is written in the result that test can be passed through.If
The result that current test returns is not very, to indicate that tuner does not pass through in functional configuration item test, can be by the configuration parameter
Corresponding test, then according to preset order, selects next group of tuner configuration parameter to carry out error code not by write-in test report
Rate test, when having selected last group of tuner configuration parameter, relevant configuration item is still tested obstructed out-of-date, it is believed that current
Set-top box error rate test does not pass through.Wherein preset order, which can be, needs to change adjustment according to some in tuner configuration parameter
Parameter sequence from high to low or from low to high, or randomly select, herein without repeating.Optionally, it needs to change
The parameter of adjustment for example can be the output level of test equipment.Each group of tuner configuration parameter is chosen by circulation to be missed
Code rate debugging test, it is ensured that it can recognize the current test suitable tuner configuration parameter of set-top box, error rate test is comprehensive,
It avoids simultaneously and is manually entered the parameters increase testing time, improve testing efficiency.
Further, the selected tuner configuration parameter includes the output level N of the test equipment, the step
S23 includes:
Step S231, judges whether the output level N of test equipment described in tuner configuration parameter reaches parameter preset
Threshold value;If so, thening follow the steps S232;If it is not, thening follow the steps S233;
Step S232 determines that error rate test does not pass through;
The output level N of test equipment is added M, using updated tuner configuration parameter as under by step S233 certainly
One group of tuner configuration parameter, and return and continue to control the test equipment according to the tuner configuration parameter of selection to the machine
Top box carries out error rate test, and wherein M is not 0.
Wherein M is the adjustment step diameter value of output level, and M can be for greater than 0, or the number less than 0, parameter preset threshold value
Then define the adjusting range of output level.For example, if selection multiple groups tuner configuration parameter in output level adjustment model
Enclosing is 14.0~19.0, and when N carries out error rate test since 14.0, adjusts output level every time, N is certainly plus M, M can be
0.5 or it is other be greater than 0 numerical value, value adjusted is assigned to N, i.e. N=N+M after selection every time, when N is equal to 19.0, then
Judge that the level value has reached preset threshold, stops selection at this time.Conversely, carry out error rate test since 19 as N, then M
It can stop selection when N is equal to 15 for -0.5 or other numerical value less than 0.The present embodiment is by adjusting test equipment
Output level realizes that the dynamic of tuner parameter updates, so as to be missed by all possible relevant configuration item parameter
The traversal of code rate function is tested, and the current test suitable tuner relevant configuration item parameter of set-top box is found in help, and the bit error rate is surveyed
It tries comprehensive and high-efficient.
Further, referring to fig. 4, the first embodiment based on set-top box tuner test method of the present invention proposes the present invention
The 3rd embodiment of set-top box tuner test method, in the present embodiment, the step S30 includes:
The video frame of the output and preset standard video frame are carried out video comparison, with the determination output by step S31
Video frame whether matched with preset standard video frame;If so, thening follow the steps S32;If it is not, thening follow the steps S33;
Step S32, video contrast test result are that test passes through;
Step S33, video contrast test result are that test does not pass through.
Wherein, the preset standard video frame is to test terminal is acquired from third party's video library or picture library and machine
Normal video frame under top box identical parameters, and be stored under specific catalogue.By the video frame of the output with it is collected
The comparison of preset standard video frame judges whether video comparison succeeds as standard using preset similarity threshold, to pass through view
Frequency comparison is to determine whether the output video of set-top box has mosaic, to assess set-top box tuner function.Specifically can be by
The video frame of output is compared with preset standard video frame, obtains the similarity between two video frames, then by video frame
Similarity and similarity threshold be compared, for example, preset similarity threshold is 99%, if the video frame of output and default
The similarity of normal video frame comparison be greater than 99%, then judge that the output video of set-top box does not have a mosaic, video comparison
Test passes through;If the video frame of output and the similarity of preset normal video frame comparison are less than or equal to 99%, judge
The output video of set-top box has mosaic, and video contrast test does not pass through.This programme gives optional the testing of video comparison
Journey provides further accurate testing scheme for tuner functional test.And by the way that error rate test and video comparison are surveyed
Examination combines, and under the premise of error rate test is unsanctioned, then carries out video contrast test, and two kinds of test modes combine can
Guarantee that the accuracy of test result can improve testing efficiency again.
The present invention also proposes a kind of computer readable storage medium, is stored thereon with computer program.The computer can
Reading storage medium can be the memory 10 in the terminal of Fig. 1, be also possible to such as ROM (Read-Only Memory, read-only storage
Device)/RAM (Random Access Memory, random access memory), magnetic disk, at least one of CD, the computer
Readable storage medium storing program for executing includes that some instructions are used so that a terminal device with processor (can be mobile phone, computer, clothes
Business device, terminal or the network equipment etc.) execute method described in each embodiment of the present invention.
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 server-side that include a series of elements not only include those elements,
It but also including other elements that are not explicitly listed, or further include for this process, method, article or server-side institute
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that wrapping
Include in process, method, article or the server-side of the element that there is also other identical elements.
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.
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 set-top box tuner test method, which is characterized in that comprising steps of
Tuner configuration parameter and frequency point matching instruction are sent to test equipment;
After the test equipment is matched according to the frequency point matching instruction with the set-top box, controls the set-top box and hold
Row frequency locking, which operates and controls the test equipment, carries out error rate test to set-top box according to tuner configuration parameter, is missed with determining
Code rate tests whether to pass through;
When set-top box error rate test is obstructed out-of-date, acquisition error rate test result and the set-top box export after screen locking operation
Video frame, with according to the video frame of output obtain video contrast test result.
2. set-top box tuner test method as described in claim 1, which is characterized in that described to send high frequency to test equipment
Head configuration parameter the step of include:
One group of tuner configuration parameter is selected from multiple groups tuner configuration parameter according to preset order, and by the tuner of selection
Configuration parameter is sent to the test equipment;
The control test equipment carries out error rate test to set-top box according to tuner configuration parameter, to determine the bit error rate
Test whether by the step of include:
After every tuner configuration parameter to test equipment for sending selection, controls the test equipment and matched according to the tuner of selection
It sets parameter and error rate test is carried out to set-top box, and judge the test result that the set-top box returns after carrying out error rate test
It whether is true;
When the set-top box is when the test result returned after carrying out error rate test is true, determine that error rate test passes through, and
Stop selection tuner configuration parameter;
When the set-top box is when the test result returned after carrying out error rate test is not true, continue to select next group of tuner
Configuration parameter, until choosing the error rate test result of set-top box return when last group of tuner configuration parameter still not
When being true, determine that error rate test does not pass through.
3. set-top box tuner test method as claimed in claim 2, which is characterized in that the selected tuner configuration ginseng
Number includes the output level N of the test equipment;
It is described when the set-top box is when the test result returned after carrying out error rate test is not true, continue to select next group high
Frequency head configuration parameter, until choosing the error rate test result that the set-top box returns when last group of tuner configuration parameter
When being not still true, determine that the unacceptable step of error rate test includes:
When the set-top box is when the test result returned after carrying out error rate test is not true, judge in tuner configuration parameter
Whether the output level N of the test equipment reaches parameter preset threshold value;
When the output level N of the test equipment reaches parameter preset threshold value, determine that error rate test does not pass through;
When the output level N of the test equipment is not up to parameter preset threshold value, the output level N of test equipment is added into M certainly,
As next group of tuner configuration parameter, and to return to and continue to control the test equipment updated tuner configuration parameter
Error rate test is carried out to the set-top box according to the tuner configuration parameter of selection, wherein M is not 0.
4. set-top box tuner test method as claimed in claim 2, which is characterized in that the set-top box is carrying out the bit error rate
When the test result returned after test is true, the bit error rate of the set-top box when carrying out error rate test is less than the default bit error rate
Extreme value;
For the set-top box when the test result returned after carrying out error rate test is not true, the set-top box is carrying out the bit error rate
Bit error rate when test is greater than or equal to default bit error rate extreme value.
5. set-top box tuner test method as described in claim 1, which is characterized in that described to be obtained according to the video frame of output
The step of taking video contrast test result include:
The video frame of the output and preset standard video frame are subjected to video comparison, with the video frame of the determination output and in advance
It is marked with whether quasi- video frame matches;
If so, video contrast test result is that test passes through;
If it is not, then video contrast test result is that test does not pass through.
6. set-top box tuner test method as claimed in claim 5, which is characterized in that the video frame by the output
Video comparison is carried out with preset standard video frame, it is whether matched with the video frame of the determination output and preset standard video frame
Step includes:
The video frame of the output and preset standard video frame are subjected to video comparison, to obtain the video frame exported and pre- bidding
The similarity of quasi- video frame;
Judge whether the similarity is greater than default similarity threshold;Wherein, when the similarity is greater than default similarity threshold
When, determine that the video frame of the output is matched with preset standard video frame;When the similarity is less than or equal to default similarity
When threshold value, determine that the video frame of the output and preset standard video frame mismatch.
7. set-top box tuner test method as claimed in any one of claims 1 to 6, which is characterized in that described to test equipment
Before the step of sending tuner configuration parameter and frequency point matching instruction, further includes:
Tuner configuration parameter to be tested is read from test report;
After the step of acquisition error rate test result, further includes:
Error rate test result is written in the test report, line number where the corresponding tuner configuration parameter read.
8. set-top box tuner test method as claimed in claim 7, which is characterized in that the acquisition video contrast test knot
After the step of fruit, further includes:
The video contrastive test result is written in the default test report.
9. a kind of terminal, which is characterized in that the terminal includes: communication module, memory, processor and is stored in the storage
On device and the computer program that can run on the processor, realized such as when the computer program is executed by the processor
The step of claim 1 to 8 described in any item set-top box tuner test methods.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes such as set-top box tuner described in any item of the claim 1 to 8 when the computer program is executed by processor
The step of test method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811619483.8A CN109672882B (en) | 2018-12-27 | 2018-12-27 | Set top box tuner testing method, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811619483.8A CN109672882B (en) | 2018-12-27 | 2018-12-27 | Set top box tuner testing method, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109672882A true CN109672882A (en) | 2019-04-23 |
CN109672882B CN109672882B (en) | 2020-12-08 |
Family
ID=66146331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811619483.8A Active CN109672882B (en) | 2018-12-27 | 2018-12-27 | Set top box tuner testing method, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109672882B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112040439A (en) * | 2020-07-27 | 2020-12-04 | 深圳市金溢科技股份有限公司 | OBU radio frequency parameter calibration method, OBU device, radio frequency device and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101778307A (en) * | 2010-02-05 | 2010-07-14 | 广东九联科技股份有限公司 | Device for testing functions of set top box |
CN102065316A (en) * | 2010-10-18 | 2011-05-18 | 深圳市九洲电器有限公司 | Automatic set top box level test device and method |
CN102510516A (en) * | 2011-10-17 | 2012-06-20 | 深圳创维数字技术股份有限公司 | Method and device for detecting tuner sensitivity |
CN105376644A (en) * | 2015-11-13 | 2016-03-02 | 深圳市创维软件有限公司 | Method, device and system for testing sensitivity of tuner of set top box |
EP3171593A1 (en) * | 2015-11-23 | 2017-05-24 | Rohde & Schwarz GmbH & Co. KG | Testing system, testing method, computer program product, and non-transitory computer readable data carrier |
-
2018
- 2018-12-27 CN CN201811619483.8A patent/CN109672882B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101778307A (en) * | 2010-02-05 | 2010-07-14 | 广东九联科技股份有限公司 | Device for testing functions of set top box |
CN102065316A (en) * | 2010-10-18 | 2011-05-18 | 深圳市九洲电器有限公司 | Automatic set top box level test device and method |
CN102510516A (en) * | 2011-10-17 | 2012-06-20 | 深圳创维数字技术股份有限公司 | Method and device for detecting tuner sensitivity |
CN105376644A (en) * | 2015-11-13 | 2016-03-02 | 深圳市创维软件有限公司 | Method, device and system for testing sensitivity of tuner of set top box |
EP3171593A1 (en) * | 2015-11-23 | 2017-05-24 | Rohde & Schwarz GmbH & Co. KG | Testing system, testing method, computer program product, and non-transitory computer readable data carrier |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112040439A (en) * | 2020-07-27 | 2020-12-04 | 深圳市金溢科技股份有限公司 | OBU radio frequency parameter calibration method, OBU device, radio frequency device and system |
Also Published As
Publication number | Publication date |
---|---|
CN109672882B (en) | 2020-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107862315B (en) | Subtitle extraction method, video searching method, subtitle sharing method and device | |
CN111787406B (en) | Video playing method, electronic equipment and storage medium | |
CN105530541A (en) | Set top box hardware test method and device | |
CN106326121A (en) | Method for automatically generating test script and terminal | |
CN105677131A (en) | Screenshot image output method and device | |
CN112612755B (en) | Chip test information display method and device, electronic equipment and storage medium | |
CN110413248B (en) | Spliced screen debugging method, spliced screen and spliced wall | |
KR20020032215A (en) | Apparatus for automatic generating test data and method thereof | |
CN107509110A (en) | A kind of loop play method and device of video file | |
CN105933792A (en) | Video playing method and mobile terminal | |
CN111225292A (en) | Information display method and device, storage medium and electronic device | |
CN109902251A (en) | Scheme Choice method, apparatus, terminal and readable storage medium storing program for executing based on decision tree | |
CN103647983B (en) | A kind of DTV channel search method and system | |
CN105354138A (en) | Method for determining specific control attribute of mobile phone page | |
CN109151587A (en) | Loading method, device, TV and the readable storage medium storing program for executing of HbbTV application | |
CN109672882A (en) | Set-top box tuner test method, terminal and storage medium | |
CN105100833A (en) | Subtitle loading method and device for online playing | |
CN102497586A (en) | Information display method and device | |
CN103501460B (en) | The sorting technique of a kind of program and device | |
CN105187860B (en) | Obtain the system and method in digital television program data storehouse | |
CN112420019B (en) | Equipment testing method and device | |
CN105657415B (en) | A kind of set-top box automatic testing method and terminal | |
CN109710436A (en) | Space method for cleaning, device, equipment and computer readable storage medium | |
CN110234027A (en) | Double-direction control is carried out to set-top box using optical character identification | |
CN108966007B (en) | Method and device for distinguishing video scenes under HDMI |
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 |