CN109672882B - Set top box tuner testing method, terminal and storage medium - Google Patents

Set top box tuner testing method, terminal and storage medium Download PDF

Info

Publication number
CN109672882B
CN109672882B CN201811619483.8A CN201811619483A CN109672882B CN 109672882 B CN109672882 B CN 109672882B CN 201811619483 A CN201811619483 A CN 201811619483A CN 109672882 B CN109672882 B CN 109672882B
Authority
CN
China
Prior art keywords
top box
error rate
test
tuner
configuration parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811619483.8A
Other languages
Chinese (zh)
Other versions
CN109672882A (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 Fengchi Electronics Co ltd
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Fengchi Electronics Co ltd
Shenzhen Skyworth Digital 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 Fengchi Electronics Co ltd, Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Fengchi Electronics Co ltd
Priority to CN201811619483.8A priority Critical patent/CN109672882B/en
Publication of CN109672882A publication Critical patent/CN109672882A/en
Application granted granted Critical
Publication of CN109672882B publication Critical patent/CN109672882B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

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 set top box tuner testing method, a terminal and a storage medium. The method comprises the following steps: transmitting tuner configuration parameters and frequency point matching instructions to test equipment; after the testing equipment is matched with the set top box according to the frequency point matching instruction, controlling the set top box to execute frequency locking operation and controlling the testing equipment to carry out error rate testing on the set top box according to the tuner configuration parameters so as to determine whether the error rate testing is passed or not; and when the error rate test of the set top box fails, obtaining an error rate test result and a video frame output by the set top box after the screen locking operation, so as to obtain a video comparison test result according to the output video frame. The invention not only reduces the testing cost and improves the testing efficiency, but also has more accurate testing result.

Description

Set top box tuner testing method, terminal and storage medium
Technical Field
The invention relates to the technical field of electronics, in particular to a method for testing a tuner of a set top box, a terminal and a storage medium.
Background
Most of the existing tuner function tests of the set-top box adopt manual tests, in the prior art, the manual tests mainly achieve the tuner function tests of the set-top box by observing whether a mosaic exists in a video picture output by the set-top box manually, and the test method needs testers to manually adjust parameters of the set-top box and test equipment, so that the set-top box function tests are excessively dependent on working experiences of the testers, and inaccurate test results are easily caused. And the other few automatic testing methods are to singly utilize a picture comparison method to test the tuner of the set-top box, and the single testing method has a longer testing period when testing parameters are too much.
Disclosure of Invention
The invention mainly aims to provide a method, a terminal and a storage medium for testing a tuner of a set-top box, and aims to solve the problems of inaccurate result and long test period when the tuner function test is carried out in the prior art.
In order to achieve the above object, the present invention provides a method for testing a tuner of a set-top box, comprising:
transmitting tuner configuration parameters and frequency point matching instructions to test equipment;
after the testing equipment is matched with the set top box according to the frequency point matching instruction, controlling the set top box to execute frequency locking operation and controlling the testing equipment to carry out error rate testing on the set top box according to the tuner configuration parameters so as to determine whether the error rate testing is passed or not;
and when the error rate test of the set top box fails, obtaining an error rate test result and a video frame output by the set top box after the screen locking operation, so as to obtain a video comparison test result according to the output video frame.
Preferably, the step of sending the tuner configuration parameters to the testing device includes:
selecting a group of tuner configuration parameters from the groups of tuner configuration parameters according to a preset sequence, and sending the selected tuner configuration parameters to the test equipment;
the step of controlling the testing equipment to carry out the error rate test on the set top box according to the tuner configuration parameters so as to determine whether the error rate test is passed or not comprises the following steps:
after sending the selected tuner configuration parameters to the testing equipment, controlling the testing equipment to carry out error rate testing on the set top box according to the selected tuner configuration parameters, and judging whether a test result returned by the set top box after carrying out the error rate testing is true or not;
when the test result returned by the set top box after the error rate test is true, determining that the error rate test is passed, and stopping selecting the tuner configuration parameters;
and when the test result returned by the set top box after the error rate test is not true, continuing to select the next group of tuner configuration parameters until the error rate test result returned by the set top box is still not true when the last group of tuner configuration parameters is selected, and determining that the error rate test does not pass.
Preferably, the selected tuner configuration parameter includes an output level N of the test device;
when the test result returned by the set-top box after the error rate test is not true, the next group of tuner configuration parameters are continuously selected until the error rate test result returned by the set-top box is still not true when the last group of tuner configuration parameters are selected, and the step of determining that the error rate test does not pass comprises the following steps:
when the test result returned by the set top box after the error rate test is not true, judging whether the output level N of the test equipment in the tuner configuration parameters reaches a preset parameter threshold value or not;
when the output level N of the test equipment reaches a preset parameter threshold, determining that the error rate test does not pass;
and when the output level N of the test equipment does not reach the preset parameter threshold value, adding M to the output level N of the test equipment to take the updated tuner configuration parameters as the next tuner configuration parameters, and returning to continuously control the test equipment to carry out error rate test on the set top box according to the selected tuner configuration parameters, wherein M is not 0.
Preferably, when a test result returned by the set top box after the error rate test is true, the error rate of the set top box during the error rate test is smaller than a preset error rate extreme value;
and when the test result returned by the set top box after the error rate test is not true, the error rate of the set top box during the error rate test is greater than or equal to a preset error rate extreme value.
Preferably, the step of obtaining the video contrast test result according to the output video frame includes:
performing video comparison on the output video frame and a preset standard video frame to determine whether the output video frame is matched with the preset standard video frame;
if so, the video comparison test result is that the test is passed;
if not, the video comparison test result is that the test fails.
Preferably, the step of performing video comparison on the output video frame and a preset standard video frame to determine whether the output video frame is matched with the preset standard video frame comprises:
performing video comparison on the output video frame and a preset standard video frame to acquire the similarity of the output video frame and the preset standard video frame;
judging whether the similarity is greater than a preset similarity threshold value or not; when the similarity is greater than a preset similarity threshold, determining that the output video frame is matched with a preset standard video frame; and when the similarity is smaller than or equal to a preset similarity threshold value, determining that the output video frame is not matched with a preset standard video frame.
Preferably, before the step of sending the tuner configuration parameter and the frequency point matching instruction to the testing device, the method further includes:
reading the tuner configuration parameters to be tested from the test report;
after the step of obtaining the bit error rate test result, the method further comprises:
and writing the error rate test result into the test report, wherein the read line number of the tuner configuration parameter is correspondingly located.
Preferably, after the step of obtaining the video contrast test result, the method further includes:
and writing the video comparison test result into the preset test report.
In addition, to achieve the above object, the present invention also provides a terminal, including: the tuner testing device comprises a communication module, a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the computer program realizes the steps of the set-top box tuner testing method when being executed by the processor.
In addition, to achieve the above object, the present invention further provides a computer-readable storage medium, having a computer program stored thereon, where the computer program, when executed by a processor, implements the steps of the set-top box tuner testing method as described above.
The invention sends tuner configuration parameters and frequency point matching instructions to the test equipment; after the testing equipment is matched with the set top box according to the frequency point matching instruction, controlling the set top box to execute frequency locking operation and controlling the testing equipment to carry out error rate testing on the set top box according to the tuner configuration parameters so as to determine whether the error rate testing is passed or not; and when the error rate test of the set top box fails, obtaining an error rate test result and a video frame output by the set top box after the screen locking operation, so as to obtain a video comparison test result according to the output video frame. The invention combines the error rate test and the video pixel comparison, can obtain the function verification result of the tuner of the set-top box by the auxiliary judgment of the locked video frame pixel under the condition that the result of the error rate test, which does not pass the video pixel comparison, is not always accurate, can ensure the accuracy of the test result, reduce the test quantity passing the video comparison in advance and improve the test efficiency. In addition, the error rate test is realized by interaction among the terminal, the test equipment and the set top box, so that the automatic error rate test is realized to replace manual test, the labor cost is reduced, and the error rate test accuracy is improved compared with the manual test.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a tuner testing method of a set-top box according to a first embodiment of the present invention;
fig. 3 is a detailed flowchart of step S20 in the second embodiment of the set-top box tuner testing method according to the present invention;
fig. 4 is a detailed flowchart of step S30 in the third embodiment of the set-top box tuner testing method according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a terminal provided by the present invention. The terminal may be a computer and/or an electronic device dedicated to control of the test device, and may include components such as the communication module 10, the memory 20, and the processor 30 in a hardware configuration. In the terminal, the processor 30 is connected to the memory 20 and the communication module 10, respectively, the memory 20 having stored thereon a computer program that is executed by the processor 30 at the same time, the computer program when executed implementing the steps of the method embodiments described below.
The communication module 10 may be connected to an external communication device through a network. The communication module 10 may receive a request from an external communication device, and may also send a request, an instruction, and information to the external communication device. The external communication device may be a set-top box, a test device, a server or other such terminal as provided in fig. 1, etc. The terminal can send an instruction to the set-top box by using the connection function of the communication module 10, receive test data returned by the set-top box, or send tuner configuration parameters and a frequency point matching instruction to the test equipment.
The memory 20 may be used to store software programs as well as various data. The memory 20 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as obtaining a test result), and the like; the storage data area may include a database, and the storage data area may store data or information created according to the use of the terminal, and the like. Further, the memory 20 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 30, which is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 20 and calling data stored in the memory 20, thereby performing overall monitoring of the terminal. Processor 30 may include one or more processing units; alternatively, the processor 30 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 30.
Although not shown in fig. 1, the terminal may further include a circuit control module for connecting to a power supply to ensure the normal operation of other components. Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
Based on the above hardware structure, various embodiments of the present invention are proposed.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a tuner testing method for a set-top box according to the present invention, in this embodiment, the method includes:
step S10, transmitting tuner configuration parameters and frequency point matching instructions to the testing equipment;
in this embodiment, the testing system is composed of a testing device and a terminal, and is used for testing the tuner function of the set-top box, wherein the testing device and the set-top box can communicate through a Cable (Cable television Cable), the testing system terminal and the set-top box can communicate through a serial port or a network port, and the terminal and the testing device can communicate through a network port.
And the terminal reads the tuner configuration parameters from the memory or other external storage equipment and then sends the tuner configuration parameters and the frequency point matching instruction to the test equipment. The test equipment can be a broadcast television test system equipment SFU which is equipment capable of setting relevant function item parameters of a tuner, and verification of all tuner function test items is realized through traversal adjustment of the function item parameters of the broadcast television test system equipment. The tuner configuration parameters sent by the test system terminal may include: the data information of various relevant parameters such as input frequency, test level, local oscillation frequency and the like of the tuner can be obtained, and the frequency point matching instruction can comprise frequency point data information needing to be matched by the broadcast test equipment and is used for enabling the frequency points of the test equipment and the current test set top box to be the same, so that the set top box can be ensured to receive a specific test code stream output by the test equipment.
Step S20, after the testing device matches with the set-top box according to the frequency point matching instruction, controlling the set-top box to execute frequency locking operation and controlling the testing device to test the error rate of the set-top box according to configuration parameters so as to determine whether the error rate test is passed;
after receiving the tuner configuration parameters and the frequency point matching instruction, the testing equipment automatically sets the testing function item parameters of the testing equipment to the received tuner configuration parameters, and automatically adjusts the frequency points according to the received frequency point matching instruction so as to enable the frequency points to be matched with the frequency points of the set top box. In the matching process, the terminal can send a frequency point matching instruction to the set top box so as to set the frequency point of the set top box, and the frequency point of the set top box corresponds to the test equipment. Or, after the test equipment completes the automatic adjustment of the frequency point, the frequency point of the set-top box can be correspondingly adjusted through serial port or internet access communication. After the frequency point of the set top box is controlled to be correspondingly matched with the frequency point of the testing equipment by the testing system terminal, the set top box can be controlled to carry out frequency locking operation so as to lock the frequency point, and the testing equipment is controlled to carry out error rate testing on the set top box according to the configuration parameters of the tuner so as to determine whether the error rate testing is passed or not. The bit error rate is an index for measuring the data transmission accuracy of data in a specified time, and is used as an index for measuring whether a video frame output by a set top box has mosaic or not, and the calculation mode of the bit error rate is as follows: the error rate is the number of error codes in transmission/total number of codes transmitted × 100%.
It should be noted that the bit error rate test of the set top box may be automatically performed, and only the bit error rate test result parameter needs to be returned to the terminal, where the returned character string may indicate that the test is passed or not passed, for example, "01" or "true" indicates that the bit error rate test is passed, and "00" or "false" indicates that the bit error rate test is not passed. The test may be passed if the returned bit error rate test result is true, otherwise, no test result is returned, or the returned test result is false, indicating that the test is failed.
And step S30, when the error rate test of the set top box fails, obtaining an error rate test result and a video frame output by the set top box after the frequency locking operation, so as to obtain a video comparison test result according to the output video frame.
After determining that the bit error rate test does not pass, a test system terminal acquires a Video frame output by the set top box after the frequency locking operation, wherein the test system terminal is provided with a Video acquisition card, and the Video acquisition card is connected with the set top box through an HDMI (High Definition Multimedia Interface) line or a CVBS (Composite Video Broadcast Signal) line. The video frame can be obtained through the HDMI line or the CVBS line, the received video frame is compared with a preset standard video frame, whether the video comparison test passes or not is judged according to the comparison result, and therefore the video comparison test result is correspondingly obtained, and the function of the tuner of the set top box is evaluated.
It should be noted that the preset standard video frame is a video frame which is acquired by the test system terminal from a third-party video and a picture library similar to an Opencv library and stored in a specific directory under the same parameter environment as the current set-top box.
The bit error rate test of the embodiment is realized by interaction among the terminal, the test equipment and the set top box, so that the automatic bit error rate test is realized to replace manual test, the labor cost is reduced, the bit error rate test accuracy is improved compared with the manual test, but the bit error rate test is determined to fail because a certain error exists in the bit error rate test, and the mosaic card possibly does not appear in the video originally. Therefore, the embodiment further mainly uses the error rate test and the video comparison test as assistance to realize the automatic function test of the set-top box tuner, and can obtain the function verification result of the set-top box tuner by performing auxiliary judgment through the locked video frame pixels under the condition that the failure result obtained by the error rate test is not necessarily accurate, thereby ensuring the accuracy of the test result, reducing the test quantity of the comparison of the videos in advance, improving the test efficiency and saving the test time.
Further, in other embodiments, the bit error rate test result and the video comparison test result obtained in the automatic test process can be automatically written into a specific data file, and a test report is finally formed together by combining the original tuner configuration parameters, so that manual entry is not required, and the electronization degree is high.
Optionally, the original tuner configuration parameters sent to the set-top box may be prestored in a test report, the tuner configuration parameters may be grouped in advance, a position to be filled is reserved for each group of test results which are not written in, before the tuner configuration parameters are sent to the test equipment, the tuner configuration parameters which need to be tested currently may be directly read from the test report, after the error rate test result and/or the video comparison test result are obtained, the error rate test result may be directly written in the number of rows where the tuner configuration parameters which are tested currently are located, the position is filled in corresponding to the reserved error rate test result, and the video comparison result is written in the position where the tuner configuration parameters which are not written through. According to the scheme, the test report is preset and written in, so that the tester can be helped to quickly browse and export the test report to obtain test data, and the method is simple and convenient.
Further, a second embodiment of the tuner testing method for a set-top box according to the present invention is proposed based on the first embodiment, in the second embodiment, the step S10 includes:
and step S11, selecting a group of tuner configuration parameters from the plurality of groups of tuner configuration parameters according to the sequence, and sending the frequency point matching instruction and the selected tuner configuration parameters to the test equipment.
Referring to fig. 3, the step S20 includes:
step S21, after the testing device is matched with the set-top box according to the frequency point matching instruction, controlling the testing device to carry out error rate testing on the set-top box according to the selected tuner configuration parameters, and judging whether the testing result returned after the set-top box carries out error rate testing is true; if yes, go to step S22; if not, go to step S23;
step S22, determining that the error rate test is passed, and stopping selecting the tuner configuration parameters;
and step S23, continuing to select the next group of tuner configuration parameters until the error rate test result returned by the set-top box is still not true when the last group of tuner configuration parameters is selected, and determining that the error rate test does not pass.
Before the test starts, an error rate limit value (error rate limit values are different among different models of set top boxes) may be set for the set top boxes, for example, the error rate limit value may be 5.0 × 10-6The set-top box can obtain an error rate value after carrying out the automatic error rate test, the set-top box compares the error rate value with a preset error rate extreme value through a self-contained logic operation method, and the error rate extreme value is still 5.0 x 10-6For example, if the ber value is greater than or equal to 5.0 x 10-6The set-top box will generate a "0" signal indicating that the test result is not true, if the bit error rate is less than 5.0 x 10-6If the set-top box is in the error code rate test state, the set-top box generates an electrical signal of '1', the result is true, the electrical signal of '0' or '1' is sent to the test system terminal, and the test system terminal judges whether the error code rate test is passed or not according to the electrical signal.
If the result returned by the current test is true, the selection of the configuration parameters of the high-frequency head is directly stopped, the error rate test is considered to pass, the high-frequency head tests successfully when the function configuration item parameters, and the result of passing the test can be written into a test report. If the result returned by the current test is not true, the tuner is indicated to fail in the test of the functional configuration item, the configuration parameters corresponding to the test fail can be written into a test report, then the next group of tuner configuration parameters is selected according to the preset sequence to carry out the error rate test, and when the last group of tuner configuration parameters are selected and the related configuration items still fail in the test, the current set top box error rate test is considered to fail. The preset sequence may be a sequence from high to low or from low to high according to a certain parameter to be changed and adjusted in the tuner configuration parameters, or randomly selected, which is not described herein again. Alternatively, the parameter that needs to be variably adjusted may be, for example, the output level of the test equipment. By circularly selecting each group of tuner configuration parameters to carry out error rate debugging test, the tuner configuration parameters suitable for the current test set top box can be known, the error rate test is comprehensive, meanwhile, the test time is prevented from being increased by manually inputting various parameters, and the test efficiency is improved.
Further, the selected tuner configuration parameter includes an output level N of the testing device, and the step S23 includes:
step S231, judging whether the output level N of the test equipment in the tuner configuration parameters reaches a preset parameter threshold value; if yes, go to step S232; if not, go to step S233;
step S232, determining that the bit error rate test does not pass;
and step S233, adding M to the output level N of the test equipment by itself to take the updated tuner configuration parameters as the next set of tuner configuration parameters, and returning to continue to control the test equipment to perform the bit error rate test on the set top box according to the selected tuner configuration parameters, wherein M is not 0.
Where M is the adjustment step size of the output level, M may be a number greater than 0 or less than 0, and the preset parameter threshold defines the adjustment range of the output level. For example, if the adjustment range of the output level in the selected multiple sets of tuner configuration parameters is 14.0-19.0, when N starts from 14.0 to perform the error rate test, N is added with M, M may be 0.5 or other values greater than 0 each time the output level is adjusted, the adjusted value is assigned to N after each selection, that is, N is N + M, when N is equal to 19.0, it is determined that the level value has reached the preset threshold value, and then the selection is stopped. Conversely, when N starts from 19 for bit error rate testing, M may be-0.5 or some other value less than 0, and when N equals 15, the selection is stopped. In the embodiment, the dynamic update of the tuner parameters is realized by adjusting the output level of the test equipment, so that the traversal test of the error rate function can be performed through all possible related configuration item parameters, the search of the tuner related configuration item parameters suitable for the current test set top box is facilitated, and the error rate test is comprehensive and efficient.
Further, referring to fig. 4, a third embodiment of the set-top box tuner testing method according to the present invention is proposed based on the first embodiment of the set-top box tuner testing method according to the present invention, in this embodiment, the step S30 includes:
step S31, comparing the output video frame with a preset standard video frame to determine whether the output video frame is matched with the preset standard video frame; if yes, go to step S32; if not, go to step S33;
step S32, the video comparison test result is that the test is passed;
in step S33, the result of the video comparison test is that the test fails.
The preset standard video frame is a standard video frame which is acquired by the test terminal from a third-party video library or a picture library and has the same parameters as the set-top box, and is stored in a specific directory. And comparing the output video frame with the collected preset standard video frame, and judging whether the video comparison is successful or not by taking a preset similarity threshold value as a standard, so as to determine whether the output video of the set top box has mosaic or not through the video comparison and evaluate the tuner function of the set top box. Specifically, the output video frame may be compared with a preset standard video frame to obtain a similarity between the two video frames, and then the similarity of the video frames is compared with a similarity threshold, for example, the preset similarity threshold is 99%, if the similarity of the output video frame compared with the preset standard video frame is greater than 99%, it is determined that the output video of the set top box has no mosaic, and the video comparison test is passed; if the similarity of the output video frame and the preset standard video frame is less than or equal to 99%, judging that the output video of the set top box has mosaic, and failing to pass the video comparison test. The scheme provides an optional test process of video comparison and provides a further accurate test scheme for the function test of the tuner. And by combining the error rate test and the video comparison test, the video comparison test is carried out on the premise that the error rate test fails, and the two test modes are combined, so that the accuracy of the test result can be ensured, and the test efficiency can be improved.
The invention also proposes a computer-readable storage medium on which a computer program is stored. The computer-readable storage medium may be the Memory 10 in the terminal in fig. 1, and may also be at least one of a ROM (Read-Only Memory)/RAM (Random Access Memory), a magnetic disk, and an optical disk, and the computer-readable storage medium includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, a terminal, or a network device) having a processor to execute the method according to the embodiments of the present invention.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or server that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or server. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or service that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A set top box tuner test method is characterized by comprising the following steps:
transmitting tuner configuration parameters and frequency point matching instructions to test equipment;
after the testing equipment is matched with the set top box according to the frequency point matching instruction, controlling the set top box to execute frequency locking operation and controlling the testing equipment to carry out error rate testing on the set top box according to the tuner configuration parameters so as to determine whether the error rate testing is passed or not;
when the set top box error rate test fails, the error rate test result is not necessarily accurate, and the error rate test result and the video frame output by the set top box after the frequency locking operation are obtained, so that the video comparison test result is obtained according to the output video frame.
2. The set-top box tuner testing method of claim 1, wherein the step of sending tuner configuration parameters to the testing device comprises:
selecting a group of tuner configuration parameters from the groups of tuner configuration parameters according to a preset sequence, and sending the selected tuner configuration parameters to the test equipment;
the step of controlling the testing equipment to carry out the error rate test on the set top box according to the tuner configuration parameters so as to determine whether the error rate test is passed or not comprises the following steps:
after sending the selected tuner configuration parameters to the testing equipment, controlling the testing equipment to carry out error rate testing on the set top box according to the selected tuner configuration parameters, and judging whether a test result returned by the set top box after carrying out the error rate testing is true or not;
when the test result returned by the set top box after the error rate test is true, determining that the error rate test is passed, and stopping selecting the tuner configuration parameters;
and when the test result returned by the set top box after the error rate test is not true, continuing to select the next group of tuner configuration parameters until the error rate test result returned by the set top box is still not true when the last group of tuner configuration parameters is selected, and determining that the error rate test does not pass.
3. The set-top box tuner testing method of claim 2, wherein the selected tuner configuration parameter comprises an output level N of the testing device;
when the test result returned by the set-top box after the error rate test is not true, the next group of tuner configuration parameters are continuously selected until the error rate test result returned by the set-top box is still not true when the last group of tuner configuration parameters are selected, and the step of determining that the error rate test does not pass comprises the following steps:
when the test result returned by the set top box after the error rate test is not true, judging whether the output level N of the test equipment in the tuner configuration parameters reaches a preset parameter threshold value or not;
when the output level N of the test equipment reaches a preset parameter threshold, determining that the error rate test does not pass;
and when the output level N of the test equipment does not reach the preset parameter threshold value, adding M to the output level N of the test equipment to take the updated tuner configuration parameters as the next tuner configuration parameters, and returning to continuously control the test equipment to carry out error rate test on the set top box according to the selected tuner configuration parameters, wherein M is not 0.
4. The method for testing the tuner of the set-top box according to claim 2, wherein when the test result returned by the set-top box after the error rate test is true, the error rate of the set-top box during the error rate test is smaller than a preset error rate limit value;
and when the test result returned by the set top box after the error rate test is not true, the error rate of the set top box during the error rate test is greater than or equal to a preset error rate extreme value.
5. The set-top box tuner testing method of claim 1, wherein the step of obtaining the video contrast test result according to the outputted video frame comprises:
performing video comparison on the output video frame and a preset standard video frame to determine whether the output video frame is matched with the preset standard video frame;
if so, the video comparison test result is that the test is passed;
if not, the video comparison test result is that the test fails.
6. The set-top box tuner testing method of claim 5, wherein the step of video-comparing the output video frame with a preset standard video frame to determine whether the output video frame matches the preset standard video frame comprises:
performing video comparison on the output video frame and a preset standard video frame to acquire the similarity of the output video frame and the preset standard video frame;
judging whether the similarity is greater than a preset similarity threshold value or not; when the similarity is greater than a preset similarity threshold, determining that the output video frame is matched with a preset standard video frame; and when the similarity is smaller than or equal to a preset similarity threshold value, determining that the output video frame is not matched with a preset standard video frame.
7. The set-top box tuner testing method according to any one of claims 1 to 6, wherein before the step of sending tuner configuration parameters and frequency point matching instructions to the testing device, the method further comprises:
reading the tuner configuration parameters to be tested from the test report;
after the step of obtaining the bit error rate test result, the method further comprises:
and writing the error rate test result into the test report, wherein the read line number of the tuner configuration parameter is correspondingly located.
8. The set-top box tuner testing method of claim 7, wherein the step of obtaining the video comparison test result further comprises, after the step of obtaining the video comparison test result:
and writing the video comparison test result into a preset test report.
9. A terminal, characterized in that the terminal comprises: a communication module, a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the set-top box tuner testing method according to any one of claims 1 to 8.
10. A computer-readable storage medium, having a computer program stored thereon, which, when executed by a processor, performs the steps of the set-top box tuner testing method according to any one of claims 1 to 8.
CN201811619483.8A 2018-12-27 2018-12-27 Set top box tuner testing method, terminal and storage medium Active CN109672882B (en)

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 CN109672882A (en) 2019-04-23
CN109672882B true 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)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778307B (en) * 2010-02-05 2012-08-08 广东九联科技股份有限公司 Device for testing functions of set top box
CN102065316B (en) * 2010-10-18 2012-06-13 深圳市九洲电器有限公司 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
US20170150140A1 (en) * 2015-11-23 2017-05-25 Rohde & Schwarz Gmbh & Co. Kg Measuring media stream switching based on barcode images

Also Published As

Publication number Publication date
CN109672882A (en) 2019-04-23

Similar Documents

Publication Publication Date Title
US20210160577A1 (en) Method for playing video, electronic device and storage medium
CN108496199A (en) Utilize the tone master manufacturing system of creation intention metadata
CN110031746B (en) Chip test remote monitoring method and device, computer equipment and storage medium
CN105868037A (en) Processing method and system of error information in program operation process
CN106469322B (en) CI PLus certificate method for burn-recording, system and device
CN105142009A (en) Audio-video playing control method and device
CN103002318A (en) Automatic test method and automatic test system of digital television receiving terminal
CN103164247A (en) Method and device for automatically repairing system application
US20160373816A1 (en) Automation testing apparatus
CN109151587A (en) Loading method, device, TV and the readable storage medium storing program for executing of HbbTV application
CN109672882B (en) Set top box tuner testing method, terminal and storage medium
CN106791982B (en) Account management method and device
CN109982091A (en) A kind of processing method and processing device of image
CN111158947A (en) Method for making pre-copy file, server and readable storage medium
CN102065316B (en) Automatic set top box level test device and method
CN105657415B (en) A kind of set-top box automatic testing method and terminal
CN111723236A (en) Video index establishing method, device, equipment and computer readable medium
CN109862352B (en) Video quality testing method, set top box and storage medium
CN102957958B (en) Set-top box upgrading method and set-top box terminal
CN112004079B (en) Television detection system, method and storage medium
CN103974123A (en) Method and device for automatically updating startup picture
US9729331B2 (en) Corrupting a hash value corresponding to a key based on a revocation of the key
CN110162467B (en) Software testing method, device, computer equipment and readable storage medium
US9189633B2 (en) Download management method and device based on android browser
CN108882050B (en) Program arrangement method, system, readable storage medium and terminal equipment

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