CN112994678B - Key sensitivity control method and device and electrical equipment - Google Patents

Key sensitivity control method and device and electrical equipment Download PDF

Info

Publication number
CN112994678B
CN112994678B CN202110186392.5A CN202110186392A CN112994678B CN 112994678 B CN112994678 B CN 112994678B CN 202110186392 A CN202110186392 A CN 202110186392A CN 112994678 B CN112994678 B CN 112994678B
Authority
CN
China
Prior art keywords
key
trigger value
value
interval
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.)
Active
Application number
CN202110186392.5A
Other languages
Chinese (zh)
Other versions
CN112994678A (en
Inventor
黄展文
冯晓琴
李硕勇
温珍岑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202110186392.5A priority Critical patent/CN112994678B/en
Publication of CN112994678A publication Critical patent/CN112994678A/en
Application granted granted Critical
Publication of CN112994678B publication Critical patent/CN112994678B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/96Touch switches

Landscapes

  • Electric Ovens (AREA)

Abstract

The invention provides a key sensitivity control method, a device and electrical equipment, wherein the key sensitivity control method comprises the following steps: acquiring key reference data corresponding to 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, so that the target key trigger value corresponding to the electrical equipment is determined, 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

Key sensitivity control method and device and electrical equipment
Technical Field
The invention relates to the technical field of household appliances, in particular to a key sensitivity control method and device and an electric appliance.
Background
With the upgrading and upgrading of electrical products, more and more products adopt touch panels for function control so as to improve user experience. Taking the touch operation electric cooker as an example, in the use process, if the electric cooker encounters tripping, thunderstorm environment or uses various high-power devices around, the conditions of key jump, key failure and the like easily occur, so that how to control the key sensitivity has important significance for the performance optimization of the electric appliance product.
Disclosure of Invention
In view of the above, the embodiments of the present invention provide a key sensitivity control method, apparatus and electrical equipment to overcome the problem that the sensitivity of the key of the electrical equipment in the prior art is difficult to effectively control.
According to a first aspect, an embodiment of the present invention provides a key sensitivity control method, applied to an electrical apparatus having a key, including:
Acquiring key reference data corresponding to the electrical equipment;
determining a trigger value interval of a 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: 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, wherein the determining of the trigger value interval of the key based on the key reference data comprises the following steps:
Determining a first trigger value interval of a 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, based on the trigger value interval, a target key trigger value control interval corresponding to the electrical equipment 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, the determining the first trigger value interval of the key based on the preset key use requirement and the historical use data includes:
Extracting each first key sampling value meeting the key response condition from the historical use data;
Extracting second key sampling values meeting the key non-response condition from the historical use data, wherein the second key sampling values are smaller than the first key sampling values;
a first trigger value interval for the key is determined based on a minimum value of the first key sample value and a maximum value of the second key sample value.
Optionally, the determining the 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 meeting the key use requirement and/or the historical use data from the detection data;
extracting each third key sampling value without key error response from the first detection data;
Judging whether a key error response exists in the first detection data;
When the first detection data does not have a key error response, acquiring fourth key sampling values of the electrical equipment, which do not have the key error response when the electrical equipment does not have the key operation, from the detection data, wherein the fourth key sampling values are smaller than the third key 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 a key error response exists in the first detection data, extracting each fifth key sampling value with the key error response from the first detection data, wherein the fifth key sampling value is smaller than the third key 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.
Optionally, the method further comprises:
judging whether a jump key error response exists in the first detection data and/or whether the jump key error response exists in the electrical equipment in the preset interference environment when no key operation exists;
When the first detection data has a jump key error response, and/or when the electrical equipment has a jump key error response when no key operation is performed, acquiring a jump key frequency band corresponding to the jump key error response;
and reducing the sampling frequency of the key sampling value of the jump key 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 apparatus applied to an electrical device having a key, the apparatus including:
The acquisition module is used for acquiring detection data of anti-interference detection of the electrical equipment 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;
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 the 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, the electrical apparatus comprising:
The system comprises a memory and a processor, wherein the memory and the processor are in communication connection, the memory stores computer instructions, and the processor executes the computer instructions, thereby executing the method in the first aspect or any optional implementation manner of the first aspect.
Optionally, the electrical equipment is an electric cooker.
According to a fourth aspect, embodiments of the present invention provide 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 alternative embodiments of the first aspect.
The technical scheme of the invention has the following advantages:
The key sensitivity control method, the key sensitivity control device and the electrical equipment provided by the embodiment of the invention are characterized in that key reference data corresponding to the electrical equipment are 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, so that the target key trigger value corresponding to the electrical equipment is determined, 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 that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a key sensitivity control method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating key values during key response according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating key values when key jump occurs in an embodiment of the present invention;
FIG. 4 is a diagram of key values when no key jump occurs in an embodiment of the present invention;
FIG. 5 is a schematic diagram of a key sensitivity control device 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
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
The technical features of the different embodiments of the invention described below may be combined with one another as long as they do not conflict with one another.
With the upgrading and upgrading of electrical products, more and more products adopt touch panels for function control so as to improve user experience. Taking the touch operation electric cooker as an example, in the use process, if the electric cooker encounters tripping, thunderstorm environment or uses various high-power devices around, the conditions of key jump, key failure and the like easily occur, so that how to control the key sensitivity has important significance for the performance optimization of the electric appliance product.
Based on the above-mentioned problems, the embodiment of the present invention provides a key sensitivity control method, which is applied to an electrical apparatus with a key, and in the embodiment of the present invention, the description is given by taking the electrical apparatus as an example of an electric cooker, and in practical application, the electrical apparatus may be other electrical apparatuses with a key, such as an electric pressure cooker, etc., and the invention is not limited thereto. As shown in fig. 1, the key sensitivity control method mainly includes the following steps:
step S101: and obtaining key reference data corresponding to the electrical equipment.
Specifically, the key reference data includes: detection data of anti-interference detection of the electrical equipment in a preset interference environment and/or historical use data of key operation of the electrical equipment by a target user.
The detection data is detection data of the electrical equipment, which is put into a preset interference environment for electrical equipment anti-interference detection before leaving the factory, wherein the preset interference environment is an extreme environment which may affect normal use of the key, namely, the environment with strongest interference in actual operation of the electrical equipment, and the extreme environment can be a noise environment and the like. Specifically, the anti-interference detection comprises: the method does not perform any operation on the electrical equipment, and obtains a key sampling value and a response result corresponding to the electrical equipment in the extreme environment, and in addition, the method further comprises the following steps: and performing various key operations imitating users on the electrical equipment, and obtaining a key sampling value, a response result and the like corresponding to 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 personal usage habits of the target user, or may be a key usage requirement which is generally applicable to the user and is determined based on a big data analysis method or the like, and the invention is not limited thereto. 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 key spring diameter) the key usage requirements include: the key response condition and the key non-response condition, wherein the key response condition is that the area of the pressed key is 1/2 or more of the area of the pressed key needs to be subjected to hundred percent response, and the key non-response condition is that the key cannot respond outside the effective operation range.
The above-mentioned history use data specifically includes; the key operation data of the electric cooker operated by the user, the corresponding key sampling data, the response result and the like, wherein the key operation data is the contact area and the contact time of fingers and keys when the target user operates the keys of the electric cooker, the key sampling data is key sampling values corresponding to different key operations acquired by a processor of the electric cooker, and the response result comprises the response conditions of the electric cooker after the target user operates the keys, such as: begin 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: the first trigger value interval of the key is determined based on the preset key use requirement and the historical use data, and/or the second trigger value interval of the key is determined 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 the target user, and when the key trigger values are within the range, the use requirements of the target user can be met, so that the use experience of the target user is improved; the second trigger value interval is a range of key trigger values meeting the requirements 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 affected 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 a 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 invention, the explanation is made by taking the determination of the common interval of the first trigger interval and the second trigger interval as the trigger value interval as an example, so as to control the key sensitivity and ensure the anti-interference capability of the keys of the electrical products while meeting the personalized key requirement of users. In practical application, the first trigger value interval or the second trigger value interval can be used as the trigger value interval of the key according to the actual requirement of the electrical product, and the invention is not limited to this. The target key trigger value belongs to the target key trigger value control interval, and the specific setting mode of the 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 requirement 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 utilizing the key reference data so as to further determine the target key trigger value corresponding to the electrical equipment, thereby realizing accurate control on 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 users. Further, the target key trigger value control interval is determined by utilizing the first trigger value interval meeting the use requirement of the user and the second trigger value interval guaranteeing the anti-interference performance of the electrical equipment, so that the target key trigger value not only guarantees to meet the personalized use requirement of the user, but also has good anti-interference capability, the control performance of the key sensitivity of the electrical product is improved, and the use experience of the user is improved.
Specifically, in one embodiment, the step S21 of determining the first trigger value interval of the key based on the preset key usage requirement and the historical usage data specifically includes the following steps:
step S201: and extracting each first key sampling value meeting key response conditions from the historical use data. Specifically, as shown in fig. 2, when a user presses a key, a key module of the electric cooker acquires a key sampling value, hereinafter referred to as a key value, in real time and sends the key sampling value to a main control module of the electric cooker, and when the main control module monitors that the key value is greater than a key trigger value, the corresponding key responds, and if the user starts a cooking operation, the electric cooker is controlled to execute a cooking program; 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 heat preservation and the like.
Step S202: and extracting each second key sampling value meeting the key non-response condition from the historical use data, wherein the second key sampling value is smaller than the first key sampling value.
When the user operates outside the effective range of the key, the key module still acquires a certain key value, and in order to avoid the situation of error response, the key sampling value operated outside the effective range of the key by the user is monitored so as to conveniently set a reasonable key trigger value.
Step S203: a first trigger value interval for the key is determined based on a minimum value of the first key sample value and a maximum value of the second key sample value.
The first trigger value interval is a value range defined 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 sampling value is S1, the minimum value of the first key sampling value is S2, the key trigger value is DT, and the first trigger value interval is (S1, S2), the condition that S1 is less than DT and less than S2 is required to be ensured so as to meet the personalized use requirement of a target user.
In the embodiment of the present invention, the first trigger value interval is described by taking the key usage requirement and the historical usage data as examples, and in practical application, the first trigger value interval may be determined only by the key usage requirement or the historical usage data, and the corresponding first trigger value interval is a single-ended interval, that is, S1 < DT or DT < S2, and the present invention is not limited thereto.
Specifically, in one embodiment, the step S21 of determining 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 key use requirements and/or historical use data are extracted from the detection data.
In the embodiment of the invention, the detection data meeting the key use requirement of the user is extracted from the detection data as an example to avoid the image of the detection data which does not meet the key operation requirement of the user on the result of the second trigger value interval, in practical application, only the detection data consistent with the historical use data of the user can be screened, so that the second trigger value interval also meets the use habit of the user, and further, the detection data meeting the two conditions can be simultaneously extracted, so that the accuracy of the second trigger value interval is further improved.
Step S302: and extracting each third key sampling value without key error response from the first detection data.
Because there may be a key error response or no key error response in the first detection data, all key sampling values without key error response can be used as key trigger values, so long as the key trigger values are ensured to be smaller than the minimum value of the key sampling values without key error response, and the maximum value of the third key sampling value is assumed to be S3, and the key trigger value is DT, so that DT is ensured to be less than or equal to S3, so that the condition that the key trigger value is set too large is avoided, the sensitivity of keys of electrical equipment is reduced, and the use experience of users is affected.
Step S303: and judging whether the first detection data has a key error response or not.
Specifically, the key error response is a situation that the program actually executed by the electric cooker is not consistent with the current key operation or does not respond, for example; when the user presses the cooking operation, the electric cooker does not respond, or the user selects to cook for 10 minutes, the electric cooker operates the program to perform cooking for 20 minutes, and the like.
Step S304: and when the first detection data does not have key error response, acquiring each fourth key sampling value of the electrical equipment, which does not have key error response when the electrical equipment does not have key operation, from the detection data, wherein the fourth key sampling value is smaller than the third key sampling value.
Specifically, after the electric cooker is placed in a preset interference environment, any key operation is not performed on the electric cooker, if the current key trigger value is higher than a key sampling value caused by an interference signal in the preset interference environment, the electric cooker cannot respond by mistake, and if the key trigger value is lower than the key sampling value caused by the interference signal, the electric cooker can respond by mistake such as automatic key jump. If there is no key error response, it is indicated that all the fourth key sampling values are brought by interference, and the maximum value of the fourth key sampling values is assumed to be S4, and the key trigger value is DT, so that it is necessary to ensure that S4 < DT to avoid the key error 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 defined by the maximum value of the third key sampling value and the minimum value of the fourth key sampling value, so as to ensure that the electric cooker has the required anti-interference capability. And the second trigger value interval is (S4, S3), and the S4 is more than DT and less than or equal to S3, so as to meet the anti-interference requirement of the electric cooker.
Step S306: and when the key error response exists in the first detection data, extracting each fifth key sampling value with the key error response from the first detection data, wherein the fifth key sampling value is smaller than the third key sampling value.
Specifically, if there is a key erroneous response in the first detection data, the key erroneous response is avoided by changing and increasing the key trigger value, that is, if the sampled value of the erroneous response is S5 at the maximum, the key trigger value DT needs to ensure that S5 < DT, so as to avoid the situation of the key erroneous 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 defined by the maximum value of the fifth key sampling value and the minimum value of the fourth key sampling value, so as to ensure that the electric cooker has the required anti-interference capability. And the second trigger value interval is (S5, S3), so that S5 is more than DT and less than or equal to S3 is required to be ensured so as to meet the anti-interference requirement of the electric cooker.
Specifically, in an embodiment, the step S104 specifically includes the following steps: comprising the following steps: calculating a difference value between a start key trigger value and a stop key trigger value of a 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 start key trigger value and the end key trigger value as a target key trigger value. Specifically, if the selection range of the key trigger value control interval is larger, the mode of selecting the intermediate value is adopted to ensure that the use experience and the anti-interference capability of the user are both at the better level.
And when the difference value is not greater than the preset difference value threshold value, 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 key sensitivity control method 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 application, the target key release value DR may be selected empirically according to the target key trigger value under the condition that the normal experimental condition meets the enterprise standard and the user experience, and is generally set to half of the key trigger value DT.
Specifically, in an embodiment, in order to further improve accuracy of the key sensitivity control, to avoid a situation of key jump, the method further includes the following steps:
Step S106: judging whether the first detection data has a jump key error response or not, and/or judging whether the electrical equipment has the jump key error response or not in a preset interference environment when the electrical equipment does not have key operation.
Specifically, in practical application, when the electric cooker is operated in a preset interference environment and the electric cooker is not operated in the preset interference environment, the electric cooker may have a situation of false response of key-skip, fig. 3 is a schematic diagram of change of a key sampling value when key-skip occurs, and fig. 4 is a schematic diagram of change of a key sampling value when no key-skip occurs.
Step S107: when the first detection data has the jump key error response, and/or when the electrical equipment has the jump key error response when no key operation exists, acquiring a jump key frequency band corresponding to the jump key error response.
In order to avoid the occurrence of false key jump response, the embodiment of the invention obtains the jump key frequency band with the occurrence of false key jump response, such as 8M, by using the existing jump key frequency band obtaining method or special monitoring equipment.
Step S108: and reducing the sampling frequency of the key sampling value of the skip key frequency band.
Specifically, since the key module of the electric cooker monitors signals in a certain frequency range when sampling key data, after obtaining the jump key frequency band, in order to improve the sampling frequency of changing the frequency according to the frequency, for example: when the whole machine jumps to the key at the frequency of 8M, the previous program is set to sample for 10 times at the 8M frequency band, and the current program is sampled for 6 times at the 8M frequency band, and the value of the larger interference is obtained by reducing the sampling times, so that the anti-interference capability of the electric rice cooker is further improved. 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 50ms. That is, if the sampled value of the key is judged to be larger than the trigger value within 40ms continuously, the key is considered to be pressed, and if the sampled value is judged to be smaller than the trigger value, the key is considered to be invalid, so that the influence of an interference signal is avoided.
According to the key sensitivity control method provided by the embodiment of the invention, in the process that a target user normally uses a key of the electric cooker, the key module acquires key values in real time and sends data to the main control module, so that a key trigger value threshold interval meeting the use requirement of the user is determined; then, according to the anti-interference test of the electric cooker in a preset anti-interference environment before the electric appliance is shipped, the key module collects key values in real time and sends data to the main control module, and the main control module monitors the data to determine a key trigger value threshold interval meeting the anti-interference requirement; and setting key trigger values in a public interval between two threshold intervals to obtain the key trigger values which not only meet the requirements of users but also have certain anti-interference capability.
The embodiment of the invention also provides a key sensitivity control device, which is applied to the electrical equipment with keys, as shown in fig. 5, and comprises:
the acquiring module 101 is configured to acquire key reference data corresponding to the electrical equipment. For details, see the description of step S101, and the details are not repeated here.
The first processing module 102 is configured to determine a trigger value interval of the key based on the key reference data. For details, see the description of step S102, and the details are not repeated here.
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, see the description of step S103, and the details are not repeated here.
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, see the description of step S104, and the details are not repeated here.
The key sensitivity control device provided by the embodiment of the present invention is used for executing the key sensitivity control method provided by the above embodiment, and its implementation manner is the same as that of the principle, and details refer to the related description of the above method embodiment, and are not repeated.
Through the cooperative cooperation of the components, the key sensitivity control device provided by the embodiment of the invention determines the trigger value interval of the key by utilizing the key reference data so as to further determine the target key trigger value corresponding to the electrical equipment, thereby realizing accurate control on 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 users.
The embodiment of the invention also provides an electrical device, which is an electrical device with keys, in the embodiment of the invention, the electrical device is an electric cooker, as shown in fig. 6, and the electrical device further comprises: a processor 901 and a memory 902, wherein the processor 901 and the memory 902 may be connected by a bus or otherwise, for example in fig. 6.
The processor 901 may be a central processing unit (Central Processing Unit, CPU). The Processor 901 may also be other general purpose processors, digital signal processors (DIGITAL SIGNAL processors, DSPs), application SPECIFIC INTEGRATED Circuits (ASICs), field-Programmable gate arrays (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or combinations thereof.
The memory 902 is used as a non-transitory computer readable storage medium for storing non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the methods in the method embodiments described above. The processor 901 executes various functional applications of the processor and data processing, i.e., implements the methods in the above-described method embodiments, by running non-transitory software programs, instructions, and modules stored in the memory 902.
The memory 902 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for a function; the storage data area may store data created by the processor 901, and the like. In addition, 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, memory 902 optionally includes memory remotely located relative to processor 901, which may be connected to 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 that, when executed by the processor 901, perform the methods of the method embodiments described above.
The specific details of the electrical equipment can be correspondingly understood by referring to the corresponding related descriptions and effects in the above method embodiments, and are not repeated here.
It will be appreciated by those skilled in the art that implementing all or part of the above-described methods in the embodiments may be implemented by a computer program for instructing relevant hardware, and the implemented program may be stored in a computer readable storage medium, and the program may include the steps of the embodiments of the above-described methods when executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a Flash Memory (Flash Memory), a hard disk (HARD DISK DRIVE, abbreviated as HDD), a Solid state disk (Solid-STATE DRIVE, SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
Although embodiments of the present invention have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the invention, and such modifications and variations are within the scope of the invention as defined by the appended claims.

Claims (9)

1. A key sensitivity control method applied to an electric device with keys, the method comprising:
Acquiring key reference data corresponding to the electrical equipment;
determining a trigger value interval of a 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;
Determining a target key trigger value corresponding to the electrical equipment based on the target key trigger value control interval;
the key reference data includes: 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, wherein the determining of the trigger value interval of the key based on the key reference data comprises the following steps:
Determining a first trigger value interval of a 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;
Determining a trigger value interval of the key based on the first trigger value interval and/or the second trigger value interval;
the key use requirements include: and determining a first trigger value interval of the key according to the historical use data based on the key use requirement, wherein the first trigger value interval 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 non-response condition from the historical use data, wherein the second key sampling values are smaller than the first key sampling values;
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 determining, based on the key usage requirement, a second trigger value interval of the key according to the detection data and/or the historical usage data includes:
extracting first detection data meeting the key use requirement and/or the historical use data from the detection data;
extracting each third key sampling value without key error response from the first detection data;
Judging whether a key error response exists in the first detection data;
When the first detection data does not have a key error response, acquiring fourth key sampling values of the electrical equipment, which do not have the key error response when the electrical equipment does not have the key operation, from the detection data, wherein the fourth key sampling values are smaller than the third key 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.
2. The method of claim 1, 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.
3. The method of claim 1, wherein the step of determining the position of the substrate comprises,
When the first detection data has a key error response, extracting each fifth key sampling value with the key error response from the first detection data, wherein the fifth key sampling value is smaller than the third key 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.
4. A method according to claim 3, characterized in that the method further comprises:
judging whether a jump key error response exists in the first detection data and/or whether the jump key error response exists in the electrical equipment in the preset interference environment when no key operation exists;
When the first detection data has a jump key error response, and/or when the electrical equipment has a jump key error response when no key operation is performed, acquiring a jump key frequency band corresponding to the jump key error response;
and reducing the sampling frequency of the key sampling value of the jump key frequency band.
5. The method of any one of claims 1-4, further comprising:
And determining a target key release value corresponding to the electrical equipment based on the target key trigger value.
6. A key sensitivity control apparatus applied to an electric device having a key, the apparatus comprising:
The acquisition module is used for acquiring detection data of anti-interference detection of the electrical equipment 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;
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 key reference data includes: 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, wherein the determining of the trigger value interval of the key based on the key reference data comprises the following steps: determining a first trigger value interval of a 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; determining a trigger value interval of the key based on the first trigger value interval and/or the second trigger value interval; the key use requirements include: and determining a first trigger value interval of the key according to the historical use data based on the key use requirement, wherein the first trigger value interval 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 non-response condition from the historical use data, wherein the second key sampling values are smaller than the first key sampling values; 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 determining, based on the key usage requirement, a second trigger value interval of the key according to the detection data and/or the historical usage data includes: extracting first detection data meeting the key use requirement and/or the historical use data from the detection data; extracting each third key sampling value without key error response from the first detection data; judging whether a key error response exists in the first detection data; when the first detection data does not have a key error response, acquiring fourth key sampling values of the electrical equipment, which do not have the key error response when the electrical equipment does not have the key operation, from the detection data, wherein the fourth key sampling values are smaller than the third key sampling values; 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 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 the target key trigger value corresponding to the electrical equipment based on the target key trigger value control interval.
7. An electrical device having a key, the electrical device comprising:
a memory and a processor in communication with each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the method of any of claims 1-5.
8. The electrical device of claim 7, wherein the electrical device is an electric rice cooker.
9. A computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-5.
CN202110186392.5A 2021-02-09 2021-02-09 Key sensitivity control method and device and electrical equipment Active CN112994678B (en)

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 CN112994678A (en) 2021-06-18
CN112994678B true 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)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN109984616A (en) * 2017-12-29 2019-07-09 浙江绍兴苏泊尔生活电器有限公司 The processing method of touch key-press, cooking apparatus

Family Cites Families (10)

* Cited by examiner, † Cited by third party
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
CN104732201B (en) * 2015-01-07 2018-10-09 小米科技有限责任公司 Touch key-press and fingerprint recognition realization device, method and terminal device
CN104716944B (en) * 2015-03-30 2018-09-11 广东美的厨房电器制造有限公司 The triggering judgment method and household electrical appliance of touch key-press
CN106325107A (en) * 2015-06-17 2017-01-11 佛山市顺德区美的电热电器制造有限公司 Control device of electric cooker and key processing method for electric cooker
CN107305434A (en) * 2016-04-25 2017-10-31 中兴通讯股份有限公司 The recognition methods of button operation and device
CN106877854B (en) * 2017-02-09 2020-07-21 广东美的厨房电器制造有限公司 Detection method and detection device for touch keys and electrical equipment
CN106951850B (en) * 2017-03-15 2019-06-28 Oppo广东移动通信有限公司 A kind of method and mobile terminal controlling fingerprint recognition mould group
CN109032427B (en) * 2018-09-12 2021-09-21 奥克斯空调股份有限公司 Touch sensitivity adjusting method and air conditioner
CN111078336B (en) * 2019-11-25 2024-02-06 上海米哈游网络科技股份有限公司 Display method, device, equipment and storage medium
CN111475052B (en) * 2020-04-10 2023-12-22 维沃移动通信有限公司 Method for preventing false touch of key and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109984616A (en) * 2017-12-29 2019-07-09 浙江绍兴苏泊尔生活电器有限公司 The processing method of touch key-press, cooking apparatus
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

Also Published As

Publication number Publication date
CN112994678A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
US10887814B2 (en) Method of sending beam report and device thereof
CN103812726A (en) Automated testing method and device for data communication equipment
CN111093235B (en) Network switching method, equipment and storage medium
CN110933059A (en) Data communication method and device, electronic equipment, upper computer and storage medium
CN109039843B (en) Intelligent kitchen equipment control method and device based on event chain linkage strategy
CN111970749A (en) Network connection method and device, intelligent household equipment and intelligent household system
CN112994678B (en) Key sensitivity control method and device and electrical equipment
CN110942583B (en) Method, device and terminal for reporting smoke alarm
CN111124731A (en) File system abnormity monitoring method, device, equipment and medium
CN112131039B (en) Memory ECC information reporting control method, device, equipment and medium
CN112583617A (en) Fault determination method, server, control terminal and storage medium
CN110598797B (en) Fault detection method and device, storage medium and electronic device
CN113407469A (en) Parameter configuration method and device, storage medium and electronic device
US10599195B2 (en) Method and apparatus for controlling hot plug operation of CPU in mobile terminal
CN116680151A (en) Dynamic monitoring method, system, terminal and storage medium for hard disk performance
CN110825603A (en) Page first loading time determining method and device, electronic equipment and storage medium
CN109753404B (en) Control system state monitoring circuit and method and control system central processing unit
CN105163336A (en) Method and system for optimizing stability of wireless network
CN113032232B (en) Correlation method, correlation device and equipment for performance detection of equipment
CN109586405B (en) Micro-grid system and communication method thereof
CN113822478A (en) Equipment detection method and device, electronic equipment and storage medium
CN110594794B (en) Flame detection method and device, electrical equipment and storage medium
CN114584481B (en) Audio information acquisition method, device, equipment and storage medium
CN114189424B (en) Intelligent device control method, intelligent device control device, electronic device, medium and program product
CN113507721B (en) Network state monitoring method, device, system and storage medium

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