Key control device, method, apparatus, storage medium and electronic device

By using the electronic scale weighing module in the device to collect pressure and adjust the trigger threshold of the touch button, the problem of reduced sensitivity of the touch button is solved and the responsiveness of the button and user experience are improved.

CN114650048BActive Publication Date: 2024-10-01ZHEJIANG SHAOXING SUPOR DOMESTIC ELECTRICAL APPLIANCE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111494313.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-08
Publication Date
2024-10-01
Estimated Expiration
2041-12-08

AI Technical Summary

Technical Problem

The sensitivity of touch keys decreases after being used for a long time, resulting in poor hand feel and poor human-computer interaction experience. Existing technology cannot effectively solve this problem.

Method used

An electronic scale weighing module is used to collect the pressure on the main body of the device, and the key trigger threshold of the touch button is adjusted according to the pressure value to maintain appropriate sensitivity.

Benefits of technology

By indirectly obtaining the pressure of the touch button, it adjusts its trigger threshold to ensure that the button always maintains appropriate sensitivity and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114650048B_ABST
    Figure CN114650048B_ABST
Patent Text Reader

Abstract

The present application discloses a key control device, method, apparatus, storage medium and electronic device. The device comprises: a device body; a key control panel, which is arranged on the device body, and at least one touch key is arranged on the key control panel; an electronic scale weighing module, which is arranged at the bottom of the device body and is used to collect the pressure applied to the device body; and a controller, which is connected to the electronic scale weighing module and is used to adjust the key triggering threshold of the touch key according to the pressure applied to the device body. The present application solves the problem of the sensitivity of the touch key changing after being used for a long time in the related art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of touch button adjustment, and in particular to a button control device, method, apparatus, storage medium and electronic device. Background Art

[0002] At present, touch button technology is widely used in electrical appliances. Compared with traditional mechanical buttons, it has the advantages of long life, strong sense of technology, and beautiful appearance. However, touch buttons are easily interfered by the external electromagnetic environment, or due to differences in the insulation of panel materials or assembly gaps, the touch sensitivity is reduced. The touch button needs to be pressed hard before the device responds, which makes the feel worse and leads to a worse human-computer interaction experience.

[0003] With regard to the problem in the related art that the sensitivity of touch buttons changes after being used for a long time, no effective solution has been proposed yet. Summary of the invention

[0004] The present application provides a key control device, method, apparatus, storage medium and electronic device to solve the problem in the related art that the sensitivity of touch keys changes after being used for a long time.

[0005] According to one aspect of the present application, a key control device is provided. The device includes: a device body; a key control panel, which is arranged on the device body, and at least one touch key is arranged on the key control panel; an electronic scale weighing module, which is arranged at the bottom of the device body and is used to collect the pressure applied to the device body; and a controller, which is connected to the electronic scale weighing module and is used to adjust the key trigger threshold of the touch key according to the pressure applied to the device body. Since the pressure applied to the device body when pressing the touch key can represent the pressure received by the touch key, the pressure applied to the device body is obtained by using the electronic scale weighing module of the device, and the key trigger threshold of the touch key is adjusted according to the pressure applied to the device body, so that the touch key can obtain appropriate sensitivity.

[0006] According to another aspect of the present application, a key control method is provided. The method includes: within a preset time period, collecting the pressure received by the target touch key through an electronic scale weighing module to obtain multiple pressure values; judging whether the multiple pressure values ​​meet the preset pressure condition, wherein the preset pressure condition is used to indicate that the change value of the pressure received by the target touch key is less than the preset value; if the multiple pressure values ​​do not meet the preset pressure condition, adjusting the key trigger threshold of the target touch key according to the multiple pressure values. The pressure received by the target touch key is obtained by means of the electronic scale weighing module of the device, and the key trigger threshold of the target touch key is adjusted according to the pressure received by the target touch key, so that the target touch key can obtain appropriate sensitivity.

[0007] Optionally, determining whether multiple pressure values ​​meet the preset pressure condition includes: calculating multiple corresponding target pressure values, the target pressure value is at least one of the following: mean, median; determining whether the target pressure value is within the preset pressure value range; if the target pressure value is within the preset pressure value range, determining that the multiple pressure values ​​meet the preset pressure condition; if the target pressure value is outside the preset pressure value range, determining that the multiple pressure values ​​do not meet the preset pressure condition. A pressure value range is set for each button trigger threshold, and determining whether the target pressure value is within the preset pressure value range can determine whether the pressure value matches the current button trigger threshold.

[0008] Optionally, when multiple pressure values ​​do not meet the preset pressure condition, adjusting the key trigger threshold of the target touch key according to the multiple pressure values ​​includes: when multiple pressure values ​​do not meet the preset pressure condition, determining the pressure value range interval in which the target pressure value is located, and determining the key trigger threshold corresponding to the pressure value range interval, wherein different pressure value range intervals correspond to a key trigger threshold; adjusting the current key trigger threshold of the target touch key to the key trigger threshold corresponding to the pressure value range interval. A pressure value range interval is set corresponding to each key trigger threshold, and the current key trigger threshold of the target touch key is adjusted to the key trigger threshold corresponding to the pressure value range interval, so that the target touch key can obtain appropriate sensitivity.

[0009] Optionally, judging whether the multiple pressure values ​​satisfy the preset pressure condition includes: judging whether the change trend of the multiple pressure values ​​over time presents a preset trend, wherein the preset trend is an upward trend or a downward trend; if the change trend of the multiple pressure values ​​over time presents a preset trend, determining that the multiple pressure values ​​do not satisfy the preset pressure condition; if the change trend of the multiple pressure values ​​over time does not present a preset trend, determining that the multiple pressure values ​​satisfy the preset pressure condition. The change trend of the multiple pressure values ​​over time can represent the feedback information of the user's sensitivity to the target touch key, and thus it can be judged whether the pressure value matches the current key trigger threshold through the change trend of the multiple pressure values ​​over time.

[0010] Optionally, when multiple pressure values ​​do not meet the preset pressure condition, adjusting the key trigger threshold of the target touch key according to the multiple pressure values ​​includes: when the change trend of the multiple pressure values ​​over time shows an upward trend, reducing the current key trigger threshold of the target touch key; when the change trend of the multiple pressure values ​​over time shows a downward trend, increasing the current key trigger threshold of the target touch key. The key trigger threshold of the target touch key is adjusted according to the change trend of the multiple pressure values ​​over time, so that the target touch key can obtain appropriate sensitivity.

[0011] Optionally, before determining whether the multiple pressure values ​​meet the preset pressure condition, the method further includes: determining whether each pressure value is greater than a pressure threshold; if there is a target pressure value greater than the pressure threshold, deleting the target pressure value from the multiple pressure values ​​to obtain multiple updated pressure values. There is a situation where an object is weighed by an electronic scale weighing module. In this case, the pressure value collected by the electronic scale weighing module is greater than the pressure threshold. The pressure value greater than the pressure threshold is deleted, and the obtained pressure value can more accurately represent the pressure received by the target button.

[0012] According to another aspect of the present application, a key control device is provided. The device includes: a first acquisition unit, used to acquire the pressure received by the target touch key through the electronic scale weighing module within a preset time period to obtain multiple pressure values; a first judgment unit, used to judge whether the multiple pressure values ​​meet the preset pressure condition, wherein the preset pressure condition is used to indicate that the change value of the pressure received by the target touch key is less than the preset value; a first adjustment unit, used to adjust the key trigger threshold of the target touch key according to the multiple pressure values ​​when the multiple pressure values ​​do not meet the preset pressure condition.

[0013] According to another aspect of an embodiment of the present invention, a nonvolatile storage medium is provided. The nonvolatile storage medium includes a stored program. When the program is executed, the device where the nonvolatile storage medium is located is controlled to execute a key control method.

[0014] According to another aspect of an embodiment of the present invention, an electronic device is provided, comprising a processor and a memory; the memory stores computer-readable instructions, and the processor is used to execute the computer-readable instructions, wherein a key control method is executed when the computer-readable instructions are executed.

[0015] Through this application, the following steps are adopted: a device body; a key control panel, which is arranged on the device body, and at least one touch key is arranged on the key control panel; an electronic scale weighing module, which is arranged at the bottom of the device body and is used to collect the pressure exerted on the device body; a controller, which is connected to the electronic scale weighing module and is used to adjust the key triggering threshold of the touch key according to the pressure exerted on the device body. Through this application, the problem of the change in sensitivity of the touch key after being used for a long time in the related art is solved. The pressure exerted on the touch key is indirectly obtained through the electronic scale weighing module, and the triggering threshold of the key is adjusted, thereby achieving the effect of keeping the touch key at a suitable sensitivity at all times. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0017] Figure 1 is a schematic diagram of a key control device provided according to an embodiment of the present application;

[0018] Figure 2 is a schematic diagram of an optional key control device provided according to an embodiment of the present application;

[0019] Figure 3 is a flow chart of a key control method provided according to an embodiment of the present application;

[0020] Figure 4 is a flowchart of an optional key control method provided according to an embodiment of the present application

[0021] Figure 5 is a schematic diagram of a key control device provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0022] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0025] According to an embodiment of the present application, a key control device is provided.

[0026] Figure 1 Schematic diagram of a key control device provided according to an embodiment of the present application. Figure 1 As shown, the device includes:

[0027] Device body 102;

[0028] A key control panel 104 is provided on the device body 102, and at least one touch key is provided on the key control panel 104;

[0029] An electronic scale weighing module 106 is disposed at the bottom of the device body 102 and is used to collect the pressure exerted on the device body 102;

[0030] The controller 108 is connected to the electronic scale weighing module 106 and is used to adjust the key triggering threshold of the touch key according to the pressure applied to the device body 102 .

[0031] Specifically, the key control device of this embodiment can be a household appliance with a weighing function. The weighing function of the household appliance is realized by an electronic scale weighing module 106. When the touch key is pressed, the pressure exerted on the device body 102 of the household appliance can represent the pressure received by the touch key. The pressure exerted on the device body 102 is obtained with the help of the electronic scale weighing module 106, thereby indirectly obtaining the pressure exerted on the touch key, and adjusting the key trigger threshold of the touch key according to the pressure exerted on the touch key, so that the touch key can obtain appropriate sensitivity.

[0032] In an optional embodiment, if Figure 2 As shown, it is a schematic diagram of an optional key control device provided according to an embodiment of the present application. X keys are arranged on the key control panel 104. When any key is pressed, the key pressure value can be transmitted to the electronic scale weighing module 106. At the same time, the controller 108 collects the key pressure value received by the electronic scale weighing module 106 and adjusts the sensitivity of the key according to the received key pressure value. For example, when the key pressure value corresponding to key 1 becomes larger, it means that the sensitivity of key 1 becomes lower, and the sensitivity of key 1 can be increased by the controller 108. When the key pressure value corresponding to key 1 becomes larger, it means that the sensitivity of key 1 becomes higher, and the sensitivity of key 1 can be reduced by the controller 108.

[0033] The key control device provided in the embodiment of the present application includes a device body 102; a key control panel 104, which is arranged on the device body 102, and at least one touch key is arranged on the key control panel 104; an electronic scale weighing module 106, which is arranged at the bottom of the device body 102 and is used to collect the pressure exerted on the device body 102; and a controller 108, which is connected to the electronic scale weighing module 106 and is used to adjust the key triggering threshold of the touch key according to the pressure exerted on the device body 102. The problem of the change in sensitivity of the touch key after being used for a long time in the related art is solved. The pressure exerted on the touch key is indirectly obtained through the electronic scale weighing module, and the triggering threshold of the key is adjusted, thereby achieving the effect of keeping the touch key at a suitable sensitivity at all times.

[0034] According to an embodiment of the present application, a key control method is provided. Figure 3 is a flow chart of a key control method provided according to an embodiment of the present application. Figure 3 As shown, the method includes:

[0035] Step S302: within a preset time period, the pressure received by the target touch button is collected by an electronic scale weighing module to obtain a plurality of pressure values.

[0036] Specifically, the target touch button is any touch button on the button control panel of the device. The electronic scale weighing module is set at the bottom of the device. When the target button is pressed, the pressure collected by the electronic scale weighing module includes the weight of the device body and the pressure received by the target touch button. Since the weight of the device body is fixed, the pressure collected by the electronic scale weighing module can represent the pressure received by the target touch button.

[0037] Step S304 , determining whether the multiple pressure values ​​satisfy a preset pressure condition, wherein the preset pressure condition is used to indicate that the change value of the pressure received by the target touch key is less than a preset value.

[0038] Specifically, the preset pressure condition can be represented by a pressure value range or by a pressure change trend. For example, when the preset pressure condition is represented by a preset pressure value range, when multiple pressure values ​​fall within the preset pressure value range, it means that the change value of the pressure received by the target touch key is small, and the preset pressure condition is met. When multiple pressure values ​​fall outside the preset pressure value range, it means that the change value of the pressure received by the target touch key is large, and the preset pressure condition is not met.

[0039] For another example, when the preset pressure condition is represented by a preset pressure change trend, if the change trend of multiple pressure values ​​shows the preset pressure change trend, it means that the pressure received by the target touch key does not meet the preset pressure condition. For example, the preset pressure change trend is a decreasing trend, and the change trends of multiple pressure values ​​show a decreasing trend, which means that the change value of the pressure received by the target touch key is small, and the preset pressure condition is met. For another example, the preset pressure change trend is an increasing trend, and the change trends of multiple pressure values ​​show an increasing trend, which means that the change value of the pressure received by the target touch key is large.

[0040] Step S306: When the multiple pressure values ​​do not satisfy the preset pressure condition, adjust the key triggering threshold of the target touch key according to the multiple pressure values.

[0041] Specifically, when the multiple pressure values ​​do not meet the preset pressure condition, it means that the sensitivity of the target touch key affects the user experience, and the key trigger threshold can be adjusted so that the touch key has a suitable sensitivity.

[0042] The key control method provided in the embodiment of the present application obtains multiple pressure values ​​by collecting the pressure received by the target touch key through the electronic scale weighing module within a preset time period; determines whether the multiple pressure values ​​meet the preset pressure conditions, wherein the preset pressure conditions are used to indicate that the change value of the pressure received by the target touch key is less than the preset value; when the multiple pressure values ​​do not meet the preset pressure conditions, adjusts the key trigger threshold of the target touch key according to the multiple pressure values. The problem of the change in sensitivity of the touch key after being used for a long time in the related art is solved. The pressure received by the touch key is indirectly obtained through the electronic scale weighing module, and the trigger threshold of the key is adjusted, thereby achieving the effect of keeping the touch key at a suitable sensitivity at all times.

[0043] Optionally, in the button control method provided in the embodiment of the present application, determining whether multiple pressure values ​​meet the preset pressure condition includes: calculating multiple corresponding target pressure values, wherein the target pressure value is at least one of the following: mean, median; determining whether the target pressure value is within a preset pressure value range; if the target pressure value is within the preset pressure value range, determining that the multiple pressure values ​​meet the preset pressure condition; if the target pressure value is outside the preset pressure value range, determining that the multiple pressure values ​​do not meet the preset pressure condition.

[0044] Specifically, a pressure value range interval may be set corresponding to each button trigger threshold, and it may be determined whether the target pressure value is within the preset pressure value range interval, and whether the pressure value matches the current button trigger threshold.

[0045] For example, the target pressure value may be a pressure mean value, which may characterize the overall situation of the key pressure. If the pressure mean value is outside the preset pressure value range, it indicates that the pressure value does not match the current key trigger threshold. It should be noted that in order to improve accuracy and reduce the impact of errors, the maximum and minimum values ​​may be removed from multiple pressure values ​​before calculating the mean value.

[0046] For another example, the target pressure value may be a median pressure value, which may represent the intermediate condition of the button pressure. When the median pressure value is outside the preset pressure value range, it indicates that the pressure value does not match the current button trigger threshold.

[0047] It should be noted that, in addition to the mean and the median, the target pressure value may also be other numbers that can characterize the pressure condition of the target key, and this embodiment does not limit the type of the target pressure value.

[0048] Optionally, in the key control method provided in the embodiment of the present application, when multiple pressure values ​​do not meet the preset pressure conditions, adjusting the key trigger threshold of the target touch key according to the multiple pressure values ​​includes: when multiple pressure values ​​do not meet the preset pressure conditions, determining the pressure value range interval in which the target pressure value is located, and determining the key trigger threshold corresponding to the pressure value range interval, wherein different pressure value range intervals correspond to a key trigger threshold respectively; adjusting the current key trigger threshold of the target touch key to the key trigger threshold corresponding to the pressure value range interval.

[0049] Specifically, a pressure value range can be set for each key trigger threshold. When multiple pressure values ​​do not meet the preset pressure conditions, the pressure value range for the target pressure value is re-determined, and the key trigger threshold corresponding to the pressure value range is determined. The current key trigger threshold of the target touch key is adjusted to the key trigger threshold corresponding to the pressure value range, so that the target touch key can obtain appropriate sensitivity.

[0050] Optionally, in the button control method provided in the embodiment of the present application, determining whether multiple pressure values ​​meet the preset pressure condition includes: determining whether the changing trend of the multiple pressure values ​​over time presents a preset trend, wherein the preset trend is an upward trend or a downward trend; if the changing trend of the multiple pressure values ​​over time presents a preset trend, determining that the multiple pressure values ​​do not meet the preset pressure condition; if the changing trend of the multiple pressure values ​​over time does not present the preset trend, determining that the multiple pressure values ​​meet the preset pressure condition.

[0051] It should be noted that since the changing trends of multiple pressure values ​​over time can represent the user's feedback information on the sensitivity of the target touch key, it is possible to judge whether the pressure value matches the current key trigger threshold based on the changing trends of multiple pressure values ​​over time.

[0052] For example, if the preset pressure change trend is a decreasing trend, and the change trends of multiple pressure values ​​show a decreasing trend, it means that the change value of the pressure received by the target touch key is small, and the preset pressure condition is met. For another example, if the preset pressure change trend is an increasing trend, and the change trends of multiple pressure values ​​show an increasing trend, it means that the change value of the pressure received by the target touch key is large. On the contrary, if the change trends of multiple pressure values ​​do not show the preset pressure change trend, for example, they fluctuate, it means that the pressure received by the target touch key meets the preset pressure condition.

[0053] Optionally, in the key control method provided in the embodiment of the present application, when multiple pressure values ​​do not meet the preset pressure conditions, adjusting the key trigger threshold of the target touch key according to the multiple pressure values ​​includes: when the changing trend of the multiple pressure values ​​over time shows an upward trend, reducing the current key trigger threshold of the target touch key; when the changing trend of the multiple pressure values ​​over time shows a downward trend, increasing the current key trigger threshold of the target touch key.

[0054] Specifically, when the changing trends of multiple pressure values ​​over time show an upward trend, it means that the sensitivity of the key has decreased, and the current key trigger threshold of the target touch key needs to be reduced to increase the sensitivity; when the changing trends of multiple pressure values ​​over time show a downward trend, it means that the sensitivity of the key has increased, and the current key trigger threshold of the target touch key needs to be lowered.

[0055] That is, the key triggering threshold of the target touch key is adjusted according to the changing trend of the multiple pressure values ​​over time, so that the target touch key can obtain appropriate sensitivity.

[0056] Optionally, in the button control method provided in the embodiment of the present application, before determining whether multiple pressure values ​​meet a preset pressure condition, the method also includes: determining whether each pressure value is greater than a pressure threshold; if there is a target pressure value greater than the pressure threshold, deleting the target pressure value from the multiple pressure values ​​to obtain updated multiple pressure values.

[0057] It should be noted that there are cases where an object is weighed by an electronic weighing module. In this case, the pressure value collected by the electronic weighing module is greater than the pressure threshold. By deleting the pressure value greater than the pressure threshold, the obtained pressure value can more accurately represent the pressure received by the target button. This avoids the influence of extreme data during weighing on the judgment of button sensitivity.

[0058] Figure 4 is a flow chart of a key control method according to an embodiment of the present application. Figure 4 As shown, the method includes:

[0059] Set preset trigger thresholds for n buttons on the button control panel respectively, and detect whether any button is pressed during the operation of the device. When a button is pressed, the electronic scale weighing module detects the granularity of the button pressed at this time, that is, the weight value, and counts the button force over a period of time. If there is an obvious change in the button force, the system automatically modifies the trigger threshold of the button. For example, if the button force is obviously too large, it means that the sensitivity of the button is reduced, and the button trigger threshold needs to be lowered to improve the sensitivity. If the button force is obviously too small, it means that the sensitivity of the button is increased, and the button trigger threshold needs to be increased to reduce the sensitivity.

[0060] Through this embodiment, by utilizing the original weighing function of the device, when the sensitivity of the touch button decreases, the force of the user pressing the button will increase accordingly, and the system will automatically modify the trigger threshold of the button to increase its button sensitivity, thereby improving the user experience.

[0061] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0062] The embodiment of the present application also provides a key control device. It should be noted that the key control device of the embodiment of the present application can be used to execute the key control method provided in the embodiment of the present application. The key control device provided in the embodiment of the present application is introduced below.

[0063] Figure 5 is a schematic diagram of a key control device according to an embodiment of the present application. Figure 5 As shown, the device includes: a first collecting unit 502 , a first judging unit 504 , and a first adjusting unit 506 .

[0064] The first collecting unit 502 is used to collect the pressure received by the target touch key through the electronic scale weighing module within a preset time period to obtain multiple pressure values;

[0065] A first judging unit 504 is used to judge whether the multiple pressure values ​​meet a preset pressure condition, wherein the preset pressure condition is used to indicate that the change value of the pressure received by the target touch key is less than a preset value;

[0066] The first adjustment unit 506 is configured to adjust a key triggering threshold of a target touch key according to the multiple pressure values ​​when the multiple pressure values ​​do not satisfy a preset pressure condition.

[0067] The key control device provided in the embodiment of the present application collects the pressure received by the target touch key through the electronic scale weighing module within a preset time period through the first collecting unit 502 to obtain multiple pressure values; the first judging unit 504 judges whether the multiple pressure values ​​meet the preset pressure conditions, wherein the preset pressure conditions are used to indicate that the change value of the pressure received by the target touch key is less than the preset value; the first adjusting unit 506 adjusts the key triggering threshold of the target touch key according to the multiple pressure values ​​when the multiple pressure values ​​do not meet the preset pressure conditions. The problem of the change in sensitivity of the touch key after being used for a long time in the related art is solved. The pressure received by the touch key is indirectly obtained through the electronic scale weighing module, and the triggering threshold of the key is adjusted, thereby achieving the effect of keeping the touch key at a suitable sensitivity at all times.

[0068] Optionally, in the button control device provided in the embodiment of the present application, the first judgment unit 504 includes: a calculation module, used to calculate multiple corresponding target pressure values ​​when multiple pressure values ​​do not meet the preset pressure condition; a first judgment module, used to determine whether the target pressure value is within a preset pressure value range; a first determination module, used to determine that multiple pressure values ​​meet the preset pressure condition when the target pressure value is within the preset pressure value range; a second determination module, used to determine that multiple pressure values ​​do not meet the preset pressure condition when the target pressure value is outside the preset pressure value range.

[0069] Optionally, in the key control device provided in the embodiment of the present application, the first adjustment unit 506 includes: a third determination unit, used to determine the pressure value range interval in which the target pressure value is located, and determine the key trigger threshold corresponding to the pressure value range interval, wherein different pressure value range intervals correspond to a key trigger threshold respectively; an adjustment module, used to adjust the current key trigger threshold of the target touch key to the key trigger threshold corresponding to the pressure value range interval.

[0070] Optionally, in the button control device provided in the embodiment of the present application, the first judgment unit 504 includes: a second judgment module, used to judge whether the changing trend of multiple pressure values ​​over time presents a preset trend, wherein the preset trend is an upward trend or a downward trend; a fourth determination module, used to determine that the multiple pressure values ​​do not meet the preset pressure condition when the changing trend of the multiple pressure values ​​over time presents a preset trend; and a fifth determination module, used to determine that the multiple pressure values ​​meet the preset pressure condition when the changing trend of the multiple pressure values ​​over time does not present the preset trend.

[0071] Optionally, in the key control device provided in the embodiment of the present application, the fourth determination module includes: a first adjustment submodule, used to reduce the current key trigger threshold of the target touch key when the changing trend of multiple pressure values ​​over time shows an upward trend; a second adjustment submodule, used to increase the current key trigger threshold of the target touch key when the changing trend of multiple pressure values ​​over time shows a downward trend.

[0072] Optionally, the key control device provided in the embodiment of the present application also includes: a second judgment unit, including: a third judgment module, used to judge whether each pressure value is greater than a pressure threshold; a deletion module, used to delete the target pressure value from multiple pressure values ​​when there is a target pressure value greater than the pressure threshold, to obtain updated multiple pressure values.

[0073] The above-mentioned key control device includes a processor and a memory. The above-mentioned first acquisition unit 502, first judgment unit 504, first adjustment unit 506, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0074] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the problem of the sensitivity of the touch button changing after being used for a long time in the related art is solved by adjusting the kernel parameters.

[0075] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0076] An embodiment of the present application further provides a non-volatile storage medium, the non-volatile storage medium including a stored program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute a key control method.

[0077] The embodiment of the present application also provides an electronic device, comprising a processor and a memory; the memory stores computer-readable instructions, and the processor is used to run the computer-readable instructions, wherein a key control method is executed when the computer-readable instructions are run. The electronic device in this article can be a server, a PC, a PAD, a mobile phone, etc.

[0078] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0079] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0080] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0081] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0082] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0083] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0084] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0085] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0086] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A key control method, characterized in that: Applicable to key control devices, including: Within a preset time period, the pressure received by the target touch key is collected by the electronic scale weighing module to obtain multiple pressure values, wherein the pressure collected by the electronic scale weighing module represents the pressure received by the target touch key; Determining whether the multiple pressure values ​​meet a preset pressure condition, wherein the preset pressure condition is used to indicate that the pressure change value received by the target touch key is less than a preset value; When the multiple pressure values ​​do not satisfy the preset pressure condition, the key triggering threshold of the target touch key is adjusted according to the multiple pressure values.

2. The method according to claim 1, characterized in that Determining whether the multiple pressure values ​​meet the preset pressure condition includes: Calculating target pressure values ​​corresponding to the multiple pressure values, wherein the target pressure value is at least one of the following: a mean value, a median value; Determining whether the target pressure value is within a preset pressure value range; When the target pressure value is within a preset pressure value range, determining that the multiple pressure values ​​satisfy the preset pressure condition; When the target pressure value is outside the preset pressure value range, it is determined that the multiple pressure values ​​do not satisfy the preset pressure condition.

3. The method according to claim 2, characterized in that When the multiple pressure values ​​do not satisfy the preset pressure condition, adjusting the key triggering threshold of the target touch key according to the multiple pressure values ​​includes: In the case that the multiple pressure values ​​do not satisfy the preset pressure condition, determining the pressure value range interval in which the target pressure value is located, and determining the key trigger threshold value corresponding to the pressure value range interval, wherein different pressure value range intervals respectively correspond to a key trigger threshold value; The current key triggering threshold of the target touch key is adjusted to the key triggering threshold corresponding to the pressure value range.

4. The method according to claim 1, characterized in that: Determining whether the multiple pressure values ​​meet the preset pressure condition includes: Determine whether the change trend of the multiple pressure values ​​over time presents a preset trend, wherein the preset trend is an upward trend or a downward trend; In a case where the change trend of the multiple pressure values ​​over time presents the preset trend, determining that the multiple pressure values ​​do not meet the preset pressure condition; In a case where the change trend of the multiple pressure values ​​over time does not present the preset trend, it is determined that the multiple pressure values ​​meet the preset pressure condition.

5. The method according to claim 4, characterized in that When the multiple pressure values ​​do not satisfy the preset pressure condition, adjusting the key triggering threshold of the target touch key according to the multiple pressure values ​​includes: When the changing trend of the multiple pressure values ​​over time shows the upward trend, reducing the current key triggering threshold of the target touch key; When the change trend of the multiple pressure values ​​over time presents the downward trend, the current key triggering threshold of the target touch key is increased.

6. The method according to claim 1, characterized in that Before determining whether the multiple pressure values ​​meet the preset pressure condition, the method further includes: Determining whether each of the pressure values ​​is greater than a pressure threshold; In a case where there is a target pressure value greater than the pressure threshold, the target pressure value is deleted from the multiple pressure values ​​to obtain multiple updated pressure values.

7. A key control device, characterized in that: The method for executing the key control method according to any one of claims 1 to 6 comprises: Equipment body; A key control panel, arranged on the device body, wherein at least one touch key is arranged on the key control panel; An electronic scale weighing module, arranged at the bottom of the device body, for collecting the pressure exerted on the device body; The controller is connected to the electronic scale weighing module and is used to adjust the key triggering threshold of the touch key according to the pressure applied to the device body.

8. A key control device, characterized in that: include: A first collection unit is used to collect the pressure received by the target touch key through the electronic scale weighing module within a preset time period to obtain multiple pressure values, wherein the pressure collected by the electronic scale weighing module represents the pressure received by the target touch key; A first judging unit, configured to judge whether the plurality of pressure values ​​satisfy a preset pressure condition, wherein the preset pressure condition is used to indicate that a change degree of the pressure received by the target touch key is less than a preset change degree; The first adjustment unit is configured to adjust a key triggering threshold of the target touch key according to the multiple pressure values ​​when the multiple pressure values ​​do not satisfy the preset pressure condition.

9. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute the key control method according to any one of claims 1 to 6.

10. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores computer-readable instructions, and the processor is used to execute the computer-readable instructions, wherein the key control method according to any one of claims 1 to 6 is executed when the computer-readable instructions are executed.

Citation Information

Patent Citations

  • Touch key processing method and device and cooking utensil

    CN109984579A

  • Touch sensitivity adjusting method and air conditioner

    CN113669846A

  • Apparatus and method for controlling sensitivity touch key in digital device

    KR1020090012453A

  • Electronic device, control method and storage medium

    US20140176458A1