CN106354300A - Method and terminal for preventing misoperation - Google Patents

Method and terminal for preventing misoperation Download PDF

Info

Publication number
CN106354300A
CN106354300A CN201610683675.XA CN201610683675A CN106354300A CN 106354300 A CN106354300 A CN 106354300A CN 201610683675 A CN201610683675 A CN 201610683675A CN 106354300 A CN106354300 A CN 106354300A
Authority
CN
China
Prior art keywords
touch event
effective
event
history
action events
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
CN201610683675.XA
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201610683675.XA priority Critical patent/CN106354300A/en
Publication of CN106354300A publication Critical patent/CN106354300A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a method and a terminal for preventing misoperation. The method includes the steps that if a preset operation event is detected, the effective probability of an operation even at the current moment is obtained, and is calculated according to the number of historical touch events and the number of historical effective touch events within a preset duration prior to the current moment; a threshold value corresponding to the operation even is obtained and calculated according to effective probability when the historical effective touch even happens corresponding to the operation even; whether the calculated effective probability exceeds the obtained threshold value is judged; if not, the detected operation event is stopped temporarily and waits for processing. According to the embodiment, the influences of misoperation can be reduced, a response to or processing of misoperation can be intermitted, the user experience can be improved, and during using, troubles caused by misoperation of a user are eliminated.

Description

A kind of fool proof method and terminal
Technical field
The present invention relates to electronic technology field, more particularly, to a kind of fool proof method and terminal.
Background technology
Intelligent electronic device has changed into common tool in life, the greatly convenient life of user.But intelligence electricity Sub- equipment often occurs user to be placed on smart mobile phone using process it occur frequently that the situation of maloperation, especially smart mobile phone In pocket, because extruding screen leads to butt call or mistakenly sends text message during walking, and then cause to the life of user Certain puzzlement.
Content of the invention
The embodiment of the present invention provides a kind of fool proof method and its terminal, can reduce the impact of maloperation, interrupts Response or interrupt processing maloperation.
In a first aspect, embodiments providing a kind of fool proof method, this fool proof method includes: if Default Action Events is detected, obtain the Effective Probability of the Action Events of current time, Effective Probability is current according to distance The result that the quantity of the quantity of history touch event in moment preset duration and the effective touch event of history is calculated;Obtain The corresponding threshold value of extract operation event, threshold value is effective during the history effective touch event generation according to corresponding to Action Events Probability calculation draws;Judge whether the Effective Probability calculating exceedes the threshold value of acquisition;If not less than the threshold value obtaining, at time-out Manage the Action Events detecting.
On the other hand, embodiments provide a kind of terminal, terminal includes first acquisition unit, the second acquisition list Unit, first judge single and processing unit, wherein, if first acquisition unit is used for default Action Events is detected, acquisition The Effective Probability of the Action Events of current time, Effective Probability is according to the history touch-control thing in current time preset duration The result that the quantity of the quantity of part and the effective touch event of history is calculated;Second acquisition unit is used for obtaining Action Events Corresponding threshold value, threshold value is that Effective Probability during history effective touch event generation according to corresponding to Action Events calculates Go out;First judging unit is used for judging the threshold value whether Effective Probability calculating exceedes acquisition;If processing unit is used for first Judging unit judges that Effective Probability, not less than the threshold value obtaining, suspends the Action Events that processing detection arrives.
If a kind of fool proof method disclosed in the embodiment of the present invention is passed through default Action Events is detected, obtain The Effective Probability of the Action Events of current time, Effective Probability is according to the history touch-control in current time preset duration The result that the quantity of the quantity of event and the effective touch event of history is calculated;Obtain the corresponding threshold value of Action Events, Threshold value is that Effective Probability during history effective touch event generation according to corresponding to Action Events calculates;Judgement calculates Effective Probability whether exceed the threshold value of acquisition;If not less than the threshold value obtaining, suspend the Action Events that processing detection arrives, permissible Reduce impact, interrupt response or the interrupt processing maloperation of maloperation, improve the experience effect of user, solve user because of maloperation With using puzzlement.
Brief description
In order to be illustrated more clearly that embodiment of the present invention technical scheme, required use in embodiment being described below Accompanying drawing be briefly described it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow diagram of fool proof method provided in an embodiment of the present invention;
Fig. 2 is a kind of sub-process figure of fool proof method provided in an embodiment of the present invention;
Fig. 3 is the sub-process figure of Fig. 1;
Fig. 4 is the sub-process figure of Fig. 1;
Fig. 5 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 6 is another kind terminal schematic block diagram provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment a part of embodiment that is the present invention, rather than whole embodiments.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of not making creative work Example, broadly falls into the scope of protection of the invention.
It should be appreciated that when using in this specification and in the appended claims, term " inclusion " and "comprising" indicate The presence of described feature, entirety, step, operation, element and/or assembly, but be not precluded from one or several further features, Entirety, step, operation, the presence of element, assembly and/or its set or interpolation.It is also understood that in this description of the invention The term being used is not intended to limit the present invention merely for the sake of the purpose of description specific embodiment.As illustrated in the present invention As used in book and appended claims, unless context clearly indicates other situations, otherwise singulative " one ", " one " and " being somebody's turn to do " are intended to including plural form.
A kind of fool proof method provided in an embodiment of the present invention, can reduce the impact of maloperation, interrupt response or Interrupt processing maloperation, improves the experience effect of user, solve user because of maloperation band using puzzlement.Described one kind is anti-error The method of operation runs on terminal, and terminal is the electronic equipment including contactor control device, but it includes being not restricted to for portable Terminal such as smart mobile phone, panel computer, electric palm reader and other electronic equipments with Touch Screen.The present invention couple This is not specifically limited.
Refer to Fig. 1, be the schematic flow diagram of a kind of fool proof method that embodiment of the present invention provides, as schemed institute Show, the method includes:
S101, if default Action Events is detected, obtains the Effective Probability of the Action Events of current time, Effective Probability It is that the quantity of quantity according to the history touch event in current time preset duration and the effective touch event of history is carried out The result calculating.
Specifically, but default Action Events include being not restricted to editing and call, edit and send mail, volume Collect and send note etc..Default Action Events can be by User Defined, can also be and pre-set by system.This enforcement In example, detect whether to pass through to detect user by default Action Events that whether corresponding control button is real in contactor control device touch-control Existing.
User is operated in contactor control device and is generated corresponding touch event, touch event include all in contactor control device On the operation that carries out, such as user touches the dial key on contactor control device, then generates the touch event of dialing.The embodiment of the present invention Preferably contactor control device is Touch Screen.
Touch event includes effective touch event and invalid touch event.Wherein effectively touch event is gone forward side by side for system response Go the touch event of corresponding effective process;Invalid touch event does not respond for system or does not carry out the touch-control of corresponding effective process Event.It is effectively handled and can be regarded as being successfully processed.For example, if touch event is to dial number, if system responds user's Touch control operation and transfer to corresponding phone, then the touch event called be effective touch event;If system does not respond user's Touch control operation and do not transfer to corresponding phone, then the touch event called be invalid touch event.It should be appreciated that by maloperation It is judged to invalid touch event, then can reduce the impact that maloperation brings.It is also understood that when user normally uses, maloperation Few, effective touch event is many;During user's non-normal use, maloperation is more, and that is, invalid touch event is many.Because user normally makes Used time, user is purposefully to carry out touch control operation;And during user's non-normal use, user most for being not intended to or no purpose Property ground carry out touch control operation, such as mobile phone is placed on the use state in pocket;The use state disorderly put when the adept machine of child is played.
Effective Probability is used for representing history effective touch-control thing in the history touch event in current time preset duration The probability of part.The Effective Probability of therefore current time can react the current use state of user.If current time is effectively general Rate is low then it represents that the probability of maloperation is larger in current time touch event, and user is larger in the probability of non-normal use state; If, then it represents that the probability of non-maloperation is larger in the touch event of current time, user is just for the Effective Probability height of current time Often the probability of use state is larger.
S102, obtains the corresponding threshold value of Action Events, threshold value is the effective touch-control of history according to corresponding to Action Events Effective Probability when event occurs calculates.
Specifically, threshold value is Effective Probability meter during history effective touch event generation according to corresponding to this Action Events The dynamic value drawing, in other feasible embodiments, threshold value can also be effective according to the history corresponding to this Action Events The definite value that Effective Probability when touch event occurs calculates.
It should be noted that threshold value can be according in current time preset time period, corresponding to this Action Events Effective Probability when occurring every time for the effective touch event of history calculating;Threshold value can also be according to the interval with current time The time the shortest effective touch event of history corresponding to this Action Events of predetermined number, Effective Probability when occurring every time is counting Calculate;Threshold value can also be in first judging distance current time preset time period, the effective touch-control of the history corresponding to this Action Events Whether the quantity of event reaches predetermined number, if not having, should according to the predetermined number the shortest with the interval time of current time The effective touch event of history corresponding to Action Events, Effective Probability when occurring every time is calculating.
It should be appreciated that it is effectively general when due to threshold value, the effective touch event of the history according to corresponding to this Action Events occurs Rate calculates, and therefore threshold value can reflect Effective Probability during history effective touch event generation corresponding to this Action Events General trend or average level.
Also, it should be noted the corresponding threshold value of Action Events is unrelated with other corresponding threshold values of different operating event. The corresponding threshold value of the Action Events for example the dialed threshold value corresponding with the Action Events sending note is unrelated.
S103, judges whether the Effective Probability calculating exceedes the threshold value of acquisition;If exceeding the threshold value of acquisition, execution s104;If not less than the threshold value obtaining, execute s105.
S104, the Action Events that processing detection arrives.
S105, suspends the Action Events that processing detection arrives.Wherein, suspend processing detection to Action Events purpose be end The Action Events that only processing detection arrives, are not limited to which process step of termination Action Events.The behaviour for example detecting Event of making is to make a phone call, and when fixing tentatively this Action Events of process, is not limited to terminate the processing procedure of calling or input number Processing procedure.
Specifically, having when can reflect due to threshold value that the effective touch event of history corresponding to this Action Events occurs The general trend of effect probability or average level;And Effective Probability is used for representing that the history in current time preset duration is touched The probability of the effective touch event of history in control event, if therefore judging, the Effective Probability calculating exceedes threshold value, can represent and work as Before the Action Events that detect be maloperation probability less;If judging, the Effective Probability calculating, can table not less than threshold value Show that the probability that currently detected Action Events are maloperation is larger.Therefore, if the Effective Probability calculating exceedes the threshold of acquisition Value, being considered as predetermined registration operation event is detected is non-maloperation, and then executes the Action Events that processing detection arrives.If calculate has Effect probability is maloperation not less than the threshold value obtaining, the default Action Events being considered as detecting, and then time-out processing detection arrives Action Events.A kind of fool proof method provided in an embodiment of the present invention can be effectively reduced the shadow of maloperation band Ring.For example, child's random point on mobile phone, often becomes monkey test, and this click is unordered random, current time Effective Probability is very low, far below threshold value;For another example, mobile phone is placed in pocket, because of the click overstock or movement causes, is also unordered , the Effective Probability of current time is also far below threshold value.
It should be noted that because touch event includes effective touch event and invalid touch event, and maloperation is sentenced It is set to invalid touch event, then can reduce the impact that maloperation brings.In order to more effectively distinguish effective touch event and invalid Touch event, refer to Fig. 2, and in the embodiment of the present invention, fool proof method also includes:
S201, if touch event is detected, the corresponding state-event of record touch event, but state-event is included not Be limited to position of touch, whether be effectively handled, temporal information.Wherein, temporal information includes touch-control time and touch-control duration.
S202, judges that whether the position of touch of touch event is located on interface in the range of any one control or window, If being located in the range of any one control or window on interface, execute s203;If not any one control or window on interface In the range of mouthful, execute s205.Interface is expressed as the display interface of terminal, can be the desktop of terminal, can also be application journey Display interface of sequence etc..
S203, judges whether touch event is effectively handled, if being effectively handled, executes s204;If not being effectively handled, Execution s205.Specifically, the reason that is not effectively handled has a lot, its setting with system and user using relevant, for example Touch-control duration is long, touch-control duration is too short;User's finger moistens and leads to contactor control device to fail detection to recognize touch event.
S204, touch event is effective touch event.
S205, touch event is invalid touch event.
It should be noted that the touch-control time of record touch event is corresponding in order to calculate Effective Probability, Action Events Threshold value etc..
It should be noted that Effective Probability is used for representing that Effective Probability is used for representing in current time preset duration The probability of the effective touch event of history in history touch event.Refer to Fig. 3, if default Action Events is detected in s101, Obtain the Effective Probability of the Action Events of current time, Effective Probability is to touch according to the history in current time preset duration The quantity of the quantity of control event and the effective touch event of history is calculated, comprising:
S301, obtains the quantity of the history touch event in current time preset duration.
Specifically, the setting of preset duration too short or oversize all can affect accuracy, therefore preset duration is too short or long The use state of the user of current time all can not be reacted exactly.When preferably can set default according to accumulative experimental data Long, such as, when normally being used based on user, completing to dial probably needs 4~5 seconds, when default Action Events are dialing, if Determining preset duration is 10 seconds.In other feasible embodiments, dial-up operation event can be set according to accumulative experimental data Preset duration, the present invention is not specifically limited to this.
S302, obtains the quantity of the effective touch event of history in current time preset duration.
S303, calculates the ratio of the quantity of the effective touch event of history obtaining and the quantity of history touch event, this ratio It is worth the Effective Probability for current time.
Also, it should be noted can reflect that due to threshold value the effective touch event of history corresponding to this Action Events occurs When the general trend of Effective Probability or average level.The selection of therefore threshold value will affect the accurate of fool proof method Property.It is definite value or dynamic numerical value that the present invention does not limit threshold value, in order to improve the accuracy of fool proof method, preferably threshold value It is dynamic value.
If threshold value is dynamic value, refer to Fig. 4, be that a kind of acquisition Action Events provided in an embodiment of the present invention are corresponding Threshold value schematic flow sheet, as illustrated, obtaining the corresponding threshold value of Action Events in s102, threshold value is according to Action Events Effective Probability when the effective touch event of corresponding history occurs calculates, comprising:
S401, obtains Effective Probability when the effective touch event of history corresponding to Action Events occurs every time.
Specifically, the present embodiment preferably, obtains when the effective touch event of history corresponding to Action Events occurs every time Effective Probability specifically includes:
According in temporal information judging distance current time preset time period, the history corresponding to this Action Events is effectively tactile Whether the quantity of control event reaches predetermined number, if not up to, obtains the interval time with current time according to temporal information The effective touch event of history corresponding to this Action Events of predetermined number the shortest, Effective Probability when occurring every time;If reaching Arrive, then obtain in current time preset time period according to temporal information, the effective touch-control of the history corresponding to this Action Events Effective Probability when event occurs every time.
In other feasible embodiments, obtain having when the effective touch event of history corresponding to Action Events occurs every time Effect probability specifically includes: obtains in current time preset time period according to temporal information, going through corresponding to this Action Events Effective Probability when the effective touch event of history occurs every time.Preset time period is a numerical range, and its value range needs to carry out Many experiments calculate and obtain.
In other feasible embodiments, obtain having when the effective touch event of history corresponding to Action Events occurs every time Effect probability specifically includes: obtains predetermined number this Action Events institute the shortest with the interval time of current time according to temporal information The effective touch event of corresponding history, Effective Probability when occurring every time.
In other feasible embodiments, obtain having when the effective touch event of history corresponding to Action Events occurs every time Effect probability specifically includes: when the effective touch event of all history according to corresponding to temporal information obtains Action Events occurs every time Effective Probability.
S402, calculates the meansigma methodss of all Effective Probabilities obtaining.
S403, arranges the corresponding threshold value of Action Events according to the meansigma methodss calculating, and threshold value is less than meansigma methodss.
Specifically, due to constantly occur during Action Events, data is led to be dynamic change, therefore threshold value is dynamic change Change.Threshold value can be according to the meansigma methodss calculating, and some numerical value of reselection is estimated after carrying out multiple experiment.For example flat Average is 90%, is 80% according to selecting threshold value after many experiments.Threshold value can also be according to all having of mean value calculation acquisition The degree of effect probability deviation average, that is, calculate the standard deviation of all Effective Probabilities of acquisition, further according to meansigma methodss and mark The corresponding threshold value of quasi- difference setting Action Events.The selection standard of threshold value is to effectively reduce the impact of maloperation, interrupts Response or interrupt processing maloperation, do not affect the normal use of user again as far as possible.
In other feasible embodiments, if threshold value is definite value, threshold value can be default according to experimental data.
The terminal that the embodiment of the present invention is provided is the electronic equipment including contactor control device, but it include being not restricted to for Portable terminal such as smart mobile phone, panel computer, electric palm reader and other electronic equipments with Touch Screen.
Refer to Fig. 5, a kind of schematic block diagram of terminal provided in an embodiment of the present invention, this terminal includes detector unit 501st, first acquisition unit 502, second acquisition unit 503, the first judging unit 504 and processing unit 505.
Wherein detector unit 501 is for detecting whether there are default Action Events.
Specifically, but default Action Events include being not restricted to editing and call, edit and send mail, Editor and transmission note etc..Default Action Events can be by User Defined, can also be and pre-set by system.This reality Apply in example, detected whether that default Action Events pass through to detect user's whether corresponding control button in contactor control device touch-control Realize.
If first acquisition unit 502 is used for default Action Events is detected, obtain the having of Action Events of current time Effect probability, Effective Probability is the quantity and the effective touch-control of history according to the history touch event in current time preset duration The result that the quantity of event is calculated.
User is operated in contactor control device and is generated corresponding touch event, touch event include all in contactor control device On the operation that carries out.The preferred contactor control device of the embodiment of the present invention is Touch Screen.
Touch event includes effective touch event and invalid touch event.Wherein effectively touch event is gone forward side by side for system response Go the touch event of corresponding effective process;Invalid touch event does not respond for system or does not carry out the touch-control of corresponding effective process Event.It is effectively handled and can be regarded as being successfully processed.It should be appreciated that maloperation is judged to invalid touch event, then can drop The impact that low maloperation brings.It is also understood that when user normally uses, maloperation is few, effective touch event is many;User's anon-normal When often using, maloperation is more, and that is, invalid touch event is many.
Effective Probability is used for representing history effective touch-control thing in the history touch event in current time preset duration The probability of part.The Effective Probability of therefore current time can react the current use state of user.
Second acquisition unit 503 is used for obtaining the corresponding threshold value of Action Events, and threshold value is according to corresponding to Action Events The effective touch event of history occur when Effective Probability calculate.
Specifically, threshold value is Effective Probability meter during history effective touch event generation according to corresponding to this Action Events The dynamic value drawing, in other feasible embodiments, threshold value can also be effective according to the history corresponding to this Action Events The definite value that Effective Probability when touch event occurs calculates.
It should be appreciated that it is effectively general when due to threshold value, the effective touch event of the history according to corresponding to this Action Events occurs Rate calculates, and therefore threshold value can reflect Effective Probability during history effective touch event generation corresponding to this Action Events General trend or average level.
First judging unit 504 is used for judging the threshold value whether Effective Probability calculating exceedes acquisition.
If for the first judging unit 504, processing unit 505 judges that the Effective Probability calculating exceedes the threshold value of acquisition, The Action Events that processing detection arrives;If processing unit 505 is additionally operable to the Effective Probability that the first judging unit 504 is judged to calculate Not less than the threshold value obtaining, suspend the Action Events that processing detection arrives.
It should be noted that because touch event includes effective touch event and invalid touch event, and maloperation is sentenced It is set to invalid touch event, then can reduce the impact that maloperation brings.In order to more effectively distinguish effective touch event and invalid Touch event, terminal 500 also includes: recording unit 506, the second judging unit 507, the 3rd judging unit 508.
If recording unit 506 is used for detecting touch event, the corresponding state-event of record touch event, state-event Including but be not limited to position of touch, whether be effectively handled, temporal information.Wherein, temporal information include the touch-control time with And touch-control duration.
Second judging unit 507 be used for judging the position of touch of touch event whether be located on interface any one control or In the range of window, and if touch event position of touch not in the range of any one control or window on interface, touch Control event is invalid touch event.
If the position of touch that the 3rd judging unit 508 judges touch event for the second judging unit 507 is located at interface In the range of any one control upper or window, judge whether touch event is effectively handled, if being effectively handled, touch event For effective touch event;If not being effectively handled, touch event is invalid touch event.
It should be noted that the touch-control time of record touch event is corresponding in order to calculate Effective Probability, Action Events Threshold value etc..
It should be noted that Effective Probability is used for representing that Effective Probability is used for representing in current time preset duration The probability of the effective touch event of history in history touch event, first acquisition unit 502 includes: the first results unit 512, second Harvest unit 522 and the first arithmetic element 532.
Wherein first harvests unit 512 is used for obtaining the number of the history touch event in current time preset duration Amount.
Specifically, the setting of preset duration too short or oversize all can affect accuracy, therefore preset duration is too short or long The use state of the user of current time all can not be reacted exactly.
Second harvests unit 522 is used for obtaining the number of the effective touch event of history in current time preset duration Amount.
First arithmetic element 532 is used for calculating the number of the quantity of the effective touch event of history obtaining and history touch event The ratio of amount, ratio is the Effective Probability of current time.
Also, it should be noted can reflect that due to threshold value the effective touch event of history corresponding to this Action Events occurs When the general trend of Effective Probability or average level.The selection of therefore threshold value will affect the accurate of fool proof method Property.It is definite value or dynamic numerical value that the present invention does not limit threshold value, in order to improve the accuracy of fool proof method, preferably threshold value It is dynamic value.Second acquisition unit 503 includes the 3rd results unit 513, the second arithmetic element 523 and arranging unit 533.
Wherein, the effective touch event of history that the 3rd results unit 513 is used for obtaining corresponding to Action Events occurs every time When Effective Probability.
Second arithmetic element 523 is used for calculating the meansigma methodss of all Effective Probabilities obtaining.
Arranging unit 533 is used for arranging the corresponding threshold value of Action Events according to the meansigma methodss calculating, and threshold value is less than average Value.
Specifically, due to constantly occur during Action Events, data is led to be dynamic change, therefore threshold value is dynamic change Change.Threshold value can be according to the meansigma methodss calculating, and some numerical value of reselection is estimated after carrying out multiple experiment.Threshold value is also The degree of all Effective Probability deviation averages that can be obtained according to mean value calculation, that is, calculate all effectively general of acquisition The standard deviation of rate, arranges the corresponding threshold value of Action Events further according to meansigma methodss and standard deviation.The selection standard of threshold value is both The impact of maloperation to be effectively reduced, interrupt response or interrupt processing maloperation, do not affect normally making of user again as far as possible With.
It should be noted that the 3rd effective touch event of history harvesting corresponding to unit 513 acquisition Action Events is each The process of Effective Probability during generation, preferably, the 3rd results unit 513 includes detecting unit and collecting unit to the present embodiment.
Detecting unit is used for according in temporal information judging distance current time preset time period, corresponding to this Action Events The quantity of the effective touch event of history whether reach predetermined number.
If if collecting unit judges not up to predetermined number for detecting unit, when obtaining and be current according to temporal information The shortest effective touch event of history corresponding to this Action Events of predetermined number interval time carved, effective when occurring every time Probability.
If collecting unit is additionally operable to detecting unit judging to have reached predetermined number, distance is obtained according to temporal information current Effective Probability in moment preset time period, when the effective touch event of the history corresponding to this Action Events occurs every time.
In other feasible embodiments, the 3rd harvest unit 513 specifically for according to temporal information obtain apart from current when Carve the Effective Probability in preset time period, when the effective touch event of the history corresponding to this Action Events occurs every time.
In other feasible embodiments, the 3rd harvests unit 513 specifically for obtaining and current time according to temporal information The shortest effective touch event of history corresponding to this Action Events of predetermined number interval time, effectively general when occurring every time Rate.
Wherein, temporal information is the state-event acquisition corresponding according to recording each touch event.
In other feasible embodiments, the 3rd results unit 513 is specifically for obtaining all going through corresponding to Action Events Effective Probability when the effective touch event of history occurs every time.
In other feasible embodiments, if threshold value is definite value, threshold value can be default according to experimental data.
Refer to Fig. 6, be the schematic block diagram of another kind of terminal that embodiment of the present invention provides.This enforcement as depicted Terminal 600 in example can include one or several processors 601, or several input equipment 602, or Several output devices 603 of person and memorizer 604.Above-mentioned processor 601, input equipment 602, output device 603 and deposit Reservoir 604 is connected by bus.
Input equipment 602 is used for operation input touch event or Action Events.In implementing, the embodiment of the present invention defeated Enter device 602 and may include contactor control device, such as touch screen.
Output device 603 is used for fool proof assay.In implementing, the output device of the embodiment of the present invention 603 may include display, speaker, printer etc..
Memorizer 604 is used for the routine data with various functions for the storage, in implementing, the storage of the embodiment of the present invention Device 604 can be system storage, such as, volatile (such as ram), and non-volatile (such as rom, flash memory etc.), or Both combinations.In implementing, the memorizer 604 of the embodiment of the present invention can also be the external memory storage outside system, than As disk, CD, tape etc..
Processor 601 is used for the instruction calling the routine data of storage in memorizer 604 to execute memorizer 604 storage, And execute following operation:
If default Action Events is detected, obtain the Effective Probability of the Action Events of current time, Effective Probability is root Calculated according to the quantity of the history touch event in current time preset duration and the quantity of the effective touch event of history The result going out;Obtain the corresponding threshold value of Action Events, threshold value is the effective touch event of history according to corresponding to Action Events Effective Probability during generation calculates;Judge whether the Effective Probability calculating exceedes the threshold value of acquisition;If exceeding acquisition Threshold value, the Action Events that processing detection arrives;If not less than the threshold value obtaining, suspending the Action Events that processing detection arrives.
In order to more effectively distinguish effective touch event and invalid touch event, processor 601 also executes and operates as follows:
If touch event is detected, the corresponding state-event of record touch event, but state-event includes not limiting For position of touch, whether be effectively handled, temporal information.Wherein, temporal information includes touch-control time and touch-control duration, judges Whether the position of touch of touch event is located on interface in the range of any one control or window, if being located at any one on interface In the range of individual control or window, judge whether touch event is effectively handled, if being effectively handled, touch event is effectively tactile Control event;If not being effectively handled, touch event is invalid touch event;If also having not any one control or window on interface In the range of mouthful, touch event is invalid touch event.
It should be noted that Effective Probability is used for representing that Effective Probability is used for representing in current time preset duration The probability of the effective touch event of history in history touch event, if default Action Events is detected, obtains the behaviour of current time Make the process of the Effective Probability of event, Effective Probability is the number according to the history touch event in current time preset duration The quantity of amount and the effective touch event of history is calculated, and processor 601 also executes and operates as follows:
Obtain the quantity of history touch event in current time preset duration, obtain apart from current time preset when The quantity of the effective touch event of the history in length, calculates the quantity of the effective touch event of history obtaining and history touch event The ratio of quantity, ratio is the Effective Probability of current time.
If threshold value is dynamic value, obtain the process of the corresponding threshold value of Action Events, threshold value is according to Action Events institute Effective Probability when the effective touch event of corresponding history occurs calculates, and processor 601 also execute and operates as follows:
Obtain Effective Probability when the effective touch event of history corresponding to Action Events occurs every time, calculate the institute obtaining There are the meansigma methodss of Effective Probability, the corresponding threshold value of Action Events is set according to the meansigma methodss calculating, threshold value is less than meansigma methodss.
Wherein, the present embodiment preferably, obtains having when the effective touch event of history corresponding to Action Events occurs every time Effect probability specifically includes:
According in temporal information judging distance current time preset time period, the history corresponding to this Action Events is effectively tactile Whether the quantity of control event reaches predetermined number, if not up to, obtains the interval time with current time according to temporal information The effective touch event of history corresponding to this Action Events of predetermined number the shortest, Effective Probability when occurring every time;If reaching, Then obtain in current time preset time period according to temporal information, the effective touch event of the history corresponding to this Action Events Effective Probability when occurring every time.
In other feasible embodiments, obtain having when the effective touch event of history corresponding to Action Events occurs every time Effect probability specifically includes: obtains in current time preset time period according to temporal information, going through corresponding to this Action Events Effective Probability when the effective touch event of history occurs every time.
In other feasible embodiments, obtain having when the effective touch event of history corresponding to Action Events occurs every time Effect probability specifically includes: obtains predetermined number this Action Events institute the shortest with the interval time of current time according to temporal information The effective touch event of corresponding history, Effective Probability when occurring every time.
In other feasible embodiments, obtain having when the effective touch event of history corresponding to Action Events occurs every time Effect probability specifically includes: the effective touch event of all history according to corresponding to temporal information obtains Action Events occurs every time When Effective Probability.
It should be appreciated that in embodiments of the present invention, alleged processor 601 can be central first processing units (central Processing unit, cpu), this processor 601 can also be other general processors, digital signal processor (digital Signal processor, dsp), special IC (application specific integrated circuit, Asic), ready-made programmable gate array (field-programmable gate array, fpga) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device can also be any conventional processor etc..
Fool proof method provided in an embodiment of the present invention and its terminal, by the Action Events of acquisition current time Effective Probability and obtain the corresponding threshold value of Action Events, then judge whether Effective Probability exceedes the threshold value of acquisition, if exceeding The threshold value obtaining, the Action Events that execution processing detection arrives;If not less than the threshold value obtaining, suspending the described behaviour that processing detection arrives Make event, the impact of maloperation, interrupt response or interrupt processing maloperation can be reduced, solve user because of making that maloperation brings With puzzlement.This is Effective Probability during history effective touch event generation that can be reflected based on threshold value corresponding to this Action Events General trend or average level;And Effective Probability is used for representing the history touch event in current time preset duration The probability of the effective touch event of middle history, if therefore judging, the Effective Probability calculating exceedes threshold value, can represent current detection The Action Events arriving are that the probability of maloperation is less;If judging, the Effective Probability calculating, not less than threshold value, can represent current The Action Events detecting are that the probability of maloperation is larger.The another aspect embodiment of the present invention effectively distinguishes effective touch event With invalid touch event, furthermore provide various ways calculate threshold value, improve anti-operation detection accuracy, improve Consumer's Experience effect Really.
It should be noted that the step in present invention method can carry out order according to actual needs and adjusting, close And and delete.
Unit in embodiment of the present invention terminal can merge according to actual needs, divides and delete.
Those skilled in the art can be understood that, for convenience of description and succinctly, the end of foregoing description End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.In this Shen It should be understood that disclosed terminal and method in the several embodiments please being provided, can realize by another way. For example, device embodiment described above is only schematically, for example, the division of described unit, only a kind of logic Function divides, and actual can have other dividing mode when realizing, such as several units or assembly can in conjunction with or permissible It is integrated into another system, or some features can be ignored, or do not execute.In addition, shown or discussed coupling each other Conjunction or direct-coupling or communication connection can be INDIRECT COUPLING or the communication connections by some interfaces, device or unit, also may be used To be electric, machinery or other forms connect.
In addition, can be integrated in first processing units in each functional unit in each embodiment of the present invention, Can be that unit is individually physically present or two or more units are integrated in a unit.Above-mentioned collection The unit becoming both can be to be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.Described integrated If unit realized using in the form of SFU software functional unit and as independent production marketing or use when, a meter can be stored in In calculation machine read/write memory medium.Based on such understanding, technical scheme is substantially done to prior art in other words Go out the part of contribution, or all or part of this technical scheme can be embodied in the form of software product, this computer Software product is stored in a storage medium, including some instructions with so that a computer equipment (can be personal meter Calculation machine, server, or network equipment etc.) execution each embodiment methods described of the present invention all or part of step.And it is front The storage medium stated includes: u disk, portable hard drive, read only memory (rom, read-only memory), random access memory (ram, randomaccess memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
The above, be the specific embodiment of the present invention, but protection scope of the present invention be not limited thereto, any ripe Know those skilled in the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replace Change, these modifications or replacement all should be included within the scope of the present invention.Therefore, protection scope of the present invention should be with right The protection domain requiring is defined.

Claims (10)

1. a kind of fool proof method is it is characterised in that include:
If default Action Events is detected, obtain the Effective Probability of the Action Events of current time, described Effective Probability is root Calculated according to the quantity of the history touch event in current time preset duration and the quantity of the effective touch event of history The result going out;
Obtain the corresponding threshold value of described Action Events, described threshold value is that the history according to corresponding to described Action Events is effectively tactile Effective Probability when control event occurs calculates;
Judge whether the described Effective Probability calculating exceedes the described threshold value of acquisition;
If not less than the described threshold value obtaining, suspending the described Action Events that processing detection arrives.
If 2. method according to claim 1 is it is characterised in that default Action Events is detected, obtain current time Action Events Effective Probability, comprising:
Obtain the quantity of the history touch event in described current time preset duration;
Obtain the quantity of the effective touch event of history in preset duration described in described current time;
Calculate the ratio of the quantity of the effective touch event of described history obtaining and the quantity of described history touch event, described ratio It is worth the described Effective Probability for current time.
3. method according to claim 1 it is characterised in that described touch event include effective touch event and invalid touch Control event, methods described also includes:
If touch event is detected, record the corresponding state-event of described touch event, described state-event includes touch-control position Put and whether be effectively handled;
Judge that whether described position of touch is located on interface in the range of any one control or window;
If described position of touch is not located on interface in the range of any one control or window, described touch event is invalid touching Control event;
If described position of touch is located in the range of a control or window on interface, judge whether described touch event is effective Process,
If described touch event is not effectively handled, described touch event is invalid touch event;
If described touch event is effectively handled, described touch event is effective touch event.
4. method according to claim 1 is it is characterised in that obtain the corresponding threshold value of described Action Events, described threshold Value is that Effective Probability during history effective touch event generation according to corresponding to described Action Events calculates, comprising:
Obtain Effective Probability when the effective touch event of the history corresponding to described Action Events occurs every time;
Calculate the meansigma methodss of all described Effective Probability obtaining;
The corresponding threshold value of described Action Events is set according to the meansigma methodss calculating, described threshold value is less than described meansigma methodss.
5. method according to claim 4 it is characterised in that
Methods described also includes:
Record the corresponding state-event of each touch event, described state-event includes temporal information;
It is effectively general when the described effective touch event of history obtaining the preset times corresponding to described Action Events occurs every time Rate, comprising:
Obtain in current time preset time period according to temporal information, the effective touch-control of the history corresponding to described Action Events Effective Probability when event occurs every time.
6. a kind of terminal is it is characterised in that described terminal includes:
First acquisition unit, if for default Action Events is detected, obtaining the Effective Probability of the Action Events of current time, Described Effective Probability is the quantity and history effective touch-control thing according to the history touch event in current time preset duration The result that the quantity of part is calculated;
Second acquisition unit, the threshold value corresponding for obtaining described Action Events, described threshold value is according to described Action Events Effective Probability when the effective touch event of corresponding history occurs calculates;
First judging unit, whether the Effective Probability for judging to calculate exceedes the threshold value of acquisition;
Processing unit, if judge described Effective Probability not less than the described threshold value obtaining for the first judging unit, at time-out Manage the described Action Events detecting.
7. terminal according to claim 6 is it is characterised in that described first acquisition unit includes:
First results unit, for obtaining the quantity of the history touch event in described current time preset duration;
Second results unit, for obtaining the number of the effective touch event of history in preset duration described in described current time Amount;
First arithmetic element, for calculating the quantity of the effective touch event of described history obtaining and described history touch event The ratio of quantity, described ratio is the described Effective Probability of current time.
8. terminal according to claim 6 it is characterised in that described touch event include effective touch event and invalid touch Control event, described terminal also includes:
Recording unit, if for touch event is detected, record the corresponding state-event of described touch event, described event shape Whether state includes position of touch and is effectively handled;
Second judging unit, for judging whether described position of touch is located at the scope of any one control or window on interface Interior, if described position of touch is not located on interface in the range of any one control or window, described touch event is invalid touching Control event;
For the second judging unit, 3rd judging unit, if judge that described position of touch is located at a control or window on interface In the range of, judge that touch event is not effectively handled, if described touch event is not effectively handled, described touch event is no Effect touch event;And if touch event is effectively handled, described touch event is effective touch event.
9. terminal according to claim 6 is it is characterised in that described second acquisition unit includes:
3rd results unit, effective when the effective touch event of history for obtaining corresponding to described Action Events occurs every time Probability;
Second arithmetic element, for calculating the meansigma methodss of all described Effective Probability obtaining;
Arranging unit, arranges the corresponding threshold value of described Action Events according to the meansigma methodss calculating, and described threshold value is less than described flat Average.
10. terminal according to claim 9 is it is characterised in that described terminal also includes recording unit,
Described recording unit, the state-event corresponding for recording each touch event, described state-event includes time letter Breath;
Described 3rd results unit is additionally operable to obtain in current time preset time period according to temporal information, described operation thing Effective Probability when the effective touch event of history corresponding to part occurs every time.
CN201610683675.XA 2016-08-17 2016-08-17 Method and terminal for preventing misoperation Pending CN106354300A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610683675.XA CN106354300A (en) 2016-08-17 2016-08-17 Method and terminal for preventing misoperation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610683675.XA CN106354300A (en) 2016-08-17 2016-08-17 Method and terminal for preventing misoperation

Publications (1)

Publication Number Publication Date
CN106354300A true CN106354300A (en) 2017-01-25

Family

ID=57844857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610683675.XA Pending CN106354300A (en) 2016-08-17 2016-08-17 Method and terminal for preventing misoperation

Country Status (1)

Country Link
CN (1) CN106354300A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109598364A (en) * 2018-09-29 2019-04-09 阿里巴巴集团控股有限公司 A kind of prediction technique and device
CN110333815A (en) * 2019-06-21 2019-10-15 腾讯科技(成都)有限公司 Touch event treating method and apparatus
CN111562767A (en) * 2020-05-27 2020-08-21 上海三一重机股份有限公司 Mechanical equipment misoperation prevention system and control method
CN114756163A (en) * 2021-01-08 2022-07-15 北京字节跳动网络技术有限公司 Touch operation processing method, device, equipment and medium
WO2023245796A1 (en) * 2022-06-22 2023-12-28 佛山市顺德区美的电子科技有限公司 Control method and apparatus for air-conditioner, and air-conditioner and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11203045A (en) * 1998-01-14 1999-07-30 Matsushita Electric Ind Co Ltd Portable terminal having touch panel
KR20090131757A (en) * 2008-06-19 2009-12-30 주식회사 케이티테크 Method of recognizing valid touch of video processing apparatus with touch input device and video processing apparatus performing the same
CN104182068A (en) * 2013-05-24 2014-12-03 宏碁股份有限公司 Error touch identifying method and device
CN105045454A (en) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 Method for preventing from wrongly touching terminal and terminal
CN105807965A (en) * 2014-12-30 2016-07-27 联想(北京)有限公司 False trigger prevention method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11203045A (en) * 1998-01-14 1999-07-30 Matsushita Electric Ind Co Ltd Portable terminal having touch panel
KR20090131757A (en) * 2008-06-19 2009-12-30 주식회사 케이티테크 Method of recognizing valid touch of video processing apparatus with touch input device and video processing apparatus performing the same
CN104182068A (en) * 2013-05-24 2014-12-03 宏碁股份有限公司 Error touch identifying method and device
CN105807965A (en) * 2014-12-30 2016-07-27 联想(北京)有限公司 False trigger prevention method and apparatus
CN105045454A (en) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 Method for preventing from wrongly touching terminal and terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109598364A (en) * 2018-09-29 2019-04-09 阿里巴巴集团控股有限公司 A kind of prediction technique and device
CN109598364B (en) * 2018-09-29 2022-10-28 创新先进技术有限公司 Prediction method and device
CN110333815A (en) * 2019-06-21 2019-10-15 腾讯科技(成都)有限公司 Touch event treating method and apparatus
CN110333815B (en) * 2019-06-21 2022-03-08 腾讯科技(成都)有限公司 Touch event processing method and device
CN111562767A (en) * 2020-05-27 2020-08-21 上海三一重机股份有限公司 Mechanical equipment misoperation prevention system and control method
CN114756163A (en) * 2021-01-08 2022-07-15 北京字节跳动网络技术有限公司 Touch operation processing method, device, equipment and medium
WO2023245796A1 (en) * 2022-06-22 2023-12-28 佛山市顺德区美的电子科技有限公司 Control method and apparatus for air-conditioner, and air-conditioner and storage medium

Similar Documents

Publication Publication Date Title
CN106354300A (en) Method and terminal for preventing misoperation
CN105045454B (en) A kind of terminal false-touch prevention method and terminal
CN105975160A (en) Mistaken touch prevention method and terminal
US20050110769A1 (en) Systems and methods for adaptive interpretation of input from a touch-sensitive input device
CN106855783A (en) A kind of method of false-touch prevention, device and mobile terminal
CN104866225A (en) Electronic device having touch display screen and control method therefor
CN108475136B (en) Fingerprint identification method and electronic equipment
WO2017161637A1 (en) Touch control method, touch control device, and terminal
CN105487809A (en) Terminal control method and device
CN102999291A (en) Method for waking up mobile terminal in standby state
CN106406701B (en) Method and system for preventing misoperation of touch terminal and touch terminal
CN105224216B (en) A kind of user terminal control method and user terminal
CN106775085A (en) A kind of method of screen edge false-touch prevention, device and mobile terminal
CN105354062A (en) Method for displaying loaded page and mobile terminal
CN106873891B (en) Touch operation method and mobile terminal
CN108255402A (en) Check the method, terminal and computer readable storage medium of footmark content of announcement
CN111290690B (en) Terminal control method and device, mobile terminal and storage medium
CN105426105A (en) Alarm clock control method and mobile terminal
WO2020078344A1 (en) Method for identifying special-shaped touch, terminal and storage medium
CN104978135B (en) A kind of icon display method, device and mobile terminal
CN105022633A (en) Solving method of hotkey conflict and terminal
CN106484104A (en) A kind of operation method of application program and terminal
CN113126815A (en) Key response control method and device, terminal equipment and storage medium
CN111095181A (en) Information processing method, related apparatus and computer storage medium
CN104635990B (en) A kind of method and device for identifying user's touch screen

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170125

WD01 Invention patent application deemed withdrawn after publication