CN101192124A - System and method for automatic distinguishing and processing for touch screen input information - Google Patents

System and method for automatic distinguishing and processing for touch screen input information Download PDF

Info

Publication number
CN101192124A
CN101192124A CNA2006101458065A CN200610145806A CN101192124A CN 101192124 A CN101192124 A CN 101192124A CN A2006101458065 A CNA2006101458065 A CN A2006101458065A CN 200610145806 A CN200610145806 A CN 200610145806A CN 101192124 A CN101192124 A CN 101192124A
Authority
CN
China
Prior art keywords
input
information
character
state
state machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2006101458065A
Other languages
Chinese (zh)
Other versions
CN101192124B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2006101458065A priority Critical patent/CN101192124B/en
Publication of CN101192124A publication Critical patent/CN101192124A/en
Application granted granted Critical
Publication of CN101192124B publication Critical patent/CN101192124B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

The invention discloses a system for automatically distinguishing the touch screen input information and a method thereof, aiming to solve the problem of the prior art of the incapability to automatically distinguish the touch screen input information. The method of the invention comprises the following steps that: an inputted data distinguishing processing state machine intercepts and captures the data information inputted by a user on a touch screen; a judgment is made according to the state of the inputted data information and the set timer, in case of a character input mode, the inputted data distinguishing processing state machine is switched to the character state to correspondingly report one character; in case of the mouse simulating mode, the inputted data distinguishing processing state machine is switched to the mouse simulating state to correspondingly report one character. The device of the invention comprises a display device driver, a graphic system, a touch screen device driver and an inputted data distinguishing processing state machine. The invention can automatically distinguish the inputted information, realizes the interaction of a user and a graphic window and has the function of inputting characters by handwriting.

Description

Information input from touch screen is carried out the system and method that automatic distinguishing is handled
Technical field
The present invention relates to the touch-screen on the electronic equipment, special relating to fully, carried out the system and method that automatic distinguishing is handled to information input from touch screen.
Background technology
X Window system is a kind of computer software technology that is different from traditional character terminal display system, and visualized graphs interface user-friendly, can be mutual is provided.By X Window system, the user can carry out alternately with computing machine or other intelligent electronic device intuitively, from mutual angle GUI (the Graphic User Interface) system that is otherwise known as.
X Window system comprises such two essential characteristics at least: feature one is in the application software based on X Window system, provide on its display interface to supply the graphic elements (in different systems, being called Control, Widget) of user's operation, as: button, list box, scroll bar, progress bar, edit box etc.The user can use controls such as button on mouse and the keyboard operation graphical interfaces, scroll bar intuitively, reaches mutual purpose.Feature two has provided a cover message or a case mechanism, and the input information of response and processing keyboard and positioning equipment (positioning equipment refers to touch-screen, mouse, trace ball etc.) makes based on the application software of X Window system exploitation and finishes predetermined applied logic.In the message and case mechanism of graphics system, message and the incident imported at character are specially arranged, satisfy the requirement of character input.
Positioning equipment is the main input medium that the user operates the graphical window application program.In the input information of positioning equipment, comprised positional information (x, y coordinate) or relative position information, and status information (depress, lift).Handle through message in the system or case mechanism, can realize click, double-click, the dilatory operation of graphic elements in user's application programs.For example: the user is by the button on the click graphical interfaces.
Positioning equipment is also as the character input medium.Traditional character input is finished by keyboard, and along with the development of technology, character handwriting recognition input technology has obtained using widely.Because the handwriting recognition input more meets human writing style, avoid remembering a large amount of unnecessary character codes simultaneously.In the process of handwriting recognition input, at first to obtain user's handwriting data, the input information of positioning equipment is a kind of means that obtain handwriting data.When obtaining handwriting data, can on display device, show the input person's handwriting with patterned mode.Secondly, the handwriting data structuring that obtains.Structurized data will meet the requirement of recognizer to the input data, for example: indicate initial, the end of each stroke in structural data.Once more, treated data and the hand-written character library of having gathered are mated calculating, by character or the character set after certain coding standard output identification.At last, the application program based on graphics system can the character of handwriting input be shown, editing and processing.
Touch-screen is widely used in hand-hold electronic equipments (mobile phone, PDA) as a kind of input medium and some have the occasion of particular requirement to input equipment.Structurally, touch-screen is laminated on above the display screen.The user on the one hand can be mutual by touch-screen and application program, and another aspect touch-screen is again as the means of user's handwriting characters.When there is multiple graphic elements (for example: the editing graph element, button, the scroll bar that receive the character input) in graphic user interface, just there has been ambiguity in the input information of touch-screen: need promptly to judge that the user is a incident as the input of character handwriting recognition to the input information of touch-screen, still as the mouse event that graphic elements is operated.
At present, one of disposal route that solves the differentiation information input from touch screen is local handwriting mode.When needing handwriting input, provide a handwritten patterns interface at the regional area of whole window.This graphical interfaces receives information input from touch screen, and the character of identification is outputed to predetermined zone.
Have and realized the function that full screen is hand-written on some equipment, the general treatment scheme that adopts is: information input from touch screen will convert the event handling flow process that mouse event enters graphics system earlier to, force to receive by the Drawing Object that a responsible process information is distinguished, be judged as general mouse event and carry out once more distribution processor, and for the information that is judged as handwriting input, after identification, output character is to predetermined zone.But, when above-mentioned method all can't satisfy user and X Window system interactive function, can realize the character hand-write input function again.
Summary of the invention
For defective and the deficiency that overcomes prior art, the object of the present invention is to provide a kind of system and method that information input from touch screen is carried out the automatic distinguishing processing, can when satisfying user and X Window system interactive function, can realize the character hand-write input function again.
In order to achieve the above object, the present invention is a kind of to carry out the method that automatic distinguishing is handled to information input from touch screen, may further comprise the steps:
(1) input block divisional processing state machine is intercepted and captured the data message that the user imports on touch-screen;
(2) input block divisional processing state machine judges that according to the state of input data information and the timer of setting the input mode that the user uses is input character mode or analog mouse mode, if be judged as the input character mode, then enters step (3); If the analog mouse mode then enters step (4);
What (3) input block divisional processing state machine changed that the character state carries out this character over to correspondingly reports processing, and step finishes;
(4) input block divisional processing state machine changes the analog mouse state over to and reports processing accordingly.
Preferably, described step (2) is specially:
(21) input block divisional processing state machine obtains the input data information state for starting to write, and starts timer simultaneously;
(22) if whether the data message state that obtains follow-up input in the time that timer is set for lift pen, then enters step (4) for lifting pen; If for starting to write, then enter step (23);
(23) in the time that timer is set, the double data message that obtains is compared, judge that whether it satisfies default threshold value, if satisfy, then enters step (3); If do not satisfy, and timer is in timeout mode, then enters step (4).
Preferably, described step (3) is specially:
(31) input block divisional processing state machine changes the character state over to, and the state of obtaining is an input data information of lifting pen, and starts new timer simultaneously;
(32) judge whether getting access to new state is the input data information of starting to write in the time that this new timer is set, if judged result is for being then to return step (31); If judged result then reports this character information for not, step finishes.
Preferably, described step (4) is specially:
(41) input block divisional processing state machine changes the analog mouse state over to, the state of receiving be lift the pen input data information after report this analog mouse incident.
The present invention is a kind of to carry out the system that automatic distinguishing is handled to information input from touch screen, and comprising: display device driving, graphics system and touch panel device drive, and described device also comprises:
Input block divisional processing state machine, be used to intercept and capture the input information of touch-screen, and by the input information state and be provided with timer distinguish this input information be the character incident still for after the analog mouse incident, the character or the analog mouse treatment state that are converted to response are handled;
Wherein, described input block divisional processing state machine drives and is electrically connected with graphics system, touch panel device respectively.
Preferably, described input block divisional processing state machine drives with described display device and is electrically connected;
Wherein, the character information of input is driven by display device by input block divisional processing state machine and outputs to display screen.
After adopting above-mentioned method and system, by the input information state with timer is set to distinguish this input information be that the character incident is still for after the analog mouse incident, the character or the analog mouse treatment state that are converted to response are handled, can when satisfying user and X Window system interactive function, can realize the character hand-write input function again.
Description of drawings
Fig. 1 a is a kind of enforcement structural representation of information input from touch screen differentiating and processing system among the present invention;
Fig. 1 b implements structural representation for the another kind of information input from touch screen differentiating and processing system among the present invention;
Fig. 2 is each state transitions synoptic diagram of information input from touch screen differentiating and processing among the present invention.
Embodiment
Below in conjunction with accompanying drawing concrete real-time mode of the present invention is described in further detail.
Shown in Fig. 1 a and Fig. 1 b, the position relation of this information input from touch screen distinction processing method software in system described, touch-screen and display screen are as hardware device, there is corresponding bottom touch panel device to drive and display device driving support, between bottom touch screen driver software and graphics system, embedded input block divisional processing state machine, treatment scheme is exactly that input block divisional processing state machine is after obtaining the touch-screen input data information, according to the input information state with timer is set to distinguish this input information be that the character incident is still for the analog mouse incident; Output to display device by graphics system will exporting the result, output result one generates the character incident or message passes to graphics system, simultaneously can be by graphics system or directly call the display screen driving interface and show handwriting; The 2nd, analog mouse incident or message pass to graphics system; Three do discard processing for some invalid input informations.Handwriting shows and can output to screen (shown in Fig. 1 b) by the display device driving, also can output to screen (as shown in Figure 1a) by graphics system.
According to the state machine that this software approach is realized, when importing, the needs character has an effect.At least 5 states below state machine of the present invention should comprise, as shown in Figure 2;
State 1 is an original state.Under this state, state machine does not receive effective information input from touch screen.Invalid input information is those information of rejecting according to certain criterion needs.
State 2 is a pending status.Under this state, need further incident or message to adjudicate state of transferring to 3 or state 5.
State 3 is the stroke state.Under this state, the information input from touch screen that receives is handled as character stroke input data.
State 4 is the stroke state that finishes.Under this state, represent that a stroke input finishes, products for further is handled.
State 5 is the analog mouse state-event.Under this state, information input from touch screen is modeled as mouse event, can carry out more complicated processing.
Described the situation of state transitions among Fig. 2, line is represented state transition path, numeral the trigger condition that take place to shift.The information input from touch screen that can trigger state machine all needs to judge through validity.
At first, can determine to comprise at least that from the moving input information form that obtains of touch screen areas (s), x, y are coordinate datas to three elements for x, y, and s represents status data (starting to write, lift pen).
1, state 1 is transferred to state 2.During the state machine initialization, be positioned at state 1.Trigger event is to obtain information input from touch screen, and wherein s for starting to write.Need to start a timer timer1 simultaneously.
2, state 2 is transferred to state 1.Trigger event is under the not overtime situation of timer1, and obtaining follow-up s is the information input from touch screen of lifting pen, and information input from touch screen can be modeled as mouse event.
3, state 2 is transferred to state 3.Trigger event is that follow-up information input from touch screen has satisfied the condition of the state of transferring to 3 under the not overtime situation of timer1.Satisfy the condition of transferring to state 3 and judge two aspects of needs at least, one, follow-up information input from touch screen s is the state of starting to write; Its two, the information of follow-up acquisition and the information obtained are before relatively calculated, see whether satisfy a certain threshold value.For example: can carry out distance simply and judge,, just can transfer to state 3 greater than a certain distance.In state 3, can be the s that obtains before the information input from touch screen of starting to write, and the s that continues to obtain be the information input from touch screen of starting to write, as the data of a stroke of character input.Simultaneously, can be on display screen character display stroke track.
4, state 3 is transferred to state 4.Trigger event is that the effective s of acquisition is an information input from touch screen of lifting pen, starts a timer timer2 simultaneously.At this moment, also indicating the end of a stroke.
5, state 4 is transferred to state 3.Trigger event is under the not overtime situation of timer2, and obtaining effective s is the information input from touch screen of starting to write.At this moment, indicating the beginning that a new stroke data receives.
6, state 4 is transferred to state 1.Trigger event is overtime at timer2.At this moment, indicating a character and importing finishing of all strokes, can call the handwriting recognition program of character and finish identifying operation.Simultaneously, can eliminate character track on the display screen.
7, state 2 is transferred to state 5.Trigger event is overtime at timer1, and does not have to occur satisfying the condition of transferring to state 1 or transferring to state 3 before this.At state 5, the user can carry out information input from touch screen more complicated mouse event and handle.For example: be modeled as the right mouse button incident.
8, state 5 is transferred to state 1.The information of touch-screen input or other condition satisfy the jump condition of state 5 to state 1.As: receiving s is the follow-up information input from touch screen of lifting pen.
The present invention is by the input information state and timer is set to distinguish this input information be that the character incident is still for after the analog mouse incident, the character or the analog mouse treatment state that are converted to response are handled, can when satisfying user and X Window system interactive function, can realize the character hand-write input function again.

Claims (6)

1. the method that information input from touch screen is carried out the automatic distinguishing processing is characterized in that, may further comprise the steps:
(1) input block divisional processing state machine is intercepted and captured the data message that the user imports on touch-screen;
(2) input block divisional processing state machine judges that according to the state of input data information and the timer of setting the input mode that the user uses is input character mode or analog mouse mode, if be judged as the input character mode, then enters step (3); If the analog mouse mode then enters step (4);
What (3) input block divisional processing state machine changed that the character state carries out this character over to correspondingly reports processing, and step finishes;
(4) input block divisional processing state machine changes the analog mouse state over to and reports processing accordingly.
2. according to claim 1 is described information input from touch screen is carried out the method that automatic distinguishing is handled, it is characterized in that described step (2) is specially:
(21) input block divisional processing state machine obtains the input data information state for starting to write, and starts timer simultaneously;
(22) if whether the data message state that obtains follow-up input in the time that timer is set for lift pen, then enters step (4) for lifting pen; If for starting to write, then enter step (23);
(23) in the time that timer is set, the double data message that obtains is compared, judge that whether it satisfies default threshold value, if satisfy, then enters step (3); If do not satisfy, and timer is in timeout mode, then enters step (4).
3. according to claim 2 is described information input from touch screen is carried out the method that automatic distinguishing is handled, it is characterized in that described step (3) is specially:
(31) input block divisional processing state machine changes the character state over to, and the state of obtaining is an input data information of lifting pen, and starts new timer simultaneously;
(32) judge whether getting access to new state is the input data information of starting to write in the time that this new timer is set, if judged result is for being then to return step (31); If judged result then reports this character information for not, step finishes.
4. according to claim 3 is described information input from touch screen is carried out the method that automatic distinguishing is handled, it is characterized in that described step (4) is specially:
(41) input block divisional processing state machine changes the analog mouse state over to, the state of receiving be lift the pen input data information after report this analog mouse incident.
5. one kind is carried out the system that automatic distinguishing is handled to information input from touch screen, and comprising: display device driving, graphics system and touch panel device drive, and it is characterized in that described device also comprises:
Input block divisional processing state machine, be used to intercept and capture the input information of touch-screen, and by the input information state and be provided with timer distinguish this input information be the character incident still for after the analog mouse incident, the character or the analog mouse treatment state that are converted to response are handled;
Wherein, described input block divisional processing state machine drives and is electrically connected with graphics system, touch panel device respectively.
6. according to claim 5 is described information input from touch screen is carried out the system that automatic distinguishing is handled, it is characterized in that, described input block divisional processing state machine drives with described display device and is electrically connected;
Wherein, the character information of input is driven by display device by input block divisional processing state machine and outputs to display screen.
CN2006101458065A 2006-11-17 2006-11-17 System and method for automatic distinguishing and processing for touch screen input information Active CN101192124B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006101458065A CN101192124B (en) 2006-11-17 2006-11-17 System and method for automatic distinguishing and processing for touch screen input information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006101458065A CN101192124B (en) 2006-11-17 2006-11-17 System and method for automatic distinguishing and processing for touch screen input information

Publications (2)

Publication Number Publication Date
CN101192124A true CN101192124A (en) 2008-06-04
CN101192124B CN101192124B (en) 2010-04-21

Family

ID=39487145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006101458065A Active CN101192124B (en) 2006-11-17 2006-11-17 System and method for automatic distinguishing and processing for touch screen input information

Country Status (1)

Country Link
CN (1) CN101192124B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101634912B (en) * 2008-07-23 2011-10-19 佛山市顺德区顺达电脑厂有限公司 Touch screen processing device and method thereof
CN101382856B (en) * 2008-09-24 2012-02-08 广东威创视讯科技股份有限公司 Apparatus and method for implementing USB HID MOUSE function on touching device
CN102854994A (en) * 2011-06-28 2013-01-02 幻音科技(深圳)有限公司 Inputting method and device
CN103164162A (en) * 2013-03-26 2013-06-19 东莞宇龙通信科技有限公司 Text application method and device of hand inputting
CN103226406A (en) * 2012-01-09 2013-07-31 辉达公司 Touch-screen input/output device techniques
CN102073487B (en) * 2009-11-20 2013-08-14 北京金山软件有限公司 Method and device for manually and intelligently implementing application program
CN104182663A (en) * 2013-05-27 2014-12-03 阿里巴巴集团控股有限公司 Method and device for identifying simulator operation

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0736142B2 (en) * 1991-10-10 1995-04-19 インターナショナル・ビジネス・マシーンズ・コーポレイション Method and information processing apparatus for recognizing movement stop of movement instruction means
US5600735A (en) * 1994-05-10 1997-02-04 Motorola, Inc. Method of recognizing handwritten input
US6128007A (en) * 1996-07-29 2000-10-03 Motorola, Inc. Method and apparatus for multi-mode handwritten input and hand directed control of a computing device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101634912B (en) * 2008-07-23 2011-10-19 佛山市顺德区顺达电脑厂有限公司 Touch screen processing device and method thereof
CN101382856B (en) * 2008-09-24 2012-02-08 广东威创视讯科技股份有限公司 Apparatus and method for implementing USB HID MOUSE function on touching device
CN102073487B (en) * 2009-11-20 2013-08-14 北京金山软件有限公司 Method and device for manually and intelligently implementing application program
CN102854994A (en) * 2011-06-28 2013-01-02 幻音科技(深圳)有限公司 Inputting method and device
CN102854994B (en) * 2011-06-28 2016-05-11 幻音科技(深圳)有限公司 Input method and device
CN103226406A (en) * 2012-01-09 2013-07-31 辉达公司 Touch-screen input/output device techniques
CN103164162A (en) * 2013-03-26 2013-06-19 东莞宇龙通信科技有限公司 Text application method and device of hand inputting
CN104182663A (en) * 2013-05-27 2014-12-03 阿里巴巴集团控股有限公司 Method and device for identifying simulator operation
CN104182663B (en) * 2013-05-27 2017-08-18 阿里巴巴集团控股有限公司 A kind of method and device for differentiating simulator operation

Also Published As

Publication number Publication date
CN101192124B (en) 2010-04-21

Similar Documents

Publication Publication Date Title
CN101192124B (en) System and method for automatic distinguishing and processing for touch screen input information
Rubine Specifying gestures by example
EP0536554B1 (en) Method and apparatus for reducing system overhead for a touch screen device
US6029214A (en) Input tablet system with user programmable absolute coordinate mode and relative coordinate mode segments
CN1027197C (en) Apparatus and method for reducing system overhead while inking strokes in finger or stylus-based input device of data processing system
CN100336000C (en) Input processing method and input control apparatus
CN108845668B (en) Man-machine interaction system and method
CN101498973B (en) Touch control interpretation structure and method for executing touch control application program by multi-finger gesture
CN101408824A (en) Method for recognizing mouse gesticulation
CN103686283A (en) Smart television remote controller man-machine interaction method
CN103150020A (en) Three-dimensional finger control operation method and system
US20140267089A1 (en) Geometric Shape Generation using Multi-Stage Gesture Recognition
CN107085469A (en) A kind of recognition methods of gesture and device
CN100373313C (en) Intelligent recognition coding method for interactive input apparatus
CN105912149A (en) Mouse pointer control method, control device and terminal
CN109189219A (en) The implementation method of contactless virtual mouse based on gesture identification
CN1049053C (en) Method for buffering bandwidth data from an input device
CN103970360B (en) Multipoint-touch-based gesture identification method and system
CN102520794B (en) Gesture recognition system and method
KR101558200B1 (en) Apparatus and method for controlling idle of vehicle
Ko et al. Finger mouse and gesture recognition system as a new human computer interface
CN103186264A (en) Touch control electronic device and touch control method thereof
CN206674011U (en) A kind of rear shell has the smart mobile phone of touchpad operation function
CN110058723A (en) A kind of Writing method, apparatus and system
CN105955570A (en) System and method for controlling cursor moving

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant