[0050] It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
[0051] Reference figure 1 , figure 1 It is a schematic flowchart of the first embodiment of the method for automatically testing TV functions of the present invention.
[0052] Methods of automatic testing of TV functions include:
[0053] Step S110, sending an analog remote control instruction to the TV under test;
[0054] Step S120, collecting test parameters output by the TV under test;
[0055] In step S130, the test parameter is compared with the reference parameter of the reference TV, and the result of the function test is determined according to the comparison result.
[0056] In the method for automatic TV function testing provided in this embodiment, when the TV under test needs to be tested, the TV under test is controlled by simulating remote control commands. The remote control commands can be set arbitrarily as needed, that is, the TV under test is simulated Operate the TV under test in these scenes, so as to further complete the automatic test of its function when the TV under test is in different scenes.
[0057] In this embodiment, when performing a functional test on the TV under test, an analog remote control command is sent to the TV under test, and the TV under test is further operated according to the analog remote control command. In this embodiment, the PC terminal can be used to realize the analog operation of the TV in various scenarios, that is, a wireless communication module for sending and receiving analog remote control commands, as well as the power supply and signal for controlling the TV are set in the PC terminal Switch module for input and output functions. After the TV under test is controlled by analog remote control instructions to enter different scenes, the test parameters output by the TV under test are collected in real time by the collecting device for testing it.
[0058] After collecting the test parameters of the TV under test, first use computer technology to identify and analyze the test parameters through software; then, take the reference parameters of the reference TV as the standard, and compare the test parameters after identification and analysis with the reference The parameter comparison is to determine whether the test parameter is consistent with the reference parameter, or whether the difference between the test parameter and the reference parameter is within the preset allowable error range. The reference TV proposed in this embodiment is a TV whose preset functions are all normal, and the test parameters of the TV under test are judged based on the reference parameters to determine whether the function of the TV under test is normal.
[0059] If it is judged that the test parameter is consistent with the reference parameter, or the difference between the test parameter and the reference parameter is within the preset allowable error range, it can be judged that the function of the TV under test is normal; otherwise, it can be judged The TV is not functioning properly.
[0060] In the embodiment of the present invention, the TV under test is operated by sending an analog remote control instruction; during the operation, when the TV under test is in different scenes, the test parameters output by the TV under test are collected in real time; the test parameters are compared with the predetermined standard parameters as reference The reference parameters of the TV are compared, and the result of the function test is further determined according to the comparison result. Using this method can overcome the limitations of testing TV functions and realize automatic testing of TV functions in various scenarios, thereby improving the test efficiency and saving manpower and time.
[0061] On the basis of the foregoing embodiment, the test parameters collected from the TV under test in step S120 are specifically:
[0062] Collect the image parameters and/or sound parameters output by the TV under test.
[0063] Collect the test parameters output by the TV under test, which can specifically include the characteristic parameters such as the image parameters, sound parameters, power consumption parameters and so on of the TV under test; specifically, the image parameters output by the TV under test can be collected through a camera and collected through a microphone. The sound parameters of the TV under test.
[0064] On the basis of the foregoing embodiment, the comparison between the test parameter and the reference parameter of the reference TV in step S130 is specifically:
[0065] Compare the image parameters of the TV under test and the reference TV and/or compare the sound parameters of the TV under test and the reference TV.
[0066] In this embodiment, the test parameters output by the TV under test may include the image parameters, sound parameters, power consumption parameters and other characteristic parameters of the TV under test; similarly, the reference parameters of the reference TV may also include the image parameters and sound parameters of the reference TV. , Power consumption parameters and other characteristic parameters; and comparing the test parameters with the reference parameters of the reference TV, you can compare the image parameters of the tested TV and the reference TV, and/or compare the sound parameters of the tested TV and the reference TV.
[0067] Reference figure 2 , figure 2 It is a schematic flowchart of the second embodiment of the method for automatically testing TV functions of the present invention.
[0068] On the basis of the first embodiment of the method for automatically testing TV functions of the present invention, the method for automatically testing TV functions further includes:
[0069] Step S210, sending an analog remote control instruction to the TV under test;
[0070] Step S220, collecting test parameters output by the TV under test;
[0071] Step S230, sending an analog remote control instruction to the reference TV to operate the reference TV;
[0072] Step S240: Collect reference parameters output by the reference TV; the reference parameters include image parameters and/or sound parameters output by the reference TV.
[0073] In step S250, the test parameter is compared with the reference parameter of the reference TV, and the result of the function test is determined according to the comparison result.
[0074] In this embodiment, when the test parameters of the TV under test are collected and the function of the TV under test is judged according to the test parameters, it is first necessary to obtain the reference parameters of the reference TV. For example, the reference parameters have been stored in advance during the test. It can be directly compared with the measured parameter; and if the reference parameter is not stored in advance during the test, the following method is used to obtain the reference parameter of the reference TV:
[0075] Send an analog remote control instruction to the reference TV, and further operate the reference TV according to the analog remote control instruction to enter different scenes, and then collect the reference parameters output by the reference TV in real time. The collected reference parameters can be used for comparison with the test parameters of the TV under test. When comparing, the test parameters output by the TV under test in the same scene are compared with the reference parameters output by the reference TV. In this embodiment, the image parameters output by the reference TV can also be collected through the camera, and the sound parameters output by the reference TV can be collected through the microphone.
[0076] Before judging the test result of the tested TV function based on the accuracy of the test parameters, obtain the reference TV reference parameters, that is, send an analog remote control command to the reference TV to operate the reference TV; collect the reference TV output reference parameters for comparison with the test parameters . It is convenient to judge the accuracy of the test parameters of the TV under test, thereby providing a better basis for determining the result of the function test of the TV under test.
[0077] Reference image 3 , image 3 It is a schematic flow chart of the third embodiment of the method for automatically testing TV functions of the present invention.
[0078] Based on the first embodiment of the method for automatic testing of TV functions of the present invention, the method for automatic testing of TV functions mainly includes:
[0079] Step S310: Convert the test case of the functional test item into a test script for indicating control instructions, and store the test script; the control instructions include signal instructions for controlling input signals and analog remote control instructions for operating the TV;
[0080] Step S320, according to the signal instruction indicated by the test script, transmit an input signal for controlling the start and operation of the TV under test and the reference TV, and control the start and operation of the TV under test and the reference TV;
[0081] Step S330, call the analog remote control instructions indicated by the test script item by item, and operate the TV under test and the reference TV.
[0082] Step S340, sending an analog remote control instruction to the TV under test;
[0083] Step S350, collecting test parameters output by the tested TV;
[0084] In step S360, the test parameter is compared with the reference parameter of the reference TV, and the result of the function test is determined according to the comparison result.
[0085] In this embodiment, for the functional test items required for the functional test of the TV under test, the corresponding test cases are determined, and the test cases are converted into test scripts. The essence is to write corresponding text formats based on different test cases. Test scripts and store the written test scripts in the database. The test script is used to instruct control instructions for controlling the TV to perform all operations; the control instructions include signal instructions for controlling input signals and analog remote control instructions for operating the TV.
[0086] When it is necessary to perform analog operations on the TV, first, according to the signal instructions indicated by the test script, input signals are transmitted to the TV under test and the reference TV to control the start and operation of the TV. Then, call the simulated remote control instructions indicated by the test script item by item, and operate the TV under test and the reference TV through the simulated remote control instructions indicated by the test script.
[0087] According to the functional test items required for the functional test of the TV under test, determine the corresponding test case, convert the test case into a test script, and store the test script; according to the signal instructions indicated by the test script, send the test to the tested TV and the reference TV Transmit the input signal to control its turn-on and operation, and call the test script item by item, so as to operate the TV under test and the reference TV according to the analog remote control instructions indicated by it. This can better realize the simulation operation of the TV in each scene, so as to overcome the problem of the limitation of testing the function of the TV to a large extent.
[0088] Reference Figure 4 , Figure 4 It is a schematic flow chart of the fourth embodiment of the method for automatically testing TV functions of the present invention.
[0089] On the basis of the first embodiment of the method for automatically testing TV functions of the present invention, the method for automatically testing TV functions further includes:
[0090] Step S410, sending an analog remote control instruction to the TV under test;
[0091] Step S420, collecting test parameters output by the TV under test;
[0092] In step S430, the test parameter is compared with the reference parameter of the reference TV, and the result of the function test is determined according to the comparison result.
[0093] In step S440, the result of the function test is counted, and the result of the function test is displayed.
[0094] In this embodiment, when all the test scripts in the database are called up, the tested TV and reference parameters are operated according to the simulated remote control instructions indicated by the test scripts, and the test parameters of the tested TV and the reference TV are collected. Parameters; compare the test parameters with the reference parameters, judge the accuracy of the test parameters according to the comparison results, and further determine the result of the tested TV function test based on the accuracy of the test parameters, then perform all the function test results Statistics and comprehensive analysis, and then display the results of the final functional test.
[0095] When the test parameters are compared with the reference parameters, the accuracy of the test parameters is judged based on the comparison, and the result of the tested TV function test is determined, and the final function test result is displayed. Makes the operation of automatic test of TV function more clear.
[0096] Reference Figure 5 , Figure 5 It is a schematic diagram of the structure of the first embodiment of the apparatus for automatically testing TV functions of the present invention.
[0097] Devices for automatic testing of TV functions include:
[0098] The first instruction sending module 110 is used to send an analog remote control instruction to the TV under test;
[0099] The first collection module 120 is used to collect test parameters output by the TV under test;
[0100] The comparison module 130 is used to compare the test parameter with the reference parameter of the reference TV, and determine the result of the function test according to the comparison result.
[0101] In the method for automatic TV function testing provided in this embodiment, when the TV under test needs to be tested, the TV under test is controlled by simulating remote control commands. The remote control commands can be set arbitrarily as needed, that is, the TV under test is simulated Operate the TV under test in these scenes, so as to further complete the automatic test of its function when the TV under test is in different scenes.
[0102] In this embodiment, when performing a functional test on the TV under test, the first command sending module 110 sends an analog remote control instruction to the TV under test, and further operates the TV under test according to the analog remote control instruction. In this embodiment, the PC terminal can be used to realize the analog operation of the TV in various scenarios, that is, a wireless communication module for sending and receiving analog remote control commands, as well as the power supply and signal for controlling the TV are set in the PC terminal Switch module for input and output functions. After the TV under test is controlled by analog remote control instructions to enter different scenes, the first acquisition module 120 collects the test parameters output by the TV under test for testing it in real time.
[0103] After collecting the test parameters of the TV under test, first use computer technology to identify and analyze the test parameters through software; then, based on the reference parameters of the reference TV, the comparison module 130 will pass the identification and analysis test The parameter is compared with the reference parameter, that is, whether the test parameter is consistent with the reference parameter, or whether the difference between the test parameter and the reference parameter is within the preset allowable error range. The reference TV proposed in this embodiment is a TV whose preset functions are all normal, and the test parameters of the TV under test are judged based on the reference parameters to determine whether the function of the TV under test is normal.
[0104] If it is judged that the test parameter is consistent with the reference parameter, or the difference between the test parameter and the reference parameter is within the preset allowable error range, it can be judged that the function of the TV under test is normal; otherwise, it can be judged The TV is not functioning properly.
[0105] In the embodiment of the present invention, the TV under test is operated by sending an analog remote control instruction; during the operation, when the TV under test is in different scenes, the test parameters output by the TV under test are collected in real time; the test parameters are compared with the predetermined standard parameters as reference The reference parameters of the TV are compared, and the result of the function test is further determined according to the comparison result. Using this method can overcome the limitations of testing TV functions and realize automatic testing of TV functions in various scenarios, thereby improving the test efficiency and saving manpower and time.
[0106] On the basis of the foregoing embodiment, the first collection module 120 collects the test parameters output by the TV under test specifically as follows:
[0107] Collect the image parameters and/or sound parameters output by the TV under test.
[0108] The first acquisition module 120 collects the test parameters output by the TV under test, which may specifically include the image parameters, sound parameters, power consumption parameters and other characteristic parameters output by the TV under test; specifically, the image parameters output by the TV under test can be collected through a camera. , Through the microphone to collect the sound parameters of the TV under test.
[0109] On the basis of the foregoing embodiment, the comparison module 130 compares the test parameter with the reference parameter of the reference TV specifically as follows:
[0110] Compare the image parameters of the TV under test and the reference TV and/or compare the sound parameters of the TV under test and the reference TV.
[0111] In this embodiment, the test parameters output by the TV under test may include the image parameters, sound parameters, power consumption parameters and other characteristic parameters of the TV under test; similarly, the reference parameters of the reference TV may also include the image parameters and sound parameters of the reference TV. , Power consumption parameters and other characteristic parameters; and the comparison module 130 compares the test parameters with the reference parameters of the reference TV, that is, to compare the image parameters of the tested TV and the reference TV, and/or compare the sound parameters of the tested TV and the reference TV.
[0112] Reference Image 6 , Image 6 It is a schematic structural diagram of the second embodiment of the apparatus for automatic testing of TV functions of the present invention.
[0113] On the basis of the first embodiment of the device for automatically testing TV functions of the present invention, the device further includes:
[0114] The first instruction sending module 210 is used to send an analog remote control instruction to the TV under test;
[0115] The first collection module 220 is used to collect test parameters output by the TV under test;
[0116] The second instruction sending module 230 is configured to send an analog remote control instruction to the reference TV;
[0117] The second collection module 240 is configured to collect reference parameters output by the reference TV; the reference parameters include image parameters and/or sound parameters output by the reference TV;
[0118] The comparison module 250 is used to compare the test parameter with the reference parameter of the reference TV, and determine the result of the function test according to the comparison result.
[0119] In this embodiment, when the test parameters of the TV under test are collected, and the function of the TV under test is judged according to the test parameters, it is first necessary to obtain the reference parameters of the reference TV, for example, the reference parameters have been stored in the reference TV. , It can be directly compared with the measured parameter; and if the reference parameter is not stored in the reference TV, the following method is used to obtain the reference parameter of the reference TV:
[0120] The second command sending module 230 sends an analog remote control command to the reference TV, and further operates the reference TV according to the analog remote control command to enter different scenes, and the second collection module 240 collects the output of the reference TV in real time. Reference parameters. The collected reference parameters can be used for comparison with the test parameters of the TV under test. When comparing, the test parameters output by the TV under test in the same scene are compared with the reference parameters output by the reference TV. In this embodiment, the image parameters output by the reference TV can also be collected through the camera, and the sound parameters output by the reference TV can be collected through the microphone.
[0121] Before judging the test result of the tested TV function based on the accuracy of the test parameters, obtain the reference TV reference parameters, that is, send an analog remote control command to the reference TV to operate the reference TV; collect the reference TV output reference parameters for comparison with the test parameters . It is convenient to judge the accuracy of the test parameters of the TV under test, thereby providing a better basis for determining the result of the function test of the TV under test.
[0122] Reference Figure 7 , Figure 7 It is a schematic structural diagram of the third embodiment of the device for automatic testing of TV functions of the present invention.
[0123] On the basis of the first embodiment of the device for automatically testing TV functions of the present invention, the device further includes:
[0124] The conversion and storage module 310 is used to convert the test cases of functional test items into test scripts for indicating control instructions, and to store the test scripts; the control instructions include signal instructions for controlling input signals and analog remote control for operating the TV instruction;
[0125] The transmission module 320 is used to transmit input signals for controlling the start and operation of the TV under test and the reference TV according to the signal instruction indicated by the test script, and control the start and operation of the TV under test and the reference TV;
[0126] The calling module 330 is used to call the analog remote control instructions indicated by the test script item by item to operate the TV under test and the reference TV.
[0127] The first instruction sending module 340 is used to send an analog remote control instruction to the TV under test;
[0128] The first collection module 350 is used to collect test parameters output by the TV under test;
[0129] The comparison module 360 is used to compare the test parameters with the reference parameters of the reference TV, and determine the result of the function test according to the comparison result;
[0130] In this embodiment, the conversion and storage module 310 determines the corresponding test cases for the functional test items required for the functional test of the TV under test, and converts the test cases into test scripts. The essence is to write different test cases based on different test cases. Corresponding text format test scripts, and store the written test scripts in the database. The test script is used to instruct control instructions for controlling the TV to perform all operations; the control instructions include signal instructions for controlling input signals and analog remote control instructions for operating the TV.
[0131] When it is necessary to perform an analog operation on the TV, first, the transmission module 320 transmits input signals to the TV under test and the reference TV according to the signal instructions indicated by the test script, so as to control the start and operation of the TV. Then, the calling module 330 calls the analog remote control instructions indicated by the test script item by item, and operates the TV under test and the reference TV through the analog remote control instructions indicated by the test script.
[0132] According to the functional test items required for the functional test of the TV under test, determine the corresponding test case, convert the test case into a test script, and store the test script; according to the signal instructions indicated by the test script, send the test to the tested TV and the reference TV Transmit the input signal to control its turn-on and operation, and call the test script item by item, so as to operate the TV under test and the reference TV according to the analog remote control instructions indicated by it. This can better realize the simulation operation of the TV in each scene, so as to overcome the problem of the limitation of testing the function of the TV to a large extent.
[0133] Reference Figure 8 , Figure 8 It is a schematic structural diagram of the fourth embodiment of the device for automatic testing of TV functions of the present invention.
[0134] On the basis of the first embodiment of the device for automatically testing TV functions of the present invention, the device further includes:
[0135] The first instruction sending module 410 is used to send an analog remote control instruction to the TV under test;
[0136] The first collection module 420 is used to collect test parameters output by the TV under test;
[0137] The comparison module 430 is used to compare the test parameters with the reference parameters of the reference TV, and determine the result of the function test according to the comparison result;
[0138] Statistics module 440, statistics function test results;
[0139] The display module 450 is used to display the result of the function test.
[0140] In this embodiment, when all the test scripts in the database are called up, the tested TV and reference parameters are operated according to the simulated remote control instructions indicated by the test scripts, and the test parameters of the tested TV and the reference TV are collected. Parameters; compare the test parameters with the reference parameters, determine the accuracy of the test parameters according to the comparison results, and further determine the result of the tested TV function test based on the accuracy of the test parameters, the statistics module 440 tests all functions Perform statistics and comprehensive analysis on the results, and then display the final functional test results through the display module 450.
[0141] When the test parameters are compared with the reference parameters, the accuracy of the test parameters is judged based on the comparison, and the result of the tested TV function test is determined, and the final function test result is displayed. Makes the operation of automatic test of TV function more clear.
[0142] The above are only the preferred embodiments of the present invention, and do not limit the scope of the present invention. Any equivalent structure or equivalent process transformation made by using the content of the description and drawings of the present invention, or directly or indirectly applied to other related The technical field is similarly included in the scope of patent protection of the present invention.