CN107340910A - A kind of response method of touch key-press, device, storage medium and electronic equipment - Google Patents
A kind of response method of touch key-press, device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN107340910A CN107340910A CN201710497326.3A CN201710497326A CN107340910A CN 107340910 A CN107340910 A CN 107340910A CN 201710497326 A CN201710497326 A CN 201710497326A CN 107340910 A CN107340910 A CN 107340910A
- Authority
- CN
- China
- Prior art keywords
- touch
- press
- touch key
- default
- screen
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/044—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Abstract
The embodiment of the invention discloses a kind of response method of touch key-press, device, storage medium and electronic equipment.This method includes:When detecting the clicking operation for default touch key-press, suspend the response to the clicking operation, and start timing;Whether the feature for the touch point differed for judging to detect in touch-screen in preset duration meets preset requirement;If satisfied, then respond the clicking operation.The embodiment of the present invention can effectively reduce touch key-press on electronic equipment and be occurred by the situation of false triggering by using above-mentioned technical proposal.
Description
Technical field
The present embodiments relate to technical field of touch control, more particularly to a kind of response method of touch key-press, device, storage
Medium and electronic equipment.
Background technology
At present, touch key-press is widely used in the electronic equipments such as mobile terminal, household electrical appliance and mobile unit.Root
According to the difference of touch sensing principle, touch key-press includes resistive touch button and capacitance type touch key etc..Wherein, it is electric
Appearance formula touch key-press can penetrate certain thickness insulating material housing (such as glass or plastics) and be moved to detect the touch of finger
Make, and the performance indications such as sensitivity, stability and reliability are higher, so as the touch key-press being most widely used.
However, in some cases, touch key-press may be by false touch, and then causes the mistake of touch key-press to respond, so to touch key-press
Response scheme still need it is further perfect.
The content of the invention
The embodiment of the present invention provides a kind of response method of touch key-press, device, storage medium and electronic equipment, can be with excellent
Change the response scheme of touch key-press.
In a first aspect, the embodiments of the invention provide a kind of response method of touch key-press, including:
When detecting the clicking operation for default touch key-press, suspend the response to the clicking operation, and start meter
When;
Whether the feature for the touch point differed for judging to detect in touch-screen in preset duration meets preset requirement;
If satisfied, then respond the clicking operation.
Second aspect, the embodiments of the invention provide a kind of responding device of touch key-press, including:
Response pause module, for when detecting the clicking operation for default touch key-press, suspending to the click
The response of operation, and start timing;
Judge module is responded, for the feature for the touch point differed for judging to detect in touch-screen in preset duration
Whether preset requirement is met;
Response module, for when meeting the preset requirement, responding the clicking operation.
The third aspect, the embodiments of the invention provide a kind of computer-readable recording medium, is stored thereon with computer journey
Sequence, the response method of touch key-press as described in the present embodiment of the invention is realized when the program is executed by processor.
Fourth aspect, the embodiments of the invention provide a kind of electronic equipment, including memory, processor and it is stored in storage
And can be in the computer program of processor operation on device, it is characterised in that real during computer program described in the computing device
The now response method of touch key-press as described in the present embodiment of the invention.
The response scheme of the touch key-press provided in the embodiment of the present invention, detect the click behaviour for default touch key-press
When making, suspend the response to the clicking operation, and start timing, judging what is detected in preset duration in touch-screen
When the feature of the touch point differed meets preset requirement, the clicking operation is responded., can be with by using above-mentioned technical proposal
Touch key-press on electronic equipment is effectively reduced by the situation of false triggering to be occurred.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of the response method of touch key-press provided in an embodiment of the present invention;
Fig. 2 is a kind of predeterminable area schematic diagram provided in an embodiment of the present invention;
Fig. 3 is another predeterminable area schematic diagram provided in an embodiment of the present invention;
Fig. 4 is the schematic flow sheet of the response method of another touch key-press provided in an embodiment of the present invention;
Fig. 5 is the schematic flow sheet of the response method of another touch key-press provided in an embodiment of the present invention;
Fig. 6 is a kind of structured flowchart of the responding device of touch key-press provided in an embodiment of the present invention;
Fig. 7 is the structural representation of a kind of electronic equipment provided in an embodiment of the present invention.
Embodiment
Further illustrate technical scheme below in conjunction with the accompanying drawings and by embodiment.It is appreciated that
It is that specific embodiment described herein is used only for explaining the present invention, rather than limitation of the invention.Further need exist for illustrating
, for the ease of description, part related to the present invention rather than entire infrastructure are illustrate only in accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing described as flow chart or method.Although each step is described as the processing of order, many of which by flow chart
Step can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.When its operation
The processing can be terminated during completion, it is also possible to the additional step being not included in accompanying drawing.The processing can be with
Corresponding to method, function, code, subroutine, subprogram etc..
At present, touch-screen is generally provided with electronic equipment, allowed users to more intuitively by finger on screen
Object operated, and in order to aid in the operation based on touch-screen, it will usually be provided with below touch-screen tactile
Touch button, such as homepage (home) key, menu (menu) key and return (back) key.In addition, in order to more in electronic equipment
It is user-friendly, the conventional function choosing-item of quick ejection, it can typically support from electronic device touchscreen upward-sliding bottoms
Mode of operation (hereinafter referred to as upper sliding operation) ejects shortcut menu, and conventional function choosing-item is provided with the shortcut menu,
When ejecting shortcut menu, the current page that user checks will not exit, and shortcut menu can partly cover current page, from
Used without influenceing user, i.e., without the page before being reopened after shortcut menu withdrawal.However, due to touch key-press
Nearer apart from touch-screen bottom, user is when performing sliding operation above-mentioned, it is easy to touches touch key-press, causes touch key-press
Mistake response, cause to exit the use that user above, ought be influenceed.The response scheme energy of touch key-press provided in an embodiment of the present invention
It is enough to solve above-mentioned mistake response problem well.
Fig. 1 is a kind of schematic flow sheet of the response method of touch key-press provided in an embodiment of the present invention, and this method can be with
Performed by the responding device of touch key-press, wherein the device can be realized by software and/or hardware, can typically be integrated in electronic equipment
In.As shown in figure 1, this method includes:
Step 101, when detecting the clicking operation for default touch key-press, suspend the response to the clicking operation,
And start timing.
Exemplary, the electronic equipment in the embodiment of the present invention may include mobile phone, tablet personal computer and media player etc.
It is provided with the equipment of touch key-press and touch-screen.The scheme of the embodiment of the present invention, which is particularly suitable for use in, has at least one touch key-press
It is less than the electronic equipment of pre-determined distance value with the distance at the edge of touch-screen, pre-determined distance value can be 1 centimetre.It is described default tactile
It can be above-mentioned homepage key, Menu key and return key to touch button, can also be the touch key-press of other types or function, can root
Determined according to specific electronic equipment button design situation, the embodiment of the present invention does not limit.The embodiment of the present invention will be touched with default
Touch exemplified by button is located at below touch-screen and illustrate, above-mentioned sliding operation may miss to slide from bottom to top sliding starting point
Touch default touch key-press.It will be appreciated by persons skilled in the art that when the relative position of default touch key-press and touch-screen is sent out
, it is necessary to be replaced to upper sliding operation during changing, for example, when default touch key-press is located on the left of touch-screen, above-mentioned upper cunning
Operation can be replaced right sliding operation, i.e., slides from left to right, preset touch key-press sliding the possible false touch of starting point, the present invention is implemented
All operations being equal with above-mentioned sliding operation can be referred to as default slide in example, the starting point of the default slide is
The edge of touch-screen.
Exemplary, the type for presetting touch key-press can be resistance-type or capacitive, present invention implementation
Example is not construed as limiting.By taking capacitance type touch key as an example, when the finger of user touches capacitance type touch key, corresponding touch is pressed
It (can be the numerical value of the corresponding capacitance after analog-to-digital conversion, again that key chip, which can detect user touch location and correspond to capacitance,
Claim AD values or ADC values) change, when variable quantity exceedes default change threshold, the event of pressing can be produced and reported to upper strata
This presses (down) event, and when the finger of user leaves, touch key-press chip can detect corresponding electricity on the touch location
Capacitance is recovered to initial value, can produce the event of lifting and report this to lift (up) event to upper strata.Therefore, it is pre- when detecting successively
If event is pressed corresponding to touch key-press and lifts event, it may be determined that detect the clicking operation for default touch key-press.
Certainly, also reporting events mechanism can be changed in bottom, when the variable quantity for detecting capacitance corresponding to touch location first exceedes in advance
, can be true when recovering to initial value (not reporting the event of lifting) again if change threshold (to whether reporting the event of pressing not limit)
Regular inspection measures the clicking operation for default touch key-press.Preferably event and lift are pressed in the embodiment of the present invention using according to detection
The mode of event determines whether to detect the clicking operation for default touch key-press, is advantageous in that, can be preferably simultaneous
Hold the existing reporting events mechanism of electronic equipment, without excessively being changed to bottom, advantageously ensure that the stability of system.
When user carries out sliding operation above-mentioned, if false touch has touched default touch key-press, then with the slip of finger,
It will successively detect and event is pressed corresponding to default touch key-press and lifts event, according to the response machine of existing touch key-press
System, now the mistaken touch of user can be considered clicking operation by system, and then the clicking operation is responded, and cause user just
Changed in the current page checked, such as desktop etc. is retracted into from the page of some application program, influence the use of user.
In the embodiment of the present invention, respond in order to avoid above-mentioned, when detecting the clicking operation for default touch key-press, first suspend by mistake
Response to clicking operation, then add new logic and the clicking operation is further judged, responded by mistake with reducing.
Wherein, different implementations can be had by suspending the response to clicking operation.For example, when default to detect successively
Event is pressed corresponding to touch key-press and lifts event and determines whether to detect the click behaviour for default touch key-press for condition
When making, the response to lifting event can be suspended;And for example, if first exceeding default become with the variable quantity of capacitance corresponding to touch location
Change threshold value, when recovery to initial value is that condition determines whether to detect the clicking operation for default touch key-press again, can suspend
Report the event of lifting.
Whether step 102, the feature for the touch point differed for judging to detect in touch-screen in preset duration meet
Preset requirement.
In the embodiment of the present invention, default touch key-press is avoided to respond the mistake of clicking operation using delay response mechanism,
Therefore the feature of the touch point differed in the preset duration after starting timing to being detected in touch-screen judges.
Exemplary, the touch point differed refers specifically to the touch point that coordinate position differs, the touch chip of touch-screen
Can be with prefixed time interval (generally 10 milliseconds, i.e. predeterminated frequency is 10 milliseconds each) collection capacitance data, according to electric capacity number
Touched it is judged that going out some position, will report touch point information, the coordinate that touch point information includes touch location (namely touches
Touch coordinate a little), so, if user's finger is slided on touch-screen in preset duration, multiple touch points will be detected.This
Preset duration in inventive embodiments can be set according to prefixed time interval, and concrete numerical value is not construed as limiting, such as between preset time
When being divided into 10 milliseconds, preset duration can be arranged to 40 milliseconds.When user's finger is not moved, the coordinate of multiple touch points
It is identical, and when user's finger is moved, there will be the touch point that coordinate differs.The embodiment of the present invention is touched to what is differed
The feature touched a little is judged, to confirm that the real intention of operation of user is click on the default touch key-press still sliding behaviour on carrying out
Make, specific decision procedure there can be many kinds, and three kinds given below illustratively.
The first, whether the quantity of the touch point differed for judging to detect in touch-screen in preset duration is less than the
One default value;If being less than, meet preset requirement.
When the negligible amounts of the touch point differed, the touch location of explainable user does not almost change, so
It can determine that user is intended to click on default touch key-press.Default value can be according to above-mentioned preset duration divided by the business of prefixed time interval
To determine, such as can be the preset ratio value of the business, the preset ratio value can be 50%, 30% or smaller.It can manage
Solution, the value of default value is smaller, avoids the success rate of false touch higher.If default value is 1, then less than default value
When, the quantity of the touch point differed is 0, then for user's finger not in contact with touch-screen after timing is started, explanation is normal point
Hit operation;If default value is 2, then during less than default value, user's finger after timing is started not in contact with touch-screen or only
Touch a position, be not slide, should it may be the case that when user clicks on default touch key-press (such as finger compared with
Touch-screen slightly) is accidentally encountered, or user's finger or palm imprudence encounter edge of touch-screen etc..
Second, the touch point differed for judging to detect in touch-screen in preset duration whether be in it is described pre-
If corresponding to touch key-press in predeterminable area;If it is not, then meet preset requirement.
The predeterminable area is related to the position of default touch key-press, and the zone of action of default slide, and uses
Family partial traces of default slide when carrying out default slide can be fallen into predeterminable area.Such as touch key-press is located at
When below touch-screen, predeterminable area can be located at the lower zone in touch-screen.Fig. 2 is provided in an embodiment of the present invention a kind of pre-
If area schematic, touch key-press region 201 is provided with below touch-screen, wherein containing three default touch key-press, is being touched
The lower section touched in screen is provided with the first predeterminable area 202, and each predeterminable area corresponding to default touch key-press can be with identical, and
For the first predeterminable area 202.Fig. 3 is another predeterminable area schematic diagram provided in an embodiment of the present invention, and each default touch is pressed
Key can correspond to different predeterminable areas, as corresponding second predeterminable area 302 of homepage key 301, Menu key 303 the corresponding 3rd are default
Region 304.Preferably, the line between the center of the predeterminable area and the center of the default touch key-press and touch-screen
Edge-perpendicular.
When user wants to carry out upper sliding operation, the touch location of finger can move from bottom to top, i.e., pressed from default touch
Moved to touch-screen position key position, then what will be detected in predeterminable area in preset duration differs
Touch point, it is possible thereby to judge that user wants to carry out sliding operation, so clicking operation is maloperation.If touch point is not in
In predeterminable area, explainable user is not intended to carry out sliding operation, it may be possible to which user's imprudence has encountered screen, therefore, can be with
Respond clicking operation.
The third, the touch point differed for judging to detect in touch-screen in preset duration whether be in it is described pre-
If corresponding to touch key-press in predeterminable area;If so, whether the quantity of the touch point differed described in then judging is pre- less than second
If numerical value;If being less than, meet preset requirement.
The third mode, which can be considered as, is combined the first and second, when being examined in preset duration in touch-screen
When the touch point differed measured is in predeterminable area corresponding with the default touch key-press, it is also possible to be user's point
(such as finger is thicker) has accidentally encountered touch-screen when hitting default touch key-press, and the quantity of such case touch point generally compares
It is less, typically will not more than one, so, in order to which such case is excluded, the quantity of touch point can be judged, if being less than
Second default value, then meet preset requirement.Second default value can be with identical with the first default value, can also be different, this
Inventive embodiments are not construed as limiting.The judged result of the third mode is more accurate, significantly more efficient can reduce on electronic equipment
Touch key-press is occurred by the situation of false triggering.
Step 103, if satisfied, then responding the clicking operation.
It is exemplary, when according to the judgement of step 102, to determine clicking operation be not maloperation, clicking operation can be carried out
Normal response, meet the operational requirements of user.Respond the mode of clicking operation and response of the pause to clicking operation above
Mode it is corresponding.It is when suspending to respond to lifting event such as to suspend response, and response mode is that event is lifted in response;As temporarily
Stop response to report for pause when lifting event, response mode is reports the event of lifting, to respond clicking operation.
Exemplary, responding the mode of clicking operation can determine according to the type of default touch key-press.For example, default touch
When to touch button be Menu key, then the mode for responding clicking operation can be that control electronics show menu interface;It is default to touch
When button is main page key, then the mode for responding clicking operation can be that control electronics enter homepage (or desktop).
The response method of the touch key-press provided in the embodiment of the present invention, detect the click behaviour for default touch key-press
When making, suspend the response to the clicking operation, and start timing, judging what is detected in preset duration in touch-screen
When the feature of the touch point differed meets preset requirement, the clicking operation is responded., can be with by using above-mentioned technical proposal
Touch key-press on electronic equipment is effectively reduced by the situation of false triggering to be occurred.
In one embodiment, the response method of touch key-press may also include:If not satisfied, then determine the clicking operation
Maloperation caused by carrying out default slide on the touchscreen for user, ignores clicking operation.That is, if judge default
The feature of the touch point differed detected in long inherent touch-screen is unsatisfactory for preset requirement, then ignores clicking operation.Due to
The feature of the touch point differed is unsatisfactory for the preset requirement of the embodiment of the present invention, then is regarded as user on carrying out
False touch is carried out to default touch key-press in the operating process such as sliding, it is not necessary to the clicking operation is responded, to avoid ringing by mistake
The use of reply user interferes.
Fig. 4 is the schematic flow sheet of the response method of another touch key-press provided in an embodiment of the present invention, such as Fig. 4 institutes
Show, this method includes:
Step 401, when detecting the clicking operation for default touch key-press, suspend the response to the clicking operation,
And start timing.
Step 402, the feature for obtaining the touch point differed detected in preset duration in touch-screen.
Exemplary, the feature of the touch point differed may include quantity and coordinate position etc..
Step 403, judge whether the feature meets preset requirement, if so, then performing step 204;Otherwise, step is performed
405。
Specific deterministic process can refer to associated description above.
Step 404, the response clicking operation.
Step 405, ignore the clicking operation.
The response method of touch key-press provided in an embodiment of the present invention, user can be effectively avoided when carrying out slide
The situation that touch key-press caused by false touch touch key-press responds by mistake occurs, and intelligence identifies the true operation meaning of user exactly
Figure.
Fig. 5 be another touch key-press provided in an embodiment of the present invention response method schematic flow sheet, this method bag
Include following steps:
Step 501, detect successively and event is pressed corresponding to default touch key-press and lifts event, confirmation, which detects, to be directed to
The clicking operation of default touch key-press.
The response of step 502, pause to the clicking operation, and start timing.
Whether step 503, the touch point differed for judging to detect in touch-screen in preset duration are in presetting
Corresponding to touch key-press in predeterminable area, if so, then performing step 504;Otherwise, step 505 is performed.
Whether the quantity for the touch point that step 504, judgement differ is less than the second default value, if so, then performing step
505;Otherwise, step 506 is performed.
Step 505, the response clicking operation.
Step 506, ignore the clicking operation.
The response method of touch key-press provided in an embodiment of the present invention, it further can intelligently identify that user's is true exactly
Practical operation is made to be intended to, and avoids carrying out response by mistake to the maloperation for presetting touch key-press.
In embodiments of the present invention, can be by taking the smart mobile phone of most common carrying Android (Android) operating system as an example
Concrete implementation process is described in detail.Menu keys, home keys, back keys are provided with below the touch-screen of smart mobile phone,
Default touch key-press i.e. in the embodiment of the present invention.
The last event of same touch key-press can be judged for down state in linux input core codes,
This event then illustrates current key-press event to lift, namely user enters for current button to lift and (also known as upspringing) state
Clicking operation is gone, has recorded flag byte keyup_flag, comprising 8 bit positions, the 0th, 1,2 three bit position, represent respectively
Menu, home and back button, judge currently to lift as which button, then bit positions corresponding to keyup_flag are arranged to 1.
Clear flag position keyup_coordinat_change_count=0, after representing that button lifts, have not occurred coordinate
Change, start the delay of 40ms buttons and lift timer, flag bit keyup_timer_start=true is set, represent that button prolongs
When lift timer and have been started up.
In coordinate processing function input_handle_abs_event, when judging keyup_timer_start for true,
If X or Y-coordinate change, keyup_coordinat_change_count will add 1 certainly.
40ms timers arrive, and perform function input_delay_keyup, judge keyup_flag the 0th, 1,2 three bit
Position, it is 1 position, videlicet by the button of processing, corresponds to menu, home and back button respectively.Change_ is first carried out
bit(code,dev->Key), represent that key-press status will change, judge keyup_coordinat_change_count>2, then
After illustrating that button lifts, in 40ms, viewing area at least 2 coordinate points (touch point) report, and this 2 coordinate points are
It is different, it is judged to sliding up to viewing area from key area, it is necessary to abandoning this button lifts event, reports -1,
After upper strata receives, this button clicking operation will not be responded, current display page will not be exited.If it is unsatisfactory for keyup_
coordinat_change_count>2, then explanation is normal button clicking operation, reports 0, normally lifts button, and upper strata rings
Answer button clicking operation.
Fig. 6 is a kind of structured flowchart of the responding device of touch key-press provided in an embodiment of the present invention, and the device can be by soft
Part and/or hardware are realized, are typically integrated in electronic equipment, can be by performing the response method of touch key-press come to touch key-press
Touch operation responded.As shown in fig. 6, the device includes:
Response pause module 601, for when detecting the clicking operation for default touch key-press, suspending to the point
The response of operation is hit, and starts timing;
Judge module 602 is responded, for the touch point differed that judges to detect in touch-screen in preset duration
Whether feature meets preset requirement;
Response module 603, for when meeting the preset requirement, responding the clicking operation.
The responding device of touch key-press provided in an embodiment of the present invention, detect the clicking operation for default touch key-press
When, suspend the response to the clicking operation, and start timing, judging in preset duration to detect not in touch-screen
When the feature of identical touch point meets preset requirement, the clicking operation is responded.By using above-mentioned technical proposal, Ke Yiyou
Effect reduces touch key-press on electronic equipment and occurred by the situation of false triggering.
Optionally, the clicking operation detected for default touch key-press, including:
Detect successively and event is pressed corresponding to default touch key-press and lifts event, confirmation detects to be touched for default
The clicking operation of button.
Optionally, it is pre- whether the feature for the touch point differed for judging to detect in touch-screen in preset duration meets
If it is required that including:
It is default whether the quantity for the touch point differed for judging to detect in touch-screen in preset duration is less than first
Numerical value;
If being less than, meet preset requirement.
Optionally, it is pre- whether the feature for the touch point differed for judging to detect in touch-screen in preset duration meets
If it is required that including:
Whether the touch point differed for judging to detect in touch-screen in preset duration is in and the default touch
Corresponding to button in predeterminable area;
If it is not, then meet preset requirement.
Optionally, the line between the center of the predeterminable area and the center of the default touch key-press and touch-screen
Edge-perpendicular.
Optionally, response judge module is additionally operable to judge the touch differed detected in touch-screen in preset duration
Whether point is in predeterminable area corresponding with the default touch key-press, if so, the touch point differed described in then judging
Whether quantity is less than the second default value;
If being less than, meet preset requirement.
Optionally, response module is additionally operable to when being unsatisfactory for the preset requirement, determines the clicking operation to use
Family default slide is carried out on the touch-screen caused by maloperation, ignore the clicking operation.
The embodiment of the present invention also provides a kind of storage medium for including computer executable instructions, and the computer can perform
When being performed by computer processor for performing a kind of searching method of file, this method includes for instruction:
When detecting the clicking operation for default touch key-press, suspend the response to the clicking operation, and start meter
When;
Whether the feature for the touch point differed for judging to detect in touch-screen in preset duration meets preset requirement;
If satisfied, then respond the clicking operation.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap
Include:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as
DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetizing mediums
(such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can also include other
The memory of type or its combination.In addition, storage medium can be located at program in the first computer system being wherein performed,
Or can be located in different second computer systems, second computer system is connected to the by network (such as internet)
One computer system.Second computer system can provide programmed instruction and be used to perform to the first computer." storage is situated between term
Matter " can include may reside within diverse location two of (such as in different computer systems by network connection) or
More storage mediums.Storage medium can store the programmed instruction that can be performed by one or more processors and (such as implement
For computer program).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present invention is provided, its computer
The response operation for the touch key-press that executable instruction is not limited to the described above, can also carry out any embodiment of the present invention and is provided
Touch key-press response method in associative operation.
The embodiments of the invention provide a kind of electronic equipment, provided in an embodiment of the present invention touch can be integrated in the electronic equipment
Touch the responding device of button.Fig. 7 is the structural representation of a kind of electronic equipment provided in an embodiment of the present invention.As shown in fig. 7, should
Electronic equipment can include:Housing (not shown), touch-screen (not shown), touch key-press (not shown), deposit
Reservoir 701, central processing unit (Central Processing Unit, CPU) 702 (also known as processor, hereinafter referred to as CPU), electricity
Road plate (not shown) and power circuit (not shown).The circuit board is placed in the space that the housing surrounds
Portion;The CPU702 and the memory 701 are arranged on the circuit board;The power circuit, for being set for the electronics
Standby each circuit or device power supply;The memory 701, for storing executable program code;The CPU702 passes through reading
The executable program code stored in the memory 701 is taken to run computer journey corresponding with the executable program code
Sequence, to realize following steps:
When detecting the clicking operation for default touch key-press, suspend the response to the clicking operation, and start meter
When;
Whether the feature for the touch point differed for judging to detect in touch-screen in preset duration meets preset requirement;
If satisfied, then respond the clicking operation.
The electronic equipment also includes:Peripheral Interface 703, RF (Radio Frequency, radio frequency) circuit 705, audio-frequency electric
Road 706, loudspeaker 711, power management chip 708, input/output (I/O) subsystem 709, touch-screen 712, other input/controls
Control equipment 710 and outside port 704, these parts are communicated by one or more communication bus or signal wire 707.
It should be understood that diagram electronic equipment 700 is only an example of electronic equipment, and electronic equipment 700
Can have than more or less parts shown in figure, can combine two or more parts, or can be with
Configured with different parts.Various parts shown in figure can be including one or more signal transactings and/or special
Hardware, software including integrated circuit are realized in the combination of hardware and software.
The electronic equipment responded below with regard to the touch operation for touch key-press that the present embodiment provides carries out detailed retouch
State, the electronic equipment is by taking mobile phone as an example.
Memory 701, the memory 701 can be accessed by CPU702, Peripheral Interface 703 etc., and the memory 701 can
Including high-speed random access memory, can also include nonvolatile memory, such as one or more disk memories,
Flush memory device or other volatile solid-state parts.
The input of equipment and output peripheral hardware can be connected to CPU702 and deposited by Peripheral Interface 703, the Peripheral Interface 703
Reservoir 701.
I/O subsystems 709, the I/O subsystems 709 can be by the input/output peripherals in equipment, such as touch-screen 712
With other input/control devicess 710, Peripheral Interface 703 is connected to.I/O subsystems 709 can include the He of display controller 7091
For controlling one or more input controllers 7092 of other input/control devicess 710.Wherein, one or more input controls
Device 7092 processed receives electric signal from other input/control devicess 710 or sends electric signal to other input/control devicess 710,
Other input/control devicess 710 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour
Vertical pole, click on roller.What deserves to be explained is input controller 7092 can with it is following any one be connected:Keyboard, infrared port,
The instruction equipment of USB interface and such as mouse.
Touch-screen 712, the touch-screen 712 are the input interface and output interface between consumer electronic devices and user,
Visual output display can be included into figure, text, icon, video etc. to user, visual output.
Display controller 7091 in I/O subsystems 709 receives electric signal from touch-screen 712 or sent out to touch-screen 712
Electric signals.Touch-screen 712 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 7091
The interaction of user interface object on touch-screen 712, that is, realize man-machine interaction, the user interface being shown on touch-screen 712
Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light
Mouse, light mouse is not show the touch sensitive surface visually exported, or the extension of the touch sensitive surface formed by touch-screen.
RF circuits 705, it is mainly used in establishing the communication of mobile phone and wireless network (i.e. network side), realizes mobile phone and wireless network
The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 705 receive and send RF letters
Number, RF signals are also referred to as electromagnetic signal, and RF circuits 705 convert electrical signals to electromagnetic signal or electromagnetic signal is converted into telecommunications
Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 705 can include being used to perform
The known circuit of these functions, it includes but is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one
Individual or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identify mould
Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 706, it is mainly used in receiving voice data from Peripheral Interface 703, the voice data is converted into telecommunications
Number, and the electric signal is sent to loudspeaker 711.
Loudspeaker 711, for the voice signal for receiving mobile phone from wireless network by RF circuits 705, it is reduced to sound
And play the sound to user.
Power management chip 708, the hardware for being connected by CPU702, I/O subsystem and Peripheral Interface are powered
And power management.
Electronic equipment provided in an embodiment of the present invention, touch key-press can be effectively reduced on electronic equipment by the feelings of false triggering
Condition occurs.
The executable present invention of responding device, storage medium and electronic equipment of the touch key-press provided in above-described embodiment appoints
The response method for the touch key-press that meaning embodiment is provided, possess and perform the corresponding functional module of this method and beneficial effect.Not
The ins and outs of detailed description in the above-described embodiments, reference can be made to the response for the touch key-press that any embodiment of the present invention is provided
Method.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
- A kind of 1. response method of touch key-press, it is characterised in that including:When detecting the clicking operation for default touch key-press, suspend the response to the clicking operation, and start timing;Whether the feature for the touch point differed for judging to detect in touch-screen in preset duration meets preset requirement;If satisfied, then respond the clicking operation.
- 2. according to the method for claim 1, it is characterised in that the click behaviour detected for default touch key-press Make, including:Detect successively and event is pressed corresponding to default touch key-press and lifts event, confirmation is detected for default touch key-press Clicking operation.
- 3. according to the method for claim 1, it is characterised in that judge the not phase detected in preset duration in touch-screen Whether the feature of same touch point meets preset requirement, including:Whether the quantity for the touch point differed for judging to detect in touch-screen in preset duration is less than the first default value;If being less than, meet preset requirement.
- 4. according to the method for claim 1, it is characterised in that judge the not phase detected in preset duration in touch-screen Whether the feature of same touch point meets preset requirement, including:Whether the touch point differed for judging to detect in touch-screen in preset duration is in and the default touch key-press In corresponding predeterminable area;If it is not, then meet preset requirement.
- 5. according to the method for claim 4, it is characterised in that the center of the predeterminable area and the default touch key-press Center between line and touch-screen edge-perpendicular.
- 6. according to the method for claim 4, it is characterised in that judging in preset duration to detect not in touch-screen After whether identical touch point is in predeterminable area corresponding with the default touch key-press, in addition to:If so, whether the quantity of the touch point differed described in then judging is less than the second default value;If being less than, meet preset requirement.
- 7. according to any described methods of claim 1-6, it is characterised in that also include:If not satisfied, then determine that the clicking operation is carried out caused by default slide by mistake for user on the touch-screen Operation, ignores the clicking operation.
- A kind of 8. responding device of touch key-press, it is characterised in that including:Response pause module, for when detecting the clicking operation for default touch key-press, suspending to the clicking operation Response, and start timing;Respond judge module, for the feature of the touch point differed that judges to detect in touch-screen in preset duration whether Meet preset requirement;Response module, for when meeting the preset requirement, responding the clicking operation.
- 9. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor The response method of the touch key-press as described in any in claim 1-7 is realized during row.
- 10. a kind of electronic equipment, it is characterised in that including memory, processor and storage are on a memory and can be in processor The computer program of operation, it is characterised in that realize that claim 1-7 such as appoints described in the computing device during computer program The response method of touch key-press described in one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710497326.3A CN107340910B (en) | 2017-06-26 | 2017-06-26 | Touch key response method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710497326.3A CN107340910B (en) | 2017-06-26 | 2017-06-26 | Touch key response method and device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107340910A true CN107340910A (en) | 2017-11-10 |
CN107340910B CN107340910B (en) | 2020-09-01 |
Family
ID=60220963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710497326.3A Active CN107340910B (en) | 2017-06-26 | 2017-06-26 | Touch key response method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107340910B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108693986A (en) * | 2018-07-11 | 2018-10-23 | 歌尔科技有限公司 | A kind of touch plate response method, system and a kind of touch tablet and storage medium |
CN109891379A (en) * | 2017-08-03 | 2019-06-14 | 华为技术有限公司 | A kind of false-touch prevention method and terminal |
CN110192170A (en) * | 2017-12-11 | 2019-08-30 | 深圳市汇顶科技股份有限公司 | Touch controller, device, terminal and touch control method |
CN110286819A (en) * | 2019-06-25 | 2019-09-27 | 武汉深之度科技有限公司 | A kind of window management method and calculate equipment |
CN110502155A (en) * | 2019-07-16 | 2019-11-26 | 视联动力信息技术股份有限公司 | A kind of methods of exhibiting and device of shared data |
CN110737359A (en) * | 2019-09-05 | 2020-01-31 | Oppo(重庆)智能科技有限公司 | Point reporting method, touch screen and storage medium |
CN110989864A (en) * | 2019-11-28 | 2020-04-10 | 惠州市德赛西威汽车电子股份有限公司 | Mistaken touch prevention method for vehicle-mounted panel |
WO2020097799A1 (en) * | 2018-11-13 | 2020-05-22 | 深圳市柔宇科技有限公司 | Terminal device and touch response control method therefor |
CN112445531A (en) * | 2019-08-29 | 2021-03-05 | 珠海格力电器股份有限公司 | Method and device for preventing misoperation, computer equipment and storage medium |
CN112764564A (en) * | 2019-10-21 | 2021-05-07 | Oppo广东移动通信有限公司 | Touch information processing method and device, storage medium and electronic equipment |
CN112803938A (en) * | 2020-12-31 | 2021-05-14 | 美智光电科技股份有限公司 | Storage method and apparatus, switch apparatus, memory apparatus and readable storage medium |
CN113050830A (en) * | 2021-03-16 | 2021-06-29 | 上海商米科技集团股份有限公司 | Anti-interference processing method for touch screen of Android desktop cash register |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120084728A1 (en) * | 2010-10-05 | 2012-04-05 | Wen-Liang Huang | Button control system for medical touch screen and method thereof |
CN103582860A (en) * | 2011-05-30 | 2014-02-12 | 日本电气英富醍株式会社 | Portable terminal, key operation control method thereof, and program |
CN103870007A (en) * | 2014-03-10 | 2014-06-18 | 广东欧珀移动通信有限公司 | Control method and control system for key combination of mobile terminal |
CN104699392A (en) * | 2013-12-06 | 2015-06-10 | 深圳桑菲消费通信有限公司 | Method, device and intelligent terminal for preventing touch key from being wrongly triggered |
CN105808049A (en) * | 2016-02-26 | 2016-07-27 | 努比亚技术有限公司 | Control method and device for realizing mobile terminal |
CN106201292A (en) * | 2015-04-29 | 2016-12-07 | 小米科技有限责任公司 | Terminal false-touch prevention method and apparatus |
CN106527799A (en) * | 2016-10-26 | 2017-03-22 | 努比亚技术有限公司 | Method and device for preventing wrong operations of keys |
CN106648232A (en) * | 2016-12-16 | 2017-05-10 | 广东欧珀移动通信有限公司 | Method, device and terminal for preventing false triggering of touch keys |
-
2017
- 2017-06-26 CN CN201710497326.3A patent/CN107340910B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120084728A1 (en) * | 2010-10-05 | 2012-04-05 | Wen-Liang Huang | Button control system for medical touch screen and method thereof |
CN103582860A (en) * | 2011-05-30 | 2014-02-12 | 日本电气英富醍株式会社 | Portable terminal, key operation control method thereof, and program |
CN104699392A (en) * | 2013-12-06 | 2015-06-10 | 深圳桑菲消费通信有限公司 | Method, device and intelligent terminal for preventing touch key from being wrongly triggered |
CN103870007A (en) * | 2014-03-10 | 2014-06-18 | 广东欧珀移动通信有限公司 | Control method and control system for key combination of mobile terminal |
CN106201292A (en) * | 2015-04-29 | 2016-12-07 | 小米科技有限责任公司 | Terminal false-touch prevention method and apparatus |
CN105808049A (en) * | 2016-02-26 | 2016-07-27 | 努比亚技术有限公司 | Control method and device for realizing mobile terminal |
CN106527799A (en) * | 2016-10-26 | 2017-03-22 | 努比亚技术有限公司 | Method and device for preventing wrong operations of keys |
CN106648232A (en) * | 2016-12-16 | 2017-05-10 | 广东欧珀移动通信有限公司 | Method, device and terminal for preventing false triggering of touch keys |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109891379A (en) * | 2017-08-03 | 2019-06-14 | 华为技术有限公司 | A kind of false-touch prevention method and terminal |
CN110192170A (en) * | 2017-12-11 | 2019-08-30 | 深圳市汇顶科技股份有限公司 | Touch controller, device, terminal and touch control method |
CN108693986A (en) * | 2018-07-11 | 2018-10-23 | 歌尔科技有限公司 | A kind of touch plate response method, system and a kind of touch tablet and storage medium |
CN112703467A (en) * | 2018-11-13 | 2021-04-23 | 深圳市柔宇科技股份有限公司 | Terminal device and touch response control method thereof |
WO2020097799A1 (en) * | 2018-11-13 | 2020-05-22 | 深圳市柔宇科技有限公司 | Terminal device and touch response control method therefor |
CN110286819A (en) * | 2019-06-25 | 2019-09-27 | 武汉深之度科技有限公司 | A kind of window management method and calculate equipment |
CN110286819B (en) * | 2019-06-25 | 2021-07-16 | 武汉深之度科技有限公司 | Window management method and computing device |
CN110502155A (en) * | 2019-07-16 | 2019-11-26 | 视联动力信息技术股份有限公司 | A kind of methods of exhibiting and device of shared data |
CN112445531A (en) * | 2019-08-29 | 2021-03-05 | 珠海格力电器股份有限公司 | Method and device for preventing misoperation, computer equipment and storage medium |
CN110737359A (en) * | 2019-09-05 | 2020-01-31 | Oppo(重庆)智能科技有限公司 | Point reporting method, touch screen and storage medium |
CN110737359B (en) * | 2019-09-05 | 2022-10-25 | Oppo(重庆)智能科技有限公司 | Point reporting method, touch screen and storage medium |
CN112764564A (en) * | 2019-10-21 | 2021-05-07 | Oppo广东移动通信有限公司 | Touch information processing method and device, storage medium and electronic equipment |
CN112764564B (en) * | 2019-10-21 | 2022-10-21 | Oppo广东移动通信有限公司 | Touch information processing method and device, storage medium and electronic equipment |
CN110989864A (en) * | 2019-11-28 | 2020-04-10 | 惠州市德赛西威汽车电子股份有限公司 | Mistaken touch prevention method for vehicle-mounted panel |
CN112803938A (en) * | 2020-12-31 | 2021-05-14 | 美智光电科技股份有限公司 | Storage method and apparatus, switch apparatus, memory apparatus and readable storage medium |
CN113050830A (en) * | 2021-03-16 | 2021-06-29 | 上海商米科技集团股份有限公司 | Anti-interference processing method for touch screen of Android desktop cash register |
Also Published As
Publication number | Publication date |
---|---|
CN107340910B (en) | 2020-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107340910A (en) | A kind of response method of touch key-press, device, storage medium and electronic equipment | |
EP3336679B1 (en) | Method and terminal for preventing unintentional triggering of a touch key and storage medium | |
CN106855784A (en) | Prevent method, device and the terminal of touch key-press false triggering | |
CN106775087B (en) | Touch screen control method and device of mobile terminal and mobile terminal | |
CN106708407B (en) | Prevent the method, device and mobile terminal of touch key-press false triggering | |
WO2018107900A1 (en) | Method and device for preventing mistouch on touch screen, mobile terminal, and storage medium | |
CN107294522A (en) | Response method, device, storage medium and electronic equipment based on touch key-press | |
CN106681635B (en) | Split screen false touch prevention method and device and mobile terminal | |
CN106681554B (en) | A kind of control method of mobile terminal touch screen, device and mobile terminal | |
CN106502470A (en) | Prevent method, device and the terminal of touch key-press false triggering | |
CN106708263A (en) | Method and device for preventing mistaken touch of touch screens and mobile terminal | |
CN106681555A (en) | Touch screen control method and device of mobile terminal and mobile terminal | |
CN106527818A (en) | Control method and device for touch operation on mobile terminal, and mobile terminal | |
CN106886766B (en) | A kind of fingerprint identification method, fingerprint recognition circuit and mobile terminal | |
CN107395889A (en) | Reduce method, apparatus, storage medium and the mobile terminal of mobile terminal power consumption | |
CN106775405A (en) | A kind of touch-screen false-touch prevention method of mobile terminal, device and mobile terminal | |
WO2012075732A1 (en) | Input method and device applied to digital terminal | |
CN107357458B (en) | Touch key response method and device, storage medium and mobile terminal | |
CN107463290A (en) | Response control mehtod, device, storage medium and the mobile terminal of touch operation | |
US9250801B2 (en) | Unlocking method, portable electronic device and touch-sensitive device | |
CN106708363A (en) | Mistaken touch preventive method and device for display interface and mobile terminal | |
CN106708520A (en) | Touch screen control method and device of mobile terminal and mobile terminal | |
CN106708409B (en) | A kind of response method of popup menu, device and mobile terminal | |
CN106708408A (en) | Method and device for preventing spurious triggering of touch keys and terminal | |
CN107105090A (en) | A kind of control method, device and the mobile terminal of suspension button |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |