US20190200009A1 - Test system and test method for audio-video device - Google Patents
Test system and test method for audio-video device Download PDFInfo
- Publication number
- US20190200009A1 US20190200009A1 US16/232,728 US201816232728A US2019200009A1 US 20190200009 A1 US20190200009 A1 US 20190200009A1 US 201816232728 A US201816232728 A US 201816232728A US 2019200009 A1 US2019200009 A1 US 2019200009A1
- Authority
- US
- United States
- Prior art keywords
- test
- avdut
- processor
- abnormal event
- signals
- 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
Images
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
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/18—Error detection or correction; Testing, e.g. of drop-outs
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N2017/006—Diagnosis, testing or measuring for television systems or their details for television sound
Definitions
- This invention relates to a test system and a test method for an audio-video device, and more particularly to a test system and a test method for an audio-video device with a function of automatically expanding test script.
- Audio-video devices such as televisions, stereos, home cinema devices, etc.
- the manufacturers of audio-video devices mostly have equality control departments or testing departments, which are responsible for various kinds of tests on the manufactured audio-video devices.
- the quality control departments or the testing departments usually perform manual or automation tests according to the pre-defined test scripts.
- test scripts only the contents defined in the test scripts will be performed by testing equipment during the automation tests which may be very different from the actual operations performed by a real human.
- the automation tests may be benefited by the advantages of automation and fast testing speed, user's operations often cannot be simulated realistically in such tests, which cause many extreme abnormal operations cannot be simulated and tested in this way.
- additional test steps other than those defined in the test scripts can be added and performed by a tester who may simulate the actual operations of a normal user, however, the testing operations are often non-repeatable when they are performed by a human. In other words, it is difficult for the tester to repeat the steps of testing operations that he or she has added on multiple audio-video devices.
- the test system for audio-video device comprises an output control circuit, a sensing circuit, a storage medium, and a processor.
- the sensing circuit is adapted to detect sensible conditions of the AVDUT (audio-video device under test).
- the storage medium stores a test script and a verification data set related to the AVDUT, wherein the test script comprises a plurality of test instructions, and each of the test instructions comprises a plurality of test signals.
- the processor connects to the output control circuit, the sensing circuit and the storage medium, wherein the processor generates a test sequence related to the plurality of test instructions and outputs a plurality of control signals to the AVDUT through the output control circuit according to the test sequence, and the processor compares said at least one sensible condition and the verification data to determine whether an abnormal event occurs in the AVDUT.
- the processor sequentially writes at least one of the test signals into the storage medium.
- the processor compares said at least one written test signal and the test signals of one of the test instructions and determines whether to update the test script according to a comparison result.
- a test method for an AVDUT (Audio-Video Device Under Test) by a test system comprising: storing a test script and a verification data set related to the AVDUT, wherein the test script comprises a plurality of test instructions, and each of the test instructions comprises a plurality of test signals; generating a test sequence related to the plurality of test instructions by a processor; outputting a plurality of control signals to the AVDUT through an output control circuit according to the test sequence by the processor, with said plurality of control signals corresponding to the plurality of test instructions; detecting a plurality of sensible conditions of the AVDUT by a sensing circuit; receiving said sensible conditions through the sensing circuit by the processor; and determining whether an abnormal event occurs in the AVDUT according to said sensible conditions and the verification data set by the processor; wherein, when the abnormal event occurs, the processor sequentially writes at least one of the test signals, with said at least one written test signal corresponding to a part of the test sequence right before an occurrence of the abnormal event.
- FIG. 1 is a functional block diagram of the test system for audio-video device according to an embodiment of the present invention
- FIG. 2 is a functional block diagram of the test system for audio-video device according to another embodiment of the present invention.
- FIG. 3 is a flowchart of a test method for an AVDUT by the test system.
- FIG. 1 is a functional block diagram of the test system for audio-video device according to an embodiment of the present invention.
- the test system for audio-video device 1000 according to an embodiment of the present invention comprises jig 1100 , output control circuit 1200 , sensing circuit 1300 , storage medium 1400 and processor 1500 .
- the jig 1100 is configured to fix the AVDUT 2000 .
- the output control circuit 1200 and the sensing circuit 1300 are substantially disposed on the jig 1100 .
- the output control circuit 1200 is thus adjacent to or connected to the AVDUT 2000 practically for transmitting control signals of the test to the AVDUT 2000 , and the sensing circuit 1300 thereby detects one or more sensible conditions generated by the AVDUT 2000 in response to the control signals.
- the appearance or structure of jig 1100 is not limited, that is, it is acceptable as long as the output control circuit 1200 and the sensing circuit 1300 can function normally while the AVDUT 2000 is fixed on the jig 1100 .
- test system for audio-video device 1000 may not comprise the jig 1100 in other embodiments.
- the AVDUT 2000 may be directly placed on other test equipment, such as a test platform or a conveyor belt, and not fixed by the jig 1100 during the test operations.
- the architecture with the jig 1100 according to an embodiment of the present invention is disclosed in the following paragraphs as an example.
- the output control circuit 1200 is coupled to the AVDUT 2000 so as to transmit control signals for test to the AVDUT 2000 .
- the output control circuit 1200 has a GPIO (general purpose input/output) interface 1210 , an IR (infrared ray) output interface 1220 , a network control interface 1230 , an UART (universal asynchronous receiver/transmitter) interface 1240 and a relay control interface 1250 .
- the GPIO interface 1210 may be connected to the GPIO port of the AVDUT 2000 to transmit control signals conforming to a GPIO format to the AVDUT 2000 .
- the output control circuit 1200 may transmit control signals in the form of infrared rays through the IR output interface 1220 to the receiving end of the AVDUT 2000 for test operations.
- the IR output interface 1220 is disposed at an appropriate position of the jig 1100 , so the infrared signal emitted by the IR output interface 1220 is capable to be transmitted to the receiving end of the AVDUT 2000 .
- the network control interface 1230 , the UART interface 1240 and the relay control interface 1250 are also disposed at appropriate position of the jig 1100 , and each of these interfaces transmits control signals for test in corresponding format to the receiving interface of the corresponding format on the AVDUT 2000 .
- the AVDUT 2000 described above is a television or a home cinema device, which may only have an IR receiving interface and an Ethernet interface without any UART receiving interface or relay control receiving interface.
- the user may use an infrared remote control to send the operation signals to the IR receiving interface on the television or the home cinema device, or the user can download the video or related data from the network through the Ethernet interface on the television or the home cinema device.
- the output control circuit 1200 of the test system 1000 may only have an IR output interface 1220 and a network control interface 1230 .
- the test system for audio-video device 1000 in this embodiment focuses on testing the IR signals and network control functions of the AVDUT 2000 , thus more tests related to the IR signals and the network control can be performed in the same time compared to other embodiments.
- the output control circuit 1200 may have at least one of the GPIO interface 1210 , the IR output interface 1220 , the network control interface 1230 , the UART interface 1240 and the relay control interface 1250 optionally, and the present invention is not limited thereto.
- the sensing circuit 1300 is close enough or connects to the AVDUT 2000 through the jig 1100 in order to sense the sensible signals from the AVDUT 2000 .
- the sensing circuit 1300 includes a temperature sensor 1310 , an ambient light sensor 1320 , an image sensor 1330 and an audio sensor 1340 .
- the sensing circuit 1300 has at least an image sensor 1330 and an audio sensor 1340 .
- the sensing circuit 1300 has image sensor 1330 and at least one of other sensors.
- the temperature sensor 1310 has an IR image sensor adapted to extract an infrared image of the AVDUT 2000 , and said infrared image will be analyzed to obtain the temperature distribution of the AVDUT 2000 during the test process.
- the aforementioned infrared image sensor may continuously or periodically sense the infrared image of the AVDUT 2000 , so multiple sets of temperature data from the AVDUT 2000 can be obtained in one test.
- the temperature sensor 1310 is, for example, a single-point infrared temperature sensor, which can accurately obtain the temperature data from a specific part of the AVDUT 2000 .
- the temperature sensor 1310 is, for example, a contact type (thermistor type) temperature sensor, which obtains temperature data of a specific part of the AVDUT 2000 by contacting the specific part of the AVDUT 2000 .
- the ambient light sensor 1320 can capture the ambient light data of the AVDUT 2000 .
- the ambient light sensor 1320 is, for example, a CCD (charge-coupled device) visible light sensor mounted on the jig 1100 for measuring the ambient light intensity of the environment (jig) where the AVDUT 2000 is located.
- CCD charge-coupled device
- the image sensor 1330 can capture an image displayed by the AVDUT 2000 .
- the image sensor 1330 is, for example, a camera unit adapted to capture images from the display screen of the AVDUT 2000 .
- the image picture captured by the image sensor 1330 is a grayscale image.
- the image captured by the image sensor 1330 is a full-color image picture.
- the audio sensor 1340 can capture the audio signal output by the AVDUT 2000 .
- the audio sensor 1340 is, for example, an electronic device having a microphone and an analog-to-digital converter. Since the most important function of the AVDUT 2000 for a general user is to provide visual and auditory contents, the sensing circuit 1300 has at least an image sensor 1330 and an audio sensor 1340 in an embodiment of the present invention in order to perform the tests for video and audio functions.
- the storage medium 1400 stores test scripts and verification data sets.
- the test scripts comprise a plurality of test instructions, and each of the test instructions comprises a plurality of test signals.
- each of the test instructions corresponds to a possible operational behavior of a user.
- the verification data sets comprise, for example, a normal image picture, an abnormal image picture, a normal audio signal, and an abnormal audio signal.
- the processor 1500 is coupled to the output control circuit 1200 , the sensing circuit 1300 , and the storage medium 1400 .
- the processor 1500 can obtain a plurality of test instructions from the storage medium 1400 , generate a test sequence corresponding to the obtained test instructions, and, according to the test sequence, output a plurality of control signals corresponding to the plurality of test instructions to the AVDUT 2000 .
- the AVDUT 2000 generates one or more sensible conditions when receiving the plurality of control signals of the plurality of test instructions.
- the processor 1500 then receives the sensed data from the sensing circuit 1300 , and compares the sensible conditions with the verification data sets in the storage medium 1400 to determine whether an abnormal event occurs in the AVDUT 2000 .
- the processor 1500 determines the abnormal event occurs in the AVDUT 2000 , the processor 1500 sequentially writes at least one of the test signals of the previous tests into the storage medium 1400 , and sets said at least one written test signal in a new test instruction, wherein the at least one written test signal is corresponding to part of the test sequence processed right before the abnormal event occurs.
- the processor 1500 can also write the sensible condition corresponding to the abnormal event into the storage medium 1400 .
- the abnormal event described above could include an abnormal image picture or an abnormal audio signal occurring, where the abnormal image is taken as an example for the determination process.
- the verification data sets of the tests comprise the normal image pictures and the abnormal image pictures.
- the processor 1500 determines that the extracted image picture is abnormal. In contrast, when the displayed image picture extracted by the image sensor 1330 corresponds to a normal image picture or the extracted image picture does not correspond to an abnormal image picture in the verification data sets, the processor 1500 determines that the extracted image picture is normal.
- the determination process of the audio signal extracted by the audio sensor 1340 is substantially similar to determination process of the extracted image picture, which is thus not described further herein.
- a new or undefined test sequence of control signals may be generated by randomly arranging the sequential orders of the test instructions in an embodiment of the present invention in an embodiment of the present invention. Also, in an embodiment of the present invention, after the processor 1500 determines an abnormal event occurs (for example, an abnormal picture or an abnormal audio signal from the AVDUT 2000 ), the processor 1500 records the test sequence and all the currently executed test instructions of the test sequence in the storage medium 1400 .
- an abnormal event for example, an abnormal picture or an abnormal audio signal from the AVDUT 2000
- the abnormal event is usually caused by the last executed control signals, so the processor 1500 records and repeats the last N control signals in a sequential order in the storage medium 1400 , where N is a variable positive integer.
- N is a variable positive integer.
- the processor 1500 first resets the entire test flow and then outputs the 100 th control signal in the test sequence through the output control circuit 1200 to the AVDUT 2000 and determines whether the abnormal event is reproduced. If the abnormal event is reproduced, the processor 1500 determines that the abnormal event is caused by the 100 th control signal.
- the processor 1500 determines that the abnormal event is not only caused by the 100 th control signal. Therefore, the processor 1500 outputs the 99 th control signal and the 100 th control signal, which are the last two control signals, through the output control circuit 1200 to the AVDUT 2000 , and determines whether the abnormal event is reproduced. If the abnormal event is not reproduced, the processor 1500 outputs control signals from the 98 th to the 100 th , which are the last three control signals, through the output control circuit 1200 to the AVDUT 2000 and determines whether the abnormal event is reproduced. The process is repeated until the abnormal event is reproduced and the control signals caused the abnormal event is determined by the processor 1500 . In this way, the set of control signals causing the abnormal event is checked automatically as hard as possible.
- the processor 1500 when a set of control signals is confirmed that will cause an abnormal event on the AVDUT 2000 , the processor 1500 will define the aforementioned set of control signals as a new test instruction and store it in the storage medium 1400 , and this set of control signals is updated or added into the test scripts. Thus, at next time when the AVDUT 2000 or other AVDUT is tested with the updated test script, a verification test step of the abnormal event corresponding to the set of control signals will be performed.
- the processor 1500 determines whether the new test instruction is the same as one of the test instructions in the test scripts. When the new test instruction is different from any of test instructions previously stored in the storage medium 1400 , it means that there is no such new test instruction in this test script. The processor 1500 then updates or adds this new test instruction to the test script. In contrast, when the new test instruction is same as one of test instructions originally stored in the storage medium 1400 , the test script is pre-defined to verify this new test instruction causing the abnormal event. Therefore, it is not necessary to update or add this new test instruction to the test script.
- test scripts need to be updated according to the set of M test signals.
- FIG. 2 is a functional block diagram of the test system for audio-video device according to another embodiment of the present invention.
- the AVDUT 1000 ′ of FIG. 2 further comprises a network connector 1600 compared to AUDUT 1000 in FIG. 1 .
- the network connector 1600 is coupled to the processor 1500 and is configured to communicate with the remote cloud server 3000 through the internet.
- the processor 1500 obtains test scripts from the remote cloud server 3000 and writes the test scripts into the storage medium 1400 .
- the test scripts in the storage medium 1400 are obtained, by the processor 1500 , from remote cloud server 3000 according to the models of the AVDUTs 2000 .
- the processor 1500 further transmits the abnormal event, the sensible conditions related to the abnormal event and the new test instruction related to the abnormal event to the cloud server 3000 through the network connector 1600 . Therefore, the remote cloud server 3000 can analyze the abnormal event, sensible condition and new test instruction to determine the cause of the abnormal event.
- FIG. 3 illustrates a flowchart of a test method for an AVDUT 2000 , which is performed by the test system 1000 illustrated previously.
- step S 0 “Connecting an output control circuit to the AVDUT” for transmitting control signals to the AVDUT 200 via the output control circuit 1200 .
- step S 1 “Storing a test script and a verification data set related to the AVDUT, wherein the test script comprises test instructions”.
- each of the test instructions comprises a plurality of test signals.
- test scripts and verification data sets may be stored in a storage medium 1400 or a remote cloud server 3000 .
- step S 2 “Generating a test sequence related to test instructions”.
- the test sequence is generated by a processor 1500 .
- step S 3 is performed next.
- the processor 1500 outputs a plurality of control signals to the AVDUT 2000 through the output control circuit according to the test sequence, with said plurality of control signals corresponding to the plurality of test instructions, then the sensing circuit 1300 detects the plurality of sensible conditions of the AVDUT 2000 when the AVDUT 2000 operates following the control signals.
- step S 4 “Receiving sensible conditions generated by the AVDUT”.
- the sensible conditions of the AVDUT 2000 in test environment are received by the processor 1500 , and then the processor 1500 determines whether an abnormal event occurs in the AVDUT 2000 according to said sensible conditions and the verification data sets, as shown in step S 5 .
- the processor 1500 compares whether the test signal of previous tests are the same as the test signals of test instructions. If the comparison result is “yes”, the processor 1500 sequentially writes at least one of the test signals to the storage medium 1400 or the remote cloud server 3000 , as shown in step S 7 .
- the flow returns to step S 2 , continuing the next test of AVDUT 2000 .
- the test script is received from a cloud server based on the specification of AVDUT 2000 .
- the test system for audio-video device 1000 also checks whether there is any update version or modification of the test script in during the test procedure. If there is an update version or modification of the test script, the test system for audio-video device 1000 perform the test steps following the updated or modified test script. If there is no update version or modification of the test script, the test system for audio-video device 1000 perform the test steps following the original test script and update or modify the original test script during the test procedure if necessary.
- the cloud server is an analysis platform with machine learning function.
- test system for audio-video device 1000 transmit the test record, the test script, the sensible conditions of the AVDUT 2000 in the test, and other information of the test environment to the analysis platform.
- the analysis platform performs analysis procedure with machine learning algorithm to create update version or modification of the test script, and all test systems for audio-video device 1000 connected to the analysis platform can access the update version or modification of the test script.
- the test system for audio-video device 1000 transmit the test record, the test script, the sensible conditions of the AVDUT 2000 in the test, and other information of the test environment to an analysis platform.
- the analysis platform also performs analysis procedure with machine learning algorithm to determine whether there is an abnormal event occurs in the AVDUT 2000 . If the analysis platform determines there is an abnormal event, the analysis platform, the analysis platform sends commands to the test system for audio-video device 1000 . Following the commands, the processor 1500 sequentially writes at least one of the test signals to the storage medium 1400 or the remote cloud server 3000 , as shown in step S 7 .
- the test system for audio-video device generates a new test sequence with multiple test instructions in the test scripts, wherein one or more new test sequences, which are randomly generated, do not exist in previous test scripts. Moreover, when an abnormal event occurs in the AVDUT during the test, the plurality of control signals that cause the abnormal event are sequentially recorded as a new test instruction, thereby the function of automatically expanding the test scripts is achieved.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
- Testing Or Calibration Of Command Recording Devices (AREA)
Abstract
Description
- This non-provisional application claims priority under 35 U.S.C. § 119(a) on Patent Application No(s). 106145877 filed in Taiwan, R.O.C. on Dec. 27, 2017, the entire contents of which are hereby incorporated by reference.
- This invention relates to a test system and a test method for an audio-video device, and more particularly to a test system and a test method for an audio-video device with a function of automatically expanding test script.
- Audio-video devices, such as televisions, stereos, home cinema devices, etc., are commonly seen in households as home entertainment devices. The manufacturers of audio-video devices mostly have equality control departments or testing departments, which are responsible for various kinds of tests on the manufactured audio-video devices. The quality control departments or the testing departments usually perform manual or automation tests according to the pre-defined test scripts.
- However, only the contents defined in the test scripts will be performed by testing equipment during the automation tests which may be very different from the actual operations performed by a real human. Thus, although the automation tests may be benefited by the advantages of automation and fast testing speed, user's operations often cannot be simulated realistically in such tests, which cause many extreme abnormal operations cannot be simulated and tested in this way. In contrast, when tests are performed manually, additional test steps other than those defined in the test scripts can be added and performed by a tester who may simulate the actual operations of a normal user, however, the testing operations are often non-repeatable when they are performed by a human. In other words, it is difficult for the tester to repeat the steps of testing operations that he or she has added on multiple audio-video devices. In addition, when an abnormality issue is detected in the additional testing steps added by the tester, the tester usually cannot reproduce exactly the same testing steps which cause the abnormality issue. These drawbacks in the testing processes often dramatically slow the product development and debug department of audio-video device manufacturers down during the following processes of finding and solving the issues.
- The test system for audio-video device according to an embodiment of the present invention comprises an output control circuit, a sensing circuit, a storage medium, and a processor. The sensing circuit is adapted to detect sensible conditions of the AVDUT (audio-video device under test). The storage medium stores a test script and a verification data set related to the AVDUT, wherein the test script comprises a plurality of test instructions, and each of the test instructions comprises a plurality of test signals. The processor connects to the output control circuit, the sensing circuit and the storage medium, wherein the processor generates a test sequence related to the plurality of test instructions and outputs a plurality of control signals to the AVDUT through the output control circuit according to the test sequence, and the processor compares said at least one sensible condition and the verification data to determine whether an abnormal event occurs in the AVDUT. When the abnormal event occurs, the processor sequentially writes at least one of the test signals into the storage medium. The processor compares said at least one written test signal and the test signals of one of the test instructions and determines whether to update the test script according to a comparison result.
- A test method for an AVDUT (Audio-Video Device Under Test) by a test system comprising: storing a test script and a verification data set related to the AVDUT, wherein the test script comprises a plurality of test instructions, and each of the test instructions comprises a plurality of test signals; generating a test sequence related to the plurality of test instructions by a processor; outputting a plurality of control signals to the AVDUT through an output control circuit according to the test sequence by the processor, with said plurality of control signals corresponding to the plurality of test instructions; detecting a plurality of sensible conditions of the AVDUT by a sensing circuit; receiving said sensible conditions through the sensing circuit by the processor; and determining whether an abnormal event occurs in the AVDUT according to said sensible conditions and the verification data set by the processor; wherein, when the abnormal event occurs, the processor sequentially writes at least one of the test signals, with said at least one written test signal corresponding to a part of the test sequence right before an occurrence of the abnormal event.
- The present invention will become more fully understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only and thus are not limitative of the present invention and wherein:
-
FIG. 1 is a functional block diagram of the test system for audio-video device according to an embodiment of the present invention; -
FIG. 2 is a functional block diagram of the test system for audio-video device according to another embodiment of the present invention; and -
FIG. 3 is a flowchart of a test method for an AVDUT by the test system. - In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the disclosed embodiments. It will be apparent, however, that one or more embodiments may be practiced without these specific details. In other instances, well-known structures and devices are schematically shown in order to simplify the drawings.
- Please refer to
FIG. 1 which is a functional block diagram of the test system for audio-video device according to an embodiment of the present invention. As shown inFIG. 1 , the test system for audio-video device 1000 according to an embodiment of the present invention comprisesjig 1100,output control circuit 1200,sensing circuit 1300,storage medium 1400 andprocessor 1500. - The
jig 1100 is configured to fix the AVDUT 2000. In an embodiment, theoutput control circuit 1200 and thesensing circuit 1300 are substantially disposed on thejig 1100. Theoutput control circuit 1200 is thus adjacent to or connected to the AVDUT 2000 practically for transmitting control signals of the test to theAVDUT 2000, and thesensing circuit 1300 thereby detects one or more sensible conditions generated by theAVDUT 2000 in response to the control signals. The appearance or structure ofjig 1100 is not limited, that is, it is acceptable as long as theoutput control circuit 1200 and thesensing circuit 1300 can function normally while the AVDUT 2000 is fixed on thejig 1100. In addition, the test system for audio-video device 1000 may not comprise thejig 1100 in other embodiments. For example, the AVDUT 2000 may be directly placed on other test equipment, such as a test platform or a conveyor belt, and not fixed by thejig 1100 during the test operations. However, the architecture with thejig 1100 according to an embodiment of the present invention is disclosed in the following paragraphs as an example. - The
output control circuit 1200 is coupled to the AVDUT 2000 so as to transmit control signals for test to the AVDUT 2000. In an embodiment, theoutput control circuit 1200 has a GPIO (general purpose input/output)interface 1210, an IR (infrared ray)output interface 1220, anetwork control interface 1230, an UART (universal asynchronous receiver/transmitter)interface 1240 and a relay control interface 1250. TheGPIO interface 1210 may be connected to the GPIO port of the AVDUT 2000 to transmit control signals conforming to a GPIO format to the AVDUT 2000. - The
output control circuit 1200 may transmit control signals in the form of infrared rays through theIR output interface 1220 to the receiving end of the AVDUT 2000 for test operations. TheIR output interface 1220 is disposed at an appropriate position of thejig 1100, so the infrared signal emitted by theIR output interface 1220 is capable to be transmitted to the receiving end of theAVDUT 2000. - The
network control interface 1230, theUART interface 1240 and the relay control interface 1250 are also disposed at appropriate position of thejig 1100, and each of these interfaces transmits control signals for test in corresponding format to the receiving interface of the corresponding format on theAVDUT 2000. - In an embodiment of the present invention, the AVDUT 2000 described above is a television or a home cinema device, which may only have an IR receiving interface and an Ethernet interface without any UART receiving interface or relay control receiving interface. The user may use an infrared remote control to send the operation signals to the IR receiving interface on the television or the home cinema device, or the user can download the video or related data from the network through the Ethernet interface on the television or the home cinema device. When such television or the home cinema device is the AVDUT 2000, the
output control circuit 1200 of thetest system 1000 may only have anIR output interface 1220 and anetwork control interface 1230. The test system for audio-video device 1000 in this embodiment focuses on testing the IR signals and network control functions of theAVDUT 2000, thus more tests related to the IR signals and the network control can be performed in the same time compared to other embodiments. In another embodiment of the present invention, theoutput control circuit 1200 may have at least one of theGPIO interface 1210, theIR output interface 1220, thenetwork control interface 1230, theUART interface 1240 and the relay control interface 1250 optionally, and the present invention is not limited thereto. - When the AVDUT 2000 receives the aforementioned control signals for test, one or more sensible signals are generated by the AVDUT 2000 in response to the control signals. The
sensing circuit 1300 is close enough or connects to the AVDUT 2000 through thejig 1100 in order to sense the sensible signals from the AVDUT 2000. In an embodiment, thesensing circuit 1300 includes atemperature sensor 1310, anambient light sensor 1320, an image sensor 1330 and anaudio sensor 1340. In another embodiment, thesensing circuit 1300 has at least an image sensor 1330 and anaudio sensor 1340. In further another embodiment, thesensing circuit 1300 has image sensor 1330 and at least one of other sensors. - In an embodiment, the
temperature sensor 1310 has an IR image sensor adapted to extract an infrared image of the AVDUT 2000, and said infrared image will be analyzed to obtain the temperature distribution of theAVDUT 2000 during the test process. The aforementioned infrared image sensor may continuously or periodically sense the infrared image of the AVDUT 2000, so multiple sets of temperature data from the AVDUT 2000 can be obtained in one test. In another embodiment, thetemperature sensor 1310 is, for example, a single-point infrared temperature sensor, which can accurately obtain the temperature data from a specific part of the AVDUT 2000. In further another embodiment, thetemperature sensor 1310 is, for example, a contact type (thermistor type) temperature sensor, which obtains temperature data of a specific part of the AVDUT 2000 by contacting the specific part of the AVDUT 2000. - The
ambient light sensor 1320 can capture the ambient light data of the AVDUT 2000. Specifically, theambient light sensor 1320 is, for example, a CCD (charge-coupled device) visible light sensor mounted on thejig 1100 for measuring the ambient light intensity of the environment (jig) where theAVDUT 2000 is located. - The image sensor 1330 can capture an image displayed by the
AVDUT 2000. The image sensor 1330 is, for example, a camera unit adapted to capture images from the display screen of theAVDUT 2000. In an embodiment, the image picture captured by the image sensor 1330 is a grayscale image. In another embodiment, the image captured by the image sensor 1330 is a full-color image picture. - The
audio sensor 1340 can capture the audio signal output by theAVDUT 2000. - The
audio sensor 1340 is, for example, an electronic device having a microphone and an analog-to-digital converter. Since the most important function of theAVDUT 2000 for a general user is to provide visual and auditory contents, thesensing circuit 1300 has at least an image sensor 1330 and anaudio sensor 1340 in an embodiment of the present invention in order to perform the tests for video and audio functions. - The
storage medium 1400 stores test scripts and verification data sets. The test scripts comprise a plurality of test instructions, and each of the test instructions comprises a plurality of test signals. For example, each of the test instructions corresponds to a possible operational behavior of a user. The verification data sets comprise, for example, a normal image picture, an abnormal image picture, a normal audio signal, and an abnormal audio signal. - The
processor 1500 is coupled to theoutput control circuit 1200, thesensing circuit 1300, and thestorage medium 1400. Theprocessor 1500 can obtain a plurality of test instructions from thestorage medium 1400, generate a test sequence corresponding to the obtained test instructions, and, according to the test sequence, output a plurality of control signals corresponding to the plurality of test instructions to theAVDUT 2000. TheAVDUT 2000 generates one or more sensible conditions when receiving the plurality of control signals of the plurality of test instructions. Theprocessor 1500 then receives the sensed data from thesensing circuit 1300, and compares the sensible conditions with the verification data sets in thestorage medium 1400 to determine whether an abnormal event occurs in theAVDUT 2000. When theprocessor 1500 determines the abnormal event occurs in theAVDUT 2000, theprocessor 1500 sequentially writes at least one of the test signals of the previous tests into thestorage medium 1400, and sets said at least one written test signal in a new test instruction, wherein the at least one written test signal is corresponding to part of the test sequence processed right before the abnormal event occurs. In addition, theprocessor 1500 can also write the sensible condition corresponding to the abnormal event into thestorage medium 1400. The abnormal event described above could include an abnormal image picture or an abnormal audio signal occurring, where the abnormal image is taken as an example for the determination process. The verification data sets of the tests comprise the normal image pictures and the abnormal image pictures. When the image picture, which is displayed onAVDUT 2000, extracted by the image sensor 1330 does not correspond to a normal image picture or the extracted image picture corresponds to an abnormal image picture in the verification data sets, theprocessor 1500 determines that the extracted image picture is abnormal. In contrast, when the displayed image picture extracted by the image sensor 1330 corresponds to a normal image picture or the extracted image picture does not correspond to an abnormal image picture in the verification data sets, theprocessor 1500 determines that the extracted image picture is normal. The determination process of the audio signal extracted by theaudio sensor 1340 is substantially similar to determination process of the extracted image picture, which is thus not described further herein. - Although the sequential order of the control signals corresponding to each of the test instructions is pre-defined, a new or undefined test sequence of control signals may be generated by randomly arranging the sequential orders of the test instructions in an embodiment of the present invention in an embodiment of the present invention. Also, in an embodiment of the present invention, after the
processor 1500 determines an abnormal event occurs (for example, an abnormal picture or an abnormal audio signal from the AVDUT 2000), theprocessor 1500 records the test sequence and all the currently executed test instructions of the test sequence in thestorage medium 1400. - In an embodiment of the present invention, the abnormal event is usually caused by the last executed control signals, so the
processor 1500 records and repeats the last N control signals in a sequential order in thestorage medium 1400, where N is a variable positive integer. For example, after 100 control signals are output in sequence to theAVDUT 2000 according to the test sequence and theprocessor 1500 determines that theAVDUT 2000 displays an abnormal picture according to the sensible condition and the verification data sets, which is an abnormal event, theprocessor 1500 first resets the entire test flow and then outputs the 100th control signal in the test sequence through theoutput control circuit 1200 to theAVDUT 2000 and determines whether the abnormal event is reproduced. If the abnormal event is reproduced, theprocessor 1500 determines that the abnormal event is caused by the 100th control signal. If the abnormal event is not reproduced, theprocessor 1500 determines that the abnormal event is not only caused by the 100th control signal. Therefore, theprocessor 1500 outputs the 99th control signal and the 100th control signal, which are the last two control signals, through theoutput control circuit 1200 to theAVDUT 2000, and determines whether the abnormal event is reproduced. If the abnormal event is not reproduced, theprocessor 1500 outputs control signals from the 98th to the 100th, which are the last three control signals, through theoutput control circuit 1200 to theAVDUT 2000 and determines whether the abnormal event is reproduced. The process is repeated until the abnormal event is reproduced and the control signals caused the abnormal event is determined by theprocessor 1500. In this way, the set of control signals causing the abnormal event is checked automatically as hard as possible. - In an embodiment of the present invention, when a set of control signals is confirmed that will cause an abnormal event on the
AVDUT 2000, theprocessor 1500 will define the aforementioned set of control signals as a new test instruction and store it in thestorage medium 1400, and this set of control signals is updated or added into the test scripts. Thus, at next time when theAVDUT 2000 or other AVDUT is tested with the updated test script, a verification test step of the abnormal event corresponding to the set of control signals will be performed. - In another embodiment, the
processor 1500 determines whether the new test instruction is the same as one of the test instructions in the test scripts. When the new test instruction is different from any of test instructions previously stored in thestorage medium 1400, it means that there is no such new test instruction in this test script. Theprocessor 1500 then updates or adds this new test instruction to the test script. In contrast, when the new test instruction is same as one of test instructions originally stored in thestorage medium 1400, the test script is pre-defined to verify this new test instruction causing the abnormal event. Therefore, it is not necessary to update or add this new test instruction to the test script. - Specifically, if a set of M test signals in such new test instruction can be found in any of test instructions previously stored in the
storage medium 1400 and the founded set of test signals is identically the same, it means that thestorage medium 1400 has already stored the set of control signals causing the abnormal event and the corresponding test will be performed. In contrast, if the set of M test signals in the new test instruction cannot be found in any of the test instructions previously stored in thestorage medium 1400, which means the set of M test signals does not exist in the previous stored test scripts, the test scripts need to be updated according to the set of M test signals. - Please refer to
FIG. 2 , which is a functional block diagram of the test system for audio-video device according to another embodiment of the present invention. As shown inFIG. 2 , theAVDUT 1000′ ofFIG. 2 further comprises a network connector 1600 compared toAUDUT 1000 inFIG. 1 . The network connector 1600 is coupled to theprocessor 1500 and is configured to communicate with the remote cloud server 3000 through the internet. In this embodiment, theprocessor 1500 obtains test scripts from the remote cloud server 3000 and writes the test scripts into thestorage medium 1400. In other words, the test scripts in thestorage medium 1400 are obtained, by theprocessor 1500, from remote cloud server 3000 according to the models of theAVDUTs 2000. - In another embodiment of
FIG. 2 , theprocessor 1500 further transmits the abnormal event, the sensible conditions related to the abnormal event and the new test instruction related to the abnormal event to the cloud server 3000 through the network connector 1600. Therefore, the remote cloud server 3000 can analyze the abnormal event, sensible condition and new test instruction to determine the cause of the abnormal event. - Please refer to
FIG. 3 , which illustrates a flowchart of a test method for anAVDUT 2000, which is performed by thetest system 1000 illustrated previously. Please refer to step S0, “Connecting an output control circuit to the AVDUT” for transmitting control signals to the AVDUT 200 via theoutput control circuit 1200. Please refer to step S1, “Storing a test script and a verification data set related to the AVDUT, wherein the test script comprises test instructions”. Specifically, each of the test instructions comprises a plurality of test signals. In addition, test scripts and verification data sets may be stored in astorage medium 1400 or a remote cloud server 3000. Please refer to step S2, “Generating a test sequence related to test instructions”. Specifically, the test sequence is generated by aprocessor 1500. After step S1 and S2 are finished, step S3 is performed next. Theprocessor 1500 outputs a plurality of control signals to theAVDUT 2000 through the output control circuit according to the test sequence, with said plurality of control signals corresponding to the plurality of test instructions, then thesensing circuit 1300 detects the plurality of sensible conditions of theAVDUT 2000 when theAVDUT 2000 operates following the control signals. Please refer to step S4, “Receiving sensible conditions generated by the AVDUT”. Specifically, the sensible conditions of theAVDUT 2000 in test environment are received by theprocessor 1500, and then theprocessor 1500 determines whether an abnormal event occurs in theAVDUT 2000 according to said sensible conditions and the verification data sets, as shown in step S5. Please refer to step S6, if an abnormal event does occur, theprocessor 1500 compares whether the test signal of previous tests are the same as the test signals of test instructions. If the comparison result is “yes”, theprocessor 1500 sequentially writes at least one of the test signals to thestorage medium 1400 or the remote cloud server 3000, as shown in step S7. On the other hand, if no abnormal event occurs, or the comparison result in step S6 is “no”, the flow returns to step S2, continuing the next test ofAVDUT 2000. - According to an embodiment of the present invention, in step S1, the test script is received from a cloud server based on the specification of
AVDUT 2000. Beside the test scripts, the test system for audio-video device 1000 also checks whether there is any update version or modification of the test script in during the test procedure. If there is an update version or modification of the test script, the test system for audio-video device 1000 perform the test steps following the updated or modified test script. If there is no update version or modification of the test script, the test system for audio-video device 1000 perform the test steps following the original test script and update or modify the original test script during the test procedure if necessary. In an embodiment of the prevent invention, the cloud server is an analysis platform with machine learning function. If an unexpected abnormal event occurs in step S5, the test system for audio-video device 1000 transmit the test record, the test script, the sensible conditions of theAVDUT 2000 in the test, and other information of the test environment to the analysis platform. The analysis platform performs analysis procedure with machine learning algorithm to create update version or modification of the test script, and all test systems for audio-video device 1000 connected to the analysis platform can access the update version or modification of the test script. - According to an embodiment of the present invention, in step S5, the test system for audio-
video device 1000 transmit the test record, the test script, the sensible conditions of theAVDUT 2000 in the test, and other information of the test environment to an analysis platform. The analysis platform also performs analysis procedure with machine learning algorithm to determine whether there is an abnormal event occurs in theAVDUT 2000. If the analysis platform determines there is an abnormal event, the analysis platform, the analysis platform sends commands to the test system for audio-video device 1000. Following the commands, theprocessor 1500 sequentially writes at least one of the test signals to thestorage medium 1400 or the remote cloud server 3000, as shown in step S7. - In summary, the test system for audio-video device according to an embodiment of the present invention generates a new test sequence with multiple test instructions in the test scripts, wherein one or more new test sequences, which are randomly generated, do not exist in previous test scripts. Moreover, when an abnormal event occurs in the AVDUT during the test, the plurality of control signals that cause the abnormal event are sequentially recorded as a new test instruction, thereby the function of automatically expanding the test scripts is achieved.
Claims (12)
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106145877A TWI644560B (en) | 2017-12-27 | 2017-12-27 | Audio-video device test system |
TW106145877A | 2017-12-27 | ||
TW106145877 | 2017-12-27 |
Publications (2)
Publication Number | Publication Date |
---|---|
US10334242B1 US10334242B1 (en) | 2019-06-25 |
US20190200009A1 true US20190200009A1 (en) | 2019-06-27 |
Family
ID=65431670
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US16/232,728 Active US10334242B1 (en) | 2017-12-27 | 2018-12-26 | Test system and test method for audio-video device |
Country Status (3)
Country | Link |
---|---|
US (1) | US10334242B1 (en) |
CN (1) | CN109686385B (en) |
TW (1) | TWI644560B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112541881A (en) * | 2019-09-05 | 2021-03-23 | 鸿富锦精密电子(郑州)有限公司 | Electronic equipment failure analysis method and system |
CN112822486B (en) * | 2020-12-28 | 2023-09-19 | Tcl王牌电器(惠州)有限公司 | Aging test method, monitoring device and readable storage medium |
CN113009318B (en) * | 2021-02-25 | 2023-07-18 | 宏晶微电子科技股份有限公司 | Testing equipment and testing method for video processing chip |
CN115314427B (en) * | 2022-10-11 | 2023-03-31 | 荣耀终端有限公司 | Protocol testing method, electronic equipment and chip system |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4682246A (en) * | 1982-01-12 | 1987-07-21 | Discovision Associates | Characterizing the information transfer characteristics of a recording medium |
US20050219366A1 (en) * | 2004-03-31 | 2005-10-06 | Hollowbush Richard R | Digital audio-video differential delay and channel analyzer |
CN1979192A (en) * | 2005-12-02 | 2007-06-13 | 纬创资通股份有限公司 | Smart detection system for detecting electronic product and method therefor |
US8078448B1 (en) * | 2008-05-27 | 2011-12-13 | Adobe Systems Incorporated | Systems and methods for automated testing |
CN101556550A (en) * | 2009-05-22 | 2009-10-14 | 北京星网锐捷网络技术有限公司 | Analysis method for automatic test log and device |
CN102314386B (en) * | 2011-09-05 | 2016-06-29 | 百度在线网络技术(北京)有限公司 | A kind of method and apparatus testing mobile terminal |
CN103179429B (en) * | 2011-12-20 | 2015-06-24 | 晨星软件研发(深圳)有限公司 | Test method and device for television system |
CN103294577A (en) * | 2012-03-01 | 2013-09-11 | 英华达(上海)科技有限公司 | Detecting system and method for adjusting sequence of test projects in diagnositc program |
CN104122494A (en) * | 2013-04-27 | 2014-10-29 | 英业达科技有限公司 | A test system and method capable of automatically generating test scripts |
TWI533123B (en) * | 2013-10-03 | 2016-05-11 | 緯創資通股份有限公司 | Method and system for automated test and result comparison |
CN104657246A (en) * | 2013-11-21 | 2015-05-27 | 英业达科技有限公司 | Automatic testing system and method thereof |
CN105120259B (en) * | 2015-08-24 | 2017-12-12 | 深圳Tcl新技术有限公司 | Digital television detection method and device |
CN105306931A (en) * | 2015-11-17 | 2016-02-03 | 小米科技有限责任公司 | Smart TV anomaly detection method and device |
TWI566579B (en) * | 2015-12-04 | 2017-01-11 | 瑞軒科技股份有限公司 | Detecting device for display and detecting method thereof |
-
2017
- 2017-12-27 TW TW106145877A patent/TWI644560B/en active
-
2018
- 2018-12-14 CN CN201811531569.5A patent/CN109686385B/en active Active
- 2018-12-26 US US16/232,728 patent/US10334242B1/en active Active
Also Published As
Publication number | Publication date |
---|---|
US10334242B1 (en) | 2019-06-25 |
TWI644560B (en) | 2018-12-11 |
CN109686385B (en) | 2020-12-04 |
TW201929543A (en) | 2019-07-16 |
CN109686385A (en) | 2019-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10334242B1 (en) | Test system and test method for audio-video device | |
US10432328B2 (en) | Smart box for automatic feature testing of smart phones and other devices | |
JP6898968B2 (en) | Methods and devices for determining response time | |
TWI622877B (en) | System and method for recording and replaying mouse behavior, recording media and program products | |
CN110585702B (en) | Sound and picture synchronous data processing method, device, equipment and medium | |
US20100057405A1 (en) | Automated software testing environment | |
US9709624B2 (en) | Automatic test system and method | |
CN110234005B (en) | Method, device, medium and electronic equipment for evaluating video quality | |
CN109982134B (en) | Video teaching method based on diagnosis equipment, diagnosis equipment and system | |
US20210176157A1 (en) | Automatic test system and device thereof | |
CN108289218B (en) | Audio and video test method and system and audio and video test equipment | |
CN113055624A (en) | Course playback method, server, client and electronic equipment | |
CN111083472A (en) | Television testing method, device, equipment and storage medium | |
CN110581988B (en) | Signal quality detection method and device, electronic equipment and storage medium | |
CN107332914B (en) | Terminal display method and device | |
CN108076351B (en) | Audio and video data encoding method and device and electronic equipment | |
JP2022099341A (en) | Failure analysis assisting program, failure analysis assisting device, failure analysis assisting method and three-dimensional data displaying program | |
US11528473B2 (en) | Automatic test method | |
CN112315463B (en) | Infant hearing test method and device and electronic equipment | |
US20210239737A1 (en) | Annotated decode of oscilloscope signals | |
CN110381308B (en) | System for testing live video processing effect | |
CN115825704B (en) | Method, device, system, equipment and medium for testing projection mainboard | |
CN110471841B (en) | Method, device, medium and electronic equipment for comparing drawing information | |
CN113835995B (en) | Method and device for generating test cases | |
CN116974622A (en) | Version modification record generation method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FEPP | Fee payment procedure |
Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
AS | Assignment |
Owner name: AMTRAN TECHNOLOGY CO.,LTD, TAIWAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:LO, KUO CHIH;TSOU, TUNG HSUN;LIU, CHIN CHENG;REEL/FRAME:047861/0888 Effective date: 20181225 |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 4 |