CN102402373A - Method and device for controlling touch keyboard in mobile terminal - Google Patents
Method and device for controlling touch keyboard in mobile terminal Download PDFInfo
- Publication number
- CN102402373A CN102402373A CN2010102841588A CN201010284158A CN102402373A CN 102402373 A CN102402373 A CN 102402373A CN 2010102841588 A CN2010102841588 A CN 2010102841588A CN 201010284158 A CN201010284158 A CN 201010284158A CN 102402373 A CN102402373 A CN 102402373A
- Authority
- CN
- China
- Prior art keywords
- keyboard
- picture
- keyboard picture
- configuration file
- portable terminal
- 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
Links
Images
Landscapes
- Input From Keyboards Or The Like (AREA)
Abstract
The invention discloses a method and device for controlling a touch keyboard in a mobile terminal. The main technical scheme comprises the steps of: monitoring a trigger event of controlling the touch keyboard; after the trigger event is monitored, obtaining a stored keyboard picture and a configuration file corresponding to the keyboard picture, wherein the keyboard picture is used for identifying a display style of each key in the touch keyboard in the mobile terminal, the configuration file corresponding to the keyboard picture comprises position information corresponding to each key in the keyboard picture in the keyboard picture and a key event corresponding to each key; obtaining a region matched with the keyboard picture from a display memory of the mobile terminal, writing the keyboard picture in the obtained region and displaying the keyboard picture on a touch screen region mapped by the region; and importing the configuration file corresponding to the keyboard picture into a touch event processing function of the mobile terminal. By adopting the technical scheme, the efficiency of the realized control over the touch keyboard in the mobile terminal can be increased.
Description
Technical field
The present invention relates to the terminal technology field, relate in particular to a kind of method and device of controlling touch keyboard in the portable terminal.
Background technology
Touch screen (Touch panel) is called contact panel again; It is the induction type liquid crystal indicator that can receive input signals such as contact; When having contacted the graphic button on the screen; Haptic feedback system on the screen can drive various hookup mechanisms according to the formula of programming in advance, can be in order to the push button panel of dessert machine tool formula, and produce lively visual and sound effects by liquid crystal display picture.And along with popularizing of portable terminal, touch-screen is applied in the portable terminal more and more, because that touch-screen has is sturdy and durable, reaction velocity fast, save the space, be easy to many advantages such as interchange.Utilize this technology, icon or literal that the user needs only on the touch-screen of clicking portable terminal just can be realized the operation to the terminal, thereby make man-machine interaction more simple and direct.Meanwhile, along with being widely used of touch-screen, the effect of virtual touch keyboard in the mobile terminal of mobile telephone input is also more and more outstanding.
At present, realize touch keyboard having on the portable terminal of touch-screen, generally all be before dispatching from the factory in the terminal; By portable terminal manufacturer touch keyboard is encapsulated as an application in the terminal operating system; And the API (Application Programming Interface, API) that can be called by the user is provided, this use general all with portable terminal in input control module bind; Be after the user passes through this application of API Calls; Touch keyboard is displayed on the touch-screen of portable terminal, and the user is after clicking this touch keyboard, and the input control module of binding with it can eject text box indication user input.Be somebody's turn to do the touch keyboard of realizing through package application owing to be encapsulated as an application in the operating system; The user uses mobile keyboard need call API at every turn; And this application be with the terminal in input control module bind, with the application limitations of touch keyboard in input is used; And the touch keyboard of on portable terminal, realizing is cured in the terminal operating system, and the back of can't dispatching from the factory at the terminal is controlled the touch keyboard in this terminal.
In sum, based on prior art, the touch keyboard of in portable terminal, realizing depends on operating system, and Show Styles and function all are cured, and can not in the actual use at terminal, realize the control to touch keyboard.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of method and device of controlling touch keyboard in the portable terminal, adopts this technical scheme, can in the actual use of portable terminal, realize the control to touch keyboard.
The embodiment of the invention realizes through following technical scheme:
An aspect according to the embodiment of the invention provides a kind of method of controlling touch keyboard in the portable terminal.
The method of touch keyboard in the control portable terminal that provides according to the embodiment of the invention comprises:
The trigger event of monitoring control touch keyboard;
After monitoring said trigger event; Obtain preservation the keyboard picture and with the corresponding configuration file of said keyboard picture; Wherein, Said keyboard picture is used for identifying the Show Styles of each button of touch keyboard in portable terminal, comprises each button corresponding position information and corresponding key incident in said keyboard picture in the said keyboard picture with the corresponding configuration file of said keyboard picture;
From the display memory of portable terminal, obtain the zone with said keyboard picture coupling, said keyboard picture is write the said zone that obtains and is presented on the touch screen zone of said zone mapping; And
To import in the touch event processing function of said portable terminal with the corresponding configuration file of said keyboard picture.
According to another aspect of the embodiment of the invention, a kind of device of controlling touch keyboard in the portable terminal is provided also.
The device of touch keyboard in the control portable terminal that provides according to the embodiment of the invention comprises:
Monitoring unit is used for monitoring the trigger event that portable terminal is controlled touch keyboard;
Acquiring unit; Be used for after said monitoring unit monitors said trigger event; Obtain preservation the keyboard picture and with the corresponding configuration file of said keyboard picture; Wherein, said keyboard picture is used for identifying the Show Styles of each button of touch keyboard in portable terminal, comprises each button corresponding position information and corresponding key incident in said keyboard picture in the said keyboard picture with the corresponding configuration file of said keyboard picture;
The picture writing unit is used for obtaining from the display memory of portable terminal the zone of the keyboard picture coupling of obtaining with said acquiring unit, and said keyboard picture is write the said zone that obtains and is presented on the touch screen zone of said zone mapping;
Configuration file imports the unit, and what be used for said acquiring unit is obtained imports the touch event processing function of said portable terminal with the corresponding configuration file of said keyboard picture.
Another aspect according to the embodiment of the invention also provides a kind of portable terminal, and this portable terminal comprises the device of touch keyboard in the above-mentioned control portable terminal.
Above-mentioned at least one technical scheme that provides through the embodiment of the invention; Trigger event through control touch keyboard in the monitoring portable terminal; After monitoring this trigger event, obtain the keyboard picture of preservation and the configuration file corresponding, wherein with the keyboard picture; The keyboard picture is used for identifying the Show Styles of each button of touch keyboard in portable terminal, and the configuration file corresponding with the keyboard picture comprises each button corresponding position information and the corresponding key incident in the keyboard picture; Further from the display memory of portable terminal, obtain the zone of mating, this keyboard picture is write on zone that obtains and the touch screen zone that is presented at said regional mapping with this keyboard picture; And configuration file that will be corresponding with this keyboard picture imports in the touch event processing function of portable terminal.According to this technical scheme; Can in portable terminal, preserve keyboard picture and the configuration file corresponding in advance with the keyboard picture, can be in the actual use at terminal, through the trigger event in the monitor terminal; Realization is to the control of touch keyboard; Be about to preset keyboard picture and be presented on the touch-screen of terminal, and the configuration file that this keyboard picture is corresponding importing touch event processing function, respond with click event the user.This technical scheme can be implemented in the actual use of portable terminal the control to touch keyboard, and makes touch keyboard not rely on operating system.
Other features and advantages of the present invention will be set forth in instructions subsequently, and, partly from instructions, become obvious, perhaps understand through embodiment of the present invention.The object of the invention can be realized through the structure that in the instructions of being write, claims and accompanying drawing, is particularly pointed out and obtained with other advantages.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of instructions, is used to explain the present invention with the embodiment of the invention, is not construed as limiting the invention.In the accompanying drawings:
The process flow diagram of touch keyboard in the control portable terminal that Fig. 1 provides for the embodiment of the invention one;
The process flow diagram that obtains the zone of mating that Fig. 2 provides for the embodiment of the invention one with the keyboard picture;
Fig. 3 provides for the embodiment of the invention one will be corresponding with the keyboard picture the configuration file touch event that imports portable terminal handle the process flow diagram in the function;
During system boot that Fig. 4 provides for the embodiment of the invention one to the control flow chart of touch keyboard;
The device synoptic diagram one of touch keyboard in the control portable terminal that Fig. 5 provides for the embodiment of the invention two;
The device synoptic diagram two of touch keyboard in the control portable terminal that Fig. 6 provides for the embodiment of the invention two;
The portable terminal synoptic diagram that Fig. 7 provides for the embodiment of the invention three.
Embodiment
In order to provide the implementation of raising to the control efficiency of the touch keyboard realized in the portable terminal; The embodiment of the invention provides a kind of method and device of controlling touch keyboard in the portable terminal; Below in conjunction with Figure of description the preferred embodiments of the present invention are described; Should be appreciated that preferred embodiment described herein only is used for explanation and explains the present invention, and be not used in qualification the present invention.And under the situation of not conflicting, embodiment and the characteristic among the embodiment among the application can make up each other.
Embodiment one
The embodiment of the invention one provides a kind of method of controlling touch keyboard in the portable terminal, can in portable terminal, load different touch keyboards according to this method, has enriched the pattern and the function of touch keyboard in the portable terminal.
As shown in Figure 1, touch keyboard in the control portable terminal mainly comprises the steps:
The trigger event of control touch keyboard in step 101, the monitoring portable terminal.
In this step; The keyboard picture of preserving is used for identifying the Show Styles of each button of touch keyboard in portable terminal, and the configuration file corresponding with the keyboard picture comprises each button corresponding position information and the corresponding key incident in the keyboard picture in this keyboard picture.
In this step 104, specifically from display memory, obtain the zone of mating with this keyboard picture through the frame buffer Framebuffer in the portable terminal.
Above-mentioned steps 104 does not have strict execution sequence with step 105, in the practical application, can first as stated execution in step 104, and execution in step 105 again; Perhaps, first execution in step 105, execution in step 104 again; Perhaps, start two threads and carry out above-mentioned steps simultaneously.
Through above-mentioned flow process; Can be implemented in the portable terminal and load keyboard picture and the configuration file of preserving in advance according to trigger event; This keyboard picture can be designed by the user with corresponding configuration file according to the actual requirements; The Show Styles that can represent different touch keyboards through different keyboard pictures, and represent positional information and the corresponding key incident of each button in the keyboard picture in the corresponding keyboard picture through designing different configuration files, enriched the implementation of touch keyboard in the portable terminal; And do not rely on the system operation system, need not flow processs such as executive's interface calls.Below concrete ins and outs related in the above-mentioned steps are elaborated.
In the step 101 of flow process shown in Figure 1; The trigger event of control touch keyboard can be set in portable terminal in advance; For example; Portable terminal is set the time carries out the control of touch keyboard, or be provided with carry out the control of touch keyboard when the user needs to switch touch keyboard in the process of using portable terminal in start.Correspondingly, in this step 101, the trigger event of control touch keyboard in the monitoring portable terminal specifically comprises:
The start incident of monitoring portable terminal, whether promptly detect has starting-up signal in the portable terminal, and this starting-up signal can be triggered by the user, also can trigger by portable terminal, for example, Auto Power On; Or
The indication of carrying out the touch keyboard switching that the monitoring portable terminal receives; Promptly detect and whether receive touch keyboard switching indication; This touch keyboard switches indication can in use be triggered by the user in real time, also can trigger according to preestablishing when satisfying the switching condition of setting.In the practical application; The user can set the switching condition of touch keyboard in the portable terminal according to the actual requirements, for example, and for controlling conveniently; The user can set the touch keyboard corresponding with different application; When the user started this application program, system set the triggering keyboard according to the user and switches indication after detecting this incident; The user also can be according to self use habit; Can start different touch keyboards in different time sections, for example, the user can set the touch keyboard corresponding with different time sections; After system time gets into certain time period, set the triggering keyboard according to the user and switch indication.
In the step 103 of flow process shown in Figure 1,, generally all preserve many group keyboard pictures and the configuration file corresponding in the portable terminal with the keyboard picture in order to reach the purpose of enriching touch keyboard.Particularly, in portable terminal, generally all preserve under the situation of many group keyboard pictures and the configuration file corresponding with the keyboard picture, above-mentioned steps 103, can be preferably through following any one obtain manner realization:
Obtain manner one
The keyboard picture that obtains according to user indication obtains the user and indicates keyboard picture and the configuration file thereof that obtains from the many groups keyboard picture preserved and the configuration file corresponding with the keyboard picture.
In the practical application; After can in detecting portable terminal, having preserved many groups keyboard picture and configuration file thereof; Export selectable keyboard picture (or keyboard picture thumbnail or keyboard picture description information) to the user, and receive the keyboard picture that current needs that the user selects according to the selectable keyboard picture of output load; The keyboard picture that needs loading after also can being provided with in advance by the user here, then can directly be set according to the user and load corresponding keyboard picture, to improve the loading efficiency of touch keyboard.
Obtain manner two
According to each the preset time period and the corresponding relation and the current system time of keyboard picture, from the many groups keyboard picture preserved and the configuration file corresponding, obtain and current system time belongs to corresponding keyboard picture and configuration file thereof of time period with the keyboard picture.
The prerequisite of implementing this obtain manner two is the corresponding relation that the user has set each time period and keyboard picture, and promptly the user is provided with the keyboard picture of this time period use according to self-demand in different time sections.According to this embodiment two, can belong to the time period according to the current time in system and load corresponding keyboard picture, on the basis of having enriched keybaord file, further satisfied user's request.
Obtain manner three
According to each the preset application program and the corresponding relation and the current application program started of keyboard picture, from many groups keyboard picture of preservation and the configuration file corresponding, obtain keyboard picture and the configuration file thereof corresponding with current application program started with the keyboard picture.
The prerequisite of implementing this obtain manner three is the corresponding relation that the user has set each application program and keyboard picture; Be that the user is according to self-demand; The corresponding keyboard picture of this application program is set when starting different application; For example, when starting the MP3 player, can load the touch keyboard of being convenient to control this MP3 player.According to this embodiment three, can load corresponding keyboard picture according to user's application program started, on the basis of having enriched keybaord file, further satisfied user's request.
Be to be understood that; Above obtain manner is merely the preferred implementation that realizes the embodiment of the invention, in the practical application, multiple obtain manner can be arranged; For example; From many groups keyboard picture and configuration file thereof, choose any one group of loading, perhaps, from many groups keyboard picture and configuration file thereof, choose one group of keyboard picture and the configuration file thereof that meets current loading sequence according to the setting order.
In the step 104 of flow process shown in Figure 1, the frame buffer Framebuffer through portable terminal obtains the zone with this keyboard picture coupling from display memory, as shown in Figure 2, mainly comprises the steps:
In this step, the color depth of picture (Color Depth) information is the color bits degree of depth of picture, is illustrated in to set under the resolution, and each pixel can have the how many kinds of color to describe, and the unit of color depth is " bit (position) ".At present, typical color depth is 8bit, 16bit, 24bit and 32bit.Wherein, depth value is high more, and the color that can obtain is more.
In this step 202, frame buffer Framebuffer is used for the demonstration of current frame image on the touch-screen of control terminal, and the zone that from display memory, obtains with this keyboard layout chip resolution information and color depth information matches through frame buffer Framebuffer is:
x*y*a/n
Wherein:
X*y representes the resolution of keyboard picture;
A representes the color depth of keyboard picture, and unit is bit;
N representes unit and the relation of bit among the frame buffer Framebuffer, and for example, the unit among the frame buffer Framebuffer is a byte, and 1 byte equals 8bit, and then the value of n is 8 here.
In display memory,, need available zone in the reporting system operating system display memory, promptly utilize the original zone of display memory to deduct the zone that obtains for the keyboard picture for after the keyboard picture gets access to above-mentioned zone.
In the step 105 of flow process shown in Figure 1, configuration file that will be corresponding with the keyboard picture imports the touch event of portable terminal and handles in the function, and is as shown in Figure 3, mainly comprises the steps:
The touch event that step 302, regional extent that each button in this keyboard picture is corresponding respectively and corresponding key incident import portable terminal is handled in the function.
In the above-mentioned steps 301; The configuration file that the keyboard picture is corresponding comprises the regional extent and the corresponding key incident of each button correspondence in the keyboard picture in the keyboard picture, and regional extent and corresponding key incident to the button place in this configuration file can define as follows:
<Key>
<name>2</name>
<Rect>
<x1>100</x1>
<x2>150</x2>
<y1>50</y1>
<y2>80</y2>
</Rect>
<Event>2,a,b,c</Event>
....
</Key>
More than be the ios dhcp sample configuration IOS DHCP of button in the configuration file " 2 ", the button name is called " 2 ", and the regional extent that in key image, belongs to is the rectangular area that (100,50), (100,80), (150,50), (150,80) four pixels surround.Key-press event is button or the function that can represent of button for this reason, here " 2 " button can trigger out 2, the key-press event of a, b, four characters of c.
Through above-mentioned configuration mode; The user can be according to self-demand; Definition keyboard picture and the configuration file corresponding with this keyboard picture; And in configuration file flexible each button corresponding key incident of definition, through with system in frame buffer and touch event control module (promptly being used to carry out the module that touch event is handled function) carry out mutual, thereby accomplish the customization that designs keyboard certainly.
In the embodiment of the invention one, after executing above-mentioned steps 105, after promptly touch keyboard is accomplished in loading, also comprise the steps:
Obtain the user and click the click event that is presented at the keyboard picture on the said touch screen zone;
The user who comprises in the click event is clicked the positional information of said keyboard picture, and import the configuration file that touch event handles in the function and mate, confirm this positional information corresponding key, and trigger this button corresponding key incident.
Above step has constituted in the embodiment of the invention one based on the touch keyboard that loads, the flow process that user click event is responded.
In order to understand the technique scheme that the embodiment of the invention one provides better, the technical scheme that the embodiment of the invention provides is described below in conjunction with concrete start flow process:
As shown in Figure 4, to the control procedure of touch keyboard, mainly comprise the steps: during system boot
Here; Having omitted keyboard picture and the corresponding configuration file preserved in the CONFIG.SYS is under the situation of many groups; Choose the process of the keyboard picture and the corresponding configuration file of current loading; In the practical application, need obtain wherein one group, repeat no more here according to the obtain manner that above embodiment provides.
The keyboard picture that step 405, basis are obtained obtains a zone through framebuffer in display memory, this keyboard picture is write this zone show.
In this step 405, the keyboard picture write this zone after, further reporting system can deduct the zone of distributing to this keyboard picture for original framebuffer zone with the framebuffer zone.
The corresponding trigger event of button that step 409, triggering match, afterwards, system gets into the Idle state.
Embodiment two
The embodiment of the invention two provides a kind of device of controlling touch keyboard in the portable terminal, and the method flow of touch keyboard is corresponding one by one in this device and the control portable terminal that the foregoing description one provides.
As shown in Figure 5, the device of touch keyboard in this control portable terminal mainly comprises:
Wherein:
Acquiring unit 502; Be used for after monitoring unit 501 monitors trigger event; Obtain the keyboard picture of preservation and the configuration file corresponding with this keyboard picture; Wherein, said keyboard picture is used for identifying the Show Styles of each button of touch keyboard in portable terminal, comprises each button corresponding position information and corresponding key incident in said keyboard picture in the said keyboard picture with the corresponding configuration file of said keyboard picture;
Configuration file imports unit 504, is used for the corresponding configuration file of acquiring unit 502 keyboard pictures that obtain and said is imported the touch event processing function of said portable terminal.
In the preferred embodiment of the present invention, the monitoring unit 501 that device shown in Figure 5 comprises specifically is used for:
Monitor the start incident of said portable terminal; Or
Monitor the indication of carrying out the touch keyboard switching that said portable terminal receives.
In the preferred embodiment of the present invention, the acquiring unit 502 that device shown in Figure 5 comprises specifically is used for:
At the keyboard picture of preserving and the configuration file corresponding with said keyboard picture be when organizing more; The keyboard picture that obtains according to user indication obtains said user and indicates keyboard picture and the configuration file thereof that obtains from the many groups keyboard picture preserved and the configuration file corresponding with said keyboard picture; Or
At the keyboard picture of preserving and the configuration file corresponding with said keyboard picture be when organizing more; According to each the preset time period and the corresponding relation and the current system time of keyboard picture, from the many groups keyboard picture preserved and the configuration file corresponding, obtain and current system time belongs to corresponding keyboard picture and configuration file thereof of time period with said keyboard picture; Or
At the keyboard picture of preserving and the configuration file corresponding with said keyboard picture be when organizing more; According to each the preset application program and the corresponding relation and the current application program started of keyboard picture, from many groups keyboard picture of preservation and the configuration file corresponding, obtain keyboard picture and the configuration file thereof corresponding with current application program started with said keyboard picture.
In the preferred embodiment of the present invention, the picture writing unit 503 that device shown in Figure 5 comprises specifically is used for:
Corresponding photo resolution information and the color depth information of confirming to obtain of said keyboard picture;
According to said keyboard layout chip resolution information and the said color depth information confirmed, the frame buffer Framebuffer through said portable terminal obtains the zone with said keyboard layout chip resolution information and color depth information matches from display memory;
Said keyboard picture is write the said zone that obtains.
As shown in Figure 6, in the preferred embodiment of the present invention, device shown in Figure 5 can further include:
Should be appreciated that unit that the device of touch keyboard in the above control portable terminal comprises is merely the logical partitioning that the function that realizes according to this device is carried out, and in the practical application, can carry out the stack or the fractionation of said units.And the method flow of touch keyboard is corresponding one by one in the function that the device that this embodiment provides is realized and the control portable terminal that the foregoing description one provides; The more detailed treatment scheme that realizes for this device; In the foregoing description one, done detailed description, be not described in detail here.
Embodiment three
The embodiment of the invention three provides a kind of portable terminal; This portable terminal comprises the device of touch keyboard in the control portable terminal that the foregoing description two provides; Portable terminal as shown in Figure 7, the device of touch keyboard can preferably be positioned between the kernel (kernel) and framework (application framework) layer of system in this control portable terminal.In file system, preserve keyboard picture and the configuration file corresponding with the keyboard picture; Behind system initialization (being load in Init); The device of touch keyboard writes the keyboard picture and is used to control the module that internal memory shows in this control portable terminal; For example, frame buffer Frame buffer (being Framebuffer map), and obtain the pairing keyevent of touch event (key-press event) according to configuration file and offer keyevent receiver (key-press event receiver).This control procedure can start before the system initialization process, and in the process of system initialization, carries out alternately with frame buffer and touch event control module, therefore can not influence the postrun logic state of system, has realized the isolation with operating system.And through frame buffer and the touch event information that the control system initialize process obtains, reached system to the response of customizing keyboard and system itself show adaptive.
The concrete function of realizing for this device and realize that the related detailed technology details of each function describes in detail in the foregoing description two repeats no more here.
Above-mentioned at least one technical scheme that provides through the embodiment of the invention; Trigger event through control touch keyboard in the monitoring portable terminal; After monitoring this trigger event, obtain the keyboard picture of preservation and the configuration file corresponding, wherein with the keyboard picture; The keyboard picture is used for identifying the Show Styles of each button of touch keyboard in portable terminal, and the configuration file corresponding with the keyboard picture comprises each button corresponding position information and the corresponding key incident in the keyboard picture; Further from the display memory of portable terminal, obtain the zone of mating, this keyboard picture is write on zone that obtains and the touch screen zone that is presented at said regional mapping with this keyboard picture; And configuration file that will be corresponding with this keyboard picture imports in the touch event processing function of portable terminal.According to this technical scheme; Can in portable terminal, preserve keyboard picture and the configuration file corresponding in advance with the keyboard picture, can be in the actual use at terminal, through the trigger event in the monitor terminal; Realization is to the control of touch keyboard; Be about to preset keyboard picture and be presented on the touch-screen of terminal, and the configuration file that this keyboard picture is corresponding importing touch event processing function, respond with click event the user.This technical scheme can be implemented in the actual use of portable terminal the control to touch keyboard, and makes touch keyboard not rely on operating system.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.
Claims (11)
1. a method of controlling touch keyboard in the portable terminal is characterized in that, comprising:
The trigger event of control touch keyboard in the monitoring portable terminal;
After monitoring said trigger event; Obtain preservation the keyboard picture and with the corresponding configuration file of said keyboard picture; Wherein, Said keyboard picture is used for identifying the Show Styles of each button of touch keyboard in portable terminal, comprises each button corresponding position information and corresponding key incident in said keyboard picture in the said keyboard picture with the corresponding configuration file of said keyboard picture;
From the display memory of portable terminal, obtain the zone with said keyboard picture coupling, said keyboard picture is write the said zone that obtains and is presented on the touch screen zone of said zone mapping; And
To import in the touch event processing function of said portable terminal with the corresponding configuration file of said keyboard picture.
2. the method for claim 1 is characterized in that, the trigger event of control touch keyboard in the monitoring portable terminal comprises:
Monitor the start incident of said portable terminal; Or
Monitor the indication of carrying out the touch keyboard switching that said portable terminal receives.
3. the method for claim 1 is characterized in that, be when organizing at the keyboard picture of preserving and the configuration file corresponding with said keyboard picture more, obtain preservation the keyboard picture and with the corresponding configuration file of said keyboard picture, comprising:
The keyboard picture that obtains according to user indication obtains said user and indicates keyboard picture and the configuration file thereof that obtains from the many groups keyboard picture preserved and the configuration file corresponding with said keyboard picture; Or
According to each the preset time period and the corresponding relation and the current system time of keyboard picture, from the many groups keyboard picture preserved and the configuration file corresponding, obtain and current system time belongs to corresponding keyboard picture and configuration file thereof of time period with said keyboard picture; Or
According to each the preset application program and the corresponding relation and the current application program started of keyboard picture, from many groups keyboard picture of preservation and the configuration file corresponding, obtain keyboard picture and the configuration file thereof corresponding with current application program started with said keyboard picture.
4. the method for claim 1 is characterized in that, from the display memory of portable terminal, obtains the zone of mating with said keyboard picture, comprising:
Corresponding photo resolution information and the color depth information of confirming to obtain of said keyboard picture;
According to said keyboard layout chip resolution information and the said color depth information confirmed, the frame buffer Framebuffer through said portable terminal obtains the zone with said keyboard layout chip resolution information and color depth information matches from display memory.
5. the method for claim 1 is characterized in that, will comprise with after the touch event that the corresponding configuration file of said keyboard picture imports said portable terminal is handled in the function:
Obtain the user and click the click event that is presented at the keyboard picture on the said touch screen zone;
The user who comprises in the said click event is clicked the positional information of said keyboard picture, and import the configuration file that said touch event handles in the function and mate, confirm said positional information corresponding key, and trigger said button corresponding key incident.
6. a device of controlling touch keyboard in the portable terminal is characterized in that, comprising:
Monitoring unit is used for monitoring the trigger event that portable terminal is controlled touch keyboard;
Acquiring unit; Be used for after said monitoring unit monitors said trigger event; Obtain preservation the keyboard picture and with the corresponding configuration file of said keyboard picture; Wherein, said keyboard picture is used for identifying the Show Styles of each button of touch keyboard in portable terminal, comprises each button corresponding position information and corresponding key incident in said keyboard picture in the said keyboard picture with the corresponding configuration file of said keyboard picture;
The picture writing unit is used for obtaining from the display memory of portable terminal the zone of the keyboard picture coupling of obtaining with said acquiring unit, and said keyboard picture is write the said zone that obtains and is presented on the touch screen zone of said zone mapping;
Configuration file imports the unit, and what be used for said acquiring unit is obtained imports the touch event processing function of said portable terminal with the corresponding configuration file of said keyboard picture.
7. device as claimed in claim 6 is characterized in that, said monitoring unit specifically is used for:
Monitor the start incident of said portable terminal; Or
Monitor the indication of carrying out the touch keyboard switching that said portable terminal receives.
8. device as claimed in claim 6 is characterized in that, said acquiring unit specifically is used for:
At the keyboard picture of preserving and the configuration file corresponding with said keyboard picture be when organizing more; The keyboard picture that obtains according to user indication obtains said user and indicates keyboard picture and the configuration file thereof that obtains from the many groups keyboard picture preserved and the configuration file corresponding with said keyboard picture; Or
At the keyboard picture of preserving and the configuration file corresponding with said keyboard picture be when organizing more; According to each the preset time period and the corresponding relation and the current system time of keyboard picture, from the many groups keyboard picture preserved and the configuration file corresponding, obtain and current system time belongs to corresponding keyboard picture and configuration file thereof of time period with said keyboard picture; Or
At the keyboard picture of preserving and the configuration file corresponding with said keyboard picture be when organizing more; According to each the preset application program and the corresponding relation and the current application program started of keyboard picture, from many groups keyboard picture of preservation and the configuration file corresponding, obtain keyboard picture and the configuration file thereof corresponding with current application program started with said keyboard picture.
9. device as claimed in claim 6 is characterized in that, said picture writing unit specifically is used for:
Corresponding photo resolution information and the color depth information of confirming to obtain of said keyboard picture;
According to said keyboard layout chip resolution information and the said color depth information confirmed, the frame buffer Framebuffer through said portable terminal obtains the zone with said keyboard layout chip resolution information and color depth information matches from display memory;
Said keyboard picture is write the said zone that obtains.
10. device as claimed in claim 6 is characterized in that, also comprises:
Control module; Be used to obtain the user and click the click event that is presented at the keyboard picture on the said touch screen zone; The user who comprises in the said click event is clicked the positional information of said keyboard picture; The configuration file that imports in the said touch event processing function with said configuration file importing unit matees, and confirms said positional information corresponding key, and triggers said button corresponding key incident.
11. a portable terminal is characterized in that, comprises the device of touch keyboard in each described control portable terminal of claim 6 to claim 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010284158.8A CN102402373B (en) | 2010-09-15 | 2010-09-15 | Method and device for controlling touch keyboard in mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010284158.8A CN102402373B (en) | 2010-09-15 | 2010-09-15 | Method and device for controlling touch keyboard in mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102402373A true CN102402373A (en) | 2012-04-04 |
CN102402373B CN102402373B (en) | 2014-12-10 |
Family
ID=45884633
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010284158.8A Expired - Fee Related CN102402373B (en) | 2010-09-15 | 2010-09-15 | Method and device for controlling touch keyboard in mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102402373B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102929640A (en) * | 2012-11-08 | 2013-02-13 | 山东大学 | Method of improving android system performance through multi-buffer mechanism |
CN104238920A (en) * | 2013-06-13 | 2014-12-24 | 深圳市同洲电子股份有限公司 | Method and device for generating simulation configuration file information |
CN104360816A (en) * | 2014-11-27 | 2015-02-18 | 广东欧珀移动通信有限公司 | Screen capture method and system |
CN106104454A (en) * | 2014-03-19 | 2016-11-09 | 谷歌公司 | Touch keyboard is calibrated |
CN107390998A (en) * | 2017-08-18 | 2017-11-24 | 中山叶浪智能科技有限责任公司 | The method to set up and system of button in a kind of dummy keyboard |
CN107450813A (en) * | 2017-06-30 | 2017-12-08 | 武汉斗鱼网络科技有限公司 | A kind of design method and equipment of the button for carrying Trigger Function |
CN111796149A (en) * | 2020-06-15 | 2020-10-20 | 深圳市极致汇仪科技有限公司 | Vector network analyzer for entity key touch control |
CN113220135A (en) * | 2021-04-27 | 2021-08-06 | 北京麟卓信息科技有限公司 | Touch event-based adaptive keyboard mapping method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001117695A (en) * | 1999-10-18 | 2001-04-27 | Casio Comput Co Ltd | Input device and storage medium |
CN1755604A (en) * | 2004-09-29 | 2006-04-05 | 株式会社东芝 | Input device, microcomputer and information processing method |
CN101075873A (en) * | 2007-06-28 | 2007-11-21 | 腾讯科技(深圳)有限公司 | Method and system for inputting content |
CN101620506A (en) * | 2008-07-02 | 2010-01-06 | 三星电子株式会社 | Mobile terminal having touch screen and touch-based key input method for the same |
-
2010
- 2010-09-15 CN CN201010284158.8A patent/CN102402373B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001117695A (en) * | 1999-10-18 | 2001-04-27 | Casio Comput Co Ltd | Input device and storage medium |
CN1755604A (en) * | 2004-09-29 | 2006-04-05 | 株式会社东芝 | Input device, microcomputer and information processing method |
CN101075873A (en) * | 2007-06-28 | 2007-11-21 | 腾讯科技(深圳)有限公司 | Method and system for inputting content |
CN101620506A (en) * | 2008-07-02 | 2010-01-06 | 三星电子株式会社 | Mobile terminal having touch screen and touch-based key input method for the same |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102929640A (en) * | 2012-11-08 | 2013-02-13 | 山东大学 | Method of improving android system performance through multi-buffer mechanism |
CN102929640B (en) * | 2012-11-08 | 2015-10-21 | 山东大学 | A kind of method being promoted Android system performance by multi cache mechanism |
CN104238920A (en) * | 2013-06-13 | 2014-12-24 | 深圳市同洲电子股份有限公司 | Method and device for generating simulation configuration file information |
CN106104454A (en) * | 2014-03-19 | 2016-11-09 | 谷歌公司 | Touch keyboard is calibrated |
CN104360816A (en) * | 2014-11-27 | 2015-02-18 | 广东欧珀移动通信有限公司 | Screen capture method and system |
CN107450813A (en) * | 2017-06-30 | 2017-12-08 | 武汉斗鱼网络科技有限公司 | A kind of design method and equipment of the button for carrying Trigger Function |
CN107450813B (en) * | 2017-06-30 | 2020-02-07 | 武汉斗鱼网络科技有限公司 | Design method and device of button with trigger function |
CN107390998A (en) * | 2017-08-18 | 2017-11-24 | 中山叶浪智能科技有限责任公司 | The method to set up and system of button in a kind of dummy keyboard |
CN111796149A (en) * | 2020-06-15 | 2020-10-20 | 深圳市极致汇仪科技有限公司 | Vector network analyzer for entity key touch control |
CN113220135A (en) * | 2021-04-27 | 2021-08-06 | 北京麟卓信息科技有限公司 | Touch event-based adaptive keyboard mapping method and device |
CN113220135B (en) * | 2021-04-27 | 2021-11-23 | 北京麟卓信息科技有限公司 | Touch event-based adaptive keyboard mapping method and device |
Also Published As
Publication number | Publication date |
---|---|
CN102402373B (en) | 2014-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102402373A (en) | Method and device for controlling touch keyboard in mobile terminal | |
KR102611858B1 (en) | Method for operating intelligent interactive tablet, and storage medium and related device | |
US10627903B2 (en) | Tactile sensation providing apparatus and method for providing tactile sensation | |
CN100447720C (en) | Information processing apparatus | |
US20150301730A1 (en) | Object Suspension Realizing Method and Device | |
KR20160013162A (en) | User interface elements for multiple displays | |
CN102880401B (en) | A kind of method and mobile terminal simplifying user interface buttons | |
CN102957460B (en) | Display packing in portable terminal and equipment | |
CN106528160B (en) | A kind of application program image target adding method and terminal | |
CN101907974A (en) | Operation management method of touch screen and touch screen terminal | |
US20160328149A1 (en) | Display screen-based physical button simulation method and electronic device | |
CN103425481A (en) | Dynamically assigning shortcuts to menu items and actions | |
JP5585721B2 (en) | Information device, screen switching method, and screen switching program | |
CN102498724A (en) | Image forming device and program | |
CN102981818A (en) | Scenario based animation library | |
CN102566913A (en) | Remote controller and realizing method thereof | |
CN107765555A (en) | The smart home product human-computer interaction interface that icon in kind is shown | |
CN106325699A (en) | Application program starting method and device | |
CN102982826A (en) | Method and device for searching and selecting blue-ray player | |
CN102293011A (en) | Operation terminal and screen image display method for operation terminal | |
US20120017167A1 (en) | Electronic book reading device and method for controlling the same | |
CN103257788A (en) | Windows desktop dynamic icon forming method | |
CN106095310A (en) | The control method of a kind of SOT state of termination and terminal | |
CN103211622A (en) | Multi-imaging-mode ultrasonic image display method and multi-imaging-mode ultrasonic image display system | |
CN103607630A (en) | Realizing method and device of dockbar of intelligent TV set and intelligent TV set |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20141210 |
|
CF01 | Termination of patent right due to non-payment of annual fee |