Remote controller testing method, device and testing equipment
By determining the button triggering area and triggering method of the remote control, and selecting the target trigger from the trigger array for triggering, the problem of the limited applicability of remote control testing equipment in the prior art is solved, and accurate testing of different types of remote controls is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2022-09-21
- Publication Date
- 2026-05-26
AI Technical Summary
Existing remote control testing equipment typically only tests one type of remote control, limiting its applicability and making it difficult to adapt to different types and functions of remote controls.
By determining the button triggering area and triggering method of the remote control to be tested, the target trigger is selected from the trigger array, and it is controlled to trigger the button triggering area according to the triggering method. The actual control result is obtained, and the test result is determined based on the matching situation.
It achieves wide applicability to different types of remote controls, can accurately test their functions, has a wide range of applications, and is low in cost.
Smart Images

Figure CN117746609B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of remote control testing technology, and in particular to a remote control testing method, apparatus and testing equipment. Background Technology
[0002] Remote controls are very common and universal interactive devices, such as car remotes and television remotes, and are widely used in people's lives. To ensure the quality of remote controls, they need to be tested before being released to the market. Only those that meet the testing requirements are released to the market.
[0003] In practical applications, there are many types of remote controls, and even remote controls of the same type may differ in appearance, thickness, button functions, etc. In related technologies, remote control testing equipment typically can only test one type of remote control, limiting its applicability. Summary of the Invention
[0004] This application proposes a remote control testing method, apparatus, and testing equipment, the specific scheme of which is as follows:
[0005] One embodiment of this application proposes a remote control testing method applied to a testing device, the testing device including a trigger array, the method comprising:
[0006] Determine the button trigger area and triggering method corresponding to the function to be tested on the remote control to be tested;
[0007] The target trigger corresponding to the key triggering area is determined from the trigger array;
[0008] The target trigger is controlled to trigger the button trigger area according to the triggering method, and the actual control result of the remote control under test on the controlled device is obtained.
[0009] Based on the matching between the actual control results and the function to be tested, the test results corresponding to the function to be tested are determined.
[0010] Another aspect of this application provides a remote control testing device for use in a testing equipment, the testing equipment including a trigger array, the device comprising:
[0011] The first determining module is used to determine the button triggering area and triggering method corresponding to the function to be tested on the remote control to be tested;
[0012] The second determining module is used to determine the target trigger corresponding to the key triggering area from the trigger array;
[0013] The control module is used to control the target trigger to trigger the button trigger area according to the triggering method;
[0014] The acquisition module is used to acquire the actual control results of the remote controller under test on the controlled device;
[0015] The third determining module is used to determine the test result corresponding to the function under test based on the matching between the actual control result and the function under test.
[0016] A third aspect of this application provides a test apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements the method described in the preceding aspect.
[0017] A third aspect of this application provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the preceding aspect.
[0018] A fourth aspect of this application provides a computer program product having a computer program stored thereon, which, when executed by a processor, implements the method described in the preceding aspect.
[0019] The remote control testing method, apparatus, and testing equipment proposed in this application determine the button triggering area and triggering method corresponding to the function to be tested on the remote control under test, identify the target trigger corresponding to the button triggering area from the trigger array, control the target trigger to trigger the button triggering area according to the triggering method, and obtain the actual control result of the remote control under test on the controlled device. Based on the matching between the actual control result and the function to be tested, the test result corresponding to the function to be tested is determined. Therefore, by identifying the target trigger matching the button triggering area from the trigger array and using the target trigger to trigger the button triggering area, the trigger array can be used to test different types of remote controls, thus having a wide range of applications.
[0020] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0021] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:
[0022] Figure 1 A flowchart illustrating a remote control testing method provided in an embodiment of this application;
[0023] Figure 2 A schematic diagram of a trigger array provided in an embodiment of this application;
[0024] Figure 3 A flowchart illustrating another remote control testing method provided in this application embodiment;
[0025] Figure 4 A flowchart illustrating another remote control testing method provided in this application embodiment;
[0026] Figure 5 This is a schematic diagram of the structure of a remote control testing device provided in an embodiment of this application;
[0027] Figure 6 This is a block diagram of a testing device provided in an embodiment of this application. Detailed Implementation
[0028] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0029] The remote control testing method, apparatus, and testing equipment according to embodiments of this application are described below with reference to the accompanying drawings.
[0030] Figure 1 This is a flowchart illustrating a remote control testing method provided in an embodiment of this application.
[0031] The remote control testing method of this application embodiment can be executed by the remote control testing device provided in this application embodiment. The device can be set in the testing equipment and can realize the testing of various types of remote controls.
[0032] like Figure 1 As shown, the method may include the following steps:
[0033] Step 101: Determine the button trigger area and triggering method corresponding to the function to be tested on the remote control to be tested.
[0034] In this application, the test device may include a trigger array, wherein the trigger array includes multiple triggers, the initial positions of the multiple triggers may be on the same horizontal plane, and the triggers may be used to trigger the buttons of the remote control.
[0035] In practical applications, a remote control may have multiple functions, different functions may correspond to different buttons, or several functions may correspond to one button, different areas of the button may be triggered to achieve different functions, or a certain function may require the simultaneous triggering of several buttons, etc.
[0036] Based on this, in this application, the test is performed according to the function of the remote control to be tested. First, the button triggering area and triggering method corresponding to the function to be tested of the remote control to be tested can be determined.
[0037] The button triggering area can be a physical button, a part of a physical button, multiple physical buttons, or a virtual button on a touch screen, etc. This application does not limit this.
[0038] The triggering method can be pressing, pressing and rotating the button, or other methods. For example, you can adjust the volume by pressing a button and rotating it clockwise; the larger the rotation angle, the louder the volume.
[0039] In this application, the button triggering area and triggering method corresponding to the function to be tested can be determined according to the preset functional test order, as well as the button triggering area and triggering method of each function.
[0040] Step 102: Determine the target trigger corresponding to the key trigger area from the trigger array.
[0041] The target trigger is a trigger used to test the key trigger area; the number of target triggers can be one or more, and this application does not limit this.
[0042] In this application, the target trigger corresponding to the key trigger area can be determined from the trigger array based on the distance between adjacent triggers in the trigger array and the range of the key trigger area.
[0043] For example, if the distance between adjacent triggers is greater than the length or width of the button trigger area, a trigger can be randomly selected from the trigger array area as the target trigger; if the distance between adjacent triggers is relatively small, a trigger within a certain area of the trigger array can be used as the target trigger.
[0044] Alternatively, in this application, the number of triggers required to cover the key triggering area can be determined based on the distance between adjacent triggers in the trigger array, and then a target trigger of the required number of triggers that can cover the key triggering area can be selected from the trigger array.
[0045] It should be noted that, in this application, the number of triggers in the trigger array can be set according to actual needs, and the distance between the triggers in the trigger array can be the same or different, and this application does not limit this.
[0046] Step 103: Control the target trigger to trigger the button trigger area according to the triggering method, and obtain the actual control result of the remote control under test on the controlled device.
[0047] In this application, each trigger in the trigger array can correspond to a motor. The target trigger can be driven by controlling the motor corresponding to the target trigger to move towards the remote control under test to trigger the button trigger area. After the triggering is completed, the target trigger can be controlled to move to the initial position, so that the button trigger area can be triggered according to the triggering method corresponding to the button trigger area.
[0048] To facilitate understanding, the following will be combined with... Figure 2 The schematic diagram of the trigger array shown is used for illustration. Figure 2 In the diagram, each circle represents a trigger, and the trigger array is 15*15, meaning there are a total of 225 triggers. For example, a certain function can be achieved by triggering button 'a' on the remote control under test. The 9 triggers in the rectangle are the target triggers that match button 'a'. So, these 9 triggers can be controlled to trigger button 'a' simultaneously to test the function.
[0049] In this application, after the control target trigger activates the button trigger area, the remote control under test can send a control command to the controlled device. If the controlled device does not receive the control command, it will not respond. If the controlled device successfully receives the control command, it can execute the command and respond accordingly based on the execution status. This can be achieved by obtaining logs from the controlled device and analyzing them to determine the actual control result of the remote control under test, or by using a camera to photograph the controlled device and determining the actual control result based on the photographed content.
[0050] Step 104: Determine the test results corresponding to the function under test based on the matching between the actual control results and the function under test.
[0051] In this application, if the actual control result matches the function to be tested, the test result corresponding to the function to be tested can be determined as a successful test; if the actual control result does not match the function to be tested, the test result corresponding to the function to be tested can be determined as a failed test.
[0052] For example, if the remote control to be tested is a TV remote control, and the function to be tested is to increase the TV volume, and the actual control result on the TV is to increase the volume, which matches the function to be tested, then the function of increasing the TV volume can be considered to have been successfully tested.
[0053] In this application, for the button triggering areas corresponding to different functions of the remote control under test, a target trigger matching the corresponding button triggering area can be determined from the trigger array, thereby triggering different button triggering areas to achieve the testing of the remote control under test.
[0054] In this embodiment, the button triggering area and triggering method corresponding to the function to be tested of the remote control under test are determined, and a target trigger corresponding to the button triggering area is determined from the trigger array. The target trigger is controlled to trigger the button triggering area according to the triggering method, and the actual control result of the remote control under test on the controlled device is obtained. Based on the matching between the actual control result and the function to be tested, the test result corresponding to the function to be tested is determined. Therefore, by determining the target trigger matching the button triggering area of different functions of the remote control from the trigger array, and using the target trigger to trigger different button triggering areas, the trigger array can be used to test different types of remote controls, thus having a wide range of applications.
[0055] Figure 3 A flowchart illustrating another remote control testing method provided in this application embodiment is shown below. Figure 2 As shown, the method includes the following steps:
[0056] Step 301: Obtain the first test video corresponding to the function to be tested.
[0057] The first test video was taken when the user tested the function to be tested on the target remote control. The target remote control and the remote control to be tested are of the same type. Here, "same type" can be understood as "same model" for the target remote control and the remote control to be tested.
[0058] In other words, the process of a user testing the function to be tested on the target remote control is pre-recorded to obtain the first test video. This first test video includes the user's operation of the target remote control, and may also include the response of the controlled device.
[0059] Alternatively, the process of the user testing the target remote control can be filmed in advance, and the first test video is extracted from the filmed video of the entire testing process.
[0060] Step 302: Analyze the first test video to determine the user's operation area and operation method with the target remote control in the first test video.
[0061] In this application, frames are extracted from the first test video to obtain multiple frames of images, and these multiple frames are then identified to determine the user's operating area and operation method on the target remote control. The operating area can be a single button, a portion of a single button, or multiple buttons, etc., and the operation method can be pressing, pressing and rotating, or pressing multiple buttons simultaneously, etc.
[0062] Step 303: Determine the key trigger area and trigger method based on the user's operation area and operation method.
[0063] In this application, the button triggering area can be determined based on the user's operating area, and the triggering method corresponding to the button triggering area can be determined based on the user's operation method of the operating area.
[0064] For example, in a pre-recorded user test video, if the user presses buttons A and B simultaneously, then the button triggering areas of the remote control to be tested on the test device are buttons A and B, and the triggering method is simultaneous pressing.
[0065] Step 304: Determine the target trigger corresponding to the key trigger area from the trigger array.
[0066] In this application, step 304 can be implemented in any of the embodiments of this application. This application does not limit this and will not elaborate further.
[0067] Step 305: Control the target trigger to trigger the button trigger area according to the triggering method, and obtain the actual control result of the remote control under test on the controlled device.
[0068] In this application, step 305 can be implemented in any of the embodiments of this application. This application does not limit this and will not elaborate further.
[0069] Step 306: Determine the test result corresponding to the function under test based on the matching between the actual control result and the function under test.
[0070] In this application, step 306 can be implemented in any of the embodiments of this application. This application does not limit this and will not elaborate further.
[0071] In this embodiment, when determining the button triggering area and triggering method corresponding to the function to be tested of the remote control under test, a first test video captured by a user testing the function to be tested on the target remote control can be acquired. By analyzing the first test video, the user's operation area and operation method on the target remote control can be determined, and the button triggering area and triggering method can be determined based on the user's operation area and operation method. Therefore, by analyzing the video of the user testing the target remote control, the testing equipment can be guided to test the remote control under test. Thus, even if the function of the remote control to be tested changes, or the type or category of the remote control to be tested changes, the testing equipment can still perform the test without modifying the program code, resulting in low cost.
[0072] Figure 4 A flowchart illustrating another remote control testing method provided in this application embodiment is shown below. Figure 4 As shown, the method includes the following steps:
[0073] Step 401: Determine the button trigger area and triggering method corresponding to the function to be tested on the remote control to be tested.
[0074] In this application, step 401 can be implemented in any of the embodiments of this application. This application does not limit this and will not elaborate further.
[0075] Step 402: Determine the target trigger corresponding to the key trigger area from the trigger array.
[0076] In this application, step 402 can be implemented in any of the embodiments of this application. This application does not limit this and will not elaborate further.
[0077] Step 403: If the target trigger does not cover the button trigger area, control the robotic arm to move so that the target trigger covers the button trigger area.
[0078] In practical applications, if the remote control to be tested is of a different type than the remote control tested previously, the target trigger may not cover the button trigger area, meaning the trigger point of the target trigger cannot fall within the button trigger area. Alternatively, if the area of the trigger array is smaller than the area of the button area on the remote control, the target trigger may not cover the button trigger area, and so on.
[0079] Based on this, in this application, the testing equipment may include a robotic arm, which is a structure that can move on a guide rail. A trigger array may be set on the robotic arm, and the robotic arm can move up and down and left and right on the guide rail.
[0080] In this application, the camera on the testing equipment can capture images or videos to determine whether the target trigger covers the button trigger area. If the target trigger does not cover the button trigger area, meaning it cannot trigger the button trigger area, the robotic arm can be controlled to move left and right to make the target trigger cover the button trigger area. If the target trigger covers the button trigger area, it can be directly controlled to trigger the button trigger area according to the triggering method.
[0081] Step 404: Control the target trigger to trigger the button trigger area according to the triggering method, and obtain the actual control result of the remote control under test on the controlled device.
[0082] In this application, after controlling the movement of the robotic arm so that the target trigger covers the button trigger area, the target trigger can be controlled to trigger the button trigger area according to the triggering method to obtain the actual control result of the remote control under test on the controlled device.
[0083] In this application, there can be one or more target triggers. If there is only one target trigger and the triggering method is pressing, then the motor corresponding to the target trigger can be controlled to drive the target trigger to move towards the remote control under test, so that the target trigger presses the button triggering area. After the triggering is completed, multiple target triggers can be controlled to move back to their initial positions. If there are multiple target triggers and the triggering method is pressing, the motor corresponding to each target trigger can be controlled to drive each target trigger to move towards the remote control under test at the same speed, so that multiple target triggers can trigger the button triggering area simultaneously. After each target trigger is completed, each target trigger can be controlled to move back to its initial position.
[0084] If there are multiple target triggers and the triggering method is press and rotate, then the triggering order of each target trigger can be determined according to the position of the multiple target triggers, and the multiple target triggers can be controlled to trigger the button triggering area one by one according to the triggering order of each target trigger.
[0085] For example, the volume can be increased by pressing a button and rotating it clockwise. During testing, there are multiple target triggers for the function of increasing the volume, and these target triggers are distributed in an arc shape. Each target trigger can be controlled one by one in a clockwise direction to move towards the button trigger area to trigger the button trigger area, thereby realizing that the test device can rotate the button clockwise while pressing the button.
[0086] Therefore, this application can be used to test remote controls using different triggering methods, and has a wide range of applications.
[0087] In this application, during the process of controlling the target trigger to trigger the button trigger area, the controlled device can be photographed to obtain a second test video corresponding to the function to be tested. The second test video can be acquired and frame-stripped to obtain multiple frames of images. The multiple frames of images can be identified to determine the response of the controlled device in the second test video, thereby obtaining the actual control result of the remote control to be tested on the controlled device, with high accuracy.
[0088] Step 405: Determine the test result corresponding to the function under test based on the matching between the actual control result and the function under test.
[0089] In this application, step 405 can be implemented in any of the embodiments of this application. This application does not limit this and will not elaborate further.
[0090] In this embodiment, the trigger array can be mounted on a robotic arm, which is a structure capable of moving along a guide rail. When the target trigger does not cover the button triggering area, the robotic arm is controlled to move so that the target trigger covers the button triggering area, and then the target trigger is controlled to trigger the button triggering area according to the triggering method. Therefore, by controlling the movement of the robotic arm along the guide rail, testing of remote controls of different types and thicknesses can be achieved.
[0091] To implement the above embodiments, this application also proposes a remote control testing device. Figure 5 This is a schematic diagram of a remote control testing device provided in an embodiment of this application.
[0092] In this application, the remote control testing device can be applied to a testing equipment, which may include a trigger array.
[0093] like Figure 5 As shown, the remote control testing device 500 includes:
[0094] The first determining module 510 is used to determine the button triggering area and triggering method corresponding to the function to be tested of the remote control to be tested;
[0095] The second determining module 520 is used to determine the target trigger corresponding to the key triggering area from the trigger array;
[0096] Control module 530 is used to control the target trigger to trigger the key trigger area according to the triggering method;
[0097] The acquisition module 540 is used to acquire the actual control results of the remote control under test on the controlled device.
[0098] The third determining module 550 is used to determine the test result corresponding to the function under test based on the matching between the actual control result and the function under test.
[0099] In one implementation of this application, the first determining module 510 is used to:
[0100] Obtain the first test video corresponding to the function to be tested, wherein the first test video is captured when the user tests the function to be tested on the target remote control, and the target remote control and the remote control to be tested are of the same type;
[0101] The first test video was analyzed to determine the user's operating area and operation method with the target remote control in the first test video;
[0102] Determine the button trigger area and trigger method based on the user's operating area and operating method.
[0103] In one implementation of this application, the second determining module 520 is used for:
[0104] The number of triggers that match the range of the key triggering area is determined based on the distance between adjacent triggers in the trigger array.
[0105] The target trigger is determined from the trigger array based on the number of triggers.
[0106] In one implementation of this application, a trigger array is mounted on a robotic arm, which is a structure capable of moving on a guide rail. The control module 530 is used for:
[0107] If the target trigger does not cover the button trigger area, control the robotic arm to move so that the target trigger covers the button trigger area;
[0108] The control target trigger activates the button trigger area according to the triggering method.
[0109] In one implementation of this application, the control module 530 is used for:
[0110] When there are multiple target triggers and the triggering method is pressing, control multiple target triggers to simultaneously trigger the button triggering area.
[0111] In one implementation of this application, the control module 530 is used for:
[0112] When there are multiple target triggers and the triggering method is press and rotate, the triggering order of each target trigger is determined according to the position of the multiple target triggers;
[0113] Based on the triggering order of each target trigger, control multiple target triggers to trigger the button triggering area one by one.
[0114] In one implementation of this application embodiment, the acquisition module 540 is used for:
[0115] Acquire the second test video corresponding to the function to be tested. The second test video is acquired by shooting the controlled device during the process of controlling the target trigger to trigger the button trigger area.
[0116] The second test video was analyzed to obtain the actual control results.
[0117] It should be noted that the foregoing explanation of the remote control testing method embodiment also applies to the remote control testing device of this embodiment, and will not be repeated here.
[0118] The remote control testing device of this application determines the button triggering area and triggering method corresponding to the function to be tested of the remote control under test, identifies the target trigger corresponding to the button triggering area from the trigger array, controls the target trigger to trigger the button triggering area according to the triggering method, and obtains the actual control result of the remote control under test on the controlled device. Based on the matching between the actual control result and the function to be tested, the test result corresponding to the function to be tested is determined. Therefore, by identifying the target trigger matching the button triggering area of different functions of the remote control from the trigger array, and using the target trigger to trigger different button triggering areas, the trigger array can be used to test different types of remote controls, thus having a wide range of applications.
[0119] To implement the above embodiments, this application also proposes a test device, which includes a trigger array, a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the method described in the foregoing method embodiments.
[0120] To implement the above embodiments, this application also proposes a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the method described in the foregoing method embodiments.
[0121] To implement the above embodiments, this application also proposes a computer program product having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method described in the foregoing method embodiments.
[0122] Figure 6 This is a block diagram of a testing device provided in an embodiment of this application. For example, the testing device 600 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0123] Reference Figure 6 The test device 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input / output (I / O) interface 612, sensor component 86, and communication component 616.
[0124] Processing component 602 typically controls the overall operation of test equipment 600, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 602 may include one or more modules to facilitate interaction between processing component 602 and other components. For example, processing component 602 may include a multimedia module to facilitate interaction between multimedia component 608 and processing component 602.
[0125] Memory 604 is configured to store various types of data to support operation on test device 600. Examples of this data include instructions for any application or method operating on test device 600, contact data, phonebook data, messages, pictures, videos, etc. Memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0126] The power supply component 606 provides power to the various components of the test equipment 600. The power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the test equipment 600.
[0127] Multimedia component 608 includes a screen that provides an output interface between the test device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 608 includes a front-facing camera and / or a rear-facing camera. When the test device 600 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0128] Audio component 610 is configured to output and / or input audio signals. For example, audio component 610 includes a microphone (MIC) configured to receive external audio signals when test device 600 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 604 or transmitted via communication component 616. In some embodiments, audio component 610 also includes a speaker for outputting audio signals.
[0129] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0130] Sensor assembly 614 includes one or more sensors for providing status assessments of various aspects of test device 600. For example, sensor assembly 614 can detect the on / off state of test device 600, the relative positioning of components such as the display and keypad of test device 600, changes in position of test device 600 or a component of test device 600, the presence or absence of user contact with test device 600, orientation or acceleration / deceleration of test device 600, and temperature changes of test device 600. Sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 614 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0131] Communication component 616 is configured to facilitate wired or wireless communication between test device 600 and other devices. Test device 600 can access wireless networks based on communication standards, such as WiFi, 4G, or 5G, or combinations thereof. In one exemplary embodiment, communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 616 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0132] In an exemplary embodiment, the test device 600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0133] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, which can be executed by a processor 620 of a test device 600 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0134] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0135] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0136] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0137] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0138] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0139] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0140] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0141] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.
Claims
1. A remote control testing method, characterized in that, Applied to a test device, the test device including a trigger array, the method includes: Determine the button trigger area and triggering method corresponding to the function to be tested on the remote control to be tested; The target trigger corresponding to the key triggering area is determined from the trigger array; The target trigger is controlled to trigger the button trigger area according to the triggering method, and the actual control result of the remote control under test on the controlled device is obtained. Based on the matching between the actual control results and the function to be tested, the test results corresponding to the function to be tested are determined; The control of the target trigger to trigger the key trigger area according to the triggering method includes: When there are multiple target triggers and the triggering method is pressing and rotating, the triggering order of each target trigger is determined according to the position of the multiple target triggers; According to the triggering order of each target trigger, the plurality of target triggers are controlled to trigger the key triggering area one by one.
2. The method as described in claim 1, characterized in that, The process of determining the button trigger area and triggering method corresponding to the function to be tested of the remote control includes: Obtain a first test video corresponding to the function to be tested, wherein the first test video is captured when a user tests the function to be tested on the target remote control, and the target remote control is of the same type as the remote control to be tested; The first test video is analyzed to determine the user's operation area and operation method with the target remote control in the first test video; The button triggering area and triggering method are determined based on the user's operating area and operating method.
3. The method as described in claim 1, characterized in that, Determining the target trigger corresponding to the key triggering area from the trigger array includes: The number of triggers that match the range of the key triggering area is determined based on the distance between adjacent triggers in the trigger array. The target trigger is determined from the trigger array based on the number of triggers.
4. The method as described in claim 1, characterized in that, The trigger array is mounted on a robotic arm, which is a structure that can move on a guide rail. Controlling the target trigger to activate the button trigger area according to the triggering method includes: If the target trigger does not cover the button trigger area, control the robotic arm to move so that the target trigger covers the button trigger area; The target trigger is controlled to trigger the button trigger area according to the triggering method.
5. The method as described in claim 1, characterized in that, The control of the target trigger to trigger the key trigger area according to the triggering method includes: When there are multiple target triggers and the triggering method is pressing, the multiple target triggers are controlled to simultaneously trigger the button triggering area.
6. The method as described in claim 1, characterized in that, The step of obtaining the actual control result of the remote control under test on the controlled device includes: Obtain a second test video corresponding to the function to be tested, wherein the second test video is captured by shooting the controlled device during the process of controlling the target trigger to trigger the button trigger area; The second test video is analyzed to obtain the actual control results.
7. A remote control testing device, characterized in that, Applied to a test equipment, the test equipment including a trigger array, the device comprising: The first determining module is used to determine the button triggering area and triggering method corresponding to the function to be tested on the remote control to be tested; The second determining module is used to determine the target trigger corresponding to the key triggering area from the trigger array; The control module is used to control the target trigger to trigger the button trigger area according to the triggering method; The acquisition module is used to acquire the actual control results of the remote controller under test on the controlled device; The third determining module is used to determine the test result corresponding to the function under test based on the matching between the actual control result and the function under test; The control module is used for: When there are multiple target triggers and the triggering method is pressing and rotating, the triggering order of each target trigger is determined according to the position of the multiple target triggers; According to the triggering order of each target trigger, the plurality of target triggers are controlled to trigger the key triggering area one by one.
8. The apparatus as claimed in claim 7, characterized in that, The first determining module is used for: Obtain a first test video corresponding to the function to be tested, wherein the first test video is captured when a user tests the function to be tested on the target remote control, and the target remote control is of the same type as the remote control to be tested; The first test video is analyzed to determine the user's operation area and operation method with the target remote control in the first test video; The button triggering area and triggering method are determined based on the user's operating area and operating method.
9. The apparatus as claimed in claim 7, characterized in that, The second determining module is used for: The number of triggers that match the range of the key triggering area is determined based on the distance between adjacent triggers in the trigger array. The target trigger is determined from the trigger array based on the number of triggers.
10. The apparatus as claimed in claim 7, characterized in that, The trigger array is mounted on the robotic arm, which is a structure capable of moving on a guide rail. The control module is used for: If the target trigger does not cover the button trigger area, control the robotic arm to move so that the target trigger covers the button trigger area; The target trigger is controlled to trigger the button trigger area according to the triggering method.
11. The apparatus as claimed in claim 7, characterized in that, The control module is used for: When there are multiple target triggers and the triggering method is pressing, the multiple target triggers are controlled to simultaneously trigger the button triggering area.
12. The apparatus as claimed in claim 7, characterized in that, The acquisition module is used for: Obtain a second test video corresponding to the function to be tested, wherein the second test video is captured by shooting the controlled device during the process of controlling the target trigger to trigger the button trigger area; The second test video is analyzed to obtain the actual control results.
13. A testing device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements the method as described in any one of claims 1-6.
14. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-6.