CN102096488B - A kind of multi-contact input method based on touch-screen and device - Google Patents

A kind of multi-contact input method based on touch-screen and device Download PDF

Info

Publication number
CN102096488B
CN102096488B CN200910241811.XA CN200910241811A CN102096488B CN 102096488 B CN102096488 B CN 102096488B CN 200910241811 A CN200910241811 A CN 200910241811A CN 102096488 B CN102096488 B CN 102096488B
Authority
CN
China
Prior art keywords
message
key
processing module
module
multiconductor
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.)
Active
Application number
CN200910241811.XA
Other languages
Chinese (zh)
Other versions
CN102096488A (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.)
Shenzhen Shiji Guangsu Information Technology Co Ltd
Original Assignee
Shenzhen Shiji Guangsu Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Shiji Guangsu Information Technology Co Ltd filed Critical Shenzhen Shiji Guangsu Information Technology Co Ltd
Priority to CN200910241811.XA priority Critical patent/CN102096488B/en
Publication of CN102096488A publication Critical patent/CN102096488A/en
Application granted granted Critical
Publication of CN102096488B publication Critical patent/CN102096488B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The invention discloses a kind of multi-contact input method based on touch-screen and device, for solve existing based in the input method of touch-screen when realizing the Random seismic field such as Macintosh input, compound keys input the technical matters such as lower, complicated operation of efficiency.The present invention realizes the input of Macintosh, compound keys, window convergent-divergent and quick gesture command etc. by multiconductor, more meets the operating habit of people, improves input efficiency.

Description

A kind of multi-contact input method based on touch-screen and device
Technical field
The present invention relates to the input method supporting touch-screen input, particularly relate to a kind of multi-contact input method based on touch-screen and device.
Background technology
Along with the development of mobile communication technology, the more and more general use mobile terminal device of people carries out information interchange, conveniently user operation, a lot of mobile terminal is all equipped with touch-screen, and user performs corresponding function by clicking corresponding virtual key region on the touchscreen to make mobile terminal, and described virtual key region refers to screen lastblock touch area, user can press on this region, pin, pin and move, lifting action.
Existing based in the input method of touch-screen, all realize Macintosh by single contact, the input of compound keys, when realizing Macintosh input, user first presses next virtual key region (key 1), and make this virtual key region keep certain state, and then click another one virtual key region (key 2), the state of system residing for key 1, decide the action of key 2, such as when realizing the operation of Macintosh Ctrl+A (all selecting), first user presses Ctrl, now screen display Ctrl is in down state, user lifts Ctrl, now Ctrl is still in down state, then (press and lift) A key is clicked.Program is according to the state of Ctrl button, and determine the action performing Ctrl+A (all selecting), if user is when click A, Ctrl is not in down state, now performs A key corresponding function.Known by this example, realize the operating habit that input efficiency when Macintosh inputs is lower, do not meet people in existing input method.
When realizing compound keys input, user first pins a virtual key region (key 1), now one or more virtual key area change content of touch-screen, and now user can complete some function by the region of operation change content.Such as screen virtual key region content is 2 (buttons 2), press or click rear screen and there will be three virtual key regions corresponding a, b, c word content (key A respectively, key B, key C), some function of input method can be completed by operating key A, key B, key C, can be clicked by secondary at present, or dot-dash mode realizes above-mentioned input function, is specially:
1) mode is clicked by secondary
First-selected click (press and lift) key 2, screen there will be virtual key region: key A, key B, key C, user clicks zones of different and realizes different input functions.Visible, which need perform twice click, and efficiency is lower.
2) by dot-dash mode
User presses key 2, and user does not lift action, and now virtual key key A, key B, key C appear in screen, and user pins and slides into respective keys region, lifts action, completes the function of respective keys.Visible, which operation more complicated, intuitively, easily do not make mistakes.
In addition, in prior art, other multiconductor is operated, such as: the amplification of input area, reduce, stretch, the operation such as gesture fast, also cannot well realize, be all generally that first time operation makes program enter some states by twice operation execution, then realize concrete function by second time operation, operating efficiency is lower.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of multi-contact input method based on touch-screen and device, for solve existing based in the input method of touch-screen when realizing the Random seismic field such as Macintosh input, compound keys input the technical matters such as lower, complicated operation of efficiency.
For achieving the above object, technical scheme of the present invention is achieved in that
Based on a multi-contact input method for touch-screen, the method comprises:
Message maps module receives the multiconductor pressing position message of touch-screen driver module transmission by system interface, pressing position information is converted to corresponding marking keys, and sends to corresponding multiconductor processing module to process the Multiconductor press key message that the input of the Multiconductor press key of user is mapped as respective type according to by key map.
Further, the type of described Multiconductor press key message comprises: Macintosh input type of message, compound strong input type of message, fast gesture input type of message; The processing module corresponding with each multiconductor type of message is respectively: Macintosh processing module, compound keys processing module, fast gesture processing module.
Further, described method is specially for Macintosh input:
When described message maps module monitors is to when having the leading button in Macintosh to press and have again the additional key in Macintosh to be pressed while keeping down state, described message maps module presses message according to pressing key map mapping group conjunction key, and sends to Macintosh processing module; Macintosh processing module responds this message, and the event handling function that actuate combination key is pressed, perform the function that this Macintosh is corresponding.
Further, described method is specially for compound keys input:
When described message maps module monitors is to when having the leading button in compound keys to press, the press key message that before sending to compound keys processing module, lead key is pressed, compound keys processing module responds this message and changes accordingly inputting interface;
When having again the additional key in compound keys to be pressed while described message maps module monitors keeps down state to lead key before described compound keys, described message maps module presses message according to mapping compound keys by key map, and sends to compound keys processing module; Compound keys processing module responds this message, and triggers the event handling function that compound keys presses, and performs the function that this compound keys is corresponding.
Further, described method is specially for quick gesture command input:
Described message maps module monitors is to when having quick gesture key to be pressed, and send to quick gesture processing module the press key message that quick gesture key presses, quick gesture processing module responds this message, and pop-up window display starts button fast;
When described message maps module monitors presses again described quick startup button to user while being pressed at described quick gesture key and keeping down state, described message maps module according to mapping quick gesture input message by key map, and sends to fast hand gesture processing module; Quick gesture processing module responds this message, and triggers quick gesture event handling function, performs the function that this quick gesture key is corresponding.
Further, described method also comprises multifinger window convergent-divergent treatment step:
Described message maps module detects that two contacts are concurrently depressed, and position occurs when moving, and sets up the position move options for two contacts; Described message maps module judges whether it is window scaling manipulations according to the Rule of judgment of window convergent-divergent, if then to window convergent-divergent processing module send window convergent-divergent message, move options address, described position is carried in message, window convergent-divergent processing module responds this message, and toggle window convergent-divergent process function, window convergent-divergent process function moves the convergent-divergent realizing window according to the relative position of two contacts.
Based on said method, the present invention also proposes a kind of multi-contact input device based on touch-screen, and described device comprises:
Macintosh processing module, for the treatment of the input operation of Macintosh multiconductor;
Compound keys processing module, for the treatment of the input operation of compound keys multiconductor;
Quick gesture processing module, for the treatment of the input operation of quick gesture command multiconductor;
Message maps module, for the multiconductor input operation of user being associated with corresponding multiconductor processing module, and is responsible for distributing the Multiconductor press key message of respective type to corresponding multiconductor processing module according to the push-button type of user's input.
The type of described Multiconductor press key message comprises: Macintosh input type of message, compound keys input type of message, fast gesture input type of message; The multiconductor processing module corresponding with each multiconductor type of message is respectively: Macintosh processing module, compound keys processing module, fast gesture processing module.
Further, described message maps module comprises:
Position and button modular converter, for receiving multiconductor pressing position message from touch-screen driver module, being corresponding marking keys with the mapping table of marking keys by pressing position coordinate conversion according to the position of systemic presupposition, then sending mapping distribution module to;
Map distribution module, for according to judging by the multiconductor input operation type of key map to user of presetting, corresponding multiconductor processing module is sent to process the Multiconductor press key message that the input of the Multiconductor press key of user is mapped as respective type.
Further, described multiconductor processing module, after receiving described Multiconductor press key message, triggers corresponding multiconductor event handling function, and multiconductor event handling function performs the function corresponding to multiconductor operation of user's input.
Further, described position and button modular converter also for judging according to the Rule of judgment of window convergent-divergent whether current multiconductor input operation is window scaling manipulations, if so, then set up the position move options for storing deformation trace;
Described mapping distribution module also for send window convergent-divergent message to window convergent-divergent processing module, and carry the position move options of each contact in the message.
The present invention utilizes the process of multiconductor analog subscriber operation keyboard, realizes the input of Macintosh, more meets the operating habit of people, and once completes input and improve input efficiency.The present invention improves the efficiency of compound keys input by multiconductor, and the input improving user is experienced.The present invention achieves convergent-divergent input area very easily by multiconductor, can complete input command easily by gesture command.
Accompanying drawing explanation
Fig. 1 is the logical organization schematic diagram of input method system of the present invention and operating system;
Fig. 2 is the overview flow chart that the present invention realizes key-input operation;
Fig. 3 A is the process flow diagram that the present invention performs Macintosh process;
Fig. 3 B-Fig. 3 C is the dummy keyboard view of Macintosh of the present invention input;
Fig. 4 A is the process flow diagram that the present invention performs compound keys process;
Fig. 4 B-Fig. 4 F is the dummy keyboard view of compound keys of the present invention input;
Fig. 5 A is the processing flow chart of the quick gesture key of the present invention;
Fig. 5 B-Fig. 5 C is the dummy keyboard view of the quick gesture command input of the present invention;
Fig. 6 A is multiconductor window convergent-divergent processing flow chart of the present invention;
Fig. 6 B is the dummy keyboard view that the present invention performs window convergent-divergent.
Embodiment
Core concept of the present invention is in input method, adopt multiconductor to input, and overcomes the drawback of single contact input, better the input of process Macintosh, compound keys input etc., is operated and provides more, operating function that efficiency is higher by multiconductor.
For making the object, technical solutions and advantages of the present invention clearly understand, by the following examples also with reference to accompanying drawing, the present invention is described in more detail.
Fig. 1 is the logical organization schematic diagram of input method system of the present invention and operating system, input method system of the present invention is on operating system, install in an operating system as independent software systems, undertaken alternately by system interface between input method system and operating system.The driver module of touch-screen is installed in operating system, when user does clicking operation on the touchscreen, touch-screen driver module can detect the position that user clicks, and the message maps module by interface the positional information that user clicks sent in input method system, the translation of position and corresponding button is carried out by message maps module, and the marking keys of correspondence is transmitted to corresponding keystroke handling module, what distinguish with prior art is, input method system of the present invention supports multiconductor input, the module that the present invention is used for multiconductor process comprises Macintosh processing module, compound keys processing module, quick gesture processing module and window convergent-divergent processing module etc.
Input method system of the present invention comprises with lower module:
Singly-bound processing module, for the treatment of single-button input, single-button input of the present invention refers to the key-input operation not needing to come into force with other key combination, and such as user inputs the operation of lowercase a.
Macintosh processing module, for the treatment of the input operation of Macintosh multiconductor, Macintosh of the present invention input refers to the multiconductor input operation needing to come into force with leading key combination, described front lead key refer to need with other button with the use of button, such as Ctrl, Alt key, shift key etc.The example of Macintosh input inputs as: user the operation all selecting Ctrl+A shortcut, needs first to press front lead key Ctrl, presses additional key letter a key while maintenance Ctrl is pressed.
Compound keys processing module, for the treatment of the input operation of compound keys multiconductor, when compound keys input of the present invention refers to lead key before pressing certain, input window changes dynamically according to lead key before pressed, and now user's lead key before maintenance presses the input operation of other button in the input window after change while pressing.
Quick gesture processing module, for the treatment of the input operation of quick gesture command multiconductor, after quick gesture command input of the present invention refers to that user presses quick gesture button, input method system pop-up window shows the quick startup button of some application or some function of input method itself, and user presses the input operation starting button fast while keeping quick gesture button to press.
Window convergent-divergent processing module, for the treatment of the multiconductor input operation of window Scalable, the movement of two points that input method window Scalable of the present invention refers to by pressing simultaneously realizes the operation that window zooms in or out.
Message maps module, for the single contact of user or multiconductor input operation being associated with corresponding single contact or multiconductor processing module, and the single contact of the responsible push-button type distribution respective type according to user's input or Multiconductor press key message give corresponding processing module.
Message maps module comprises further: position and button modular converter, map distribution module;
Position and button modular converter are used for receiving user from touch-screen driver module and press and off-position coordinate message, be corresponding marking keys with the mapping table of marking keys by pressing or off-position coordinate conversion according to the position of systemic presupposition, then send mapping distribution module to; Window scaling manipulations when whether the input operation also for detecting user of position and button modular converter has a multiconductor moving characteristic, if having this feature, sets up the position move options for storing deformation trace.
Mapping distribution module is used for according to judging by the button operation type of key map to user of presetting, and the press key message according to button operation type the button operation of user being mapped as respective type sends to corresponding processing module to process; For window scaling manipulations, this module directly by send window convergent-divergent message to window convergent-divergent processing module, and carry the position move options reference address of each contact in the message.
Marking keys refers to the identification information for a unique identification button of system definition;
By the mapping relations table that key map is the marking keys of system definition or the combination of marking keys and push-button type or press key message type, which kind of input operation what message maps module judged that user inputs according to this table is, and forms corresponding press key message and send to corresponding processing module.Such as, by the message maps relation of preserving in key map between Macintosh and Macintosh processing module, when user presses Macintosh, this module sends corresponding Macintosh and presses message and process to Macintosh processing module; When user lifts Macintosh, this module sends corresponding Macintosh release message and processes to Macintosh processing module.The button operation of other type corresponding, processing mode is identical.
Fig. 2 is the overview flow chart that the present invention realizes key-input operation, and concrete steps are as follows:
Step 201: input method system receives the pressing position message of touch-screen driver module transmission by system interface;
Step 202: positional information is converted to corresponding marking keys by message maps module, and send to corresponding single contact or multiconductor processing module to process according to the single contact or multifinger press key message by key map the single contact of user and multifinger input key being mapped as respective type.
Multiconductor press key type of message comprises: Macintosh input message, compound keys input message, fast gesture input message, window convergent-divergent message etc.Described multiconductor processing module comprises: Macintosh processing module, compound keys processing module, fast gesture processing module, window convergent-divergent processing module etc.
Treatment step for singly-bound input operation is: after message maps module receives the single locus information of touch-screen driver module transmission, position button mapping table according to systemic presupposition is converted to marking keys, then sends to singly-bound processing module to carry out single-button input operation according to forming singly-bound input message by key map.
The treatment step of corresponding Macintosh is: after message maps module receives the multi-contact positions information of touch-screen driver module transmission, each contact position is converted to corresponding marking keys by the position button mapping table according to systemic presupposition, then sends to Macintosh processing module to carry out corresponding Macintosh multiconductor input processing according to forming Macintosh input message by key map.
The treatment step of corresponding compound keys is: after message maps module receives the multi-contact positions information of touch-screen driver module transmission, each contact position is converted to corresponding marking keys by the position button mapping table according to systemic presupposition, then sends to compound keys processing module to carry out corresponding compound keys multiconductor input processing according to forming compound keys input message by key map.
To the treatment step of quick gesture input operation be: after message maps module receives the multi-contact positions information of touch-screen driver module transmission, each contact position is converted to corresponding marking keys by the position button mapping table according to systemic presupposition, then sends to quick gesture processing module to carry out corresponding gesture command multiconductor input processing fast according to forming quick gesture input message by key map.
To the treatment step of window convergent-divergent input operation be: after message maps module receives the continuous print multi-contact positions information of touch-screen driver module transmission, by continuous print multi-contact positions information forming position information list, and form window convergent-divergent message and send to window convergent-divergent processing module to carry out the process of window convergent-divergent Random seismic field.
Step 203: singly-bound processing module carries out single-button input operation, the processing mode of this module is prior art.
Step 204: Macintosh processing module carries out the input operation of Macintosh multiconductor.
Macintosh processing module response combination key input message, triggers corresponding Macintosh process event functions, completes the input of Macintosh.
Step 205: compound keys processing module carries out the input operation of compound keys multiconductor.
Compound keys processing module response compound keys input message, triggers corresponding compound keys process event functions, completes the input of compound keys.
Step 206: gesture processing module carries out the input operation of quick gesture command multiconductor fast.
Quick gesture processing module responds quick gesture input message, triggers corresponding quick gesture input processing function, completes the input of quick gesture command.
Step 207: window convergent-divergent processing module carries out the input operation of window convergent-divergent multiconductor.
Window convergent-divergent processing module response window convergent-divergent message, triggers corresponding window convergent-divergent process function, completes window convergent-divergent process operation.
Fig. 3 A is the process flow diagram that the present invention performs Macintosh process, and concrete steps are as follows:
Step 301: message maps module monitors is pressed to there being the leading button in Macintosh;
For inputting combination key Ctrl+a in a specific embodiment, described front lead key is Ctrl, whether have additional key press, additional key is other button in Macintosh except front lead key, is a key in this embodiment if monitoring can be continued after message maps module monitors is pressed to front lead key.Alternatively, described front lead key and additional key can be multiple buttons, such as Macintosh Ctrl+Shift+a etc.
Step 302: before message maps module monitors, whether lead key is released, if be released, then process ends; Otherwise perform step 303;
Step 303: message maps module monitors, to while being pressed at front lead key and keeping down state, has again the additional key in Macintosh to be pressed, then message maps module is closed key press message according to being pressed key map mapping group;
Step 304: message maps module sends Macintosh and presses message to Macintosh processing module, carries the marking keys of Macintosh in message;
For Macintosh Ctrl+a, while Ctrl is pressed, user presses additional key a, then message maps module sends the Macintosh message that is pressed of Ctrl+a to Macintosh processing module, Macintosh processing module responds this message, performs the corresponding function corresponding to Macintosh Ctrl+a.
Step 305: message maps module judges whether additional key is released, if be released, performs step 307; Otherwise perform step 306;
Step 306: before message maps module judges, whether lead key is released, if be released, performs step 307; Otherwise perform step 304;
The execution sequence of the present invention not conditioning step 305 and step 306, first can judge whether front lead key is released, and then judges whether additional key is released.
With certain assay intervals, message maps module judges whether Macintosh keeps down state always, if it is repeat to send corresponding Macintosh message, otherwise, as long as the Macintosh release message having a button to be released just to send corresponding Macintosh to be lifted is to Macintosh processing module, other multiconductor method of operating is identical.
Step 307: message maps module monitors is released to there being button, then send Macintosh release message to Macintosh processing module, and carry the Macintosh mark of release in message, Macintosh processing module responds this message, performs corresponding function.
Step 308: before message maps module judges, whether lead key is released, if be not released, then performs step 303, pressing of the keys to be appended such as continuation; Otherwise flow process terminates.
Below illustrate the operating process that several Macintosh inputs:
1, capital D is inputted for Shift+d:
Input method dummy keyboard original state as shown in Figure 3 B, first row the third line first button in left side is the character keys that performs (shift key), this button is predefined front lead key, first user presses shift key by a contact, now press additional key d key by other contact, state is now, shift key and d key are concurrently depressed, as shown in Figure 3 C;
2, with other buttons of Shift+d+, the continuous input of realization is uppercase is input as example:
As shown in Figure 3 B, first-selection presses shift key by a contact, and now message maps module detects that shift key presses event for step 311, keyboard original state;
Step 312, maintenance Shift key-press status are constant, and press d key by other touch point, now message maps module detects that shift key and d key are pressed simultaneously.
Step 313, maintenance Shift key-press status are constant, lift d key, then press other virtual keys, as a key.
Step 314, finally lift button Shift and complete continuous uppercase input.
Can be realized by this embodiment, the present invention, when processing the Macintosh input based on the input method of touch-screen, operates while the independent clicking operation of multiple virtual key is reduced to multiple contact, improves input speed, more meet the operating habit of user.
Fig. 4 A is the process flow diagram that the present invention performs compound keys process, its steps flow chart is similar to Macintosh treatment scheme, what distinguished is, when before in compound keys, lead key is pressed or lifts, the message that before message maps module can send to compound keys processing module, lead key is pressed or lifts, compound keys processing module can make dynamic change according to pressed compound keys to dummy keyboard, to show selectable additional key.
Step 401: message maps module monitors is pressed to there being the leading button in compound keys, the press key message that before sending to compound keys processing module, lead key is pressed, compound keys processing module responds this message and changes accordingly inputting interface;
As the example that Fig. 4 B-4D is compound keys of the present invention input, this embodiment is for continuous input alphabet a, b, c, initial input interface as shown in Figure 4 B, the process of input is: user clicks the virtual key 2 in the front lead key of compound keys and figure, at this moment display a, b, c tri-additional keys are ejected, then the state keeping virtual key 2 to press is constant, uses another one contact adopting consecutive click chemical reaction a, b, c to complete the input of corresponding composite-key, then lifts virtual key 2.
Step 402: before message maps module monitors, whether lead key is released, if be released, then process ends; Otherwise perform step 403;
Step 403: message maps module monitors, to while being pressed at front lead key and keeping down state, has again the additional key in compound keys to be pressed;
Step 404: the compound keys message that message maps module transmission compound keys is pressed is to compound keys processing module, the marking keys of front lead key and the additional key be pressed is carried in message, compound keys processing module responds this message, trigger compound keys event handling function, perform the function that this compound keys is corresponding;
For Fig. 4 B-4D, while before maintenance, lead key 2 is pressed, user presses again additional key a, then message maps module sends the compound keys message of 2+a to compound keys processing module, and compound keys responds this message, realizes the input of alphabetical a.
Step 405: message maps module judges whether additional key is released, if be released, performs step 407; Otherwise perform step 406;
Step 406: before message maps module judges, whether lead key is released, if be released, performs step 407; Otherwise perform step 404;
The execution sequence of the present invention not conditioning step 405 and step 406, first can judge whether front lead key is released, and then judges whether additional key is released.
With certain assay intervals, message maps module judges whether compound keys keeps down state always, if it is repeat to send corresponding compound keys message, otherwise, as long as the compound keys release message having a key to be released just to send corresponding compound keys to be lifted is to compound keys processing module.Definable of the present invention is receiving when compound keys presses message or trigger corresponding incoming event receiving when compound keys lifts message.
Step 407: message maps module monitors is released to there being button, then send the compound keys release message that is lifted of compound keys to compound keys processing module, carry the marking keys of d/d front lead key and additional key in message, compound keys processing module responds this message, performs corresponding function.
Step 408: before message maps module judges, whether lead key is released, if be not released, then performs step 403, pressing of the keys to be appended such as continuation; Otherwise flow process terminates.
Below lift the processing procedure that another example illustrates compound keys, as shown in Fig. 4 E-Fig. 4 F, for inputting uppercase schematic diagram by compound keys mode; Operating process is as follows:
Initial inputting interface as shown in Figure 4 E, when pressing front lead key shift key, message maps module detects that shift key is pressed, perform corresponding window change operation, dynamically original position display is on the virtual keyboard performed character accordingly, as illustrated in figure 4f, now user's lead key before maintenance is pressed alphabetical A by another one contact while pressing or is pressed continuously and lift multiple capitalization, now, message maps module detects while shift key is pressed, the push of alphabetical A or other character that performs also detected, then send composite-key message to compound keys processing module, the corresponding event handling function of composite-key message trigger, input operation is completed in described event handling function.
Fig. 5 A is the processing flow chart of the quick gesture key of the present invention, and concrete steps are as follows:
Step 501: message maps module monitors is pressed to there being quick gesture key, the press key message that quick gesture key presses is sent to quick gesture processing module, quick gesture processing module responds this message, and pop-up window shows the quick startup button (also can be described as additional key) of some application or some function of input method itself;
Step 502: whether the quick gesture key of message maps module monitors is released, if be released, then closes the window that display starts button fast, process ends; Otherwise perform step 503;
Step 503: message maps module monitors is to while being pressed at quick gesture key and keeping down state, and additional key is pressed;
Step 504: message maps module is according to mapping quick gesture input message by key map, and send fast hand gesture input message to quick gesture processing module, quick gesture processing module responds this message, and triggers quick gesture event handling function, performs the function that this quick gesture key is corresponding;
Step 505: message maps module judges whether additional key is released, if be released, performs step 507; Otherwise perform step 506;
Step 506: message maps module judges whether quick gesture key is released, if be released, performs step 507; Otherwise perform step 504;
The execution sequence of the present invention not conditioning step 505 and step 506, first can judge whether quick gesture key is released, and then judges whether additional key is released.
Step 507: message maps module monitors is released to there being button, then send quick gesture release message to quick gesture processing module, quick gesture processing module responds this message, performs corresponding function.
Step 508: message maps module judges whether quick gesture key is released, if be not released, then performs step 503, pressing of the keys to be appended such as continuation; Otherwise flow process terminates.
Fig. 5 B and Fig. 5 C is the window display schematic diagram of the quick gesture command input of the present invention, initial virtual keyboard as shown in Figure 5 B, user clicks the quick gesture button in the lower right corner, now message maps module detects the event that quick gesture button is pressed, send quick gesture button and be pressed message to quick gesture processing module, in the event handling function that quick gesture button is pressed, system is according to the setting of quick gesture button, show the new input window be associated with described quick gesture button, as shown in Figure 5 C, the state that user keeps quick gesture button to be pressed, another contact is used to press virtual key in new input window, after now message maps module detects that button is pressed, send quick gesture key input message, pressed additional key is carried in message, quick gesture processing module responds this message, and perform corresponding function, such as start application program, switch input method, switch capital and small letter state, quick submission word etc.
Fig. 6 A is multiconductor window convergent-divergent treatment scheme of the present invention, and concrete steps are:
Step 601: message maps module detects that two contacts are concurrently depressed, and position occurs move, set up the position move options for two contacts, the co-ordinate position information of each check point of this list on storing mobile track;
Step 602: message maps module judges whether it is window scaling manipulations according to the Rule of judgment of window convergent-divergent, if so, then performs step 603; Otherwise terminate window scaling manipulations flow process, perform the judgement process of other action type.
In the present invention one specific embodiment, the Rule of judgment of window convergent-divergent is:
Suppose that the position move options that two contacts are formed is:
The position move options of contact A: ListA={ (x1, y1), (x2, y2), (x3, y4) ... (xn, yn) }
The position move options of contact B: ListB={ (a1, b1), (a2, b2), (a3, b3) ... (an, bn) }
The decision condition that window amplifies is:
(1), x1 >=x2 >=x3... >=xn, a1 <=a2 <=a3... <=an, namely a point slides left, and another point slides to from direction.
(2), y1, y2, y3 ... yn}{b1, b2, b3 ... bn} is in certain coordinate range, and namely the deviation of the position coordinates of y-axis is no more than the value of setting;
The Rule of judgment that window reduces is:
(1), x1 <=x2 <=x3... <=xn, a1 >=a2 >=a3... >=an, namely a point slides to the right, and another point slides to close direction.
(2), y1, y2, y3 ... yn}{b1, b2, b3 ... bn} is in certain coordinate range, and namely the position coordinates deviation of y-axis is no more than the value of setting;
Step 603: message maps module record current location information, to window convergent-divergent processing module send window convergent-divergent message;
The position mobile message of monitor two contacts adds in the move options of position by message maps module, and to window convergent-divergent processing module send window convergent-divergent message, the position move options memory address of each contact is carried in message, set out after window convergent-divergent processing module receives this message window convergent-divergent process function, realizes the convergent-divergent of window in function according to the displacement difference between current location information and first co-ordinate position information.
Step 604: message maps module, while monitoring location mobile message, also judges whether contact is released, if be released, then performs step 605; Otherwise perform step 603;
Step 605: message maps module send window convergent-divergent end to window convergent-divergent processing module, off-position move options.
Window convergent-divergent processing module terminates window scaling manipulations after receiving window convergent-divergent end.
Fig. 6 B is the operation chart that the present invention performs window convergent-divergent, and namely user is pinned by two contacts simultaneously and moves to opposite direction in input window, and now window Zoom module can according to the relative position displacement convergent-divergent input window of two contacts.
By this embodiment, the present invention is not easy the operation realized under can realizing single contact pattern very easily, as the input of Macintosh, the input of compound keys, the Scalable of input area, and quick gesture command etc., more meet the operating habit of user, improve input efficiency.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.

Claims (12)

1. based on a multi-contact input method for touch-screen, it is characterized in that, comprising:
Message maps module receives the multiconductor pressing position message of touch-screen driver module transmission by system interface, pressing position information is converted to corresponding marking keys, and sends to corresponding multiconductor processing module to process the Multiconductor press key message that the input of the Multiconductor press key of user is mapped as respective type according to by key map;
Wherein, with certain assay intervals, described message maps module judges whether described multiconductor keeps pressed state always, if it is repeat to send corresponding Multiconductor press key message to corresponding multiconductor processing module, otherwise, just send corresponding release message to corresponding multiconductor processing module as long as there is a contact to be released.
2. method according to claim 1, is characterized in that, the type of described Multiconductor press key message comprises: Macintosh input type of message, compound keys input type of message, fast gesture input type of message; The processing module corresponding with each multiconductor type of message is respectively: Macintosh processing module, compound keys processing module, fast gesture processing module.
3. method according to claim 2, is characterized in that, described method is specially for Macintosh input:
When described message maps module monitors is to when having the leading button in Macintosh to press and have again the additional key in Macintosh to be pressed while keeping down state, described message maps module presses message according to pressing key map mapping group conjunction key, and sends to Macintosh processing module; Macintosh processing module responds this message, and the event handling function that actuate combination key is pressed, perform the function that this Macintosh is corresponding.
4. method according to claim 2, is characterized in that, described method is specially for compound keys input:
When described message maps module monitors is to when having the leading button in compound keys to press, the press key message that before sending to compound keys processing module, lead key is pressed, compound keys processing module responds this message and changes accordingly inputting interface;
When having again the additional key in compound keys to be pressed while described message maps module monitors keeps down state to lead key before described compound keys, described message maps module presses message according to mapping compound keys by key map, and sends to compound keys processing module; Compound keys processing module responds this message, and triggers the event handling function that compound keys presses, and performs the function that this compound keys is corresponding.
5. method according to claim 2, is characterized in that, described method is specially for quick gesture command input:
Described message maps module monitors is to when having quick gesture key to be pressed, and send to quick gesture processing module the press key message that quick gesture key presses, quick gesture processing module responds this message, and pop-up window display starts button fast;
When described message maps module monitors presses again described quick startup button to user while being pressed at described quick gesture key and keeping down state, described message maps module according to mapping quick gesture input message by key map, and sends to fast hand gesture processing module; Quick gesture processing module responds this message, and triggers quick gesture event handling function, performs the function that this quick gesture key is corresponding.
6. method according to claim 1, is characterized in that, described method also comprises multifinger window convergent-divergent treatment step:
Described message maps module detects that two contacts are concurrently depressed, and position occurs when moving, and sets up the position move options for two contacts; Described message maps module judges whether it is window scaling manipulations according to the Rule of judgment of window convergent-divergent, if then to window convergent-divergent processing module send window convergent-divergent message, move options address, described position is carried in message, window convergent-divergent processing module responds this message, and toggle window convergent-divergent process function, window convergent-divergent process function moves the convergent-divergent realizing window according to the relative position of two contacts.
7. based on a multi-contact input device for touch-screen, it is characterized in that, described device comprises:
Message maps module, for being received the multiconductor pressing position message that touch-screen driver module transmits by system interface, pressing position information is converted to corresponding marking keys, and sends to corresponding multiconductor processing module to process the Multiconductor press key message that the input of the Multiconductor press key of user is mapped as respective type according to by key map;
Wherein, with certain assay intervals, described message maps module judges whether described multiconductor keeps pressed state always, if it is repeat to send corresponding Multiconductor press key message to corresponding multiconductor processing module, otherwise, just send corresponding release message to corresponding multiconductor processing module as long as there is a contact to be released.
8. device according to claim 7, is characterized in that, the type of described Multiconductor press key message comprises: Macintosh input type of message, compound keys input type of message, fast gesture input type of message; The processing module corresponding with each multiconductor type of message is respectively: Macintosh processing module, compound keys processing module, fast gesture processing module.
9. device according to claim 8, it is characterized in that, described Macintosh processing module is used for when described message maps module monitors is to having the leading button in Macintosh to press and having again the additional key in Macintosh to be pressed while keeping down state, described message maps module presses message according to pressing key map mapping group conjunction key, and when sending to Macintosh processing module; Described Macintosh processing module responds this message, and the event handling function that actuate combination key is pressed, perform the function that this Macintosh is corresponding.
10. device according to claim 8, it is characterized in that, described compound keys processing module is used for pressing to there being the leading button in compound keys when described message maps module monitors, to compound keys processing module send before lead key press press key message time, described compound keys processing module responds this message and changes accordingly inputting interface;
While described message maps module monitors keeps down state to lead key before described compound keys, there is again the additional key in compound keys to be pressed, described message maps module presses message according to mapping compound keys by key map, and when sending to compound keys processing module; Described compound keys processing module responds this message, and triggers the event handling function that compound keys presses, and performs the function that this compound keys is corresponding.
11. devices according to claim 8, it is characterized in that, described quick gesture processing module is used for being pressed to there being quick gesture key when described message maps module monitors, when sending to quick gesture processing module the press key message that quick gesture key presses, described quick gesture processing module responds this message, and pop-up window display starts button fast;
When described message maps module monitors presses again described quick startup button to user while being pressed at described quick gesture key and keeping down state, described message maps module inputs message according to mapping quick gesture by key map, and when sending to fast hand gesture processing module; Described quick gesture processing module responds this message, and triggers quick gesture event handling function, performs the function that this quick gesture key is corresponding.
12. devices according to claim 7, it is characterized in that, described device also comprises window convergent-divergent processing module, for when receiving the window convergent-divergent message that described message maps module sends, toggle window convergent-divergent process function, window convergent-divergent process function moves the convergent-divergent realizing window according to the relative position of two contacts;
Wherein, described message maps module is detecting that two contacts are concurrently depressed, and position occurs when moving, and sets up the position move options for two contacts; Described message maps module judges whether it is window scaling manipulations according to the Rule of judgment of window convergent-divergent, if then to window convergent-divergent processing module send window convergent-divergent message, carry move options address, described position in message.
CN200910241811.XA 2009-12-09 2009-12-09 A kind of multi-contact input method based on touch-screen and device Active CN102096488B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910241811.XA CN102096488B (en) 2009-12-09 2009-12-09 A kind of multi-contact input method based on touch-screen and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910241811.XA CN102096488B (en) 2009-12-09 2009-12-09 A kind of multi-contact input method based on touch-screen and device

Publications (2)

Publication Number Publication Date
CN102096488A CN102096488A (en) 2011-06-15
CN102096488B true CN102096488B (en) 2015-09-16

Family

ID=44129608

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910241811.XA Active CN102096488B (en) 2009-12-09 2009-12-09 A kind of multi-contact input method based on touch-screen and device

Country Status (1)

Country Link
CN (1) CN102096488B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262441B (en) * 2011-07-21 2018-05-04 中兴通讯股份有限公司 Input method and device
CN102346650A (en) * 2011-10-24 2012-02-08 Tcl集团股份有限公司 Method and device for creating new window and touch screen terminal
CN103176635B (en) * 2011-12-22 2016-04-13 腾讯科技(深圳)有限公司 Multi-control touch method and system
CN102541603B (en) * 2011-12-28 2015-12-02 华为终端有限公司 A kind of application program launching method, system and terminal device
CN103309483B (en) * 2012-03-12 2017-03-01 联想(北京)有限公司 A kind of electronic equipment and touch information input method
CN103529951B (en) * 2012-07-05 2017-09-15 腾讯科技(深圳)有限公司 Characters input method and system
TWI456456B (en) * 2012-08-10 2014-10-11 Hung Wei Chen Multi-touch device, touching method of the device, and application program using for the same
CN102890616B (en) * 2012-09-26 2016-03-30 杨生虎 The shortcut input method of touch-screen and system
CN104298436B (en) 2013-07-15 2019-03-01 腾讯科技(深圳)有限公司 A kind of quickly revert operating method and terminal
CN104714677A (en) * 2013-12-13 2015-06-17 联想(北京)有限公司 Gesture touch method and gesture touch device
CN106249976A (en) * 2016-08-15 2016-12-21 中国电子科技集团公司第四十研究所 A kind of multi-touch method for digital oscilloscope touch screen
CN106657572B (en) * 2016-09-19 2020-04-21 美艾(重庆)科技发展有限公司 Terminal and display method
CN106775290A (en) * 2016-11-23 2017-05-31 深圳铂睿智恒科技有限公司 The control method of touch panel device, system and touch panel device

Also Published As

Publication number Publication date
CN102096488A (en) 2011-06-15

Similar Documents

Publication Publication Date Title
CN102096488B (en) A kind of multi-contact input method based on touch-screen and device
US8797192B2 (en) Virtual keypad input device
CN101174190B (en) Software keyboard entry method for implementing composite key on screen of electronic equipments
CN103353828B (en) The method and device of function is write and is wiped in a kind of switching on the touchscreen
EP2073508B1 (en) A portable electronic apparatus, and a method of controlling a user interface thereof
US9104247B2 (en) Virtual keypad input device
WO2011026395A1 (en) Method and system for inputting multi-touch characters
US20070298849A1 (en) Keypad touch user interface method and a mobile terminal using the same
US20070296707A1 (en) Keypad touch user interface method and mobile terminal using the same
WO2011118602A1 (en) Mobile terminal with touch panel function and input method for same
CN101676844A (en) Processing method and apparatus for information input from touch screen
CN105159481A (en) Pen-type input device and input method using the same
JP2009288882A (en) Mobile terminal and information display method
KR20070079855A (en) The apparatus and method for character input of mobile communication terminal
US20070040812A1 (en) Internet phone integrated with touchpad functions
EP1864477A1 (en) Improved mobile communication terminal and method
JP4521320B2 (en) Input terminal
EP2146493B1 (en) Method and apparatus for continuous key operation of mobile terminal
EP2818984B1 (en) Touch panel input device and control method for same
JP2008140211A (en) Control method for input part and input device using the same and electronic equipment
CN102117170A (en) Soft keyboard input system and method
JP2006302067A (en) Input device
JP2004220536A (en) Input device for information processor
CN104375680A (en) Electronic equipment and input method
JP4907296B2 (en) Input device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: SHENZHEN SHIJI LIGHT SPEED INFORMATION TECHNOLOGY

Free format text: FORMER OWNER: TENGXUN SCI-TECH (SHENZHEN) CO., LTD.

Effective date: 20131017

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518044 SHENZHEN, GUANGDONG PROVINCE TO: 518057 SHENZHEN, GUANGDONG PROVINCE

TA01 Transfer of patent application right

Effective date of registration: 20131017

Address after: A Tencent Building in Shenzhen Nanshan District City, Guangdong streets in Guangdong province science and technology 518057 16

Applicant after: Shenzhen Shiji Guangsu Information Technology Co., Ltd.

Address before: Shenzhen Futian District City, Guangdong province 518044 Zhenxing Road, SEG Science Park 2 East Room 403

Applicant before: Tencent Technology (Shenzhen) Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant