CN105809948A - Automatic testing method and system for infrared control equipment - Google Patents

Automatic testing method and system for infrared control equipment Download PDF

Info

Publication number
CN105809948A
CN105809948A CN201410841303.6A CN201410841303A CN105809948A CN 105809948 A CN105809948 A CN 105809948A CN 201410841303 A CN201410841303 A CN 201410841303A CN 105809948 A CN105809948 A CN 105809948A
Authority
CN
China
Prior art keywords
infrared
test
coding information
server
control device
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.)
Pending
Application number
CN201410841303.6A
Other languages
Chinese (zh)
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.)
Xian TCL Software Development Co Ltd
Original Assignee
Xian TCL Software Development 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 Xian TCL Software Development Co Ltd filed Critical Xian TCL Software Development Co Ltd
Priority to CN201410841303.6A priority Critical patent/CN105809948A/en
Publication of CN105809948A publication Critical patent/CN105809948A/en
Pending legal-status Critical Current

Links

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The invention discloses an automatic testing method for infrared control equipment. The method comprises the following steps that: an intelligent terminal acquires infrared coding information from a PC terminal or server and sends the infrared coding information to an infrared transmitting-receiving device; the infrared transmitting-receiving device processes the received infrared coding information to generate a corresponding infrared signal and sends the infrared signal to the infrared control equipment so as to control the infrared control equipment to execute testing operation corresponding to the infrared signal; the PC terminal receives testing data fed back by the infrared control equipment, automatically generates a testing report according to the testing data and uploads the testing report to the server; and the server stores the testing report. The invention also discloses an infrared control equipment automatic testing system executing the automatic testing method for the infrared control equipment. According to the invention, artificial participation is not needed in the testing process of the infrared control equipment and recording and analysis of testing results; automatic testing of the infrared control equipment can be realized; and testing efficiency is improved.

Description

Infrared control device automated testing method and system
Technical field
The present invention relates to product automation technical field of measurement and test, particularly relate to a kind of infrared control device automated testing method and system.
Background technology
The advantages such as infrared (IR) wireless communication mode is fast with its transmission speed, cost is low, cross-platform, point-to-point high safety, it is widely used in the infrared control device such as household electrical appliances, mobile computing device, mobile communication equipment, such as television set, air-conditioner, infrared ray printer, infrared keyboard etc..
At present infrared control device being tested, be mainly also dependent on manually using remote controller test, testing efficiency is low, human cost is high;In test process, in addition it is also necessary to artificial judgment test result, test period is long;Test data can not be managed concentratedly, and reusability is low.Current automatization test system is little, and manual operation also simply can only be replaced with infrared remote control by the infrared automatization test system having, and automatically launches and tests, but also needs to manually carry out observation and the record of test result, and efficiency is not high yet.
Summary of the invention
Present invention is primarily targeted at a kind of infrared control device automated testing method of offer and system, it is intended to realize the automatic test of infrared control device, improve the testing efficiency of infrared control device.
In order to achieve the above object, the present invention provides a kind of infrared control device automated testing method, and described infrared control device automated testing method comprises the following steps:
Intelligent terminal obtains infrared coding information from PC end or server, and described infrared coding information is sent to infrared transceiver device;
Infrared transceiver device processes received infrared coding information and generates corresponding infrared signal, and described infrared signal is sent to infrared control device, the test operation corresponding with this infrared signal to control infrared control device execution;
PC termination receives the test data of infrared control device feedback, according to described automated test data generation test report and upload onto the server;
Server stores described test report.
Preferably, described PC termination receives the test data of infrared control device feedback, includes according to described automated test data generation test report the step that uploads onto the server:
PC end receives the test data of infrared control device feedback by serial ports;
Data and preset test result data is tested described in PC end comparison;
When described test data are consistent with preset test result data, generate the test report that test is passed through;
When described test data and preset test result data are inconsistent, generate the test report of test crash;
Described test report is uploaded onto the server.
Preferably, described intelligent terminal obtains infrared coding information from PC end or server, and the step that described infrared coding information is sent to infrared transceiver device is included:
Described intelligent terminal obtains test script from PC end or server, described test script is converted to executable infrared coding information, and described infrared coding information is sent to infrared transceiver device.
Preferably, described intelligent terminal obtains infrared coding information from PC end or server, and also includes before acquired infrared coding information is sent to the step of infrared transceiver device:
The infrared coding information that the keyboard-coding mode of intelligent terminal for reception infrared transceiver device purpose learning remote controller sends, converts the infrared coding information received the test script of correspondence to, and uploads onto the server.
Preferably, described infrared control device automated testing method also includes:
PC end arranges the monitor mode of intelligent terminal;
Test process is monitored by intelligent terminal according to described monitor mode, obtains monitoring data, and described monitoring data is uploaded onto the server;
Server stores described monitoring data.
Additionally, in order to achieve the above object, the present invention also provides for a kind of infrared control device automatization test system, and described infrared control device automatization test system includes intelligent terminal, infrared transceiver device, PC end and server;
Described intelligent terminal is for obtaining infrared coding information from PC end or server, and described infrared coding information is sent to infrared transceiver device;
Described infrared transceiver device generates corresponding infrared signal for processing received infrared coding information, and described infrared signal is sent to infrared control device, the test operation corresponding with this infrared signal to control infrared control device execution;
Described PC end is for receiving the test data of infrared control device feedback, according to described automated test data generation test report and upload onto the server;
Described server is used for storing described test report.
Preferably, described infrared transceiver device is integrated in described intelligent terminal.
Preferably, described PC end includes data receipt unit, comparing unit, report generation unit and report uploading unit;
Described data receipt unit is for connecting infrared control device by serial ports, to receive the test data of infrared control device feedback;
Described comparing unit is test data and preset test result data described in comparison;
Described report generation unit is for when described test data are consistent with preset test result data, generating the test report that test is passed through;When described test data and preset test result data are inconsistent, generate the test report of test crash;
Described report uploading unit is for uploading onto the server described test report.
Preferably, described intelligent terminal is additionally operable to receive the infrared coding information that the keyboard-coding mode of infrared transceiver device purpose learning remote controller sends, the infrared coding information received is converted to the test script corresponding with this infrared coding information, and test script is uploaded onto the server;
Described server is additionally operable to preserve the test script that intelligent terminal sends;
Described intelligent terminal is additionally operable to obtain test script from PC end or server, described test script is converted to executable infrared coding information, and described infrared coding information is sent to infrared transceiver device.
Preferably, described PC end is additionally operable to arrange the monitor mode of intelligent terminal;Described intelligent terminal is additionally operable to according to described monitor mode, test process is monitored, and obtains monitoring data, and described monitoring data is uploaded onto the server;Described server is additionally operable to store described monitoring data.
Infrared control device automated testing method provided by the invention and system, obtain infrared coding information by intelligent terminal and be sent to infrared transceiver device, infrared transceiver device process processes this infrared coding information and generates corresponding infrared signal and be sent to infrared control device, the test operation corresponding with this infrared signal to control infrared control device execution, PC termination receives the test data of infrared control device feedback, according to described automated test data generation test report and upload onto the server, server store test report.Thus to the test process of infrared control device and test result record with analyze all without artificial participation, it is achieved that the automatic test of infrared control device, it is possible to increase the testing efficiency of infrared control device.
Accompanying drawing explanation
Fig. 1Flow process for infrared control device automated testing method one embodiment of the present invention is illustratedFigure
Fig. 2ForFig. 1The flow process signal of middle step S103Figure
Fig. 3Flow process for infrared control device another embodiment of automated testing method of the present invention is illustratedFigure
Fig. 4Flow process for the another embodiment of infrared control device automated testing method of the present invention is illustratedFigure
Fig. 5Structural representation for infrared control device automatization test system one embodiment of the present inventionFigure
Fig. 6ForFig. 5The structural representation of middle PC endFigure
The realization of the purpose of the present invention, functional characteristics and advantage, will in conjunction with the embodiments, and referenceAccompanying drawingIt is described further.
Detailed description of the invention
Should be appreciated that specific embodiment described herein is used only for explaining the present invention, be not intended to limit the present invention.
The present invention provides a kind of infrared control device automated testing method, can be applicable to infrared control device automatization test system.
ReferenceFig. 1,Fig. 1Flow process for infrared control device automated testing method one embodiment of the present invention is illustratedFigure
In infrared control device automated testing method first embodiment of the present invention, described infrared control device automated testing method comprises the following steps:
Step S101: intelligent terminal obtains infrared coding information from PC end or server, and described infrared coding information is sent to infrared transceiver device.
Server prestores the infrared coding information for infrared control device carries out properties test, PC end can pass through network, such as internal network or the Internet are set up with server after being connected, download from a server infrared coding information, it is then forwarded to intelligent terminal, the infrared coding information that intelligent terminal for reception PC end sends;Intelligent terminal can directly download from a server infrared coding information to obtain infrared coding information.Acquired infrared coding information is sent to infrared transceiver device by intelligent terminal, infrared coding information to be processed by infrared transceiver device.
Step S102: infrared transceiver device processes received infrared coding information and generates corresponding infrared signal, and described infrared signal is sent to infrared control device, the test operation corresponding with this infrared signal to control infrared control device execution.
After infrared transceiver device receives the infrared coding information that intelligent terminal sends, received infrared coding information is processed, namely it is decoded received infrared coding information processing, generate infrared signal corresponding with this infrared coding information, and this infrared signal is sent to infrared control device, control infrared control device and perform the test operation corresponding with this infrared signal, thus the properties of infrared control device (such as television set) is tested.
Step S103:PC termination receives the test data of infrared control device feedback, according to described automated test data generation test report and upload onto the server.
After infrared control device receives the infrared signal that infrared transceiver device sends, the test operation corresponding with this infrared signal is performed according to the infrared signal received, infrared control device generates the test data of correspondence in test process, and by test data feedback to PC end.
PC end collects the test data of infrared control device feedback, and detect whether infrared control device has been tested, when infrared control device completes to test, according to the automated test data generation test report received and upload onto the server, with by server unified management.
Step S104: server stores described test report.
Server connects PC end and receives the test report uploaded, and preserve this test report, according to test report analyzing test data, it is judged that whether the be test for performance of infrared control device meets the requirements, pass through and server unified management test result thereby through server, it is not necessary to manually participate in.
In the present embodiment, the infrared coding information that server prestores can be that PC end is uploaded, it is also possible to is that intelligent terminal uploads.Thus, when infrared control device is tested, can first infrared coding information be uploaded onto the server, by server admin infrared coding information.
For infrared coding information being uploaded onto the server by PC end, by server admin infrared coding information, user can by importing to PC end by the infrared coding information corresponding with the keyboard-coding of remote controller, PC end is after preserving the infrared coding information that user imports, the infrared coding information imported is uploaded onto the server by PC end, with by this infrared coding information of server admin.After infrared coding information is imported to PC end by user, the infrared coding information that user imports can be carried out editorial management by PC end, such as, which key information that the infrared coding information that record imports comprises remote controller, and the test operation order etc. that each key information is corresponding.
Server receives the infrared coding information that PC end sends, and preserves this infrared coding information, in order to when carrying out infrared control device test, directly can download required infrared coding information from server.
Infrared coding information is preserved by server, management infrared coding information so that the repeatable utilization of infrared coding information, thus when testing multinomial performance, user, without repeatedly importing infrared coding information to PC end, directly downloads from a server required infrared coding information.
Except infrared coding information can be uploaded by PC end to except server, infrared coding information can also be uploaded to server by intelligent terminal, particular user can pass through remote controller and send infrared coding information to intelligent terminal, remote controller can also be passed through and send infrared coding information to infrared transceiver device, then by infrared transceiver device, the infrared coding information received is sent to intelligent terminal.
After preserving the infrared coding information that infrared transceiver device sends, the infrared coding information received is uploaded onto the server by intelligent terminal, with by this infrared coding information of server admin, such as, which key information that the infrared coding information that record receives comprises remote controller, and the test operation order etc. that each key information is corresponding.
Server receives the infrared coding information that intelligent terminal sends, and preserves this infrared coding information, in order to when carrying out infrared control device test, directly can download required infrared coding information from server.
By server admin infrared coding information, make the repeatable utilization of infrared coding information, thus when testing multinomial performance, user sends infrared coding information without Multiple through then out remote controller, by intelligent terminal, infrared coding information is uploaded onto the server again, directly download from a server required infrared coding information.
The present embodiment preferably, described intelligent terminal withIndependentInfrared transceiver device set up wireless connections, specifically can set up wireless connections by wifi or blueteeth network and infrared transceiver device, pass throughIndependentInfrared transceiver device realize the transmitting-receiving of infrared coding information, decoding etc. are operated.Acquired infrared coding information is sent to infrared transceiver device by wifi or bluetooth by intelligent terminal, by infrared transceiver device, infrared coding information is decoded, then by infrared transceiver device, decoded infrared coding information is sent to infrared control device.Infrared control device can be controlled thereby through infrared coding information and perform the test operation corresponding with this infrared coding information, and then infrared control device can be tested.
In the specific embodiment of another deformation, described infrared transceiver device is integrated in described intelligent terminal, and namely intelligent terminal comprises infrared transceiver device to realize the transmitting-receiving of infrared coding information, decoding etc. are operated.After intelligent terminal obtains infrared coding information from PC end or server, by its infrared transceiver device comprised, this infrared coding information is decoded, process, generate infrared signal corresponding with this infrared coding information, and this infrared signal is sent to infrared control device, control infrared control device and perform the test operation corresponding with this infrared signal, thus completing the test to infrared control device.
Infrared control device automated testing method provided by the invention, obtain infrared coding information by intelligent terminal and be sent to infrared transceiver device, infrared transceiver device process processes this infrared coding information and generates corresponding infrared signal and be sent to infrared control device, the test operation corresponding with this infrared signal to control infrared control device execution, PC termination receives the test data of infrared control device feedback, according to described automated test data generation test report and upload onto the server, server store test report.Thus to the test process of infrared control device and test result record with analyze all without artificial participation, it is achieved that the automatic test of infrared control device, it is possible to increase the testing efficiency of infrared control device.
Refer again toFig. 2,Fig. 2ForFig. 1The flow process signal of middle step S103Figure
Based on above-described embodiment,Such as Fig. 2Shown in,Fig. 1Middle step S103 includes:
Step S201:PC end receives the test data of infrared control device feedback by serial ports.
Infrared control device is being carried out in test process, PC end is connected to infrared control device by serial ports, infrared control device performs the test operation corresponding with this infrared signal according to the infrared signal received and generates corresponding test data, PC end carries out communication by serial ports and infrared control device, receives the test data of infrared control device feedback.
Data and preset test result data is tested described in step S202:PC end comparison.
PC end is previously stored with test result data, and PC end, especially by the mode test received data and preset test result data compared, judges that whether test data are consistent with preset test result data.
Step S203: judge that whether test data are consistent with preset test result data;If test data are consistent with preset test result data, then enter step S204;If test data are inconsistent with preset test result data, then, then step S205 is entered.
PC end is when the test data that comparison receives are with preset test result data, judge that whether test data are consistent with preset test result data, whether consistent with preset test result data by judging test data, judge whether the infrared control device performance tested meets the requirements.
Step S204;Generate the test report that test is passed through.
When the test data of a certain performance test are consistent with preset test result data, illustrating that this performance test is passed through, namely this performance test meets the requirements, and now PC end generates the test report that test is passed through, and prompting this performance test of user meets the requirements.
Step S205: generate the test report of test crash.
When the test data of a certain performance test are inconsistent with preset test result data, this performance test failure is described, namely this performance test is undesirable, and now PC end generates the test report of test crash, and prompting this performance test of user is undesirable.
Step S206: described test report is uploaded onto the server.
PC end is after according to Test data generation test report, the test report generated is uploaded onto the server, specifically, PC end is generating the test report that test is passed through, the test report that test is passed through is uploaded onto the server, in the test report generating test crash, the test report of test crash is uploaded onto the server, to be reported by server test.
Specifically, in step S101, described infrared coding information by obtaining infrared coding information from the mode of PC end or server download infrared coding information, and can be sent to infrared transceiver device by intelligent terminal.Intelligent terminal can also pass through to download test script from PC end or server, and the mode that acquired test script is converted to executable infrared coding information obtains infrared coding information, and described infrared coding information is sent to infrared transceiver device.
After PC end can be connected with server foundation by network, download from a server the test script that can be used for testing infrared control device, and downloaded test script is sent to intelligent terminal, the test script that intelligent terminal for reception PC end sends, this test script is converted to the infrared coding information corresponding with this test script, thus obtaining infrared coding information.Or, this test script, directly from downloading from a server test script, is converted to the infrared coding information corresponding with this test script, thus obtaining infrared coding information by intelligent terminal.Acquired infrared coding information is sent to infrared transceiver device by intelligent terminal, infrared coding information to be processed by infrared transceiver device.
Intelligent terminal can download test script from PC end or server so that intelligent terminal directly can obtain infrared coding information according to test script, thus when testing multinomial performance, it is not necessary to artificial Multiple through then out remote controller sends infrared coding information.
Refer again toFig. 3,Fig. 3Flow process for infrared control device another embodiment of automated testing method of the present invention is illustratedFigure
Based on above-described embodiment, withFig. 1Shown in infrared control device automated testing method the difference is that,Fig. 3In also include before step 101:
Step 301: the infrared coding information that the keyboard-coding mode of intelligent terminal for reception infrared transceiver device purpose learning remote controller sends, converts the infrared coding information received the test script of correspondence to, and uploads onto the server.
When first infrared control device being tested, user can pass through remote controller by infrared coding information, namely the keyboard-coding information of remote controller is sent to infrared control device automatization test system, the keyboard-coding mode of infrared transceiver device purpose learning remote controller, obtain infrared coding information, after acquired infrared coding information is carried out the process such as filtering clutter, infrared coding information is sent to intelligent terminal.
The infrared coding information that intelligent terminal for reception infrared transceiver device sends, is converted to the test script corresponding with this infrared coding information by this infrared coding information, thus can be uploaded onto the server by test script, by this test script of server admin.
Server receives the test script that intelligent terminal sends, and preserves this test script, and with when infrared control device tested by needs, PC end can directly download from a server test script, and intelligent terminal can also directly download from a server test script.
The present embodiment passes through server admin test script, make the repeatable utilization of test script, thus when testing multinomial performance, user sends infrared coding information without Multiple through then out remote controller, and intelligent terminal is without repeatedly carrying out the conversion of infrared coding information and test script.
Refer again toFig. 4,Fig. 4Flow process for the another embodiment of infrared control device automated testing method of the present invention is illustratedFigure
Based on above-described embodiment, infrared control device automated testing method of the present invention is performingFig. 1OrFig. 3While shown step,Such as Fig. 4Shown in, infrared control device automated testing method of the present invention can also carry out following steps:
Step S401:PC end arranges the monitor mode of intelligent terminal.
PC end arranges the monitor mode of intelligent terminal, for instance, PC end arrange intelligent terminal by taking pictures, record and/or infrared control device test process is monitored by shooting mode, open the parameters such as the time of monitoring, duration can be set.
Step S402: test process is monitored by intelligent terminal according to described monitor mode, obtains monitoring data, and described monitoring data is uploaded onto the server.
Intelligent terminal's monitor mode set by PC end, is monitored infrared control device test process, obtains required monitoring data, and acquired monitoring data is uploaded onto the server, and tests data for server analysis and provides reference.
Step S403: server stores described monitoring data.
Intelligent terminal uploads monitoring data to after server, and server preserves this monitoring data, thus when the test data that server analysis test report is corresponding, can test data according to monitoring data as reference analysis, to judge test result more accurately.
In addition, owing to infrared control device is being carried out in test process, PC end is connected with infrared control device, therefore in test process, the test log information relevant to test data is fed back to PC end by infrared control device, thus, PC end can be passed through and collect test log information, and test log information is analyzed, generation test log is reported, when preferably test log information being analyzed, extract the daily record keyword that would be likely to occur problem in test log information, such as error, the keywords such as fail, the test log information of the daily record keyword comprising the problem of would be likely to occur is added up, generation test log is reported, and the test log generated report is uploaded onto the server, test data for server analysis and reference is provided, to judge test result more accurately.
The present invention also provides for a kind of infrared control device automatization test system.
ReferenceFig. 5,Fig. 5Structural representation for infrared control device automatization test system one embodiment of the present inventionFigure
In infrared control device automatization test system one embodiment of the present invention, described infrared control device automatization test system includes intelligent terminal 100, infrared transceiver device 200, PC end 300 and server 400.
Described intelligent terminal 100 is for obtaining infrared coding information from PC end 300 or server 400, and described infrared coding information is sent to infrared transceiver device 200.
Server 400 prestores the infrared coding information for infrared control device carries out properties test, PC end 300 can pass through network, such as internal network or the Internet are set up with server 400 after being connected, infrared coding information is downloaded from server 400, being then forwarded to intelligent terminal 100, intelligent terminal 100 receives the infrared coding information that PC end 300 sends;Intelligent terminal 100 directly can download infrared coding information from server 400 and obtain infrared coding information.Acquired infrared coding information is sent to infrared transceiver device 200 by intelligent terminal 100, infrared coding information to be processed by infrared transceiver device 200.
Described infrared transceiver device 200 generates corresponding infrared signal for processing received infrared coding information, and described infrared signal is sent to infrared control device, the test operation corresponding with this infrared signal to control infrared control device execution.
After infrared transceiver device 200 receives the infrared coding information that intelligent terminal 100 sends, received infrared coding information is processed, namely it is decoded received infrared coding information processing, generate infrared signal corresponding with this infrared coding information, and this infrared signal is sent to infrared control device, control infrared control device and perform the test operation corresponding with this infrared signal, thus the properties of infrared control device (such as television set) is tested.
Described PC end 300 is for receiving the test data of infrared control device feedback, according to described automated test data generation test report and upload onto the server 400.
After infrared control device receives the infrared signal that infrared transceiver device 200 sends, the test operation corresponding with this infrared signal is performed according to the infrared signal received, infrared control device generates the test data of correspondence in test process, and by test data feedback to PC end 300.
PC end 300 collects the test data of infrared control device feedback, and detects whether infrared control device has been tested, and when infrared control device completes to test, the test data received is uploaded onto the server 400, to test data by server 400 unified management.
Described server 400 is used for storing described test report.
Server 400 connects PC end 300 and receives the test report uploaded, and preserve this test report, according to test report analyzing test data, judge whether the be test for performance of infrared control device meets the requirements, thereby through server 400 by analyzing test result with server 400, unified management test data, it is not necessary to manually participate in.
In the present embodiment, the infrared coding information that server 400 prestores can be that PC end 300 is uploaded, it is also possible to is that intelligent terminal 100 uploads.Thus, when infrared control device is tested, first infrared coding information can be uploaded onto the server 400, manage infrared coding information by server 400.
For infrared coding information being uploaded onto the server 400 by PC end 300, infrared coding information is managed by server 400, user can by importing to PC end 300 by the infrared coding information corresponding with the keyboard-coding of remote controller, PC end 300 is after preserving the infrared coding information that user imports, the infrared coding information imported is uploaded onto the server 400 by PC end 300, to manage this infrared coding information by server 400.After infrared coding information is imported to PC end 300 by user, the infrared coding information that user imports can be carried out editorial management by PC end 300, such as, which key information that the infrared coding information that record imports comprises remote controller, and the test operation order etc. that each key information is corresponding.
Server 400 receives the infrared coding information that PC end 300 sends, and preserves this infrared coding information, in order to when carrying out infrared control device test, directly can download required infrared coding information from server 400.
Infrared coding information is preserved by server 400, management infrared coding information so that the repeatable utilization of infrared coding information, thus when testing multinomial performance, user, without repeatedly importing infrared coding information to PC end 300, directly downloads required infrared coding information from server 400.
Infrared coding information is uploaded to except server 400 except PC end 300 can be passed through, intelligent terminal 100 can also be passed through and upload infrared coding information to server 400, particular user can pass through remote controller and send infrared coding information to intelligent terminal 100, remote controller can also be passed through and send infrared coding information to infrared transceiver device 200, then by infrared transceiver device 200, the infrared coding information received is sent to intelligent terminal 100.
After preserving the infrared coding information that infrared transceiver device 200 sends, the infrared coding information received is uploaded onto the server 400 by intelligent terminal 100, to manage this infrared coding information by server 400, such as, which key information that the infrared coding information that record receives comprises remote controller, and the test operation order etc. that each key information is corresponding.
Server 400 receives the infrared coding information that intelligent terminal 100 sends, and preserves this infrared coding information, in order to when carrying out infrared control device test, directly can download required infrared coding information from server 400.
Infrared coding information is managed by server 400, make the repeatable utilization of infrared coding information, thus when testing multinomial performance, user sends infrared coding information without Multiple through then out remote controller, by intelligent terminal 100, infrared coding information is uploaded onto the server 400 again, from server 400, directly download required infrared coding information.
The present embodiment preferably, described intelligent terminal 100 withIndependentInfrared transceiver device 200 set up wireless connections, specifically can pass through wifi or blueteeth network and infrared transceiver device 200 set up wireless connections, pass throughIndependentInfrared transceiver device 200 realize the transmitting-receiving of infrared coding information, decoding etc. are operated.Acquired infrared coding information is sent to infrared transceiver device 200 by wifi or bluetooth by intelligent terminal 100, by infrared transceiver device 200, infrared coding information is decoded, then by infrared transceiver device 200, decoded infrared coding information is sent to infrared control device.Infrared control device can be controlled thereby through infrared coding information and perform the test operation corresponding with this infrared coding information, and then infrared control device can be tested.
Specifically, in the specific embodiment of another deformation, described infrared transceiver device 200 is integrated in described intelligent terminal 100, and namely intelligent terminal 100 comprises infrared transceiver device to realize the transmitting-receiving of infrared coding information, decoding etc. are operated.After intelligent terminal 100 obtains infrared coding information from PC end 300 or server 400, by its infrared transceiver device comprised, this infrared coding information is decoded, process, generate infrared signal corresponding with this infrared coding information, and this infrared signal is sent to infrared control device, control infrared control device and perform the test operation corresponding with this infrared signal, thus completing the test to infrared control device.
Infrared control device automatization test system provided by the invention, obtain infrared coding information by intelligent terminal 100 and be sent to infrared transceiver device 200, infrared transceiver device 200 process processes this infrared coding information and generates corresponding infrared signal and be sent to infrared control device, the test operation corresponding with this infrared signal to control infrared control device execution, PC end 300 receives the test data of infrared control device feedback, according to described automated test data generation test report and upload onto the server 400, server 400 store test report.Thus to the test process of infrared control device and test result record with analyze all without artificial participation, it is achieved that the automatic test of infrared control device, it is possible to increase the testing efficiency of infrared control device.
Refer again toFig. 6,Fig. 6ForFig. 5The structural representation of middle PC endFigure
Specifically, as shown in Figure 6, described PC end 300 includes data receipt unit 310, comparing unit 320, report generation unit 330 and report uploading unit 340.
Described data receipt unit 310 is for connecting infrared control device by serial ports, to receive the test data of infrared control device feedback.
Infrared control device is being carried out in test process, the data receipt unit 310 of PC end 300 is connected to infrared control device by serial ports, infrared control device performs the test operation corresponding with this infrared signal according to the infrared signal received and generates corresponding test data, PC end 300 carries out communication by serial ports and infrared control device, receives the test data of infrared control device feedback.
Described comparing unit 320 is test data and preset test result data described in comparison.
PC end 300 is previously stored with test result data, and the comparing unit 320 of PC end 300 is with especially by the mode test received data and preset test result data compared, judging that whether test data are consistent with preset test result data.
Described report generation unit 330 is for when described test data are consistent with preset test result data, generating the test report that test is passed through;When described test data and preset test result data are inconsistent, generate the test report of test crash.
The comparing unit 320 of PC end 300 is when the test data that comparison receives are with preset test result data, judge that whether test data are consistent with preset test result data, whether consistent with preset test result data by judging test data, judge whether the infrared control device performance tested meets the requirements.
When the test data of a certain performance test are consistent with preset test result data, illustrate that this performance test is passed through, namely this performance test meets the requirements, and now the report generation unit 330 of PC end 300 generates the test report that test is passed through, and prompting this performance test of user meets the requirements.
When the test data of a certain performance test are inconsistent with preset test result data, this performance test failure is described, namely this performance test is undesirable, now the report generation unit 330 of PC end 300 generates the test report of test crash, and prompting this performance test of user is undesirable.
Described report uploading unit 340 is for uploading onto the server 400 by described test report.
PC end 300 is after according to Test data generation test report, by reporting that the test report generated is uploaded onto the server 400 by uploading unit 340, specifically, PC end 300 generates, at report generation unit 330, the test report that test is passed through, by reporting that the test report that test is passed through is uploaded onto the server 400 by uploading unit 340, the test report of test crash is generated at report generation unit 330, by reporting that the test report of test crash is uploaded onto the server 400 by uploading unit 340, with by server 400 test report.
Specifically, described intelligent terminal 100 is additionally operable to receive the infrared coding information that the keyboard-coding mode of infrared transceiver device 200 purpose learning remote controller sends, the infrared coding information received is converted to the test script corresponding with this infrared coding information, and test script is uploaded onto the server 400;Described server 400 is additionally operable to preserve the test script that intelligent terminal 100 sends;Described intelligent terminal 100 is additionally operable to obtain test script from PC end 300 or server 400, described test script is converted to executable infrared coding information, and described infrared coding information is sent to infrared transceiver device 200.
When first infrared control device being tested, user can pass through remote controller by infrared coding information, namely the keyboard-coding information of remote controller is sent to infrared control device automatization test system, the keyboard-coding mode of infrared transceiver device 200 purpose learning remote controller, obtain infrared coding information, after acquired infrared coding information is carried out the process such as filtering clutter, infrared coding information is sent to intelligent terminal 100.
Intelligent terminal 100 receives the infrared coding information that infrared transceiver device 200 sends, this infrared coding information is converted to the test script corresponding with this infrared coding information, thus test script can be uploaded onto the server 400, manage this test script by server 400.
Server 400 receives the test script that intelligent terminal 100 sends, preserve this test script, with when infrared control device tested by needs, PC end 300 directly can download test script from server 400, and intelligent terminal 100 directly can also download test script from server 400.
The present embodiment manages test script by server 400, make the repeatable utilization of test script, thus when testing multinomial performance, user sends infrared coding information without Multiple through then out remote controller, and intelligent terminal 100 is without repeatedly carrying out the conversion of infrared coding information and test script.
Intelligent terminal 100 can pass through to download from PC end 300 or server 400 mode of infrared coding information and obtain infrared coding information, and described infrared coding information is sent to infrared transceiver device 200.Intelligent terminal 100 can also pass through to download test script from PC end 300 or server 400, the mode that acquired test script is converted to executable infrared coding information obtains infrared coding information, and described infrared coding information is sent to infrared transceiver device 200.
After PC end 300 can be connected with server 400 foundation by network, download from server 400 and can be used for testing the test script of infrared control device, and downloaded test script is sent to intelligent terminal 100, intelligent terminal 100 receives the test script that PC end 300 sends, this test script is converted to the infrared coding information corresponding with this test script, thus obtaining infrared coding information.Or, this test script directly from downloading test script from server 400, is converted to the infrared coding information corresponding with this test script, thus obtaining infrared coding information by intelligent terminal 100.Acquired infrared coding information is sent to infrared transceiver device 200 by intelligent terminal 100, infrared coding information to be processed by infrared transceiver device 200.
Intelligent terminal 100 can download test script from PC end 300 or server 400 so that intelligent terminal 100 directly can obtain infrared coding information according to test script, thus when testing multinomial performance, it is not necessary to artificial Multiple through then out remote controller sends infrared coding information.
Specifically, described PC end 300 is additionally operable to arrange the monitor mode of intelligent terminal 100;Described intelligent terminal 100 is additionally operable to according to described monitor mode, test process is monitored, and obtains monitoring data, and described monitoring data are uploaded onto the server 400;Server 400 is additionally operable to store described monitoring data.
PC end 300 arranges the monitor mode of intelligent terminal 100, for instance, PC end 300 arranges intelligent terminal 100 by taking pictures, record and/or infrared control device test process being monitored by shooting mode, opens parameters such as can arranging the time of monitoring, duration.
The intelligent terminal 100 monitor mode set by PC end 300, is monitored infrared control device test process, obtains required monitoring data, and acquired monitoring data are uploaded onto the server 400, provides reference for server 400 analyzing test data.
Intelligent terminal 100 uploads monitoring data to after server 400, server 400 preserves this monitoring data, thus when server 400 analyzes test data corresponding to test report, data can be tested according to monitoring data as reference analysis, to judge test result more accurately.
nullIn addition,Owing to infrared control device is being carried out in test process,PC end 300 is connected with infrared control device,Therefore in test process,The test log information relevant to test data is fed back to PC end 300 by infrared control device,Thus,PC end 300 can be passed through and collect test log information,And test log information is analyzed,Generation test log is reported,When preferably test log information being analyzed,Extract the daily record keyword that would be likely to occur problem in test log information,Such as error、The keywords such as fail,The test log information of the daily record keyword comprising the problem of would be likely to occur is added up,Generation test log is reported,And the test log generated report is uploaded onto the server 400,Reference is provided for server 400 analyzing test data,To judge test result more accurately.
The foregoing is only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every utilize description of the present invention andIn accompanying drawingThe equivalent structure of Rong Suozuo or equivalence flow process conversion, or directly or indirectly it is used in other relevant technical fields, all in like manner include in the scope of patent protection of the present invention.

Claims (10)

1. an infrared control device automated testing method, it is characterised in that described infrared control device automated testing method comprises the following steps:
Intelligent terminal obtains infrared coding information from PC end or server, and described infrared coding information is sent to infrared transceiver device;
Infrared transceiver device processes received infrared coding information and generates corresponding infrared signal, and described infrared signal is sent to infrared control device, the test operation corresponding with this infrared signal to control infrared control device execution;
PC termination receives the test data of infrared control device feedback, according to described automated test data generation test report and upload onto the server;
Server stores described test report.
2. infrared control device automated testing method as claimed in claim 1, it is characterised in that described PC termination receives the test data of infrared control device feedback, includes according to described automated test data generation test report the step that uploads onto the server:
PC end receives the test data of infrared control device feedback by serial ports;
Data and preset test result data is tested described in PC end comparison;
When described test data are consistent with preset test result data, generate the test report that test is passed through;
When described test data and preset test result data are inconsistent, generate the test report of test crash;
Described test report is uploaded onto the server.
3. infrared control device automated testing method as claimed in claim 1, it is characterised in that described intelligent terminal obtains infrared coding information from PC end or server, and the step that described infrared coding information is sent to infrared transceiver device is included:
Described intelligent terminal obtains test script from PC end or server, described test script is converted to executable infrared coding information, and described infrared coding information is sent to infrared transceiver device.
4. infrared control device automated testing method as claimed in claim 3, it is characterized in that, described intelligent terminal obtains infrared coding information from PC end or server, and also includes before acquired infrared coding information is sent to the step of infrared transceiver device:
The infrared coding information that the keyboard-coding mode of intelligent terminal for reception infrared transceiver device purpose learning remote controller sends, converts the infrared coding information received the test script of correspondence to, and uploads onto the server.
5. the infrared control device automated testing method as according to any one of Claims 1-4, it is characterised in that described infrared control device automated testing method also includes:
PC end arranges the monitor mode of intelligent terminal;
Test process is monitored by intelligent terminal according to described monitor mode, obtains monitoring data, and described monitoring data is uploaded onto the server;
Server stores described monitoring data.
6. an infrared control device automatization test system, it is characterised in that described infrared control device automatization test system includes intelligent terminal, infrared transceiver device, PC end and server;
Described intelligent terminal is for obtaining infrared coding information from PC end or server, and described infrared coding information is sent to infrared transceiver device;
Described infrared transceiver device generates corresponding infrared signal for processing received infrared coding information, and described infrared signal is sent to infrared control device, the test operation corresponding with this infrared signal to control infrared control device execution;
Described PC end is for receiving the test data of infrared control device feedback, according to described automated test data generation test report and upload onto the server;
Described server is used for storing described test report.
7. infrared control device automatization test system as claimed in claim 6, it is characterised in that described infrared transceiver device is integrated in described intelligent terminal.
8. infrared control device automatization test system as claimed in claim 6, it is characterised in that described PC end includes data receipt unit, comparing unit, report generation unit and report uploading unit;
Described data receipt unit is for connecting infrared control device by serial ports, to receive the test data of infrared control device feedback;
Described comparing unit is test data and preset test result data described in comparison;
Described report generation unit is for when described test data are consistent with preset test result data, generating the test report that test is passed through;When described test data and preset test result data are inconsistent, generate the test report of test crash;
Described report uploading unit is for uploading onto the server described test report.
9. infrared control device automatization test system as claimed in claim 6, it is characterized in that, described intelligent terminal is additionally operable to receive the infrared coding information that the keyboard-coding mode of infrared transceiver device purpose learning remote controller sends, the infrared coding information received is converted to the test script corresponding with this infrared coding information, and test script is uploaded onto the server;
Described server is additionally operable to preserve the test script that intelligent terminal sends;
Described intelligent terminal is additionally operable to obtain test script from PC end or server, described test script is converted to executable infrared coding information, and described infrared coding information is sent to infrared transceiver device.
10. the infrared control device automatization test system as according to any one of claim 6 to 9, it is characterised in that described PC end is additionally operable to arrange the monitor mode of intelligent terminal;Described intelligent terminal is additionally operable to according to described monitor mode, test process is monitored, and obtains monitoring data, and described monitoring data is uploaded onto the server;Described server is additionally operable to store described monitoring data.
CN201410841303.6A 2014-12-29 2014-12-29 Automatic testing method and system for infrared control equipment Pending CN105809948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410841303.6A CN105809948A (en) 2014-12-29 2014-12-29 Automatic testing method and system for infrared control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410841303.6A CN105809948A (en) 2014-12-29 2014-12-29 Automatic testing method and system for infrared control equipment

Publications (1)

Publication Number Publication Date
CN105809948A true CN105809948A (en) 2016-07-27

Family

ID=56980108

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410841303.6A Pending CN105809948A (en) 2014-12-29 2014-12-29 Automatic testing method and system for infrared control equipment

Country Status (1)

Country Link
CN (1) CN105809948A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106097701A (en) * 2016-07-29 2016-11-09 无锡思泰迪半导体有限公司 A kind of infrared chip test platform based on FPGA
CN107844390A (en) * 2016-09-19 2018-03-27 乐视控股(北京)有限公司 A kind of method and device of automatic test feedback
CN107886705A (en) * 2017-12-28 2018-04-06 上海传英信息技术有限公司 A kind of infrared remote control method of testing and system
CN108174376A (en) * 2017-12-28 2018-06-15 飞天诚信科技股份有限公司 A kind of method and system for preventing interference
CN108922153A (en) * 2018-04-26 2018-11-30 Tcl王牌电器(惠州)有限公司 Data copy system and data copy method
CN112863162A (en) * 2020-12-29 2021-05-28 Tcl王牌电器(惠州)有限公司 Infrared signal transmitting device and method
CN114079831A (en) * 2022-01-19 2022-02-22 龙旗电子(惠州)有限公司 Production line information transmission processing method, automatic detection system and equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174362A (en) * 2006-10-31 2008-05-07 佛山市顺德区顺达电脑厂有限公司 Automatic remote control test system and test approach thereof
CN101500255A (en) * 2008-02-03 2009-08-05 中国移动通信集团公司 Mobile terminal test method and system
CN101634681A (en) * 2009-08-21 2010-01-27 深圳创维数字技术股份有限公司 Automatic test system of electronic device
CN202075860U (en) * 2011-05-12 2011-12-14 冠捷显示科技(厦门)有限公司 Automated testing system of remote control terminal
CN102316498A (en) * 2010-07-09 2012-01-11 中兴通讯股份有限公司 Automatic test method and system for wireless network
CN102930710A (en) * 2012-10-25 2013-02-13 Tcl通力电子(惠州)有限公司 Method and device for realizing infrared remote control by mobile phone
US8566648B2 (en) * 2011-02-02 2013-10-22 Salesforce, Inc. Automated testing on devices
CN103839404A (en) * 2012-11-23 2014-06-04 中兴通讯股份有限公司 Automatic test apparatus of infrared remote control equipment, and method thereof
CN104202208A (en) * 2014-08-04 2014-12-10 上海斐讯数据通信技术有限公司 A test fixture for a loopback function of a communication terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174362A (en) * 2006-10-31 2008-05-07 佛山市顺德区顺达电脑厂有限公司 Automatic remote control test system and test approach thereof
CN101500255A (en) * 2008-02-03 2009-08-05 中国移动通信集团公司 Mobile terminal test method and system
CN101634681A (en) * 2009-08-21 2010-01-27 深圳创维数字技术股份有限公司 Automatic test system of electronic device
CN102316498A (en) * 2010-07-09 2012-01-11 中兴通讯股份有限公司 Automatic test method and system for wireless network
US8566648B2 (en) * 2011-02-02 2013-10-22 Salesforce, Inc. Automated testing on devices
CN202075860U (en) * 2011-05-12 2011-12-14 冠捷显示科技(厦门)有限公司 Automated testing system of remote control terminal
CN102930710A (en) * 2012-10-25 2013-02-13 Tcl通力电子(惠州)有限公司 Method and device for realizing infrared remote control by mobile phone
CN103839404A (en) * 2012-11-23 2014-06-04 中兴通讯股份有限公司 Automatic test apparatus of infrared remote control equipment, and method thereof
CN104202208A (en) * 2014-08-04 2014-12-10 上海斐讯数据通信技术有限公司 A test fixture for a loopback function of a communication terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106097701A (en) * 2016-07-29 2016-11-09 无锡思泰迪半导体有限公司 A kind of infrared chip test platform based on FPGA
CN107844390A (en) * 2016-09-19 2018-03-27 乐视控股(北京)有限公司 A kind of method and device of automatic test feedback
CN107886705A (en) * 2017-12-28 2018-04-06 上海传英信息技术有限公司 A kind of infrared remote control method of testing and system
CN108174376A (en) * 2017-12-28 2018-06-15 飞天诚信科技股份有限公司 A kind of method and system for preventing interference
CN108922153A (en) * 2018-04-26 2018-11-30 Tcl王牌电器(惠州)有限公司 Data copy system and data copy method
CN112863162A (en) * 2020-12-29 2021-05-28 Tcl王牌电器(惠州)有限公司 Infrared signal transmitting device and method
CN114079831A (en) * 2022-01-19 2022-02-22 龙旗电子(惠州)有限公司 Production line information transmission processing method, automatic detection system and equipment
CN114079831B (en) * 2022-01-19 2022-06-24 龙旗电子(惠州)有限公司 Production line information transmission processing method, automatic detection system and equipment

Similar Documents

Publication Publication Date Title
CN105809948A (en) Automatic testing method and system for infrared control equipment
CA2818232C (en) Automated searching for solutions to support self-diagnostic operations of web-enabled devices
US20150318935A1 (en) Apparatus and method for testing
CN105425065A (en) Intelligent household electrical appliance automatic production test system and method
CN110209559B (en) Non-invasive monitoring method, control equipment and storage medium
US10320650B2 (en) Testing a network using a communication device
CN104200644B (en) Equipment remote-control method, function terminal and intelligent terminal
CN103530226A (en) Method and device for testing peripheral compatibility of electronic device
CN103369402A (en) Method and system for comparing functional consistency of multiple set top boxes
CN105046612A (en) Mobile medical system based on APP
CN104966396A (en) Learning method for remote control codes of air conditioner based on cloud platform
WO2019024450A1 (en) Device fault detection method and apparatus
US20180164758A1 (en) Information processing method, cloud service platform and information processing system
CN105046614A (en) Mobile medical system based on mobile terminal
CN104468288A (en) Terminal network data testing method and device
CN111666193B (en) Method and system for monitoring and testing terminal function based on real-time log analysis
CN104506249A (en) Method and device for realizing network configuration on wireless device, and wireless device
CN106598793B (en) Test system and test method based on BIOS serial port log data
Tekcan et al. User-driven automatic test-case generation for DTV/STB reliable functional verification
KR20130063866A (en) Diagonosis system for m2m device and the method thereof
CN105808422A (en) Network-based software test method, client and to-be-tested equipment
US11915249B2 (en) Mobile terminal and method for registering electronic device by mobile terminal
CN108418869B (en) Sharing and installing method, device, system and medium of application program
CN112118591A (en) Equipment network state analysis control method, system and computer storage medium
CN105182761A (en) Specified operation triggering method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160727

RJ01 Rejection of invention patent application after publication