A kind of key activation control device of touch-screen and method thereof
Technical field
The present invention relates to technical field of mobile terminals, in particular a kind of key activation control device of touch-screen and method thereof.
Background technology
Intelligent mobile terminal (as smart mobile phone, panel computer) is after touch screen unlocking, if enter interface operation, for example, listen to the music, see video, play games, see e-book, when the micro-letter of editing short message waits, touch some touch key-press because of carelessness, upper interface can be turned back to or directly turn back to desktop or eject other dialog boxes.This maloperation may affect the display of current interface, and current function may be caused again to interrupt, and using to the operation of user makes troubles.Therefore, intelligent mobile terminal is existing defects on touch key-press lock technology, does not also have related personnel to consider impact and the solution of this technology at present.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art part, the object of the present invention is to provide a kind of key activation control device and method thereof of touch-screen, be intended to solve existing touch-screen is affected current display interface problem by mistaken touch.
The technical scheme that technical solution problem of the present invention adopts is as follows:
A kind of key activation control device, it comprises touch-screen detection module and control module;
When mobile terminal is in a display interface, touch-screen detection module judges whether touch-screen is touched; Be perform this touch operation finger lock touch key-press by control module, otherwise control module keep current interface displaying contents finger lock touch key-press; When touch-screen detection module detection mobile terminal exits this display interface, control module removes the locking of touch key-press.
In described key activation control device, described control module comprises: central processing unit, external memory unit, read-write cell, display unit, locking key unit and clock count unit
When mobile terminal is in a display interface, touch-screen detection module sends and taps request signal to central processing unit, make central processing unit control external memory unit export corresponding steering order and write read-write cell, from read-write cell, call steering order and be transferred to the corresponding operation of display unit execution; Described clock count unit at the end of corresponding operation, postpone after after Preset Time, central processing unit controls locking key unit and pins touch key-press;
When touch-screen detection module detection mobile terminal exits this display interface, send and unlock detection signal to locking key unit, locking key unit sends unlocking request signal to the unlocking request instruction of central processing unit retrieval correspondence, central processing unit calls described unlocking request instruction and sends unlocked clock signal to locking key unit, unlocks touch key-press.
A kind of key activation control method, it comprises:
When A, mobile terminal are in a display interface, touch-screen detection module judges whether touch-screen is touched; Be perform this touch operation finger lock touch key-press by control module, otherwise control module keep current interface displaying contents finger lock touch key-press;
When B, touch-screen detection module detection mobile terminal exits this display interface, control module removes the locking of touch key-press.
In described key activation control method, in described steps A, when mobile terminal is in a display interface, touch-screen detection module judges that touch-screen is touched; The step being performed this touch operation finger lock touch key-press by control module is specifically comprised:
When A1, mobile terminal are in a display interface, send when touch-screen detection module judges that touch-screen is touched and tap request signal;
A2, central processing unit according to described in tap request signal control external memory unit export tap slip instruction and write read-write cell;
A3, central processing unit call from read-write cell this tap slip instruction and be transferred to display unit perform tap slide accordingly;
A4, touch-screen detection module control the time that clock count unit record taps paddling, at the end of tapping paddling, control after clock count cell delay Preset Time touch-screen detection module send detection signal to locking key unit, locking key unit to central processing unit request locking key and perform central processing unit feed back instruction to pin touch key-press.
In described key activation control method, in described steps A, when mobile terminal is in a display interface, touch-screen detection module judges that touch-screen is not touched; Control module keeps the step of current interface displaying contents finger lock touch key-press specifically to comprise:
When A11, described touch-screen detection module judge that touch-screen is not touched, send static request signal to central processing unit, central processing unit controls external memory unit according to described static request signal and exports current interface content instruction and write read-write cell;
A12, central processing unit call current interface content instruction and are transferred to the display interface that display unit keeps current from read-write cell;
A13, touch-screen detection module send timing signal and control clock count cell delay Preset Time, clock count unit controls touch-screen detection module send detection signal to locking key unit, locking key unit to central processing unit request locking key and perform central processing unit feed back instruction to pin touch key-press.
In described key activation control method, described step B specifically comprises:
B1, when mobile terminal exit this display interface enter other interface time, touch-screen detection module sends and unlocks detection signal and control locking key unit;
B2, locking key unit send unlocking request signal and control unlocking request instruction corresponding to central processing unit retrieval;
B3, central processing unit call unlocking request instruction and send unlocked clock signal to locking key unit, unlock touch key-press.
In described key activation control method, in described steps A 4, touch-screen detection module send detection signal to locking key unit, specifically comprise with the step controlling locking key unit automatic locking touch key-press:
A41, touch-screen detection module send detection signal to locking key unit;
A42, locking key unit send lock request signal to central processing unit, retrieve lock request instruction corresponding to this lock request signal to control central processing unit;
A43, central processing unit call this lock request instruction and send lock clock signal to locking key unit, to pin touch key-press.
Compared to prior art, the key activation control device of touch-screen provided by the invention and method thereof, key activation control device comprises touch-screen detection module and control module, and when mobile terminal is in a display interface, touch-screen detection module judges whether touch-screen is touched; Be perform this touch operation finger lock touch key-press by control module, otherwise control module keep current interface displaying contents finger lock touch key-press; When touch-screen detection module detection mobile terminal exits this display interface, control module removes the locking of touch key-press; Thus mistaken touch can be avoided the impact of current display interface, make up the deficiency of touch key-press lock technology.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of key activation control device provided by the invention.
Fig. 2 is key activation control method process flow diagram provided by the invention.
Fig. 3 is first schematic diagram of step S100 in key activation control method provided by the invention.
Fig. 4 is second schematic diagram of step S100 in key activation control method provided by the invention.
Fig. 5 is the 3rd schematic diagram of step S100 in key activation control method provided by the invention.
Fig. 6 is the 4th schematic diagram of step S100 in key activation control method provided by the invention.
Fig. 7 is the 5th schematic diagram of step S100 in key activation control method provided by the invention.
Fig. 8 is the 6th schematic diagram of step S100 in key activation control method provided by the invention.
Fig. 9 is first schematic diagram of step S200 in key activation control method provided by the invention.
Embodiment
The invention provides a kind of key activation control device and method thereof of touch-screen, the mistaken touch occurring touch-screen can be avoided.For making object of the present invention, technical scheme and advantage clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to Fig. 1, key activation control device provided by the invention is arranged in the terminal, and it comprises touch-screen detection module 10 and control module 20; Described touch-screen detection module 10 link control module 20.Display menu interface after mobile terminal-opening.User enters the main interface of application after opening certain application, enter different sub-interfaces by the option on main interface, these interfaces are display interface.When mobile terminal is in a display interface, touch-screen detection module 10 judges whether touch-screen is touched; Be perform this touch operation finger lock touch key-press by control module 20, otherwise control module 20 keep current interface displaying contents finger lock touch key-press.Touch-screen detection module 10 detects mobile terminal when exiting this display interface, and control module 20 removes the locking of touch key-press.
In the present embodiment, described control module 20 comprises central processing unit 210, external memory unit 220, read-write cell 230, display unit 240, locking key unit 250 and clock count unit 260.
When mobile terminal is in a display interface, touch-screen detection module sends and taps request signal to central processing unit, make central processing unit 210 control external memory unit 220 export corresponding steering order and write read-write cell 230, from read-write cell 230, call steering order and be transferred to display unit 240 and perform corresponding operation; Described clock count unit 260 at the end of corresponding operation, postpone Preset Time after, central processing unit 210 controls locking key unit 250 and pins touch key-press.
Touch-screen detection module 10 detects mobile terminal when exiting this display interface, send and unlock detection signal to locking key unit 250, locking key unit 250 sends unlocking request signal and retrieves corresponding unlocking request instruction to central processing unit 210, central processing unit 210 calls described unlocking request instruction and sends unlocked clock signal to locking key unit, unlocks touch key-press.
It is to be appreciated that although the present embodiment locks touch key-press, if touch operation detected, lock again after still performing this touch operation.On a display interface, after touch key-press is lockable, follow-up only have just genuine touch operation just can perform corresponding touch function or keypress function (namely tapping paddling is click certain touch key-press).The maloperation that mistaken touch can be avoided like this to cause, can not affect current display effect.
Based on above-mentioned key activation control device, the present invention also provides a kind of key activation control method, sees also Fig. 1 to Fig. 9, and described key activation control method as shown in Figure 2, comprising:
When S100, mobile terminal are in a display interface, touch-screen detection module judges whether touch-screen is touched; Be perform this touch operation finger lock touch key-press by control module, otherwise control module keep current interface displaying contents finger lock touch key-press;
When S200, touch-screen detection module detection mobile terminal exits this display interface, control module removes the locking of touch key-press.
See also Fig. 3 to Fig. 6, in described step S100, when mobile terminal is in a display interface, touch-screen detection module judges that touch-screen is touched; The step of this touch operation finger lock touch key-press is performed by control module:
When mobile terminal is in a display interface, touch-screen detection module 10 detects the touch condition (namely judging whether touch-screen is touched) of touch-screen on this display interface in real time.Different with surface of contact with the dynamics of mistaken touch based on artificial touch, corresponding testing mechanism is provided with in touch-screen detection module 10, by dynamics (be greater than preset pressure and be identified as touch), contact area (normally finger touch touches area and is less than preset area and is identified as touch) can discharge section mistaken touch in advance.
When detection touch-screen carrying out tap paddling operation, touch-screen detection module 10 sends and taps request signal to central processing unit 210, and central processing unit 210 sends corresponding control signal and controls external memory unit 220 according to the described request signal that taps and export and corresponding tap slip instruction.In the specific implementation, described central processing unit 210 comprises PMOS control module, and the low level request signal that taps controls the control signal that PMOS controls cell conduction, output high level.
Can only output be stored based on external memory unit 220, directly can not read and call.What external memory unit 220 exported taps slip instruction and need write in read-write cell 230.Central processing unit 210 and display unit 240 communication, central processing unit 210 calls this and taps slip instruction and be transferred to display unit 240 and perform and tap slide accordingly from read-write cell 230, as shown in Figure 4.
Perform before this taps slip instruction at display unit 240, touch-screen detection module 10 sends press-key lock detection signal and starts locking key unit 250 to detect the lock status of each touch key-press, to identify whether current touch key-press is lockable.Perform this when tapping slip instruction, clock count unit 260 records time touch-screen tapping paddling simultaneously.The present embodiment tap paddling operation terminate after time delay Preset Time pin touch key-press again.
As shown in Figure 5 and Figure 6, carry out pinning touch key-press while central processing unit 210 and display unit 240 communication and operate, be specially: touch-screen detection module 10 sends enabling signal to clock count unit 260.Pulse generating circuit 261 is provided with in clock count unit 260, at the end of clock counting unit 260 records the time tapping paddling, gating pulse circuit for generating 261 exports the pulse of high level and timing after 5 seconds, clock count unit 260 clock signal is to touch-screen detection module 10, and the step-by-step counting of notice touch-screen detection module 10 completes.Touch-screen detection module 10 detects after step-by-step counting completes, send detection signal to locking key unit 250, locking key unit 250 is to central processing unit request locking key and perform the instruction of central processing unit feedback, to tap after paddling operates 5 seconds in execution, and automatic locking touch key-press; Specifically as shown in Figure 6.
In Fig. 6, touch-screen detection module 10 sends detection signal to locking key unit 250, and locking key unit 250 sends lock request signal to central processing unit 210.Retrieve lock request instruction corresponding to this lock request signal within it in the internal storage 211 that central processing unit 210 is established and deposit in the internal register 212 established in it.Central processing unit 210 calls this lock request instruction and sends lock clock signal to locking key unit 250, to pin touch key-press.
See also Fig. 7 and Fig. 8, in described step S100, when judging that touch-screen is not touched, described control module 20 keeps the step of current interface displaying contents finger lock touch key-press specifically to comprise:
When mobile terminal is in a display interface, and touch-screen detection module 10 detects touch-screen when not tapping paddling, and namely touch-screen is in the state of geo-stationary, such as, make a phone call, play video etc.Touch-screen detection module 10 sends static request signal to central processing unit 210, and central processing unit 210 sends corresponding holding signal according to described static request signal, controls the current interface content instruction that external memory unit 220 exports correspondence.During concrete enforcement, the built-in NMOS tube control module of described central processing unit 210, static request signal open NMOS pipe control module exports hold instruction to external memory unit 220.External memory unit 220 exports current interface content instruction to read-write cell 230.
Central processing unit 210 calls current interface content instruction from read-write cell 230.Central processing unit 210 and display unit 240 communication, export current interface content instruction to display unit 240 by the digital output end of central processing unit 210.Display unit 240 keeps current display interface, as shown in Figure 8.Herein, carry out pinning touch key-press while central processing unit 210 and display unit 240 communication to operate.
Based on now without tapping paddling operation, after described touch-screen detection module 10 detection display unit 240 performs this current interface content instruction, send timing signal to pulse generating circuit 261.Pulse generating circuit 261 exports the pulse of high level and timing after 5 seconds, and clock count unit 260 clock signal is to touch-screen detection module 10, and the step-by-step counting of notice touch-screen detection module 10 completes.Touch-screen detection module 10 detects after step-by-step counting completes, and sends detection signal to locking key unit 250.Locking key unit 250 is to central processing unit request locking key and perform the instruction of central processing unit feedback, makes locking key unit 250 keep operation after 5 seconds in execution, automatic locking touch key-press.The pinning step that detection signal realizes is same as shown in Figure 6, is not described further herein.
See also Fig. 9, described step S200 specifically comprises:
When mobile terminal exit this display interface enter other interface time, touch-screen detection module 10 sends and unlocks detection signal to locking key unit 250, control locking key unit 250 automatic unlocking touch screen button.
Locking key unit 250 sends unlocking request signal and retrieves unlocking request instruction corresponding to this unlocking request signal to the internal storage 211 of central processing unit 210 and deposit in its internal register 212.Central processing unit 210 calls unlocking request instruction and sends unlocked clock signal to locking key unit 250, unlocks touch key-press.
In sum, the present invention is when mobile terminal is in a display interface, if touch-screen is touched, performs this touch operation finger lock touch key-press, if be not touched, keeps current interface displaying contents finger lock touch key-press.When mobile terminal exits this display interface, remove the locking of touch key-press.Although lock touch key-press, if touch operation detected, lock again after still performing this touch operation.The maloperation that mistaken touch can be avoided like this to cause, can not affect current display effect again, can also make up the deficiency of touch key-press lock technology.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection domain that all should belong to claims of the present invention.