CN1318947C - Information input method using soft keyboard - Google Patents

Information input method using soft keyboard Download PDF

Info

Publication number
CN1318947C
CN1318947C CNB2003101175005A CN200310117500A CN1318947C CN 1318947 C CN1318947 C CN 1318947C CN B2003101175005 A CNB2003101175005 A CN B2003101175005A CN 200310117500 A CN200310117500 A CN 200310117500A CN 1318947 C CN1318947 C CN 1318947C
Authority
CN
China
Prior art keywords
window
soft keyboard
incident
key
nano
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.)
Expired - Fee Related
Application number
CNB2003101175005A
Other languages
Chinese (zh)
Other versions
CN1558309A (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.)
WEIAIDE COMMUNICATION TECHNOLOGY (SHENZHEN) Co Ltd
Original Assignee
WEIAIDE COMMUNICATION TECHNOLOGY (SHENZHEN) 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 WEIAIDE COMMUNICATION TECHNOLOGY (SHENZHEN) Co Ltd filed Critical WEIAIDE COMMUNICATION TECHNOLOGY (SHENZHEN) Co Ltd
Priority to CNB2003101175005A priority Critical patent/CN1318947C/en
Publication of CN1558309A publication Critical patent/CN1558309A/en
Application granted granted Critical
Publication of CN1318947C publication Critical patent/CN1318947C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The present invention discloses a method for using soft keyboard input information. The soft keyboard is an input tool based on a Microwin graphic interface of a Linux system. The method comprises the procedures: connection with a Nano-X server is opened; a main window is generated; once a user starts to use the soft keyboard, any Microwin main window is generated on a screen to be used as a basic window of the soft keyboard; in a window receiving event, the Nano-X server circularly captures an event on the window, the Nano-X server captures the event on the window when a touch screen is pressed, the event is explained into clicking to the mouse position of the window from pressed coordinates, and then the message of each kinds of clicking is classified by the Nana-X server. The soft keyboard can be dragged and can be combined, the soft keyboard with standard 88 key mappings can be realized. The soft keyboard has the advantages of stable performance, reliability, convenient operation and use, small occupation memory and high speed, and therefore, the soft keyboard is convenient for inputting information.

Description

A kind of generation method of soft keyboard
[technical field]
The present invention relates to a kind of soft keyboard, relate in particular to a kind of generation method of soft keyboard.
[background technology]
The keyboard of traditional mediaphone is the keyboard that adopts external common 88 key positions, but the service efficiency of this type keyboard is low, and relatively more burdensome, fault is also many.Along with the development of mediaphone, the application of soft keyboard is more and more general, and at present on the mediaphone used soft keyboard key position very little, function singleness.For example number of patent application is that 00124970.3 Chinese patent literature discloses a kind of intelligent network telephone, this phone has touch-screen and soft keyboard, this soft keyboard has numeric keypad and English+numeric keypad, according to the function difference, numeral accounts for 1 row, be used for the phone input, the QWERTY keyboard that English provides for PPSM.But this soft keyboard can only be fixed on a position, and can not drag, and therefore soft keyboard can occur hinders the problem of browsing on screen; This soft keyboard is not the keyboard of 88 key positions in addition, and its key position and can not be made up very little, so the input information inconvenience.
[summary of the invention]
Can not drag in order to overcome existing soft keyboard, the key position very little, function singleness and cause the shortcoming of input information inconvenience, the invention provides a kind of generation method of soft keyboard, the soft keyboard that generates by this method can drag, and can be the soft keyboard of 88 key positions of standard, therefore use this soft keyboard to be convenient to the input of information.
For realizing purpose of the present invention, the technical solution adopted in the present invention is: a kind of generation method of soft keyboard is provided, it is characterized in that this soft keyboard is based on the input tool of the Microwin graphical interfaces of linux system, this method may further comprise the steps:
Step 1. open and being connected of Nano-X server, to Nano-X server application internal memory or communication channel;
Step 2. generate a main window: after the application program of soft keyboard is by certain Event triggered, soft keyboard is activated, screen display at touch-screen comes out, in case the user will bring into use soft keyboard, so then on screen, generate any one Microwin main window, to guarantee the receiving Microwin incident, this window of initialization is as the basic window of soft keyboard;
Step 3. the receive window incident: the incident on this window is caught in circulation, this is caught by the Nano-X server of Microwin, when touch-screen is pressed, Nano-X will catch the incident on this window, this incident is interpreted as click to the mouse orientation of window from the coordinate of pressing, then by the classify message of each click of Nano-X.
The invention has the beneficial effects as follows, because soft keyboard of the present invention is based on the input tool of the Microwin graphical interfaces of linux system, therefore this soft keyboard can drag, and can make up, and can realize the soft keyboard of 88 key positions of standard, and this soft keyboard stable performance, reliably, easy for operation, committed memory is little, speed is fast, therefore uses this soft keyboard can be convenient to the input of information.
[description of drawings]
Fig. 1 is the process flow diagram of the generation method of soft keyboard of the present invention.
Fig. 2 is the common keyboard figure of soft keyboard of the present invention.
Fig. 3 is the ctrl keyboard layout of soft keyboard of the present invention.
Fig. 4 is the num keyboard layout of soft keyboard of the present invention.
Fig. 5 is the shift key dish figure of soft keyboard of the present invention.
[embodiment]
Soft keyboard of the present invention is the input tool that develops on the Microwin of employed linux system on mediaphone graphical interfaces basis.This soft keyboard stable performance, reliable, easy for operation, committed memory is little, and speed is fast.
See also Fig. 1, the generation method of soft keyboard of the present invention may further comprise the steps:
Step 1. open and being connected of Nano-X server: because Microwin itself is a server/client structure, soft keyboard also sends to the Nano-X server as the client of a standard and connects application internal memory or communication channel so;
Step 2. generate a main window: after the application program of soft keyboard is by certain Event triggered (for example certain incident of GTK or other windows are to a message that Microwin sent), soft keyboard is activated, and shows in the screen upper left corner of touch-screen.In case the user will bring into use soft keyboard, must on screen, generate any one Microwin main window so, to guarantee to receive the Microwin incident, this window of initialization, as the basic window of soft keyboard, this window may be the control of any one GTK, for example input frame certainly, common window, various other controls etc.;
Step 3. the receive window incident: the incident on this window is caught in circulation, this is caught by the Nano-X server of Microwin, when touch-screen is pressed, Nano-X will catch the incident on this window, this incident is interpreted as click to the mouse orientation of window from the coordinate of pressing, then by the classify message of each click of Nano-X, be divided into the close incident, key-press event, window exposes incident, the mouse moving event, for soft keyboard, have only key-press event to handle, get current coordinate, according to coordinate range, try to achieve this place's character scan code.If the close incident, the service of then closing connects, and destroys window; If key-press event is then got current coordinate range, try to achieve this place's character scan code; If window exposes incident, then in window, paint soft keyboard figure; If the mouse moving event is then hidden parent window, at the current location display window;
Step 4. differentiate scan code: when handling key-press event, make corresponding processing according to the scan code of being differentiated: for example scan code is a common key, then obtains the current focus window, sends out the character incoming event to this window; Scan code is a shift key, then shows shift key dish figure; Scan code is the num key, then shows the num keyboard layout; Scan code is the ctrl key, then shows the ctrl keyboard layout; Scan code is the intl key, then represents standbyly, does not have operation.After disposing, the keyboard treatment scheme is returned step 3, continues senses touch and shields the incident that is pressed.
Fig. 2,3,4,5 be respectively soft keyboard of the present invention common keyboard figure, press the later ctrl keyboard layout of ctrl, press the later num keyboard layout of numerical key and press the later shift key dish figure of Shift.When mediaphone uses the soft keyboard input information, then can import according to the soft keyboard that shows on the touch-screen.

Claims (6)

1. the generation method of a soft keyboard is characterized in that this soft keyboard is based on the input tool of the Microwin graphical interfaces of linux system, and this method may further comprise the steps:
Step 1. open and being connected of Nano-X server, to Nano-X server application internal memory or communication channel;
Step 2. generate a main window: after the application program of soft keyboard is by certain Event triggered, soft keyboard is activated, screen display at touch-screen comes out, in case the user will bring into use soft keyboard, so then on screen, generate any one Microwin main window, to guarantee the receiving Microwin incident, this window of initialization is as the basic window of soft keyboard;
Step 3. the receive window incident: the incident on this window is caught in circulation, this is caught by the Nano-X server of Microwin, when touch-screen is pressed, Nano-X will catch the incident on this window, this incident is interpreted as click to the mouse orientation of window from the coordinate of pressing, then by the classify message of each click of Nano-X.
2. method according to claim 1 is characterized in that: the application program of the described soft keyboard of step 2 is to a message trigger that Microwin sent by certain incident of GTK or other windows.
3. method according to claim 1 is characterized in that: the described window of step 2 is the control of any one GTK.
4. method according to claim 1, it is characterized in that: the incident on the window that the described Nano-X of step 3 catches comprises the close incident, key-press event, window exposes incident, and the mouse moving event is for soft keyboard, have only key-press event to handle, get current coordinate,, try to achieve this place's character scan code according to coordinate range; If the close incident, the service of then closing connects, and destroys window; If key-press event is then got current coordinate range, try to achieve this place's character scan code; If window exposes incident, then in window, paint soft keyboard figure; If the mouse moving event is then hidden parent window, at the current location display window.
5. method according to claim 4 is characterized in that: when handling key-press event, make corresponding processing according to the scan code of being differentiated, after disposing, the keyboard treatment scheme is returned step 3, continues senses touch and shields the incident that is pressed.
6. method according to claim 5 is characterized in that: when this scan code is common key, then obtain the current focus window, send out the character incoming event to this window; When scan code is shift key, then show shift key dish figure; When scan code is the num key, then show the num keyboard layout; When scan code is the ctrl key, then show the ctrl keyboard layout; When scan code is the intl key, then represent standbyly, there is not operation.
CNB2003101175005A 2003-12-19 2003-12-19 Information input method using soft keyboard Expired - Fee Related CN1318947C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101175005A CN1318947C (en) 2003-12-19 2003-12-19 Information input method using soft keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101175005A CN1318947C (en) 2003-12-19 2003-12-19 Information input method using soft keyboard

Publications (2)

Publication Number Publication Date
CN1558309A CN1558309A (en) 2004-12-29
CN1318947C true CN1318947C (en) 2007-05-30

Family

ID=34337832

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101175005A Expired - Fee Related CN1318947C (en) 2003-12-19 2003-12-19 Information input method using soft keyboard

Country Status (1)

Country Link
CN (1) CN1318947C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9041653B2 (en) 2008-07-18 2015-05-26 Htc Corporation Electronic device, controlling method thereof and computer program product
CN102141872B (en) * 2010-02-03 2016-05-04 康佳集团股份有限公司 A kind of method, system and embedded device of close
CN104750498B (en) * 2012-02-24 2018-12-18 青岛海信电器股份有限公司 A kind of method and electronic equipment controlling mouse module
CN103106030B (en) * 2013-01-22 2016-07-06 京东方科技集团股份有限公司 The display packing of a kind of soft keyboard, device and electronic equipment
WO2019178865A1 (en) * 2018-03-23 2019-09-26 华为技术有限公司 Application window display method and terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1127896A (en) * 1994-12-29 1996-07-31 三星电子株式会社 Portable information terminal and method for input ting information using soft keyboard
US6562078B1 (en) * 1999-06-29 2003-05-13 Microsoft Corporation Arrangement and method for inputting non-alphabetic language

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1127896A (en) * 1994-12-29 1996-07-31 三星电子株式会社 Portable information terminal and method for input ting information using soft keyboard
US6562078B1 (en) * 1999-06-29 2003-05-13 Microsoft Corporation Arrangement and method for inputting non-alphabetic language

Also Published As

Publication number Publication date
CN1558309A (en) 2004-12-29

Similar Documents

Publication Publication Date Title
CN103500067B (en) The touch screen interaction system that a kind of click, slip, gesture identification are combined with voice
CN103064620B (en) Touch screen operation method and touch screen terminal
CN103543903B (en) shortcut operation method, device and mobile terminal
CN106681633B (en) System and method for auxiliary information input control function of sliding operation of portable terminal equipment
CN101661375B (en) Touch control method, system and display terminal
EP2631788A1 (en) Method and mobile terminal for recognizing hardware gestures
CN107193476B (en) Information input method and device, computer equipment and readable medium
WO1991003013A1 (en) Handwritten input data processor and handwritten input data system using the same
CN101882007A (en) Method and device for carrying out information input and execution based on input interface
CN102323875A (en) Mouse event-based multi-point touch gesture interaction method and middleware
CN107404576A (en) Screen locking magazine browsing method, mobile terminal and computer-readable recording medium
TW201413537A (en) Touch-control method for capacitive and electromagnetic dual-mode touch screen and handheld electronic device
CN106470110A (en) Method and device to the multiple user's pocket transmission news in user list
CN102819391A (en) System and method of multi-point touch gesture feedback system with concurrency under multiple scenes
CN109144376A (en) A kind of operation readiness method and terminal
CN1318947C (en) Information input method using soft keyboard
CN104615362A (en) Touch device capable of realizing on the basis of sliding gesture switching program and method thereof
CN109634487B (en) Information display method, device and storage medium
CN111866254B (en) Speed dialing system for intelligently identifying word stroke and implementation method thereof
CN106250374B (en) Word-taking translation method and system
CN105786321B (en) A kind of function switching method and device
CN102981828A (en) Method and device for achieving click operation
CN108595077A (en) A method of prompt operation is realized based on mobile phone desktop number of clicks
CN104331214B (en) Information processing method and electronic equipment
US20130088432A1 (en) Alphabet input device and alphabet recognition system in small-sized keypad

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
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee