CN112994678A - Key sensitivity control method and device and electrical equipment - Google Patents
Key sensitivity control method and device and electrical equipment Download PDFInfo
- Publication number
- CN112994678A CN112994678A CN202110186392.5A CN202110186392A CN112994678A CN 112994678 A CN112994678 A CN 112994678A CN 202110186392 A CN202110186392 A CN 202110186392A CN 112994678 A CN112994678 A CN 112994678A
- Authority
- CN
- China
- Prior art keywords
- key
- trigger value
- interval
- value
- determining
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 230000035945 sensitivity Effects 0.000 title claims abstract description 40
- 238000005070 sampling Methods 0.000 claims description 86
- 230000004044 response Effects 0.000 claims description 70
- 238000001514 detection method Methods 0.000 claims description 51
- 230000015654 memory Effects 0.000 claims description 19
- 238000012545 processing Methods 0.000 claims description 15
- 230000008569 process Effects 0.000 claims description 8
- 235000007164 Oryza sativa Nutrition 0.000 claims description 7
- 235000009566 rice Nutrition 0.000 claims description 7
- 238000003825 pressing Methods 0.000 claims description 6
- 240000007594 Oryza sativa Species 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 7
- 241000209094 Oryza Species 0.000 description 6
- 238000010411 cooking Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 3
- 230000008030 elimination Effects 0.000 description 3
- 238000003379 elimination reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000009191 jumping Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K17/00—Electronic switching or gating, i.e. not by contact-making and –breaking
- H03K17/94—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
- H03K17/96—Touch switches
Landscapes
- Electric Ovens (AREA)
Abstract
The invention provides a key sensitivity control method, a key sensitivity control device and electrical equipment, wherein the key sensitivity control method comprises the following steps: acquiring key reference data corresponding to the electrical equipment; determining a trigger value interval of the key based on the key reference data; determining a target key trigger value control interval corresponding to the electrical equipment based on the trigger value interval; and determining a target key trigger value corresponding to the electrical equipment based on the target key trigger value control interval. Therefore, the trigger value interval of the key is determined by utilizing the key reference data, and the target key trigger value corresponding to the electrical equipment is further determined, so that the accurate control of the key sensitivity of the electrical product is realized, the control performance of the key sensitivity of the electrical product is improved, and the use experience of a user is improved.
Description
Technical Field
The invention relates to the technical field of household appliances, in particular to a key sensitivity control method and device and electrical equipment.
Background
With the upgrading of electric products, more and more products adopt the touch panel to carry out function control so as to improve the user experience. Taking an electric cooker operated by touch as an example, when the electric cooker is used, if the electric cooker meets tripping, thunderstorm environments or simultaneously uses various high-power devices around, the conditions of key jumping, key failure and the like easily occur, so that how to control the key sensitivity has important significance on the performance optimization of electric products.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for controlling key sensitivity, and an electrical device, so as to overcome a problem that it is difficult to effectively control the key sensitivity of the electrical device in the prior art.
According to a first aspect, an embodiment of the present invention provides a key sensitivity control method, applied to an electrical device having a key, where the method includes:
acquiring key reference data corresponding to the electrical equipment;
determining a trigger value interval of the key based on the key reference data;
determining a target key trigger value control interval corresponding to the electrical equipment based on the trigger value interval;
and determining a target key trigger value corresponding to the electrical equipment based on the target key trigger value control interval.
Optionally, the key reference data includes: the method for determining the trigger value interval of the key based on the key reference data comprises the following steps of:
determining a first trigger value interval of the key based on a preset key use requirement and the historical use data, and/or determining a second trigger value interval of the key based on the detection data, the preset key use requirement and/or the historical use data;
and determining the trigger value interval of the key based on the first trigger value interval and/or the second trigger value interval.
Optionally, the determining a target key trigger value control interval corresponding to the electrical device based on the trigger value interval includes:
and determining a target key trigger value control interval corresponding to the electrical equipment based on the first trigger value interval and/or the second trigger value interval and/or a common interval of the first trigger value interval and the second trigger value interval.
Optionally, the key usage requirement includes: the key response condition and the key non-response condition, wherein the step of determining a first trigger value interval of the key based on the preset key use requirement and the historical use data comprises the following steps:
extracting each first key sampling value meeting the key response condition from the historical use data;
extracting second key sampling values meeting the key unresponsive condition from the historical use data, wherein the second key sampling values are smaller than the first key sampling values;
and determining a first trigger value interval of the key based on the minimum value of the first key sampling value and the maximum value of the second key sampling value.
Optionally, the determining a second trigger value interval of the key based on the detection data, the preset key usage requirement and/or the historical usage data includes:
extracting first detection data satisfying the key usage requirement and/or the historical usage data from the detection data;
extracting each third key sampling value without key false response from the first detection data;
judging whether the first detection data has a key press error response or not;
when the first detection data does not have key press error response, obtaining all fourth key press sampling values of the electrical equipment without key press error response in the process of no key press operation from the detection data, wherein the fourth key press sampling values are smaller than the third key press sampling values;
and determining a second trigger value interval of the key based on the maximum value of the fourth key sampling value and the minimum value of the third key sampling value.
Optionally, when there is a key false response in the first detection data, extracting, from the first detection data, each fifth key sample value having a key false response, where the fifth key sample value is smaller than the third key sample value;
and determining a second trigger value interval of the key based on the maximum value of the fifth key sampling value and the minimum value of the third key sampling value.
Optionally, the method further comprises:
judging whether a key skipping error response exists in the first detection data and/or whether a key skipping error response exists in the electrical equipment in the preset interference environment when no key pressing operation exists;
when the first detection data has a key skipping false response and/or the electrical equipment has a key skipping false response when no key pressing operation is performed, acquiring a key skipping frequency band corresponding to the key skipping false response;
and reducing the sampling frequency of the key sampling value of the key hopping frequency band.
Optionally, the method further comprises: and determining a target key release value corresponding to the electrical equipment based on the target key trigger value.
According to a second aspect, an embodiment of the present invention provides a key sensitivity control device applied to an electrical apparatus having a key, the device including:
the acquisition module is used for acquiring detection data of the electrical equipment for anti-interference detection in a preset interference environment and key use requirements of a target user and/or historical use data of key operation of the electrical equipment by the target user;
the first processing module is used for acquiring key reference data corresponding to the electrical equipment;
the second processing module is used for determining a trigger value interval of the key based on the key reference data;
the third processing module is used for determining a target key trigger value control interval corresponding to the electrical equipment based on the trigger value interval;
and the fourth processing module is used for determining a target key trigger value corresponding to the electrical equipment based on the target key trigger value control interval.
According to a third aspect, an embodiment of the present invention provides an electrical apparatus having a key, including:
a memory and a processor, the memory and the processor being communicatively coupled to each other, the memory having stored therein computer instructions, and the processor performing the method of the first aspect, or any one of the optional embodiments of the first aspect, by executing the computer instructions.
Optionally, the electrical appliance is an electric cooker.
According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to perform the method of the first aspect, or any one of the optional implementation manners of the first aspect.
The technical scheme of the invention has the following advantages:
according to the key sensitivity control method, the key sensitivity control device and the electrical equipment provided by the embodiment of the invention, the key reference data corresponding to the electrical equipment is obtained; determining a trigger value interval of the key based on the key reference data; determining a target key trigger value control interval corresponding to the electrical equipment based on the trigger value interval; and determining a target key trigger value corresponding to the electrical equipment based on the target key trigger value control interval. Therefore, the trigger value interval of the key is determined by utilizing the key reference data, and the target key trigger value corresponding to the electrical equipment is further determined, so that the accurate control of the key sensitivity of the electrical product is realized, the control performance of the key sensitivity of the electrical product is improved, and the use experience of a user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a key sensitivity control method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating key values during a key response process according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating key values when a key jump occurs in an embodiment of the present invention;
FIG. 4 is a diagram illustrating key values when no key jump occurs in the embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a key sensitivity control apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electrical apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The technical features mentioned in the different embodiments of the invention described below can be combined with each other as long as they do not conflict with each other.
With the upgrading of electric products, more and more products adopt the touch panel to carry out function control so as to improve the user experience. Taking an electric cooker operated by touch as an example, when the electric cooker is used, if the electric cooker meets tripping, thunderstorm environments or simultaneously uses various high-power devices around, the conditions of key jumping, key failure and the like easily occur, so that how to control the key sensitivity has important significance on the performance optimization of electric products.
In view of the above problems, embodiments of the present invention provide a key sensitivity control method, which is applied to an electrical device with keys, in the embodiments of the present invention, the electrical device is exemplified as an electric cooker, in practical applications, the electrical device may also be other electrical devices with keys, such as an electric pressure cooker, and the like, and the present invention is not limited thereto. As shown in fig. 1, the method for controlling the sensitivity of the key mainly includes the following steps:
step S101: and acquiring key reference data corresponding to the electrical equipment.
Specifically, the key reference data includes: the method comprises the following steps that detection data of anti-interference detection of the electrical equipment in a preset interference environment and/or historical use data of key operation of a target user on the electrical equipment are/is obtained.
The detection data is detection data for performing anti-interference detection on the electrical appliance by placing the electrical appliance into a preset interference environment before the electrical appliance leaves a factory, the preset interference environment is an extreme environment which may affect normal use of the key, that is, an environment with the strongest interference in actual operation of the electrical appliance, and the extreme environment may be a noise environment, and the like, which is not limited by the invention. Specifically, the interference rejection detection includes: the method does not carry out any operation on the electrical equipment, and obtains the corresponding key sampling value and the response result of the electrical equipment under the extreme environment, and in addition, the method further comprises the following steps: and simulating various different key operations of the user on the electrical equipment, and obtaining the corresponding key sampling value, the corresponding response result and the like of the electrical equipment in the extreme environment.
The key usage requirement may be a personalized key usage requirement of the target user set based on the personal usage habit of the target user, or a key usage requirement generally applicable to the user may be determined based on big data analysis, and the like, which is not limited in the present invention. In the embodiment of the invention, the electric cooker can display the key range: i.e. a small circle, the area of which is called the effective range of the key (not shown, based on the diameter of the key spring), the key usage requirements include: the key response condition and the key non-response condition, wherein the key response condition is that 1/2 and above of the area of the pressed key need a hundred percent response, and the key non-response condition is that the key cannot respond outside the effective operation range.
The historical usage data specifically includes; the electric cooker comprises key operation data, key sampling data, response results and the like, wherein the key operation data comprise contact areas, contact time and the like of fingers and keys when a target user operates the keys of the electric cooker, the key sampling data comprise key sampling values corresponding to different key operations collected by a processor of the electric cooker, and the response results comprise the response conditions of the electric cooker after the target user operates the keys, and the key operation data comprise the following steps: start cooking or no response, etc.
Step S102: and determining a trigger value interval of the key based on the key reference data.
Specifically, the step S102 specifically includes the following steps:
step S21: and determining a first trigger value interval of the key based on the preset key use requirement and the historical use data, and/or determining a second trigger value interval of the key based on the detection data, the preset key use requirement and/or the historical use data.
Step S22: and determining the trigger value interval of the key based on the first trigger value interval and/or the second trigger value interval.
The first trigger value interval is a range of key trigger values meeting key use requirements of a target user, and when the key trigger values are in the range, the use requirements of the target user can be met so as to improve the use experience of the target user; the second trigger value interval is a range of key trigger values meeting the requirement of the anti-interference capability of the electrical equipment, and when the key trigger values are in the range, the key use performance of the electrical equipment can be guaranteed not to be influenced by environmental interference.
Step S103: and determining a target key trigger value control interval corresponding to the electrical equipment based on the trigger value interval.
And determining a target key trigger value control interval corresponding to the electrical equipment based on the first trigger value interval and/or the second trigger value interval and/or the common interval of the first trigger value interval and the second trigger value interval.
Step S104: and determining a target key trigger value corresponding to the electrical equipment based on the target key trigger value control interval.
Specifically, in the embodiment of the present invention, a common interval between the first trigger interval and the second trigger interval is determined as a trigger value interval, so as to control the key sensitivity, meet the requirement of the user on personalized keys, and ensure the anti-interference capability of the keys of the electrical product. In practical applications, only the first trigger value interval or only the second trigger value interval may be used as the trigger value interval of the key according to the actual requirements of the electrical product, which is not limited in the present invention. The target key trigger value belongs to the target key trigger value control interval, and the setting mode of the specific target key trigger value can be flexibly set according to the range size of the actual target key trigger value control interval and the actual requirements of the electrical equipment, which is not limited by the invention.
By executing the steps, the key sensitivity control method provided by the embodiment of the invention determines the trigger value interval of the key by using the key reference data so as to determine the target key trigger value corresponding to the electrical equipment, thereby realizing accurate control of the key sensitivity of the electrical product, improving the control performance of the key sensitivity of the electrical product and improving the use experience of a user. Furthermore, the target key trigger value control interval is determined by utilizing the first trigger value interval meeting the use requirements of the user and the second trigger value interval ensuring the anti-interference performance of the electrical equipment, so that the target key trigger value not only ensures that the individualized use requirements of the user are met, but also has good anti-interference capability, the control performance of the key sensitivity of the electrical equipment is improved, and the use experience of the user is improved.
Specifically, in an embodiment, the determining the first trigger value interval of the key based on the preset key usage requirement and the historical usage data in the step S21 includes the following steps:
step S201: and extracting each first key sampling value meeting the key response condition from the historical use data. Specifically, as shown in fig. 2, when a user presses a key, a key module of the electric cooker collects a key sampling value, hereinafter referred to as a key value, in real time in a key response process, and sends the key value to a main control module of the electric cooker, when the main control module monitors that the key value is greater than a key trigger value, a corresponding key responds, and if the user starts a cooking operation, the electric cooker is controlled to execute a cooking procedure; and when the main control module monitors that the key value is smaller than the key release value, the corresponding key considers that the key is released to cancel the program corresponding to the current key, such as canceling the heat preservation and the like.
Step S202: and extracting each second key sampling value meeting the key unresponsive condition from the historical use data, wherein the second key sampling value is smaller than the first key sampling value.
Wherein, because when the user operates outside the effective range of button, certain button value still can be gathered to the button module, in order to avoid the condition that the false response appears, through the button sampling value that the monitoring user operated outside the effective range of button so that set up reasonable button trigger value.
Step S203: and determining a first trigger value interval of the key based on the minimum value of the first key sampling value and the maximum value of the second key sampling value.
The first trigger value interval is a value range limited by the maximum value of the second key sampling value and the minimum value of the first key sampling value, so that the target key trigger value can meet the personalized use requirement of a target user in the range. Assuming that the maximum value of the second key sample value is S1, the minimum value of the first key sample value is S2, the key trigger value is DT, and the first trigger value interval is (S1, S2), it is required to ensure that S1 < DT < S2, so as to meet the personalized use requirement of the target user.
In the embodiment of the present invention, the first trigger value interval is described by taking the key usage request and the historical usage data as examples, but in practical applications, the first trigger value interval may be determined only by the key usage request or the historical usage data, and the corresponding first trigger value interval is a single-ended interval, i.e., S1 < DT or DT < S2, which is not limited in this respect.
Specifically, in an embodiment, the determining, in the step S21, the second trigger value interval of the key based on the detection data, the preset key usage requirement, and/or the historical usage data specifically includes the following steps:
step S301: first detection data satisfying the key usage requirement and/or the historical usage data is extracted from the detection data.
In the embodiment of the present invention, the description is given by taking the example of extracting the detection data meeting the key operation requirement of the user from the detection data, so as to avoid the image of the result of the detection data not meeting the key operation requirement of the user on the second trigger value interval.
Step S302: and extracting each third key sampling value without key false response from the first detection data.
The first detection data may or may not have a key false response, and all key sampling values without key false response may be used as key trigger values, so that it is only required to ensure that the key trigger values are smaller than the minimum value of the key sampling values without key false response, and it is assumed that the maximum value of the third key sampling value is S3 and the key trigger value is DT, so that it is required to ensure that DT is smaller than or equal to S3, so as to avoid that the key trigger value is set too large, reduce the sensitivity of the key of the electrical equipment, and affect the user experience.
Step S303: and judging whether the first detection data has key press false response or not.
Specifically, the key press error response is the condition that the actually executed program of the electric cooker is not matched with the current key press operation or has no response, such as; when the user presses down the cooking operation, the electric cooker does not respond, or the user selects to cook for 10 minutes, the electric cooker runs the program to perform cooking for 20 minutes, and the like.
Step S304: and when the first detection data does not have key press false response, obtaining all fourth key press sampling values of the electrical equipment without key press false response in the key press operation from the detection data, wherein the fourth key press sampling values are smaller than the third key press sampling values.
Specifically, after the electric cooker is placed in a preset interference environment, no key operation is performed on the electric cooker, if the current key trigger value is higher than the key sampling value caused by the interference signal in the preset interference environment, the electric cooker does not have key false response, and if the key trigger value is lower than the key sampling value caused by the interference signal, the electric cooker has false response results such as automatic key skipping. If no key press false response exists, it is indicated that all the fourth key press sampling values are caused by interference, and the maximum value of the fourth key press sampling values is assumed to be S4, and the key press trigger value is DT, so that S4 < DT needs to be ensured to avoid key press false response.
Step S305: and determining a second trigger value interval of the key based on the maximum value of the fourth key sampling value and the minimum value of the third key sampling value.
The second trigger value interval is a value range limited by the maximum value of the third key sampling value and the minimum value of the fourth key sampling value, so that the electric cooker is guaranteed to have required anti-interference capacity. The second trigger value interval is (S4, S3), then it is necessary to ensure that DT is more than S4 and less than or equal to S3, so as to meet the anti-interference requirement of the electric cooker.
Step S306: and when the first detection data has key press false responses, extracting fifth key press sampling values with key press false responses from the first detection data, wherein the fifth key press sampling values are smaller than the third key press sampling values.
Specifically, if there is a key press false response in the first detection data, the key press false response is avoided by changing and increasing the key press trigger value, that is, assuming that the maximum sampling value of the false response is S5, the key press trigger value DT is, it is required to ensure that S5 < DT, so as to avoid the situation of key press false response.
Step S307: and determining a second trigger value interval of the key based on the maximum value of the fifth key sampling value and the minimum value of the third key sampling value.
The second trigger value interval is a value range limited by the maximum value of the fifth key sampling value and the minimum value of the fourth key sampling value, so that the electric cooker is guaranteed to have required anti-interference capacity. The second trigger value interval is (S5, S3), then it is necessary to ensure that DT is more than S5 and less than or equal to S3, so as to meet the anti-interference requirement of the electric cooker.
Specifically, in an embodiment, the step S104 specifically includes the following steps: the method comprises the following steps: calculating the difference value of the initial key trigger value and the final key trigger value of the target key trigger value control interval; judging whether the difference value is larger than a preset difference value threshold value or not; and when the difference value is larger than a preset difference value threshold value, determining the average value of the starting key trigger value and the ending key trigger value as a target key trigger value. Specifically, if the selection range of the key trigger value control interval is large, the use experience and the anti-interference capability of a user are guaranteed to be in a better level by selecting the intermediate value.
And when the difference is not greater than the preset difference threshold, determining the termination key trigger value as a target key trigger value. And if the selection range of the key trigger value control interval is smaller, setting the maximum key trigger value to further improve the use experience of the user.
Specifically, in an embodiment, the method for controlling the sensitivity of the key further includes the following steps:
step S105: and determining a target key release value corresponding to the electrical equipment based on the target key trigger value. In practical applications, the target key release value DR may be empirically selected according to the target key trigger value, and is usually set to be half of the key trigger value DT, under normal experimental conditions and under the condition of meeting enterprise standards and user experience.
Specifically, in an embodiment, in order to further improve the accuracy of the key sensitivity control and avoid the occurrence of key skipping, the method further includes the following steps:
step S106: and judging whether the first detection data has a key skipping false response or not and/or whether the electrical equipment has a key skipping false response or not when no key operation is carried out in a preset interference environment.
Specifically, in practical applications, when the rice cooker is in the process of performing the key pressing operation on the rice cooker in the preset interference environment and the rice cooker is not in the preset interference environment, the rice cooker may have a situation of key skipping false response, fig. 3 is a schematic diagram of a change of the key sampling value when the key skipping occurs, and fig. 4 is a schematic diagram of a change of the key sampling value when the key skipping does not occur.
Step S107: and when the key skipping false response exists in the first detection data and/or the key skipping false response exists in the electrical equipment without key pressing operation, acquiring a key skipping frequency band corresponding to the key skipping false response.
In order to avoid the occurrence of key-press key-jump false response, the embodiment of the invention obtains the key-jump frequency band, such as 8M, in which the key-press key-jump false response occurs, by using the existing key-jump frequency band obtaining method or a special monitoring device.
Step S108: and reducing the sampling frequency of the key sampling value of the key hopping frequency band.
Specifically, because the key module of electric rice cooker can monitor the signal of certain frequency range when sampling the key data, after obtaining the key hopping frequency channel, in order to improve the sampling number of times of this frequency of change according to the frequency, for example: and (3) jumping keys at the frequency of 8M, setting the program to sample 10 times at the frequency of 8M, and sampling 6 times at the frequency of 8M, and obtaining a value with less possibility of larger interference by reducing the sampling times, thereby further improving the anti-interference capability of the electric cooker. In practical application, after the main control chip of the electric cooker obtains the key sampling value sent by the key module, filtering processing is usually performed on the key sampling value, for example, jitter of the key sampling value is eliminated by setting jitter elimination time, so that the anti-interference capability can be further improved by increasing the jitter elimination time of the main control chip in the electric cooker, for example, the previous jitter elimination time is 40ms, and is changed into 50 ms. That is, if the sampling value of the key is greater than the trigger value within 40ms, the key is considered to be pressed, and if the sampling value is less than the trigger value, the key is considered to be invalid, so as to avoid the influence of the interference signal.
According to the key sensitivity control method provided by the embodiment of the invention, in the process that a target user normally uses the keys of the electric cooker, the key module collects the key values in real time and sends the data to the main control module, so that the key trigger value threshold interval meeting the use requirements of the user is determined; then, performing anti-interference test on the electric rice cooker in a preset anti-interference environment before delivery of the electric equipment, acquiring key values in real time by the key module, and sending data to the main control module, wherein the main control module determines a key trigger value threshold interval meeting anti-interference requirements by monitoring and processing the data; and then, a key trigger value is set in a public interval between two threshold intervals to obtain the key trigger value which not only meets the user requirement but also has certain anti-interference capability.
An embodiment of the present invention further provides a key sensitivity control device, which is applied to an electrical apparatus having a key, and as shown in fig. 5, the key sensitivity control device includes:
the obtaining module 101 is configured to obtain key reference data corresponding to the electrical device. For details, refer to the related description of step S101, and are not repeated herein.
The first processing module 102 is configured to determine a trigger value interval of the key based on the key reference data. For details, refer to the related description of step S102, and are not repeated herein.
And the second processing module 103 is configured to determine a target key trigger value control interval corresponding to the electrical device based on the trigger value interval. For details, refer to the related description of step S103, and are not repeated herein.
And the third processing module 104 is configured to determine a target key trigger value corresponding to the electrical device based on the target key trigger value control interval. For details, refer to the related description of step S104, and are not repeated herein.
The key sensitivity control device provided in the embodiment of the present invention is configured to execute the key sensitivity control method provided in the above embodiment, and the implementation manner and the principle thereof are the same, and the details refer to the related description of the above method embodiment and are not repeated.
Through the cooperative cooperation of the above components, the key sensitivity control device provided by the embodiment of the invention determines the trigger value interval of the key by using the key reference data, so as to determine the target key trigger value corresponding to the electrical equipment, thereby realizing the accurate control of the key sensitivity of the electrical product, improving the control performance of the key sensitivity of the electrical product, and improving the use experience of a user.
The embodiment of the present invention further provides an electrical apparatus, which is an electrical apparatus with a key, in the embodiment of the present invention, the electrical apparatus is an electric cooker, and as shown in fig. 6, the electrical apparatus further includes: a processor 901 and a memory 902, wherein the processor 901 and the memory 902 may be connected by a bus or by other means, and fig. 6 illustrates an example of a connection by a bus.
The memory 902, which is a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the methods in the above-described method embodiments. The processor 901 executes various functional applications and data processing of the processor by executing non-transitory software programs, instructions and modules stored in the memory 902, that is, implements the methods in the above-described method embodiments.
The memory 902 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor 901, and the like. Further, the memory 902 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 902 may optionally include memory located remotely from the processor 901, which may be connected to the processor 901 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
One or more modules are stored in the memory 902, which when executed by the processor 901 performs the methods in the above-described method embodiments.
The specific details of the electrical equipment may be understood by referring to the corresponding related descriptions and effects in the above method embodiments, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, and the implemented program can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD) or a Solid State Drive (SSD), etc.; the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.
Claims (12)
1. A key sensitivity control method is applied to electrical equipment with keys, and is characterized by comprising the following steps:
acquiring key reference data corresponding to the electrical equipment;
determining a trigger value interval of the key based on the key reference data;
determining a target key trigger value control interval corresponding to the electrical equipment based on the trigger value interval;
and determining a target key trigger value corresponding to the electrical equipment based on the target key trigger value control interval.
2. The method of claim 1, wherein the key reference data comprises: the method for determining the trigger value interval of the key based on the key reference data comprises the following steps of:
determining a first trigger value interval of the key based on a preset key use requirement and the historical use data, and/or determining a second trigger value interval of the key based on the detection data, the preset key use requirement and/or the historical use data;
and determining the trigger value interval of the key based on the first trigger value interval and/or the second trigger value interval.
3. The method according to claim 2, wherein the determining a target key trigger value control interval corresponding to the electrical device based on the trigger value interval comprises:
and determining a target key trigger value control interval corresponding to the electrical equipment based on the first trigger value interval and/or the second trigger value interval and/or a common interval of the first trigger value interval and the second trigger value interval.
4. The method of claim 2, wherein the key usage requirements comprise: the key response condition and the key non-response condition, wherein the step of determining a first trigger value interval of the key according to the historical use data based on the key use requirement comprises the following steps:
extracting each first key sampling value meeting the key response condition from the historical use data;
extracting second key sampling values meeting the key unresponsive condition from the historical use data, wherein the second key sampling values are smaller than the first key sampling values;
and determining a first trigger value interval of the key based on the minimum value of the first key sampling value and the maximum value of the second key sampling value.
5. The method according to claim 2, wherein the determining a second trigger value interval of a key according to the detection data and/or the historical usage data based on the key usage requirement comprises:
extracting first detection data satisfying the key usage requirement and/or the historical usage data from the detection data;
extracting each third key sampling value without key false response from the first detection data;
judging whether the first detection data has a key press error response or not;
when the first detection data does not have key press error response, obtaining all fourth key press sampling values of the electrical equipment without key press error response in the process of no key press operation from the detection data, wherein the fourth key press sampling values are smaller than the third key press sampling values;
and determining a second trigger value interval of the key based on the maximum value of the fourth key sampling value and the minimum value of the third key sampling value.
6. The method of claim 5,
when the first detection data has key press error response, extracting each fifth key press sampling value with key press error response from the first detection data, wherein the fifth key press sampling value is smaller than the third key press sampling value;
and determining a second trigger value interval of the key based on the maximum value of the fifth key sampling value and the minimum value of the third key sampling value.
7. The method of claim 6, further comprising:
judging whether a key skipping error response exists in the first detection data and/or whether a key skipping error response exists in the electrical equipment in the preset interference environment when no key pressing operation exists;
when the first detection data has a key skipping false response and/or the electrical equipment has a key skipping false response when no key pressing operation is performed, acquiring a key skipping frequency band corresponding to the key skipping false response;
and reducing the sampling frequency of the key sampling value of the key hopping frequency band.
8. The method of any one of claims 1-7, further comprising:
and determining a target key release value corresponding to the electrical equipment based on the target key trigger value.
9. A key sensitivity control device is applied to an electric appliance with keys, and is characterized by comprising:
the acquisition module is used for acquiring detection data of the electrical equipment for anti-interference detection in a preset interference environment and key use requirements of a target user and/or historical use data of key operation of the electrical equipment by the target user;
the first processing module is used for acquiring key reference data corresponding to the electrical equipment;
the second processing module is used for determining a trigger value interval of the key based on the key reference data;
the third processing module is used for determining a target key trigger value control interval corresponding to the electrical equipment based on the trigger value interval;
and the fourth processing module is used for determining a target key trigger value corresponding to the electrical equipment based on the target key trigger value control interval.
10. An electrical apparatus having a key, comprising:
a memory and a processor communicatively coupled to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the method of any of claims 1-8.
11. The electrical apparatus of claim 10, wherein the electrical apparatus is a rice cooker.
12. A computer-readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any one of claims 1-8.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110186392.5A CN112994678B (en) | 2021-02-09 | 2021-02-09 | Key sensitivity control method and device and electrical equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110186392.5A CN112994678B (en) | 2021-02-09 | 2021-02-09 | Key sensitivity control method and device and electrical equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN112994678A true CN112994678A (en) | 2021-06-18 |
| CN112994678B CN112994678B (en) | 2024-07-12 |
Family
ID=76393360
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110186392.5A Active CN112994678B (en) | 2021-02-09 | 2021-02-09 | Key sensitivity control method and device and electrical equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112994678B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114785334A (en) * | 2022-04-12 | 2022-07-22 | Oppo广东移动通信有限公司 | Control key adjusting method, electronic device and storage medium |
Citations (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101957722A (en) * | 2010-09-28 | 2011-01-26 | 华为终端有限公司 | Touch screen input control method and device as well as mobile phone |
| CN104716944A (en) * | 2015-03-30 | 2015-06-17 | 广东美的厨房电器制造有限公司 | Trigging judgement method of touch key and household appliance |
| US20160196462A1 (en) * | 2015-01-07 | 2016-07-07 | Xiaomi Inc. | Apparatus and method for implementing touch control and fingerprint identification |
| CN106325107A (en) * | 2015-06-17 | 2017-01-11 | 佛山市顺德区美的电热电器制造有限公司 | Control device of electric cooker and key processing method for electric cooker |
| CN106877854A (en) * | 2017-02-09 | 2017-06-20 | 广东美的厨房电器制造有限公司 | Touch button detection method, detection device and electrical equipment |
| WO2017185728A1 (en) * | 2016-04-25 | 2017-11-02 | 中兴通讯股份有限公司 | Method and device for identifying key operation |
| WO2018166204A1 (en) * | 2017-03-15 | 2018-09-20 | 广东欧珀移动通信有限公司 | Method for controlling fingerprint recognition module, and mobile terminal and storage medium |
| CN109032427A (en) * | 2018-09-12 | 2018-12-18 | 奥克斯空调股份有限公司 | Touch sensitivity adjustment method and air conditioner |
| CN109660241A (en) * | 2018-11-06 | 2019-04-19 | 深圳和而泰智能控制股份有限公司 | A kind of method and device adjusting touch key-press sensitivity |
| CN109984616A (en) * | 2017-12-29 | 2019-07-09 | 浙江绍兴苏泊尔生活电器有限公司 | The processing method of touch key-press, cooking apparatus |
| CN109992157A (en) * | 2019-03-27 | 2019-07-09 | 青岛海信智慧家居系统股份有限公司 | A kind of intelligent door lock touch keyboard sensitivity regulation method and device |
| CN111078336A (en) * | 2019-11-25 | 2020-04-28 | 上海米哈游网络科技股份有限公司 | Display method, device, equipment and storage medium |
| CN111475052A (en) * | 2020-04-10 | 2020-07-31 | 维沃移动通信有限公司 | Method for preventing mistaken touch of key and electronic equipment |
-
2021
- 2021-02-09 CN CN202110186392.5A patent/CN112994678B/en active Active
Patent Citations (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101957722A (en) * | 2010-09-28 | 2011-01-26 | 华为终端有限公司 | Touch screen input control method and device as well as mobile phone |
| US20160196462A1 (en) * | 2015-01-07 | 2016-07-07 | Xiaomi Inc. | Apparatus and method for implementing touch control and fingerprint identification |
| CN104716944A (en) * | 2015-03-30 | 2015-06-17 | 广东美的厨房电器制造有限公司 | Trigging judgement method of touch key and household appliance |
| CN106325107A (en) * | 2015-06-17 | 2017-01-11 | 佛山市顺德区美的电热电器制造有限公司 | Control device of electric cooker and key processing method for electric cooker |
| WO2017185728A1 (en) * | 2016-04-25 | 2017-11-02 | 中兴通讯股份有限公司 | Method and device for identifying key operation |
| CN106877854A (en) * | 2017-02-09 | 2017-06-20 | 广东美的厨房电器制造有限公司 | Touch button detection method, detection device and electrical equipment |
| WO2018166204A1 (en) * | 2017-03-15 | 2018-09-20 | 广东欧珀移动通信有限公司 | Method for controlling fingerprint recognition module, and mobile terminal and storage medium |
| CN109984616A (en) * | 2017-12-29 | 2019-07-09 | 浙江绍兴苏泊尔生活电器有限公司 | The processing method of touch key-press, cooking apparatus |
| CN109032427A (en) * | 2018-09-12 | 2018-12-18 | 奥克斯空调股份有限公司 | Touch sensitivity adjustment method and air conditioner |
| CN109660241A (en) * | 2018-11-06 | 2019-04-19 | 深圳和而泰智能控制股份有限公司 | A kind of method and device adjusting touch key-press sensitivity |
| CN109992157A (en) * | 2019-03-27 | 2019-07-09 | 青岛海信智慧家居系统股份有限公司 | A kind of intelligent door lock touch keyboard sensitivity regulation method and device |
| CN111078336A (en) * | 2019-11-25 | 2020-04-28 | 上海米哈游网络科技股份有限公司 | Display method, device, equipment and storage medium |
| CN111475052A (en) * | 2020-04-10 | 2020-07-31 | 维沃移动通信有限公司 | Method for preventing mistaken touch of key and electronic equipment |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114785334A (en) * | 2022-04-12 | 2022-07-22 | Oppo广东移动通信有限公司 | Control key adjusting method, electronic device and storage medium |
| CN114785334B (en) * | 2022-04-12 | 2024-12-17 | Oppo广东移动通信有限公司 | Control key adjusting method, electronic equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112994678B (en) | 2024-07-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3340243B1 (en) | Method for performing voice control on device with microphone array, and device thereof | |
| CN112583617B (en) | Fault determination method, server, control terminal and storage medium | |
| CN107991891B (en) | Method and system for adjusting environmental parameters and user equipment | |
| CN110515820A (en) | A kind of server failure maintaining method, device, server and storage medium | |
| CN114025377B (en) | Quality difference identification method, device and storage medium for home broadband network | |
| CN102831894A (en) | Command processing method, command processing device and command processing system | |
| CN110071855B (en) | Equipment linkage control method, device, system, gateway and storage medium | |
| CN111093235B (en) | Network switching method, equipment and storage medium | |
| WO2014180444A1 (en) | Sensitivity adjustment method and device | |
| CN106685752B (en) | A kind of information processing method and terminal | |
| CN106155797B (en) | Terminal equipment and switching method of performance modes thereof | |
| CN103699208B (en) | Hardware setting method, mobile terminal and the server of a kind of mobile terminal | |
| CN110806908A (en) | Application software pre-starting method, terminal and computer readable storage medium | |
| CN112994678B (en) | Key sensitivity control method and device and electrical equipment | |
| CN105517126A (en) | Frequency band processing method and device in communication terminal, and communication terminal | |
| CN107608811B (en) | Crash detection system based on touch screen and display screen | |
| CN105573854A (en) | Terminal application processing method and device | |
| CN110942583B (en) | Method, device and terminal for reporting smoke alarm | |
| CN115267521A (en) | Method and device for detecting working state of circuit breaker, computer equipment and medium | |
| CN110598797B (en) | Fault detection method and device, storage medium and electronic device | |
| CN105163336A (en) | Method and system for optimizing stability of wireless network | |
| CN113507721B (en) | A network status monitoring method, device, system and storage medium | |
| CN111967614A (en) | Artificial intelligence learning method and device | |
| CN109984616B (en) | Processing method of touch key and cooking appliance | |
| CN120075843B (en) | Optimization methods, devices, servers, and storage media for 5G private network interference |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |