Remote control button detection method, device, equipment and storage medium thereof

By triggering the key to be tested in the remote control test and obtaining the jump interface of the display device, the problem of low efficiency in the remote control button testing is solved, and automated detection and efficient and accurate key function judgment are achieved.

CN116612628BActive Publication Date: 2025-08-19GEER TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310776860.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-28
Publication Date
2025-08-19
Estimated Expiration
2043-06-28

AI Technical Summary

Technical Problem

The existing remote control button testing process is cumbersome and complicated, and the testing efficiency is low.

Method used

By responding to the remote control test request, the key to be tested of the remote control to be tested is triggered, the key signal is sent to the associated display device, and the jump interface of the display device is obtained when the preset capture value is recognized, and the test of the key to be tested is determined.

Benefits of technology

Automatic detection of remote control buttons is realized, error factors of manual participation are reduced, and the accuracy and efficiency of detection are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116612628B_ABST
    Figure CN116612628B_ABST
Patent Text Reader

Abstract

The present application discloses a remote control button detection method, apparatus, device, and storage medium thereof, belonging to the field of remote control testing technology. The remote control button detection method comprises: in response to a remote control test request, triggering a key to be tested of the remote control to be tested, so as to send a key signal triggered by the key to be tested to an associated display device; when a preset capture value is identified in the key signal, obtaining a jump interface to which the display device responds based on the key signal; when the jump interface is the target interface, determining that the test of the key to be tested is completed. The present application solves the technical problem of low test efficiency of the existing remote control button test.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of remote control testing technology, and in particular to a remote control button detection method, device, equipment and storage medium thereof. Background Art

[0002] With the booming consumer electronics market, remote controls are increasingly being used in these products. While the variety of remote control types and structures on the market makes them convenient for end users, remote control manufacturers often have to devote significant manpower to testing the buttons on each remote control during production testing. Conventional testing methods, which require manual testing of remote control buttons one by one, are tedious and complex, resulting in low efficiency.

[0003] The above content is only used to assist in understanding the technical solution of this application and does not constitute an admission that the above content is prior art. Summary of the Invention

[0004] The main purpose of this application is to provide a remote control button detection method, aiming to solve the technical problem of low test efficiency of conventional remote control button testing.

[0005] To achieve the above objectives, the present application provides a remote control button detection method, the remote control button detection method comprising:

[0006] In response to a remote control test request, triggering a key to be tested of the remote control to be tested, so as to send a key signal triggered by the key to be tested to an associated display device;

[0007] When it is recognized that a preset capture value exists in the key signal, obtaining a jump interface to which the display device responds based on the key signal;

[0008] When the jump interface is the target interface, it is determined that the test of the key to be tested is completed.

[0009] Optionally, before the step of triggering the key to be tested of the remote controller to be tested, the method further includes:

[0010] Obtaining an identification number of the remote control to be tested, and retrieving a key signal set matching the identification number from a preset remote control database;

[0011] Generating a key detection strategy for the remote control to be tested according to the key signal set, wherein the key detection strategy includes each key to be tested of the remote control to be tested and a preset capture value of the key signal triggered by each key to be tested;

[0012] According to the key detection strategy, the key to be tested of the remote controller to be tested is triggered.

[0013] Optionally, after the step of triggering the key to be tested of the remote controller to be tested, the method further includes:

[0014] If the key signal is not received within the preset triggering time, the key detection is determined to be in the first abnormal state, and a preset first fault signal is output.

[0015] Optionally, when it is recognized that a preset capture value exists in the key signal, the step of obtaining a jump interface to which the display device responds based on the key signal includes:

[0016] If the key signal is a key signal triggered by a fast forward / rewind key, then when the preset capture value is identified, obtaining a first interface to which the display device responds based on the key signal;

[0017] When the preset capture value disappears, obtaining a second interface to which the display device responds based on the key signal, using the second interface as the jump interface, and determining a duration of the capture value;

[0018] The target interface is determined according to the duration of the captured value and the first interface.

[0019] Optionally, after the step of obtaining the jump interface to which the display device responds based on the key signal, the method further includes:

[0020] Extracting a jump interface identifier from the jump interface, and judging whether the jump interface identifier is consistent with a target interface identifier based on a preset interface identifier library;

[0021] If so, determine that the jump interface is the target interface

[0022] Optionally, the step of triggering the key to be tested of the remote control to be tested includes:

[0023] Obtaining a pressure value during the triggering process of the key to be tested, and generating a pressure curve according to the pressure value;

[0024] Identifying a peak point and a trough point on the pressure curve, and determining a key feel value of the key to be tested according to the peak coordinates pointed to by the peak point and the trough coordinates pointed to by the trough point, wherein the peak coordinates and the trough coordinates both include a pressure value and a moving distance;

[0025] When the key feel value meets a preset feel value standard, it is determined that the feel test of the key to be tested is qualified.

[0026] Optionally, after the step of determining the key feel value of the key to be tested, the method further includes:

[0027] Fitting the key feel value to a preset standard function of the feel value to determine the degree of fit between the key feel value and the standard function of the feel value;

[0028] When the fitting degree is greater than a preset fitting threshold, it is determined that the key feel value meets the feel value standard.

[0029] The present application also provides a remote control button detection device, the remote control button detection device comprising:

[0030] a trigger module, configured to trigger a key to be tested of the remote control to be tested in response to a remote control test request, so as to send a key signal triggered by the key to be tested to an associated display device;

[0031] an acquisition module, configured to acquire a jump interface to which the display device responds based on the key signal when recognizing that a preset capture value exists in the key signal;

[0032] The determination module is configured to determine whether the test of the key to be tested is completed when the jump interface is the target interface.

[0033] The present application also provides an electronic device, which includes: a memory, a processor, and a remote control button detection program stored in the memory and executable on the processor, wherein the remote control button detection program is configured to implement the steps of the above-mentioned remote control button detection method.

[0034] The present application also provides a storage medium, which is a computer-readable storage medium. A remote control button detection program is stored on the computer-readable storage medium. The remote control button detection program is executed by a processor to implement the steps of the above-mentioned remote control button detection method.

[0035] The present application discloses a remote control key detection method. The method triggers a key to be tested on a remote control to be tested in response to a remote control test request, thereby sending a key signal triggered by the key to be tested to an associated display device. Then, when a preset capture value is identified in the key signal, a jump interface of the display device in response to the key signal is obtained. The preset capture value is used as a trigger condition for obtaining the display device interface, thereby achieving accurate and timely acquisition of the display device interface. At the same time, the capture value can also serve as a judgment standard for remote control key detection. That is, if the preset capture value is not obtained, it indicates that there is an abnormality in the remote control key detection, thereby achieving a first-level detection of the remote control key and improving detection efficiency. Then, when the jump interface is the target interface, it is determined that the test of the key to be tested is completed. Since the interface on the associated display device automatically jumps after the remote control key is pressed, the function of each key to be tested on the remote control to be tested can be quickly determined by judging the jump interface, thereby achieving automated detection of remote control keys without manual intervention, reducing error factors caused by manual intervention, and greatly improving the accuracy and testing efficiency of remote control key detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A schematic diagram of the structure of an electronic device in the hardware operating environment involved in the embodiments of the present application;

[0037] Figure 2 This is a flow chart of a remote control button detection method according to an embodiment of the present application;

[0038] Figure 3 This is a schematic diagram of the remote control buttons involved in the embodiment of the present application;

[0039] Figure 4 This is a schematic diagram of the pressure curve involved in the embodiment of the present application;

[0040] Figure 5 This is a flow chart of a relatively complete embodiment of the remote control button detection method of the present application;

[0041] Figure 6 This is a schematic diagram of the framework structure of the remote control button detection device involved in the embodiment of the present application.

[0042] The realization of the objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0043] It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.

[0044] In addition, the descriptions of "first", "second", etc. in this application are for descriptive purposes only and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of such features. In addition, "and / or" in the full text includes three solutions. Taking A and / or B as an example, it includes technical solution A, technical solution B, and technical solution that satisfies both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is mutually contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0045] Reference Figure 1 , Figure 1 This is a schematic diagram of the electronic device structure of the hardware operating environment involved in the embodiment of the present application.

[0046] like Figure 1 As shown, the electronic device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 1003 may optionally include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.

[0047] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation to the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0048] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module and a remote control button detection program.

[0049] exist Figure 1 In the electronic device shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the electronic device of the present application can be set in the electronic device, and the electronic device calls the remote control button detection program stored in the memory 1005 through the processor 1001 and performs the following operations:

[0050] In response to a remote control test request, triggering a key to be tested of the remote control to be tested, so as to send a key signal triggered by the key to be tested to an associated display device;

[0051] When it is recognized that a preset capture value exists in the key signal, obtaining a jump interface to which the display device responds based on the key signal;

[0052] When the jump interface is the target interface, it is determined that the test of the key to be tested is completed.

[0053] Furthermore, the processor 1001 may call the remote control button detection program stored in the memory 1005 and perform the following operations:

[0054] Before triggering the operation of the key to be tested of the remote controller to be tested, the method includes:

[0055] Obtaining an identification number of the remote control to be tested, and retrieving a key signal set matching the identification number from a preset remote control database;

[0056] Generating a key detection strategy for the remote control to be tested according to the key signal set, wherein the key detection strategy includes each key to be tested of the remote control to be tested and a preset capture value of the key signal triggered by each key to be tested;

[0057] According to the key detection strategy, the key to be tested of the remote controller to be tested is triggered.

[0058] Furthermore, the processor 1001 may call the remote control button detection program stored in the memory 1005 and perform the following operations:

[0059] After the operation of triggering the key to be tested of the remote controller to be tested, the method further includes:

[0060] If the key signal is not received within the preset triggering time, the key detection is determined to be in the first abnormal state, and a preset first fault signal is output.

[0061] Furthermore, when it is recognized that the key signal contains a preset capture value, the operation of obtaining a jump interface to which the display device responds based on the key signal includes:

[0062] If the key signal is a key signal triggered by a fast forward / rewind key, then when the preset capture value is identified, obtaining a first interface to which the display device responds based on the key signal;

[0063] When the preset capture value disappears, obtaining a second interface to which the display device responds based on the key signal, using the second interface as the jump interface, and determining a duration of the capture value;

[0064] The target interface is determined according to the duration of the captured value and the first interface.

[0065] Furthermore, the processor 1001 may call the remote control button detection program stored in the memory 1005 and perform the following operations:

[0066] After obtaining the jump interface operation to which the display device responds based on the key signal, the method further includes:

[0067] Extracting a jump interface identifier from the jump interface, and judging whether the jump interface identifier is consistent with a target interface identifier based on a preset interface identifier library;

[0068] If so, determine that the jump interface is the target interface

[0069] Furthermore, the operation of triggering the key to be tested of the remote controller to be tested includes:

[0070] Obtaining a pressure value during the triggering process of the key to be tested, and generating a pressure curve according to the pressure value;

[0071] Identifying a peak point and a trough point on the pressure curve, and determining a key feel value of the key to be tested according to the peak coordinates pointed to by the peak point and the trough coordinates pointed to by the trough point, wherein the peak coordinates and the trough coordinates both include a pressure value and a moving distance;

[0072] When the key feel value meets a preset feel value standard, it is determined that the feel test of the key to be tested is qualified.

[0073] Furthermore, the processor 1001 may call the remote control button detection program stored in the memory 1005 and perform the following operations:

[0074] After the operation of determining the key feel value of the key to be tested, the method includes:

[0075] Fitting the key feel value to a preset standard function of the feel value to determine the degree of fit between the key feel value and the standard function of the feel value;

[0076] When the fitting degree is greater than a preset fitting threshold, it is determined that the key feel value meets the feel value standard.

[0077] Based on the above structure, various embodiments of a remote control button detection method are proposed.

[0078] Reference Figure 2 , Figure 2 This is a flow chart of the first embodiment of the remote control button detection method of the present application.

[0079] In this embodiment, the execution subject of the remote control key detection method can be an electronic device, which can be a local device or a network device, such as a mobile phone, a laptop computer, a desktop computer, a television, etc., or a remote control key detection program running in the device. This is not limited in this embodiment. For ease of description, the following description of each embodiment will be omitted. In this embodiment, the remote control key detection method includes:

[0080] Step S10, in response to the remote control test request, triggering a key to be tested of the remote control to be tested, so as to send a key signal triggered by the key to be tested to an associated display device;

[0081] When a test request from the remote controller is received, a key on the remote controller to be tested (hereinafter referred to as the tested key for distinction) is triggered, so that the remote controller to be tested sends a key signal triggered by the tested key to the associated display device.

[0082] Exemplarily, the remote control to be tested may be a Bluetooth remote control or an infrared remote control; if the remote control to be tested is a Bluetooth remote control, that is, a Bluetooth transmission function is added to the original remote control's infrared transmission function, then the buttons of the remote control to be tested have two sets of button code values, including infrared code values and Bluetooth code values; before the remote control to be tested is connected to the associated display device via Bluetooth, the infrared code value is used; after the remote control to be tested is connected to the associated display device via Bluetooth, the Bluetooth code value is used; by using the acquired code value, it can be determined whether the remote control to be tested is connected to the associated display device via Bluetooth.

[0083] Exemplarily, the keys to be tested are the keys on the remote control to be tested, which may be a single key or a combination of multiple keys. For example, the keys to be tested may be pressing the up key and the menu key on the remote control at the same time, or may be pressing the up key on the remote control twice and then pressing the right key on the remote control three times according to a preset sequence. This embodiment does not impose any restrictions on this. The remote control key detection is the process of performing function detection on each key on the remote control.

[0084] Exemplarily, the key signal can be the key value sent after each key on the remote control is pressed, and the key value of each key is unique and fixed; since the key to be tested can be a single key or a combination of keys, the key signal triggered by the corresponding key to be tested can also be the key value of a single key, or a set of multiple key values triggered by multiple keys.

[0085] Exemplarily, when it is detected that the remote control to be tested is placed in a preset detection position and the remote control to be tested is scanned for identification, a remote control test request is generated and responded to; the scanned identification code can be the product serial number, identification number, etc. of the remote control.

[0086] Exemplarily, the associated display device can be a device with a display screen, such as a television, a computer, or a mobile phone; since the remote control is used in conjunction with a display device such as a television during actual use, the button functions of the remote control are checked using a display device to reduce the failure rate of the remote control in actual use.

[0087] In one feasible embodiment, an associated pressing device is controlled to simulate manual key presses on the remote control to be tested, the key being tested, as indicated by the remote control test request. This simulated manual key press on the remote control to be tested is achieved through the associated pressing device, thereby preventing missed or false detections of remote control keys and reducing the false detection rate. The pressing device can be a miniature cylinder; each remote control key position corresponds to a miniature cylinder, and the cylinders are combined to form a pressing device to simulate key presses on the remote control.

[0088] Step S20, when it is recognized that the key signal contains a preset capture value, obtaining a jump interface to which the display device responds based on the key signal;

[0089] After the key to be tested of the remote control to be tested is triggered, the remote control to be tested will output the key signal triggered by the key to be tested; before performing remote control key detection, a capture value is preset in the key signal of the remote control as a trigger condition for obtaining the interface of the display device, wherein the capture value is the trigger condition for obtaining the interface of the display device, which can be one or more key values in the received key signal, or one or more characters in a preset sequence position in the key value, and the capture values corresponding to each test can be the same or different, and this embodiment does not limit this; then, when the preset capture value is recognized in the key signal, the interface to which the display device responds based on the key signal is obtained (hereinafter referred to as the jump interface for distinction).

[0090] Exemplarily, the jump interface may be obtained by taking a screenshot, taking a photo, or calling from a background program, etc., which is not limited in this embodiment.

[0091] In one feasible implementation, the key to be tested is a combination key, and the key signal includes multiple key values, that is, a collection of individual key values in the combination key, and then according to the triggering order of each key in the combination key, the key value of the last key is used as the preset capture value; for example, according to the triggering order, the keys to be tested are: up key, right key, right key and confirm key, and then the key signal includes: the key values corresponding to the up key, right key, right key and confirm key respectively, and the key value of the last key, that is, the confirm key, is used as the preset capture value.

[0092] In another feasible implementation manner, the value of a preset position in the key signal triggered by the key to be tested is used as the preset capture value.

[0093] Step S30: When the jump interface is the target interface, it is determined that the test of the key to be tested is completed.

[0094] After pressing each button on the remote control, if the button functions normally, the associated display device will respond to the key signal triggered by the button and display the corresponding interface (hereinafter referred to as the target interface for distinction); then after obtaining the jump interface of the display device, it is determined whether the jump interface is consistent with the target interface. If so, it is determined that the function of the key to be tested is normal and this key test is completed. If not, it indicates that the function of the key to be tested on the remote control is abnormal, the key test fails, and the remote control test is determined to have failed.

[0095] In one feasible implementation, each button on the remote control needs to undergo a preset number of tests. That is to say, the determination that the test of the key to be tested is completed indicates that the single key test of the key to be tested has passed, that is, one test has been completed. The number of test passes for the key to be tested can be accumulated by one, and then the next test of the key to be tested can be carried out; and when the number of test passes for each button on the remote control to be tested is greater than or equal to the preset number of tests, it indicates that all the buttons on the remote control to be tested have been tested and passed, and then it is determined that the button test of the remote control to be tested has passed.

[0096] In this embodiment, in response to a remote control test request, a key under test of the remote control under test is triggered to transmit a key signal triggered by the key under test to the associated display device. Furthermore, when a preset capture value is identified in the key signal, a jump interface to which the display device responds based on the key signal is obtained. The preset capture value is used as a trigger condition for obtaining the display device interface, thereby achieving accurate and timely acquisition of the display device interface. Furthermore, the capture value can also serve as a judgment standard for remote control key detection. That is, if the preset capture value is not obtained, it indicates that there is an abnormality in the remote control key detection, thereby achieving primary detection of the remote control key and improving detection efficiency. Furthermore, when the jump interface is the target interface, the test of the key under test is determined to be complete. Since the interface on the associated display device automatically jumps to another interface after a remote control button is pressed, the function of each key under test on the remote control under test can be quickly determined by judging the jump interface, thereby achieving automated detection of remote control buttons without manual intervention, reducing error factors caused by manual intervention, and greatly improving the accuracy and testing efficiency of remote control button detection.

[0097] Furthermore, based on the above-mentioned first embodiment, a second embodiment of the remote control button detection method of the present application is proposed. In this embodiment, step S10 includes:

[0098] Step S11, obtaining the identification number of the remote control to be tested, and retrieving a key signal set matching the identification number from a preset remote control database;

[0099] In response to a remote control test request, the identification number of the remote control to be tested is obtained, which may be the product serial number of the remote control; then, a key signal set matching the identification number is retrieved from a preset remote control database; the key signal set includes the key values of all keys on the remote control to be tested.

[0100] For example, different models of remote controls, or remote controls of the same model sold in different countries and regions, may have different button functions corresponding to the same position on the remote control, that is, the button values output by pressing the button at the same position on the remote control may be different; and the preset remote control database stores the physical positions of each function button on remote controls of various models and remote controls sold in different countries and regions, as well as the button values corresponding to each function button.

[0101] For example, refer to Figure 3 , remote control 1 and remote control 2 both have buttons 1-4 with the same functions; however, the physical locations of buttons 1-4 on the remote controls are different.

[0102] In a feasible implementation, if the identification number of the remote control to be tested is different from the preset target identification number, it indicates that a mixture of remote control models has occurred in the remote control test, that is, remote controls of other models appear in a certain model of remote control under test, then the key detection is determined to be in an abnormal mixing state, and a preset mixing fault signal is output to prompt manual troubleshooting.

[0103] Step S12: generating a key detection strategy for the remote control to be tested based on the key signal set, wherein the key detection strategy includes each key to be tested of the remote control to be tested and a preset capture value of the key signal triggered by each key to be tested;

[0104] Based on the key signal set and the preset remote control detection standard, a key detection strategy for the remote control to be tested is generated, wherein the key detection strategy includes each key to be tested on the remote control to be tested and the preset capture value of the key signal triggered by each key to be tested; each key to be tested can be a single key or a combination of multiple keys in a specific triggering sequence.

[0105] Exemplarily, the remote control detection standard includes a standard number of tests and a standard test sequence for remote control button detection; each key value in the key signal set is combined with the standard number of tests and the standard test sequence in the remote control detection standard to determine each key to be tested of the remote control to be tested, the captured value and the target interface after each key to be tested is triggered, and a key detection strategy corresponding to the remote control to be tested is generated.

[0106] Exemplarily, the key detection strategy includes each key to be tested; each key to be tested includes at least one key of the remote control to be tested, and each key to be tested corresponds to a preset capture value and a target interface; for example, the key detection strategy includes two keys to be tested, key 1 to be tested is: key 1, that is, key 1 of the remote control to be tested is triggered, and the key value 1 triggered by key 1 is used as the preset capture value; key 2 to be tested is: key 2, key 3 and key 4, that is, key 2, key 3 and key 4 of the remote control to be tested are triggered in sequence, and the key value 4 of the last key 4 is used as the preset capture value.

[0107] Step S13: triggering the key to be tested of the remote controller to be tested according to the key detection strategy.

[0108] According to the test key set in the key detection strategy, trigger each button on the remote control to be tested.

[0109] In one feasible embodiment, when the jump interface is the target interface, it is determined that the current test of the key to be tested is complete, and it is determined whether there is a key to be tested in the key detection strategy, that is, a key that has not been tested, which can be a single key or a key combination. If there is a key to be tested, the step of triggering the key to be tested of the remote control to be tested according to the key detection strategy is executed. Until there are no keys to be tested in the key detection strategy, that is, all keys to be tested have been tested and passed, the key detection of the remote control to be tested is determined to have passed. Remote control key detection is then performed on the next remote control to be tested, and the identification number of the next remote control to be tested is obtained. If the identification number is the same as that of the remote control tested previously, the key detection strategy of the remote control tested previously is directly used for key testing.

[0110] In this embodiment, the identification number of the remote control to be tested is obtained, and a key signal set matching the identification number is retrieved from a preset remote control database; then, a key detection strategy for the remote control to be tested is generated based on the key signal set, wherein the key detection strategy includes each key to be tested of the remote control to be tested and a preset capture value of the key signal triggered by each key to be tested; then, according to the key detection strategy, the key to be tested of the remote control to be tested is triggered; by obtaining the identification number of the remote control to be tested, a remote control key detection strategy is generated in a targeted manner to realize automated testing of the remote control to be tested without manual intervention, thereby reducing error factors caused by manual participation and greatly improving the accuracy of remote control key detection and testing efficiency.

[0111] In one feasible implementation, after the step of triggering the key to be tested of the remote controller to be tested in step S10, the method further includes:

[0112] Step S14: If the key signal is not received within the preset triggering time, it is determined that the key detection is in a first abnormal state, and a preset first fault signal is output.

[0113] If no key signal is received within the preset trigger time, it indicates that there is a fault in the key to be tested of the remote control, or there is a fault in the trigger device or trigger program that triggers the key to be tested, then the key detection is determined to be in the first abnormal state, and a preset first fault signal is output to prompt manual troubleshooting.

[0114] In one feasible implementation, if a key signal is received within a preset trigger duration, but a preset capture value is not recognized in the key signal, it indicates that the trigger device or trigger program for triggering the key to be tested is normal, but the key of the remote control to be tested is faulty, and the key to be tested is determined to have failed the test.

[0115] In this embodiment, by presetting the trigger duration and receiving the key signal within the trigger duration, abnormal situations in the remote control key detection process can be quickly identified, thereby improving the detection efficiency. When a fault occurs, corresponding fault information is sent to prompt manual troubleshooting, thereby further improving the detection accuracy and test efficiency.

[0116] Furthermore, based on the first and / or second embodiments described above, a third embodiment of the remote control button detection method of the present application is proposed. In this embodiment, step S20 includes:

[0117] Step S21: if the key signal is a key signal triggered by a fast forward / rewind key, then when the preset capture value is recognized, obtaining a first interface to which the display device responds based on the key signal;

[0118] When the triggered key to be tested is the fast forward / rewind function key, the received key information is the key signal triggered by the fast forward / rewind key; and when the preset capture value in the key signal triggered by the fast forward / rewind key is identified, the first interface to which the display device responds based on the key signal triggered by the fast forward / rewind key is obtained.

[0119] In one feasible implementation, when the display device is in different interfaces, the functions that can be achieved by triggering the buttons at the same position on the remote control may be different; therefore, before triggering the key to be tested of the remote control to be tested, the current display interface of the display device is obtained, and then the key to be tested of the remote control to be tested is triggered. Based on the current display interface and the key to be tested, the function that can be triggered by the key to be tested on the current display interface is determined to determine the target interface.

[0120] For example, when the interface of the display device is the home page interface, the function that can be achieved by triggering the left key on the remote control is the move left function; and when the interface of the display device is the video playback interface, the function that can be achieved by triggering the left key on the remote control is the fast rewind function.

[0121] Step S22, when the preset capture value disappears, obtaining a second interface to which the display device responds based on the key signal, using the second interface as the jump interface, and determining a duration of the capture value;

[0122] Since the functions of the fast forward and rewind keys are different when triggered by a long press or a short press, when the preset capture value disappears, the second interface to which the display device responds based on the key signal is obtained; the second interface is used as the jump interface, and the duration of the capture value is determined.

[0123] Step S23: determining the target interface according to the duration of the captured value and the first interface.

[0124] The target interface is determined according to the duration of the first interface and the captured value.

[0125] Exemplarily, text recognition is performed on the first interface to determine the first time of the video in the first interface, which is 01:10:30; then, based on the duration of the captured value of 2s, the target movement time of the video in the display interface is determined to be 01:10:50, that is, pressing the fast-forward and fast-rewind keys moves the video 10s per second; then, based on the target movement time of 01:10:50, the target interface is determined; when the time in the second interface is consistent with the time in the target interface, the jump interface is determined to be the target interface.

[0126] In this embodiment, since the functions achieved by a long press or a short press of the fast-forward / rewind key differ, if the key signal is a key signal triggered by the fast-forward / rewind key, then when the preset capture value is recognized, the first interface to which the display device responds based on the key signal is obtained; then, when the preset capture value disappears, the second interface to which the display device responds based on the key signal is obtained, and the second interface is used as the jump interface, and the duration of the capture value is determined; then, the target interface is determined based on the duration of the capture value and the first interface. This allows for automated testing of the fast-forward / rewind function of the remote control key to improve test efficiency.

[0127] In a feasible implementation manner, after the step of obtaining the jump interface to which the display device responds based on the key signal in step S20, the method further includes:

[0128] Step S24, extracting the jump interface identifier in the jump interface, and judging whether the jump interface identifier is consistent with the target interface identifier according to a preset interface identifier library;

[0129] An interface identification library is preset in the electronic device, and the interface identification library stores the unique and fixed interface feature identification corresponding to each interface. Therefore, by extracting the jump interface identification in the jump interface and comparing it with the target interface identification in the interface identification library, it is possible to quickly and accurately determine whether the jump interface identification is consistent with the target interface identification.

[0130] Exemplarily, the interface identification library is a set of identifications obtained after the unique and fixed feature identifications in each interface are processed, clipped, feature point identified and color space transformed; since when using a TV for remote control testing, the interface layout, thumbnails, icons, etc. in each interface of the TV will change with the update, therefore, using the unique and fixed feature identification in each interface to determine the interface type can ensure the accuracy of interface judgment.

[0131] Step S25: If yes, determine that the jump interface is the target interface.

[0132] Determine whether the jump interface identifier of the jump interface is consistent with the target interface identifier; if so, it indicates that the interface switching is normal, that is, the key function of the key to be tested is normal, and the test of the key to be tested is determined to be completed; if not, it indicates that the interface switching is abnormal, that is, the key function of the key to be tested is abnormal, and the test of the key to be tested is determined to be unqualified, and it is determined that the test of the remote control to be tested is unqualified.

[0133] Exemplarily, the target interface is a preset reference interface that is normally switched after the key to be tested is triggered, and can determine whether the function of the key to be tested is normal.

[0134] In this embodiment, by extracting the jump interface identifier in the jump interface and judging whether the jump interface identifier is consistent with the target interface identifier based on the preset interface identifier library, the jump interface can be quickly and accurately judged whether it is the target interface, so as to realize fast and accurate detection of remote control buttons without manual assistance, reducing the error factors caused by manual participation, and greatly improving the accuracy of remote control detection and testing efficiency.

[0135] Furthermore, based on the first, second and / or third embodiments above, a fourth embodiment of the remote control button detection method of the present application is proposed. In this embodiment, step S10 includes:

[0136] Step A10, obtaining the pressure value of the key to be tested during the triggering process, and generating a pressure curve according to the pressure value;

[0137] The associated pressing device is controlled to simulate pressing the key to be tested on the remote control to be tested. The pressing device is provided with a force sensor that can collect pressure values at different moving distances in the pressing direction; and then, in the process of triggering the key to be tested of the remote control to be tested, the pressure value of the key to be tested during the triggering process is obtained, and a corresponding pressure curve is generated according to the obtained pressure value, wherein, with reference to Figure 4 The horizontal coordinate of the pressure curve is the moving distance in the pressing direction, and the vertical coordinate is the pressure value.

[0138] For example, during the entire stroke of the pressing device pressing the key, a mechanical sensor can be used to collect, in real time, the action or reaction force between the pressing device and the key, i.e., the pressure values, at each moment in the detection process. The collected pressure values can then be fitted to form a pressure curve. The pressure sensor can accurately measure the force applied to the key throughout the entire motion of the key being pressed, and the pressure curve can describe the changes in the force applied to the key throughout the entire motion of the key being pressed. From the initial depression of the key by the pressing device to the flattening of the key's spring, the pressure applied by the pressing device to the key shows an upward trend. After being flattened, the key's spring physically flips, rapidly concavely deforming in the direction of the pressure to its limit. During this process, the pressure applied by the pressing device to the key shows a downward trend. After the key's spring has deformed to its limit, the pressing device continues to press the key downward, causing the pressure applied by the pressing device to again show an upward trend. In other words, the pressure curve first shows an upward trend, then a downward trend, and then a rising trend.

[0139] Step A20, identifying a peak point and a trough point on the pressure curve, and determining a key feel value of the key to be tested based on the peak coordinates pointed to by the peak point and the trough coordinates pointed to by the trough point, wherein the peak coordinates and the trough coordinates both include a pressure value and a movement distance;

[0140] The pressure curve is analyzed and identified to determine the peak points and trough points on the pressure curve; the coordinates of the peak points and the trough points are then determined, and the coordinates include the pressure value and the movement distance; and the key feel value of the key to be tested is then calculated.

[0141] Illustratively, a peak point is formed on the pressure curve, which is the point where the pressure curve changes from an upward trend to a downward trend; a trough point is also formed on the pressure curve, which is the point where the pressure curve changes from a downward trend to an upward trend.

[0142] For example, refer to Figure 4 , is the pressure curve of the key to be tested, where the peak point Q A (x1, y1), valley point Q B (x2, y2), and the key feel value is (x1-x2) / x1, (y1-y2) / y1.

[0143] In one feasible implementation, the first derivative of the pressure curve is calculated to determine a stagnation point on the pressure curve, wherein the point where the first derivative is equal to zero is the stagnation point; and the second derivative of the pressure curve is calculated to determine a peak point and a trough point in the stagnation point, wherein the stagnation point where the second derivative is negative is the peak point, and the point where the second derivative is positive is the trough point.

[0144] For example, the key feel value refers to the strength of the paragraph feel, also known as the click value (feel value).

[0145] Step A30: When the key feel value meets a preset feel value standard, it is determined that the feel test of the key to be tested is qualified.

[0146] The key feel value of the key to be tested is compared with a preset feel value standard. When the key feel value meets the preset feel value standard, it indicates that the feel value of the key to be tested is qualified, and the feel test of the key to be tested is determined to be qualified.

[0147] In this embodiment, the pressure value of the key to be tested is obtained during the triggering process, and a pressure curve is generated based on the pressure value. The peaks and troughs on the pressure curve are then identified, and the key feel value of the key to be tested is determined. When the key feel value meets the preset feel value standard, the key to be tested is judged to have passed the feel test. While performing the key function test, a force sensor is provided on the pressing device to automatically generate a pressure curve for the key to be tested during the pressing process. The key feel value of the key to be tested is then determined based on the pressure curve, thereby achieving simultaneous testing of the remote control's key function and key feel value, thereby improving remote control testing efficiency.

[0148] In one feasible implementation, after the step of determining the key feel value of the key to be tested in step A20, the following steps are included:

[0149] Step A21, fitting the key feel value to a preset standard function of the feel value to determine the degree of fit between the key feel value and the standard function of the feel value;

[0150] The calculated key feel value is fitted with a preset standard function of feel value to determine the degree of fit between the feel value and the standard function of feel value; wherein the preset standard function of feel value is a function of the standard key feel value obtained by testing remote controls of the same model and batch in a laboratory.

[0151] In step A22, when the degree of fit is greater than a preset fitting threshold, it is determined that the key feel value meets the feel value standard.

[0152] When the degree of fit between the key feel value and the feel value standard function is greater than the preset fitting threshold, it indicates that the degree of fit between the key feel value of the key to be tested and the feel value standard function is high, the key feel value of the key to be tested meets the key feel value standard, and it is determined that the key feel value meets the feel value standard.

[0153] In this embodiment, the key feel value is fitted to a preset standard function to determine the degree of fit between the key feel value and the standard function. When the degree of fit exceeds a preset fitting threshold, the key feel value is determined to meet the standard. This improves the accuracy of key feel value detection for the key under test by enabling simultaneous testing of the remote control's key functions and key feel values.

[0154] Furthermore, based on the above-mentioned first, second, third and / or fourth embodiments, a more complete embodiment of the remote control button detection method of the present application is proposed, referring to Figure 5 In response to a remote control test request, the test is started. According to the identification number of the remote control to be tested, a key signal set matching the remote control to be tested is retrieved from a preset remote control database, and a key detection strategy is generated according to the key signal set, and a capture value is set; then the key to be tested on the remote control to be tested is triggered, and when the capture value in the key signal is recognized, an interface screenshot of the associated display interface is obtained; if the interface screenshot is not obtained, the key signal is not received, and / or the capture value is not recognized within a preset time period, it is determined that the key detection is abnormal, an error is reported, and a preset fault signal is output; if an interface screenshot of the associated display interface is obtained, whether the interface is consistent with the target interface is determined according to the interface screenshot; if not, it is determined that the test of the key to be tested is unqualified and an error is reported; if so, it is determined that the test of the key to be tested is completed, and according to the key detection strategy, it is determined whether all keys of the remote control to be tested are tested; if so, the test of the remote control to be tested is completed; if not, the next key to be tested is tested and the next key to be tested is triggered. While triggering the key to be tested, the pressure value of the key to be tested is obtained and a pressure curve is generated; then, the key feel value of the key to be tested is calculated through the peak points and trough points on the pressure curve, and it is determined whether the key feel value meets the feel value standard; if so, according to the key detection strategy, it is determined whether all keys of the remote control to be tested have been tested; if not, the key to be tested is determined to have failed the test and an error is reported.

[0155] Furthermore, the present invention also provides a remote control key detection device, referring to Figure 6 The remote control button detection device is applied to an electronic device, and the remote control button detection device includes:

[0156] The trigger module 10 is configured to trigger a key to be tested of the remote control to be tested in response to a remote control test request, so as to send a key signal triggered by the key to be tested to an associated display device;

[0157] An acquisition module 20 is configured to acquire a jump interface to which the display device responds based on the key signal when a preset capture value is recognized in the key signal;

[0158] The determination module 30 is configured to determine whether the test of the key to be tested is completed when the jump interface is the target interface.

[0159] The trigger module 10 is further configured to obtain an identification number of the remote control to be tested, and retrieve a key signal set matching the identification number from a preset remote control database;

[0160] Generating a key detection strategy for the remote control to be tested according to the key signal set, wherein the key detection strategy includes each key to be tested of the remote control to be tested and a preset capture value of the key signal triggered by each key to be tested;

[0161] According to the key detection strategy, the key to be tested of the remote controller to be tested is triggered.

[0162] The trigger module 10 is further configured to determine that the key detection is in a first abnormal state and output a preset first fault signal if the key signal is not received within a preset triggering time.

[0163] The acquisition module 20 is further configured to, if the key signal is a key signal triggered by a fast forward / rewind key, acquire a first interface to which the display device responds based on the key signal when the preset capture value is recognized;

[0164] When the preset capture value disappears, obtaining a second interface to which the display device responds based on the key signal, using the second interface as the jump interface, and determining a duration of the capture value;

[0165] The target interface is determined according to the duration of the captured value and the first interface.

[0166] The acquisition module 20 is further configured to extract the jump interface identifier from the jump interface and determine whether the jump interface identifier is consistent with the target interface identifier based on a preset interface identifier library;

[0167] If so, it is determined that the jump interface is the target interface.

[0168] The trigger module 10 is further configured to obtain a pressure value during the triggering process of the key to be tested, and generate a pressure curve according to the pressure value;

[0169] Identifying a peak point and a trough point on the pressure curve, and determining a key feel value of the key to be tested according to the peak coordinates pointed to by the peak point and the trough coordinates pointed to by the trough point, wherein the peak coordinates and the trough coordinates both include a pressure value and a moving distance;

[0170] When the key feel value meets a preset feel value standard, it is determined that the feel test of the key to be tested is qualified.

[0171] The trigger module 10 is further configured to fit the key feel value to a preset standard function of the feel value to determine a degree of fit between the key feel value and the standard function of the feel value;

[0172] When the fitting degree is greater than a preset fitting threshold, it is determined that the key feel value meets the feel value standard.

[0173] The specific implementation of the remote control button detection device of the present application is basically the same as the embodiments of the remote control button detection method described above, and will not be repeated here.

[0174] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.

[0175] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0176] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the description and drawings of this application, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A remote control button detection method, characterized in that: The remote control button detection method comprises the following steps: In response to a remote control test request, triggering a key to be tested of the remote control to be tested, so as to send a key signal triggered by the key to be tested to an associated display device; If the key signal is a key signal triggered by a fast forward / rewind key, then when a preset capture value is recognized in the key signal, obtaining a first interface to which the display device responds based on the key signal; When the preset capture value disappears, obtaining a second interface to which the display device responds based on the key signal, using the second interface as a jump interface, and determining a duration of the capture value; Determining a target interface according to a duration of the captured value and the first interface; When the jump interface is the target interface, it is determined that the test of the key to be tested is completed.

2. The remote control button detection method according to claim 1, wherein: Before the step of triggering the key to be tested of the remote controller to be tested, the method includes: Obtaining an identification number of the remote control to be tested, and retrieving a key signal set matching the identification number from a preset remote control database; Generating a key detection strategy for the remote control to be tested according to the key signal set, wherein the key detection strategy includes each key to be tested of the remote control to be tested and a preset capture value of the key signal triggered by each key to be tested; According to the key detection strategy, the key to be tested of the remote controller to be tested is triggered.

3. The remote control button detection method according to claim 1, wherein: After the step of triggering the key to be tested of the remote controller to be tested, the method further includes: If the key signal is not received within the preset triggering time, the key detection is determined to be in the first abnormal state, and a preset first fault signal is output.

4. The remote control button detection method according to claim 1, wherein: After the step of determining the target interface according to the duration of the captured value and the first interface, the method further includes: Extracting a jump interface identifier from the jump interface, and judging whether the jump interface identifier is consistent with a target interface identifier based on a preset interface identifier library; If so, it is determined that the jump interface is the target interface.

5. The remote control button detection method according to any one of claims 1 to 4, characterized in that: The step of triggering the key to be tested of the remote controller to be tested comprises: Obtaining a pressure value during the triggering process of the key to be tested, and generating a pressure curve according to the pressure value; Identifying a peak point and a trough point on the pressure curve, and determining a key feel value of the key to be tested according to the peak coordinates pointed to by the peak point and the trough coordinates pointed to by the trough point, wherein the peak coordinates and the trough coordinates both include a pressure value and a moving distance; When the key feel value meets a preset feel value standard, it is determined that the feel test of the key to be tested is qualified.

6. A remote control button detection device, characterized in that: The device comprises: a trigger module, configured to trigger a key to be tested of the remote control to be tested in response to a remote control test request, so as to send a key signal triggered by the key to be tested to an associated display device; an acquisition module configured to, if the key signal is a key signal triggered by a fast-forward / rewind key, acquire a first interface to which the display device responds based on the key signal when a preset capture value is recognized in the key signal; acquire a second interface to which the display device responds based on the key signal when the preset capture value disappears, use the second interface as a jump interface, and determine a duration of the capture value; and determine a target interface based on the duration of the capture value and the first interface; The determination module is configured to determine whether the test of the key to be tested is completed when the jump interface is the target interface.

7. An electronic device, characterized in that: The device includes: a memory, a processor, and a remote control button detection program stored in the memory and executable on the processor, wherein the remote control button detection program is configured to implement the steps of the remote control button detection method according to any one of claims 1 to 5.

8. A storage medium, characterized in that: The storage medium stores a remote control button detection program, which, when executed by the processor, implements the steps of the remote control button detection method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Test method and system

    CN111739273A

  • Test method and device for key with key elastic sheet and readable storage medium

    CN114812985A

  • Method and device for testing remote control equipment

    CN115985081A