WO2021043020A1 - Key control method and apparatus, and household appliance - Google Patents

Key control method and apparatus, and household appliance Download PDF

Info

Publication number
WO2021043020A1
WO2021043020A1 PCT/CN2020/110884 CN2020110884W WO2021043020A1 WO 2021043020 A1 WO2021043020 A1 WO 2021043020A1 CN 2020110884 W CN2020110884 W CN 2020110884W WO 2021043020 A1 WO2021043020 A1 WO 2021043020A1
Authority
WO
WIPO (PCT)
Prior art keywords
button
key
prompt
pressing
time
Prior art date
Application number
PCT/CN2020/110884
Other languages
French (fr)
Chinese (zh)
Inventor
马先喜
徐刚
倪志伟
Original Assignee
合肥美的洗衣机有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 合肥美的洗衣机有限公司 filed Critical 合肥美的洗衣机有限公司
Publication of WO2021043020A1 publication Critical patent/WO2021043020A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01HELECTRIC SWITCHES; RELAYS; SELECTORS; EMERGENCY PROTECTIVE DEVICES
    • H01H9/00Details of switching devices, not covered by groups H01H1/00 - H01H7/00
    • H01H9/16Indicators for switching condition, e.g. "on" or "off"
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01HELECTRIC SWITCHES; RELAYS; SELECTORS; EMERGENCY PROTECTIVE DEVICES
    • H01H9/00Details of switching devices, not covered by groups H01H1/00 - H01H7/00
    • H01H9/16Indicators for switching condition, e.g. "on" or "off"
    • H01H9/161Indicators for switching condition, e.g. "on" or "off" comprising light emitting elements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A key control method and apparatus (100), and a household appliance. The method comprises: if it is detected that a key is in a pressed state, displaying a key tip, and timing a pressing duration, wherein the key tip is used for showing the pressing duration of the key in real time; and if it is determined that the pressing duration reaches a preset duration, displaying a key tip indicating that the key successfully performs triggering.

Description

按键控制方法、装置以及家电设备Key control method, device and household electrical appliance
相关申请的交叉引用Cross-references to related applications
本申请基于申请号为201910836334.5,申请日为2019年09月05日的中国专利申请提出,并要求上述中国专利申请的优先权,上述中国专利申请的全部内容在此引入本申请作为参考。This application is filed based on a Chinese patent application with an application number of 201910836334.5 and an application date of September 5, 2019, and claims the priority of the above-mentioned Chinese patent application. The entire content of the above-mentioned Chinese patent application is hereby incorporated into this application by reference.
技术领域Technical field
本申请涉及家用电器技术领域,尤其涉及一种按键控制方法、装置以及家电设备。This application relates to the technical field of household appliances, and in particular to a key control method, device, and household electrical appliances.
背景技术Background technique
用户使用家电设备的过程中,可能会存在用户通过长按某一功能按键或者同时按下多个按键才能触发对应功能的情况。但是,用户在长按按键的过程中,不能确定长按按键多久才能触发对应的功能,或者,同时按下多个按键的过程中,也不能确定是否成功按下多个按键。During the user's use of household electrical appliances, there may be situations in which the user can trigger the corresponding function by long pressing a certain function button or pressing multiple buttons at the same time. However, in the process of long-pressing the button, the user cannot determine how long the long-pressing button can trigger the corresponding function, or, in the process of pressing multiple buttons at the same time, it is also uncertain whether the multiple buttons are successfully pressed.
申请内容Application content
本申请提出一种按键控制方法,通过在探测到按键处于按压状态,以及按键触发成功时显示按键提示,解决了现有技术中用户在长按按键或者按压组合按键的过程中,不能确定按键是否被成功按下以及按键是否触发成功的技术问题。The present application proposes a button control method. By displaying a button prompt when the button is detected to be in a pressed state and the button is successfully triggered, it solves the problem that the user cannot determine whether the button is pressed in the process of long pressing the button or pressing the combination button in the prior art. The technical question of whether the key was successfully pressed and whether the key was triggered successfully.
本申请第一方面实施例提出了一种按键控制方法,包括:The embodiment of the first aspect of the present application proposes a button control method, including:
探测到按键处于按压状态,则显示按键提示,并对按压时长计时;按键提示用于实时展示按键的按压时长;When the button is detected to be in the pressed state, the button prompt is displayed and the pressing time is counted; the button prompt is used to display the pressing time of the button in real time;
确定按压时长达到预设时长,则显示按键触发成功的按键提示。If it is determined that the pressing time reaches the preset time, a key prompt indicating that the key is triggered successfully is displayed.
作为本申请实施例的第一种可能的实现方式,探测到按键处于按压状态,则显示按键提示,并对按压时长计时之后,还包括:As the first possible implementation of the embodiment of the present application, after detecting that the button is in a pressed state, displaying the button prompt, and counting the pressing time, further includes:
探测到按键处于停止按压状态,且按压时长未达到预设时长,显示按键触发失败的按键提示。If it is detected that the button is in a stopped pressing state, and the pressing time has not reached the preset time, a button prompt indicating that the button has failed to be triggered is displayed.
作为本申请实施例的第二种可能的实现方式,按键提示包括显示提示、声音提示和闪光提示中的一种或多种。As a second possible implementation manner of the embodiment of the present application, the key prompt includes one or more of a display prompt, a sound prompt, and a flash prompt.
作为本申请实施例的第三种可能的实现方式,显示提示为进度条提示,确定按压时长达到预设时长,则显示按键触发成功的按键提示,包括:As the third possible implementation manner of the embodiment of the present application, the display prompt is a progress bar prompt. If it is determined that the pressing time reaches the preset time period, then the key prompt that the key is triggered successfully is displayed, including:
根据预设时长将进度条等分为多个区域;其中,预设时长的每单位时长对应所述进度条一个区域;Divide the progress bar into multiple regions according to the preset duration; wherein, each unit duration of the preset duration corresponds to one region of the progress bar;
按压时长每增加一单位时长,控制进度条顺序点亮一个区域;Each time the pressing time increases by one unit, the control progress bar sequentially lights up an area;
确定按压时长达到预设时长,控制进度条全部点亮。Make sure that the pressing time reaches the preset time, and the control progress bar will all light up.
作为本申请实施例的第四种可能的实现方式,闪光提示为LED灯闪烁提示;探测到处于按压状态的按键,LED灯采用第一频率闪烁;探测到按压时长达到预设时长,LED灯采用第二频率闪烁,或者,LED灯处于常亮状态;探测到处于停止按压状态,且按压时长未达到预设时长的按键,LED灯采用第三频率闪烁,或者,LED灯处于熄灭状态;As the fourth possible implementation of the embodiment of the present application, the flashing prompt is an LED flashing prompt; when a button is detected in a pressed state, the LED flashes at the first frequency; when it is detected that the pressing time reaches the preset time, the LED light uses The second frequency flashes, or the LED light is always on; the button that is in the stopped pressing state and the pressing time has not reached the preset time is detected, the LED light flashes at the third frequency, or the LED light is in the off state;
其中,第一频率、第二频率和第三频率互不相同。Among them, the first frequency, the second frequency, and the third frequency are different from each other.
作为本申请实施例的第五种可能的实现方式,显示按键被按压成功提示信息之后,还包括:As a fifth possible implementation manner of the embodiment of the present application, after displaying the prompt message that the button is successfully pressed, the method further includes:
响应于用户操作,执行按键对应的触控指令。In response to the user's operation, the touch command corresponding to the button is executed.
作为本申请实施例的第六种可能的实现方式,按键为一个或多个按键组合。As a sixth possible implementation manner of the embodiment of the present application, the key is one or more key combinations.
本申请实施例的按键控制方法,通过探测到按键处于按压状态,则显示按键提示,并对按压时长计时;按键提示用于实时展示所述按键的按压时长;确定按压时长达到预设时长,则显示按键触发成功的按键提示。由此,通过显示按键提示,能够实时显示按键的按压时长,以使得用户根据按键提示直观的确定按键按压进度,以及按键触发成功,以便于用户对按键的控制。According to the button control method of the embodiment of the present application, by detecting that the button is in a pressed state, a button prompt is displayed and the pressing time is counted; the button prompt is used to display the pressing time of the button in real time; it is determined that the pressing time reaches the preset time length Display the key prompt that the key is triggered successfully. Therefore, by displaying the key prompt, the pressing time of the key can be displayed in real time, so that the user can intuitively determine the key press progress according to the key prompt, and the key trigger is successful, so that the user can control the key.
本申请第二方面实施例提出了一种按键控制装置,包括:An embodiment of the second aspect of the present application proposes a button control device, including:
探测模块,用于探测到按键处于按压状态,则显示按键提示,并对按压时长计时;按键提示用于实时展示按键的按压时长;The detection module is used to detect that the button is in the pressed state, display the button prompt, and time the pressing time; the button prompt is used to display the pressing time of the button in real time;
显示模块,用于确定按压时长达到预设时长,则显示按键触发成功的按键提示。The display module is used for determining that the pressing time reaches the preset time, and then displaying the key prompt that the key is triggered successfully.
作为本申请实施例的一种可能的实现方式,所述按键提示包括显示提示、声音提示和闪光提示中的一种或多种。As a possible implementation of the embodiment of the present application, the button prompt includes one or more of a display prompt, a sound prompt, and a flash prompt.
作为本申请实施例的另一种可能的实现方式,所述按键为一个或多个按键组合。As another possible implementation manner of the embodiment of the present application, the key is one or more key combinations.
本申请实施例的按键控制装置,通过探测到按键处于按压状态,则显示按键提示,并对按压时长计时;按键提示用于实时展示所述按键的按压时长;确定按压时长达到预设时长,则显示按键触发成功的按键提示。由此,通过显示按键提示,能够实时显示按键的按压时长,以使得用户根据按键提示直观的确定按键按压进度,以及按键触发成功,以便于用户对按键的控制。In the key control device of the embodiment of the present application, by detecting that the key is in a pressed state, it displays a key reminder and counts the pressing time; the key reminder is used to display the pressing time of the key in real time; it is determined that the pressing time reaches the preset time length Display the key prompt that the key is triggered successfully. Therefore, by displaying the key prompt, the pressing time of the key can be displayed in real time, so that the user can intuitively determine the key press progress according to the key prompt, and the key trigger is successful, so that the user can control the key.
本申请第三方面实施例提出了一种家电设备,包括:包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时,实现如本申请上 述实施例提出的按键控制方法。The embodiment of the third aspect of the present application proposes a household electrical appliance, including: a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the processor executes the program, the implementation is as follows: Apply for the button control method proposed in the above embodiment.
本申请第四方面实施例提出了一种非临时性计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如本申请上述实施例提出的按键控制方法。The embodiment of the fourth aspect of the present application proposes a non-transitory computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the key control method as proposed in the above-mentioned embodiment of the present application is implemented .
本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。The additional aspects and advantages of the present application will be partly given in the following description, and some will become obvious from the following description, or be understood through the practice of the present application.
附图说明Description of the drawings
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present application will become obvious and easy to understand from the following description of the embodiments in conjunction with the accompanying drawings, in which:
图1为本申请实施例一提供的按键控制方法的流程示意图;FIG. 1 is a schematic flowchart of a button control method provided in Embodiment 1 of this application;
图2为本申请实施例二提供的按键控制方法的流程示意图;FIG. 2 is a schematic flowchart of a button control method provided in Embodiment 2 of this application;
图3为本申请实施例三提供的按键控制方法的流程示意图;FIG. 3 is a schematic flowchart of a button control method provided in Embodiment 3 of this application;
图4为本申请实施例三提供的进度条显示的示例图;FIG. 4 is an example diagram of the progress bar display provided in the third embodiment of the application;
图5为本申请实施例四提供的按键控制方法的流程示意图;FIG. 5 is a schematic flowchart of a button control method provided in Embodiment 4 of this application;
图6为本申请实施例五提供的按键控制装置的结构示意图。FIG. 6 is a schematic structural diagram of a key control device provided in Embodiment 5 of this application.
具体实施方式detailed description
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。The embodiments of the present application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, in which the same or similar reference numerals denote the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary, and are intended to explain the present application, but should not be understood as a limitation to the present application.
用户使用家电设备的过程中,可能会存在用户长按某一功能按键或者同时按下多个按键才能触发对应的功能的情况,但是,用户在长按按键的过程中,不能确定长按按键多久才能触发对应的功能,或者,同时按下多个按键的过程中,也不能确定是否成功按下多个按键。During the user's use of household appliances, there may be situations in which the user long presses a function button or presses multiple buttons at the same time to trigger the corresponding function. However, the user cannot determine how long the button is long pressed during the long press of the button. In order to trigger the corresponding function, or, in the process of pressing multiple keys at the same time, it is not sure whether multiple keys are successfully pressed.
针对上述现有技术中的问题,本申请实施例提供了一种按键控制方法,通过探测到按键处于按压状态,则显示按键提示,并对按压时长计时;按键提示用于实时展示所述按键的按压时长;确定按压时长达到预设时长,则显示按键触发成功的按键提示。In response to the above-mentioned problems in the prior art, an embodiment of the present application provides a button control method. By detecting that the button is in a pressed state, a button prompt is displayed, and the pressing time is counted; the button prompt is used to display the button information in real time Pressing time; if the pressing time is determined to reach the preset time, a key prompt indicating that the key is triggered successfully will be displayed.
下面参考附图描述本申请实施例的按键控制方法、装置、家电设备和可读存储介质。The key control method, device, home appliance and readable storage medium of the embodiments of the present application will be described below with reference to the accompanying drawings.
图1为本申请实施例一所提供的按键控制方法的流程示意图。FIG. 1 is a schematic flowchart of a key control method provided in Embodiment 1 of the application.
本申请实施例以该按键控制方法被配置于按键控制装置中来举例说明,该按键控制装置可以应用于任一家电设备中,以使该家电设备可以执行按键控制功能。In the embodiment of the present application, the key control method is configured in a key control device as an example. The key control device can be applied to any household electrical appliance so that the household electrical appliance can perform a key control function.
例如,家电设备可以为空气调节设备、洗衣机、厨房家电等设置有按键功能的家电设 备。For example, the household electrical appliances may be household electrical appliances provided with key functions such as air conditioning equipment, washing machines, kitchen appliances, and the like.
如图1所示,该按键控制方法可以包括以下步骤:As shown in Figure 1, the button control method may include the following steps:
步骤101,探测到按键处于按压状态,则显示按键提示,并对按压时长计时。Step 101: If it is detected that the button is in a pressed state, a button prompt is displayed, and the pressing time is counted.
其中,按键提示用于实时展示按键的按压时长。Among them, the key prompt is used to display the pressing time of the key in real time.
作为一种可能的情况,家电设备包括触控面板,触控面板上设置有多个触控按键,每一个触控按键或者多个触控按键的组合对应有相应的功能。As a possible situation, the home appliance includes a touch panel, and a plurality of touch buttons are provided on the touch panel, and each touch button or a combination of multiple touch buttons has a corresponding function.
作为另一种可能的情况,家电设备上设置有多个按压式按键,每一个按压式按键或者多个按压式按键的组合对应有相应的功能。As another possible situation, multiple push buttons are provided on the household appliance, and each push button or a combination of multiple push buttons has a corresponding function.
需要说明的是,按键可以为触控按键,也可以为按压式按键,本实施例中对此不做限制。此外,本申请实施例中的按键,可以设置于遥控器或者家电设备的触控面板上,同样的,本申请实施例的按键控制方法也适用于遥控器或者触控面板的按键控制。It should be noted that the keys can be touch keys or push-type keys, which are not limited in this embodiment. In addition, the buttons in the embodiments of the present application can be set on the remote control or the touch panel of the household electrical appliance. Similarly, the button control method in the embodiments of the present application is also applicable to the button control of the remote control or the touch panel.
本申请实施例中,家电设备在开机后实时监测按键是否被按压,在探测到按键处于按压状态时,计时器对按键处于按压状态的按压时长进行计时。其中,按键可以为一个或多个按键组合。In the embodiment of the present application, the household electrical appliance monitors whether the button is pressed in real time after being turned on, and when it is detected that the button is in the pressed state, the timer counts the pressing time of the button in the pressed state. Among them, the key can be one or more key combinations.
本申请实施例中,在探测到按键处于按压状态时,控制显示设备显示按键提示。其中,按键提示用于实时展示按键的按压时长。由此,用户根据家电设备显示的按键提示,能够可视化的显示按键的按压时长,使得用户根据按键提示能够直观的确定按键按压进度,以及按键按压是否成功。In the embodiment of the present application, when it is detected that the button is in a pressed state, the display device is controlled to display a button prompt. Among them, the key prompt is used to display the pressing time of the key in real time. Therefore, the user can visually display the pressing time of the button according to the button prompt displayed by the home appliance, so that the user can intuitively determine the button pressing progress and whether the button pressing is successful according to the button prompt.
需要说明的是,按键提示可以为显示提示、声音提示和闪光提示中的一种或多种。例如,可以通过显示面板实时显示按键被按压时长;还可以采用蜂鸣器等发声装置通过发出声音的方式提示按键被按压时长;还可以通过发光二极管(Light-Emitting Diode,简称LED)等采用闪光提示的方式提示按键被按压时长。It should be noted that the key prompt can be one or more of display prompt, sound prompt and flash prompt. For example, the display panel can display the length of the key pressed in real time; a buzzer or other sounding device can also be used to prompt the length of the key pressed by sound; it can also be flashed by using a light-emitting diode (LED), etc. The prompt method prompts the length of time the key has been pressed.
步骤102,确定按压时长达到预设时长,则显示按键触发成功的按键提示。In step 102, it is determined that the pressing time reaches the preset time, and then a button prompt indicating that the button is triggered successfully is displayed.
其中,预设时长,为按键触发成功时对应的按键按压时长。Among them, the preset duration is the corresponding key press duration when the key is successfully triggered.
本申请实施例中,计时器对按键处于按压状态的按压时长进行计时,确定按压时长达到预设时长时,家电设备显示按键触发成功的按键提示。In the embodiment of the present application, the timer counts the pressing duration of the button in the pressed state, and when it is determined that the pressing duration reaches the preset duration, the home appliance displays a button prompt that the button is successfully triggered.
进一步的,按键处于按压状态的按压时长达到预设时长时,家电设备响应于用户对按键的按压操作,执行按键对应的触控指令。Further, when the pressing duration of the button in the pressed state reaches the preset duration, the household electrical appliance executes the touch command corresponding to the button in response to the user's pressing operation on the button.
需要说明的是,家电设备可以通过显示提示、声音提示和闪光提示中的一种或多种,提示按键触发成功,具体地提示方式本实施例中不做限制。It should be noted that the household electrical appliance can prompt the key to be triggered successfully through one or more of display prompts, sound prompts, and flashing prompts. The specific prompting method is not limited in this embodiment.
例如,在确定按压时长达到预设时长时,可以控制LED灯常亮,同时控制蜂鸣器发声,以提醒用户按键触发成功。由此,能够使得用户更加直观的确定按键是否触发成功。For example, when it is determined that the pressing time reaches the preset time, the LED light can be controlled to be always on, and the buzzer can be controlled to sound to remind the user that the key is triggered successfully. Therefore, the user can more intuitively determine whether the key is triggered successfully.
本申请实施例的按键控制方法,通过探测到按键处于按压状态,则显示按键提示,并对按压时长计时;按键提示用于实时展示所述按键的按压时长;确定按压时长达到预设时长,则显示按键触发成功的按键提示。由此,通过显示按键提示,能够实时显示按键的按压时长,以使得用户根据按键提示直观的确定按键按压进度,以及按键触发成功,以便于用户对按键的控制。According to the button control method of the embodiment of the present application, by detecting that the button is in a pressed state, a button prompt is displayed and the pressing time is counted; the button prompt is used to display the pressing time of the button in real time; it is determined that the pressing time reaches the preset time length Display the key prompt that the key is triggered successfully. Therefore, by displaying the key prompt, the pressing time of the key can be displayed in real time, so that the user can intuitively determine the key press progress according to the key prompt, and the key trigger is successful, so that the user can control the key.
在上述实施例的基础上,进一步地,在本申请的另一个实施例中,在探测到按键处于按压状态后,在按压时长未达到预设时长时,探测到按键处于停止按压状态,显示按键触发失败的按键提示。下面结合实施例二对上述过程进行详细介绍,图2为本申请实施例二提供的按键控制方法的流程示意图。On the basis of the above-mentioned embodiment, further, in another embodiment of the present application, after detecting that the button is in the pressed state, when the pressing time does not reach the preset time, it is detected that the button is in the stopped pressing state, and the button is displayed Trigger failed button prompt. The above process will be described in detail below in conjunction with the second embodiment. FIG. 2 is a schematic flowchart of the button control method provided in the second embodiment of the application.
如图2所示,该方法还可以包括以下步骤:As shown in Figure 2, the method may further include the following steps:
步骤201,探测到按键处于按压状态,则显示按键提示,并对按压时长计时。In step 201, it is detected that the button is in a pressed state, a button prompt is displayed, and the pressing time is counted.
本申请实施例中,步骤201的实现过程,可以参见上述实施例中步骤101的实现过程,在此不再赘述。In the embodiment of the present application, for the implementation process of step 201, refer to the implementation process of step 101 in the foregoing embodiment, and details are not described herein again.
步骤202,探测到按键处于停止按压状态,且按压时长未达到预设时长,显示按键触发失败的按键提示。In step 202, it is detected that the button is in a stopped pressing state and the pressing duration has not reached the preset duration, and a button prompt indicating that the button fails to be triggered is displayed.
本申请实施例中,家电设备的处理器探测到按键处于停止按压状态时,计时器对按压时长计时未达到预设时长,这种情况下,由于按键触发失败,家电设备不执行按键对应的功能,并且显示按键触发失败的按键提示。In the embodiment of the present application, when the processor of the home appliance detects that the button is in the stopped pressing state, the timer does not count the pressing time for the preset duration. In this case, the home appliance does not perform the function corresponding to the button due to the failure of the button triggering , And display the button prompt that the button fails to trigger.
需要说明的是,按键触发失败时的按键提示,可以为显示提示、声音提示和闪光提示中的一种或多种,也可以在家电设备的显示面板以文字的方式显示按键状态,等等,本实施例中在此不做限制。It should be noted that the button prompt when the button fails to be triggered can be one or more of display prompt, sound prompt and flash prompt, or the state of the key can be displayed in text on the display panel of the home appliance, etc., In this embodiment, there is no limitation here.
例如,可以在家电设备的显示面板以文字形式实时显示按键的按压状态。如,在探测到按键处于按压状态时,在家电设备的显示面板显示“按压持续中”的文字;确定按压时长达到预设时长时,此时按键触发成功,可以在家电设备的显示面板显示“按键触发成功”的文字;探测到按键处于停止按压状态,且按压时长未达到预设时长时,可以在家电设备的显示面板显示“按键触发失败”的文字。For example, the pressing state of the button can be displayed in real time in the form of text on the display panel of the household electrical appliance. For example, when it is detected that the button is in a pressed state, the display panel of the home appliance will display the text "pressing continuing"; when it is determined that the pressing time reaches the preset time, the button is triggered successfully at this time, and the display panel of the home appliance can display " The text of "Key trigger successful" is detected; the text of "Key trigger failed" can be displayed on the display panel of the home appliance when it is detected that the key is in the stopped pressing state and the pressing time has not reached the preset time.
可以理解为,用户对按键的按压时长未达到预设时长时,取消对按键的按压,此时,无法触发按键对应的功能,并通过按键提示显示按键触发失败。由此,能够可视化的掌握按键的按压状态,便于用户控制按键。It can be understood that when the user presses the button for a duration that does not reach the preset duration, the pressing of the button is cancelled. At this time, the function corresponding to the button cannot be triggered, and a button prompt displays that the button has failed to be triggered. As a result, the pressing state of the key can be grasped visually, and it is convenient for the user to control the key.
本申请实施例的按键控制方法,通过探测到按键处于按压状态,则显示按键提示,并对按压时长计时,探测到按键处于停止按压状态,且按压时长未达到预设时长,显示按键触发失败的按键提示。由此,通过显示按键触发失败的按键提示,能够使得用户更加直观 的掌握按键的按压状态,以便于用户对按键的控制。According to the button control method of the embodiment of the present application, by detecting that the button is in a pressed state, the button prompt is displayed and the pressing time is counted. When the button is detected to be in the stopped pressing state, and the pressing time does not reach the preset time, it displays that the button has failed to trigger Key prompt. Therefore, by displaying the key prompt that the key trigger fails, the user can more intuitively grasp the pressed state of the key, so that the user can control the key.
作为一种可能的实现方式,在上述步骤102中,显示所述按键触发成功的按键提示为显示提示时,可以通过进度条提示对按键的按压时长进行提示。具体地,可以根据预设时长将进度条等分为多个区域,在按压时长每增加一单位时长时,控制进度条顺序点亮一个区域,确定按压时长达到预设时长时,控制进度条全部点亮,以提醒用户按键触发成功,按键对应的功能生效。下面结合实施例三对上述过程进行详细介绍,图3为本申请实施例三提供的按键控制方法的流程示意图。As a possible implementation manner, in the foregoing step 102, when the key prompt showing that the key is successfully triggered is a display prompt, the progress bar prompt may be used to prompt the pressing time of the key. Specifically, the progress bar can be divided into multiple areas according to the preset duration. When the pressing duration increases by one unit of time, the progress bar is controlled to sequentially light up an area, and when the pressing duration reaches the preset duration, the entire progress bar is controlled. Lights up to remind the user that the key is triggered successfully and the corresponding function of the key is effective. The above process will be described in detail below in conjunction with the third embodiment. FIG. 3 is a schematic flowchart of the button control method provided in the third embodiment of this application.
如图3所示,上述步骤102还可以包括:As shown in Fig. 3, the foregoing step 102 may further include:
步骤301,根据预设时长将进度条等分为多个区域。In step 301, the progress bar is equally divided into a plurality of areas according to a preset duration.
其中,预设时长的每单位时长对应进度条一个区域。Among them, each unit duration of the preset duration corresponds to an area of the progress bar.
本申请实施例中,根据按键对应的预设时长,将进度条等分为多个区域,并且预设时长的每单位时长对应于进度条一个区域。In the embodiment of the present application, the progress bar is equally divided into multiple regions according to the preset duration corresponding to the button, and each unit duration of the preset duration corresponds to one region of the progress bar.
举例来说,假如预设时长为5秒,则可以将进度条等分为5个区域,按键被按压时长为1秒时,对应于进度条一个区域。For example, if the preset duration is 5 seconds, the progress bar can be equally divided into 5 areas. When the button is pressed for 1 second, it corresponds to one area of the progress bar.
步骤302,按压时长每增加一单位时长,控制进度条顺序点亮一个区域。In step 302, each time the pressing duration increases by one unit duration, the control progress bar sequentially lights up an area.
本申请实施例中,探测到按键处于按压状态时,控制进度条第一个区域点亮,以提示用户按键成功被按下。按键被按下的按压时长每增加一单位时长,控制进度条顺序点亮一个区域。In the embodiment of the present application, when it is detected that the button is in a pressed state, the first area of the control progress bar is lit to prompt the user that the button is successfully pressed. The control progress bar sequentially lights up an area for each time the pressing time of the key is pressed increases by one unit.
步骤303,确定按压时长达到预设时长,控制进度条全部点亮。In step 303, it is determined that the pressing duration reaches the preset duration, and the control progress bar is all lit.
本申请实施例中,按压时长每增加一单位时长,控制进度条顺序点亮一个区域时,确定按压时长达到预设时长时,控制进度条全部点亮。In the embodiment of the present application, when the pressing duration increases by one unit duration, when the control progress bar sequentially lights up an area, it is determined that the pressing duration reaches the preset duration, the control progress bar is all lit.
作为一种示例,参见图4,如图4所示,进度条可以为长方形进度条,也可以为圆形进度条,当然也可以为其他形状的进度条,本实施例中对此不做限制。As an example, see Figure 4, as shown in Figure 4, the progress bar can be a rectangular progress bar, or a circular progress bar, of course, it can also be a progress bar of other shapes, which is not limited in this embodiment. .
举例来说,假如预设时长为5秒,进度条被等分为5个区域,在探测到按键处于按压状态时,控制进度条第一个区域点亮,当按压时长为2秒时,顺序点亮进度条第二个区域,也就是说,在按压时长为2秒时,进度条的前两个区域均处于点亮状态。确定按压时长为5秒时,控制进度条全部点亮。由此,按压时长每增加一单位时长,控制进度条顺序点亮一个区域,能够向用户实时展示按键的按压进度。For example, if the preset time is 5 seconds, the progress bar is equally divided into 5 areas. When the button is detected to be pressed, the first area of the control progress bar lights up. When the pressing time is 2 seconds, the sequence The second area of the progress bar is illuminated, that is to say, when the pressing time is 2 seconds, the first two areas of the progress bar are both lit. When it is determined that the pressing time is 5 seconds, the control progress bar will all light up. As a result, every time the pressing time increases by one unit of time, the control progress bar sequentially lights up an area, which can show the user the pressing progress of the button in real time.
本申请实施例的按键控制方法,通过根据预设时长将进度条等分为多个区域;其中,预设时长的每单位时长对应进度条一个区域,按压时长每增加一单位时长,控制进度条顺序点亮一个区域,确定按压时长达到预设时长,控制进度条全部点亮。该方法通过顺序点亮进度条的各个区域,以实时显示按键按压时长,从而通过进度条显示实时提醒用户按键 触发是否成功,以便于用户对按键进行控制。The button control method of the embodiment of the present application divides the progress bar into multiple regions according to the preset duration; wherein, each unit duration of the preset duration corresponds to an area of the progress bar, and each time the pressing duration increases by one unit duration, the progress bar is controlled Light up an area in sequence, confirm that the pressing time reaches the preset time, and the control progress bar will all light up. In this method, the various areas of the progress bar are sequentially illuminated to display the duration of key presses in real time, so that the progress bar displays in real time to remind the user whether the key trigger is successful or not, so that the user can control the keys.
作为另一种可能的实现方式,按键提示为闪光提示时,可以通过LED灯采用不同频率进行闪烁提示,以使得用户根据LED灯的闪烁提示,确定按键触发是否成功。下面结合实施例四对上述过程进行详细介绍,图5为本申请实施例四提供的按键控制方法的流程示意图。As another possible implementation manner, when the key prompt is a flashing prompt, the LED lights can be used for flashing prompts with different frequencies, so that the user can determine whether the key is triggered successfully according to the flashing prompts of the LED lights. The above process will be described in detail below in conjunction with the fourth embodiment. FIG. 5 is a schematic flowchart of the button control method provided in the fourth embodiment of this application.
如图5所示,该按键控制方法包括以下步骤:As shown in Figure 5, the button control method includes the following steps:
步骤401,探测到按键处于按压状态,LED灯采用第一频率闪烁,并对按压时长计时。Step 401: It is detected that the button is in a pressed state, the LED light flashes at the first frequency, and the pressing time is counted.
本申请实施例中,在用户按压按键的过程中,通过LED灯以不同频率进行闪烁来确定按键被按压状态。In the embodiment of the present application, when the user presses the button, the LED light flashes at different frequencies to determine the pressed state of the button.
作为一种可能的情况,家电设备探测到按键处于按压状态时,控制LED灯采用第一频率闪烁,并对按键按压时长进行计时。由此,通过LED灯以第一频率闪烁,用户可以直观的确定按键开始被按压。As a possible situation, when the home appliance detects that the button is in a pressed state, it controls the LED light to flash at the first frequency and counts the duration of the button pressing. Thus, by flashing the LED light at the first frequency, the user can intuitively determine that the button is started to be pressed.
步骤402,探测到按键按压时长达到预设时长,LED灯采用第二频率闪烁,或者,LED灯处于常亮状态。In step 402, it is detected that the key pressing time reaches the preset time length, and the LED light flashes at the second frequency, or the LED light is in a constant light state.
作为一种可能的情况,家电设备探测按键到按压时长达到预设时长时,控制LED灯采用不同于第一频率的第二频率闪烁,以使得用户根据LED灯的闪烁频率确定按键触发成功。As a possible situation, when the home appliance detects that the button is pressed for a preset duration, the household appliance controls the LED light to blink at a second frequency different from the first frequency, so that the user determines that the button is triggered successfully according to the blinking frequency of the LED light.
作为一种可能的情况,家电设备探测按键到按压时长达到预设时长时,控制LED灯处于常亮状态,以使得用户根据LED灯的常亮状态确定按键触发成功。As a possible situation, when the household appliance detects that the button is pressed for a preset duration, it controls the LED light to be in a constant light state, so that the user determines that the key is triggered successfully according to the constant light state of the LED light.
步骤403,探测按键处于停止按压状态,且按压时长未达到预设时长,LED灯采用第三频率闪烁,或者,LED灯处于熄灭状态。In step 403, it is detected that the button is in a stopped pressing state, and the pressing time does not reach the preset duration, the LED light flashes at the third frequency, or the LED light is in the off state.
其中,第一频率、第二频率和第三频率互不相同。Among them, the first frequency, the second frequency, and the third frequency are different from each other.
作为一种可能的情况,家电设备探测到按键处于停止状态,且按压时长未达到预设时长时,控制LED灯采用第三频率闪烁,以使得用户根据LED灯的闪烁频率确定按键的按压状态。As a possible situation, when the home appliance detects that the button is in a stopped state and the pressing time does not reach the preset duration, the LED light is controlled to blink at the third frequency, so that the user determines the pressing state of the button according to the blinking frequency of the LED light.
作为另一种可能的情况,家电设备探测到按键处于停止状态,且按压时长未达到预设时长时,还可以控制LED灯处于熄灭状态,以使得用户根据LED灯的熄灭状态确定按键触发失败。As another possible situation, when the home appliance detects that the button is in the stopped state and the pressing time does not reach the preset duration, it can also control the LED light to be in the off state, so that the user determines that the button has failed to be triggered according to the LED light off state.
在上述实施例的基础上,作为另一种可能的情况,家电设备探测到按键的按压状态时,还可以控制LED灯采用不同颜色的光进行点亮,以使得用户根据LED灯点亮的光的颜色,确定按键是否被按压成功。On the basis of the above embodiment, as another possible situation, when the home appliance detects the pressing state of the button, it can also control the LED lamp to use different colors of light to light up, so that the user can light up according to the light of the LED lamp. The color of the button determines whether the button is successfully pressed.
作为一种示例,探测到按键处于按压状态时,控制LED灯采用红色光点亮;探测到按键按压时长达到预设时长时,控制LED灯采用绿色光点亮;探测按键处于停止按压状态, 且按压时长未达到预设时长,控制LED灯采用蓝色光点亮。As an example, when the button is detected to be in a pressed state, the control LED light is lit with red light; when it is detected that the button is pressed for a preset period of time, the control LED light is lit with green light; the button is detected to be in a stopped pressing state, and When the pressing time does not reach the preset time, the control LED light is lit with blue light.
需要说明的是,LED灯点亮的颜色不限于上述的红、绿、蓝,也可以控制LED灯采用其他颜色点亮,本实施例中在此不做限制。It should be noted that the lighting colors of the LED lamps are not limited to the above red, green, and blue, and the LED lamps can also be controlled to be illuminated in other colors, which is not limited in this embodiment.
本申请实施例的按键控制方法,探测到按键处于按压状态,LED灯采用第一频率闪烁,并对按压时长计时,探测到按键按压时长达到预设时长,LED灯采用第二频率闪烁,或者,LED灯处于常亮状态,探测按键处于停止按压状态,且按压时长未达到预设时长,LED灯采用第三频率闪烁,或者,LED灯处于熄灭状态。由此,通过LED灯的闪烁频率,或者LED灯的开关状态,来实时提醒用户按键的按压状态,实现了对按键的按压状态进行实时监控,以便于用户对按键的控制。According to the button control method of the embodiment of the present application, the LED lamp flickers at the first frequency when the button is detected to be in a pressed state, and the pressing time is counted, and when the button is pressed for the preset duration, the LED lamp flickers at the second frequency, or, The LED light is always on, the detection button is in the stopped pressing state, and the pressing time does not reach the preset time, the LED light flashes at the third frequency, or the LED light is in the off state. Therefore, the user is reminded of the pressing state of the button in real time through the flashing frequency of the LED lamp or the switch state of the LED lamp, realizing real-time monitoring of the pressing state of the button, so as to facilitate the user to control the button.
为了实现上述实施例,本申请还提出一种按键控制装置。In order to implement the above embodiments, this application also proposes a key control device.
图6为本申请实施例五提供的按键控制装置的结构示意图。FIG. 6 is a schematic structural diagram of a key control device provided in Embodiment 5 of this application.
如图6所示,该按键控制装置100包括:探测模块110和显示模块120。As shown in FIG. 6, the key control device 100 includes: a detection module 110 and a display module 120.
探测模块110,用于探测到按键处于按压状态,则显示按键提示,并对按压时长计时;按键提示用于实时展示按键的按压时长。The detection module 110 is configured to detect that the button is in a pressed state, display the button prompt, and time the pressing time; the button prompt is used to display the pressing time of the button in real time.
显示模块120,用于确定按压时长达到预设时长,则显示按键触发成功的按键提示。The display module 120 is configured to determine that the pressing time reaches the preset time, and then display a key prompt indicating that the key is triggered successfully.
作为一种可能的实现方式,显示模块120,还用于:As a possible implementation manner, the display module 120 is also used for:
探测到按键处于停止按压状态,且按压时长未达到预设时长,显示按键触发失败的按键提示。If it is detected that the button is in a stopped pressing state, and the pressing time has not reached the preset time, a button prompt indicating that the button has failed to be triggered is displayed.
作为另一种可能的实现方式,按键提示包括显示提示、声音提示和闪光提示中的一种或多种。As another possible implementation manner, the key prompt includes one or more of a display prompt, a sound prompt, and a flash prompt.
作为另一种可能的实现方式,显示提示为进度条提示,显示模块120,还用于:As another possible implementation manner, the display prompt is a progress bar prompt, and the display module 120 is also used for:
根据预设时长将进度条等分为多个区域;其中,预设时长的每单位时长对应进度条一个区域;按压时长每增加一单位时长,控制进度条顺序点亮一个区域;确定按压时长达到预设时长,控制进度条全部点亮。The progress bar is divided into multiple areas according to the preset duration; among them, each unit duration of the preset duration corresponds to an area of the progress bar; each time the pressing duration increases by one unit duration, the progress bar is controlled to sequentially light up an area; confirm that the pressing duration reaches The preset duration, the control progress bar all lights up.
作为另一种可能的实现方式,闪光提示为LED灯闪烁提示;探测到处于按压状态的按键,LED灯采用第一频率闪烁;探测到按压时长达到预设时长,LED灯采用第二频率闪烁,或者,LED灯处于常亮状态;探测到处于停止按压状态,且按压时长未达到预设时长的按键,LED灯采用第三频率闪烁,或者,LED灯处于熄灭状态;As another possible implementation, the flashing reminder is an LED flashing reminder; when a button is detected, the LED light flashes at the first frequency; when it is detected that the pressing time reaches the preset time, the LED light flashes at the second frequency. Or, the LED light is always on; the button that is in the stopped pressing state and the pressing time has not reached the preset time is detected, the LED light flashes at the third frequency, or the LED light is in the off state;
其中,第一频率、第二频率和第三频率互不相同。Among them, the first frequency, the second frequency, and the third frequency are different from each other.
作为另一种可能的实现方式,按键控制装置100,还包括:As another possible implementation manner, the key control device 100 further includes:
执行模块,用于响应于用户操作,执行按键对应的触控指令。The execution module is used to execute touch commands corresponding to the keys in response to user operations.
作为另一种可能的实现方式,按键为一个或多个按键组合。As another possible implementation manner, the key is one or more key combinations.
需要说明的是,前述对按键控制方法实施例的解释说明也适用于该实施例的按键控制装置,其实现原理类似,此处不再赘述。It should be noted that the foregoing explanation of the embodiment of the button control method is also applicable to the button control device of this embodiment, and the implementation principle is similar, and will not be repeated here.
本申请实施例的按键控制装置,通过探测到按键处于按压状态,则显示按键提示,并对按压时长计时;按键提示用于实时展示所述按键的按压时长;确定按压时长达到预设时长,则显示按键触发成功的按键提示。由此,通过显示按键提示,能够实时显示按键的按压时长,以使得用户根据按键提示直观的确定按键按压进度,以及按键触发成功,以便于用户对按键的控制。In the key control device of the embodiment of the present application, by detecting that the key is in a pressed state, it displays a key reminder and counts the pressing time; the key reminder is used to display the pressing time of the key in real time; it is determined that the pressing time reaches the preset time length Displays the key prompt that the key is triggered successfully. Therefore, by displaying the key prompt, the pressing time of the key can be displayed in real time, so that the user can intuitively determine the key press progress according to the key prompt, and the key trigger is successful, so that the user can control the key.
为了实现上述实施例,本申请还提出一种家电设备,包括:包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时,实现如本申请上述实施例提出的按键控制方法。In order to implement the above-mentioned embodiments, this application also proposes a household electrical appliance, which includes a memory, a processor, and a computer program stored on the memory and capable of running on the processor. When the processor executes the program, the implementation is as follows: The key control method proposed in the foregoing embodiment of the present application.
为了实现上述实施例,本申请还提出一种非临时性计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时,实现如本申请上述实施例提出的按键控制方法。In order to implement the above-mentioned embodiments, this application also proposes a non-transitory computer-readable storage medium on which a computer program is stored, which is characterized in that, when the program is executed by a processor, the keys mentioned in the above-mentioned embodiments of this application are implemented. Control Method.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, descriptions with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" etc. mean specific features described in conjunction with the embodiment or example , The structure, materials, or characteristics are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the described specific features, structures, materials or characteristics may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine the different embodiments or examples and the features of the different embodiments or examples described in this specification without contradicting each other.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present application, "a plurality of" means at least two, such as two, three, etc., unless specifically defined otherwise.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method description described in the flowchart or described in other ways herein can be understood as a module, segment or part of code that includes one or more executable instructions for implementing custom logic functions or steps of the process , And the scope of the preferred embodiments of the present application includes additional implementations, which may not be in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved. This should It is understood by those skilled in the art to which the embodiments of the present application belong.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行 系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowchart or described in other ways herein, for example, can be considered as a sequenced list of executable instructions for implementing logic functions, and can be embodied in any computer-readable medium, For use by instruction execution systems, devices, or equipment (such as computer-based systems, systems including processors, or other systems that can fetch and execute instructions from instruction execution systems, devices, or equipment), or combine these instruction execution systems, devices Or equipment. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transmit a program for use by an instruction execution system, device, or device or in combination with these instruction execution systems, devices, or devices. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections (electronic devices) with one or more wiring, portable computer disk cases (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable and editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, because it can be used, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable media if necessary. The program is processed in a way to obtain the program electronically and then stored in the computer memory.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that each part of this application can be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if it is implemented by hardware as in another embodiment, it can be implemented by any one or a combination of the following technologies known in the art: Discrete logic gate circuits with logic functions for data signals Logic circuit, application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。A person of ordinary skill in the art can understand that all or part of the steps carried in the method of the foregoing embodiments can be implemented by a program instructing relevant hardware to complete. The program can be stored in a computer-readable storage medium, and the program can be stored in a computer-readable storage medium. When executed, it includes one of the steps of the method embodiment or a combination thereof.
此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or software function modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。The aforementioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above-mentioned embodiments are exemplary and should not be construed as limiting the present application. A person of ordinary skill in the art can comment on the foregoing within the scope of the present application. The embodiment undergoes changes, modifications, substitutions, and modifications.

Claims (12)

  1. 一种按键控制方法,其中,所述方法包括以下步骤:A key control method, wherein the method includes the following steps:
    探测到按键处于按压状态,则显示按键提示,并对按压时长计时;所述按键提示用于实时展示所述按键的按压时长;When it is detected that the button is in a pressed state, a button prompt is displayed and the pressing time is counted; the button prompt is used to display the pressing time of the button in real time;
    确定所述按压时长达到预设时长,则显示所述按键触发成功的按键提示。If it is determined that the pressing duration reaches the preset duration, a key prompt indicating that the key is successfully triggered is displayed.
  2. 根据权利要求1所述的按键控制方法,其中,所述探测到按键处于按压状态,则显示按键提示,并对按压时长计时之后,还包括:The button control method according to claim 1, wherein, after detecting that the button is in a pressed state, displaying a button prompt, and counting the pressing time, the method further comprises:
    探测到所述按键处于停止按压状态,且所述按压时长未达到所述预设时长,显示所述按键触发失败的按键提示。If it is detected that the button is in a stopped pressing state, and the pressing duration has not reached the preset duration, a button prompt indicating that the button has failed to be triggered is displayed.
  3. 根据权利要求1所述的按键控制方法,其中,所述按键提示包括显示提示、声音提示和闪光提示中的一种或多种。The key control method according to claim 1, wherein the key prompt includes one or more of a display prompt, a sound prompt, and a flash prompt.
  4. 根据权利要求3所述的按键控制方法,其中,所述显示提示为进度条提示,所述确定所述按压时长达到预设时长,则显示所述按键触发成功的按键提示,包括:4. The button control method according to claim 3, wherein the display prompt is a progress bar prompt, and when it is determined that the pressing time reaches a preset time period, displaying the key prompt that the key is triggered successfully includes:
    根据所述预设时长将所述进度条等分为多个区域;其中,所述预设时长的每单位时长对应所述进度条一个区域;Divide the progress bar into a plurality of regions according to the preset duration; wherein, each unit duration of the preset duration corresponds to one region of the progress bar;
    所述按压时长每增加一单位时长,控制所述进度条顺序点亮一个区域;Each time the pressing time increases by one unit of time, controlling the progress bar to sequentially light up an area;
    确定所述按压时长达到预设时长,控制所述进度条全部点亮。It is determined that the pressing duration reaches a preset duration, and all the progress bars are controlled to light up.
  5. 根据权利要求3所述的按键控制方法,其中,所述闪光提示为LED灯闪烁提示;所述探测到处于按压状态的按键,所述LED灯采用第一频率闪烁;所述探测到所述按压时长达到所述预设时长,所述LED灯采用第二频率闪烁,或者,所述LED灯处于常亮状态;所述探测到处于停止按压状态,且所述按压时长未达到所述预设时长的按键,所述LED灯采用第三频率闪烁,或者,所述LED灯处于熄灭状态;The button control method according to claim 3, wherein the flashing prompt is an LED flashing prompt; when the button is detected in a pressed state, the LED lamp flashes at a first frequency; and the detection of the pressing When the duration reaches the preset duration, the LED light flashes at the second frequency, or the LED light is in a constant light state; the detection is in the stop pressing state, and the pressing duration does not reach the preset duration Button, the LED light flashes at the third frequency, or the LED light is in the off state;
    其中,所述第一频率、所述第二频率和所述第三频率互不相同。Wherein, the first frequency, the second frequency, and the third frequency are different from each other.
  6. 根据权利要求1-5任一项所述的按键控制方法,其中,所述显示按键被按压成功提示信息之后,还包括:5. The button control method according to any one of claims 1-5, wherein after the displaying the prompt message that the button is successfully pressed, the method further comprises:
    响应于用户操作,执行所述按键对应的触控指令。In response to the user's operation, the touch command corresponding to the button is executed.
  7. 根据权利要求1-5任一项所述的按键控制方法,其中,所述按键为一个或多个按键组合。5. The key control method according to any one of claims 1-5, wherein the key is one or more key combinations.
  8. 一种按键控制装置,其中,所述装置包括:A key control device, wherein the device includes:
    探测模块,用于探测到按键处于按压状态,则显示按键提示,并对按压时长计时;所述按键提示用于实时展示所述按键的按压时长;The detection module is configured to detect that the button is in a pressed state, display a button prompt, and time the pressing time; the button prompt is used to display the pressing time of the button in real time;
    显示模块,用于确定所述按压时长达到预设时长,则显示所述按键触发成功的按键提示。The display module is configured to determine that the pressing duration reaches a preset duration, and then display a key prompt indicating that the key is successfully triggered.
  9. 根据权利要求8所述的按键控制装置,其中,所述按键提示包括显示提示、声音提示和闪光提示中的一种或多种。The key control device according to claim 8, wherein the key prompt includes one or more of a display prompt, a sound prompt, and a flash prompt.
  10. 根据权利要求8或9所述的按键控制装置,其中,所述按键为一个或多个按键组合。The key control device according to claim 8 or 9, wherein the key is one or more key combinations.
  11. 一种家电设备,其中,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时,实现如权利要求1-7中任一所述的按键控制方法。A household electrical appliance, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the program, the implementation of the program described in any one of claims 1-7 The key control method.
  12. 一种非临时性计算机可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现如权利要求1-7中任一所述的按键控制方法。A non-transitory computer-readable storage medium with a computer program stored thereon, wherein the program is executed by a processor to implement the button control method according to any one of claims 1-7.
PCT/CN2020/110884 2019-09-05 2020-08-24 Key control method and apparatus, and household appliance WO2021043020A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910836334.5 2019-09-05
CN201910836334.5A CN110753419A (en) 2019-09-05 2019-09-05 Key control method and device and household appliance

Publications (1)

Publication Number Publication Date
WO2021043020A1 true WO2021043020A1 (en) 2021-03-11

Family

ID=69276178

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/110884 WO2021043020A1 (en) 2019-09-05 2020-08-24 Key control method and apparatus, and household appliance

Country Status (2)

Country Link
CN (1) CN110753419A (en)
WO (1) WO2021043020A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110753419A (en) * 2019-09-05 2020-02-04 合肥美的洗衣机有限公司 Key control method and device and household appliance
CN113515222A (en) * 2020-03-27 2021-10-19 中移(成都)信息通信科技有限公司 Function starting method, device, equipment and computer storage medium
CN112006773B (en) * 2020-07-24 2021-12-28 北京天智航医疗科技股份有限公司 Tracer key triggering identification method, navigation system and operation positioning system
CN112379609B (en) * 2020-11-09 2022-04-29 珠海格力电器股份有限公司 Display panel having control function, control method of display panel, and storage medium
CN115378439B (en) * 2022-08-03 2024-04-16 河南翔宇医疗设备股份有限公司 Control method and device for key multiplexing, electronic equipment and medium
CN115827528B (en) * 2022-11-25 2024-03-01 广州大铁锐威科技有限公司 Man-machine interface and interaction method for pipeline inertial measurement instrument

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777307A (en) * 2004-11-15 2006-05-24 乐金电子(中国)研究开发中心有限公司 Long-button function displaying method of mobile communication terminal
US20110035665A1 (en) * 2009-08-07 2011-02-10 Samsung Electronics Co., Ltd. Digital imaging processing apparatus, method of controlling the same, and recording medium storing program to execute the method
CN102439352A (en) * 2010-06-30 2012-05-02 陶小培 System and method for providing safety mechanism for laser-emitting device
CN103856710A (en) * 2012-12-04 2014-06-11 腾讯科技(深圳)有限公司 Image obtaining method and device
CN110753419A (en) * 2019-09-05 2020-02-04 合肥美的洗衣机有限公司 Key control method and device and household appliance

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202841089U (en) * 2012-06-08 2013-03-27 国基电子(上海)有限公司 Power on-off circuit and electronic device having power on-off circuit
CN105808115A (en) * 2014-12-31 2016-07-27 中兴通讯股份有限公司 Control method and system of terminal, and terminal
CN106225157A (en) * 2016-07-28 2016-12-14 青岛海尔空调器有限总公司 A kind of key control method for air-conditioning, device and air-conditioning
CN106448113B (en) * 2016-11-09 2020-02-18 微鲸科技有限公司 Remote controller pairing control method and multimedia playing terminal
CN108457039A (en) * 2017-02-17 2018-08-28 无锡小天鹅股份有限公司 Washing machine and its solution lock control method, device
CN108628525A (en) * 2017-03-21 2018-10-09 富泰华工业(深圳)有限公司 Electronic device and its function selection method with function selecting module and function selecting system
CN110045878B (en) * 2017-07-26 2023-08-25 Oppo广东移动通信有限公司 Response control method and device for touch screen, storage medium and terminal
CN108006892A (en) * 2017-11-30 2018-05-08 广东美的暖通设备有限公司 A kind of method, system and display board for putting inspection button detection
CN108153600B (en) * 2017-12-26 2021-09-28 深圳Tcl数字技术有限公司 Panel key response method, television equipment and computer readable storage medium
CN108508788A (en) * 2018-03-13 2018-09-07 青岛海尔洗衣机有限公司 Household appliance control method and household electrical appliance
CN108958621A (en) * 2018-05-29 2018-12-07 Oppo广东移动通信有限公司 information display method, device and mobile terminal
CN109117080A (en) * 2018-08-28 2019-01-01 广州华凌制冷设备有限公司 The control function selection method and device of key
CN109922362A (en) * 2019-02-25 2019-06-21 聚好看科技股份有限公司 Key response method, apparatus and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777307A (en) * 2004-11-15 2006-05-24 乐金电子(中国)研究开发中心有限公司 Long-button function displaying method of mobile communication terminal
US20110035665A1 (en) * 2009-08-07 2011-02-10 Samsung Electronics Co., Ltd. Digital imaging processing apparatus, method of controlling the same, and recording medium storing program to execute the method
CN102439352A (en) * 2010-06-30 2012-05-02 陶小培 System and method for providing safety mechanism for laser-emitting device
CN103856710A (en) * 2012-12-04 2014-06-11 腾讯科技(深圳)有限公司 Image obtaining method and device
CN110753419A (en) * 2019-09-05 2020-02-04 合肥美的洗衣机有限公司 Key control method and device and household appliance

Also Published As

Publication number Publication date
CN110753419A (en) 2020-02-04

Similar Documents

Publication Publication Date Title
WO2021043020A1 (en) Key control method and apparatus, and household appliance
US20160041742A1 (en) Remote control device
CN105212762A (en) The control method of cooking heating device and cooking heating device
CN104110791B (en) The control method and device of the air-conditioner that display and button are integrated
US10030879B2 (en) Remote control device for air-conditioning apparatus
RU2355296C2 (en) Blood pressure measuring electronic device
EP2778882A2 (en) Gesture control for electronic safety devices
JP2005523623A (en) Remote control with low voltage status display
CN105138234A (en) Operation prompt system for household appliance and operation prompt method for household appliance
JP2007289307A (en) Rice cooker
JP2016139303A (en) Alarm
CN104814707A (en) Embedded type dish washing machine and running state prompting method and device thereof
JP6709848B2 (en) Lighting circuit control method and controller
JP5988215B2 (en) Wall mounting switch
CN106233411B (en) Automation control device
JP5700428B2 (en) Absence display system
JP6274179B2 (en) Air conditioner
JP2009129422A (en) Appliance with operation mode selection means
TWI634458B (en) Computer input apparatus, pointing device and setting method thereof
JP2002350038A (en) Power supply off-state displaying device for refrigerator and its displaying method
JP5645298B2 (en) Monitoring terminal and lighting control system
CN104080248A (en) Display control method and device and cooling utensil
JP7374559B2 (en) Air conditioning control device
KR200320874Y1 (en) The Multitimer Equipment
KR100512150B1 (en) The Multitimer Equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20861477

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20861477

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20861477

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 07.10.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20861477

Country of ref document: EP

Kind code of ref document: A1