CN111739273A - Test method and system - Google Patents
Test method and system Download PDFInfo
- Publication number
- CN111739273A CN111739273A CN202010786059.3A CN202010786059A CN111739273A CN 111739273 A CN111739273 A CN 111739273A CN 202010786059 A CN202010786059 A CN 202010786059A CN 111739273 A CN111739273 A CN 111739273A
- Authority
- CN
- China
- Prior art keywords
- remote
- test
- target
- test instruction
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04K—SECRET COMMUNICATION; JAMMING OF COMMUNICATION
- H04K3/00—Jamming of communication; Counter-measures
- H04K3/60—Jamming involving special techniques
- H04K3/68—Jamming involving special techniques using passive jamming, e.g. by shielding or reflection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Selective Calling Equipment (AREA)
Abstract
The present application relates to the field of testing technologies, and in particular, to a testing method and system. The test method provided by the embodiment of the application comprises the following steps: the processing equipment sends the target test instruction to the programmable relay; the programmable relay controls the remote controller to generate a remote control signal according to the target test instruction, and the remote controller is used for sending the remote control signal to the remote-controllable equipment corresponding to the remote controller after generating the remote control signal; the processing equipment receives response result representation information of the remote control equipment aiming at the remote control signal, and obtains a remote control test result of the remote control equipment according to the response result representation information, so that automatic test of the remote control equipment is realized.
Description
Technical Field
The present application relates to the field of testing technologies, and in particular, to a testing method and system.
Background
With the continuous improvement of living standard, people also put higher requirements on the rapidness, the simplification, the intellectualization and the humanization of life, and the remote control equipment is an important pushing hand for realizing the requirement of people. During the production process of the remote controllable device, the remote controllable device is usually required to be tested to obtain the remote controllability test result of the remote controllable device, so as to perform refurbishment when the remote controllability test result is not qualified. In the prior art, the remote control device is usually tested by manually pressing the remote controller, so that the testing process is complicated, and a large amount of labor and time cost are wasted.
Disclosure of Invention
An object of the present application is to provide a testing method and system to solve the above problems.
In a first aspect, the test method provided by the present application is applied to a test system, the test system includes a processing device and a programmable relay, the processing device is connected with the programmable relay, the programmable relay is used for connecting a remote controller, and the test method includes:
the processing equipment sends the target test instruction to the programmable relay;
the programmable relay controls the remote controller to generate a remote control signal according to the target test instruction, and the remote controller is used for sending the remote control signal to the remote-controllable equipment corresponding to the remote controller after generating the remote control signal;
the processing equipment receives response result representation information of the remote control equipment aiming at the remote control signal, obtains a remote control test result of the remote control equipment according to the response result representation information, if the remote control test result is unqualified, the first target number of times of remote control performance test is repeatedly carried out on the remote control equipment by controlling the programmable relay, if the remote control test result is qualified, the second target number of times of remote control performance test is repeatedly carried out on the remote control equipment by controlling the programmable relay, and the first target number is smaller than the second target number;
if the target test instruction is a pairing test instruction, the programmable relay controls the remote controller to generate a remote control signal according to the target test instruction, and the method comprises the following steps:
the programmable relay determines a first target contact group corresponding to the pairing test instruction and controls the first target contact group to be closed so as to control the remote controller to generate a pairing control signal, the remote controller is used for sending the pairing control signal to remote-controllable equipment corresponding to the remote controller so as to enable the remote-controllable equipment to be paired with the remote controller, and the remote-controllable equipment is used for generating shielding request information and sending the shielding request information to the processing equipment after the remote controller is successfully paired with the remote controller;
after receiving the shielding request information, the processing device generates a shielding control instruction and sends the shielding control instruction to the remote-controllable device, so that the remote-controllable device shields the Bluetooth pairing attribute of the remote-controllable device after receiving the shielding control instruction.
With reference to the first aspect, an embodiment of the present application further provides a first optional implementation manner of the first aspect, where the sending, by the processing device, the target test instruction to the programmable relay includes:
the processing equipment acquires the test requirement information, selects a target test instruction from a preset test instruction set according to the test requirement information, and sends the target test instruction to the programmable relay;
or the processing equipment acquires the test requirement information, selects a sub-test instruction set comprising the target test instruction from a preset test instruction set according to the test requirement information, and sends the sub-test instruction set to the programmable relay.
With reference to the first optional implementation manner of the first aspect, an embodiment of the present application further provides a second optional implementation manner of the first aspect, where the processing device obtains the test requirement information, selects a target test instruction from a preset test instruction set according to the test requirement information, and sends the target test instruction to the programmable relay, where the method includes:
the processing equipment acquires the test requirement information, selects a target test instruction from a preset test instruction set according to the test requirement information, copies the target test instruction to acquire a plurality of target test instructions, and sends the plurality of target test instructions to the programmable relay.
With reference to the first optional implementation manner of the first aspect, an embodiment of the present application further provides a third optional implementation manner of the first aspect, where the processing device obtains the test requirement information, selects a target test instruction from a preset test instruction set according to the test requirement information, and sends the target test instruction to the programmable relay, and then the test method further includes:
and the programmable relay copies the target test instruction to obtain a plurality of target test instructions.
With reference to the first optional implementation manner of the first aspect, an embodiment of the present application further provides a fourth optional implementation manner of the first aspect, where the processing device obtains test requirement information, selects a sub-test instruction set including a target test instruction from a preset test instruction set according to the test requirement information, and sends the sub-test instruction set to the programmable relay, where the method includes:
the processing equipment acquires the test requirement information, and selects a sub-test instruction set comprising a target test instruction from a preset test instruction set according to the test requirement information;
the processing equipment copies each test instruction included in the sub-test instruction set, obtains an expanded sub-test instruction set, and sends the expanded sub-test instruction set to the programmable relay.
With reference to the first optional implementation manner of the first aspect, an embodiment of the present application further provides a fifth optional implementation manner of the first aspect, where the processing device obtains test requirement information, selects a sub-test instruction set including a target test instruction from a preset test instruction set according to the test requirement information, and sends the sub-test instruction set to the programmable relay, and then the test method further includes:
the programmable relay copies each test instruction included in the sub-test instruction set to obtain the expanded sub-test instruction set.
With reference to the first aspect, an embodiment of the present application further provides a sixth optional implementation manner of the first aspect, where the remote control device is configured to generate a feedback log according to a response result of the remote control device after receiving a remote control signal sent by the remote controller, and send the feedback log to the processing device, and the processing device receives response result characterization information of the remote control device for the remote control signal, and obtains a remote controllability test result of the remote control device according to the response result characterization information, and the method includes:
and the processing equipment receives the feedback log, takes the feedback log as response result representation information of the remotely controllable equipment aiming at the remote control signal, and obtains a remote control test result of the remotely controllable equipment according to the response result representation information.
With reference to the first aspect, an embodiment of the present application further provides a seventh optional implementation manner of the first aspect, where the remotely controllable device is a display device, the test system further includes an image pickup device, the image pickup device is connected to the processing device, and the test method further includes:
the image pickup equipment acquires a picture display result of the remote control equipment after receiving the remote control signal and sends the picture display result to the processing equipment;
the processing equipment receives response result representation information of the remote control equipment for the remote control signal, and obtains a remote control test result of the remote control equipment according to the response result representation information, and the method comprises the following steps:
and the processing equipment receives the picture display result, takes the picture display result as response result representation information of the remote control equipment aiming at the remote control signal, and acquires a remote control test result of the remote control equipment according to the response result representation information.
With reference to the eighth optional implementation manner of the first aspect, an embodiment of the present application further provides an eighth optional implementation manner of the first aspect, where the processing device receives the screen display result, and uses the screen display result as response result characterization information of the remote control device for the remote control signal, so as to obtain a remote controllability test result of the remote control device according to the response result characterization information, and the method includes:
the processing equipment receives the picture display result, and takes the picture display result as response result representation information of the remote control equipment aiming at the remote control signal;
the processing equipment acquires a theoretical display result corresponding to the target test instruction;
and acquiring a remote controllability test result of the remote controllable equipment according to the response result representation information and the comparison result of the theoretical display result.
With reference to the first aspect, an embodiment of the present application further provides a ninth optional implementation manner of the first aspect, where the test system further includes a plurality of network transmission devices, the programmable relays are provided with a plurality of programmable relays, the processing device is respectively connected to the plurality of programmable relays through the network transmission devices, and the processing device sends the target test instruction to the programmable relays, including:
the processing equipment sends the target test instruction to the network transmission equipment so that the network transmission equipment receives the target test instruction and obtains target address information carried in the target test instruction so as to send the target test instruction to the programmable relays corresponding to the target address information in the plurality of programmable relays.
With reference to the first aspect, an embodiment of the present application further provides a tenth optional implementation manner of the first aspect, where the remote controller is configured to monitor whether the remote controller is capable of generating a control signal corresponding to the target test instruction under the control of the programmable relay after the programmable relay receives the target test instruction, and successfully send the remote control signal to the remote controllable device to obtain a monitoring result, and the test method further includes:
and the processing equipment receives the monitoring result so as to obtain the usability test result of the remote controller according to the monitoring result.
In a second aspect, the test system provided in the embodiment of the present application includes a processing device and a programmable relay, where the processing device is connected with the programmable relay, and the programmable relay is used to connect with a remote controller;
the processing equipment is used for sending the target test instruction to the programmable relay;
the programmable relay is used for controlling the remote controller to generate a remote control signal according to the target test instruction, and the remote controller is used for sending the remote control signal to the remote-controllable equipment corresponding to the remote controller after the remote controller generates the remote control signal;
the processing equipment is used for receiving response result representation information of the remotely controllable equipment aiming at the remote control signal, obtaining a remote control performance test result of the remotely controllable equipment according to the response result representation information, if the remote control performance test result is unqualified, repeatedly performing a first target number of times of remote control performance test on the remotely controllable equipment by controlling the programmable relay, and if the remote control performance test result is qualified, repeatedly performing a second target number of times of remote control performance test on the remotely controllable equipment by controlling the programmable relay, wherein the first target number is smaller than the second target number;
if the target test instruction is a pairing test instruction, the programmable relay controls the remote controller to generate a remote control signal according to the target test instruction, and the method comprises the following steps:
the programmable relay determines a first target contact group corresponding to the pairing test instruction and controls the first target contact group to be closed so as to control the remote controller to generate a pairing control signal, the remote controller is used for sending the pairing control signal to remote-controllable equipment corresponding to the remote controller so as to enable the remote-controllable equipment to be paired with the remote controller, and the remote-controllable equipment is used for generating shielding request information and sending the shielding request information to the processing equipment after the remote controller is successfully paired with the remote controller;
the processing device is further used for generating a shielding control instruction after receiving the shielding request information, and sending the shielding control instruction to the remote-controllable device, so that the remote-controllable device shields the Bluetooth pairing attribute of the remote-controllable device after receiving the shielding control instruction.
The testing method and system provided by the embodiment of the application can send a target testing instruction to the programmable relay through the processing equipment, the programmable relay controls the remote controller to generate a remote control signal according to the target testing instruction, the remote controller is used for sending the remote control signal to the remote-controllable equipment corresponding to the remote controller after generating the remote control signal, then the processing equipment receives response result characterization information of the remote-controllable equipment aiming at the remote control signal and obtains a remote-controllable performance testing result of the remote-controllable equipment according to the response result characterization information, if the remote-controllable performance testing result is unqualified, the first target number of remote-controllable performance tests are repeatedly carried out on the remote-controllable equipment through controlling the programmable relay, if the remote-controllable performance testing result is qualified, the second target number of remote-controllable performance tests are repeatedly carried out on the remote-controllable equipment through controlling the programmable relay, the first target number is less than the second target number. Therefore, automatic testing of the remote-controllable equipment can be realized, compared with the scheme that the remote-controllable equipment is tested by manually pressing the remote controller in the prior art, the testing process is simple, and meanwhile, a large amount of labor and time cost can be saved;
further, if the target test instruction is a pairing test instruction, the programmable relay controls the remote controller to generate a remote control signal according to the target test instruction, including: the programmable relay determines a first target contact group corresponding to the pairing test instruction and controls the first target contact group to be closed so as to control the remote controller to generate a pairing control signal, the remote controller is used for sending the pairing control signal to the remote-controllable device corresponding to the remote controller so as to enable the remote-controllable device to be paired with the remote controller Bluetooth, the remote-controllable device is used for generating shielding request information and sending the shielding request information to the processing device after being successfully paired with the remote controller Bluetooth, the processing device generates a shielding control instruction after receiving the shielding request information and sends the shielding control instruction to the remote-controllable device so as to enable the remote-controllable device to shield the Bluetooth pairing attribute of the remote-controllable device after receiving the shielding control instruction, and therefore normal pairing of other remote-controllable devices and other remote controllers in a use environment is prevented from being interfered.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic connection relationship diagram of a test system provided in an application process according to an embodiment of the present application.
Fig. 2 is a schematic structural block diagram of a processing device according to an embodiment of the present application.
Fig. 3 is a schematic structural block diagram of a programmable relay provided in an embodiment of the present application.
Fig. 4 is a flowchart illustrating steps of a testing method according to an embodiment of the present disclosure.
Fig. 5 is a schematic connection relationship diagram of another test system provided in the embodiment of the present application in an application process.
Reference numerals: 100-a test system; 110-a processing device; 111-a first processor; 112-a first memory; 120-programmable relay; 130-a network transmission device; 121-a second processor; 122-a second memory; 123-target contact set; 124-contact controller; 200-a remote controller; 300-remotely controllable device.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Furthermore, it should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Referring to fig. 1, a schematic connection relationship diagram of a test system 100 in an application process according to an embodiment of the present disclosure is shown, where the test system 100 includes a processing device 110 and a programmable relay 120, the processing device 110 is connected to the programmable relay 120, the programmable relay 120 is connected to a remote controller 200, and the remote controller 200 corresponds to a remote controllable device 300.
In this embodiment of the application, the processing Device 110 may be a terminal Device, such as a computer, a Personal Digital Assistant (PAD), a Mobile Internet Device (MID), or a server, and the embodiment of the application is not limited thereto.
Referring to fig. 2, structurally, the processing device 110 may include a first processor 111 and a first memory 112.
The first processor 111 and the first memory 112 are electrically connected directly or indirectly to transmit or interact data, for example, the components can be electrically connected to each other through one or more communication buses or signal lines. The first processor 111 is arranged to execute the executable modules stored in the first memory 112 to implement the steps performed by the processing device 110 in the test method.
The first processor 111 may execute the computer program upon receiving the execution instruction. The first processor 111 may be an integrated circuit chip having signal processing capability. The first Processor 111 may also be a general-purpose Processor, for example, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a discrete gate or transistor logic device, a discrete hardware component, which may implement or execute some of the methods, steps, and logic blocks disclosed in the embodiments of the present application, and furthermore, the general-purpose Processor may be a microprocessor or any conventional Processor.
The first Memory 112 may be, but is not limited to, a Random Access Memory (RAM) 112, a Read Only Memory (ROM) 112, a Programmable Read-Only Memory (PROM) 112, an erasable Programmable Read-Only Memory (EPROM) 112, and an electrically erasable Programmable Read-Only Memory (EEPROM) 112. The first memory 112 is used for storing a program, and the first processor 111 executes the program after receiving the execution instruction.
It should be understood that the structure shown in fig. 2 is merely illustrative, and the processing device 110 provided in the embodiment of the present application may have fewer or more components than those in fig. 2, or may have a different configuration from that shown in fig. 2. Further, the components shown in fig. 2 may be implemented by software, hardware, or a combination thereof.
Referring to fig. 3, in the embodiment of the present application, the programmable relay 120 includes a second processor 121, a second memory 122, and a plurality of target contact sets 123.
The second processor 121 and the second memory 122 are electrically connected directly or indirectly to realize data transmission or interaction, for example, the components can be electrically connected with each other through one or more communication buses or signal lines. The second processor 121 is configured to execute the executable modules stored in the second memory 122 to implement the steps executed by the programmable relay 120 in the testing method.
The second processor 121 may execute a computer program after receiving the execution instruction, and in this embodiment, the computer program executed by the second processor 121 may be a Python script and an Udp protocol. The second processor 121 may be an integrated circuit chip having signal processing capability. The second processor 121 may also be a general-purpose processor, for example, a DSP, an ASIC, a discrete gate or transistor logic device, a discrete hardware component, a microprocessor, or any other conventional processor, and the like, which may implement or perform some of the methods, steps, and logic blocks disclosed in the embodiments of the present application.
The second memory 122 may be, but is not limited to, RAM, ROM, PROM, EPROM, and EEPROM. The second memory 122 is used for storing a program, and the second processor 121 executes the program after receiving the execution instruction.
For each target contact set 123 of the plurality of target contact sets 123, the target contact set 123 may be a normally open contact set of the programmable relay 120, and includes a normally open end and a common end, the normally open end and the common end are controlled to open and close by a contact controller 124 included in the programmable relay 120, the contact controller 124 is connected to the second processor 121, when the contact controller 124 obtains an electrical signal under the control of the second processor 121, the normally open end and the common end contact to close the target contact set 123, and when the contact controller 124 loses the electrical signal under the control of the second processor 121, the normally open end and the common end disconnect to open the target contact set 123.
In the process of testing the remote controllable device 300 by the testing system 100, for each target contact set 123 in the plurality of target contact sets 123, the target contact set 123 is used to connect the positive electrode and the negative electrode of the corresponding target key on the remote controller 200, for example, the normally open end in the target contact set 123 is connected to the positive electrode of the target key, and the common end is connected to the negative electrode of the target contact set 123, and for example, the normally open end in the target contact set 123 is connected to the negative electrode of the target key, and the common end is connected to the positive electrode of the target contact set 123, which is not specifically limited by the embodiment of the present application.
It should be understood that the structure shown in fig. 3 is merely illustrative, and the programmable relay 120 provided in the embodiments of the present application may have fewer or more components than those shown in fig. 3, or may have a different configuration than that shown in fig. 3. Further, the components shown in fig. 3 may be implemented by software, hardware, or a combination thereof.
In this embodiment, the remote controller 200 may be a bluetooth remote controller 200, which includes a plurality of target keys, and during the process of testing the remote-controllable device 300 through the testing system 100, the plurality of target keys are connected with the plurality of target contact sets 123 in a one-to-one correspondence manner, and the specific connection manner is as above, which is not described herein again. In addition, in this embodiment of the present application, the remote controllable device 300 may be a remote controllable intelligent household appliance such as an intelligent television, a projection device, an air conditioner, and the like, which is not limited in this embodiment of the present application.
During testing of remotely controllable device 300 by test system 100, processing device 110 is used to send targeted test instructions to programmable relay 120. The programmable relay 120 is configured to receive the target test instruction and control the remote controller 200 to generate a remote control signal according to the target test instruction, the remote controller 200 is configured to, after generating the remote control signal, the remote control signal is transmitted to the remote controllable device 300 corresponding to the remote controller 200, and thereafter, the processing device 110 receives response result characterizing information of the remote controllable device 300 with respect to the remote control signal, and obtains the result of the remote controllability test of the remotely controllable device 300 according to the response result characterization information, and if the result of the remote controllability test is not qualified, the first target number of remote control capability tests are repeatedly performed on the remote controllable device 300 by controlling the programmable relay 120, and if the remote control capability test result is acceptable, the remotely controllable device 300 is repeatedly subjected to a second target number of times of remotely controllable performance tests by controlling the programmable relay 120, the first target number being less than the second target number.
Further, if the target test instruction is a pairing test instruction, the programmable relay 120 controls the remote controller to generate a remote control signal according to the target test instruction, including: the programmable relay 120 determines a first target contact group corresponding to the pairing test instruction and controls the first target contact group to be closed so as to control the remote controller 200 to generate a pairing control signal, the remote controller 200 is used for sending the pairing control signal to the remote controllable device 300 corresponding to the remote controller 200 so as to enable the remote controllable device 300 to be in bluetooth pairing with the remote controller 200, the remote controllable device 300 is used for generating shielding request information and sending the shielding request information to the processing device 110 after being successfully in bluetooth pairing with the remote controller 200, and the processing device 110 is further used for generating a shielding control instruction after receiving the shielding request information and sending the shielding control instruction to the remote controllable device 300 so as to enable the remote controllable device 300 to shield the bluetooth pairing attribute of the remote controllable device 300 after receiving the shielding control instruction.
Based on the same inventive concept as the test system 100, the embodiment of the present application further provides a test method, please refer to fig. 4, which is a schematic flow chart of the test method provided by the embodiment of the present application, and the method is applied to the test system 100 shown in fig. 1. It should be noted that the testing method provided in the embodiment of the present application is not limited by the sequence shown in fig. 4 and the following, and the specific flow and steps of the testing method are described below with reference to fig. 4.
And step S100, the processing equipment sends the target test instruction to the programmable relay.
In the embodiment of the application, the target test instruction can be compiled manually in advance and stored in the processing device, and the target test instruction corresponds to one key operation, for example, whether the remote control device can successfully respond to the independent key operation of a certain target key on the remote controller or the concurrent key operation of a plurality of target keys is tested, in addition, a program segment corresponding to the target test instruction can be packaged into a function form, so that the processing device can directly call one or more corresponding target test instructions according to the test requirement information after obtaining the test requirement information, thereby enhancing the portability of the code and facilitating the later maintenance. Based on this, for step S100, in the embodiment of the present application, as an optional implementation manner, it may include step S110 or step S120.
And step S110, the processing equipment acquires the test requirement information, selects a target test instruction from a preset test instruction set according to the test requirement information, and sends the target test instruction to the programmable relay.
In this embodiment of the application, the test requirement information may be used to indicate whether the remote control device needs to be tested specifically to successfully respond to an independent key operation of a certain target key on the remote controller, or to perform concurrent key operations of certain target keys, where the test on whether the remote control device can successfully respond to an independent key operation of a certain target key on the remote controller may also include testing whether the remote control device can successfully respond to a short-term independent key operation (short-term "short-term pressing operation") or a long-term independent key operation (short-term "long-term pressing operation") of a certain target key on the remote controller. In addition, the short press operation may be a press operation in which the press duration is within a first preset duration range, and the long press operation may be a press operation in which the press duration is within a second preset duration range. In practical implementation, the first preset time period may be (0.5S, 1S), and the second preset time period may be [2S, 4S ].
By taking the remote control device as the projection device and taking the plurality of target keys of the remote controller as an example, if the remote control device successfully responds to the long-press operation of the first key, the remote control device enters a system setting page, if the remote control device successfully responds to the short-press operation of the second key, the remote control device enters a screen locking page, and if the remote control device successfully responds to the concurrent key operations of the first key and the second key, the remote control device tries to perform Bluetooth pairing with the remote controller. Therefore, the test instruction set may include a first test instruction, a second test instruction, and a third test instruction, where the first test instruction is used to test whether the remote-controllable device can successfully respond to the long-press operation of the first key, the second test instruction is used to test whether the remote-controllable device can successfully respond to the short-press operation of the second key, and the third test instruction is used to test whether the remote-controllable device can successfully respond to the concurrent key operations of the first key and the second key. If the test requirement information indicates that whether the remote control equipment can successfully respond to the long-press operation of the first key or not needs to be tested, the processing equipment can select the first test instruction from the test instruction set, use the first test instruction as a target test instruction and send the target test instruction to the programmable relay, and if the test requirement information indicates that whether the remote control equipment can successfully respond to the concurrent key operation of the first key and the second key or not needs to be tested, the processing equipment can use the third test instruction as the target test instruction and send the target test instruction to the programmable relay.
In addition, it should be noted that in this embodiment of the application, when the processing device sends the target test instruction to the programmable relay, after obtaining the test requirement information, and selecting the target test instruction from a preset test instruction set according to the test requirement information, the processing device may copy the target test instruction to obtain multiple identical target test instructions, and then send the multiple identical target test instructions to the programmable relay, so as to implement repeated testing of the remotely controllable device, thereby increasing reliability of the remotely controllable test result. Of course, in the embodiment of the present application, after the processing device obtains the test requirement information and selects the target test instruction from the preset test instruction set according to the test requirement information, the target test instruction may also be sent to the programmable controller, and the programmable controller performs a copy operation on the target test instruction to obtain multiple identical target test instructions, so as to implement a repeat test on the remotely controllable device, thereby increasing reliability of the remotely controllable test result. And step S120, the processing equipment acquires the test requirement information, selects a sub-test instruction set comprising the target test instruction from a preset test instruction set according to the test requirement information, and sends the sub-test instruction set to the programmable relay.
If the test requirement information indicates that the remote control device needs to be tested whether to successfully respond to the long-press operation of the first key and whether the remote control device needs to be tested whether to successfully respond to the concurrent key operation of the first key and the second key, the processing device may select the first test instruction and the third test instruction from the test instruction set to form a sub-test instruction set, and send the sub-test instruction set to the programmable relay, where the first test instruction or the third test instruction is the target test instruction in the process.
Also, in this embodiment, when the processing device sends the sub-test instruction set to the programmable relay, the processing device may perform a copy operation on each test instruction included in the sub-test instruction set after obtaining the test requirement information and selecting the sub-test instruction set including the target test instruction from a preset test instruction set according to the test requirement information, so as to expand the number of test instructions included in the sub-test instruction set, and then send the expanded sub-test instruction set to the programmable relay, thereby implementing a repeat test on the remotely controllable device, and thus increasing reliability of a remotely controllable test result. Of course, in this embodiment of the application, after the processing device obtains the test requirement information and selects the sub-test instruction set including the target test instruction from the preset test instruction set according to the test requirement information, the sub-test instruction set may also be sent to the programmable controller, and the programmable controller performs a copy operation on each test instruction included in the sub-test instruction set, so as to expand the sub-test instruction set, thereby implementing a repeat test of the remotely controllable device, and increasing reliability of a remotely controllable test result.
It is understood that, in step S110, the processing device sends the target test instruction to the programmable relay in a serial sending manner, and the target test instructions sent before and after may be used to test response results of the remotely controllable device for different key operations, and in step S120, the processing device sends different target test instructions to the programmable relay in a parallel sending manner, and is used to test response results of the remotely controllable device for different key operations.
Further, as for step S100, in this embodiment of the application, it may also include step S130, where the processing device sends the preset test instruction set to the programmable relay as a whole, the programmable relay is configured to select a target test instruction from the test instruction set according to the test requirement information after the test instruction set is obtained, or the programmable relay is configured to select a sub-test instruction set including the target test instruction from the test instruction set according to the test requirement information after the test instruction set is obtained.
Continuing to use the remote control device as a projection device, taking the plurality of target keys of the remote controller as an example, where the test requirement information indicates whether the test of the remote control device is required to successfully respond to the long press operation of the first key and whether the test of the remote control device is required to successfully respond to the concurrent press operation of the first key and the second key, after the processing device sends a test instruction set including a first test instruction, a second test instruction and a third test instruction to the programmable relay, the programmable relay may select the first test instruction from the test instruction set as the target test instruction and continue to execute steps S200 and S300, and then select the third test instruction from the test instruction set as the target test instruction and continue to execute steps S200 and S300, or after obtaining the test instruction set, and selecting a sub-test instruction set including the target test instruction, that is, selecting a sub-test instruction set including the first target test instruction and the third target test instruction, and executing the step S200 and the step S300 in sequence through the first target test instruction and the third target test instruction, wherein the first test instruction or the third test instruction is the target test instruction in the process.
It should be noted that, in the process of executing step S130, after the programmable relay obtains the target test instruction from the test instruction set, the programmable relay may also perform a copy operation on the target test instruction to implement a repeat test on the remotely controllable device, so as to increase the reliability of the result of the remotely controllable test.
And step S200, the programmable relay controls the remote controller to generate a remote control signal according to the target test instruction, and the remote controller is used for sending the remote control signal to the remote-controllable equipment corresponding to the remote controller after the remote controller generates the remote control signal.
In the embodiment of the application, the programmable relay receives a target test instruction, determines a target contact group corresponding to the target test instruction, and controls the target contact group to be closed so as to enable the anode and the cathode of a target key connected with the target contact group to be conducted, and the remote controller is used for sending a remote control signal corresponding to the target key to the remote-controllable device corresponding to the remote controller after the anode and the cathode of the target key are conducted. It should be noted that, in this embodiment of the application, on the premise of this manner, in the stage of manual compiling of the target test instruction, the corresponding relationship between the target test instruction and the target contact group has been written in, or the target test instruction carries the contact identification number, so that, in implementation, the target contact group corresponding to the target test instruction may be determined according to the contact identification number.
In addition, it should be noted that, in this embodiment of the application, before testing the remotely controllable device, the remotely controllable device needs to be paired with the remote controller in bluetooth, and the pairing process may also be implemented by processing device control, that is, the target test instruction may be a pairing test instruction, based on which step S200 may include step S210.
And step S210, the programmable relay determines a first target contact group corresponding to the pairing test instruction and controls the first target contact group to be closed so as to control the remote controller to generate a pairing control signal, and the remote controller is used for sending the pairing control signal to the remote-controllable equipment corresponding to the remote controller so as to enable the remote-controllable equipment to be paired with the remote controller in a Bluetooth mode.
Continuing the example that the remote-controllable device is a projection device, the plurality of target keys of the remote controller include a first key and a second key, the processing device sends a third test instruction as a pairing test instruction to the programmable relay, the programmable relay determines a first target contact group corresponding to the pairing test instruction, namely, a target contact group corresponding to the first key, and a target contact group corresponding to the second target key, and then controls the first target contact group to be closed so that the anode and the cathode of the first target key connected with the first target contact group are conducted, namely, the anode and the cathode of the first key are conducted, and simultaneously, the anode and the cathode of the second key are conducted, the remote controller conducts the anode and the cathode of the first key, namely, the anode and the cathode of the second key, under the condition, the remote controller generates a pairing control signal, and sending the pairing control signal to the remote control device corresponding to the remote controller, so that the remote control device and the remote controller are successfully paired in a Bluetooth mode.
Further, in this embodiment of the application, the remote controllable device is configured to generate the shielding request information after the bluetooth pairing with the remote controller is successful, and send the shielding request information to the processing device. Based on this, the testing method provided in the embodiment of the present application may further include step S001.
And S001, after receiving the shielding request information, the processing equipment generates a shielding control instruction and sends the shielding control instruction to the remote-controllable equipment so that the remote-controllable equipment shields the Bluetooth pairing attribute of the remote-controllable equipment after receiving the shielding control instruction.
Through the setting, after the remote control equipment is successfully paired with the remote controller through Bluetooth, the interference to the use environment is avoided, and other remote control equipment is normally paired with other remote controllers.
After the remote control device and the remote controller are successfully paired, the programmable relay receives any other target test instruction (defined as a second target instruction for convenience of description) sent by the processing device, determines a second target contact group corresponding to the second target instruction, and controls the second target contact group to be closed, so that the anode and the cathode of a second target key connected with the second target contact group are conducted, and after the anode and the cathode of the second target key are conducted, the remote controller sends a remote control signal corresponding to the second target key to the remote control device corresponding to the remote controller, and the test operation is continued.
Step S300, the processing equipment receives response result representation information of the remotely controllable equipment aiming at the remote control signal, obtains a remotely controllable test result of the remotely controllable equipment according to the response result representation information, if the remotely controllable test result is unqualified, the remotely controllable equipment is repeatedly subjected to the remotely controllable performance test for the first target number of times by controlling the programmable relay, if the remotely controllable test result is qualified, the remotely controllable equipment is repeatedly subjected to the remotely controllable performance test for the second target number of times by controlling the programmable relay, and the first target number is smaller than the second target number.
For the response result representing information, in this embodiment of the present application, there may be two existing forms, first, the result representing information may be a feedback log generated by the remote controllable device according to a response result of the remote controllable device after receiving a remote control signal corresponding to the target key sent by the remote controller, and second, when the remote controllable device is a display device, for example, a remote controllable intelligent household appliance such as an intelligent television, a projection device, and the like, the result representing information may be a picture display result of the remote controllable device after receiving the remote control signal.
If the response result representation information exists in the first form, in this embodiment of the application, after receiving a remote control signal corresponding to the target key sent by the remote controller, the remotely controllable device may generate a feedback log according to its response result, and send the feedback log to the processing device. Based on this, in the embodiment of the present application, step S300 may include step S310.
Step S310, the processing device receives the feedback log, takes the feedback log as response result representation information of the remotely controllable device for the remote control signal, and obtains a remote controllability test result of the remotely controllable device according to the response result representation information.
It can be understood that, in the embodiment of the present application, if the feedback log is used as response result characterizing information of the remote control device for the remote control signal, it may be directly determined that the result of the remote controllability test of the remote control device is success or failure according to the response result characterizing information.
And after the processing equipment sends a sub-test instruction set comprising a first test instruction and a third test instruction to the programmable relay and receives a corresponding feedback log, according to a test result part corresponding to the first test instruction in the feedback log, whether the remote control equipment can successfully respond to the long-press operation of the first key can be tested, and similarly, according to a test result part corresponding to the third test instruction in the feedback log, whether the remote control equipment can successfully respond to the concurrent key operation of the first key and the second key can be tested.
In addition, it should be noted that, in the embodiment of the present application, the remotely controllable device and the processing device may implement data communication through serial port connection, for example, transmission of a feedback log. Further, based on the serial connection between the remote control device and the processing device, the remote control device may further generate corresponding error indication information and send the error indication information to the processing device when a system error occurs, the processing device may generate a stop test instruction after receiving the error indication information and send the stop test instruction to the programmable relay, and the programmable relay stops all test operations after receiving the stop test instruction, so that the display picture of the remote control device is stored in the corresponding display picture when the system sends an error.
If the response result characterization information exists in the second form, in this embodiment of the application, the test system further includes an image pickup device, and the image pickup device is connected to the processing device. Based on this, the testing method provided by the embodiment of the present application further includes step S002, and step S300 may include step S320.
In step S002, the image pickup apparatus acquires a picture display result of the remotely controllable apparatus after receiving the remote control signal, and transmits the picture display result to the processing apparatus.
Step S320, the processing device receives the screen display result, and uses the screen display result as response result representation information of the remote control device for the remote control signal, so as to obtain a remote controllability test result of the remote control device according to the response result representation information.
In practical implementation, the processing device receives the picture display result, and takes the picture display result as response result representation information of the remotely controllable device for the remote control signal, and then the processor acquires a pre-stored theoretical display result corresponding to the target test instruction, and compares the response result representation information with the theoretical display result to acquire the remote controllability test result of the remotely controllable device according to the response result representation information. It can be understood that, in the embodiment of the present application, if the response result characterization information matches the theoretical display result, it is determined that the result of the remotability test of the remotely controllable device is successful, and if the response result characterization information does not match the theoretical display result, it is determined that the result of the removability test of the remotely controllable device is failed.
In addition, in this embodiment of the application, after obtaining the result of the remote controllability test of the remote controllable device, for step S300, if the result of the remote controllability test is not qualified, the first target number of times of the remote controllability test is repeatedly performed on the remote controllable device by controlling the programmable relay, and if the result of the remote controllability test is qualified, the second target number of times of the remote controllability test is repeatedly performed on the remote controllable device by controlling the programmable relay, where the first target number is smaller than the second target number, where the first target number may be 9 times, and the second target number may be 99 times, which is not specifically limited in this embodiment of the application.
Further, in this embodiment of the application, if step S100 is executed, the processing device only sends the single-item mapping test instruction to the programmable relay without performing a copy operation on the programmable relay, and the programmable relay does not perform a copy operation on the target test instruction when receiving the target test instruction, then when step S300 is executed, if the result of obtaining the remote controllability test result of the remote controllable device is not good, the processing device copies the target test instruction according to the first target number and sends the target test instruction to the programmable relay, or sends the first copy instruction to the programmable relay, so that the programmable relay copies the target test instruction according to the first target number and starts to repeat the remote controllable performance test on the remote controllable device for the first target number of times, and if the result of obtaining the remote controllability test result of the remote controllable device is good, the processing device copies the target test instruction according to the second target number, and sending the target test instruction to the programmable relay, or sending a second copy instruction to the programmable relay, so that the programmable relay copies the target test instruction according to the second target quantity, and starts to repeatedly perform the second target quantity of times of remote control performance tests on the remote control equipment.
In this embodiment, if step S100 is executed, the processing device performs a copy operation on the single item mapping test instruction and sends the copy operation to the programmable relay, or after the single item mapping test instruction is sent to the programmable relay, the relay performs the copy operation, then when step S300 is executed, if the result of obtaining the removability test of the remotely controllable device is not good, the processing device sends a first repeat test instruction to the programmable relay, so that the programmable relay obtains a first target number of copied target test instructions according to the first repeat test instruction, repeats the first target number of removability tests on the remotely controllable device, if the result of obtaining the removability test of the remotely controllable device is good, the processing device sends a second repeat test instruction to the programmable relay, so that the programmable relay performs the second repeat test instruction, and obtaining a second target number of copied target test instructions, and repeatedly carrying out a second target number of times of remote control performance tests on the remote control equipment.
In addition, it should be further noted that, in this embodiment of the application, if the result of the remote controllability test is not good, and the programmable relay is controlled, after the first target number of times of remote controllability performance tests are repeatedly performed on the remote controllable device, a test pass proportion of the current round for the target test instruction may be obtained, if the test pass proportion is greater than a first preset proportion value, the programmable relay is controlled, and a third target number of times of remote controllability performance tests are continuously repeated on the remote controllable device, and if the test pass proportion is less than or equal to the first preset proportion value, the current round of tests for the target test instruction is stopped, and a corresponding fail alarm log is generated, where the first preset proportion value may be 60%.
Similarly, in the embodiment of the application, if the result of the remote controllability test is qualified, a test qualified proportion of the current round for the target test instruction is obtained, and if the test qualified proportion is greater than a second preset proportion value, a corresponding unqualified alarm log is generated, wherein the first preset proportion value may be 4%.
Based on the above setting, in the embodiment of the present application, after the result of the remote controllability test of the remote controllable device is obtained, if the result of the remote controllability test is unqualified, the first target number of times of the remote controllability test is repeatedly performed on the remote controllable device by controlling the programmable relay, and if the result of the remote controllability test is qualified, the second target number of times of the remote controllability test is repeatedly performed on the remote controllable device by controlling the programmable relay, where the first target number is smaller than the second target number, so that the occurrence of the situation that the second target number of times of the remote controllability test is continuously performed when the first result of the remote controllability test is unqualified in the test process for the target test instruction can be reduced, and the overall test efficiency of the remote controllable device can be improved.
Referring to fig. 3 again, in combination with fig. 5, to implement the simultaneous testing of multiple remote controllable devices 300, in this embodiment of the present application, the testing system 100 may further include a network transmission device 130, and the network transmission device 130 may be a switch or a router, based on which, in this embodiment of the present application, multiple programmable relays 120 may be provided, and the processing device 110 is connected to the multiple programmable relays 120 through the network transmission device 130, respectively, only different address information needs to be set for the multiple programmable relays 120, and it is only required to ensure that the address information is in the same network segment with the address information of the network transmission device 130, meanwhile, it is understood that, in this embodiment of the present application, the programmable relays 120 include a network interface component (not shown in the figure) in addition to the second processor 121, the second memory 122, the multiple target contact sets 123 and the multiple contact controllers 124, the network interface component is connected to the second processor 121 for implementing a communication connection with the network transmission device 130.
Based on the above arrangement, in the embodiment of the present application, step S100 may include step S120.
Step S120, the processing device sends a preset target test instruction to the network transmission device, so that the network transmission device receives the target test instruction, and obtains target address information carried in the target test instruction, so as to send the target test instruction to the programmable relays corresponding to the target address information in the plurality of programmable relays.
Through the arrangement, simultaneous testing of a plurality of remote-controllable devices can be realized, and the plurality of remote-controllable devices can be completely the same remote-controllable devices or remote-controllable devices of different types, which is not limited in the embodiment of the application.
Further, in order to expand the functionality of the testing method, in this embodiment of the application, for the target test instruction, the remote controller is configured to monitor whether the remote controller is capable of generating a control signal corresponding to the target test instruction under the control of the programmable relay after the programmable relay receives the target test instruction, and successfully send the remote control signal to the remote controllable device to obtain a monitoring result, where monitoring whether the remote controller is capable of generating the control signal corresponding to the target test instruction under the control of the programmable relay is that, after the programmable relay receives the target test instruction and controls the anode and the cathode of the target key corresponding to the target test instruction on the remote controller to be turned on, the remote controller is configured to monitor whether the remote controller is capable of generating the control signal corresponding to the target test instruction. Based on this, the testing method provided in the embodiment of the present application may further include step S400.
And step S400, the processing equipment receives the monitoring result so as to obtain the usability test result of the remote controller according to the monitoring result.
To sum up, the testing method and system provided in the embodiments of the present application can send a target test instruction to a programmable relay through a processing device, the programmable relay controls a remote controller to generate a remote control signal according to the target test instruction, the remote controller is configured to send the remote control signal to a remote controllable device corresponding to the remote controller after generating the remote control signal, the processing device receives response result characterization information of the remote controllable device for the remote control signal, and obtains a remote controllability test result of the remote controllable device according to the response result characterization information, if the remote controllability test result is unqualified, the first target number of remote controllability tests are repeatedly performed on the remote controllable device by controlling the programmable relay, if the remote controllability test result is qualified, the second target number of remote controllability tests are repeatedly performed on the remote controllable device by controlling the programmable relay, the first target number is less than the second target number. So, just can realize the automatic test of remote control equipment, for among the prior art, carry out the scheme tested to remote control equipment through artifical manual pressing remote controller, the testing process is simple, simultaneously, can save a large amount of manpowers and time cost.
In the embodiments provided in the present application, it should be understood that the disclosed method and apparatus can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. In addition, the functional modules in each embodiment of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
Further, the functions may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in each embodiment of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
It is further noted that, herein, relational terms such as "first," "second," "third," and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Claims (12)
1. A testing method is characterized by being applied to a testing system, wherein the testing system comprises a processing device and a programmable relay, the processing device is connected with the programmable relay, and the programmable relay is used for connecting a remote controller, and the testing method comprises the following steps:
the processing equipment sends a target test instruction to the programmable relay;
the programmable relay controls the remote controller to generate a remote control signal according to the target test instruction, and the remote controller is used for sending the remote control signal to the remote-controllable equipment corresponding to the remote controller after the remote controller generates the remote control signal;
the processing equipment receives response result representation information of the remotely controllable equipment aiming at the remote control signal, obtains a remotely controllable test result of the remotely controllable equipment according to the response result representation information, if the remotely controllable test result is unqualified, the remotely controllable equipment is repeatedly subjected to a first target number of times of remotely controllable performance tests by controlling the programmable relay, if the remotely controllable test result is qualified, the remotely controllable equipment is repeatedly subjected to a second target number of times of remotely controllable performance tests by controlling the programmable relay, and the first target number is smaller than the second target number;
if the target test instruction is a pairing test instruction, the programmable relay controls the remote controller to generate a remote control signal according to the target test instruction, and the method comprises the following steps:
the programmable relay determines a first target contact group corresponding to the pairing test instruction and controls the first target contact group to be closed so as to control the remote controller to generate a pairing control signal, the remote controller is used for sending the pairing control signal to a remote-controllable device corresponding to the remote controller so as to enable the remote-controllable device to be paired with the remote controller in a Bluetooth mode, and the remote-controllable device is used for generating shielding request information and sending the shielding request information to the processing device after the remote-controllable device is successfully paired with the remote controller in the Bluetooth mode;
and after receiving the shielding request information, the processing device generates a shielding control instruction and sends the shielding control instruction to the remote-controllable device, so that the remote-controllable device shields the Bluetooth pairing attribute of the remote-controllable device after receiving the shielding control instruction.
2. The method of testing of claim 1, wherein the processing device sending target test instructions to the programmable relay comprises:
the processing equipment acquires test requirement information, selects the target test instruction from a preset test instruction set according to the test requirement information, and sends the target test instruction to the programmable relay;
or the processing equipment acquires the test requirement information, selects a sub-test instruction set comprising the target test instruction from a preset test instruction set according to the test requirement information, and sends the sub-test instruction set to the programmable relay.
3. The testing method according to claim 2, wherein the processing device obtains testing requirement information, selects the target testing instruction from a preset testing instruction set according to the testing requirement information, and sends the target testing instruction to the programmable relay, and the method includes:
the processing equipment acquires test requirement information, selects a target test instruction from a preset test instruction set according to the test requirement information, copies the target test instruction, acquires a plurality of target test instructions, and sends the plurality of target test instructions to the programmable relay.
4. The testing method according to claim 2, wherein the processing device obtains testing requirement information, selects the target testing instruction from a preset testing instruction set according to the testing requirement information, and sends the target testing instruction to the programmable relay, and the testing method further comprises:
and the programmable relay copies the target test instruction to obtain a plurality of target test instructions.
5. The method according to claim 2, wherein the step of acquiring test requirement information by the processing device, selecting a sub-test instruction set including the target test instruction from a preset test instruction set according to the test requirement information, and sending the sub-test instruction set to the programmable relay includes:
the processing equipment acquires test requirement information, and selects a sub-test instruction set comprising the target test instruction from a preset test instruction set according to the test requirement information;
the processing equipment copies each test instruction included in the sub-test instruction set to obtain an expanded sub-test instruction set, and sends the expanded sub-test instruction set to the programmable relay.
6. The testing method according to claim 2, wherein after the processing device obtains testing requirement information, selects a sub-testing instruction set including the target testing instruction from a preset testing instruction set according to the testing requirement information, and sends the sub-testing instruction set to the programmable relay, the testing method further comprises:
and the programmable relay copies each test instruction included in the sub-test instruction set to obtain the expanded sub-test instruction set.
7. The testing method of claim 1, wherein the remotely controllable device is configured to generate a feedback log according to a response result of the remotely controllable device after receiving a remote control signal sent by the remote controller, and send the feedback log to the processing device, and the processing device receives response result characterization information of the remotely controllable device for the remote control signal, and obtains a remote controllability test result of the remotely controllable device according to the response result characterization information, including:
and the processing equipment receives the feedback log, takes the feedback log as response result representation information of the remotely controllable equipment aiming at the remote control signal, and acquires a remote control test result of the remotely controllable equipment according to the response result representation information.
8. The testing method of claim 1, wherein the remotely controllable device is a display device, the testing system further comprises an image capture device connected to the processing device, the testing method further comprising:
the camera shooting equipment collects a picture display result of the remotely controllable equipment after receiving the remote control signal and sends the picture display result to the processing equipment;
the processing device receives response result representation information of the remotely controllable device for the remote control signal, and obtains a remote controllability test result of the remotely controllable device according to the response result representation information, and the method comprises the following steps:
and the processing equipment receives the picture display result, takes the picture display result as response result representation information of the remotely controllable equipment aiming at the remote control signal, and acquires a remote controllability test result of the remotely controllable equipment according to the response result representation information.
9. The testing method according to claim 8, wherein the processing device receives the screen display result and uses the screen display result as response result characterizing information of the remotely controllable device for the remote control signal, so as to obtain a remote controllability test result of the remotely controllable device according to the response result characterizing information, and the method comprises:
the processing equipment receives the picture display result and takes the picture display result as response result representation information of the remotely controllable equipment aiming at the remote control signal;
the processing equipment acquires a theoretical display result corresponding to the target test instruction;
and acquiring a remote controllability test result of the remote controllable equipment according to the response result characterization information and the comparison result of the theoretical display result.
10. The testing method of claim 1, wherein the testing system further comprises a plurality of network transmission devices, the programmable relays are provided, the processing device is connected to the plurality of programmable relays through the network transmission devices, and the processing device sends the target testing instruction to the programmable relays, and the method comprises:
and the processing equipment sends the target test instruction to the network transmission equipment so that the network transmission equipment receives the target test instruction and acquires target address information carried in the target test instruction so as to send the target test instruction to a plurality of programmable relays corresponding to the target address information.
11. The testing method according to claim 1, wherein the remote controller is configured to monitor whether the remote controller can generate a control signal corresponding to the target test instruction under the control of the programmable relay after the programmable relay receives the target test instruction, and successfully send the remote control signal to the remotely controllable device to obtain a monitoring result, and the testing method further comprises:
and the processing equipment receives the monitoring result so as to obtain an availability test result of the remote controller according to the monitoring result.
12. The testing system is characterized by comprising processing equipment and a programmable relay, wherein the processing equipment is connected with the programmable relay, and the programmable relay is used for connecting a remote controller;
the processing equipment is used for sending a target test instruction to the programmable relay;
the programmable relay is used for controlling the remote controller to generate a remote control signal according to the target test instruction, and the remote controller is used for sending the remote control signal to the remote-controllable equipment corresponding to the remote controller after the remote controller generates the remote control signal;
the processing equipment is used for receiving response result representation information of the remotely controllable equipment aiming at the remote control signal, obtaining a remote control performance test result of the remotely controllable equipment according to the response result representation information, if the remote control performance test result is unqualified, repeatedly performing a first target number of remote control performance tests on the remotely controllable equipment by controlling the programmable relay, and if the remote control performance test result is qualified, repeatedly performing a second target number of remote control performance tests on the remotely controllable equipment by controlling the programmable relay, wherein the first target number is smaller than the second target number;
if the target test instruction is a pairing test instruction, the programmable relay controls the remote controller to generate a remote control signal according to the target test instruction, and the method comprises the following steps:
the programmable relay determines a first target contact group corresponding to the pairing test instruction and controls the first target contact group to be closed so as to control the remote controller to generate a pairing control signal, the remote controller is used for sending the pairing control signal to a remote-controllable device corresponding to the remote controller so as to enable the remote-controllable device to be paired with the remote controller in a Bluetooth mode, and the remote-controllable device is used for generating shielding request information and sending the shielding request information to the processing device after the remote-controllable device is successfully paired with the remote controller in the Bluetooth mode;
the processing device is further configured to generate a shielding control instruction after receiving the shielding request information, and send the shielding control instruction to the remote controllable device, so that the remote controllable device shields the bluetooth pairing attribute of the remote controllable device after receiving the shielding control instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010786059.3A CN111739273B (en) | 2020-08-07 | 2020-08-07 | Test method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010786059.3A CN111739273B (en) | 2020-08-07 | 2020-08-07 | Test method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111739273A true CN111739273A (en) | 2020-10-02 |
CN111739273B CN111739273B (en) | 2020-11-20 |
Family
ID=72658120
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010786059.3A Active CN111739273B (en) | 2020-08-07 | 2020-08-07 | Test method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111739273B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112788388A (en) * | 2020-12-02 | 2021-05-11 | 福州西德智能科技有限公司 | Multi-angle automatic testing program-controlled remote controller for television |
CN113112779A (en) * | 2021-03-26 | 2021-07-13 | 上海创米科技有限公司 | Test system and test method |
CN114664074A (en) * | 2022-03-10 | 2022-06-24 | 深圳市百泰实业股份有限公司 | Test method and system of Bluetooth remote controller |
Citations (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5432548A (en) * | 1992-02-20 | 1995-07-11 | Samsung Electronics Co., Ltd. | Apparatus for testing and adjusting audio/video signal waveforms in color television |
US6011398A (en) * | 1998-04-23 | 2000-01-04 | Associated Research, Inc. | Current-leakage tester |
EP1241615A2 (en) * | 2001-03-14 | 2002-09-18 | Ap One System Co., Ltd. | Wireless input apparatus and method using a three-dimensional pointing device |
US20050094591A1 (en) * | 2003-11-05 | 2005-05-05 | Kwon Hyuk-Joon | Wireless remote controller using time division protocol and satellite radio receiver including the same |
CN1717019A (en) * | 2004-07-02 | 2006-01-04 | 刘崇朴 | Remote control on-and-off of TV set and remote controller |
CN101113942A (en) * | 2006-07-26 | 2008-01-30 | 珠海格力电器股份有限公司 | Automatic testing device and method for air conditioner controller |
US20080068285A1 (en) * | 2006-09-15 | 2008-03-20 | Sony Corporation | Display control system and method, display control apparatus and method, and program |
KR20080029221A (en) * | 2006-09-28 | 2008-04-03 | (주)유비시큐어텍 | Remote control terminal and management server |
WO2010018415A1 (en) * | 2008-08-15 | 2010-02-18 | Verum Holding B.V. | A method and system for testing complex machine control software |
CN101981601A (en) * | 2008-04-11 | 2011-02-23 | 三菱电机株式会社 | Device state detecting device, device state detecting method, device state detecting server, device state detecting system, liver abnormality detecting device, liver abnormality detecting system, liver abnormality detecting method, and device state d |
CN202372581U (en) * | 2011-11-03 | 2012-08-08 | 珠海格力电器股份有限公司 | Testing device and system of air conditioner |
US20120229261A1 (en) * | 2011-03-09 | 2012-09-13 | Samsung Electronics Co. Ltd. | Apparatus for low power wireless communication |
WO2012129376A2 (en) * | 2011-03-23 | 2012-09-27 | Scully Signal Company | Portable truck tester |
US20130138786A1 (en) * | 2011-11-29 | 2013-05-30 | At&T Intellectual Property I, Lp | Facilitating virtual personal area networks |
JP2014021088A (en) * | 2012-07-24 | 2014-02-03 | Chugoku Electric Power Co Inc:The | Display testing device and display testing method |
CN203422844U (en) * | 2013-08-05 | 2014-02-05 | 江苏省广电有线信息网络股份有限公司南京分公司 | Remote infrared controller for interactive set-top box |
CN104483587A (en) * | 2014-12-05 | 2015-04-01 | 深圳市创荣发电子有限公司 | Control product batch testing method |
US20170178493A1 (en) * | 2015-12-18 | 2017-06-22 | Benq Corporation | Wireless pairing system |
CN108847014A (en) * | 2018-07-25 | 2018-11-20 | 河南职业技术学院 | Industrial remote controller |
US20190033975A1 (en) * | 2014-05-14 | 2019-01-31 | Leap Motion, Inc. | Systems and Methods of Tracking Moving Hands and Recognizing Gestural Interactions |
CN109451095A (en) * | 2018-12-28 | 2019-03-08 | 江苏惠通集团有限责任公司 | Detection method and device, storage medium, the terminal of remote controler |
CN209562704U (en) * | 2018-12-24 | 2019-10-29 | 骏升科技(钦州)有限公司 | A kind of remote controler pairing status releasing device |
-
2020
- 2020-08-07 CN CN202010786059.3A patent/CN111739273B/en active Active
Patent Citations (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5432548A (en) * | 1992-02-20 | 1995-07-11 | Samsung Electronics Co., Ltd. | Apparatus for testing and adjusting audio/video signal waveforms in color television |
US6011398A (en) * | 1998-04-23 | 2000-01-04 | Associated Research, Inc. | Current-leakage tester |
EP1241615A2 (en) * | 2001-03-14 | 2002-09-18 | Ap One System Co., Ltd. | Wireless input apparatus and method using a three-dimensional pointing device |
US20050094591A1 (en) * | 2003-11-05 | 2005-05-05 | Kwon Hyuk-Joon | Wireless remote controller using time division protocol and satellite radio receiver including the same |
CN1717019A (en) * | 2004-07-02 | 2006-01-04 | 刘崇朴 | Remote control on-and-off of TV set and remote controller |
CN101113942A (en) * | 2006-07-26 | 2008-01-30 | 珠海格力电器股份有限公司 | Automatic testing device and method for air conditioner controller |
US20080068285A1 (en) * | 2006-09-15 | 2008-03-20 | Sony Corporation | Display control system and method, display control apparatus and method, and program |
KR20080029221A (en) * | 2006-09-28 | 2008-04-03 | (주)유비시큐어텍 | Remote control terminal and management server |
CN101981601A (en) * | 2008-04-11 | 2011-02-23 | 三菱电机株式会社 | Device state detecting device, device state detecting method, device state detecting server, device state detecting system, liver abnormality detecting device, liver abnormality detecting system, liver abnormality detecting method, and device state d |
WO2010018415A1 (en) * | 2008-08-15 | 2010-02-18 | Verum Holding B.V. | A method and system for testing complex machine control software |
US20120229261A1 (en) * | 2011-03-09 | 2012-09-13 | Samsung Electronics Co. Ltd. | Apparatus for low power wireless communication |
WO2012129376A2 (en) * | 2011-03-23 | 2012-09-27 | Scully Signal Company | Portable truck tester |
CN202372581U (en) * | 2011-11-03 | 2012-08-08 | 珠海格力电器股份有限公司 | Testing device and system of air conditioner |
US20130138786A1 (en) * | 2011-11-29 | 2013-05-30 | At&T Intellectual Property I, Lp | Facilitating virtual personal area networks |
JP2014021088A (en) * | 2012-07-24 | 2014-02-03 | Chugoku Electric Power Co Inc:The | Display testing device and display testing method |
CN203422844U (en) * | 2013-08-05 | 2014-02-05 | 江苏省广电有线信息网络股份有限公司南京分公司 | Remote infrared controller for interactive set-top box |
US20190033975A1 (en) * | 2014-05-14 | 2019-01-31 | Leap Motion, Inc. | Systems and Methods of Tracking Moving Hands and Recognizing Gestural Interactions |
CN104483587A (en) * | 2014-12-05 | 2015-04-01 | 深圳市创荣发电子有限公司 | Control product batch testing method |
US20170178493A1 (en) * | 2015-12-18 | 2017-06-22 | Benq Corporation | Wireless pairing system |
CN108847014A (en) * | 2018-07-25 | 2018-11-20 | 河南职业技术学院 | Industrial remote controller |
CN209562704U (en) * | 2018-12-24 | 2019-10-29 | 骏升科技(钦州)有限公司 | A kind of remote controler pairing status releasing device |
CN109451095A (en) * | 2018-12-28 | 2019-03-08 | 江苏惠通集团有限责任公司 | Detection method and device, storage medium, the terminal of remote controler |
Non-Patent Citations (3)
Title |
---|
SAEED UZ ZAMAN KHAN ET AL.: "Smart Box : A TV Remote Controller Based Programmable Home Appliance Manager", 《2013 INTERNATIONAL CONFERENCE ON INFORMATICS, ELECTRONICS AND VISION(ICIEV)》 * |
廖旎焕 等: "红外遥控器综合测试装置的设计", 《现代电子技术》 * |
黄育和: "一拖多变频空调产品测试***与室外机通信接口的研究", 《机电工程技术》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112788388A (en) * | 2020-12-02 | 2021-05-11 | 福州西德智能科技有限公司 | Multi-angle automatic testing program-controlled remote controller for television |
CN113112779A (en) * | 2021-03-26 | 2021-07-13 | 上海创米科技有限公司 | Test system and test method |
CN114664074A (en) * | 2022-03-10 | 2022-06-24 | 深圳市百泰实业股份有限公司 | Test method and system of Bluetooth remote controller |
Also Published As
Publication number | Publication date |
---|---|
CN111739273B (en) | 2020-11-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111739273B (en) | Test method and system | |
WO2018095218A1 (en) | Method for remote controller upgrading test and device | |
CN103596000B (en) | Intelligent television multiple solutions handoff testing method and system | |
JP2009060633A (en) | Monitoring device for mobile communication terminal and monitor control method | |
CN103634592A (en) | Automatic test method and system for intelligent televisions | |
CN110908702B (en) | Version switching method, version switching device, computer equipment and storage medium | |
US20130314551A1 (en) | Testing method and testing apparatus for television system | |
CN111896884A (en) | Charging detection method and device | |
CN113407469B (en) | Parameter configuration method and device, storage medium and electronic device | |
CN111061448A (en) | Log information display method and device, electronic equipment and storage medium | |
CN111026651B (en) | Test method, device, storage medium and electronic equipment | |
CN108538041A (en) | Electronic equipment matching method and apply its electronic equipment | |
CN111885746B (en) | Network connection method and device of terminal equipment | |
CN110827532B (en) | Control method, terminal and storage medium | |
JP2010524284A (en) | Control method of mobile terminal | |
CN111698333A (en) | Remote control method, server and system | |
CN112069051A (en) | PUSH time-consuming testing method and terminal | |
US20230050723A1 (en) | Device testing arrangement | |
CN115426297B (en) | Function test method and device of sub-equipment, computer equipment and storage medium | |
CN118012758A (en) | Application testing system, application testing method and device | |
CN113760750B (en) | Intelligent device testing method and device, electronic device and storage medium | |
CN114945104B (en) | Television software probability problem reproduction method and device and television | |
US20240129964A1 (en) | Connection setting method that improves convenience of connection to network, information processing apparatus, and storage medium | |
CN115883822B (en) | Method and device for debugging camera of online examination system and storage medium | |
CN117061812A (en) | Screen projection processing method and device, computer equipment and storage medium |
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 |