[go: up one dir, main page]

CN109984579A - The treating method and apparatus of touch key-press, cooking apparatus - Google Patents

The treating method and apparatus of touch key-press, cooking apparatus Download PDF

Info

Publication number
CN109984579A
CN109984579A CN201711489934.6A CN201711489934A CN109984579A CN 109984579 A CN109984579 A CN 109984579A CN 201711489934 A CN201711489934 A CN 201711489934A CN 109984579 A CN109984579 A CN 109984579A
Authority
CN
China
Prior art keywords
difference
press
touch key
key
threshold values
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
Application number
CN201711489934.6A
Other languages
Chinese (zh)
Other versions
CN109984579B (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.)
Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd
Original Assignee
Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd
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 Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd filed Critical Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd
Priority to CN201711489934.6A priority Critical patent/CN109984579B/en
Publication of CN109984579A publication Critical patent/CN109984579A/en
Application granted granted Critical
Publication of CN109984579B publication Critical patent/CN109984579B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J27/00Cooking-vessels
    • A47J27/08Pressure-cookers; Lids or locking devices specially adapted therefor
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J36/00Parts, details or accessories of cooking-vessels
    • 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

  • Engineering & Computer Science (AREA)
  • Food Science & Technology (AREA)
  • Electronic Switches (AREA)

Abstract

The invention discloses a kind for the treatment of method and apparatus of touch key-press, cooking apparatus.Wherein, the processing method of the touch key-press includes: to obtain the first difference and system thresholds of the first key value and a reference value that touch key-press generates, wherein a reference value is the key value generated when touch key-press is not triggered;By comparing the first difference and system thresholds, judge whether touch key-press is effective;In the case where judging that touch key-press is invalid, the corresponding threshold values adjustment mode in multiple difference sections and each difference section is obtained;First difference is matched with multiple difference sections, obtains the corresponding threshold values adjustment mode of the first difference;System thresholds are adjusted according to the first difference corresponding threshold values adjustment mode, the threshold values after being adjusted.The sensitivity that the present invention solves touch key-press in the prior art is fixed, it is possible to the technical issues of causing touch key-press to fail.

Description

The treating method and apparatus of touch key-press, cooking apparatus
Technical field
The present invention relates to household appliance technical fields, treating method and apparatus, culinary art in particular to a kind of touch key-press Utensil.
Background technique
On cooking apparatus, such as electric pressure cooking saucepan, it will usually which tool of the touch key-press as human-computer interaction is set, and touch is pressed When cooking apparatus dispatches from the factory, setting completed for the sensitivity of key, that is, the sensitivity of touch key-press is fixed in cooking apparatus.
But if in process of production, the material and thickness of touch key-press panel change or plastic part between Gap widened, then the sensitivity of touch key-press can generate great change, it is possible to touch key-press be caused to fail.
Sensitivity for touch key-press in the prior art is fixed, it is possible to the problem of causing touch key-press to fail, at present Not yet put forward effective solutions.
Summary of the invention
The embodiment of the invention provides a kind for the treatment of method and apparatus of touch key-press, cooking apparatus, existing at least to solve There is the sensitivity of touch key-press in technology to fix, it is possible to the technical issues of causing touch key-press to fail.
According to an aspect of an embodiment of the present invention, a kind of processing method of touch key-press is provided, comprising: obtain and touch Key generate the first key value and a reference value the first difference and system thresholds, wherein a reference value be touch key-press not by The key value generated when triggering;By comparing the first difference and system thresholds, judge whether touch key-press is effective;Judging to touch Touch key it is invalid in the case where, obtain the corresponding threshold values adjustment mode in multiple difference sections and each difference section;By first Difference is matched with multiple difference sections, obtains the corresponding threshold values adjustment mode of the first difference;It is corresponding according to the first difference Threshold values adjustment mode is adjusted system thresholds, the threshold values after being adjusted.
In embodiments of the present invention, the key value that touch key-press generation can be obtained in real time, according to key value and a reference value Difference, obtain the variable quantity of key value, by comparing the variable quantity and system thresholds of key value, determine whether touch key-press has Effect may further divide multiple difference sections in advance, and the corresponding threshold values adjustment mode in each difference section is different, is judging In the case that touch key-press is invalid out, corresponding threshold values adjustment mode can be obtained according to the variable quantity of key value, and to system Threshold values is adjusted, and is directed to different use environments to realize, the adjustment of different modes is carried out to the sensitivity of touch key-press, Reach the accuracy for improving touch key-press judgement, expands the technical effect of the application range of touch key-press, and then solve existing The sensitivity of touch key-press is fixed in technology, it is possible to lead to touch key-press defeat technique problem.
Further, multiple difference sections include: the first difference section, the second difference section and third difference section, In, system thresholds are adjusted according to the first difference corresponding threshold values adjustment mode, the threshold values after being adjusted includes: In the case where one difference and the first difference section successful match, using the first preset threshold as threshold values adjusted;It is poor first In the case where value and the second difference section successful match, using the second preset threshold as threshold values adjusted;The first difference with In the case where the successful match of third difference section, using system thresholds as threshold values adjusted.By dividing three differences in advance Section, the corresponding threshold values adjustment mode in the first difference section and the second difference section are that system thresholds are replaced with to corresponding preset Threshold values, the corresponding adjustment mode in third difference section are not adjust, to avoid fluctuating since key value exists, lead to system valve Value is changed, and influences the accuracy of touch key-press judgement, further reaches the accuracy for improving touch key-press judgement, is expanded and is touched The effect of the application range of key.
Further, in the first difference and in the case where the second difference section successful match, using the second preset threshold as Before threshold values adjusted, the processing method of touch key-press further include: obtain the second key value that touch key-press generates, wherein Second key value is the key value got after getting the first key value;Obtain the difference of the second key value and a reference value Value, obtains the second difference;Second difference is matched with multiple difference sections, obtains the corresponding difference section of the second difference; Judge whether the corresponding difference section of the second difference is the second difference section;If the corresponding difference section of the second difference is second Difference section, then using the second preset threshold as threshold values adjusted;If the corresponding difference section of the second difference is not second Difference section, then using the first preset threshold or system thresholds as threshold values adjusted.Determining that it is poor that the first difference belongs to second Be worth after section, touch key-press and sampled again by release, if double sampling unanimously if system thresholds are replaced with second Preset threshold is adjusted if double sampling is inconsistent according to the key value of second of sampling, is touched to reach raising The accuracy of key judgement, expands the effect of the application range of touch key-press.
Further, the first difference section is less than system thresholds and to be greater than or equal to system thresholds and the first preset value Product, the second difference section is less than the product of system thresholds and the first preset value and more than or equal to system thresholds and the The product of two preset values, third difference section be less than system thresholds and the second preset value product, wherein the first preset value with Second preset value is less than 1, and the first preset value is greater than the second preset value.By the way that the first difference section, the second difference section is arranged It is sequentially reduced with third difference section, further reaches the accuracy for improving touch key-press judgement, expand the application of touch key-press The skill fruit of range.
Further, the first preset value is 0.6, and the second preset value is 0.2.It is 0.6, second by the first preset value of setting Preset value is 0.2, so that the first difference section, the second difference section and third difference section are sequentially reduced, further reach and mentions The accuracy of high touch key-press judgement, expands the effect of the application range of touch key-press.
Further, system thresholds are adjusted according to the first difference corresponding threshold values adjustment mode, are adjusted After threshold values afterwards, threshold values adjusted is stored to memory, and after powering on again, using threshold values adjusted as system valve Value.After being adjusted to system thresholds, by the way that threshold values adjusted is stored in memory, thus cooking apparatus After powering on again, it can further reach using threshold values adjusted as system thresholds and improve the accurate of touch key-press judgement Degree, expands the effect of the application range of touch key-press.
Further, the quantity in multiple difference sections is 2-6.By the difference that different number is arranged according to use environment Section further realizes for different use environments, the adjustment of different modes is carried out to the sensitivity of touch key-press, reaches and mentions The accuracy of high touch key-press judgement, expands the effect of the application range of touch key-press.
Further, by comparing the first difference and system thresholds, judge whether touch key-press effectively includes: judgement first Whether difference is greater than or equal to system thresholds;If it is judged that the first difference is greater than or equal to system thresholds, it is determined that touch is pressed Key is effective, and executes operation corresponding with touch key-press;If it is judged that the first difference is less than system thresholds, it is determined that touch is pressed Key is invalid, does not execute operation corresponding with touch key-press.By by the first difference compared with system thresholds carry out size, thus real Now determine that whether touch key-press is effective, further reaches the accuracy for improving touch key-press judgement, expands the application of touch key-press The effect of range.
Further, in the first difference and system valve for obtaining the first key value and a reference value that touch key-press generates Before value, the processing method of touch key-press further include: after cooking apparatus powers on, obtain the third key that touch key-press generates Value;Using third key value as a reference value.Key value when by powering on cooking apparatus is as a reference value, to realize determination Whether touch key-press is effective, further reaches the accuracy for improving touch key-press judgement, expands the application range of touch key-press Effect.
Further, system thresholds are adjusted according to the first difference corresponding threshold values adjustment mode, are adjusted After threshold values afterwards, the processing method of touch key-press further include: it is raw after being adjusted to system thresholds to obtain touch key-press At the 4th key value;The difference for obtaining the 4th key value and a reference value obtains third difference;By comparing third difference and tune Threshold values after whole judges whether touch key-press is effective.After being adjusted to system thresholds, pressed by triggering touch again Key can be judged according to threshold values adjusted, to realize whether determining touch key-press is effective, further reach raising touching The accuracy for touching key judgement, expands the effect of the application range of touch key-press.
According to another aspect of an embodiment of the present invention, a kind of processing unit of touch key-press is additionally provided, comprising: first obtains Modulus block, for obtaining the first key value of touch key-press generation and the first difference and system thresholds of a reference value, wherein A reference value is the key value generated when touch key-press is not triggered;Judgment module, for by comparing the first difference and system valve Value, judges whether touch key-press is effective;Second obtains module, for obtaining more in the case where judging that touch key-press is invalid The corresponding threshold values adjustment mode in a difference section and each difference section;Matching module is used for the first difference and multiple differences Value section is matched, and the corresponding threshold values adjustment mode of the first difference is obtained;Module is adjusted, for corresponding according to the first difference Threshold values adjustment mode is adjusted system thresholds, the threshold values after being adjusted.
According to another aspect of an embodiment of the present invention, a kind of cooking apparatus is additionally provided, comprising: touch key-press, setting exist On the body of cooking apparatus, for generating the first key value;Controller is arranged in internal body, connect, be used for touch key-press The first difference and system thresholds of the first key value and a reference value are obtained, by comparing the first difference and system thresholds, judgement Whether touch key-press is effective, in the case where judging that touch key-press is invalid, obtains multiple difference sections and each difference area Between corresponding threshold values adjustment mode, the first difference is matched with multiple difference sections, obtains the corresponding threshold values of the first difference Adjustment mode is adjusted system thresholds according to the corresponding threshold values adjustment mode of the first difference, the threshold values after being adjusted, In, a reference value is the key value generated when touch key-press is not triggered.
Further, cooking apparatus is electric pressure cooking saucepan.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, storage medium includes the journey of storage Sequence, wherein equipment where control storage medium executes the processing method of above-mentioned touch key-press in program operation.
According to another aspect of an embodiment of the present invention, a kind of processor is additionally provided, processor is used to run program, In, program executes the processing method of above-mentioned touch key-press when running.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the processing method of touch key-press according to an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of the processing unit of touch key-press according to an embodiment of the present invention;And
Fig. 3 is a kind of schematic diagram of cooking apparatus according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
Embodiment 1
According to embodiments of the present invention, a kind of embodiment of the processing method of touch key-press is provided, it should be noted that The step of process of attached drawing illustrates can execute in a computer system such as a set of computer executable instructions, also, It, in some cases, can be to be different from shown in sequence execution herein although logical order is shown in flow charts The step of out or describing.
Fig. 1 is a kind of flow chart of the processing method of touch key-press according to an embodiment of the present invention, as shown in Figure 1, the touching The processing method for touching key includes the following steps:
Step S102 obtains the first difference and system thresholds of the first key value and a reference value that touch key-press generates, Wherein, a reference value is the key value generated when touch key-press is not triggered.
Specifically, above-mentioned system thresholds can be preset threshold values, the threshold values when cooking apparatus factory and be stored in culinary art In the memory of utensil, cooking apparatus can read the system thresholds stored in memory automatically after powering on, and pass through the system valve Whether value effectively judges touch key-press, wherein cooking apparatus can be electric pressure cooking saucepan, electric cooker, cooking machine etc., at this It is described in detail by taking electric pressure cooking saucepan as an example in inventive embodiments.
Step S104 judges whether touch key-press is effective by comparing the first difference and system thresholds.
Step S106 obtains multiple difference sections and each difference area in the case where judging that touch key-press is invalid Between corresponding threshold values adjustment mode.
Optionally, the quantity in multiple difference sections is 2-6.
Specifically, 2-6 difference section can be preset according to practical service environment, each difference section is corresponding Threshold values adjustment mode is different, and the threshold values so as to adjust after is different, namely different use environment sensitivity are different.
Step S108 matches the first difference with multiple difference sections, obtains the corresponding threshold values adjustment of the first difference Mode.
Step S110 is adjusted system thresholds according to the corresponding threshold values adjustment mode of the first difference, after being adjusted Threshold values.
It, can be with the key of real-time detection touch key-press generation after cooking apparatus powers in a kind of optional scheme Value by calculating the difference of key value and a reference value, and combines the system thresholds read from memory, judges touch key-press Whether effectively, in order to further determine whether to cause touch key-press invalid since use environment changes, can judge to touch After key is invalid, according to the difference being calculated, corresponding threshold values adjustment mode is selected, to obtain meeting currently used ring The sensitivity in border.
According to that above embodiment of the present invention, the key value that touch key-press generation can be obtained in real time, according to key value and base The difference of quasi- value, obtains the variable quantity of key value, by comparing the variable quantity and system thresholds of key value, determines that touch key-press is It is no effectively to divide multiple difference sections in advance, and the corresponding threshold values adjustment mode in each difference section is different, In the case where judging that touch key-press is invalid, corresponding threshold values adjustment mode can be obtained according to the variable quantity of key value, and right System thresholds are adjusted, and are directed to different use environments to realize, carry out different modes to the sensitivity of touch key-press Adjustment reaches the accuracy for improving touch key-press judgement, expands the technical effect of the application range of touch key-press, and then solve The sensitivity of touch key-press is fixed in the prior art, it is possible to lead to touch key-press defeat technique problem.
Optionally, multiple difference sections include: the first difference section, the second difference section and third difference section, wherein Step S110 is adjusted system thresholds according to the corresponding threshold values adjustment mode of the first difference, the threshold values packet after being adjusted It includes: in the case where the first difference and the first difference section successful match, using the first preset threshold as threshold values adjusted;? In the case where first difference and the second difference section successful match, using the second preset threshold as threshold values adjusted;First In the case where difference and third difference section successful match, using system thresholds as threshold values adjusted.
Optionally, the first difference section is less than system thresholds and to be greater than or equal to system thresholds and the first preset value Product, the second difference section are less than the product of system thresholds and the first preset value and to be greater than or equal to system thresholds and second The product of preset value, third difference section are the product less than system thresholds and the second preset value, wherein the first preset value and the Two preset values are less than 1, and the first preset value is greater than the second preset value.
Optionally, the first preset value is 0.6, and the second preset value is 0.2.
In a kind of optional scheme, in the case where the system thresholds X1 read, three differences can be preset Section, the first difference section be 0.6*X1~X1, the second difference section be 0.2*X1~0.6*X1, third difference section be 0~ 0.2*X1 can if the difference being calculated is in the first difference section namely difference and the first difference section successful match Using by the first preset threshold X2 as new system thresholds;If the difference being calculated is in the second difference section, namely poor Value and the second difference section successful match, then can be using the second preset threshold X3 as new system thresholds;If be calculated Difference be in third difference section namely difference and third difference section successful match, then can not change current system valve Value, also i.e. using current system threshold values as new system thresholds.
It should be noted that when the first difference and when third difference section successful match, can determine at this time key value with A reference value is essentially identical, to confirm that use environment does not change, key value and a reference value be not both due to normal fluctuation or Caused by system exception fluctuates.For example, determining that key value is normal fluctuation as the first difference≤0.1*X1;As 0.1*X1 < When the first difference < 0.2*X1, determine key value for system exception fluctuation.
Through the above scheme, by dividing three difference sections in advance, the first difference section and the second difference section are corresponding Threshold values adjustment mode be that system thresholds are replaced with into corresponding preset threshold, the corresponding adjustment mode in third difference section is not Adjustment, by setting the first preset value be 0.6, the second preset value be 0.2 so that the first difference section, the second difference section and Third difference section is sequentially reduced, and is sequentially reduced by the first difference section of setting, the second difference section and third difference section, To avoid fluctuating since key value exists, causes system thresholds to be changed, influence the accuracy of touch key-press judgement, further Reach the accuracy for improving touch key-press judgement, expands the effect of the application range of touch key-press.
Optionally, in the case where the first difference and the second difference section successful match, using the second preset threshold as tune Before threshold values after whole, the processing method of touch key-press further include: obtain the second key value that touch key-press generates, wherein the Two key values are the key value got after getting the first key value;The difference of the second key value and a reference value is obtained, Obtain the second difference;Second difference is matched with multiple difference sections, obtains the corresponding difference section of the second difference;Judgement Whether the corresponding difference section of the second difference is the second difference section;If the corresponding difference section of the second difference is the second difference Section, then using the second preset threshold as threshold values adjusted;If the corresponding difference section of the second difference is not the second difference Section, then using the first preset threshold or system thresholds as threshold values adjusted.
In a kind of optional scheme, after determining 0.2*X1≤first difference < 0.6*X1, it can be released in touch key-press The key value of touch key-press is obtained after putting again, if the result sampled again and preceding primary sampling are consistent, that is, sampling again As a result the second difference obtained meets 0.2*X1≤second difference < 0.6*X1, then can determine that the second preset threshold is for new System threshold values;If the result sampled again once samples inconsistent with preceding, can be determined according to the result that samples again new System thresholds, for example, if the second difference < 0.2*X1, is not handled system thresholds;If 0.6*X1≤the second is poor Second preset threshold, then can be determined as new system thresholds by value.
Through the above scheme, after determining that the first difference belongs to the second difference section, by release touch key-press and again Secondary sampling, if double sampling unanimously if system thresholds are replaced with into the second preset threshold, if double sampling is inconsistent, press It is adjusted according to the key value of second of sampling, to reach the accuracy for improving touch key-press judgement, expands touch key-press The effect of application range.
Optionally, in step S110, system thresholds is adjusted according to the first difference corresponding threshold values adjustment mode, are obtained To after threshold values adjusted, threshold values adjusted is stored to memory, and after powering on again, using threshold values adjusted as System thresholds.
In a kind of optional scheme, after being adjusted to system thresholds, new system thresholds can be stored in In memory, specifically, it can be determined that whether new system thresholds are identical as the system thresholds before adjustment, if identical, due to System thresholds do not change, then can not store new system thresholds;If it is different, then new system thresholds can be stored In memory, so that after cooking apparatus powers on again, the new system thresholds that storage wherein stores can be read directly, And whether touch key-press is effectively judged according to new system thresholds.
Through the above scheme, it after being adjusted to system thresholds, is deposited by the way that threshold values adjusted to be stored in In reservoir, to can further reach raising using threshold values adjusted as system thresholds after cooking apparatus powers on again The accuracy of touch key-press judgement, expands the effect of the application range of touch key-press.
Optionally, step S104, by comparing the first difference and system thresholds, judge touch key-press whether effectively include: Judge whether the first difference is greater than or equal to system thresholds;If it is judged that the first difference is greater than or equal to system thresholds, then really It is effective to determine touch key-press, and executes operation corresponding with touch key-press;If it is judged that the first difference is less than system thresholds, then really It is invalid to determine touch key-press, does not execute operation corresponding with touch key-press.
In a kind of optional scheme, by judging whether the first difference is greater than or equal to system thresholds, so that it is determined that touching It whether effective touches key, if it is valid, confirmation touch key-press is triggered, executes the touch key-press;If invalid, touching is confirmed It touches key not to be triggered, without executing any operation.
Through the above scheme, by compared with system thresholds carry out size, pressing the first difference to realize and determine to touch Whether key is effective, further reaches the accuracy for improving touch key-press judgement, expands the effect of the application range of touch key-press.
Optionally, in step S102, the first difference of the first key value and a reference value that touch key-press generates is obtained, and Before system thresholds, the processing method of touch key-press further include: after cooking apparatus powers on, obtain the third that touch key-press generates Key value;Using third key value as a reference value.
In a kind of optional scheme, after cooking apparatus powers on, user will not press touch key-press immediately, therefore can be with The average value of first key value or the key value in a period of time that will acquire is based further on the base as a reference value Standard is worth determine whether touch key-press is effective.
Key value when through the above scheme, by powering on cooking apparatus is as a reference value, to realize determining touch Whether key is effective, further reaches the accuracy for improving touch key-press judgement, expands the effect of the application range of touch key-press.
Optionally, in step S110, system thresholds is adjusted according to the first difference corresponding threshold values adjustment mode, are obtained To after threshold values adjusted, the processing method of touch key-press further include: obtain touch key-press and be adjusted to system thresholds The 4th key value generated later;The difference for obtaining the 4th key value and a reference value obtains third difference;It is poor by comparing third Value and threshold values adjusted, judge whether touch key-press is effective.
It,, can be with when triggering touch key-press again after being adjusted to system thresholds in a kind of optional scheme Using threshold values adjusted as system thresholds, and whether touch key-press is effectively judged according to threshold values adjusted.
It through the above scheme,, can be according to tune by triggering touch key-press again after being adjusted to system thresholds Threshold values after whole is judged, to realize whether determining touch key-press is effective, is further reached and is improved touch key-press judgement Accuracy expands the effect of the application range of touch key-press.
Embodiment 2
According to embodiments of the present invention, a kind of embodiment of the processing unit of touch key-press is additionally provided.
Fig. 2 is a kind of schematic diagram of the processing unit of touch key-press according to an embodiment of the present invention, as shown in Fig. 2, the touching The processing unit for touching key includes:
First obtains module 20, for obtaining the first key value of touch key-press generation and the first difference of a reference value, with And system thresholds, wherein a reference value is the key value generated when touch key-press is not triggered.
Specifically, above-mentioned system thresholds can be preset threshold values, the threshold values when cooking apparatus factory and be stored in culinary art In the memory of utensil, cooking apparatus can read the system thresholds stored in memory automatically after powering on, and pass through the system valve Whether value effectively judges touch key-press, wherein cooking apparatus can be electric pressure cooking saucepan, electric cooker, cooking machine etc., at this It is described in detail by taking electric pressure cooking saucepan as an example in inventive embodiments.
Judgment module 22, for judging whether touch key-press is effective by comparing the first difference and system thresholds.
Second obtain module 24, in the case where judging that touch key-press is invalid, obtain multiple difference sections and The corresponding threshold values adjustment mode in each difference section.
Optionally, the quantity in multiple difference sections is 2-6.
Specifically, 2-6 difference section can be preset according to practical service environment, each difference section is corresponding Threshold values adjustment mode is different, and the threshold values so as to adjust after is different, namely different use environment sensitivity are different.
Matching module 26 obtains the corresponding valve of the first difference for matching the first difference with multiple difference sections It is worth adjustment mode.
Adjustment module 28 is obtained for being adjusted according to the corresponding threshold values adjustment mode of the first difference to system thresholds Threshold values adjusted.
It, can be with the key of real-time detection touch key-press generation after cooking apparatus powers in a kind of optional scheme Value by calculating the difference of key value and a reference value, and combines the system thresholds read from memory, judges touch key-press Whether effectively, in order to further determine whether to cause touch key-press invalid since use environment changes, can judge to touch After key is invalid, according to the difference being calculated, corresponding threshold values adjustment mode is selected, to obtain meeting currently used ring The sensitivity in border.
According to that above embodiment of the present invention, the key value that touch key-press generation can be obtained in real time, according to key value and base The difference of quasi- value, obtains the variable quantity of key value, by comparing the variable quantity and system thresholds of key value, determines that touch key-press is It is no effectively to divide multiple difference sections in advance, and the corresponding threshold values adjustment mode in each difference section is different, In the case where judging that touch key-press is invalid, corresponding threshold values adjustment mode can be obtained according to the variable quantity of key value, and right System thresholds are adjusted, and are directed to different use environments to realize, carry out different modes to the sensitivity of touch key-press Adjustment reaches the accuracy for improving touch key-press judgement, expands the technical effect of the application range of touch key-press, and then solve The sensitivity of touch key-press is fixed in the prior art, it is possible to lead to touch key-press defeat technique problem.
Embodiment 3
According to embodiments of the present invention, a kind of embodiment of cooking apparatus is additionally provided.
Fig. 3 is a kind of schematic diagram of cooking apparatus according to an embodiment of the present invention, as shown in figure 3, the cooking apparatus includes: Touch key-press 10 and controller 20.
Wherein, touch key-press 10 is arranged on the body of cooking apparatus, for generating the first key value;Controller 20 is arranged In internal body, it is connect with touch key-press, for obtaining the first difference and system thresholds of the first key value and a reference value, By comparing the first difference and system thresholds, judge whether touch key-press is effective, in the case where judging that touch key-press is invalid, Obtain the corresponding threshold values adjustment mode in multiple difference sections and each difference section, by the first difference and multiple difference sections into Row matching, obtains the corresponding threshold values adjustment mode of the first difference, according to the corresponding threshold values adjustment mode of the first difference to system valve Value is adjusted, the threshold values after being adjusted, wherein a reference value is the key value generated when touch key-press is not triggered.
Optionally, above-mentioned cooking apparatus is electric pressure cooking saucepan.
Specifically, above-mentioned system thresholds can be preset threshold values, the threshold values when cooking apparatus factory and be stored in culinary art In the memory of utensil, cooking apparatus can read the system thresholds stored in memory automatically after powering on, and pass through the system valve Whether value effectively judges touch key-press, wherein cooking apparatus can be electric pressure cooking saucepan, electric cooker, cooking machine etc., at this It is described in detail by taking electric pressure cooking saucepan as an example in inventive embodiments.
Optionally, the quantity in multiple difference sections is 2-6.
Specifically, 2-6 difference section can be preset according to practical service environment, each difference section is corresponding Threshold values adjustment mode is different, and the threshold values so as to adjust after is different, namely different use environment sensitivity are different.
It, can be with the key of real-time detection touch key-press generation after cooking apparatus powers in a kind of optional scheme Value by calculating the difference of key value and a reference value, and combines the system thresholds read from memory, judges touch key-press Whether effectively, in order to further determine whether to cause touch key-press invalid since use environment changes, can judge to touch After key is invalid, according to the difference being calculated, corresponding threshold values adjustment mode is selected, to obtain meeting currently used ring The sensitivity in border.
According to that above embodiment of the present invention, controller can obtain the key value of touch key-press generation in real time, according to key The difference of value and a reference value, obtains the variable quantity of key value, by comparing the variable quantity and system thresholds of key value, determines and touches Whether key is effective, may further divide multiple difference sections, and the corresponding threshold values adjustment mode in each difference section in advance Difference can obtain corresponding threshold values adjustment side in the case where judging that touch key-press is invalid according to the variable quantity of key value Formula, and system thresholds are adjusted, it is directed to different use environments to realize, the sensitivity of touch key-press is carried out different The adjustment of mode reaches the accuracy for improving touch key-press judgement, expands the technical effect of the application range of touch key-press, in turn The sensitivity for solving touch key-press in the prior art is fixed, it is possible to lead to touch key-press defeat technique problem.
Embodiment 4
According to embodiments of the present invention, a kind of embodiment of storage medium is additionally provided, storage medium includes the program of storage, Wherein, equipment where controlling storage medium when program is run executes the processing method of the touch key-press in above-described embodiment 1.
Embodiment 5
According to embodiments of the present invention, a kind of embodiment of processor is additionally provided, processor is for running program, wherein Program executes the processing method of the touch key-press in above-described embodiment 1 when running.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (15)

1. a kind of processing method of touch key-press characterized by comprising
Obtain the first difference and system thresholds of the first key value and a reference value that touch key-press generates, wherein the benchmark Value is the key value generated when the touch key-press is not triggered;
By comparing first difference and the system thresholds, judge whether the touch key-press is effective;
In the case where judging that the touch key-press is invalid, the corresponding valve in multiple difference sections and each difference section is obtained It is worth adjustment mode;
First difference is matched with the multiple difference section, obtains the corresponding threshold values adjustment side of first difference Formula;
The system thresholds are adjusted according to first difference corresponding threshold values adjustment mode, the valve after being adjusted Value.
2. the processing method of touch key-press according to claim 1, which is characterized in that the multiple difference section includes: First difference section, the second difference section and third difference section, wherein according to the corresponding threshold values adjustment side of first difference Formula is adjusted the system thresholds, and the threshold values after being adjusted includes:
In the case where first difference and first difference section successful match, using the first preset threshold as the tune Threshold values after whole;
In the case where first difference and second difference section successful match, using the second preset threshold as the tune Threshold values after whole;
In the case where first difference and third difference section successful match, using the system thresholds as the tune Threshold values after whole.
3. the processing method of touch key-press according to claim 2, which is characterized in that in first difference and described the In the case where two difference section successful match, using the second preset threshold as the threshold values adjusted before, the touch is pressed The processing method of key further include:
Obtain the second key value that the touch key-press generates, wherein second key value be get described first by The key value got after key assignments;
The difference for obtaining second key value and a reference value, obtains the second difference;
Second difference is matched with the multiple difference section, obtains the corresponding difference section of second difference;
Judge whether the corresponding difference section of second difference is second difference section;
If the corresponding difference section of second difference is second difference section, using second preset threshold as The threshold values adjusted;
If the corresponding difference section of second difference is not second difference section, by first preset threshold or The system thresholds are as the threshold values adjusted.
4. the processing method of touch key-press according to claim 2, which is characterized in that first difference section be less than The system thresholds and the product for being greater than or equal to the system thresholds and the first preset value, second difference section are small In the product of the system thresholds and the first preset value and be greater than or equal to the system thresholds and the second preset value product, Third difference section is the product less than the system thresholds and the second preset value, wherein first preset value and institute The second preset value is stated less than 1, and first preset value is greater than second preset value.
5. the processing method of touch key-press according to claim 4, which is characterized in that first preset value is 0.6, institute Stating the second preset value is 0.2.
6. the processing method of touch key-press according to claim 2, which is characterized in that corresponding according to first difference Threshold values adjustment mode the system thresholds are adjusted, after the threshold values after being adjusted, by the threshold values adjusted It stores to memory, and after powering on again, using the threshold values adjusted as the system thresholds.
7. the processing method of touch key-press according to claim 1, which is characterized in that the quantity in the multiple difference section It is 2-6.
8. the processing method of touch key-press according to claim 1, which is characterized in that by comparing first difference and The system thresholds, judge the touch key-press whether effectively include:
Judge whether first difference is greater than or equal to the system thresholds;
If it is judged that first difference is greater than or equal to the system thresholds, it is determined that the touch key-press is effective, and holds Row operation corresponding with the touch key-press;
If it is judged that first difference is less than the system thresholds, it is determined that the touch key-press is invalid, does not execute and institute State the corresponding operation of touch key-press.
9. the processing method of touch key-press according to claim 1, which is characterized in that in obtain that touch key-press generates the Before the first difference and system thresholds of one key value and a reference value, the processing method of the touch key-press further include:
After cooking apparatus powers on, the third key value that the touch key-press generates is obtained;
Using the third key value as a reference value.
10. the processing method of touch key-press according to claim 1, which is characterized in that according to first difference pair The threshold values adjustment mode answered is adjusted the system thresholds, after the threshold values after being adjusted, the place of the touch key-press Reason method further include:
Obtain the 4th key value that touch key-press generates after being adjusted to the system thresholds;
The difference for obtaining the 4th key value and a reference value, obtains third difference;
By comparing the third difference and the threshold values adjusted, judge whether the touch key-press is effective.
11. a kind of processing unit of touch key-press characterized by comprising
First obtains module, for obtaining the first key value of touch key-press generation and the first difference and system of a reference value Threshold values, wherein a reference value is the key value generated when the touch key-press is not triggered;
Judgment module, for judging whether the touch key-press is effective by comparing first difference and the system thresholds;
Second obtains module, in the case where judging that the touch key-press is invalid, obtaining multiple difference sections and every The corresponding threshold values adjustment mode in a difference section;
Matching module obtains first difference pair for matching first difference with the multiple difference section The threshold values adjustment mode answered;
Adjustment module is obtained for being adjusted according to the corresponding threshold values adjustment mode of first difference to the system thresholds To threshold values adjusted.
12. a kind of cooking apparatus characterized by comprising
Touch key-press is arranged on the body of cooking apparatus, for generating the first key value;
Controller is arranged in the internal body, connect with the touch key-press, for obtaining first key value and benchmark The first difference and system thresholds of value judge the touch key-press by comparing first difference and the system thresholds Whether effectively, in the case where judging that the touch key-press is invalid, multiple difference sections and each difference section pair are obtained First difference is matched with the multiple difference section, obtains first difference pair by the threshold values adjustment mode answered The threshold values adjustment mode answered is adjusted the system thresholds according to the corresponding threshold values adjustment mode of first difference, obtains To threshold values adjusted, wherein a reference value is the key value generated when the touch key-press is not triggered.
13. cooking apparatus according to claim 12, which is characterized in that the cooking apparatus is electric pressure cooking saucepan.
14. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program When control the storage medium where equipment perform claim require any one of 1 to 10 described in touch key-press processing side Method.
15. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run Benefit require any one of 1 to 10 described in touch key-press processing method.
CN201711489934.6A 2017-12-29 2017-12-29 Processing method and device of touch key and cooking appliance Active CN109984579B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711489934.6A CN109984579B (en) 2017-12-29 2017-12-29 Processing method and device of touch key and cooking appliance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711489934.6A CN109984579B (en) 2017-12-29 2017-12-29 Processing method and device of touch key and cooking appliance

Publications (2)

Publication Number Publication Date
CN109984579A true CN109984579A (en) 2019-07-09
CN109984579B CN109984579B (en) 2022-08-02

Family

ID=67111495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711489934.6A Active CN109984579B (en) 2017-12-29 2017-12-29 Processing method and device of touch key and cooking appliance

Country Status (1)

Country Link
CN (1) CN109984579B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114650048A (en) * 2021-12-08 2022-06-21 浙江绍兴苏泊尔生活电器有限公司 Key control device, method, apparatus, storage medium, and electronic apparatus

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080064368A (en) * 2007-01-04 2008-07-09 삼성전자주식회사 Apparatus and method for adjusting touch sensitivity of touch screen panel and touch screen display device using same
CN201341123Y (en) * 2009-01-21 2009-11-04 汕头超声显示器(二厂)有限公司 Capacitive touch pad
CN101751179A (en) * 2009-12-16 2010-06-23 深圳市汇顶科技有限公司 Method and system for automatically calibrating sensitivity of touch detection, and touch control terminal
CN101923408A (en) * 2009-09-30 2010-12-22 苏州瀚瑞微电子有限公司 Method for automatically adjusting sensitivity of touch screen
US20130106733A1 (en) * 2011-10-27 2013-05-02 Novatek Microelectronics Corp. Touch sensing method
CN103135810A (en) * 2011-11-24 2013-06-05 比亚迪股份有限公司 Pressure sensitivity adjustment method of touch screen and pressure sensitivity adjustment system of touch screen
US20130154965A1 (en) * 2011-12-20 2013-06-20 Hee-Chul Hwang Touch detection system and driving method thereof
CN103488364A (en) * 2013-09-29 2014-01-01 Tcl集团股份有限公司 Capacitive touch screen and self-adaptation correction method and system of capacitive touch screen
CN103633984A (en) * 2013-12-13 2014-03-12 深圳芯邦科技股份有限公司 Touch key chip and sensitivity calibration method thereof and electronic equipment
WO2015057670A1 (en) * 2013-10-14 2015-04-23 Cypress Semiconductor Corporation Contact detection mode switching in a touchscreen device
CN104714703A (en) * 2013-12-11 2015-06-17 中兴通讯股份有限公司 Sensitivity adjustment method and device
CN104716944A (en) * 2015-03-30 2015-06-17 广东美的厨房电器制造有限公司 Trigging judgement method of touch key and household appliance
CN105007071A (en) * 2015-08-25 2015-10-28 浙江绍兴苏泊尔生活电器有限公司 Method for judging whether capacitive touch key is effective or not and operation method
WO2017113310A1 (en) * 2015-12-31 2017-07-06 深圳市柔宇科技有限公司 Adjustment method and adjustment apparatus for capacitive touch module
US9740332B1 (en) * 2016-10-06 2017-08-22 Feeling Technology Corp. Charging calibration system and method thereof
CN107422899A (en) * 2017-04-25 2017-12-01 努比亚技术有限公司 A kind of terminal and the method for ensureing sensitivity of touch screen

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080064368A (en) * 2007-01-04 2008-07-09 삼성전자주식회사 Apparatus and method for adjusting touch sensitivity of touch screen panel and touch screen display device using same
CN201341123Y (en) * 2009-01-21 2009-11-04 汕头超声显示器(二厂)有限公司 Capacitive touch pad
CN101923408A (en) * 2009-09-30 2010-12-22 苏州瀚瑞微电子有限公司 Method for automatically adjusting sensitivity of touch screen
CN101751179A (en) * 2009-12-16 2010-06-23 深圳市汇顶科技有限公司 Method and system for automatically calibrating sensitivity of touch detection, and touch control terminal
US20130106733A1 (en) * 2011-10-27 2013-05-02 Novatek Microelectronics Corp. Touch sensing method
CN103135810A (en) * 2011-11-24 2013-06-05 比亚迪股份有限公司 Pressure sensitivity adjustment method of touch screen and pressure sensitivity adjustment system of touch screen
US20130154965A1 (en) * 2011-12-20 2013-06-20 Hee-Chul Hwang Touch detection system and driving method thereof
CN103488364A (en) * 2013-09-29 2014-01-01 Tcl集团股份有限公司 Capacitive touch screen and self-adaptation correction method and system of capacitive touch screen
WO2015057670A1 (en) * 2013-10-14 2015-04-23 Cypress Semiconductor Corporation Contact detection mode switching in a touchscreen device
CN104714703A (en) * 2013-12-11 2015-06-17 中兴通讯股份有限公司 Sensitivity adjustment method and device
CN103633984A (en) * 2013-12-13 2014-03-12 深圳芯邦科技股份有限公司 Touch key chip and sensitivity calibration method thereof and electronic equipment
CN104716944A (en) * 2015-03-30 2015-06-17 广东美的厨房电器制造有限公司 Trigging judgement method of touch key and household appliance
CN105007071A (en) * 2015-08-25 2015-10-28 浙江绍兴苏泊尔生活电器有限公司 Method for judging whether capacitive touch key is effective or not and operation method
WO2017113310A1 (en) * 2015-12-31 2017-07-06 深圳市柔宇科技有限公司 Adjustment method and adjustment apparatus for capacitive touch module
US9740332B1 (en) * 2016-10-06 2017-08-22 Feeling Technology Corp. Charging calibration system and method thereof
CN107422899A (en) * 2017-04-25 2017-12-01 努比亚技术有限公司 A kind of terminal and the method for ensureing sensitivity of touch screen

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李兵兵等: "电容式多点触摸屏的器件设计及算法实现", 《液晶与显示》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114650048A (en) * 2021-12-08 2022-06-21 浙江绍兴苏泊尔生活电器有限公司 Key control device, method, apparatus, storage medium, and electronic apparatus
CN114650048B (en) * 2021-12-08 2024-10-01 浙江绍兴苏泊尔生活电器有限公司 Key control device, key control method, key control device, storage medium and electronic device

Also Published As

Publication number Publication date
CN109984579B (en) 2022-08-02

Similar Documents

Publication Publication Date Title
US20200301972A1 (en) Graph analysis of time-series cluster data
EP3203712B1 (en) Thermal control device and method
CN104345944B (en) Device, method and the mobile terminal of adaptive adjustment touch input panel layout
CN105446143B (en) information processing method and electronic equipment
CN107886170A (en) Control method, device and system of cooking appliance, storage medium and processor
CN105487809A (en) Terminal control method and device
CN107404740B (en) Safe network switching method and device and terminal equipment
CN104346074A (en) Terminal
US20160169576A1 (en) Control method and refrigerator
EP3808047A1 (en) Identifying abnormal usage of electronic device
CN109380975A (en) Cooking appliance and its control method and system, server
CN109984579A (en) The treating method and apparatus of touch key-press, cooking apparatus
CN116030812A (en) Intelligent interconnection voice control method, device, equipment and medium for gas stove
CN111106985B (en) A 5G network-based smart home control method and system
CN108019793B (en) Microwave oven control method and microwave oven
CN107037951B (en) Automatic operation mode identification method and terminal
CN106155536A (en) A kind of control method and electronic equipment
CN110321038A (en) Method of adjustment, device, terminal and the storage medium of information display location
CN104615951A (en) Information processing method and mobile terminal
CN115886579A (en) Control method and device for radio frequency cooking equipment, radio frequency cooking equipment
CN104036168B (en) Method for authenticating and equipment
CN115978799A (en) Water heater control method, device, storage medium and electronic device
CN109285336A (en) Medical Devices control device, system, method, computer equipment and storage medium
CN109984616B (en) Processing method of touch key and cooking appliance
CN104020938B (en) A kind of information processing method and electronic equipment

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