CN107357458A - Response method, device, storage medium and the mobile terminal of touch key-press - Google Patents

Response method, device, storage medium and the mobile terminal of touch key-press Download PDF

Info

Publication number
CN107357458A
CN107357458A CN201710538091.8A CN201710538091A CN107357458A CN 107357458 A CN107357458 A CN 107357458A CN 201710538091 A CN201710538091 A CN 201710538091A CN 107357458 A CN107357458 A CN 107357458A
Authority
CN
China
Prior art keywords
touch
touch event
button
screen
event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710538091.8A
Other languages
Chinese (zh)
Other versions
CN107357458B (en
Inventor
郭明强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710538091.8A priority Critical patent/CN107357458B/en
Publication of CN107357458A publication Critical patent/CN107357458A/en
Application granted granted Critical
Publication of CN107357458B publication Critical patent/CN107357458B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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/0488Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The embodiment of the invention discloses the response method of touch key-press, device, storage medium and mobile terminal.This method includes:When detecting screen touch event, touch location corresponding to screen touch event is obtained;Judge touch location whether in predeterminable area;If judging, touch location is in predeterminable area, when detecting button touch event, responds button touch event.The embodiment of the present invention is by using above-mentioned technical proposal, when screen touch event and button touch event clash, can the touch location according to corresponding to screen touch event be rationally confirmed whether to respond button touch event.

Description

Response method, device, storage medium and the mobile terminal of touch key-press
Technical field
The present embodiments relate to technical field of touch control, more particularly to the response method of touch key-press, device, storage medium And mobile terminal.
Background technology
With the fast development of touch technology, touch-screen and touch key-press are widely used to mobile phone and tablet personal computer etc. In mobile terminal.According to the difference of touch sensing principle, the classification of touch-screen and touch key-press mainly includes resistive touch class Type and capacitance touch type.Wherein, capacitance touch type turns into current main flow.
Based on allow mobile terminal screen on can show more contents and lifted user perception experience etc. factor, The size of touch-screen is increasing, so the position of touch key-press and touch-screen is generally closer, mistaken touch easily occurs.
The content of the invention
The embodiment of the present invention provides response method, device, storage medium and the mobile terminal of touch key-press, can optimize tactile Touch the response scheme of button.
In a first aspect, the embodiments of the invention provide a kind of response method of touch key-press, including:
When detecting screen touch event, touch location corresponding to the screen touch event is obtained;
Judge the touch location whether in predeterminable area;
If judging, the touch location is in the predeterminable area, when detecting button touch event, response The button touch event.
Second aspect, the embodiments of the invention provide a kind of response method of touch key-press, including:
When detecting button touch event, judge whether to detect screen touch event;
If detecting the screen touch event, touch location corresponding to the screen touch event is obtained;
Judge the touch location whether in predeterminable area;
If judging, the touch location is in the predeterminable area, responds the button touch event.
The third aspect, the embodiments of the invention provide a kind of responding device of touch key-press, including:
Touch location acquisition module, it is corresponding for when detecting screen touch event, obtaining the screen touch event Touch location;
Touch location judge module, for judging the touch location whether in predeterminable area;
Key response control module, for after judging that the touch location is in the predeterminable area, examining When measuring button touch event, the button touch event is responded.
Fourth aspect, the embodiments of the invention provide a kind of responding device of touch key-press, including:
Screen touch event checking module, for when detecting button touch event, judging whether to detect that screen touches Touch event;
Touch location acquisition module, for when detecting the screen touch event, obtaining the screen touch event Corresponding touch location;
Touch location judge module, for judging the touch location whether in predeterminable area;
Key response control module, for when judging that the touch location is in the predeterminable area, responding institute State button touch event.
5th 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.
6th aspect, the embodiments of the invention provide a kind of mobile terminal, including memory, processor and is stored in storage On device and it can be realized in the computer program of processor operation described in the computing device during computer program as the present invention is real Apply the response method of the touch key-press described in example.
The response scheme of the touch key-press provided in the embodiment of the present invention, when detecting screen touch event, obtain screen Touch location corresponding to curtain touch event, if judging, touch location is in predeterminable area, is detecting button touch thing During part, button touch event is responded.By using above-mentioned technical proposal, rushed in screen touch event and button touch event When prominent, can the touch location according to corresponding to screen touch event be rationally confirmed whether to respond button touch event.
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 touch-screen schematic diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the response method of another touch key-press 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 structured flowchart of the responding device of another touch key-press provided in an embodiment of the present invention;
Fig. 8 is a kind of structural representation of mobile terminal 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..
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 mobile terminal In.As shown in figure 1, this method includes:
Step 101, when detecting screen touch event, obtain touch location corresponding to the screen touch event.
Exemplary, concretely smart mobile phone and tablet personal computer etc. are integrated with touch-screen to the mobile terminal in the present embodiment With the equipment of touch key-press.
Exemplary, when detecting the operation of the screen touch based on screen, that is, detect screen touch event.This implementation Screen touch operation in example may include the various forms of operations contacted with touch-screen, such as click, long-press and slip.
The touch-screen that existing mobile terminal uses has resistive touch screen, capacitive touch screen and piezoelectric type touch screen etc., When user touches touch-screen, touch-screen can detect touch information, and then identify the touch operation of user.With capacitive touch Exemplified by touching screen, touch-screen can sense the change of electric capacity, when user touches touch-screen, the change of touch screen induction to electric capacity Change, when changing value exceedes default touch threshold, illustrate the screen touch operation for detecting user, report screen touch event. When user touches screen, touch-screen can recognize touch information, and touch information includes x coordinate, y-coordinate, the chi of contact surface Very little (including long and width etc.) and fingers number for touching etc., after touch information is recognized, by input systems on upper strata Coordinate information is reported, touch information can be utilized to detect the touch operation that the somewhere of screen occurs, namely screen can be got Touch location corresponding to curtain touch event.
Step 102, judge the touch location whether in predeterminable area.
User using mobile terminal when, hand occurs unavoidably while touches the situation of touch-screen and touch key-press, this When screen touch event and button touch event just generate conflict, common processing mode is to set touch-screen and touch key-press The priority responded to touch event, most mobile terminals are excellent higher than touch key-press using the priority of touch-screen First level, that is, detecting can intercept during screen touch event to button touch event, that is, be not responding to button touch event.It is this The problem of mode is present be, finger, palm or other positions of user may imprudence false touch to touch-screen, in this case User intentionally presses touch key-press and will not also responded, and the use to user impacts.
Exemplary, the predeterminable area that easily will can be arranged to by the screen area of false touch in the present embodiment.Predeterminable area Determination mode can have many kinds, for example, user group can be investigated to different model or the gripping side of the mobile terminal of profile Situations such as formula and posture, the screen area of the easy false touch of most users is arranged to predeterminable area, and gone out by mobile terminal Setting before factory;And for example, user can also pass through holding mode input function, by mobile terminal before mobile terminal is begun to use The related data that user grips mobile terminal is gathered, the region of the easy false touch of user is gone out according to the data analysis of collection, by the area Domain is set as predeterminable area;For another example, user can set predeterminable area according to the use habit of oneself, for example, mobile terminal can root The region that the circle selection operation surrounds is set as predeterminable area according to the circle selection operation that user is acted on touch-screen.The present embodiment The quantity of predeterminable area is not specifically limited.
Preferably, may also include before this step:Set predeterminable area.For example, receiving user acts on touch-screen Selection operation is enclosed, the region that the circle selection operation surrounds is set as predeterminable area;And for example, the default of mobile terminal memory storage is read Region.
Further, after predeterminable area is set, may also include:Predeterminable area is shown, according to the adjustment of user operation pair The shape and/or size of the predeterminable area are adjusted.
In embodiments of the present invention, touch location corresponding to screen touch event is probably a point, it is also possible to one Region, specifically depending on contact situation of the user with touch-screen.It can touch position that the touch location, which is in predeterminable area, Put and be completely in predeterminable area or touch location is partially in predeterminable area.
If step 103, judging that the touch location is in the predeterminable area, button touch event is being detected When, respond the button touch event.
In the embodiment of the present invention, the type of touch key-press is not limited, preferably capacitance type touch key.For electric capacity For formula touch key-press, its course of work substantially is as follows:The capacitance that (will not do not touched or covered) under button normal condition Reference capacitance value is recorded as, if finger down touch key-press, then the capacitance of touch key-press can change, and changing value surpasses Touch key-press is considered as when crossing some threshold value to be pressed, and reports the event of pressing, and after finger leaves touch key-press, touch is pressed The capacitance of key can return to reference capacitance value, can now report the event of lifting, and lift event to this and respond, and perform and touch Touch feature operation corresponding to button.Described in the embodiment of the present invention detect button touch event can be specifically detect it is tactile Touch button press event or detect touch key-press lifts event.Detecting that lifting for touch key-press is right after event Button touch event is responded.
Exemplary, if touch location is in predeterminable area, illustrate that current screen touch event is likely to false touch Caused by touching, if detecting button touch event at this moment, the button touch event is responded, to avoid user intentional Button touch operation can not meet with a response, ensure the normal use of user.
It is exemplary, respond button touch event mode can according to corresponding to button touch event touch key-press type To determine.For example, when touch key-press is Menu key, then the mode for responding button touch event can be that control mobile terminal is shown Menu interface;When touch key-press is main page key, then the mode for responding button touch event can be that control mobile terminal enters master Page (or desktop).
The response method of the touch key-press provided in the embodiment of the present invention, when detecting screen touch event, obtain screen Touch location corresponding to curtain touch event, if judging, touch location is in predeterminable area, is detecting button touch thing During part, button touch event is responded.By using above-mentioned technical proposal, rushed in screen touch event and button touch event When prominent, can the touch location according to corresponding to screen touch event be rationally confirmed whether to respond button touch event.
Further, the above method may also include:If judging, the touch location is not in the predeterminable area, When detecting button touch event, the button touch event is not responding to.When touch location is not in predeterminable area, Such as touch location and predeterminable area are not present and occured simultaneously or when touch location is only partially in predeterminable area, and screen can be explained Touch event is due to user's intended touch and caused, if detecting button touch event, is likely to user's imprudence and touches Touch key-press is arrived, so button touch event can be not responding to.
At present, in order to take into account the portability of mobile terminal and aesthetics, screen accounting becomes a measurement mobile terminal The New Set of performance.In order to pursue higher screen accounting, influence of the screen frame to visual effect, narrow frame or boundless are reduced What frame design had turned into that each mobile terminal manufacturer tried to be the first use is used to optimize the means of mobile terminal, and narrow frame and boundless frames shift Dynamic terminal is also increasingly favored by consumer.However, the mobile terminal designed using narrow frame or Rimless is to use Family is brought also can bring some puzzlements while more preferable visual experience for the use of user.Because frame is narrow or boundless Frame, user is when gripping mobile terminal, it is easy to which false touch is to platen edge is touched, so as to cause screen by mistaken touch.Work as the present invention When mobile terminal in embodiment is the mobile terminal designed using narrow frame or Rimless, traveling one can be entered to such scheme The optimization of step.
Preferably, predeterminable area is included positioned at the preset shape for touching platen edge and/or the region of size.
Fig. 2 is a kind of touch-screen schematic diagram of mobile terminal provided in an embodiment of the present invention, as shown in Fig. 2 mobile terminal The left and right sides of touch-screen 201 contain the first predeterminable area 202 and the second predeterminable area 203 respectively, when the hand of user touches When touching position 204, position 204 is located in the second predeterminable area 203, then corresponding to the screen touch event at touch location In in predeterminable area.Exemplary, the distance between the right margin of the first predeterminable area 202 and the left side edge of touch-screen 201 are The distance of 10 pixels.
It is understood that predeterminable area can also have other shapes or size, Fig. 2 is only illustratively.In Fig. 2 Predeterminable area is shaped as rectangle, and length is identical with the length of touch screen display area.The shape of predeterminable area can also be half Ellipse or other irregular shapes, size can be also configured according to actual conditions.In addition, the specific position of predeterminable area Putting can also be adjusted, for example, can be located at the lower left and/or lower right for touching platen edge.
Further, in order to strengthen the accuracy in detection to screen edge false touch, if judging, the touch location is in In the predeterminable area, then when detecting button touch event, the button touch event is responded, may particularly include:If sentence Break and the touch location and be in the predeterminable area, pressure value corresponding to screen touch event is obtained, by the pressure value Compared with pre-set pressure range, if the pressure value is not in the pre-set pressure range, detecting that button touches When touching event, the button touch event is responded.The pre-set pressure range corresponds to pressure when user normally touches predeterminable area Force value section.
Optionally, in the embodiment of the present invention, if judging, the touch location is in the predeterminable area, is being detected During to button touch event, the button touch event is responded, including:If judging, the touch location is in the preset areas In domain, then the state that the programmable button is intercepted to mark is arranged to pass through;When detecting button touch event, described in acquisition Programmable button intercepts the state of mark;According to programmable button interception mark by state, respond the button and touch thing Part.
It is understood that on the basis of the above, if judging, the touch location is not in the predeterminable area, When detecting button touch event, the button touch event is not responding to, may particularly include:If judge the touch location It is not in the predeterminable area, then the state that the programmable button is intercepted to mark is arranged to intercept;Detecting that button touches When touching event, the state that the programmable button intercepts mark is obtained;The interception state of mark is intercepted according to the programmable button, no Respond the button touch event.
Exemplary, it can be specifically a flag bit that programmable button, which intercepts mark, for example, when the numerical value on flag bit is It is by the way that the state that represented when the numerical value on flag bit is 1 (or ture) is to intercept that state is represented when 0 (or false).So set Putting is advantageous in that, when detecting button touch event, can quickly be determined whether by the numerical value read on flag bit To the button touch event, the response speed of touch key-press can be improved.
Optionally, before screen touch event is detected, in addition to:Programmable button is set to intercept mark.
Fig. 3 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 301, detect screen touch event.
Step 302, obtain touch location corresponding to screen touch event.
Step 303, touch location is judged whether in predeterminable area, if so, then performing step 304;Otherwise, step is performed Rapid 307.
Step 304, by programmable button intercept mark state be arranged to pass through.
In embodiments of the present invention, if the state that programmable button intercepts mark can be defaulted as intercepting, that is, it is being not detected by screen During curtain touch event, programmable button intercepts the state of mark to intercept, to be checked when measuring screen touch event, according to touch location Whether determine the need for being changed to pass through by interception in predeterminable area.
Step 305, judge whether to detect button touch event, if so, then performing step 306;Otherwise, step is repeated Rapid 307.
In the embodiment of the present invention, if when detecting button touch event, screen touch event, which has responded, to be finished, and explanation is pressed Key touch event does not conflict with screen touch event, then step 306 can not be performed, directly in response to button touch event.If When detecting button touch event, the touch location of screen touch event changes, then can return to step 303, sentences again It is disconnected whether to be in predeterminable area, determine that programmable button intercepts the state of mark according to result of determination.
Step 306, obtain the state that the programmable button intercepts mark.
Step 307, basis pass through condition responsive button touch event.
Step 308, by programmable button intercept mark state be arranged to intercept.
If it is understood that perform step 308 before, programmable button intercept mark state for intercept, then without Need to set.
Step 309, judge whether to detect button touch event, if so, then performing step 310;Otherwise, step is repeated Rapid 311.
In the embodiment of the present invention, if when detecting button touch event, screen touch event, which has responded, to be finished, and explanation is pressed Key touch event does not conflict with screen touch event, then step 310 can not be performed, directly in response to button touch event.If When detecting button touch event, the touch location of screen touch event changes, then can return to step 303, sentences again It is disconnected whether to be in predeterminable area, determine that programmable button intercepts the state of mark according to result of determination.
Step 310, obtain the state that the programmable button intercepts mark.
Step 311, the button touch event is not responding to according to interception state.
In the embodiment of the present invention when detecting button touch event, directly mark can be intercepted by obtaining programmable button State determines the need for intercepting button touch event, ensures the response speed of touch key-press.
Fig. 4 is the schematic flow sheet of the response method of another touch key-press provided in an embodiment of the present invention, and this method can To be 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 mobile whole In end.As shown in figure 4, this method includes:
Step 401, when detecting button touch event, judge whether to detect screen touch event.
Exemplary, concretely smart mobile phone and tablet personal computer etc. are integrated with touch-screen to the mobile terminal in the present embodiment With the equipment of touch key-press.
It is exemplary, detect button touch event can be specifically detect touch key-press press event or detection Event is lifted to touch key-press.Preferably detect touch key-press determined whether when pressing event detect that screen touches Touch event.
If step 402, detecting the screen touch event, obtain and position is touched corresponding to the screen touch event Put.
Phase in above-described embodiment is can refer on screen touch event and the detail for obtaining touch location inside the Pass Hold.
Step 403, judge the touch location whether in predeterminable area.
Detail on predeterminable area can refer to the related content in above-described embodiment.Preferably, the preset areas Domain is included positioned at the preset shape for touching platen edge and/or the region of size.
If step 404, judging that the touch location is in the predeterminable area, respond the button and touch thing Part.
It is exemplary, if detect button touch event be specifically detect touch key-press press event, detecting To touch key-press lift event after respond the button touch event.
The response method of the touch key-press provided in the embodiment of the present invention, when detecting button touch event, if detection To screen touch event, then touch location corresponding to the screen touch event is obtained, the touch location is in if judging In predeterminable area, illustrate that touch of the active user to screen is probably false touch, button touch event will not be intercepted, normally Respond button touch event.By using above-mentioned technical proposal, when screen touch event and button touch event clash, Can the touch location according to corresponding to screen touch event be rationally confirmed whether respond button touch event.
Fig. 5 is the schematic flow sheet of the response method of another touch key-press provided in an embodiment of the present invention
Step 501, detect button touch event.
Step 502, judge whether to detect screen touch event, if so, then performing step 503;Otherwise, step is performed 506。
Step 503, obtain touch location corresponding to screen touch event.
Step 504, touch location is judged whether in predeterminable area, if so, then performing step 506;Otherwise, step is performed Rapid 505;
Step 505, it is not responding to the button touch event.
Step 506, the response button touch event.
The response method of touch key-press provided in an embodiment of the present invention, when detecting button touch event, detect screen Curtain touch event, illustrates that two events clash, false touch be present, according to touch location corresponding to screen touch event It can decide whether to be screen there occurs false touch, if false touch, normal response button touch event, otherwise to button occur for screen Touch event is intercepted, ensure that touch key-press screen occur false touch when can normal response, in turn ensure that screen touch Button is touched to occur to be disturbed by button touch event during false touch.
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 mobile terminal, can by perform the response method of touch key-press control touch by The response of key.As shown in fig. 6, the device includes:
Touch location acquisition module 601, for when detecting screen touch event, obtaining the screen touch event pair The touch location answered;
Touch location judge module 602, for judging the touch location whether in predeterminable area;
Key response control module 603, for when judging that the touch location is in the predeterminable area, examining When measuring button touch event, the button touch event is responded.If it is used to judge that the touch location is in described pre- If in region, then when detecting button touch event, respond the button touch event.
The responding device of touch key-press provided in an embodiment of the present invention, when detecting screen touch event, obtain screen Touch location corresponding to touch event, if judging, touch location is in predeterminable area, is detecting button touch event When, respond button touch event.By using above-mentioned technical proposal, clashed in screen touch event and button touch event When, can the touch location according to corresponding to screen touch event be rationally confirmed whether respond button touch event.
Optionally, key response control module is additionally operable to:If judging, the touch location is not in the predeterminable area It is interior, then when detecting button touch event, it is not responding to the button touch event.
Optionally, the predeterminable area is included positioned at the preset shape for touching platen edge and/or the region of size.
Optionally, if judging, the touch location is in the predeterminable area, is detecting button touch event When, the button touch event is responded, including:
If judging, the touch location is in the predeterminable area, and the state that programmable button is intercepted to mark is set To pass through;
When detecting button touch event, the state that the programmable button intercepts mark is obtained;
According to programmable button interception mark by state, the button touch event is responded.
Fig. 7 is the structured flowchart of the responding device of another touch key-press provided in an embodiment of the present invention, and the device can be by Software and/or hardware are realized, are typically integrated in mobile terminal, can be touched by performing the response method of touch key-press to control The response of button.As shown in fig. 7, the device includes:
Screen touch event checking module 701, for when detecting button touch event, judging whether to detect screen Touch event;
Touch location acquisition module 702, for when detecting the screen touch event, obtaining the screen touch thing Touch location corresponding to part;
Touch location judge module 703, for judging the touch location whether in predeterminable area;
Key response control module 704, for when judging that the touch location is in the predeterminable area, responding The button touch event.
The responding device of touch key-press provided in an embodiment of the present invention, when detecting button touch event, if detecting Screen touch event, then touch location corresponding to the screen touch event is obtained, the touch location is in pre- if judging It is normal to ring if in region, illustrating that touch of the active user to screen is probably false touch, button touch event will not be intercepted Answer button touch event.By using above-mentioned technical proposal, when screen touch event and button touch event clash, energy Enough touch locations according to corresponding to screen touch event are rationally confirmed whether to respond button touch event.
Optionally, the predeterminable area is included positioned at the preset shape for touching platen edge and/or the region of size.
The embodiment of the present invention also provides a kind of storage medium for including computer executable instructions, and the computer can perform Instruct includes when being performed by computer processor for the response method for performing touch key-press, this method:
When detecting screen touch event, touch location corresponding to the screen touch event is obtained;
Judge the touch location whether in predeterminable area;
If judging, the touch location is in the predeterminable area, when detecting button touch event, response The button touch event.
Or this method includes:
When detecting button touch event, judge whether to detect screen touch event;
If detecting the screen touch event, touch location corresponding to the screen touch event is obtained;
Judge the touch location whether in predeterminable area;
If judging, the touch location is in the predeterminable area, responds the button touch event.
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 mobile terminal, provided in an embodiment of the present invention touch can be integrated in the mobile terminal Touch the responding device of button.Fig. 8 is a kind of structural representation of mobile terminal provided in an embodiment of the present invention.As shown in figure 8, should Mobile terminal can include:Housing (not shown), touch key-press (not shown), memory 801, central processing unit (Central Processing Unit, CPU) 802 (also known as processor, hereinafter referred to as CPU), circuit board (not shown) and Power circuit (not shown).The circuit board is placed in the interior volume that the housing surrounds;The CPU802 and described Memory 801 is arranged on the circuit board;The power circuit, for each circuit or the device confession for the mobile terminal Electricity;The memory 801, for storing executable program code;The CPU802 is stored by reading in the memory 801 Executable program code run computer program corresponding with the executable program code, to realize following steps:
When detecting screen touch event, touch location corresponding to the screen touch event is obtained;
Judge the touch location whether in predeterminable area;
If judging, the touch location is in the predeterminable area, when detecting button touch event, response The button touch event.
Or realize following steps:
When detecting button touch event, judge whether to detect screen touch event;
If detecting the screen touch event, touch location corresponding to the screen touch event is obtained;
Judge the touch location whether in predeterminable area;
If judging, the touch location is in the predeterminable area, responds the button touch event.
The mobile terminal also includes:Peripheral Interface 803, RF (Radio Frequency, radio frequency) circuit 805, audio-frequency electric Road 806, loudspeaker 811, power management chip 808, input/output (I/O) subsystem 809, touch-screen 812, other input/controls Control equipment 810 and outside port 804, these parts are communicated by one or more communication bus or signal wire 807.
It should be understood that diagram mobile terminal 800 is only an example of mobile terminal, and mobile terminal 800 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 mobile terminal for being used to control touch key-press to respond that the present embodiment provides is described in detail below, the shifting Dynamic terminal is by taking mobile phone as an example.
Memory 801, the memory 801 can be accessed by CPU802, Peripheral Interface 803 etc., and the memory 801 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 CPU802 and deposited by Peripheral Interface 803, the Peripheral Interface 803 Reservoir 801.
I/O subsystems 809, the I/O subsystems 809 can be by the input/output peripherals in equipment, such as touch-screen 812 With other input/control devicess 810, Peripheral Interface 803 is connected to.I/O subsystems 809 can include the He of display controller 8091 For controlling one or more input controllers 8092 of other input/control devicess 810.Wherein, one or more input controls Device 8092 processed receives electric signal from other input/control devicess 810 or sends electric signal to other input/control devicess 810, Other input/control devicess 810 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 8092 can with it is following any one be connected:Keyboard, infrared port, The instruction equipment of USB interface and such as mouse.
Touch-screen 812, the touch-screen 812 are the input interface and output interface between customer mobile terminal and user, Visual output display can be included into figure, text, icon, video etc. to user, visual output.
Display controller 8091 in I/O subsystems 809 receives electric signal from touch-screen 812 or sent out to touch-screen 812 Electric signals.Touch-screen 812 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 8091 The interaction of user interface object on touch-screen 812, that is, realize man-machine interaction, the user interface being shown on touch-screen 812 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 805, 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 805 receive and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 805 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 805 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 806, it is mainly used in receiving voice data from Peripheral Interface 803, the voice data is converted into telecommunications Number, and the electric signal is sent to loudspeaker 811.
Loudspeaker 811, for the voice signal for receiving mobile phone from wireless network by RF circuits 805, it is reduced to sound And play the sound to user.
Power management chip 808, the hardware for being connected by CPU802, I/O subsystem and Peripheral Interface are powered And power management.
Mobile terminal provided in an embodiment of the present invention, when screen touch event and button touch event clash, energy Enough touch locations according to corresponding to screen touch event are rationally confirmed whether to respond button touch event.
The executable present invention of responding device, storage medium and mobile terminal 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)

  1. A kind of 1. response method of touch key-press, it is characterised in that including:
    When detecting screen touch event, touch location corresponding to the screen touch event is obtained;
    Judge the touch location whether in predeterminable area;
    If judging, the touch location is in the predeterminable area, when detecting button touch event, described in response Button touch event.
  2. 2. according to the method for claim 1, it is characterised in that also include:
    If judging, the touch location is not in the predeterminable area, when detecting button touch event, is not responding to The button touch event.
  3. 3. according to the method for claim 1, it is characterised in that the predeterminable area is included positioned at the default of touch platen edge The region of shape and/or size.
  4. 4. according to the method for claim 1, it is characterised in that if judging, the touch location is in the predeterminable area It is interior, then when detecting button touch event, the button touch event is responded, including:
    If judging, the touch location is in the predeterminable area, and the state that programmable button is intercepted to mark is arranged to logical Cross;
    When detecting button touch event, the state that the programmable button intercepts mark is obtained;
    According to programmable button interception mark by state, the button touch event is responded.
  5. A kind of 5. response method of touch key-press, it is characterised in that including:
    When detecting button touch event, judge whether to detect screen touch event;
    If detecting the screen touch event, touch location corresponding to the screen touch event is obtained;
    Judge the touch location whether in predeterminable area;
    If judging, the touch location is in the predeterminable area, responds the button touch event.
  6. 6. according to the method for claim 5, it is characterised in that the predeterminable area is included positioned at the default of touch platen edge The region of shape and/or size.
  7. A kind of 7. responding device of touch key-press, it is characterised in that including:
    Touch location acquisition module, touched for when detecting screen touch event, obtaining corresponding to the screen touch event Touch position;
    Touch location judge module, for judging the touch location whether in predeterminable area;
    Key response control module, for when judging that the touch location is in the predeterminable area, detect by During key touch event, the button touch event is responded.
  8. A kind of 8. responding device of touch key-press, it is characterised in that including:
    Screen touch event checking module, for when detecting button touch event, judging whether to detect screen touch thing Part;
    Touch location acquisition module, it is corresponding for when detecting the screen touch event, obtaining the screen touch event Touch location;
    Touch location judge module, for judging the touch location whether in predeterminable area;
    Key response control module, for when judging that the touch location is in the predeterminable area, being pressed described in response Key touch event.
  9. 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-6 is realized during row.
  10. 10. a kind of mobile terminal, 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-6 such as appoints described in the computing device during computer program The response method of touch key-press described in one.
CN201710538091.8A 2017-07-04 2017-07-04 Touch key response method and device, storage medium and mobile terminal Expired - Fee Related CN107357458B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710538091.8A CN107357458B (en) 2017-07-04 2017-07-04 Touch key response method and device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710538091.8A CN107357458B (en) 2017-07-04 2017-07-04 Touch key response method and device, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN107357458A true CN107357458A (en) 2017-11-17
CN107357458B CN107357458B (en) 2021-05-04

Family

ID=60292998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710538091.8A Expired - Fee Related CN107357458B (en) 2017-07-04 2017-07-04 Touch key response method and device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN107357458B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009033A (en) * 2017-12-25 2018-05-08 北京奇虎科技有限公司 Simulate touch control method, device and mobile terminal
CN109725963A (en) * 2018-11-22 2019-05-07 努比亚技术有限公司 A kind of implementation method, terminal and the computer readable storage medium of non-rectangle view
WO2020001193A1 (en) * 2018-06-29 2020-01-02 奇酷互联网络科技(深圳)有限公司 Gesture recognition method and apparatus, readable storage medium and mobile terminal
CN111488101A (en) * 2020-04-10 2020-08-04 得到(天津)文化传播有限公司 Event monitoring response method, device, equipment and storage medium
CN112152602A (en) * 2020-09-16 2020-12-29 Tcl空调器(中山)有限公司 Touch key setting method, touch panel, household appliance and storage medium
CN112947839A (en) * 2021-02-08 2021-06-11 深圳市慧为智能科技股份有限公司 System rotation method, device, equipment and computer readable storage medium
WO2022016987A1 (en) * 2020-07-21 2022-01-27 Oppo广东移动通信有限公司 Response method and apparatus for application program, and electronic device, and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102375682A (en) * 2010-08-14 2012-03-14 三星电子株式会社 System and method for preventing touch malfunction in a mobile device
US20130100061A1 (en) * 2011-10-24 2013-04-25 Kyocera Corporation Mobile terminal and controlling method thereof
CN106293283A (en) * 2015-06-05 2017-01-04 小米科技有限责任公司 Button triggering method, device and terminal
CN106406904A (en) * 2016-09-30 2017-02-15 联想(北京)有限公司 Information processing method, electronic equipment and information processing device
CN106708263A (en) * 2016-12-16 2017-05-24 广东欧珀移动通信有限公司 Method and device for preventing mistaken touch of touch screens and mobile terminal
CN106775084A (en) * 2016-12-16 2017-05-31 广东欧珀移动通信有限公司 A kind of false-touch prevention method of touch-screen, device and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102375682A (en) * 2010-08-14 2012-03-14 三星电子株式会社 System and method for preventing touch malfunction in a mobile device
US20130100061A1 (en) * 2011-10-24 2013-04-25 Kyocera Corporation Mobile terminal and controlling method thereof
CN106293283A (en) * 2015-06-05 2017-01-04 小米科技有限责任公司 Button triggering method, device and terminal
CN106406904A (en) * 2016-09-30 2017-02-15 联想(北京)有限公司 Information processing method, electronic equipment and information processing device
CN106708263A (en) * 2016-12-16 2017-05-24 广东欧珀移动通信有限公司 Method and device for preventing mistaken touch of touch screens and mobile terminal
CN106775084A (en) * 2016-12-16 2017-05-31 广东欧珀移动通信有限公司 A kind of false-touch prevention method of touch-screen, device and mobile terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009033A (en) * 2017-12-25 2018-05-08 北京奇虎科技有限公司 Simulate touch control method, device and mobile terminal
WO2020001193A1 (en) * 2018-06-29 2020-01-02 奇酷互联网络科技(深圳)有限公司 Gesture recognition method and apparatus, readable storage medium and mobile terminal
CN109725963A (en) * 2018-11-22 2019-05-07 努比亚技术有限公司 A kind of implementation method, terminal and the computer readable storage medium of non-rectangle view
CN111488101A (en) * 2020-04-10 2020-08-04 得到(天津)文化传播有限公司 Event monitoring response method, device, equipment and storage medium
CN111488101B (en) * 2020-04-10 2021-09-10 得到(天津)文化传播有限公司 Event monitoring response method, device, equipment and storage medium
WO2022016987A1 (en) * 2020-07-21 2022-01-27 Oppo广东移动通信有限公司 Response method and apparatus for application program, and electronic device, and readable storage medium
CN112152602A (en) * 2020-09-16 2020-12-29 Tcl空调器(中山)有限公司 Touch key setting method, touch panel, household appliance and storage medium
CN112152602B (en) * 2020-09-16 2023-11-10 Tcl空调器(中山)有限公司 Touch key setting method, touch panel, household appliance and storage medium
CN112947839A (en) * 2021-02-08 2021-06-11 深圳市慧为智能科技股份有限公司 System rotation method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN107357458B (en) 2021-05-04

Similar Documents

Publication Publication Date Title
CN107357458A (en) Response method, device, storage medium and the mobile terminal of touch key-press
US10747368B2 (en) Method and device for preventing false-touch on touch screen, mobile terminal and storage medium
CN106775087B (en) Touch screen control method and device of mobile terminal and mobile terminal
US10996834B2 (en) Touchscreen apparatus user interface processing method and touchscreen apparatus
EP3336679B1 (en) Method and terminal for preventing unintentional triggering of a touch key and storage medium
US9671893B2 (en) Information processing device having touch screen with varying sensitivity regions
CN106681555A (en) Touch screen control method and device of mobile terminal and mobile terminal
CN106775407A (en) A kind of touch-screen control method of mobile terminal, device and mobile terminal
CN106598335A (en) Touch screen control method and apparatus for mobile terminal, and mobile terminal
CN106775405A (en) A kind of touch-screen false-touch prevention method of mobile terminal, device and mobile terminal
CN106681554B (en) A kind of control method of mobile terminal touch screen, device and mobile terminal
CN106855784A (en) Prevent method, device and the terminal of touch key-press false triggering
CN107294522A (en) Response method, device, storage medium and electronic equipment based on touch key-press
CN106502470A (en) Prevent method, device and the terminal of touch key-press false triggering
CN107340910A (en) A kind of response method of touch key-press, device, storage medium and electronic equipment
CN106775086A (en) A kind of touch-screen control method of mobile terminal, device and mobile terminal
KR20100081575A (en) Apparatus and method for controlling on/off of liquid crystal display in a portable terminal
CN107422915A (en) Response control mehtod, device, storage medium and the terminal of touch-screen
CN107390923B (en) Screen false touch prevention method and device, storage medium and terminal
CN106648233A (en) Touch screen control method and device of mobile terminal and mobile terminal
CN106708520A (en) Touch screen control method and device of mobile terminal and mobile terminal
CN107463290A (en) Response control mehtod, device, storage medium and the mobile terminal of touch operation
CN107390931A (en) Response control mehtod, device, storage medium and the mobile terminal of touch operation
CN106775404A (en) A kind of false-touch prevention method of display interface, device and mobile terminal
WO2021213274A1 (en) Method and apparatus for preventing false touch of mobile terminal, and computer device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210504

CF01 Termination of patent right due to non-payment of annual fee