CN110471806A - A kind of exception button processing method and a kind of cooking apparatus - Google Patents

A kind of exception button processing method and a kind of cooking apparatus Download PDF

Info

Publication number
CN110471806A
CN110471806A CN201910665121.0A CN201910665121A CN110471806A CN 110471806 A CN110471806 A CN 110471806A CN 201910665121 A CN201910665121 A CN 201910665121A CN 110471806 A CN110471806 A CN 110471806A
Authority
CN
China
Prior art keywords
key
variable
abnormal
exception
keys
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.)
Pending
Application number
CN201910665121.0A
Other languages
Chinese (zh)
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.)
Joyoung Co Ltd
Original Assignee
Joyoung 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 Joyoung Co Ltd filed Critical Joyoung Co Ltd
Priority to CN201910665121.0A priority Critical patent/CN110471806A/en
Publication of CN110471806A publication Critical patent/CN110471806A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01HELECTRIC SWITCHES; RELAYS; SELECTORS; EMERGENCY PROTECTIVE DEVICES
    • H01H13/00Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch
    • H01H13/70Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Human Computer Interaction (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

This application discloses a kind of abnormal button processing method and a kind of cooking apparatus, this method comprises: monitoring the state of multiple keys;According to the monitoring result in certain time, determine in multiple keys with the presence or absence of abnormal key;If so, according to the historical operating data of other keys, the selection key in other keys as the function adapter tube key of abnormal key, and establishes the corresponding relationship between function adapter tube key and the original function of abnormal key.The application passes through the automatic key that notes abnormalities of monitoring, and the original function of abnormal key is taken over other keys, gives user's bring bad experience to effectively reduce abnormal key.

Description

A kind of exception button processing method and a kind of cooking apparatus
Technical field
This application involves key electronic control technology field more particularly to a kind of abnormal button processing methods and corresponding one Kind cooking apparatus and computer readable storage medium.
Background technique
Currently, many electronic products do the input equipment of human-computer interaction, when having by key pressing, key circuit using key State can change, and software triggers the corresponding function of key by scanning key circuit state.
But in practical applications, some keys may be abnormal because of reasons such as aging, bites, for example, for a long time Singularly in down state, poor contact, click to become singularly and double-click even more multi-hit etc., these keys are known as abnormal press Key.
Abnormal key can make user be not convenient to use or even not be available its original function, moreover, it is also possible to hamper Hinder user to use the function of other keys, therefore brings bad experience to user.
Summary of the invention
The embodiment of the present application provides a kind of abnormal button processing method, and a kind of corresponding cooking apparatus and computer can Storage medium is read, to solve following technical problem in the prior art: abnormal key can make user be not convenient to use even It is not available its original function, moreover, it is also possible to interfere user to use the function of other keys, therefore bring to user Bad experience.
The embodiment of the present application adopts the following technical solutions:
A kind of exception button processing method, which comprises
Monitor the state of multiple keys;
According to the monitoring result in certain time, determine in the multiple key with the presence or absence of abnormal key;
If so, according to the historical operating data of other keys, the selection key in other described keys, as described different The function adapter tube key of normal key, and establish corresponding between the function adapter tube key and the original function of the abnormal key Relationship.
Optionally, according to the historical operating data of other keys, the selection key in other described keys, as described different The function adapter tube key of normal key, comprising:
According to the historical operation frequency of other keys, in other described keys, select historical operation frequency lower than setting The key of standard, the function adapter tube key as the abnormal key.
Optionally, after establishing the corresponding relationship between the function adapter tube key and the original function of the abnormal key, The method also includes:
If the first operation received for the function adapter tube key triggers described different according to the corresponding relationship The original function of normal key executes;
If receiving the second operation for the function adapter tube key, original function of the function adapter tube key is triggered It can execute;
Wherein, first operation and second operation be not identical.
Optionally, according to the monitoring result in certain time, determine in the multiple key there is abnormal key, comprising:
If monitoring the key for being continuously in down state in specified time, it is determined that the key is in the multiple key Abnormal key.
Optionally, the state of multiple keys is monitored, comprising:
According to key assignments variable, the state of multiple keys is monitored, each section position in the key assignments variable stores one respectively The key assignments of a key;
If it is determined that there is abnormal key in the multiple key, then the method also includes:
According to the abnormal key, corresponding exception record variable is obtained;
It is described by the key assignments variable by carrying out bit arithmetic to the key assignments variable and the exception record variable The corresponding position of abnormal key is assigned a value of indicating the non-down state of key;
According to the key assignments variable after the bit arithmetic, button operation is responded.
Optionally, according to the abnormal key, corresponding exception record variable is obtained, comprising:
Obtain existing exception record variable;
By recording the abnormal key in the existing exception record variable, obtains corresponding exception record and become Amount;
Wherein, the position of the exception record variable and the key assignments variable corresponds, in the exception record variable, The key assignments that the corresponding position of abnormal key recorded is stored, is assigned the down state for indicating key, other keys are corresponding The key assignments that is stored of position, be assigned the non-down state for indicating key.
Optionally, bit arithmetic is carried out to the key assignments variable and the exception record variable, comprising:
Step-by-step is carried out to the exception record variable to negate;
Step-by-step and operation are carried out to the key assignments variable and the negated exception record variable of the step-by-step.
Optionally, by recording the abnormal key in the existing exception record variable, corresponding exception is obtained After record variable, the method also includes:
If monitoring in the key assignments variable, the key assignments that the corresponding position of the exception key is stored, be changed into expression by The exception record variable and the key assignments variable are then carried out step-by-step and operation by the non-down state of key;
It is the result of the step-by-step and operation by the exception record variable update.
Optionally, every in the key assignments variable stores the key assignments of a key respectively, the key assignments be 0 or 1, the key assignments indicates that corresponding key is in down state still non-down state.
A kind of cooking apparatus, including multiple keys, control chip, the multiple key are used to receive the culinary art instruction of user Operation, and corresponding function trigger signal is converted to, the control chip is used for according to the function trigger signal, and control is corresponding Cooking function execute;
The control chip includes memory, processor, and is stored on the memory and can be in the processor The computer program of upper operation, the processor realize above-mentioned abnormal button processing method when executing the computer program.
A kind of computer readable storage medium, the storage medium are stored with computer program, the computer program quilt Processor realizes above-mentioned abnormal button processing method when executing.
At least one above-mentioned technical solution that the embodiment of the present application uses can reach following the utility model has the advantages that certainly by monitoring The dynamic key that notes abnormalities, and take over other keys the original function of abnormal key, thus effectively reduce abnormal key to The bad experience of user's bring.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 is a kind of flow diagram for abnormal button processing method that some embodiments of the present application provide;
Fig. 2 is a kind of flow diagram for abnormal button prompting scheme that some embodiments of the present application provide;
Fig. 3 is a kind of flow diagram for abnormal key adapter tube scheme that some embodiments of the present application provide;
Fig. 4 is the flow diagram that a kind of key assignments variable that some embodiments of the present application provide obtains scheme;
Fig. 5 is a kind of flow diagram for abnormal record of keys scheme that some embodiments of the present application provide;
Fig. 6 is a kind of flow diagram for abnormal key Shielding plan that some embodiments of the present application provide;
Fig. 7 is a kind of schematic diagram of the part-structure for cooking apparatus that some embodiments of the present application provide.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with the application specific embodiment and Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one Section Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
Fig. 1 is a kind of flow diagram for abnormal button processing method that some embodiments of the present application provide.This method Suitable for using the electronic equipment of key, for example, parlor household electrical appliances, machine for kitchen use, laptop, mobile phone etc..Key can be Mechanical key is also possible to touch key-press, and touch key-press can be entity touch key-press, is also possible to virtual touch key.It presses Corresponding relationship between key and its function can be established and be modified by software mode, and when key is pressed, then triggering is following dynamic It executes: according to the corresponding relationship between the key and its function, executing the function.
Process in Fig. 1 the following steps are included:
S100: the state of multiple keys is monitored.
In some embodiments of the present application, the shape of key can be monitored by scanning key operation signal or key assignments State.Specifically such as monitoring key is in down state, still non-down state, and the duration etc. in down state. It is continued to monitor always after can be device power starting, it can also be with periodic monitor;It can be whenever any key is pressed, start Monitor the time that the key is continuously kept in down state.
S102: it according to the monitoring result in certain time, determines in the multiple key with the presence or absence of abnormal key.
In some embodiments of the present application, abnormal key specifically how is determined, depend on how to define abnormal key.
Several abnormal keys are listed in background technique, to be in this abnormal key of down state singularly for a long time Example then can should for example, when monitoring that certain key within a specified time (for example, in one minute) is continuously in down state Key is determined as abnormal key, it should be noted that in practical applications, it is understood that there may be individual keys are (for example, certain light are pressed Key) in order to keep function itself to need to be continuously in down state, this kind of key is mistaken for abnormal key in order to prevent, it can be with First these keys are excluded, without monitoring.Again for clicking and become this abnormal key of double-click singularly, for example, when monitoring To certain key continuous two hit between interval time small threshold value at fixed time when, then the key can be determined as it is abnormal by Key, the limiting value of interval time when which should be less than manpower key, it is assumed that most one seconds when manpower key Zhong Lian is no more than 10 times by number, then the limiting value is 0.1 second, and specified time threshold value can be set in the value less than 0.1 second.
S104: if so, according to the historical operating data of other keys, the selection key in other described keys, as The function adapter tube key of the exception key, and establish between the function adapter tube key and the original function of the abnormal key Corresponding relationship.
In some embodiments of the present application, other keys may is that in the multiple keys monitored except abnormal key with Outer at least partly key.In order to reduce the influence to user, one or more other key can be specifically designated by user, As optional function adapter tube key, function adapter tube key is suitable as it is of course also possible to intelligently judge automatically by software Other keys.After determining abnormal key, the corresponding relationship between abnormal key and its original function can also be cancelled, to subtract Less or eliminate that abnormal key is subsequent to continue bring adverse effect.Historical operating data may include user for specified button Operation data, locating business scenario, historical operation moment etc. when also may include historical operation frequency, operation.
After determining abnormal key, if desired user's interventional procedure can then give use to determine function adapter tube key Family correlation prompt, to help user's decision.For example, the user can be prompted abnormal key, the user can be prompted abnormal key The abnormal type occurred, the user can be prompted optional function adapter tube key can be pressed to user's recommendation function adapter tube Key, etc..
In some embodiments of the present application, if establishing between function adapter tube key and the original function of abnormal key Corresponding relationship, then can be by operating function adapter tube key, to trigger the original function of abnormal key.
By the method for Fig. 2, the key that notes abnormalities automatically can be monitored, and takes over the original of abnormal key with other keys It is functional, give user's bring bad experience to effectively reduce abnormal key.
Method based on Fig. 2, some embodiments of the present application additionally provide some specific embodiments of this method, and Expansion scheme continues with explanation.
In some embodiments of the present application, according to the historical operating data of other keys, carry out selection function adapter tube key Purpose be: even be eliminated to reduce as far as possible since key is taken over, and may be inconvenient to user's bring.For example, can root According to the historical operation frequency of other keys, in other keys, key (ratio of the historical operation frequency lower than established standards is selected Such as, the minimum key of historical operation frequency), the function adapter tube key as abnormal key.Historical operation frequency is low, illustrates to use Family does not need to be commonly used, and generally, such key is relatively inessential for a user, then using such key as different The function adapter tube key of normal key, the influence to user are little.
Further, function adapter tube key is other than taking over the original function of abnormal key, and there are also the original of oneself Function can shield the original function of function adapter tube key, in this way, convenient for simplifying user's operation, alternatively, can also protect simultaneously The original function of function adapter tube key is stayed, in this way, user is able to use the more complete function of equipment.It, can for latter scheme With predefined two kinds of different operations for function adapter tube key, be respectively used to the original function of abnormal key, function take over by The original function of key executes.For example, (for example, long press operation) is operated for the first of function adapter tube key if receiving, triggering The original function of abnormal key executes;(for example, short-press operation) is operated for the second of function adapter tube key if receiving, is touched The original function for sending out function adapter tube key executes;Wherein, the first operation and the second operation be not identical.
Explanation based on front, some embodiments of the present application provide a kind of process signal of abnormal button prompting scheme Figure and a kind of flow diagram of abnormal key adapter tube scheme, it is as shown in Figure 2 and Figure 3 respectively.
Process in Fig. 2 includes: to monitor the state of multiple keys;If monitoring how long certain key (can specifically set for a long time It is fixed) be in down state, then it is abnormal key by the record of keys, and accordingly prompted to user, it is assumed that each key is attached Closely there is corresponding light emitting diode (Light Emitting Diode, LED) lamp for prompt, then such as can control different LED light quick flashing near normal key, to indicate that the corresponding key of the LED light for abnormal key, can also control low frequency key and (go through The low key of history frequency of use, for example, the minimum key of history frequency of use) neighbouring LED light slow flash, with indicate to recommend should The corresponding key of LED light is as function adapter tube key.Certainly, prompting mode is various, for example, can also using buzzer, The prompt of the other modes such as voice, electronic characters or image.
Process in Fig. 3 includes: the state by monitoring multiple keys, it is determined whether abnormal key occurs;If occurring different Normal key then carries out the corresponding prompt in such as Fig. 2 to user, and continues to monitor key-press status, if monitoring certain low frequency key It is pressed, then controls the low frequency key and take over the original function of abnormal key, and stop prompting, for example, flashed before control LED light stops flashing.
It is illustrated previously for the function adapter tube scheme of abnormal key, in practical applications, abnormal key may be led Cause other keys can not normal use in order to solve this problem abnormal key can also be shielded, below specifically It is bright.
It, can when one or more keys are chronically at down state due to aging etc. under a kind of application scenarios It can cause software that can not obtain correct key assignments, so that corresponding function can not correctly be triggered (the reason is that, multiple keys are possible to not The possibility for allowing more than two push button signalling inputs occur, it is assumed that indicate key-press status, key assignments with binary key assignments variable Each in variable respectively indicates the state of a key, and 1 indicates down state, and 0 indicates non-down state, and there are three press Key, initial key assignments are 000, when some push button signalling, and key assignments variable is 001, when the key becomes abnormal key, due to exception Key persistently inputs push button signalling, and key assignments variable is caused to remain 001, if at this point, user again press other keys, also can not be normal Input push button signalling.
It, can be by indicating that the exception is pressed in key assignments variable after there is abnormal key for application scenarios above The position of key is revised as 0, and shields the exception key.Specific embodiment is various.
For example, can monitor the state of multiple keys according to key assignments variable, each section position in key assignments variable is deposited respectively Store up the key assignments (upper example is every key assignments for storing a key respectively) of a key, the state of key at least down state, More states can also be arranged if there is demand in non-down state, for example, can be arranged a variety of according to the weight length pressed Other states.After determining that abnormal key exists, corresponding exception record variable can be obtained according to abnormal key;By right Key assignments variable and exception record variable carry out bit arithmetic, and by key assignments variable, the corresponding position of abnormal key is assigned a value of indicating key Non- down state;Later according to the key assignments variable after bit arithmetic, to respond button operation, to complete the screen to abnormal key It covers.Exception record variable is such as corresponded with the position of key assignments variable, in exception record variable, the abnormal key pair that has recorded The key assignments that the position answered is stored is assigned the down state for indicating key, the key assignments that the corresponding position of other keys is stored, quilt It is assigned a value of indicating the non-down state of key.Available existing exception record variable;By becoming in existing exception record Recording exceptional key in amount obtains corresponding exception record variable.
In another example 0 then can also be locked as the position of the exception key directly by key assignments initialization of variable.
It should be noted that in practical applications, abnormal key is also possible to restore normal subsequent, in such case Under, the record of the exception key can be eliminated in exception record variable.For example, if monitoring in key assignments variable, abnormal key pair The key assignments that the position answered is stored is changed into the non-down state for indicating key, then can be by exception record variable and key assignments variable Carry out step-by-step and operation (corresponding positions of exception record variable can become 0 from 1);It is step-by-step and operation by exception record variable update Result.
In some embodiments of the present application, storage and maintenance key assignments variable can be carried out in memory, pass through timing scan For trigger key assignments variable assignments electric signal (that is, above-mentioned key operation signal, electric signal by press the button or by Key is unclamped after lower to bounce and trigger), key-press status is detected, before scanning, the key assignments variable in memory can be reset, it is scanned Cheng Zhong will acquire the key assignments variable under current state when a button is pressed, if not detecting, key is pressed, and continue Scanning;When containing the information by key pressing in electric signal, judge that electric signal and key assignments variable maintain under current state Time whether be greater than preset value, if so, judging that the key for abnormal key, and can recorde the exception key.In addition, In In practical application, if thering is key being pressed just at that moment of scanning, it is possible to above-mentioned telecommunications can not be obtained Number, it can tremble processing by disappearing and solve this problem, specifically, it is assumed that the electric signal for indicating that key bounces is high level, table Show that by the level signal of key pressing be low level, when key is from the state of bouncing to when down state transition, in fact it could happen that one section (false Be set to 100 milliseconds or so) jitter levels signal, it is assumed that the scan period be 8 milliseconds, if scanning process just appear in shake electricity It in flat signal spacing, then needs to postpone or wait for a period of time backward, to jump out level signal shake section, scan again later.
Fig. 4 is the flow diagram that a kind of key assignments variable that some embodiments of the present application provide obtains scheme.
Process in Fig. 4 includes the following steps: to empty key assignments variable, i.e., is 0 by key assignments variable assignments;Lasting scanning or Electric signal that timing scan is triggered by user's operation key simultaneously disappear and trembles processing;If having by scanning determination by key pressing, It is position 1 that key assignments variable, which is then corresponded to the key,;In addition, if by scanning if it is determined that there is abnormal key, to exception Key is recorded.
It has been mentioned hereinbefore that can be with exception record variable come recording exceptional key, in this way, convenient for subsequently through bit arithmetic It shields abnormal key, is based on this, the process that some embodiments of the present application additionally provide a kind of abnormal record of keys scheme is shown It is intended to, as shown in Figure 5.Process in Fig. 5 includes the following steps: to obtain key assignments variable;If the continuous n seconds (n in certain position of key assignments variable How much can specially be arranged on demand, judge by accident in order to prevent, can be set larger) indicate down state, then it is assumed that it should The corresponding key in position is abnormal key, then by the corresponding position 1 of exception record variable;If there is abnormal key to restore normal (key 0) corresponding positions of variable can be become from 1, then by carrying out step-by-step and removing to the exception exception record variable and key assignments variable (with after, 0) position in exception record variable corresponding to the exception key can be become the record of key from 1 for step-by-step.
It has been mentioned hereinbefore that abnormal key can be shielded by bit arithmetic, it is based on this, some embodiments of the present application provide A kind of flow diagram of abnormal key Shielding plan, as shown in Figure 6.Process in Fig. 4 include the following steps: by exception by Key is recorded in exception record variable;It is negated carrying out step-by-step to the exception record variable after record;By becoming to key assignments Amount carries out step-by-step and operation with the negated exception record variable of step-by-step, by key assignments variable, the corresponding position assignment of abnormal key For the non-down state for indicating key;Later according to operation of the key assignments variable response user to key after step-by-step and operation.It is logical This Shielding plan is crossed, one or more abnormal key can be shielded, and will not influence normal key, and can also be different After normal key restores normal, the shielding to abnormal key is released, to improve user experience.
Based on same thinking, some embodiments of the present application additionally provide a kind of cooking apparatus, are able to carry out above-mentioned Abnormal button processing method, Fig. 7 are the partial structure diagram of the cooking apparatus.
In Fig. 7, which includes multiple keys, control chip, and the culinary art that multiple keys are used to receive user refers to Show operation, and be converted to corresponding function trigger signal, control chip is used to control corresponding culinary art according to function trigger signal Function executes;Control chip includes memory, processor, and stores the calculating that can be run on a memory and on a processor Machine program, processor realize above-mentioned abnormal button processing method when executing computer program.Certainly, cooking apparatus itself may be used also To include a lot of other components, for example, cooking cavity, upper cover, temperature sensor, heating module etc., are not specifically limited here, This will not influence the implementation of the scheme of the application.
Based on same thinking, some embodiments of the present application additionally provide a kind of computer readable storage medium, storage Media storage has computer program, and above-mentioned abnormal button processing method is realized when computer program is executed by processor.
Various embodiments are described in a progressive manner in the application, same and similar part between each embodiment It may refer to each other, each embodiment focuses on the differences from other embodiments.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method of element, commodity or equipment.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal Replacement, improvement etc., should be included within the scope of the claims of this application.

Claims (10)

1. a kind of exception button processing method, which is characterized in that the described method includes:
Monitor the state of multiple keys;
According to the monitoring result in certain time, determine in the multiple key with the presence or absence of abnormal key;
If so, according to the historical operating data of other keys, the selection key in other described keys is pressed as the exception The function adapter tube key of key, and establish the corresponding pass between the function adapter tube key and the original function of the abnormal key System.
2. exception button processing method as described in claim 1, which is characterized in that according to the historical operation number of other keys According to, the selection key in other described keys, the function adapter tube key as the abnormal key, comprising:
According to the historical operation frequency of other keys, in other described keys, historical operation frequency is selected to be lower than established standards Key, the function adapter tube key as the abnormal key.
3. exception button processing method as described in claim 1, which is characterized in that establish the function adapter tube key with it is described After corresponding relationship between the original function of abnormal key, the method also includes:
If receiving the first operation for the function adapter tube key, according to the corresponding relationship, triggers the exception and press The original function of key executes;
If receiving the second operation for the function adapter tube key, the original function for triggering the function adapter tube key is held Row;
Wherein, first operation and second operation be not identical.
4. exception button processing method as described in claim 1, which is characterized in that according to the monitoring result in certain time, Determine in the multiple key there is abnormal key, comprising:
If monitoring the key for being continuously in down state in specified time, it is determined that the key is different in the multiple key Normal key.
5. exception button processing method as described in claim 1, which is characterized in that monitor the state of multiple keys, comprising:
According to key assignments variable, the state of multiple keys is monitored, each section position in the key assignments variable stores an institute respectively State the key assignments of key;
If it is determined that there is abnormal key in the multiple key, then the method also includes:
According to the abnormal key, corresponding exception record variable is obtained;
By carrying out bit arithmetic to the key assignments variable and the exception record variable, by the key assignments variable, the exception The corresponding position of key is assigned a value of indicating the non-down state of key;
According to the key assignments variable after the bit arithmetic, button operation is responded.
6. exception button processing method as claimed in claim 5, which is characterized in that according to the abnormal key, obtain corresponding Exception record variable, comprising:
Obtain existing exception record variable;
By recording the abnormal key in the existing exception record variable, corresponding exception record variable is obtained;
Wherein, the position of the exception record variable and the key assignments variable corresponds, and in the exception record variable, has remembered The key assignments that the corresponding position of abnormal key of record is stored is assigned the down state for indicating key, the corresponding position of other keys The key assignments stored is assigned the non-down state for indicating key.
7. exception button processing method as claimed in claim 6, which is characterized in that the key assignments variable and the abnormal note It records variable and carries out bit arithmetic, comprising:
Step-by-step is carried out to the exception record variable to negate;
Step-by-step and operation are carried out to the key assignments variable and the negated exception record variable of the step-by-step.
8. exception button processing method as claimed in claim 6, which is characterized in that by becoming in the existing exception record The abnormal key is recorded in amount, after obtaining corresponding exception record variable, the method also includes:
If monitoring in the key assignments variable, the key assignments that the corresponding position of the exception key is stored, being changed into indicates key The exception record variable and the key assignments variable are then carried out step-by-step and operation by non-down state;
It is the result of the step-by-step and operation by the exception record variable update.
9. such as the described in any item abnormal button processing methods of claim 5~8, which is characterized in that in the key assignments variable Every stores the key assignments of a key respectively, and the key assignments is 0 or 1, and the key assignments indicates that corresponding key is in and presses State still non-down state.
10. a kind of cooking apparatus, which is characterized in that including multiple keys, control chip, the multiple key is for receiving user Culinary art indicate operation, and be converted to corresponding function trigger signal, the control chip is used for according to function triggering letter Number, it controls corresponding cooking function and executes;
The control chip includes memory, processor, and is stored on the memory and can transport on the processor Capable computer program, the processor realize that the claims 1~8 are described in any item when executing the computer program Method.
CN201910665121.0A 2019-07-23 2019-07-23 A kind of exception button processing method and a kind of cooking apparatus Pending CN110471806A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910665121.0A CN110471806A (en) 2019-07-23 2019-07-23 A kind of exception button processing method and a kind of cooking apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910665121.0A CN110471806A (en) 2019-07-23 2019-07-23 A kind of exception button processing method and a kind of cooking apparatus

Publications (1)

Publication Number Publication Date
CN110471806A true CN110471806A (en) 2019-11-19

Family

ID=68508785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910665121.0A Pending CN110471806A (en) 2019-07-23 2019-07-23 A kind of exception button processing method and a kind of cooking apparatus

Country Status (1)

Country Link
CN (1) CN110471806A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111537871A (en) * 2020-04-10 2020-08-14 Oppo(重庆)智能科技有限公司 Key testing method and device, electronic equipment and storage medium
CN111858259A (en) * 2020-07-31 2020-10-30 联想(北京)有限公司 Adjusting method and device and electronic equipment
CN112492303A (en) * 2020-11-27 2021-03-12 深圳创维-Rgb电子有限公司 Key response abnormity repairing method, terminal and storage medium
CN113054979A (en) * 2021-02-26 2021-06-29 深圳前海云充科技有限公司 Control method and device for key fool-proofing, computer equipment and storage medium
CN115471958A (en) * 2021-06-10 2022-12-13 深圳市怡化时代科技有限公司 Long key processing method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202814A (en) * 2006-12-14 2008-06-18 深圳Tcl新技术有限公司 Replaceable key functional remote controller and implementation method thereof
CN107357508A (en) * 2017-07-19 2017-11-17 叶雷 Singly-bound multifunctional control method and equipment
CN109077685A (en) * 2018-07-17 2018-12-25 佛山市顺德区美的洗涤电器制造有限公司 Key control method, device and the computer readable storage medium of dish-washing machine
CN109917674A (en) * 2017-12-12 2019-06-21 佛山市顺德区美的电热电器制造有限公司 Setting method, device, cooking equipment and the computer storage medium of keypress function

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202814A (en) * 2006-12-14 2008-06-18 深圳Tcl新技术有限公司 Replaceable key functional remote controller and implementation method thereof
CN107357508A (en) * 2017-07-19 2017-11-17 叶雷 Singly-bound multifunctional control method and equipment
CN109917674A (en) * 2017-12-12 2019-06-21 佛山市顺德区美的电热电器制造有限公司 Setting method, device, cooking equipment and the computer storage medium of keypress function
CN109077685A (en) * 2018-07-17 2018-12-25 佛山市顺德区美的洗涤电器制造有限公司 Key control method, device and the computer readable storage medium of dish-washing machine

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111537871A (en) * 2020-04-10 2020-08-14 Oppo(重庆)智能科技有限公司 Key testing method and device, electronic equipment and storage medium
CN111858259A (en) * 2020-07-31 2020-10-30 联想(北京)有限公司 Adjusting method and device and electronic equipment
CN112492303A (en) * 2020-11-27 2021-03-12 深圳创维-Rgb电子有限公司 Key response abnormity repairing method, terminal and storage medium
CN113054979A (en) * 2021-02-26 2021-06-29 深圳前海云充科技有限公司 Control method and device for key fool-proofing, computer equipment and storage medium
CN115471958A (en) * 2021-06-10 2022-12-13 深圳市怡化时代科技有限公司 Long key processing method, device, equipment and medium
CN115471958B (en) * 2021-06-10 2023-11-10 深圳市怡化时代科技有限公司 Processing method, device, equipment and medium for long key

Similar Documents

Publication Publication Date Title
CN110471806A (en) A kind of exception button processing method and a kind of cooking apparatus
CN106775536B (en) Double-screen switching method and device
CN108463792A (en) A kind of false-touch prevention method and terminal
CN106484562B (en) A kind of data transmission processing method and terminal device
CN105487797B (en) A kind of control method and terminal device of screen display mode
CN109409320B (en) Fingerprint acquisition method and related equipment
CN106445292B (en) Method and system for managing application programs in different body modes
US20140237304A1 (en) Method for collecting error status information of an electronic device
CN109543574A (en) Fingerprint collecting method and relevant device
CN106686252B (en) A kind of incoming call processing method and mobile terminal
CN109543378A (en) Unlocked by fingerprint method and relevant device
CN108701037A (en) A kind of method, apparatus and terminal of the application task list of cleaning terminal
EP2455773A1 (en) Detecting circuit for electric quantity, processing device and method for state detection of mobile telephone in standby
CN109558804A (en) Fingerprint collecting method and Related product
CN106453925A (en) Information transmission method and mobile terminals
CN105739847A (en) Intelligent electronic device and system and method for awakening screen of intelligent electronic device
CN109582536A (en) Report method, device and computer equipment of the application program without response
CN110007803A (en) Touch screen report point methods, device, touch screen and electronic equipment
CN113360041A (en) Display method, display device, electronic equipment and storage medium
CN105634503A (en) Method and device for detecting keyboard key values
CN104423661B (en) A kind of mobile terminal and the method for preventing touch screen mistaken touch
CN112685299B (en) Automatic test method, device, electronic equipment and readable storage medium
CN109873980A (en) Video monitoring method, device and terminal device
CN107491349B (en) Applied program processing method and device, computer equipment, storage medium
CN109684213A (en) A kind of test method, device 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