CN106708408A - Method and device for preventing spurious triggering of touch keys and terminal - Google Patents

Method and device for preventing spurious triggering of touch keys and terminal Download PDF

Info

Publication number
CN106708408A
CN106708408A CN201611165171.5A CN201611165171A CN106708408A CN 106708408 A CN106708408 A CN 106708408A CN 201611165171 A CN201611165171 A CN 201611165171A CN 106708408 A CN106708408 A CN 106708408A
Authority
CN
China
Prior art keywords
touch
press
touch key
key
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.)
Pending
Application number
CN201611165171.5A
Other languages
Chinese (zh)
Inventor
张强
葛以学
汪昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201611165171.5A priority Critical patent/CN106708408A/en
Publication of CN106708408A publication Critical patent/CN106708408A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/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
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/83Protecting input, output or interconnection devices input devices, e.g. keyboards, mice or controllers thereof

Abstract

The invention discloses a method for device for preventing spurious triggering of touch keys and a terminal. The method comprises the following steps of: obtaining the current touch screen direction state; obtaining an application type of a currently displayed application program when the touch screen direction state is a first direction state; and locking a touch key area when the application type is same as a preset application type, so as to prevent the touch key area to respond a first type of touch operation for a touch key. According to the method and device and the terminal, the spurious triggering problems of returning to the home and interrupting the application programs due to carelessly touching the touch key of the touch screen are solved, so as to achieve the effect of preventing the touch key in the touch key area from spurious triggering.

Description

Prevent method, device and the terminal of touch key-press false triggering
Technical field
The present embodiments relate to touch screen technology, more particularly to a kind of method for preventing touch key-press false triggering, device And terminal.
Background technology
At present, touch-screen and touch key-press are typically provided with smart mobile phone.Touch-screen is used to show user mutual circle Face, and receive the input operation (such as click, slip etc.) of user.The generally neighbouring touch-screen of touch key-press is set, for reality The common functions such as existing HOME keys, return key, Menu key.When user plays game using smart mobile phone, finger enters on the touchscreen Occasional slides into the induction region of touch key-press during line slip operation, and then triggers the function of touch key-press, such as causes to return The false triggering problem such as desktop, interrupted application program.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of method for preventing touch key-press false triggering, device and terminal, to subtract The generation of few touch key-press false triggering.
In a first aspect, the embodiment of the invention provides a kind of method for preventing touch key-press false triggering, it is applied to have and touches The terminal of button and touch-screen is touched, methods described includes:
Obtain current touch screen direction state;
When the current touch screen direction state is first direction state, the application of currently displaying application program is obtained Type;
When the application type is identical with default application type, lock touch key-press region, with prevent it is described touch by Touch operation of the keypad domain response to the first kind of touch key-press.
Second aspect, the embodiment of the present invention additionally provides a kind of device for preventing touch key-press false triggering, and being integrated in has The terminal of touch key-press and touch-screen, described device includes:
Touch-screen state acquisition module, for obtaining current touch screen direction state;
Application type acquisition module, for when the current touch screen direction state is first direction state, obtaining and working as The application type of the application program of preceding display;
Area locking module, for when the application type is identical with default application type, locking touch key-press region, To prevent the touch operation of the first kind of the touch key-press region response to touch key-press.
The third aspect, the embodiment of the present invention additionally provides a kind of terminal, and the terminal includes:Housing, processor, memory, Circuit board and power circuit;
The circuit board is placed in the interior volume that the housing is surrounded;
The processor and the memory are arranged on the circuit board;
The power circuit, powers for each circuit or device for the terminal;
The memory, for storing executable program code;
The processor is run executable with described by reading the executable program code stored in the memory The corresponding program of program code, for performing:
Obtain current touch screen direction state;
When the current touch screen direction state is first direction state, the application of currently displaying application program is obtained Type;
When the application type is identical with default application type, lock touch key-press region, with prevent it is described touch by Touch operation of the keypad domain response to the first kind of touch key-press.
The present invention is by obtaining current touch screen direction state;It is first direction shape in the current touch screen direction state During state, the application type of currently displaying application program is obtained;When the application type is identical with default application type, locking Touch key-press region, to prevent the touch operation of the first kind of the touch key-press region response to touch key-press, solve by Encounter the touch key-press of touch-screen in imprudence, cause to return to the false triggering problems such as desktop, interrupted application program, having reached prevents The effect of the generation of the touch key-press false triggering in touch key-press region.
Brief description of the drawings
Fig. 1 is a kind of flow chart of method for preventing touch key-press false triggering provided in an embodiment of the present invention;
Fig. 2 is the exemplary plot of the transverse screen state in the method for preventing touch key-press false triggering provided in an embodiment of the present invention;
Fig. 3 is the exemplary plot of the portrait layout state in the method for preventing touch key-press false triggering provided in an embodiment of the present invention;
Fig. 4 is a kind of terminal schematic diagram in the method for preventing touch key-press false triggering provided in an embodiment of the present invention;
Fig. 5 is another terminal schematic diagram in the method for preventing touch key-press false triggering provided in an embodiment of the present invention;
Fig. 6 is the flow chart of the method that another kind provided in an embodiment of the present invention prevents touch key-press false triggering;
Fig. 7 is the flow chart of the method that another kind provided in an embodiment of the present invention prevents touch key-press false triggering;
Fig. 8 is the flow chart of the method that another kind provided in an embodiment of the present invention prevents touch key-press false triggering;
Fig. 9 is a kind of structured flowchart of device for preventing touch key-press false triggering provided in an embodiment of the present invention;
Figure 10 is a kind of structural representation of terminal provided in an embodiment of the present invention.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just Part rather than full content related to the present invention is illustrate only in description, accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The treatment described as flow chart or method.Although each step to be described as flow chart the treatment of order, many of which Step can be implemented concurrently, concomitantly or simultaneously.Additionally, the order of each step can be rearranged.When its operation The treatment can be terminated during completion, it is also possible to have the additional step being not included in accompanying drawing.The treatment can be with Corresponding to method, function, code, subroutine, subprogram etc..
Fig. 1 is a kind of flow chart of method for preventing touch key-press false triggering provided in an embodiment of the present invention, and the method should For the terminal with touch key-press and touch-screen, can be performed by preventing the device of touch key-press false triggering, wherein the dress Putting can be realized by software and/or hardware, typically can it is integrated in the terminal.As shown in figure 1, the method includes:
Step 101, acquisition current touch screen direction state.
Current touch screen direction state in the present embodiment includes first direction state or second direction state.Wherein, When user's gesture operation on the touchscreen easily makes finger enter the induction region of touch key-press, now touch-screen side is defined It is first direction state to state.In the present embodiment, first direction state is the transverse screen state shown in Fig. 2, second direction shape State is the portrait layout state shown in Fig. 3.In other embodiments, first direction state can be the portrait layout state shown in Fig. 3, accordingly Ground, second direction state is the transverse screen state shown in Fig. 2.
Such as, when user carries out viewing TV play, entertainment video or plays game, touch panel direction state can be adjusted It is transverse screen state, facilitates user to watch and operation game.When user is transmitted short message or calls, ordinary circumstance Under touch panel direction can be adjusted to portrait layout state, be user-friendly to.Therefore, the direction state of current touch screen is worked as with user Preceding mode of operation is relevant.
In the case that the operating system of terminal is Android system in the present embodiment, obtaining current touch screen direction state can be with Completed by android standard interfaces, when touch panel direction is obtained, there is two ways:
GetResources () .Get Configuration () .orientation and GetRequestedOrientation (), getConfiguration () .orientation are the sides for obtaining Current resource To;GetRequestedOrientation () is the direction for obtaining current request.
Activity be it is most basic in Android components be also the most commonly used four big component (Activity, Service One of service, Content Provider content providers, BroadcastReceiver radio receivers).Activity is one Individual application component a, there is provided touch-screen, user can be used to interaction to complete a certain task.Own in Activity Operation is all closely related with user, is a component being responsible for user mutual, can be by setContentView (View) To show specified control.In an android application, an Activity is exactly generally a single touch-screen, on it Face can show that some controls can also be monitored and process the event of user and respond.Entered by Intent between Activity Row communication.Judge that activity is that the method for transverse screen or portrait layout there are two kinds, one kind is to judge it is horizontal according to device configuration information Screen or portrait layout, another kind are to judge transverse screen or portrait layout according to device resolution.
Step 102, when the current touch screen direction state is first direction state, obtain currently displaying application journey The application type of sequence.
Application type in the present embodiment includes that social networking application, the application of digital map navigation class, net purchase pay class application, call and lead to The application of news class, the application of personal consumption class, the application of query facility class, the application of shooting beautification class, audio-visual broadcast message class application, books reading Class application, the application of browser class or game class application etc..The currently displaying application program can be installed for terminal Types of applications.
Exemplary, the terminal in the present embodiment is specifically as follows smart mobile phone and panel computer etc. and is integrated with touch-screen Equipment.When it is determined that terminal current touch screen direction state is transverse screen state, the application class of currently displaying application program is obtained Type.For example, the touch panel direction state of the currently used terminal of user is transverse screen state, obtaining currently displaying application program is The APP that so-and-so plays, and then judge that the application type of the APP is game class application.
Step 103, when the application type is identical with default application type, touch key-press region is locked, to prevent State touch operation of the touch key-press region response to the first kind of touch key-press.
In the present embodiment, the distribution of touch key-press is different because the brand and model of terminal is different.Fig. 4 is implementation of the present invention A kind of terminal schematic diagram in the method for preventing touch key-press false triggering that example is provided, Fig. 5 is provided in an embodiment of the present invention anti- The only another terminal schematic diagram in the method for touch key-press false triggering, as shown in Figure 4 and Figure 5, terminal includes touch key-press area Domain 1 and touch area 2.Touch area 2 refers to the region for display picture on touch-screen.Positioned at the touch in touch key-press region 1 Button typically may include at least one in return key, HOME keys, search key and Menu key.Positioned at touch key-press region 1 Touch key-press can be the capacitor induction type button independently of touch-screen as shown in Figure 5, or utilization as shown in Figure 4 The capacitor induction type button of touch screen induction circuit realiration.The touch key-press region is the band of position where touch key-press.
Default application type in the present embodiment be video class application, game class application or other be susceptible to false touch The application of type.If to get currently displaying application type be identical with default application type, present terminal is illustrated State is the situation for being susceptible to false touch, locking touch key-press region, with prevent the touch key-press region response to touch by The touch operation of the first kind of key.Wherein, the touch operation of the first kind is operation under normal circumstances on touch key-press The operation for responding, namely easily cause the operation of touch key-press false triggering, can be to click touch key-press, pressing touch key-press Pressure value is less than preset duration less than the pressing duration of preset pressure value or pressing touch key-press.
Exemplary, the terminal in the present embodiment can be smart mobile phone, and smart mobile phone current touch screen direction state is During transverse screen state, when the currently displaying application program of smart mobile phone is video class application, and default application type is video Class application, then the application type of currently displaying application program is identical with default application type, then lock touch key-press region, with Prevent the touch operation of the first kind of the touch key-press region response to touch key-press.
Exemplary, the terminal in the present embodiment can be smart mobile phone, and smart mobile phone current touch screen direction state is During transverse screen state, the currently displaying application program of smart mobile phone is video class application, and identical with default application type, and locking is touched Key area is touched, user clicks on return key, then will not be by the information reporting of return key.
Exemplary, the terminal in the present embodiment is specially smart mobile phone, when user sees TV play using smart mobile phone When, handset touch panel direction state is changed to transverse screen state, when user is not desired to viewing Current Content, by left and right Slide the operation of touch-screen to carry out forwarding operation, when user thinks that sound is less, by sliding up and down touch-screen Operate to be adjusted sound operation, when user is not desired to watch this collection TV play, by the mark for clicking on next collection To switch over next collection operation, may all occur to cause point touching due to the maloperation of user during these operations The situation of button, in this case, locking touch key-press region, to prevent the touch key-press region response to touch key-press The first kind touch operation, therefore, user click on locking after touch key-press region touch key-press, then do not report institute State the information of touch key-press.
The embodiment of the present invention is by obtaining current touch screen direction state;It is first in the current touch screen direction state During the state of direction, the application type of currently displaying application program is obtained;When the application type is identical with default application type When, touch key-press region is locked, to prevent the touch operation of the first kind of the touch key-press region response to touch key-press, The touch key-press due to accidentally encountering touch-screen is solved, causes to return to the false triggering problems such as desktop, interrupted application program, reached Prevent the effect of the generation of the touch key-press false triggering in touch key-press region.
Fig. 6 is the method flow schematic diagram that another kind provided in an embodiment of the present invention prevents touch key-press false triggering, this reality Apply example to be optimized based on above-described embodiment, in the present embodiment, after step " locking touch key-press region ", also wrap Include:When the unlocking signal to the touch key-press region is received, the lock-out state in the touch key-press region is released.
Accordingly, the method for the present embodiment comprises the following steps:
Step 201, acquisition current touch screen direction state.
Step 202, when the current touch screen direction state is first direction state, obtain currently displaying application journey The application type of sequence.
Step 203, when the application type is identical with default application type, touch key-press region is locked, to prevent State touch operation of the touch key-press region response to the first kind of touch key-press.
In the present embodiment, by way of taking locking touch key-press region, it is to avoid due to user's touch of key-press by accident area Domain and trigger some maloperations to cause to return to the situation of the false triggering such as desktop or interrupted application program, be prevented from touch key-press The generation of the touch key-press false triggering in region.
Step 204, when the unlocking signal to the touch key-press region is received, release the touch key-press region Lock-out state.
Optionally, the touch-screen includes touch area, and the unlocking signal includes:Act on the pre- of the touch area If hand signal, the touch operation to the Second Type of the touch key-press or current touch screen direction state are second direction shape State.The default hand signal typically operates in touch area, such as " L " shape hand signal, " √ " shape hand signal, in advance If hand signal is signal of the operation in touch area, independently of touch key-press region, user wants to realize certain using touch key-press During one operation, touch key-press region is unlocked by the default gesture, it is not necessary to solution is directly operable to touch key-press Lock, can further reduce the false triggering of touch key-press.When current touch screen direction state is detected for second direction state, Can also touch key-press region described in Rapid reversal lock-out state.
In the present embodiment, behind locking touch key-press region, the touch of the first kind in touch key-press region is detected No longer responded during operation, and the unlocking signal to touch key-press region is received by touch area or touch key-press region, that is, solved Lock signal includes the touch operation of Second Type of the operation in the signal of touch area or operation on touch key-press region.Second The touch operation of type is the operation for being difficult to cause touch key-press false triggering, can be the operation relative with first kind operation.
Exemplary, the touch-screen that existing terminal is used has resistive touch screen, capacitive touch screen and piezoelectric type to touch Screen etc., when user touches touch-screen, touch-screen can detect touch information, and then identify the touch operation of user.With electricity As a example by appearance formula touch-screen, touch-screen can sense the change of electric capacity, when user touches touch-screen, touch screen induction to electricity The change of appearance, recognizes touch information, touch information including x coordinate, y-coordinate, contact surface size (including long and width etc.) with And the finger quantity for touching etc., after touch information is recognized, coordinate information is reported to upper strata by input systems, just can profit The touch operation that the somewhere for detecting touch-screen with touch information occurs.
Optionally, the touch operation of the Second Type includes:It is same tactile in point touching key area at least twice Touch button, pressing touch key-press pressure value and exceed the pressing duration of preset pressure value or pressing touch key-press more than preset duration.
In the present embodiment, at least twice same touch key-press in point touching key area when, between clicking on twice Time interval within prefixed time interval, and be adopting consecutive click chemical reaction, can be with quick response user when receiving the unlocking signal The information of the touch key-press of click;The preset pressure value can be the pressure value bigger than the normal pressure value clicked on, when presetting It is long set it is more long than normal touch duration (such as normal touch when a length of 50 milliseconds, preset duration can be set to 1 second or 2 seconds), the present embodiment is not limited to this, when receiving any one in both unlocking signals, can be used with quick response The information of the touch key-press of family pressing.
In the present embodiment, if receiving the unlocking signal to the touch key-press region, release the touch and press The lock-out state of key range.That is, receiving default hand signal by touch area, or by touch key-press Region receive same touch key-press in point touching key area at least twice, press pressure value exceed preset pressure value or In the case that the pressing duration of pressing touch key-press exceedes any one unlocking signal in preset duration, then illustrate that user needs to touch Hair touch key-press, in this case, it is possible to release the lock-out state in touch key-press region.
Exemplary, the terminal in the present embodiment is the situation of smart mobile phone, and user watches video by smart mobile phone When, the touch panel direction state of smart mobile phone is transverse screen state, and in this case, user typically can be due to maloperation touching To touch key-press region, therefore, locking touch key-press region, when same tactile in user at least twice point touching key area When touching button, the lock-out state in the touch key-press region is released, detect user's point touching button and report button Information.
Exemplary, the terminal in the present embodiment is the situation of smart mobile phone, and user watches video by smart mobile phone When, the touch panel direction state of smart mobile phone is transverse screen state, and in this case, user typically can be due to maloperation touching To touch key-press region, therefore, locking touch key-press region when user is by default gesture touch key-press, releases institute The lock-out state in touch key-press region is stated, user's point touching button is detected and is reported key information.
The method for preventing touch key-press false triggering provided in an embodiment of the present invention, after locking touch key-press region, when When receiving the unlocking signal to the touch key-press region, the lock-out state in the touch key-press region is released.Can more have The generation of the touch key-press false triggering for preventing touch key-press region of effect, lifts Consumer's Experience.
On the basis of above-described embodiment, after the lock-out state for releasing the touch key-press region, also include:
When detecting to the touch operation in touch key-press region constantly, the touch operation is responded.
The lock-out state to touch key-press region is being released, if detect user touched to certain in touch key-press region Touch the touch operation of button, then respond the touch operation, the touch operation can be the first kind touch operation, or The touch operation of Second Type, such that it is able to realize the corresponding function of operation touch key-press, as detected user to return key Touch operation, then return to upper level.
Fig. 7 is the method flow schematic diagram that another kind provided in an embodiment of the present invention prevents touch key-press false triggering, this reality Apply example to be optimized based on above-described embodiment, in the present embodiment, " locking in the touch key-press region is released in step After state ", also include:When the unlocking signal is the click signal or pressing signal to the touch key-press in touch key-press region When, respond the information of the corresponding touch key-press of the unlocking signal.
Accordingly, the method for the present embodiment comprises the following steps:
Step 301, acquisition current touch screen direction state.
Step 302, when the current touch screen direction state is first direction state, obtain currently displaying application journey The application type of sequence.
Step 303, when the application type is identical with default application type, touch key-press region is locked, to prevent State touch operation of the touch key-press region response to the first kind of touch key-press.
Step 304, when the unlocking signal to the touch key-press region is received, release the touch key-press region Lock-out state.
Step 305, when the unlocking signal be to the click signal of the touch key-press in touch key-press region or pressing signal When, respond the information of the corresponding touch key-press of the unlocking signal.
Exemplary, may be resistive touch screen, capacitive touch screen because the species of smart mobile phone touch-screen is different With piezoelectric type touch screen etc..
In the present embodiment, the click signal is the signal that user is obtained by point touching button, the pressing letter Number for user by press touch key-press obtain signal.Click signal can be in point touching key area at least twice Same touch key-press, pressing signal can be that pressing touch key-press pressure value exceedes preset pressure value or presses pressing for touch key-press Pressure duration exceedes preset duration.
Exemplary, after the lock-out state for releasing the touch key-press region, if receiving unlocking signal, and it is When click signal to the touch key-press in touch key-press region or pressing signal, the locking shape in the touch key-press region is released State, and the corresponding touch key-press of unlocking signal described in quick response information.
Exemplary, the terminal in the present embodiment is specially smart mobile phone, when user sees TV play using smart mobile phone When, handset touch panel direction state is transverse screen state, and locking touch key-press region, user is clicked on and returned twice to touch-screen The operation of Hui Jian, then release the lock-out state in touch key-press region, reports return key information.
A kind of method for preventing touch key-press false triggering provided in an embodiment of the present invention, is releasing the touch key-press region Lock-out state after, increase when the unlocking signal is to the click signal of the touch key-press in touch key-press region or pressing letter Number when, respond the operation of the information of the corresponding touch key-press of the unlocking signal.By judging that unlocking signal is to touch key-press When the click signal or pressing signal of the touch key-press in region, the behaviour of the information of the corresponding touch key-press of the unlocking signal is responded Make, can more effectively reduce the generation of touch key-press false triggering, unlocking signal is identified automatically and is realized to touch by The quick response of key, lifts the experience of user.
Fig. 8 is the method flow schematic diagram that another kind provided in an embodiment of the present invention prevents touch key-press false triggering, this reality Apply example to be optimized based on above-described embodiment, in the present embodiment, after step " locking touch key-press region ", also wrap Include:When current touch screen direction state is detected for second direction state, the lock-out state in the touch key-press region is released.
Because second direction state is the state relative with first direction state, the application program for presetting application type is general The situation of touch key-press false triggering will not occur, therefore, if detecting current touch screen direction state for second direction shape During state, the lock-out state in the touch key-press region is released.Smart machine can be made to more conform to the demand of user, reduce mistake The generation of judgement so that it is more accurate that the situation to being susceptible to touch key-press false triggering judges, and then prevents touch key-press The generation of the touch key-press false triggering in region.
Accordingly, the method for the present embodiment comprises the following steps:
Step 401, acquisition current touch screen direction state.
Step 402, when the current touch screen direction state is first direction state, obtain currently displaying application journey The application type of sequence.
Step 403, when the application type is identical with default application type, touch key-press region is locked, to prevent State touch operation of the touch key-press region response to the first kind of touch key-press.
Step 404, when current touch screen direction state is detected for second direction state, release the touch key-press area The lock-out state in domain.
Wherein, second direction state is the states different from first direction state.If first direction state is transverse screen shape State, then second direction state is portrait layout state;If first direction state is portrait layout state, second direction state is transverse screen shape State.
In the present embodiment, after locking touch key-press region, if it is second to detect current touch screen direction state Direction state, then release the lock-out state in the touch key-press region.
Exemplary, the terminal in the present embodiment is specially smart mobile phone, when user sees TV play using smart mobile phone When, handset touch panel direction state is transverse screen state, locking touch key-press region, when user is by the touch panel direction shape of mobile phone When state is changed to portrait layout state, the lock-out state in the touch key-press region is released.At this moment, user clicks on a return key, i.e., Report the information of return key, the information that application layer response return key is reported.
The method method for preventing touch key-press false triggering provided in an embodiment of the present invention, locking touch key-press region it Afterwards, when current touch screen direction state is detected for second direction state, the lock-out state in the touch key-press region is released, The touch key-press due to accidentally encountering touch-screen can be more effectively solved, causes to return desktop, interrupted application program etc. by mistake Trigger Problems, have reached the effect of the generation for reducing touch key-press false triggering, while touch key-press region can quickly be released Lock-out state.
Fig. 9 is a kind of structured flowchart of device for preventing touch key-press false triggering provided in an embodiment of the present invention, the device Can be realized by software and/or hardware, can be typically integrated in the terminal with touch key-press and touch-screen, can prevented by execution The method of touch key-press false triggering is controlled come the touch-screen to terminal.As shown in figure 5, the device is obtained including touch-screen state Modulus block 501, application type acquisition module 502 and area locking module 503.
Wherein, touch-screen state acquisition module 501, for obtaining current touch screen direction state;Application type obtains mould Block 502, for when the current touch screen direction state is first direction state, obtaining answering for currently displaying application program Use type;Area locking module 503, for when the application type is identical with default application type, locking touch key-press area Domain, to prevent the touch operation of the first kind of the touch key-press region response to touch key-press.
The device for preventing touch key-press false triggering provided in an embodiment of the present invention, solves to encounter touch-screen due to imprudence Touch key-press, causes to return to the false triggering problems such as desktop, interrupted application program, has reached the generation for reducing touch key-press false triggering Effect.
On the basis of above-described embodiment, also include:
First latch-release module, for when the unlocking signal to the touch key-press region is received, releasing described The lock-out state in touch key-press region.
On the basis of above-described embodiment, the touch-screen includes touch area, and the unlocking signal includes:Act on institute State default hand signal, the touch operation to the Second Type of the touch key-press or the current touch screen direction shape of touch area State is second direction state.
On the basis of above-described embodiment, the touch operation of the Second Type includes:Point touching button at least twice Same touch key-press, pressing touch key-press pressure value in region exceed the pressing duration of preset pressure value or pressing touch key-press More than preset duration.
On the basis of above-described embodiment, also include:Respond module, for releasing the locking in the touch key-press region After state, when the touch operation to touch key-press region is detected, the touch operation is responded.
The embodiment of the present invention additionally provides a kind of terminal, including:Housing, processor, memory, circuit board and power supply electricity Road;
The circuit board is placed in the interior volume that the housing is surrounded;
The processor and the memory are arranged on the circuit board;
The power circuit, powers for each circuit or device for the terminal;
The memory, for storing executable program code;
The processor is run executable with described by reading the executable program code stored in the memory The corresponding program of program code, for performing:
Obtain current touch screen direction state;
When the current touch screen direction state is first direction state, the application of currently displaying application program is obtained Type;
When the application type is identical with default application type, lock touch key-press region, with prevent it is described touch by Touch operation of the keypad domain response to the first kind of touch key-press.
The terminal can include the device for preventing touch key-press false triggering that any embodiment of the present invention is provided.Figure 10 is this The structural representation of a kind of terminal that inventive embodiments are provided, as shown in fig. 6, the terminal can include:Memory 601, center Processor (Central Processing Unit, hereinafter referred to as CPU) 602, Peripheral Interface 603, RF (Radio Frequency, radio frequency) circuit 605, voicefrequency circuit 606, loudspeaker 611, power management chip 608, input/output (I/O) son System 609, touch-screen 612, other input/control devicess 610 and outside port 604, these parts pass through one or more Communication bus or holding wire 607 communicate.Wherein, power management chip 608 is an acp chip in the power circuit.
It should be understood that graphic terminal 600 is only an example of terminal, and terminal 600 can have than figure Shown in more or less parts, two or more parts can be combined, or can have different portions Part is configured.Various parts shown in figure can be including including one or more signal transactings and/or application specific integrated circuit Hardware, software or hardware and software combination in realize.
The terminal for preventing touch key-press false triggering for being provided with regard to the present embodiment below is described in detail, and the terminal is with hand As a example by machine.
Memory 601, the memory 601 can be accessed by CPU602, Peripheral Interface 603 etc., and the memory 601 can With including high-speed random access memory, nonvolatile memory can also be included, 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 CPU602 and deposited by Peripheral Interface 603, the Peripheral Interface 603 Reservoir 601.
I/O subsystems 609, the I/O subsystems 609 can be by the input/output peripheral in equipment, such as touch-screen 602 With other input/control devicess 610, Peripheral Interface 603 is connected to.I/O subsystems 609 can include the He of display controller 6091 One or more input controllers 6092 for controlling other input/control devicess 610.Wherein, one or more input controls Device processed 6092 receives electric signal or sends electric signal to other input/control devicess 610 from other input/control devicess 610, Other input/control devicess 610 can be including physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole, click roller.What deserves to be explained is, input controller 6092 can with it is following any one be connected:Keyboard, infrared port, The instruction equipment of USB interface and such as mouse.
Touch-screen 612, the touch-screen 612 is the input interface and output interface between terminal and user, will be visual defeated Go out to be shown to user, visual output can be including figure, text, icon, video etc..
Display controller 6091 in I/O subsystems 609 receives electric signal or is sent out to touch-screen 612 from touch-screen 612 Electric signals.Contact on the detection touch-screen of touch-screen 612, the contact that display controller 6091 will be detected is converted to and display The interaction of the user interface object on touch-screen 612, that is, realize man-machine interaction, is displayed in the user interface on touch-screen 612 Object can be the icon of running game, the icon etc. that is networked to corresponding network.What deserves to be explained is, equipment can also include light Mouse, light mouse is the extension for not showing the visual touch sensitive surface for exporting, or the touch sensitive surface formed by touch-screen.
RF circuits 605, are mainly used in setting up the communication of mobile phone and wireless network (i.e. network side), realize mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 605 are received and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 605 convert electrical signals to electromagnetic signal or electromagnetic signal is converted into telecommunications Number, and communicated with communication network and other equipment by the electromagnetic signal.RF circuits 605 can be included for performing 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, ID mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 606, is mainly used in receiving voice data from Peripheral Interface 603, and the voice data is converted into telecommunications Number, and the electric signal is sent to loudspeaker 611.
Loudspeaker 611, for the voice signal for receiving mobile phone from wireless network by RF circuits 605, is reduced to sound And play the sound to user.
Power management chip 608, for being powered by the hardware that CPU602, I/O subsystem and Peripheral Interface are connected And power management.
CPU602 provided in an embodiment of the present invention can perform the method that any embodiment of the present invention is provided, and possess the side of execution The corresponding functional module of method and beneficial effect.
Note, 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 the present invention is carried out by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also More other Equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (11)

1. a kind of method for preventing touch key-press false triggering, is applied to the terminal with touch key-press and touch-screen, and its feature exists In methods described includes:
Obtain current touch screen direction state;
When the current touch screen direction state is first direction state, the application class of currently displaying application program is obtained Type;
When the application type is identical with default application type, touch key-press region is locked, to prevent the touch key-press area Touch operation of the domain response to the first kind of touch key-press.
2. method according to claim 1, it is characterised in that after locking touch key-press region, also include:
When the unlocking signal to the touch key-press region is received, the lock-out state in the touch key-press region is released.
3. method according to claim 2, it is characterised in that the touch-screen includes touch area, the unlocking signal Including:Act on the default hand signal of the touch area, the touch operation to the Second Type of the touch key-press or work as Preceding touch panel direction state is second direction state.
4. method according to claim 3, it is characterised in that the touch operation of the Second Type includes:At least twice Same touch key-press, pressing touch key-press pressure value in point touching key area exceed preset pressure value or pressing touch is pressed The pressing duration of key exceedes preset duration.
5. method according to claim 2, it is characterised in that release the touch key-press region lock-out state it Afterwards, also include:
When detecting to the touch operation in touch key-press region constantly, the touch operation is responded.
6. a kind of device for preventing touch key-press false triggering, is integrated in the terminal with touch key-press and touch-screen, and its feature exists In described device includes:
Touch-screen state acquisition module, for obtaining current touch screen direction state;
Application type acquisition module, for when the current touch screen direction state is first direction state, obtaining current aobvious The application type of the application program shown;
Area locking module, for when the application type is identical with default application type, locking touch key-press region, in case The only touch operation of the first kind of the touch key-press region response to touch key-press.
7. device according to claim 6, it is characterised in that also include:
First latch-release module, for when the unlocking signal to the touch key-press region is received, releasing the touch The lock-out state of key area.
8. device according to claim 7, it is characterised in that the touch-screen includes touch area, the unlocking signal Including:Act on the default hand signal of the touch area, the touch operation to the Second Type of the touch key-press or work as Preceding touch panel direction state is second direction state.
9. device according to claim 8, it is characterised in that the touch operation of the Second Type includes:At least twice Same touch key-press, pressing touch key-press pressure value in point touching key area exceed preset pressure value or pressing touch is pressed The pressing duration of key exceedes preset duration.
10. device according to claim 7, it is characterised in that also include:
Respond module, for after the lock-out state for releasing the touch key-press region, when detecting to touch key-press region Touch operation when, respond the touch operation.
A kind of 11. terminals, it is characterised in that including:Housing, processor, memory, circuit board and power circuit;
The circuit board is placed in the interior volume that the housing is surrounded;
The processor and the memory are arranged on the circuit board;
The power circuit, powers for each circuit or device for the terminal;
The memory, for storing executable program code;
The processor is run and the executable program by reading the executable program code stored in the memory The corresponding program of code, for performing:
Obtain current touch screen direction state;
When the current touch screen direction state is first direction state, the application class of currently displaying application program is obtained Type;
When the application type is identical with default application type, touch key-press region is locked, to prevent the touch key-press area Touch operation of the domain response to the first kind of touch key-press.
CN201611165171.5A 2016-12-16 2016-12-16 Method and device for preventing spurious triggering of touch keys and terminal Pending CN106708408A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611165171.5A CN106708408A (en) 2016-12-16 2016-12-16 Method and device for preventing spurious triggering of touch keys and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611165171.5A CN106708408A (en) 2016-12-16 2016-12-16 Method and device for preventing spurious triggering of touch keys and terminal

Publications (1)

Publication Number Publication Date
CN106708408A true CN106708408A (en) 2017-05-24

Family

ID=58938889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611165171.5A Pending CN106708408A (en) 2016-12-16 2016-12-16 Method and device for preventing spurious triggering of touch keys and terminal

Country Status (1)

Country Link
CN (1) CN106708408A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107831966A (en) * 2017-10-27 2018-03-23 北京珠穆朗玛移动通信有限公司 Method, mobile terminal and the storage medium of false-touch prevention
CN108092657A (en) * 2018-01-04 2018-05-29 无锡市瀚为科技有限公司 A kind of capacitor type touch switch and its triggering method of touch electrode structuring
CN109597501A (en) * 2018-12-10 2019-04-09 深圳市网心科技有限公司 A kind of shortcut key management method and relevant apparatus
CN110928451A (en) * 2019-12-10 2020-03-27 江苏铁锚玻璃股份有限公司 Transparent OLED screen switch machine control and false touch prevention method based on capacitive touch keys
CN111273810A (en) * 2020-01-09 2020-06-12 RealMe重庆移动通信有限公司 Device control method, device, storage medium and electronic device
CN112667140A (en) * 2020-12-18 2021-04-16 珠海格力电器股份有限公司 Display panel, control method and equipment thereof and refrigerator
CN112776801A (en) * 2019-11-08 2021-05-11 九号智能(常州)科技有限公司 Vehicle speed control method, vehicle speed control device, storage medium and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100001967A1 (en) * 2008-07-07 2010-01-07 Yoo Young Jin Mobile terminal and operation control method thereof
CN103699298A (en) * 2013-12-16 2014-04-02 联想(北京)有限公司 Information processing method and electronic equipment
CN103870772A (en) * 2012-12-17 2014-06-18 国基电子(上海)有限公司 Touch screen electronic device and control method thereof
CN105631367A (en) * 2015-12-24 2016-06-01 深圳市金立通信设备有限公司 Terminal operation area management method and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100001967A1 (en) * 2008-07-07 2010-01-07 Yoo Young Jin Mobile terminal and operation control method thereof
CN103870772A (en) * 2012-12-17 2014-06-18 国基电子(上海)有限公司 Touch screen electronic device and control method thereof
CN103699298A (en) * 2013-12-16 2014-04-02 联想(北京)有限公司 Information processing method and electronic equipment
CN105631367A (en) * 2015-12-24 2016-06-01 深圳市金立通信设备有限公司 Terminal operation area management method and terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107831966A (en) * 2017-10-27 2018-03-23 北京珠穆朗玛移动通信有限公司 Method, mobile terminal and the storage medium of false-touch prevention
CN108092657A (en) * 2018-01-04 2018-05-29 无锡市瀚为科技有限公司 A kind of capacitor type touch switch and its triggering method of touch electrode structuring
CN109597501A (en) * 2018-12-10 2019-04-09 深圳市网心科技有限公司 A kind of shortcut key management method and relevant apparatus
CN112776801A (en) * 2019-11-08 2021-05-11 九号智能(常州)科技有限公司 Vehicle speed control method, vehicle speed control device, storage medium and electronic device
CN110928451A (en) * 2019-12-10 2020-03-27 江苏铁锚玻璃股份有限公司 Transparent OLED screen switch machine control and false touch prevention method based on capacitive touch keys
CN110928451B (en) * 2019-12-10 2023-08-25 江苏铁锚玻璃股份有限公司 Transparent OLED screen on-off control and error touch prevention method based on capacitive touch keys
CN111273810A (en) * 2020-01-09 2020-06-12 RealMe重庆移动通信有限公司 Device control method, device, storage medium and electronic device
CN112667140A (en) * 2020-12-18 2021-04-16 珠海格力电器股份有限公司 Display panel, control method and equipment thereof and refrigerator

Similar Documents

Publication Publication Date Title
CN106708407B (en) Prevent the method, device and mobile terminal of touch key-press false triggering
CN106708408A (en) Method and device for preventing spurious triggering of touch keys and terminal
CN106855784A (en) Prevent method, device and the terminal of touch key-press false triggering
CN106648232A (en) Method, device and terminal for preventing false triggering of touch keys
EP2752749B1 (en) Processing method of touch screen device user interface and touch screen device
CN106681635B (en) Split screen false touch prevention method and device and mobile terminal
CN106708263A (en) Method and device for preventing mistaken touch of touch screens and mobile terminal
CN106502470A (en) Prevent method, device and the terminal of touch key-press false triggering
CN106681555A (en) Touch screen control method and device of mobile terminal and mobile terminal
CN107483721A (en) Control method, device, storage medium and mobile terminal based on blank screen gesture
CN102929425B (en) A kind of touch key control method and device
CN107340910A (en) A kind of response method of touch key-press, device, storage medium and electronic equipment
CN106708363A (en) Mistaken touch preventive method and device for display interface and mobile terminal
CN106775087A (en) A kind of touch-screen control method of mobile terminal, device and mobile terminal
CN106681637A (en) Method and device for touch screen display, and mobile terminal
CN107357458B (en) Touch key response method and device, storage medium and mobile terminal
CN106775086A (en) A kind of touch-screen control method of mobile terminal, device and mobile terminal
CN104598783A (en) Unlocking method and device of intelligent terminal
CN106681554A (en) Mobile terminal touch screen control method and device and mobile terminal
CN106775404A (en) A kind of false-touch prevention method of display interface, device and mobile terminal
CN106909250B (en) Touch operation processing method and device and mobile terminal
CN106708409B (en) A kind of response method of popup menu, device and mobile terminal
CN107105090A (en) A kind of control method, device and the mobile terminal of suspension button
CN104035715A (en) Touch-screen based terminal control method and system
CN106802766A (en) The control method and mobile terminal of a kind of mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170524