CN107390671B - Automatic test system and method for remote control equipment - Google Patents

Automatic test system and method for remote control equipment Download PDF

Info

Publication number
CN107390671B
CN107390671B CN201710547934.0A CN201710547934A CN107390671B CN 107390671 B CN107390671 B CN 107390671B CN 201710547934 A CN201710547934 A CN 201710547934A CN 107390671 B CN107390671 B CN 107390671B
Authority
CN
China
Prior art keywords
test
module
tested
case
remote control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710547934.0A
Other languages
Chinese (zh)
Other versions
CN107390671A (en
Inventor
刘平
张建新
赵汝沛
杜友清
张羽喆
郑茂
谢兴超
罗建春
曾培
李强林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Jiuzhou Electronic Technology Co Ltd
Original Assignee
Sichuan Jiuzhou Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Jiuzhou Electronic Technology Co Ltd filed Critical Sichuan Jiuzhou Electronic Technology Co Ltd
Priority to CN201710547934.0A priority Critical patent/CN107390671B/en
Publication of CN107390671A publication Critical patent/CN107390671A/en
Application granted granted Critical
Publication of CN107390671B publication Critical patent/CN107390671B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0216Human interface functionality, e.g. monitoring system providing help to the user in the selection of tests or in its configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses an automatic test system and a method of remote control equipment.A test case acquisition module, a monitoring module, a signal transmitting module and a control signal input module are respectively connected with a processing module; a signal receiving module, a working state output module and a working log storage module in the tested equipment under remote control are respectively connected with the information scheduling module; a tester selects a case or a case sequence to be executed by the testing device through a friendly man-machine interface of the testing device, the testing device executes the test case and transmits a remote control test signal to the tested device, the tested device receives the remote control test instruction to perform automatic testing, and whether a work log storage function is used or not can be selected according to different testing items and types of the tested device, so that the automatic analysis function of a later-stage testing result is realized.

Description

Automatic test system and method for remote control equipment
Technical Field
The invention relates to the technical field of equipment testing, in particular to an automatic testing system and method of remote control equipment.
Background
With the rapid development of computer technology, communication technology, network technology, control technology and information technology, the national economic level is continuously improved, the number of remote control devices such as intelligent household appliances, children toys, remote monitoring and the like owned in work and life is continuously increased, and remote controllers are added to the modes such as Bluetooth, WiFi, GPRS, radio frequency and the like from a single traditional infrared mode. Consumers put higher demands on the functions and performances of remote-controlled equipment, manufacturers of remote-controlled control equipment pay more and more attention to the stability of the functions of the products in research, development and production stages, such as the standby and the starting of all the remote-controlled equipment for tens of thousands times, frequent opening and closing of automobile door locks, frequent lifting of automobile windows, frequent opening and closing of automobile window defogging switches, frequent switching of all the functions, switching of video input modes of televisions for thousands times, switching of platforms, entering and exiting of menus, and switching tests of actions of going forward, going backward, left and right scheduling, indicator light changing and the like of remote-controlled vehicles, remote-controlled aircrafts, remote-controlled robots and intelligent floor sweeping machines for thousands times.
At present, some automatic testing devices or methods are arranged in the product industries of televisions, air conditioners, automobiles and the like, but the testing devices are only suitable for single type products and single remote control modes, and the automatic testing function of one testing device which is compatible with all remote control equipment cannot be realized. Most other types of products controlled by remote control still stop at present and test according to the mode of remote controller button by the manual work, the repeated button operation of testers is very boring, and the test at every turn is different along with different time differences of personnel, thus easily resulting in the problems of function test omission, insufficient test, low test efficiency, manpower cost waste and the like.
At present, there are two automatic test modes in the remote control equipment industries such as intelligent household appliances, children's toys, remote monitoring and the like: 1. the upper computer drives the testing device, the testing device simulates remote control to transmit a remote control testing instruction to the tested equipment, and the tested equipment receives the testing instruction to carry out automatic testing; 2. the tested equipment is accessed to the USB flash disk of the sequence configuration file to be tested, and the test sequence in the USB flash disk is analyzed by the system software of the tested equipment, so that automatic test is realized.
The disadvantages of the first test scheme described above: 1. the testing device is only suitable for a single type of product and cannot be compatible with other types of products; 2. the type of the remote control signal simulated by the testing device is single, the remote control signal is limited to an infrared remote control signal, and the testing device cannot be compatible with the existing novel remote control signals such as Bluetooth, WIFI, GPRS, radio frequency and the like; 3. the test device needs to be externally connected with a computer to input a test sequence, the test system has many members, the system is complex to build, the system is inconvenient to carry, and the automation test popularization difficulty is high; 4. the test device unmanned aerial vehicle interactive interface can only operate and monitor the working state of the test device through an external computer, and the test device can not perform test operation and display the current working state.
The disadvantages of the second test scheme described above: 1. limited to a device under test with a USB interface; 2. the software of the tested equipment needs to be developed in a targeted manner to realize the self-testing function of the software, the development workload and the cost are large, and the popularization difficulty is high; 3. the system test is incomplete, the remote controller of the tested equipment receives the function and processes the test omission of the software and hardware module of the remote control signal instruction, and the purpose of simulating the test of the use scene (driven by the external control signal) of the user cannot be achieved.
Disclosure of Invention
The invention overcomes the defects of the prior art and provides an automatic test system and a method of the remote control controlled equipment, which are convenient for automatic test.
In view of the above problems of the prior art, according to one aspect of the present disclosure, the following technical solutions are adopted in the present invention:
an automatic test system for a remotely controlled device, comprising a test apparatus, the test apparatus comprising:
the test case acquisition module is used for acquiring a test case designed according to the characteristics of the tested equipment, packaging the case and numbering the title; or calling a standard test case; or acquiring a test case from a computer in an online input mode;
the processing module is used for generating a test instruction for executing the test case according to the test case acquired by the test case acquisition module;
the signal transmitting module is used for transmitting a test instruction to the tested equipment, and the tested equipment receives the test instruction through the signal receiving module and executes a test case through the information scheduling module;
and the test end working state output module is used for outputting the working state information tested by the test device.
In order to better realize the invention, the further technical scheme is as follows:
according to one embodiment of the invention, the test cases and the test config files required by the test are stored in the memory, and the test case acquisition module acquires the test cases and the test config files from the memory accessed with the test case acquisition module.
According to another embodiment of the present invention, control information is added to the test config file, and the processing module parses and executes the control information.
According to another embodiment of the present invention, the memory is one or a combination of a U disk, a mobile hard disk, a TF card and an SD card.
According to another embodiment of the present invention, the system further comprises a control input module, wherein the control input module is connected with the processing module, and the control input module is used for inputting control information and transmitting the control information to the processing module.
According to another embodiment of the invention, the control input module comprises one or two of an input module of the testing device and an external input interface of the testing device, wherein the input module of the testing device comprises a key and/or a touch screen, and the external input interface of the testing device is a network port and/or a serial port.
According to another embodiment of the invention, the signal transmitting module comprises a Bluetooth remote control module, an infrared remote control module, a WiFi remote control module, a radio frequency remote control module, a GPRS remote control module and other future novel remote control modules.
According to another embodiment of the invention, the device further comprises a monitoring and result analyzing device connected with the testing device and the tested device, and the connected medium comprises one or a combination of a plurality of network cables, serial ports, AV, S-video, HDMI, YPbPr and the like.
According to another embodiment of the invention, a tested end working state output module and/or a working log storage module are/is further arranged in the tested device.
The invention can also be:
a method of testing an automatic test system for a remotely controlled device, comprising:
step S001: designing a test case according to the characteristics of the tested equipment, packaging the case and numbering the title;
step S002: selecting a remote control signal type according to the characteristics of a remote controller equipped with the tested equipment, and debugging a signal transmitting module of the testing device to enable the signal transmitting module to be paired with a signal receiving module of the tested equipment;
step S003: storing the test case and the test config file required by the test in the step S001 into a memory, wherein the memory is accessed to a test case acquisition module of the test device, or calls a standard test case, or acquires the test case from a computer in an online input mode;
step S004: the tester operates the control input module of the test device, selects the test case or the test case combination sequence to be executed, and controls the test device processing module to execute the test case; or the control information is described in the test config file and is analyzed and executed by the processing module;
step S005-1: the test device stores the expected result of the working log of the corresponding tested device in the executed test case into an expected working log file;
step S005-2: the signal transmitting module of the testing device transmits a remote control testing instruction to the tested equipment;
step S005-3: a test end working state output module of the test device displays the project name, the case title number or the title number sequence, the case execution state and the case execution progress information of the current test;
step S006: the tested equipment receives a test instruction through the signal receiving module, and the information scheduling module executes a test case;
step S007: judging whether the tested equipment needs to store the working log or not;
step S008: the working log storage module of the tested device stores the executed working log file into a memory;
step S009-1: the monitoring and result analyzing device compares and analyzes the expected work log file output in the step S005-1 and the work log file output in the step S008, and automatically judges a test result;
step S009-2: and if the step S007 confirms that the tested equipment does not need to store the working log, manually judging the test result.
Compared with the prior art, the invention has the following beneficial effects:
the invention relates to an automatic test system and a method of a remote control controlled device, comprising:
1) the applied products are of a wide variety: the invention can be applied to traditional remote controlled household appliances (such as televisions, intelligent floor sweepers, fans, air conditioners, lamps and the like), controlled toys (such as remote control cars, remote control boats, remote control aircrafts, remote control animals and remote control toy robots), controlled engineering equipment (such as remote control mechanical arms, remote control high-voltage switches and remote control transportation equipment), monitoring equipment, unmanned aerial vehicles and other remote controlled equipment;
2) the control signals applied are of various kinds: the device can test the devices which are remotely controlled by traditional infrared signals and also supports the test which is increasingly applied to remote control devices by Bluetooth, Wi-Fi, GPRS and radio frequency signals in the recent market;
3) the test case compiling and automatic test system has low application and popularization difficulty: the test case is designed based on the system test device, when testing different types of remote control equipment, a tester does not need to know the software development flow of the tested equipment, and can complete the test case compiling work of the product described in 'the application product wide variety' only by mastering the use method of the system test device. The system test device not only supports the test personnel to design test exceptions according to the product characteristics of the tested device, but also supports the provision of standard test cases with interface packaging for users, and the standard test cases can be directly called by the test personnel;
4) the system is convenient to build: at present, an automatic testing device in the industry needs to be externally connected with a computer to input a testing sequence, a plurality of testing system members are formed, and the system is complex to build. The automatic test system can only comprise the test device and the tested equipment, the single test device is convenient to carry, and the test system is simple to build;
5) good human-computer interface: the testing device is provided with a key and a screen (an LED nixie tube or an LCD display screen or a touch screen), and a tester can perform testing operation and display the current working state of the testing device through a human-computer interface of the testing device;
6) a test result automatic judgment mechanism is added, if the function requirement for the test result automatic judgment of the tested equipment does not exist, the software of the tested equipment does not need to be developed for the second time, and the automatic test development cost is reduced;
in conclusion, the invention can simulate the practical application environment of a user, meets the automatic test requirement of the existing remote control equipment in a low-cost mode, and achieves the purposes of reducing labor cost, improving test efficiency and enhancing product quality.
Drawings
For a clearer explanation of the embodiments or technical solutions in the prior art of the present application, the drawings used in the description of the embodiments or prior art will be briefly described below, it is obvious that the drawings in the following description are only references to some embodiments in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a block diagram of an automatic test system for remotely controlled devices in accordance with one embodiment of the present invention.
FIG. 2 is a block diagram of input/output device connections of a test apparatus according to one embodiment of the present invention.
FIG. 3 is a schematic diagram of a test flow according to an embodiment of the present invention.
Fig. 4a and 4b are schematic diagrams of a human-machine interface of a standby-wakeup test control of a test apparatus with a control input module according to an embodiment of the invention.
Fig. 5a and 5b are schematic diagrams illustrating a standby-wakeup test state of a test apparatus with an output module according to an embodiment of the invention.
Detailed Description
The present invention will be described in further detail with reference to examples, but the embodiments of the present invention are not limited thereto.
In order to realize the automatic test function of the remote control equipment such as household appliances, toys, engineering equipment, remote equipment and the like, as shown in fig. 1, the automatic test system of the remote control equipment comprises a test device 1, the remote control controlled equipment to be tested 2, a monitoring and result analyzing device 3 and the like, wherein the test device 1 comprises a test case acquisition module 11, a test end working state output module 12, a processing module 13, a signal transmitting module 14, a control input module 15 and the like; the tested equipment under remote control consists of a signal receiving module 21, an information scheduling module 22, a tested end working state output module 23 and a working log storage module 24; the monitoring and result analyzing device 3 is composed of an audio/video monitoring device 31 and a computer 32.
The test case acquisition module 11, the monitoring module, the signal transmitting module 14 and the control input module 15 are respectively connected with the processing module 13; the signal receiving module 21, the testing end working state output module 12 and the working log storage module 24 in the tested device 2 under remote control are respectively connected with the information scheduling module 22; the monitoring and result analyzing device 3 is connected with the testing device 1 in a wired mode, wherein a medium connected with the audio and video monitoring equipment 31 comprises one or a combination of AV, S-video, HDMI and YPbPr lines, and a medium connected with a computer comprises one or a combination of a network cable and a serial port; the test device 1 is connected with a device under test 2 under remote control by a remote control signal.
As shown in fig. 2, the test case obtaining module 11 is composed of one or a combination of two of a mobile storage device interface 111 and a computer communication interface 112; the test end working state output module 12 is composed of one or two of an output module 121 of the test device and an external monitor interface 122 of the test device; the signal transmitting module 14 comprises a Bluetooth remote control module 141, an infrared remote control module 142, a WiFi remote control module 143, a radio frequency remote control module 144, a GPRS remote control module 145 and other future novel remote control modules 146; the control input module 15 is composed of one or two combinations of an input module 151 carried by the testing device and an external input interface 152 of the testing device.
The test case obtaining module 11 is used for obtaining a test case designed according to the characteristics of the tested device, packaging the case and numbering the title, or calling a standard test case, or obtaining the test case from a computer in an online input manner; the processing module 13 is configured to generate a test instruction 4 for executing the test case according to the test case acquired by the test case acquisition module 11; the signal transmitting module 14 is configured to transmit a test instruction 4 to the device under test 2, and the device under test 2 receives the test instruction 4 through the signal receiving module 21 and executes a test case through the information scheduling module 22; the testing end working state output module 12 is used for outputting the working state information tested by the testing device 1.
The test case input mode is composed of one or two combinations of mobile memory input and computer online input, wherein the mobile memory comprises one or more combinations of a U disk, a mobile hard disk, a TF card, an SD card and a mobile phone; the control signal input mode of the test device 1 is composed of one or two combinations of an input interface (such as a key and a touch screen) of the test device and computer online input; the working state information display mode of the testing device 1 is composed of one or two combinations of a screen (an LED nixie tube or an LCD display screen or a touch screen) of the testing device and an external monitoring and result analyzing device; the signal transmitting module transmits signals which are composed of one or a combination of more of infrared, WiFi, Bluetooth, GPRS, radio frequency and other novel future remote control signals; the working log output mode is composed of one or two combinations of mobile memory storage and computer online storage, wherein the mobile memory comprises one or more combinations of a U disk, a mobile hard disk, a TF card and an SD card.
The touch screen in the output module 121 of the test apparatus and the input module 151 of the test apparatus can be shared; the computer communication interface 112, the testing device external monitor interface 122 and the network port and the serial port in the testing device external input interface 152 can be shared; the monitoring and result analysis device 3 and the test end working state output module 23 and the working log storage module 24 in the tested device 2 controlled by remote control are selectable modules, and the configuration of the automatic test system is reasonably selected and configured according to the software characteristics and the product type characteristics of the tested product.
The tester selects the case or case sequence to be executed by the testing device through the friendly man-machine interface of the testing device, the testing device executes the test case and transmits the remote control test signal to the tested device, and the tested device receives the remote control test instruction to perform automatic test. According to different types of test items and tested equipment, whether a work log storage function is used or not can be selected, so that the function of automatically analyzing a later test result is realized. The working process of the invention is as follows:
s001: and designing a test case according to the characteristics of the tested device, packaging the case and numbering the titles.
The test case consists of test title number, test input (which can be null), test steps, and expected results of the test step corresponding to the work log of the tested device. Wherein the test input includes contents of: the type of the remote controller of the device to be tested, the name of the key of the remote controller, the user code of the remote controller (aiming at the infrared remote controller, the user code can be null), the WIFI SSID and password of the device to be tested (aiming at the WiFi remote controller, the local point-to-point pairing mode can be null), the WiFi SSID and password of the router (aiming at the WiFi remote controller, the testing device and the device to be tested are paired in the local area network or the remote internet, the device to be tested can be null), the Bluetooth name and the pairing password of the device to be tested (aiming at. According to the actual situation of the product remote controller of the tested device 2 under remote control, the mapping relationship between the test input parameter name and the actual value in the test case can be described in the test config file in the following S003 or set in the related interface of the control input module 15 of the test setting device 1 in the following S004 step; the testing step is written and described by recognizable languages of the testing device, and the languages comprise HTML, script languages (Tcl, ASP, PHP, CGI, JSP, JavaScript, VBscript, self-defined command languages aiming at the testing device in the invention and the like), programming languages (C, C + +, Java, C #, and the like); the "expected result of the working log of the device under test" may be null when writing the test case, and the "expected working log file" described in S005-1 may be automatically generated by the testing apparatus 1 at the later stage by analyzing the test steps in the test case.
The test case is divided into two cases, namely a standard test case which is designed by an automatic test device system software designer, packaged by a case interface and stored in an automatic test device system, and the test case tester can directly call the standard test case through the packaged interface, as shown in the following example 1; another test case designed by the tester according to the product characteristics of the tested device under remote control is as the following example 2, which is only used for explaining the workflow of the present invention and does not limit the specific embodiments of the present invention.
Example 1:
Figure GDA0002256361600000101
Figure GDA0002256361600000111
the standard test case can be called to all tested devices by a tester, wherein 'STANDBY-DATA', 'STARTUP-TIME', 'STANDBY-total' are packaging interfaces of the standard test case, the tester only needs to know the title number '1S' of the STANDBY wakeup case, the key value 'STANDBY-DATA' of the STANDBY remote controller of the tested devices, the TIME-consuming 'STARTUP-TIME' of the tested devices, and the number of TIMEs of the required completion of the STANDBY wakeup test, 'STANDBY-total', and describes the value in a 'test config file' in S003 below or sets the value in a related interface of a control input module (15) of an S004 step test device (1) below.
Example 2:
Figure GDA0002256361600000112
the test case is an intensity test case switched 1000 times in a television signal Source menu, example 2 can be stored as a text document, the document is named as '2U-Source', wherein '2U' is a test case title number, U represents that the test case is a user writing case, and the case can be stored in a memory in the following step S003. According to the actual remote controller condition of the tested device 2 product under remote control, the mapping relationship between the names of all remote controller keys (such as Source) and the actual remote controller key values and the test case number "2U" are described in the test config file "in S003 below.
S002: according to the characteristics of a remote controller equipped for the tested equipment, the remote control signal type (Bluetooth, infrared, WiFi, GPRS, radio frequency, other novel remote control signal types in the future) is selected, and the signal sending module of the testing device is debugged to be successfully matched with the signal receiving module of the tested equipment.
After pairing is successful, mapping relationships between the signal type ID of the remote controller (such as bluetooth ID 001, infrared ID 002, WiFi 003, GPRS ID 004, and radio frequency 005), all key names of the remote controller of the device under test 2 (taking a remote control car as an example, the key names include Left, Right, Front, Back, and the like) and key values of the actual remote controller can be described in a "test config file" in S003 below.
S003: the test case and the test config file required for the test in S001 are stored in the memory, and the memory is accessed to the test case acquisition module 11 of the test apparatus 1.
S004: the tester operates the control input module 15 of the test device 1, selects a test case or a test case combination sequence to be executed, and controls the test device processing module 13 to execute the test case.
The software control interface of the control input module 15 of the testing device 1 has 2 display modes, one mode is directly displayed on a screen (an LED nixie tube or an LCD display screen or a touch screen) of the testing device, and the other mode can access the menu WEB page display of the control input module 15 in an external computer mode. Taking the standard test case "1S-STANDBY" in S001 case 1 as an example, the man-machine interface displayed by the "1S-STANDBY" case on the input module 151 of the test apparatus is controlled by the control operation shown in fig. 4a and 4 b.
S005-1: the test device 1 stores the "expected result of the work log of the corresponding device under test" in the executed test case into the "expected work log file".
S005-2: the signal transmitting module 14 of the testing device 1 transmits the remote control testing instruction 4 to the tested device.
S005-3: the test end working state output module 12 of the test device 1 displays information such as a project name, a case title number or a title number sequence, a case execution state, a case execution progress and the like of a current test. Taking the execution state of the standard test case "1S-STANDBY" in S001 case 1 as an example, the state screenshot of the "1S-STANDBY" case displayed on the input module 151 of the testing apparatus is shown in fig. 5a and 5 b.
S006: the device under test 2 receives the test instruction through the signal receiving module 21, and the information scheduling module 22 executes the test case.
S007: and judging whether the tested device 2 needs to store the working log or not.
The determination of whether the device under test 2 needs to store the identification ID of the work log (if the identification ID that needs to be stored is 1, the identification that does not need to be stored is 0) may be described in step S003 "test config file".
S008: the working log storage module 24 of the device under test 2 stores the executed working log file in a memory.
S009-1: and the monitoring and result analyzing device compares and analyzes the expected work log file output in the step S005-1 and the work log file output in the step S008, and automatically judges the test result.
S009-2: and if the step S007 confirms that the tested device 2 does not need to store the working log, manually judging the test result.
In the above flow, the following scheme can be used instead:
the first scheme is as follows: the control input module 15 of fig. 1 may be eliminated, and the test results of the present invention can still be achieved after the elimination. After the control input module is cancelled, all the control information to be input can be described in the "test config file" in step S003, and is analyzed and executed by the processing module 13 of the test apparatus.
Scheme II: the monitoring and result analysis device 3 in fig. 1 can be eliminated, and the test effect of the present invention can still be achieved after the elimination. The "monitoring and result analysis device" function after cancellation can be performed by the test device 1.
The third scheme is as follows: the test end working state output module 23 in the tested device under remote control can be cancelled, and the test result of the invention can still be realized after the cancellation.
And the scheme is as follows: aiming at the test in the non-development stage, the software of the market product may shield the output function of the working log, in this case, the working log storage module 24 in fig. 1 can be cancelled, and the purpose of automatic test can still be achieved through a manual judgment mode after cancellation.
The test result of the invention can also be realized by singly canceling the modules of the control input module 15, the audio and video monitoring equipment 31, the computer 32 and the tested end working state output modules 23 and 24 and canceling the modules in combination.
The remote control equipment comprises remote control household appliances such as a television, an intelligent sweeper, a fan, an air conditioner, a set top box, a lamp, an automobile and the like; controlled toys, such as remote control cars, remote control boats, remote control aircraft, remote control animals, remote control toy robots; controlled engineering equipment, such as remote control mechanical arms, remote control high-voltage switches, and remote control transportation equipment; the remote control equipment comprises remote control equipment such as remote monitoring equipment, a remote switch equipment, an unmanned aerial vehicle and other novel future remote control equipment capable of being controlled through Bluetooth, infrared, WiFi, radio frequency, GPRS and the like.
In summary, (1) the present invention solves the problem of single product type of the tested device, and the testing device can test all the devices under remote control; (2) the problem of single remote control signal is solved, and one testing device can test the traditional infrared signal remote control equipment and also support newly added Bluetooth, Wi-Fi, GPRS and radio frequency signal remote control equipment in the recent market; (3) the test case compiling and automatic test system application and popularization difficulty is reduced: the test case is designed based on the system test device, when testing different types of remote control equipment, a tester does not need to know the software development flow of the tested equipment, and can complete the product test case compiling work described in the application product wide variety by only mastering the use method of the system test device. The system test device not only supports the test personnel to design test exceptions according to the product characteristics of the tested device, but also supports the provision of standard test cases with interface packaging for users, and the standard test cases can be directly called by the test personnel; (4) the automatic testing device in the current industry needs to be externally connected with a computer to input a testing sequence, and the testing system has more members and complex system construction. The automatic test system can only comprise the test device and the tested equipment, the single test device is convenient to carry, and the test system is simple to build; (5) the testing device can be provided with a key and a screen (an LED nixie tube or an LCD display screen or a touch screen) to provide a good man-machine interaction interface for a tester, and the tester can perform testing operation and display the current working state of the tester through the man-machine interaction interface of the testing device; (6) compared with the self-testing scheme of the software of the tested equipment, the invention can simulate the real use scene of a user to drive the tested equipment to work, thereby solving the problem that the automatic testing of the software is not close to the actual application environment of the product; (7) and a test result automatic judgment mechanism is added, if the test result automatic judgment requirement of the tested equipment does not exist, the software of the tested equipment does not need to be developed for the second time, and the automatic test development cost of the tested equipment is reduced.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
Reference throughout this specification to "one embodiment," "another embodiment," "an embodiment," etc., means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment described generally in this application. The appearances of the same phrase in various places in the specification are not necessarily all referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with any embodiment, it is submitted that it is within the scope of the invention to effect such feature, structure, or characteristic in connection with other embodiments.
Although the invention has been described herein with reference to a number of illustrative embodiments thereof, it should be understood that numerous other modifications and embodiments can be devised by those skilled in the art that will fall within the spirit and scope of the principles of this disclosure. More specifically, various variations and modifications are possible in the component parts and/or arrangements of the subject combination arrangement within the scope of the disclosure and claims of this application. In addition to variations and modifications in the component parts and/or arrangements, other uses will also be apparent to those skilled in the art.

Claims (9)

1. An automatic test system for remotely controlled devices, characterized by comprising a test apparatus (1), said test apparatus (1) comprising:
the test case acquisition module (11) is used for acquiring a test case designed according to the characteristics of the tested equipment, packaging the case and numbering the title; or calling a standard test case; or acquiring a test case from a computer in an online input mode;
the processing module (13) is used for generating a test instruction (4) for executing the test case according to the test case acquired by the test case acquisition module (11);
the signal transmitting module (14) is used for transmitting a test instruction (4) to the tested device (2), and the tested device (2) receives the test instruction (4) through the signal receiving module (21) and executes a test case through the information scheduling module (22);
the testing end working state output module (12) is used for outputting the working state information tested by the testing device (1); the testing step of the testing system comprises the following steps:
step S001: designing a test case according to the characteristics of the tested equipment (2), packaging the case and numbering the title;
step S002: selecting a remote control signal type according to the characteristics of a remote controller equipped with the tested device (2), and debugging a signal transmitting module (14) of the testing device (1) to pair with a signal receiving module (21) of the tested device (2);
step S003: storing the test case and the test config file required by the test in the step S001 into a memory, wherein the memory is accessed into a test case acquisition module (11) of the test device (1), or calls a standard test case, or acquires the test case from a computer in an online input mode;
step S004: a tester operates a control input module (15) of the testing device (1), selects a test case or a test case combination sequence to be executed, and controls a processing module (13) of the testing device to execute the test case; or the control information is described in a test config file and is analyzed and executed by the processing module (13); step S005-1: the test device (1) stores the expected result of the working log of the corresponding tested device in the executed test case into an expected working log file;
step S005-2: the signal transmitting module (14) of the testing device (1) transmits a remote control testing instruction (4) to the tested equipment;
step S005-3: a test end working state output module (12) of the test device (1) displays the project name, the case title number or the title number sequence, the case execution state and the case execution progress information of the current test;
step S006: the tested device (2) receives a test instruction through the signal receiving module (21), and the information scheduling module (22) executes a test case;
step S007: judging whether the tested device (2) needs to store a working log or not;
step S008: a working log storage module (24) of the tested device (2) stores the executed working log file into a memory;
step S009-1: the monitoring and result analyzing device compares and analyzes the expected work log file output in the step S005-1 and the work log file output in the step S008, and automatically judges a test result;
step S009-2: and if the step S007 confirms that the tested device (2) does not need to store the working log, manually judging the test result.
2. The automatic test system of a remotely controlled device according to claim 1, characterized in that test cases and test config files required for the test are stored in a memory, and the test case obtaining module (11) obtains the test cases and the test config files from the memory accessed thereto.
3. The automatic test system of remotely controlled devices according to claim 2, characterized in that the test config file has control information added thereto, and the processing module (13) parses and executes the control information.
4. The automatic test system of the remotely controlled device as claimed in claim 2 or 3, wherein the memory is one or a combination of a U disk, a mobile hard disk, a TF card and an SD card.
5. The automatic test system of a remotely controlled device according to claim 1, further comprising a control input module (15), said control input module (15) being connected to said processing module (13), the control input module (15) being adapted to input control information and to transmit it to said processing module (13).
6. The automatic test system of the remote controlled equipment according to claim 5, characterized in that the control input module (15) comprises one or two of an input module (151) of the test device (1) and an external input interface (152) of the test device, wherein the input module (151) of the test device comprises a key and/or a touch screen, and the external input interface (152) of the test device is a network port and/or a serial port.
7. The automatic test system of a remotely controlled device according to claim 5, characterized in that the signal emitting module (14) comprises a Bluetooth remote control module (141), an infrared remote control module (142), a WiFi remote control module (143), a radio frequency remote control module (144) and a GPRS remote control module (145).
8. The automatic test system of the remote controlled equipment according to claim 5, wherein the test end working state output module (12) comprises one or two of an output module (121) of the test device (1) and an external output interface (122) of the test device, wherein the output module (121) of the test device comprises an LED nixie tube or an LCD display screen or a touch screen.
9. The automatic test system of the remote controlled device according to claim 1, further comprising a monitoring and result analyzing device (3) connected to the test device (1) and the tested device (2), wherein the connected medium comprises one or more of a network cable, a serial port, an AV, an S-video, an HDMI and a YPbPr cable; the tested device (2) is also provided with a tested end working state output module (23) and/or a working log storage module (24).
CN201710547934.0A 2017-07-06 2017-07-06 Automatic test system and method for remote control equipment Active CN107390671B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710547934.0A CN107390671B (en) 2017-07-06 2017-07-06 Automatic test system and method for remote control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710547934.0A CN107390671B (en) 2017-07-06 2017-07-06 Automatic test system and method for remote control equipment

Publications (2)

Publication Number Publication Date
CN107390671A CN107390671A (en) 2017-11-24
CN107390671B true CN107390671B (en) 2020-02-21

Family

ID=60335498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710547934.0A Active CN107390671B (en) 2017-07-06 2017-07-06 Automatic test system and method for remote control equipment

Country Status (1)

Country Link
CN (1) CN107390671B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920311A (en) * 2018-06-07 2018-11-30 四川斐讯信息技术有限公司 A kind of test method and test equipment of Intelligent lamp
CN109450560B (en) * 2018-09-25 2021-08-10 广州求远电子科技有限公司 Detection system and detection method of low-frequency communication device and terminal equipment
CN110954214B (en) * 2018-09-27 2024-05-17 北京京东尚科信息技术有限公司 Equipment testing method, device and system
CN109669434A (en) * 2018-11-13 2019-04-23 昆山优尼电能运动科技有限公司 Unmanned plane automated testing method and system
CN109522229B (en) * 2018-11-15 2021-08-17 四川九州电子科技股份有限公司 Testing method of efficient automatic testing system
CN110139298B (en) * 2019-05-06 2022-10-14 四川九州电子科技股份有限公司 WiFi automatic test system and test method thereof
CN113884121A (en) * 2021-08-27 2022-01-04 惠州市德赛西威汽车电子股份有限公司 Semi-automatic point inspection method for man-machine interaction interface of vehicle-mounted instrument
CN115933606B (en) * 2022-12-22 2023-11-14 芜湖特益智能科技有限公司 Multifunctional floor washing machine controller and instrument detection device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953564A (en) * 2006-11-22 2007-04-25 Ut斯达康通讯有限公司 A test system and method for set top box
CN100520849C (en) * 2006-12-27 2009-07-29 凌阳科技股份有限公司 Device and method for automatically testing distant control function
CN101876676A (en) * 2009-04-30 2010-11-03 深圳市九洲电器有限公司 Method and device for automatically testing household appliance
CN102291595A (en) * 2011-07-08 2011-12-21 深圳创维数字技术股份有限公司 Testing method and device
CN103839404B (en) * 2012-11-23 2017-05-10 中兴通讯股份有限公司 Automatic test apparatus of infrared remote control equipment, and method thereof
CN103345446B (en) * 2013-07-10 2016-04-20 四川九洲电器集团有限责任公司 A kind of automated testing method being applicable to remote control series products
US20180060218A1 (en) * 2016-08-23 2018-03-01 Le Technology, Inc. D/B/A Leeco Remote control testing in a development environment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
红外遥控设备自动测试系统的研究;潘星;《中国优秀硕士学位论文全文数据库信息科技辑》;20150315;I140-726 *

Also Published As

Publication number Publication date
CN107390671A (en) 2017-11-24

Similar Documents

Publication Publication Date Title
CN107390671B (en) Automatic test system and method for remote control equipment
CN108566323B (en) T-Box automated testing method and system
CN111104341B (en) Automatic testing method, device, equipment and storage medium for intelligent household equipment
CN111737153A (en) Automatic testing method and system for vehicle machine
CN110262378A (en) A method of online programming is realized using APP control robot
CN111080170A (en) Workflow modeling method and device, electronic equipment and storage medium
CN108132724A (en) A kind of touch screen debugs detection method and device
CN107328592A (en) Air conditioner testing method, device and system, processor and storage medium
EP3836126A1 (en) Information processing device, mediation device, simulate system, and information processing method
CN111159047A (en) Android equipment auxiliary debugging device with visual interface and operation method thereof
CN112332997A (en) Network distribution method of terminal equipment, terminal equipment and computer readable storage medium
CN202795345U (en) Application software test system
CN109581104B (en) Method for testing touch screen of vehicle-mounted entertainment system
CN113495545A (en) System and method for testing vehicle equipment controller using in-loop hardware
CN112148241A (en) Light processing method and device, computing equipment and storage medium
CN117851248A (en) Test equipment and test method for vehicle-mounted terminal application
CN112860559A (en) Upgrade test system and method
CN104192712B (en) For producing the method for engineering machinery control signal, handheld terminal and system
US11561520B2 (en) Power conversion system with programming support
CN116224963A (en) Automatic testing device of remote vehicle control system and construction method thereof
CN215868152U (en) Infrared remote control device
CN114168482A (en) Test method of vehicle control unit
CN114925516A (en) Method and device for automatic modeling and simulation
US20150229534A1 (en) Integrated control system for devices in a premise
CN114355862A (en) Unmanned function testing method and system based on sand table

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