CN107886705B - Infrared remote control test method and system - Google Patents
Infrared remote control test method and system Download PDFInfo
- Publication number
- CN107886705B CN107886705B CN201711461522.1A CN201711461522A CN107886705B CN 107886705 B CN107886705 B CN 107886705B CN 201711461522 A CN201711461522 A CN 201711461522A CN 107886705 B CN107886705 B CN 107886705B
- Authority
- CN
- China
- Prior art keywords
- infrared
- intelligent terminal
- test
- signal
- infrared signal
- 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
Links
- 238000010998 test method Methods 0.000 title claims abstract description 13
- 238000012360 testing method Methods 0.000 claims abstract description 213
- 230000002950 deficient Effects 0.000 abstract description 12
- 238000000034 method Methods 0.000 abstract description 4
- 230000005540 biological transmission Effects 0.000 description 4
- 230000007547 defect Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000007689 inspection Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C23/00—Non-electrical signal transmission systems, e.g. optical systems
- G08C23/04—Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C25/00—Arrangements for preventing or correcting errors; Monitoring arrangements
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention discloses an infrared remote control test method, which comprises a first-stage test, wherein the first-stage test comprises the following specific steps: the testing device sets the first intelligent terminal as an infrared receiving module and the second intelligent terminal as an infrared transmitting module through a control instruction, and enables the second intelligent terminal to transmit infrared signals; the infrared signal is reflected to the first intelligent terminal through the infrared reflector; and the first intelligent terminal receives the infrared signal transmitted by the second intelligent terminal, compares the infrared signal with the preset code and returns a test result. The invention also discloses an infrared remote control test system using the method. By the method and the system, the problem that an infrared transmitting and receiving test module of a third party needs to be purchased to test the intelligent terminal to be tested in the prior art can be solved, extra cost is saved, the condition of missing test and misjudgment caused by manual judgment is avoided, partial low-power defective products can be effectively intercepted, and the test environment is closer to the use scene of a user.
Description
Technical Field
The invention belongs to the technical field of automatic testing, and particularly relates to an infrared remote control testing method and system.
Background
In various applications of the intelligent terminal, the infrared remote control function of the intelligent terminal can control all infrared household appliances in a home, so that the intelligent terminal is more and more favored by consumers. The related infrared remote control device of the intelligent terminal mainly comprises corresponding infrared control circuits, infrared receiving transmitters, reflectors and other small parts, so that in the production process of the intelligent terminal, the infrared performance of the intelligent terminal is poor due to factors such as poor SMT (Surface Mount Technology) Surface Mount Technology (SMT) mounting or poor assembly, and the like, and therefore the test of the infrared remote control function is more and more emphasized.
At present, manufacturers generally add an infrared transmitting and receiving module on a jig, and after an intelligent terminal transmits an infrared signal, whether an indicator lamp of the infrared receiving module is on determines whether the infrared remote control function of the intelligent terminal is normal. However, this test method has the following major disadvantages: firstly, an infrared receiving test module of a third party needs to be purchased, and extra cost is increased; secondly, part of detection is in a manual judgment mode, the mode efficiency is low, and the condition of misjudgment is easy to occur; thirdly, the general use distance of infrared remote control is about 3-7 meters, and the production line test can not be very good to simulate the use environment. Therefore, only qualitative tests can be performed, defective products with small power cannot be screened out, and in practical application, the defects that user experience is not good are overcome.
Disclosure of Invention
In order to overcome the defects and shortcomings in the prior art, the application aims to provide an infrared remote control testing method and system, and aims to solve the problem that in the prior art, an infrared remote control testing method and device cannot be provided for a mobile terminal, so that the detection result is artificially missed, and part of low-power defective products flow into the market.
In one aspect, the invention provides an infrared remote control test method, which comprises a first-stage test, wherein the first-stage test specifically comprises the following steps: the testing device controls the first intelligent terminal through a first control instruction so as to set the first intelligent terminal as an infrared receiving module, and controls the second intelligent terminal through a second control instruction so as to set the second intelligent terminal as an infrared transmitting module and enable the second intelligent terminal to transmit an infrared signal with preset codes; infrared signals transmitted by the second intelligent terminal are reflected to the first intelligent terminal through the first infrared reflecting mirror and/or the second infrared reflecting mirror; after receiving the infrared signal transmitted by the second intelligent terminal, the first intelligent terminal decodes the infrared signal to obtain decoding information, and compares the decoding information with a preset code to obtain a first test result; the testing device sends a first inquiry instruction to inquire a first testing result of the first intelligent terminal and receives the first testing result returned by the first intelligent terminal.
Further, when the first test result is that the test is passed, a second stage test is performed, and the second stage test specifically includes the steps of: the testing device sends a first switching instruction for switching the infrared transmitting module into the infrared receiving module to the second intelligent terminal, sends a second switching instruction for switching the infrared receiving module into the infrared transmitting module to the first intelligent terminal, and enables the first intelligent terminal to transmit an infrared signal with preset codes; infrared signals transmitted by the first intelligent terminal are reflected to the second intelligent terminal through the second infrared reflector and/or the first infrared reflector; after receiving the infrared signal transmitted by the first intelligent terminal, the second intelligent terminal decodes the infrared signal to obtain decoding information, compares the decoding information with a preset code to obtain a second test result, and waits for the second test result to be uploaded to the device; the testing device sends a second inquiry instruction to inquire a second testing result of the second intelligent terminal and receives a second testing result returned by the second intelligent terminal.
On the other hand, the invention also provides an infrared remote control test system which comprises an infrared reflecting mirror, a first intelligent terminal, a second intelligent terminal and a test device; the testing device is used for controlling the first intelligent terminal through a first control instruction so as to set the first intelligent terminal as an infrared receiving module, and controlling the second intelligent terminal through a second control instruction so as to set the second intelligent terminal as an infrared transmitting module; the second intelligent terminal is used for transmitting an infrared signal with a preset code; the infrared reflecting mirror comprises a first infrared reflecting mirror and/or a second infrared reflecting mirror and is used for reflecting the infrared signal emitted by the second intelligent terminal to the first intelligent terminal; the first intelligent terminal is used for decoding the infrared signal to obtain decoding information after receiving the infrared signal transmitted by the second intelligent terminal, comparing the decoding information with a preset code to obtain a first test result, and sending the first test result to the test device when receiving a first inquiry instruction inquiry sent by the test device.
Further, the infrared reflecting mirror includes a first infrared reflecting mirror and a second infrared reflecting mirror; the first infrared reflecting mirror and the infrared signal emitted by the second intelligent terminal form an included angle of 45 degrees and are used for reflecting the infrared signal emitted by the second intelligent terminal to the second infrared reflecting mirror; the second infrared reflecting mirror and the infrared signal reflected by the first infrared reflecting mirror form an included angle of 45 degrees and are used for reflecting the infrared information reflected by the first infrared reflecting mirror to the first intelligent terminal.
The invention has the beneficial effects that: firstly, the first intelligent terminal and the second intelligent terminal use the infrared receiving module and the infrared transmitting module which are arranged in the first intelligent terminal and the second intelligent terminal to overcome the defect that the prior art needs to purchase an infrared transmitting and receiving test module of a third party to test the intelligent terminal to be tested, so that the additional cost is saved; secondly, the testing device sends instructions to the first intelligent terminal and the second intelligent terminal to complete the testing, so that the condition of missing testing and misjudgment caused by manual testing is avoided; and thirdly, the reflection direction of the infrared signal can be changed by setting the infrared reflector, transmission paths with different lengths are simulated, partial low-power defective products can be effectively intercepted, and the test environment can be closer to the use scene of a user.
Drawings
FIG. 1 is a schematic flow chart of an infrared remote control testing method according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a method for infrared remote testing according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an infrared remote control test system in a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and specific embodiments, and it should be understood that the described embodiments are only a few, but not all, of the embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the terminal of the present invention, belong to the scope of protection of the present invention.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
[ first embodiment ]
Referring to fig. 1, fig. 1 is a schematic flow chart of an infrared remote control testing method according to an embodiment of the present invention. The infrared remote control test method comprises the following steps:
and S101, controlling the first intelligent terminal by the testing device through a first control instruction so as to set the first intelligent terminal as an infrared receiving module, controlling the second intelligent terminal through a second control instruction so as to set the second intelligent terminal as an infrared transmitting module, and enabling the second intelligent terminal to transmit an infrared signal with preset codes.
Specifically, when the test is started, the two test ends are set, and the test device controls the first intelligent terminal and the second intelligent terminal respectively through the first control instruction and the second control instruction and sets the first intelligent terminal and the second intelligent terminal as the infrared receiving module and the infrared transmitting module respectively. In the intelligent terminal, the intelligent terminal comprises an infrared receiving module and an infrared transmitting module, and the infrared port corresponding to the intelligent terminal is opened only through an instruction.
In an embodiment, the first control instruction and the second control instruction may be, but not limited to, ADB (android debug bridge) instructions, and the ADB instructions are for an intelligent terminal of an android system, where the ADB instructions can perform some customized operations on the intelligent terminal, for example, tests of infrared control functions used here, and also tests of some camera related functions and audio related functions can be completed through the ADB instructions. The control command mentioned in this embodiment is preferably an ADB command, but may be other commands, such as a meta command of Mediatek.
In an embodiment, the infrared signal of the preset code may be a fixed binary code, for example, 01010001001, where the preset code is preset in the first intelligent terminal and the second intelligent terminal, so as to facilitate comparison between signals sent and received by the second intelligent terminal and the first intelligent terminal, so as to obtain a test result accurately. In other embodiments, the predetermined encoded infrared information may be determined according to a predetermined instruction input by a user or predetermined information transmitted by other devices, such as a testing device.
And S102, reflecting the infrared signal emitted by the second intelligent terminal to the first intelligent terminal through the first infrared reflecting mirror and/or the second infrared reflecting mirror.
Specifically, the infrared signal that second intelligent terminal launches passes through infrared reflector reflection to first intelligent terminal, and the infrared signal that the infrared emission module of second intelligent terminal launches finally reachs first intelligent terminal's infrared receiving module through the reflection of infrared reflector, can effectual increase test distance through the reflection efficiency of infrared reflector and the current route of infrared light, finds out the defective products that power is littleer.
In one embodiment, since the optimal infrared test distance is 3-7 meters, it is optimal to select two infrared mirrors when selecting the infrared mirror, i.e., the infrared signal emitted by the second intelligent terminal is reflected by the first infrared mirror and the second infrared mirror to the first intelligent terminal.
In one embodiment, the infrared signal emitted by the second intelligent terminal can be sent at least twice, so that the test result is prevented from being influenced by some unknown factors in the test environment.
Step S103, after the first intelligent terminal receives the infrared signal transmitted by the second intelligent terminal, the first intelligent terminal decodes the infrared signal to obtain decoding information, and the decoding information is compared with a preset code to obtain a first test result.
Specifically, the infrared receiving module of the first intelligent terminal receives the infrared signal transmitted by the infrared transmitting module of the second intelligent terminal, and then the first intelligent terminal decodes the infrared signal and obtains decoded information.
In one embodiment, the first intelligent terminal compares the decoding information with preset coding information, the preset coding information is a section of template signal and is stored in the intelligent terminal to be tested, and when the first intelligent terminal receives the infrared signal, the first intelligent terminal compares the signal with the signal stored in the intelligent terminal to be tested to obtain a first test result. If the first intelligent terminal is used as an infrared emission module to emit signals, the fixed codes stored in the intelligent terminal to be tested are emitted.
In one embodiment, the first test result may include, but is not limited to, three cases including a test pass, a test fail, and no signal received.
Further, the first test result is: the infrared signal is received by the first intelligent terminal and decoded correctly; or the test fails, wherein the test failure means that the first intelligent terminal receives the infrared signal but the decoding is incorrect; or the infrared signal is not received, wherein the non-received signal means that the infrared signal is not received by the first intelligent terminal.
Step S104, the testing device sends a first inquiry instruction to inquire a first testing result of the first intelligent terminal and receives the first testing result returned by the first intelligent terminal.
In an embodiment, the first intelligent terminal or the second intelligent terminal may be a golden machine, and the golden machine is an intelligent terminal with normal infrared emission function and normal infrared receiving function. Therefore, the infrared transmitting function or the infrared receiving function of the intelligent terminal is tested independently, and the worry that the infrared transmitting function of the second intelligent terminal or the infrared receiving function of the first terminal cannot be determined immediately when the test result is that the test fails is avoided.
In the embodiment of the invention, the state of the intelligent terminal is controlled through the control instruction, such as the ADB control instruction, the infrared emission or infrared receiving function of the intelligent terminal is detected, the test result is automatically judged, manual inspection is not needed, and the condition of missing inspection is greatly reduced. And the intelligent terminal in the first-stage test can be tested, the first intelligent terminal and the second intelligent terminal use the infrared receiving module and the infrared transmitting module which are arranged in the first-stage test to overcome the defect that the infrared transmitting and receiving test module of a third party needs to be purchased to test the intelligent terminal to be tested in the prior art, and extra cost is saved. The test device sends instructions to the first intelligent terminal and the second intelligent terminal to complete the test, so that the condition of missing test and misjudgment caused by manual test is avoided, and the test efficiency is improved. The infrared signal is transmitted on the infrared reflector, the reflection direction of the infrared signal can be changed, transmission paths with different lengths are simulated, partial low-power defective products can be effectively intercepted, and the test environment can be closer to the use scene of a user.
[ second embodiment ]
Referring to fig. 2, fig. 2 is a schematic flow chart of an infrared remote control testing method according to an embodiment of the present invention.
In this embodiment, on the basis of the first embodiment, when the first test result is that the test passes, the following second-stage test is performed, and the provided second-stage test method includes:
step S201, the testing device sends a first switching instruction for switching the infrared transmitting module into the infrared receiving module to the second intelligent terminal, sends a second switching instruction for switching the infrared receiving module into the infrared transmitting module to the first intelligent terminal, and enables the first intelligent terminal to transmit the infrared signal with the preset code.
Specifically, because first intelligent terminal and second intelligent terminal all have infrared receiving module and infrared emission module, also need use infrared receiving module and infrared emission module when using intelligent terminal, so infrared emission module and infrared receiving module all need test, when first test phase test passes, then explain that first intelligent terminal's infrared receiving module and second intelligent terminal's infrared emission module function is normal, the port that will need the test at this moment switches, carry out more omnidirectional test to intelligent terminal.
In an embodiment, the first switch instruction and the second switch instruction are ADB instructions, and the ADB instructions are not described herein again since they are already described in the first embodiment.
In an embodiment, the infrared signal of the preset code may be a fixed binary code, as described in the first embodiment with respect to the preset code.
Step S202, the infrared signal emitted by the first intelligent terminal is reflected to the second intelligent terminal through the second infrared reflecting mirror and/or the first infrared reflecting mirror.
Specifically, the infrared signal that first intelligent terminal launches passes through infrared reflector and finally reflects to second intelligent terminal, and the infrared signal that first intelligent terminal's infrared emission module launched finally reaches second intelligent terminal's infrared receiving module through the reflection of infrared reflector, and the current route through the reflection efficiency of infrared reflector and infrared light can effectual increase test distance, finds out the defective products that power is littleer.
In one embodiment, since the optimal infrared test distance is 3-7 meters, it is optimal to select two infrared mirrors when selecting the infrared mirror, i.e., the infrared signal emitted by the first intelligent terminal is reflected by the first infrared mirror and the second infrared mirror to the second intelligent terminal.
In one embodiment, the infrared signal emitted by the first intelligent terminal may be transmitted at least twice to prevent the test environment from having some unknown factors affecting the test result, so the emitted infrared signal needs to be emitted at least twice, but the optimal number of times is 3 for the consideration of the detection efficiency.
Step S203, after receiving the infrared signal transmitted by the first intelligent terminal, the second intelligent terminal decodes the infrared signal to obtain decoding information, and compares the decoding information with a preset code to obtain a second test result.
Specifically, the infrared receiving module of the second intelligent terminal receives the infrared signal transmitted by the infrared transmitting module of the first intelligent terminal, and then the second intelligent terminal decodes the infrared signal and obtains decoded information. The second intelligent terminal compares the decoding information with preset coding information, the preset coding signal is a section of template signal and is stored in the intelligent terminal to be tested, and when the intelligent terminal receives the infrared signal, the second intelligent terminal compares the signal with the signal stored in the intelligent terminal to be tested to obtain a second test result. If the intelligent terminal is used as an infrared emission module to send signals, the fixed code stored in the intelligent terminal to be tested is emitted. The second test result mainly includes three conditions of test passing, test failing and no signal receiving. And the second intelligent terminal waits for a second inquiry command sent by the testing device, and uploads a second testing result to the testing device after receiving the second inquiry command.
In one embodiment, the second test result may include, but is not limited to, three cases including a test pass, a test fail, and no signal received.
Further, the second test result is: the infrared signal is received by the second intelligent terminal and decoded correctly; or the test fails, wherein the test failure means that the second intelligent terminal receives the infrared signal but the decoding is incorrect; or the infrared signal is not received, and the non-received signal means that the infrared signal is not received by the second intelligent terminal.
Step S204, the testing device sends a second inquiry instruction to inquire a second testing result of the second intelligent terminal and receives a second testing result returned by the second intelligent terminal.
Specifically, the testing device sends a second inquiry instruction to inquire the testing result of the second intelligent terminal, and receives a second testing result returned by the second intelligent terminal.
Step S205, in the case that the second test result returned in the second stage test is a test failure or no signal is received, respectively testing the first intelligent terminal or/and the second intelligent terminal and a preset golden machine, where the golden machine is an intelligent terminal in which both the infrared transmitting module and the infrared receiving module are normal.
Specifically, under the condition that a second test result returned in the second stage test is test failure or no signal is received, the first intelligent terminal or/and the second intelligent terminal and a preset golden machine are/is respectively tested, and the golden machine is an intelligent terminal with a normal infrared transmitting module and a normal infrared receiving module.
Further, since the number of times of the infrared signal transmitted by the infrared transmitting module is at least two, for example, the optimal number of times of transmission is three, the second test result is that the test fails or the signal is not received includes the following cases: firstly, no infrared signal is received for three times or the test results for three times are all test failures; secondly, the test fails or no signal is received twice; thirdly, only one of the tests fails or no signal is received. When the second test result shows the three conditions, the test with the golden machine is needed, because the test has passed the first stage, at least one infrared transmitting module or infrared receiving module of the intelligent terminal is normal, and the test with the golden machine only needs to test the other infrared module.
In the embodiment of the invention, the other infrared function of the intelligent terminal is tested on the basis of the first embodiment. After the second stage of testing is completed, when the second testing results are all the conditions that the testing is passed, it indicates that both the two intelligent terminals are intelligent terminals with normal infrared functions. And when the test fails or the signal is not received, respectively testing the intelligent terminal with a preset golden machine to obtain the fault problem of the tested intelligent terminal. By the method in the embodiment, on the basis of the beneficial effects of the first embodiment, when the two intelligent terminals to be tested are both used, the infrared transmitting module and the infrared receiving module of the intelligent terminal and the decoding function of the intelligent terminal can be tested simultaneously, and the test items are covered more comprehensively.
[ third embodiment ]
Referring to fig. 3, fig. 3 shows an infrared remote control testing system provided by a fifth embodiment of the present invention, and for convenience of illustration, only the parts related to the embodiment of the present invention are shown, wherein the infrared mirror, the first intelligent terminal 2, the second intelligent terminal 3 and the testing device 4 are included.
The testing device 4 is used for controlling the first intelligent terminal 2 through the first control instruction so as to set the first intelligent terminal 2 into an infrared receiving module, and controlling the second intelligent terminal 3 through the second control instruction so as to set the second intelligent terminal 3 into an infrared transmitting module.
The second intelligent terminal 3 is used for transmitting the infrared signal with the preset code.
The infrared mirror 1 includes a first infrared mirror 11 and/or a second infrared mirror 12 for reflecting an infrared signal emitted by the second smart terminal 3 to the first smart terminal 2.
The first intelligent terminal 2 is configured to decode the infrared signal to obtain decoded information after receiving the infrared signal transmitted by the second intelligent terminal 3, compare the decoded information with a preset code to obtain a first test result, and send the first test result to the testing device 4 when receiving a first inquiry instruction inquiry sent by the testing device 4.
Specifically, the first intelligent terminal 3 and the second intelligent terminal 4 may be a mobile phone, a tablet computer, a remote controller, etc. having an infrared transmitting and receiving function, the infrared reflecting mirror includes a first infrared reflecting mirror 11 and/or a second infrared reflecting mirror 12, the first intelligent terminal 2 and the second intelligent terminal 3 include an infrared transmitting module and an infrared receiving module, the infrared transmitting module is used for transmitting infrared signals, and the infrared receiving module is used for receiving infrared signals transmitted by the infrared transmitting module; the first intelligent terminal 2 is positioned at a position where the infrared transmitting module or the infrared receiving module is arranged at a certain angle with the infrared reflecting mirror, and the second intelligent terminal 3 is positioned at a position where the infrared transmitting module or the infrared receiving module is arranged at a certain angle with the infrared reflecting mirror; the first intelligent terminal 2 is connected with the second intelligent terminal 3 through transmitting and receiving infrared signals, and the infrared signals are transmitted between the infrared reflecting mirrors after being transmitted by the infrared transmitting module and finally transmitted to the infrared receiving module;
further, the infrared reflecting mirror includes a first infrared reflecting mirror 11 and a second infrared reflecting mirror 12, the first infrared reflecting mirror 11 and the second infrared reflecting mirror 12 are disposed at an angle to the smart terminal, the angle may be within 180 degrees of the infrared emitting module and the infrared receiving module of the first smart terminal 2 and the second smart terminal 3 relative to the first infrared reflecting mirror 11 and the second infrared reflecting mirror 12, and it is possible as long as the infrared ports of the first smart terminal 2 and the second smart terminal 3 can emit signals to the reflecting mirrors.
Furthermore, the first infrared reflecting mirror 11 forms an included angle of 45 ° with the infrared signal emitted by the second intelligent terminal 3, and is used for reflecting the infrared signal emitted by the second intelligent terminal 3 to the second infrared reflecting mirror 12; the second infrared reflecting mirror 12 forms an included angle of 45 degrees with the infrared signal reflected by the first infrared reflecting mirror 11, and is used for reflecting the infrared information reflected by the first infrared reflecting mirror 11 to the first intelligent terminal 2.
In this embodiment, through this system for the test environment is closer to user's use scene, through the setting of infrared mirror, can simulate the transmission path of different length, can effectively intercept the fractional power defective products, and can intercept the low power defective products that can not intercept because of emitter performance is bad or assemble not in place among the current test system, judges more effectively whether the intelligent terminal of two awaiting measuring is the defective products.
In the above embodiments, the infrared remote control testing method of the present invention is flexible, and can be used for testing one intelligent terminal, as described in the first embodiment, one of the intelligent terminals is a golden machine, and the other intelligent terminal is an intelligent terminal to be tested, and if the testing fails, the intelligent terminal to be tested is a defective product; two intelligent terminals can be tested simultaneously, as described in the first embodiment, if the test is passed under normal conditions, the two intelligent terminals are good; when the test result shows that the signal is not received or the test fails, the comparison with the golden machine is needed, and as described in the second embodiment, the intelligent terminal to be tested is tested in the golden machine respectively, and a defective product is screened out. The specific test method can be selected according to actual conditions, but the test efficiency of the simultaneous test of the two intelligent terminals is greatly improved compared with that of the previous test.
The above embodiments are only examples of the invention, and are not intended to limit the scope of the invention and the claims, which are claimed in the present invention.
Claims (7)
1. An infrared remote control test method is characterized by comprising a first-stage test, wherein the first-stage test comprises the following specific steps:
the testing device controls a first intelligent terminal through a first control instruction so as to set the first intelligent terminal as an infrared receiving module, and controls a second intelligent terminal through a second control instruction so as to set the second intelligent terminal as an infrared transmitting module and enable the second intelligent terminal to transmit an infrared signal with preset codes;
the infrared signal emitted by the second intelligent terminal is reflected to the first intelligent terminal through a first infrared reflecting mirror and/or a second infrared reflecting mirror;
after the first intelligent terminal receives the infrared signal transmitted by the second intelligent terminal, decoding the infrared signal to obtain decoding information, and comparing the decoding information with the preset code to obtain a first test result;
the testing device sends a first inquiry instruction to inquire a first test result of the first intelligent terminal and receives the first test result returned by the first intelligent terminal, wherein the first test result comprises a test pass, a test failure and a non-received signal, the test pass means that the first intelligent terminal receives an infrared signal and decodes correctly, the test failure means that the first intelligent terminal receives the infrared signal but decodes incorrectly, and the non-received signal means that the first intelligent terminal does not receive the infrared signal;
when the first test result is that the test is passed, performing a second stage test; and under the condition that a second test result returned in the second stage test is test failure or no signal is received, respectively testing the first intelligent terminal or/and the second intelligent terminal and a preset golden machine, wherein the golden machine is an intelligent terminal with normal infrared transmitting module and infrared receiving module.
2. The infrared remote control test method of claim 1, wherein the second stage test comprises the following specific steps:
the testing device sends a first switching instruction for switching from the infrared transmitting module to the infrared receiving module to the second intelligent terminal, sends a second switching instruction for switching from the infrared receiving module to the infrared transmitting module to the first intelligent terminal, and enables the first intelligent terminal to transmit an infrared signal with preset codes;
the infrared signal emitted by the first intelligent terminal is reflected to the second intelligent terminal through a second infrared reflecting mirror and/or a first infrared reflecting mirror;
after receiving the infrared signal transmitted by the first intelligent terminal, the second intelligent terminal decodes the infrared signal to obtain decoding information, and compares the decoding information with a preset code to obtain a second test result;
and the testing device sends a second inquiry instruction to inquire a second testing result of the second intelligent terminal and receives the second testing result returned by the second intelligent terminal.
3. The infrared remote control test method of claim 2, wherein the second test result is: the infrared signal is received by the second intelligent terminal and decoded correctly; or the test fails, wherein the test fails means that the second intelligent terminal receives the infrared signal but the decoding is incorrect; or the infrared signal is not received, wherein the non-received signal means that the infrared signal is not received by the second intelligent terminal.
4. The infrared remote control test method as claimed in any one of claims 1 to 3, wherein the predetermined coded infrared signal is a segment of binary code, and the first intelligent terminal and/or the second intelligent terminal transmits the predetermined coded infrared signal at least twice.
5. The infrared remote control test method of claim 2, wherein the first control instruction, the second control instruction, the first switching instruction, and the second switching instruction are ADB instructions.
6. An infrared remote control test system is characterized by comprising an infrared reflector, a first intelligent terminal, a second intelligent terminal and a test device;
the testing device is used for controlling a first intelligent terminal through a first control instruction so as to set the first intelligent terminal as an infrared receiving module, and controlling a second intelligent terminal through a second control instruction so as to set the second intelligent terminal as an infrared transmitting module;
the second intelligent terminal is used for transmitting an infrared signal with a preset code;
the infrared mirror comprises a first infrared mirror and/or a second infrared mirror for reflecting the infrared signal emitted by the second smart terminal to the first smart terminal;
the first intelligent terminal is used for decoding the infrared signal after receiving the infrared signal transmitted by the second intelligent terminal to obtain decoding information, comparing the decoding information with the preset code to obtain a first test result, and transmitting the first test result to the testing device when receiving a first inquiry instruction inquiry transmitted by the testing device, wherein the first test result comprises a test pass, a test fail and a non-received signal, the test pass means that the first intelligent terminal receives the infrared signal and decodes correctly, the test fail means that the first intelligent terminal receives the infrared signal but decodes incorrectly, and the non-received signal means that the first intelligent terminal does not receive the infrared signal;
the testing device is further configured to perform a second-stage test when the first test result is that the test is passed, and test the first intelligent terminal or/and the second intelligent terminal and a preset golden machine respectively under the condition that a second test result returned in the second-stage test is that the test is failed or a signal is not received, wherein the golden machine is an intelligent terminal with a normal infrared transmitting module and a normal infrared receiving module.
7. The infrared remote test system of claim 6 wherein the infrared mirror comprises a first infrared mirror and a second infrared mirror;
the first infrared reflecting mirror and the infrared signal emitted by the second intelligent terminal form an included angle of 45 degrees and are used for reflecting the infrared signal emitted by the second intelligent terminal to the second infrared reflecting mirror;
the second infrared reflecting mirror and the infrared signal reflected by the first infrared reflecting mirror form an included angle of 45 degrees, and the second infrared reflecting mirror is used for reflecting the infrared information reflected by the first infrared reflecting mirror to the first intelligent terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711461522.1A CN107886705B (en) | 2017-12-28 | 2017-12-28 | Infrared remote control test method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711461522.1A CN107886705B (en) | 2017-12-28 | 2017-12-28 | Infrared remote control test method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107886705A CN107886705A (en) | 2018-04-06 |
CN107886705B true CN107886705B (en) | 2021-02-26 |
Family
ID=61770297
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711461522.1A Active CN107886705B (en) | 2017-12-28 | 2017-12-28 | Infrared remote control test method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107886705B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109243166A (en) * | 2018-08-31 | 2019-01-18 | 上海与德通讯技术有限公司 | The test macro and method of infrared equipment |
CN111162846A (en) * | 2019-12-29 | 2020-05-15 | 上海诺为科技有限公司 | Radio frequency performance detection method of page turning pen |
CN111307420A (en) * | 2020-01-23 | 2020-06-19 | 珠海荣邦智能科技有限公司 | Infrared quality testing device and method for infrared transmitting tube product |
Family Cites Families (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4425647A (en) * | 1979-07-12 | 1984-01-10 | Zenith Radio Corporation | IR Remote control system |
CN101409653A (en) * | 2008-11-27 | 2009-04-15 | 深圳华为通信技术有限公司 | Method and system for testing communication product |
CN201470076U (en) * | 2009-05-27 | 2010-05-19 | 开达环球有限公司 | Wii game prop with optical signal wave reflector structure on remote control seat |
US8863171B2 (en) * | 2010-06-14 | 2014-10-14 | Sony Corporation | Announcement of program synchronized triggered declarative objects |
CN102300117A (en) * | 2011-08-31 | 2011-12-28 | 四川长虹电器股份有限公司 | Automatic testing system and testing method for set-top box |
CN103292897B (en) * | 2012-09-24 | 2015-07-08 | 天津思博科科技发展有限公司 | Fast testing device for LED spherical lamp luminous flux |
CN102932027B (en) * | 2012-11-20 | 2014-11-26 | 广州杰赛科技股份有限公司 | Control method for enhancing reliability of radio frequency communication, and system |
CN103869236B (en) * | 2014-03-31 | 2016-08-17 | 广州华欣电子科技有限公司 | The method of testing of infrared touch panel PCBA and measurement jig |
CN105809948A (en) * | 2014-12-29 | 2016-07-27 | 西安Tcl软件开发有限公司 | Automatic testing method and system for infrared control equipment |
CN104811524B (en) * | 2015-04-15 | 2018-09-04 | 广东欧珀移动通信有限公司 | A kind of terminal radio frequency performance test methods and its device |
CN105446823A (en) * | 2015-11-10 | 2016-03-30 | 杭州古北电子科技有限公司 | Test system and method for intelligent product production |
CN105894796A (en) * | 2015-12-04 | 2016-08-24 | 乐视致新电子科技(天津)有限公司 | Infrared testing device and system |
CN105703851A (en) * | 2016-04-08 | 2016-06-22 | 厦门盈趣科技股份有限公司 | Wireless communication distance measuring method |
CN106097700A (en) * | 2016-07-22 | 2016-11-09 | 深圳市创荣发电子有限公司 | The method of testing of a kind of IR remote controller and system |
CN106301622B (en) * | 2016-08-31 | 2019-04-02 | 深圳天珑无线科技有限公司 | Interference detection method and Interference Detection system |
CN206370150U (en) * | 2016-09-21 | 2017-08-01 | 国网北京市电力公司 | Infrared communication device |
CN106657990A (en) * | 2016-12-30 | 2017-05-10 | 深圳Tcl数字技术有限公司 | Mainboard testing equipment and method |
CN107144543B (en) * | 2017-06-29 | 2020-02-18 | 中国科学院合肥物质科学研究院 | Receiving and transmitting integrated open light path atmosphere detection system |
-
2017
- 2017-12-28 CN CN201711461522.1A patent/CN107886705B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN107886705A (en) | 2018-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107886705B (en) | Infrared remote control test method and system | |
CN106331975B (en) | Fault detection method, device and system for intelligent voice interaction equipment | |
US20220095557A1 (en) | Irrigation controller with relays | |
CN105230129A (en) | Lighting apparatus | |
US10983495B2 (en) | Method and apparatus for initializing a controller module | |
US20150142365A1 (en) | Automatic test system and method | |
US8965214B2 (en) | Manufacturing system and method using IR communications link | |
CN108399730A (en) | Infrared signal receiver detection method and device | |
CN109462448A (en) | A kind of radio frequency test method, mobile terminal and storage medium | |
CN102970187B (en) | A kind of single-board testing method, Apparatus and system | |
CN105262610A (en) | Network repairing method, device and terminal | |
US20100320940A1 (en) | Monitoring Device and Method of Monitoring Programmable Lamps | |
US10206269B2 (en) | System for commissioning elements in an installation | |
US10345355B2 (en) | Method of communication between distributed wire harness test units using wire under test | |
JP2013160766A (en) | Object detection sensor | |
CN110825640A (en) | Dubal BIOS test method, test device and test system | |
CN111462681A (en) | Multi-path cascade application system and control method for detecting and receiving correct data thereof | |
CN114499706B (en) | Electronic calibration system, automatic port identification method and storage medium | |
CN112702113A (en) | Optical network detection method, system, electronic device and computer readable medium | |
US20180059179A1 (en) | Automatic control system and automatic instrument searching method for the same | |
CN113438040B (en) | Single carrier radio frequency performance test method, device and computer readable storage medium | |
KR101981569B1 (en) | Heat detector having function for test | |
US11477875B1 (en) | Lighting system having multiple light sources and control method thereof | |
US20130002151A1 (en) | Lamp tube switch circuit and method thereof | |
JP2019029893A (en) | Determination device |
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 |