CN111292522B - Automatic test system and method for infrared receiving of set top box - Google Patents

Automatic test system and method for infrared receiving of set top box Download PDF

Info

Publication number
CN111292522B
CN111292522B CN202010091256.3A CN202010091256A CN111292522B CN 111292522 B CN111292522 B CN 111292522B CN 202010091256 A CN202010091256 A CN 202010091256A CN 111292522 B CN111292522 B CN 111292522B
Authority
CN
China
Prior art keywords
top box
key code
code value
infrared
set top
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
CN202010091256.3A
Other languages
Chinese (zh)
Other versions
CN111292522A (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.)
Hisense Broadband Multimedia Technology Co Ltd
Original Assignee
Hisense Broadband Multimedia 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 Hisense Broadband Multimedia Technology Co Ltd filed Critical Hisense Broadband Multimedia Technology Co Ltd
Priority to CN202010091256.3A priority Critical patent/CN111292522B/en
Publication of CN111292522A publication Critical patent/CN111292522A/en
Application granted granted Critical
Publication of CN111292522B publication Critical patent/CN111292522B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C25/00Arrangements for preventing or correcting errors; Monitoring arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems

Abstract

The application discloses a set-top box infrared receiving automatic test system and a method, wherein the system comprises: the switch is connected with the tested set top box; the host is connected with the switch to receive the test request sent by the tested set top box and display the test result of the tested set top box; the infrared testing equipment is connected with the host and comprises an MCU, a logic chip and a plurality of IR terminals which are correspondingly connected, wherein the MCU is used for controlling the opening of a corresponding output channel of the logic chip so as to output the combined key code value to the IR terminal of the corresponding set top box to be tested through the IR terminal; one end of the infrared emission connecting wire is connected to an IR terminal of the infrared testing equipment, the other end of the infrared emission connecting wire is connected with an infrared emission diode, and the infrared emission diode is close to an IR receiving head of the tested set top box. This application has realized the test of connecting simultaneously with the IR terminal of the IR receiving head of many tested STB through switch, host computer, infrared test equipment and infrared emission connecting wire to efficiency of software testing has been improved greatly.

Description

Automatic test system and method for infrared receiving of set top box
Technical Field
The application relates to the technical field of set top box testing, in particular to an automatic test system and method for infrared receiving of a set top box.
Background
The set-top box is an embedded electronic device which provides comprehensive information services by relying on a television terminal, a user can control the set-top box by using a remote controller on the existing television so as to control digital television programs to be watched, and the set-top box is controlled by the remote controller to perform interactive digital entertainment, education and commercialization activities with a network.
Currently, a set-top box is provided with an infrared receiving head (IR receiving head) and an infrared terminal (IR terminal), and an extension cord is connectable to the IR terminal, and one end of the extension cord is provided with the infrared receiving head. If the IR receiving head of the set-top box is shielded, such as placed at the back of a television or placed in a television cabinet, the set-top box can be connected to the IR terminal of the set-top box through an IR extension connecting wire for receiving the infrared function. In order to ensure the function of the set-top box for receiving infrared, the functions of the IR receiving head and the IR terminal of the set-top box need to be tested, and since the set-top box SOC (System on Chip) receives unmodulated original key code value signals from the IR receiving head and the IR terminal, the conventional testing method tests the IR receiving head and the IR terminal of the set-top box by operating the remote controller to send out infrared signals respectively, so as to determine whether the functions of the IR receiving head and the IR terminal are normal.
However, when the conventional test method is used to test the IR receiving head and the IR terminal, the functions of the IR receiving head and the IR terminal are separately tested twice, which results in low test efficiency, and when a plurality of set-top boxes are tested simultaneously, interference is easily generated, which affects the reliability of the test result.
Disclosure of Invention
The application provides an automatic test system and method for infrared receiving of a set top box, which aim to solve the problems that the test efficiency of an IR receiving head and an IR terminal of the existing set top box is low and the reliability of a plurality of set top boxes is low during testing.
In order to solve the technical problem, the embodiment of the application discloses the following technical scheme:
in a first aspect, an embodiment of the present application discloses an automatic test system for infrared reception of a set top box, including:
the switch is provided with a plurality of network ports and is connected with the tested set top box through the network ports;
the host is provided with a network port and a communication interface and is connected with the switch through the network port so as to receive the test request sent by the tested set top box and display the test result of the tested set top box;
the infrared test equipment is provided with a communication interface and is connected with the host through the communication interface; the infrared testing equipment comprises an MCU, a logic chip and a plurality of IR terminals which are correspondingly connected, wherein the MCU is used for controlling the opening of a corresponding output channel of the logic chip so as to output a combined key code value to the IR terminals of a corresponding set top box to be tested through the IR terminals, and the combined key code value comprises an unmodulated first key code value and a modulated second key code value;
and one end of the infrared emission connecting wire is connected to the IR terminal of the infrared test equipment, the other end of the infrared emission connecting wire is connected with an infrared emission diode, and the infrared emission diode is close to the IR receiving head of the tested set top box.
In a second aspect, an embodiment of the present application further provides an automatic testing method for infrared reception of a set top box, where the automatic testing method for infrared reception of a set top box is based on the first aspect, and the method includes:
configuring an IP address for a tested set top box connected to the switch;
the method comprises the steps that a test request sent by a tested set top box is sent to infrared test equipment by a host, wherein the test request comprises a first key code value and a second key code value;
the infrared testing equipment controls and communicates a logic channel corresponding to the IP address, and sends combined key code values to an IR receiving head and an IR terminal of the tested set top box respectively, wherein the combined key code values comprise unmodulated first key code values and modulated second key code values;
the tested set top box receives and decodes the key code value to obtain a key code value corresponding to the combined key code value;
and the host detects whether the IR receiving head and the IR terminal of the tested set top box are normal or not according to the key code value obtained by decoding the tested set top box, the sent first key code value and the sent second key code value, and displays the test result.
Compared with the prior art, the beneficial effect of this application is:
the set top box infrared receiving automatic test system provided by the application is connected with a plurality of tested set top boxes through the switch, so that a plurality of set top boxes can be tested simultaneously; receiving a test request sent by a tested set top box through a host, and automatically identifying the set top box; the MCU of the infrared test equipment correspondingly processes the key code values according to the test request sent by the tested set top box, combines the key code values to obtain an unmodulated first key code value and a modulated second key code value, and controls a corresponding logic channel to be opened so as to automatically send the combined key code value to the tested set top box without a tester pressing a remote controller to send an infrared signal, so that the test process is not easily interfered, and the test reliability is high; the IR receiving head and the IR terminal of the tested set top box can be simultaneously connected and tested through the infrared transmitting connecting wire, the combined key code value is received and decoded, and the separate test is not needed, so that the test efficiency can be greatly improved; in addition, the host can judge whether the IR receiving head and the IR terminal of the set top box are normal or not according to the key code value decoded by the set top box to be tested and the sent key code value, the test result of the set top box to be tested is automatically displayed, and a tester does not need to compare the judgment result subjectively, so that the reliability of the test result can be improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of an exemplary unmodulated key code value signal;
FIG. 2 is a schematic diagram of an exemplary key code value signal modulated at 37.9 KHz;
FIG. 3 is a block diagram schematic diagram of an exemplary set-top box IR receive head test system;
FIG. 4 is a block diagram schematic of an exemplary set-top box IR terminal testing system;
fig. 5 is a schematic block diagram of an automatic testing system for infrared reception of a set top box according to an embodiment of the present application;
fig. 6 is a flowchart of an automatic testing method for infrared reception of a set top box according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
At present, all be equipped with the IR receiving head in the STB, can receive the instruction signal of remote controller transmission, in operation, infrared remote controller is with original key code signal (as shown in fig. 1), through 37.9KHz signal modulation (as shown in fig. 2), send for infrared signal through infrared emitting diode conversion, after infrared signal was received to the IR receiving head, through processing such as demodulation filtering, restore the code value to the original key code signal that has not modulated, through the decoding of main chip SOC, obtain the code value definition of button.
The set-top box further comprises an IR terminal to which an extension cord is connectable, one end of the extension cord being provided with an infrared receiving head. If the IR receiving head of the set-top box is blocked, for example, the set-top box is placed behind a television or in a television cabinet, the IR receiving head of the set-top box is blocked when receiving infrared rays, at the moment, the set-top box can be connected to an IR terminal of the set-top box through an IR extension line, and the function of receiving infrared rays by the set-top box is realized through the IR extension line and the IR terminal.
In order to ensure the function of the set-top box for receiving infrared, the infrared receiving functions of the IR receiving head and the IR terminal need to be tested, because the SOC of the set-top box receives unmodulated original key code value signals from the IR receiving head and the IR terminal, if the sources cannot be distinguished by the simultaneous test, the traditional test method must be divided into two steps for testing.
The method comprises the following steps: the system block diagram for testing the IR receiver head of a set-top box is shown in FIG. 3, where the IR terminal is not connected to an extension line. The tester presses a remote controller KEY, such as KEY1, the set-top box IR receiving head receives a modulated KEY code value signal, the modulated KEY code value signal is sent to the set-top box SOC after demodulation processing, the KEY description KEY1 is obtained after SOC decoding, the KEY description KEY1 is displayed on a Television (TV) through a video interface, and whether the infrared receiving function of the IR receiving head is normal or not is judged through KEY1 displayed on the TV.
Step two: the system block diagram of the testing set top box IR terminal is shown in FIG. 4, at this time, the IR terminal is connected with an infrared extension line, an IR receiving head of the set top box prevents the set top box from receiving infrared signals through shielding measures, it is ensured that a remote controller KEY1 signal is received through the IR terminal, the set top box IR terminal receives a modulated KEY code value signal, the modulated KEY code value signal is sent to the SOC of the set top box after demodulation processing, a KEY description KEY1 is obtained after SOC decoding, the KEY description KEY is displayed on a TV through a video interface, and whether the infrared receiving function of the IR terminal is normal is judged through KEY1 displayed.
However, this conventional test method has the following disadvantages:
1. by operating the remote controller to send out the infrared signal, the receiving of the set-top box is easily interfered, thereby influencing the result judgment, for example, when a plurality of set-top boxes are tested simultaneously.
2. The testing of the IR receiver head and IR terminals of the set-top box is performed twice separately, which is inefficient.
3. The tester carries out subjective judgment on the test result through television display, and a plurality of set top boxes need to be displayed in a plurality of ways, so that the tester is difficult to test the plurality of set top boxes simultaneously.
In order to solve the above problems, an embodiment of the present application provides an automatic testing system for infrared reception of a set top box, which can automatically identify the set top box, automatically send a remote control code value, automatically process and feed back a result, and does not require a tester to press a remote controller or a tester to subjectively compare, and an IR receiving head and an IR terminal can be simultaneously connected for testing, so that the testing process is not easily interfered, the efficiency is high, and the result reliability is high.
As shown in fig. 5, the automatic testing system for infrared reception of a set-top box provided by the embodiment of the present application includes a switch U1, a host U2, an infrared testing device U3 and an infrared transmitting connecting line U4, wherein,
the switch U1 has a plurality of net gapes (such as net gape 1, net gape 2, … net gape N), and the STB 1 that is surveyed is connected to the switch through net gape 1 on, and the STB 2 that is surveyed is connected to the switch through net gape 2 on, etc. can realize the connection test of many STB. After the set-top box is connected to the switch U1, the switch U1 configures an IP address for the connected internet access, and the tested set-top box is identified through the IP address.
If the IP address obtaining mode of the set-top box is automatic DHCP (Dynamic Host Configuration Protocol), the switch U1 sets the address of the network port 1 as a fixed IP address through Configuration: the IP address1 indicates that the address of the other port n of the switch U1 is also a fixed IP address n. If the IP address of the set-top box is a fixed IP that is built in advance, the IP addresses of the multiple set-top boxes are all the same, and in this case, the switch U1 is required to be a switch with a VLAN (Virtual Local Area Network) function, and configures a Virtual IP address1 for port 1, and also configures a Virtual IP address n for port n.
The host U2 has a network port, and the network port of the host U2 is connected with the network port of the switch U1, so that the connection between the host U2 and the switch U1 can be realized. In this example, switch U1 and the set-top box may be connected via a LAN port, host U2 and switch U1 may be connected via a WAN port, and host U2 and switch U1 may also be connected via a LAN port, as long as the set-top box, switch U1 and host U2 are in the same network.
The host U2 is provided with test tool software, and the interface of the test tool software can display the conditions of a plurality of tested set-top boxes. Through connecting the network ports of the set-top boxes, the host U2 can identify a plurality of set-top boxes such as the set-top box 1 to be tested, the set-top box 2 to be tested and the like, and receive a test request of the set-top box to be tested, wherein the test request comprises a first KEY code value KEY1 and a second KEY code value KEY2, so that the set-top boxes are automatically identified. In the application, the KEY code values in the test request may be the fixed first KEY code value KEY1 and the fixed second KEY code value KEY2, or different KEY code values may be selected according to actual conditions.
The host U2 also has a communication interface (such as a serial RS232 interface), the infrared test device U3 also has a communication interface (such as an RS232 interface), the host U2 is connected with the infrared test device U3 through the communication interface RS232, and the host U2 can send a command for testing the set-top box to the infrared test device U3 through the communication interface RS 2332.
The infrared test equipment U3 comprises an MCU, a logic chip and a plurality of IR terminals, a communication interface RS232 is arranged in the MCU, an IR output port and a plurality of I/O ports (such as I/O1, I/O2, … I/O N and the like) are further arranged in the MCU, after the MCU receives a command of testing the set top box through the RS232 interface, the MCU does not modulate a first KEY code value KEY1, modulates a second KEY code value KEY2 (such as 37.9KHz modulation), and obtains a combined KEY code value, wherein the combined KEY code value comprises an unmodulated first KEY code value KEY1 and a modulated second KEY code value KEY2, and the combined KEY code value can be output outwards through the IR output port of the MCU.
The I/O port in the MCU corresponds to the network port of the switch U1, and if the tested set-top box is accessed to the network port 1 of the switch U1, the corresponding logic channel of the logic chip is controlled to be opened through the I/O1; similarly, if the tested set-top box accesses the network port 2 of the switch U1, the response logic channel of the logic chip is opened through the I/O2 control.
The logic chip in the MCU comprises a plurality of logic channels, the logic channels correspond to the I/O ports one by one, for example, the I/O1 port is connected with an enabling end OE1 of the logic channel 1, and the switch of the logic channel 1 is controlled through the I/O1 port; the I/O2 port is connected with an OE2 of the logic channel 2, and the switch of the logic channel 2 is controlled through the I/O2 port; similarly, the port I/O N is connected to the OEN enable terminal of the logic channel N, and the switch of the logic channel N is controlled through the port I/O N.
The enabling ends OE of the logic channels are connected with the I/O ports IN a one-to-one corresponding mode, the input ends IN of the logic channels are connected to the IR output ports, the output ends OUT of the logic channels are connected with the IR terminals of the infrared testing equipment U3 IN a one-to-one corresponding mode, the enabling ends OE of the corresponding logic channels are controlled to be opened by the I/O ports, namely the logic channels are opened, the code values of the combination keys IN the MCU can enter through the input ends IN of the logic channels and are transmitted to the corresponding IR terminals through the output ends OUT of the logic channels, and the enabling ends OE of the rest logic channels are controlled to be closed through the rest I/O ports, namely the code values of the combination keys cannot be output by.
The IR terminal of the infrared test equipment U3 is connected with the IR terminal of the corresponding set top box under test to send the combined key code value into the IR terminal of the set top box under test. The IR terminal of the tested set top box sends the received combined KEY code value to the SOC of the tested set top box, and the SOC can only process the first KEY code value KEY1 which is not modulated in the combined KEY code value, obtains a first KEY code value KEY1 'after SOC decoding, and then sends the decoded first KEY code value KEY 1' to the host U2 through the network port of the tested set top box and the switch U1.
The host U2 comprises a host display area, the host U2 can compare the decoded first KEY code value KEY1 'with the sent first KEY code value KEY1, if the decoded first KEY code value KEY 1' is the same as the sent first KEY code value KEY1, the IR terminal of the tested set top box is normal, and the IR terminal PASS of the tested set top box is displayed in the host display area; if the decoded first KEY code value KEY 1' is different from the sent first KEY code value KEY1, it indicates that the IR terminal of the tested set-top box is abnormal, and the IR terminal FAIL of the tested set-top box is displayed in the host display area.
The method comprises the steps of connecting an IR terminal of an infrared testing device U3 to an IR terminal of a corresponding set top box to be tested, connecting one end of an infrared emission connecting wire U4 to the same IR terminal of the infrared testing device U3, connecting an infrared emission diode at the other end of the infrared emission connecting wire U4, placing the infrared emission diode in front of an IR receiving head of the set top box to be tested in a short distance, and sending a combined key code value to the IR receiving head of the set top box to be tested through the infrared emission diode.
The IR receiving head of the tested set top box can only receive the modulated second KEY code value KEY2 in the combined KEY code value, the IR receiving head demodulates the modulated second KEY code value KEY2, then sends the demodulated second KEY code value KEY2 to SOC for decoding, and the SOC decodes the second KEY code value KEY2 ' to obtain a second KEY code value KEY 3538 ', and then sends the decoded second KEY code value KEY2 ' to the host U2 through the network port of the tested set top box and the switch U1.
After the host U2 receives the decoded second KEY code value KEY2 ', comparing the decoded second KEY code value KEY2 ' with the sent second KEY code value KEY2, if the decoded second KEY code value KEY2 ' is the same as the sent second KEY code value KEY2, indicating that the IR receiving head of the tested set top box is normal, and displaying the IR receiving head PASS of the tested set top box in a host display area; if the decoded second KEY code value KEY 2' is different from the sent second KEY code value KEY2, it indicates that the IR receiving head of the tested set-top box is abnormal, and the IR receiving head FAIL of the tested set-top box is displayed in the host display area.
The set top box infrared receiving automatic test system provided by the application can realize simultaneous test of a plurality of set top boxes through the switch U1, so that the test efficiency is improved; the set top box can be automatically identified through the host, a test request sent by the set top box to be tested is received, and the test request is sent to the infrared test equipment; the method comprises the steps that a combined key code value is generated through an MCU of an infrared testing device, and a corresponding logic channel is controlled to be opened, so that the key code value is automatically sent to a set top box to be tested, and a tester does not need to press a remote controller; the IR receiving head and the IR terminal of the tested set top box are simultaneously connected and tested through the infrared transmitting connecting wire, and the testing is not required to be carried out twice, so that the testing efficiency is greatly improved; the judgment result is automatically processed and fed back through the host, a tester does not need to carry out subjective comparison, the result is objective, and the test reliability is greatly improved.
Based on the set-top box infrared receiving automatic test system in the embodiment, the embodiment of the application also provides a set-top box infrared receiving automatic test method.
As shown in fig. 6, the set top box infrared automatic testing method provided in the embodiment of the present application includes:
s100: the tested set-top box connected to the exchange is configured with an IP address.
The network ports of the switch U1 can be connected with a plurality of set top boxes to be tested, and after the set top boxes are connected to the corresponding network ports of the switch U1, IP addresses are configured for the network ports of the switch U1 so as to distinguish the set top boxes connected to the switch U1. When configuring an IP address for the network port of the switch U1, it may be determined whether the IP address acquisition mode of the tested set-top box is DHCP automatic acquisition, and if the IP address acquisition mode of the tested set-top box is DHCP automatic acquisition, different fixed IP addresses are configured for different network ports of the switch U1, for example, the address of the network port 1 of the switch U1 is set as a fixed IP address: the addresses of the other ports n of the IP addresses 1 and U1 are also fixed IP addresses n.
Or judging whether the IP address of the tested set-top box is a pre-built fixed IP, if the IP address of the tested set-top box is the pre-built fixed IP, configuring different virtual IP addresses for different ports of the switch U1, for example, using a switch with a VLAN function, setting the port 1 address of the switch U1 as a virtual IP address: IP address1, similarly, sets the network port n address of the switch U1 as a virtual IP address: IP address n.
S200: the host sends a test request sent by the tested set top box to the infrared test equipment, wherein the test request comprises a first key code value and a second key code value.
Taking the set top box 1 as an example for explanation, the set top box 1 is connected to the switch U1 through the internet access 1, the switch U1 is connected to the host U2 through the internet access, and the set top box 1 sends a test request to the host U2, where the test request includes a first KEY code value KEY1 and a second KEY code value KEY 2; the host U2 then sends a command for testing the set top box to the infrared test device U3 through the communication interface, wherein the command comprises a first KEY code value KEY1 and a second KEY code value KEY 2.
S300: the infrared testing equipment controls and communicates a logic channel corresponding to the IP address, and sends combined key code values to an IR receiving head and an IR terminal of the set top box to be tested respectively, wherein the combined key code values comprise unmodulated first key code values and modulated second key code values.
After receiving a command for testing the set top box through the communication interface, the MCU of the infrared testing device U3 unmodulates the first KEY code value KEY1, and modulates the second KEY code value KEY2 by 37.9KHz to generate a combined KEY code value (unmodulated first KEY code value KEY1 and modulated second KEY code value KEY 2); then, a plurality of logic channel input ends IN of the logic chip are all connected to an IR output port of the MCU, the combined key code value is output to each logic channel of the logic chip through the IR output port of the MCU, and a plurality of logic channel output ends OUT of the logic chip are respectively connected with IR terminals of the infrared test equipment U3 IN a one-to-one correspondence mode, at the moment, each logic channel is closed, and the combined key code value cannot be transmitted through the logic channel; and then, connecting the I/O1 port corresponding to the network port 1 connected with the switch U1 to the enable end OE1 of the corresponding logic channel, controlling the logic channel 1 to be opened through the I/O1 port, and communicating the IR output port with the IR terminal 1, so that the combined key code value in the MCU is transmitted to the set top box 1 through the opened logic channel 1.
When the enable port OE1 of the logic channel 1 is opened through the I/O1 port, the enable ports OE2 OEN of the logic channels 2-N need to be controlled to be closed through the I/O2 port-I/O N port, and other logic channels need to be closed, so that the OUT 2-OUTN of the logic channels cannot output the combined key code value.
S400: and the tested set top box receives and decodes the key code value to obtain the key code value corresponding to the combined key code value.
The IR terminal of the set top box 1 is connected to the IR terminal 1 of the infrared test equipment U3, so that the IR terminal of the set top box 1 receives the combined KEY code value, then the IR terminal of the set top box 1 sends the combined KEY code value to the SOC of the set top box 1, the SOC can only process the unmodulated first KEY code value KEY1 in the combined KEY code value, the SOC decodes the combined KEY code value to obtain a first KEY code value KEY1 ', and then the decoded first KEY code value KEY 1' is sent to the host U2 through the network port of the set top box 1 and the switch U1.
The IR terminal 1 of the infrared test device U3 is connected to the IR terminal of the set-top box 1, one end of an infrared emission connecting line U4 is connected to the IR terminal 1 of the infrared test device U3, the other end of the infrared emission connecting line U4 is connected with an infrared emission diode 1, the infrared emission diode 1 is placed in front of the IR receiving head of the set-top box 1 in a short distance, and the combined key code value is transmitted through the IR receiving head of the set-top box 1 of the infrared emission diode 1.
The IR receiving head of the set top box 1 can only receive the modulated second KEY code value KEY2 in the combined KEY code value, the IR receiving head demodulates the modulated second KEY code value KEY2, then sends the demodulated second KEY code value KEY2 to the SOC for decoding, and the SOC decodes the demodulated second KEY code value KEY2 ' to obtain a second KEY code value KEY2 ', and then sends the decoded second KEY code value KEY2 ' to the host U2 through the internet access of the set top box 1 and the switch U1.
S500: and the host detects whether the IR receiving head and the IR terminal of the tested set top box are normal or not according to the key code value obtained by decoding the tested set top box, the sent first key code value and the sent second key code value, and displays the test result.
After the host U2 receives the decoded first KEY code value KEY1 'and the decoded second KEY code value KEY 2', comparing the decoded first KEY code value KEY1 'with the sent first KEY code value KEY1, if the decoded first KEY code value KEY 1' is the same as the sent first KEY code value KEY1, indicating that the IR terminal of the tested set top box is normal, and displaying the PASS of the tested set top box in a host display area; if the decoded first KEY code value KEY 1' is different from the sent first KEY code value KEY1, it indicates that the IR terminal of the tested set-top box is abnormal, and the IR terminal FAIL of the tested set-top box is displayed in the host display area.
Similarly, the host U2 compares the decoded second KEY code value KEY2 'with the sent second KEY code value KEY2, and if the decoded second KEY code value KEY 2' is the same as the sent second KEY code value KEY2, it indicates that the IR receiving head of the tested set top box is normal, and displays the IR receiving head PASS of the tested set top box in the host display area; if the decoded second KEY code value KEY 2' is different from the sent second KEY code value KEY2, it indicates that the IR receiving head of the tested set-top box is abnormal, and the IR receiving head FAIL of the tested set-top box is displayed in the host display area.
In the automatic test method for infrared receiving of the set top box, the host is connected with the switch through the internet access, and a plurality of internet accesses of the switch can be connected with a plurality of set top boxes, so that simultaneous test of the plurality of set top boxes is realized; the host is connected with the network port of the set top box through the switch, can identify whether a plurality of set top boxes are ready or not, and receives the test request of the set top boxes, thereby realizing automatic identification of the set top boxes; the test request of the set top box received by the host comprises the key code value, so that the key code value is automatically sent without a tester pressing a remote controller, and thus, the plurality of set top boxes are not easily interfered when receiving the key code value, and the result reliability is high; the host sends a set top box test command to the infrared test equipment, an MCU of the infrared test equipment generates combined key code values (unmodulated first key code values and modulated second key code values), and then the MCU controls to open a corresponding logic channel through an I/O port, so that the combined key code values are simultaneously sent to an IR receiving head and an IR terminal of the set top box to be tested through the logic channel, the simultaneous connection test of the IR receiving head and the IR terminal is realized, and the test efficiency is greatly improved; the host automatically processes the key code values received and output by the IR receiving head and the IR terminal, judges whether the IR receiving head and the IR terminal are normal according to whether the two are the same or not, displays the key code values on a display screen of the host, does not need subjective comparison of testers, has objective test results and higher reliability, and supports the butt joint with other systems, such as test result record report and the like.
The set top box infrared receiving automatic test system and the method provided by the embodiment of the application are not limited to the test of the functions of the IR receiving head and the IR terminal of the set top box, and are also suitable for other terminal equipment with the infrared receiving function.
It should be noted that, in the present specification, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a circuit structure, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such circuit structure, article, or apparatus. Without further limitation, the presence of an element identified by the phrase "comprising an … …" does not exclude the presence of other like elements in a circuit structure, article or device comprising the element.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
The above-described embodiments of the present application do not limit the scope of the present application.

Claims (10)

1. An automatic test system for infrared receiving of a set top box is characterized by comprising:
the switch is provided with a plurality of first network ports and is connected with the tested set top box through the first network ports;
the host is provided with a second network port and a first communication interface and is connected with the switch through the second network port so as to receive the test request sent by the tested set top box and display the test result of the tested set top box;
the infrared test equipment is provided with a second communication interface and is connected with the host through the second communication interface; the infrared testing equipment comprises an MCU, a logic chip and a plurality of IR terminals which are correspondingly connected, wherein the MCU is used for controlling the opening of a corresponding output channel of the logic chip so as to output a combined key code value to the IR terminals of a corresponding set top box to be tested through the IR terminals, and the combined key code value comprises an unmodulated first key code value and a modulated second key code value;
and one end of the infrared emission connecting wire is connected to the IR terminal of the infrared test equipment, the other end of the infrared emission connecting wire is connected with an infrared emission diode, and the infrared emission diode is close to the IR receiving head of the tested set top box.
2. The set-top box infrared receiving automatic test system of claim 1, characterized IN that the MCU comprises an IR output port and a plurality of I/O ports, the logic chip comprises a plurality of logic channels, and input terminals IN of the plurality of logic channels are all connected to the IR output port; the I/O ports are correspondingly connected with the enabling ends OE of the logic channels one by one so as to control the opening of the logic channels; and the output end OUT of the logic channel is connected with the IR terminals of the infrared test equipment in a one-to-one correspondence manner.
3. The system for automatically testing infrared reception of a set-top box according to claim 1, wherein the host comprises a host display area for displaying whether the IR terminal of the set-top box under test is normal according to the key code value decoded by the set-top box under test and the first key code value, and for displaying whether the IR receiving head of the set-top box under test is normal according to the key code value decoded by the set-top box under test and the second key code value.
4. The set-top box infrared receiving automatic test system of claim 1, characterized in that a plurality of network ports of the switch are respectively configured with corresponding IP addresses to distinguish connected set-top boxes under test.
5. An automatic test method for infrared reception of a set top box, which is based on the automatic test system for infrared reception of a set top box of any one of claims 1 to 4, and is characterized in that the method comprises the following steps:
configuring an IP address for a tested set top box connected to the switch;
the method comprises the steps that a test request sent by a tested set top box is sent to infrared test equipment by a host, wherein the test request comprises a first key code value and a second key code value;
the infrared testing equipment controls and communicates a logic channel corresponding to the IP address, and sends combined key code values to an IR receiving head and an IR terminal of the tested set top box respectively, wherein the combined key code values comprise unmodulated first key code values and modulated second key code values;
the tested set top box receives and decodes the key code value to obtain a key code value corresponding to the combined key code value;
and the host detects whether the IR receiving head and the IR terminal of the tested set top box are normal or not according to the key code value obtained by decoding the tested set top box, the sent first key code value and the sent second key code value, and displays the test result.
6. The set-top box infrared reception automatic test method of claim 5, wherein configuring an IP address for a set-top box under test that is connected to a switch comprises:
judging whether the IP address acquisition mode of the tested set top box is DHCP automatic acquisition or not;
and if the IP address acquisition mode of the tested set top box is DHCP automatic acquisition, configuring different fixed IP addresses for different network ports of the switch respectively.
7. The set-top box infrared reception automatic test method of claim 5, wherein configuring an IP address for a set-top box under test that is connected to a switch comprises:
judging whether the IP address of the tested set top box is a pre-built fixed IP or not;
and if the IP address of the tested set top box is a pre-built fixed IP, configuring different virtual IP addresses for different network ports of the switch respectively.
8. The set-top box infrared receiving automatic test method of claim 5, wherein the infrared test equipment controls and communicates a logical channel corresponding to the IP address, comprising:
the MCU of the infrared test equipment controls the opening of a corresponding logic channel through an I/O port corresponding to the network port connected with the switch;
and the IR output port of the MCU is communicated with the IR terminal of the infrared test equipment through the logic channel so as to output the combined key code value.
9. The set-top box infrared receiving automatic test method of claim 5, wherein the set-top box under test receives and decodes the key code value corresponding to the combined key code value, comprising:
the IR receiving head of the tested set top box receives the modulated second key code value, demodulates the second key code value and sends the demodulated second key code value to the SOC for decoding to obtain a decoded second key code value;
and the IR terminal of the tested set top box receives the unmodulated first key code value and sends the unmodulated first key code value to the SOC for decoding to obtain the decoded first key code value.
10. The set-top box infrared receiving automatic test method of claim 9, wherein the host detects whether the IR receiving head and the IR terminal of the set-top box under test are normal according to the key code value decoded by the set-top box under test and the sent first key code value and the second key code value, and the method comprises:
the host judges whether the decoded first key code value is the same as the sent first key code value;
if the decoded first key code value is different from the sent first key code value, displaying that the IR terminal of the tested set top box fails to test;
if the decoded first key code value is the same as the sent first key code value, displaying that the IP terminal of the tested set top box passes the test;
the host judges whether the decoded second key code value is the same as the sent second key code value;
if the decoded second key code value is different from the sent second key code value, displaying that the test of the IR receiving head of the tested set top box is not passed;
and if the decoded second key code value is the same as the sent second key code value, displaying that the test of the IR receiving head of the tested set top box is passed.
CN202010091256.3A 2020-02-13 2020-02-13 Automatic test system and method for infrared receiving of set top box Active CN111292522B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010091256.3A CN111292522B (en) 2020-02-13 2020-02-13 Automatic test system and method for infrared receiving of set top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010091256.3A CN111292522B (en) 2020-02-13 2020-02-13 Automatic test system and method for infrared receiving of set top box

Publications (2)

Publication Number Publication Date
CN111292522A CN111292522A (en) 2020-06-16
CN111292522B true CN111292522B (en) 2021-06-18

Family

ID=71029976

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010091256.3A Active CN111292522B (en) 2020-02-13 2020-02-13 Automatic test system and method for infrared receiving of set top box

Country Status (1)

Country Link
CN (1) CN111292522B (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4308441A1 (en) * 1993-03-17 1994-09-22 Thomson Brandt Gmbh Remote control method and apparatus
CN103501450B (en) * 2013-09-26 2017-12-15 深圳市九洲电器有限公司 A kind of connection method of set top box and IR head
CN104835309B (en) * 2015-02-03 2018-05-08 东莞新爱荣机械自动化设备有限公司 A kind of automatic analytical capabilities test device of the more IR codes of integration
US9491454B1 (en) * 2015-09-25 2016-11-08 Contec, Llc Set top boxes under test
US10779056B2 (en) * 2016-04-14 2020-09-15 Contec, Llc Automated network-based test system for set top box devices
CN107454390A (en) * 2017-09-28 2017-12-08 惠州市骏亚数字技术有限公司 A kind of set top box system test tool and its method of testing
CN108259953A (en) * 2018-03-06 2018-07-06 深圳康佳信息网络有限公司 Interface multiplexing circuit, method for multiplexing interface and the set-top box of set-top box
CN209118487U (en) * 2018-11-26 2019-07-16 云南云上云大数据产业发展有限公司 A kind of infrared signal of extra long distance extends and wireless relay device

Also Published As

Publication number Publication date
CN111292522A (en) 2020-06-16

Similar Documents

Publication Publication Date Title
CN100440924C (en) Digital cable TV receiver, diagnosis method for the same, and data structure of HDMI status report
KR101121778B1 (en) Method and AV device for controlling peripheral device through wireless medium
US7178157B1 (en) Information transmission system, information output apparatus, information input apparatus, and connection relationship identification method
TW393857B (en) Cable television data path error analyzer
CN100414978C (en) Data structure and signaling method for emergency alert message and digital TV receiver
CA2809201C (en) A testing apparatus and method
CN104427501B (en) Method for network access, device and system
US20110077751A1 (en) Systems and methods for controlling appliances via a network
CN107205239A (en) A kind of method and detection device for detecting wireless network connection
CN105681877A (en) Set-top box, television, platform, remote controller and method and apparatus for establishing connection
CN106535187A (en) Smart home equipment access method and system based on wireless router terminal
TW200304290A (en) Method and apparatus for monitoring TV channel selecting status
CN102984581A (en) System and detection method for set-top box
CN108055182B (en) Open type intelligent home system
CN109104380A (en) Method for transmitting information to identify network camera and improve transmission quality
US5915206A (en) Procedure for the detection of SCART type connections in a home systems network
CN101958998A (en) Image data transmission system
CN111601121A (en) Equipment connection method and system in wireless video transmission system
CN111292522B (en) Automatic test system and method for infrared receiving of set top box
JPH0728292B2 (en) Method and device arrangement for establishing a signal path between at least two devices
EP1110384B1 (en) A method for automatically determining the configuration of a multi-input video processing apparatus
CN108809937B (en) Management and control system and method
CN107911695A (en) Infrared remote control test method, information transformation device and computer-readable recording medium
CN110087113A (en) A kind of method and system of wireless burning television characteristics information
CN105657415B (en) A kind of set-top box automatic testing method and terminal

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