CN102779011A - Method and device for identifying adjacent buttons of touch screen - Google Patents

Method and device for identifying adjacent buttons of touch screen Download PDF

Info

Publication number
CN102779011A
CN102779011A CN2012102274026A CN201210227402A CN102779011A CN 102779011 A CN102779011 A CN 102779011A CN 2012102274026 A CN2012102274026 A CN 2012102274026A CN 201210227402 A CN201210227402 A CN 201210227402A CN 102779011 A CN102779011 A CN 102779011A
Authority
CN
China
Prior art keywords
input
touch
button
number percent
area
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.)
Pending
Application number
CN2012102274026A
Other languages
Chinese (zh)
Inventor
王云华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN2012102274026A priority Critical patent/CN102779011A/en
Publication of CN102779011A publication Critical patent/CN102779011A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for identifying adjacent buttons of a touch screen. The method comprises receiving input orders input in a display screen and obtaining input coordinates of a touch point in a touch area; calculating input percentage of the touch area relative to each input button covered by the touch area according to a button area of the input button in a default input method interface and the input coordinates of the touch point; and displaying input characters of the input button corresponding to the maximum input percentage in an edit box of the display screen according to the input percentage. The invention further discloses a corresponding device for identifying the adjacent buttons of the touch screen. The method and the device for identifying the adjacent buttons of the touch screen can accurately identify the input button input by the user in adjacent input buttons when the user touches the input method interface on the display screen so as to reduce input error rate, improve efficiency of character inputting of the user and bring better experience to the user.

Description

The method and apparatus of touch-screen adjacent key identification
Technical field
The present invention relates to communication technical field, specially refer to the method and apparatus of a kind of touch-screen adjacent key identification.
Background technology
Along with the propelling day by day of global television digitization, increasing electronic equipment for consumption has got into everybody life, for example mobile phone, DTV and panel computer etc.Use these equipment, people can realize various amusements and office function easily, for example drawing board, a mail and write microblogging etc., and accomplish these functions, just need carry out the operation of various input methods.
At present, because the high speed development of internet and universal day by day, people need more frequent input method and the terminal interaction of passing through.Yet; Because present electronic equipment is touch-screen mostly; Therefore the area of input keyboard is common also very limited on the touch-screen, when using finger to remove to contact touch-screen to carry out the input of input method, because nearer apart between the adjacent key; Finger is easy to touch adjacent button simultaneously, thereby occurs the problem of adjacent key identification mistake easily.Like this, the user just need delete and re-enter by delete key, thereby for the user has brought the puzzlement of input button identification mistake, and influenced the efficient and the experience of user's input greatly.
Summary of the invention
Fundamental purpose of the present invention is the method and apparatus that the identification of a kind of touch-screen adjacent key is provided, and can realize that touch-screen input identification is accurate, thereby reduce the error rate of input, and improve the efficient of user's input characters, brings better experience to the user.
The present invention provides the method for a kind of touch-screen adjacent key identification, comprising:
After reception is input to the input instruction of display screen, obtain the input coordinate of touch point in the touch area;
According to the key area of input button in the preset interface of input method, and the input coordinate of said touch point, the input number percent of said touch area calculated with respect to the single input button that it covered;
According to the size of said input number percent, the input character of maximum being imported the pairing input button of number percent is presented in the edit box of said display screen.
Preferably, the key area of input button in the preset interface of input method of said basis, and the input coordinate of said touch point, calculate said touch area and comprise with respect to the input number percent of the single input button that it covered:
Confirm the input button that comprised in the scope that said touch area covers;
According to the key area of preset input button, and the input coordinate of said touch point, the number of adding up the input coordinate of the touch point in the key area that drops into each said input button;
The number of input coordinate of calculating touch point in key area of each input button accounts for the number percent of the number of all coordinates in the key area of this input button, obtains the input number percent of said touch area with respect to each said input button.
Preferably, calculate before the input number percent of said touch area with respect to the single input button that it covered the key area of input button in the preset interface of input method of said basis, and the input coordinate of said touch point, also comprises:
Judge that said touch area whether in the interface of input method of display screen, if not, then sends the input failure command to CPU.
Preferably, calculate before the input number percent of said touch area with respect to the single input button that it covered the key area of input button in the preset interface of input method of said basis, and the input coordinate of said touch point, also comprises:
Account for the number percent of display screen according to interface of input method, set the size of interface of input method;
According to the size of interface of input method, and the quantity of input button in the said interface of input method, set the key area of said input button.
Preferably, after the input number percent of said calculating touch area, also comprise with respect to the said key area of the input button that it covered:
According to said input number percent by big to little order, the input character of the pairing input button of said input number percent is presented in the preview pane of said display screen successively.
The present invention also provides the device of a kind of touch-screen adjacent key identification, comprising:
Acquisition module, be used to receive the input instruction that is input to display screen after, obtain the input coordinate of touch point in the touch area;
Computing module is used for the key area according to input button in the preset interface of input method, and the input coordinate of said touch point, calculates the input number percent of said touch area with respect to the single input button that it covered;
First display module is used for the size according to said input number percent, and the input character of maximum being imported the pairing input button of number percent is presented in the edit box of said display screen.
Preferably, said computing module comprises:
Confirm the unit, be used for the input button that scope comprised of confirming that said touch area is covered;
Statistic unit is used for the key area according to preset input button, and the input coordinate of said touch point, the number of adding up the input coordinate of the touch point in the key area that drops into each said input button;
Computing unit; The number of input coordinate that is used for calculating the touch point, key area of each input button accounts for the number percent of the number of all coordinates in the key area of this input button, obtains the input number percent of said touch area with respect to each said input button.
Preferably, the device of touch-screen adjacent key identification also comprises:
Judge module is used to judge that said touch area whether in the interface of input method of display screen, if not, then sends the input failure command to CPU.
Preferably, the device of touch-screen adjacent key identification also comprises presetting module, and said presetting module is used for:
Account for the number percent of display screen according to interface of input method, set the size of interface of input method;
According to the size of interface of input method, and the quantity of input button in the said interface of input method, set the key area of said input button.
Preferably, the device of touch-screen adjacent key identification also comprises:
Second display module is used for according to said input number percent by big to little order, and the input character of the pairing input button of said input number percent is presented in the preview pane of said display screen successively.
The present invention obtains the input coordinate of touch point in the touch area through after receiving the input instruction of touch display screen; According to the key area of preset input button, and the input coordinate of touch point, the input number percent of touch area calculated with respect to the key area of the input button that it covered; Finally according to the size of input number percent, the input character of maximum being imported the pairing input button of number percent is presented in the edit box of display screen, further edits for the user.Adopt this method; During interface of input method on user's touch display screen, the input button that can in adjacent input button, pick out the user exactly and touched, thus reduce the error rate of input; Improved the efficient of user's input characters, brought better experience to the user.
Description of drawings
Fig. 1 is the schematic flow sheet of method first embodiment of touch-screen adjacent key of the present invention identification;
Fig. 2 calculates the schematic flow sheet of touch area with respect to the input number percent of the key area of input button shown in Fig. 1;
Fig. 3 is the schematic flow sheet of method second embodiment of touch-screen adjacent key of the present invention identification;
Fig. 4 is the schematic flow sheet of method the 3rd embodiment of touch-screen adjacent key of the present invention identification;
Fig. 5 is the schematic flow sheet of method the 4th embodiment of touch-screen adjacent key of the present invention identification;
Fig. 6 is the structural representation of device first embodiment of touch-screen adjacent key of the present invention identification;
Fig. 7 is the structural representation of the computing module shown in Fig. 6;
Fig. 8 is the structural representation of device second embodiment of touch-screen adjacent key of the present invention identification;
Fig. 9 is the structural representation of device the 3rd embodiment of touch-screen adjacent key of the present invention identification;
Figure 10 is the structural representation of device the 4th embodiment of touch-screen adjacent key of the present invention identification.
The realization of the object of the invention, functional characteristics and advantage will combine embodiment, further specify with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
With reference to Fig. 1, Fig. 1 is the schematic flow sheet of method first embodiment of touch-screen adjacent key of the present invention identification.
The method of touch-screen adjacent key identification comprises:
Step S10 after reception is input to the input instruction of display screen, obtains the input coordinate of touch point in the touch area;
Step S20, according to the key area of input button in the preset interface of input method, and the input coordinate of touch point, calculate the input number percent of touch area with respect to the single input button that it covered;
Step S30, according to the size of input number percent, the input character of maximum being imported the pairing input button of number percent is presented in the edit box of display screen.
The method of the touch-screen adjacent key identification that the embodiment of the invention provided; Be used for after the user touches the interface of input method on the display screen; Whether the touch area that at first judges touched covers in the scope of some concrete input buttons; And ought be not in the scope of this input button, confirm adjacent several input buttons that this touch area covers, and the input button that finally picks out the user and touched; Then should import the pairing input character of button and show, select for the user to the user.
In the present embodiment; After the user is with the hand touch display screen, just can produce an input instruction, and after CPU receives this input instruction; All touch points at first definite user's the touch area of hand touch on display screen, and obtain the input coordinate of each touch point; The input coordinate of the touch point that obtained this moment can be transferred into CPU and handle for it.
After getting access to the input coordinate of each touch point; The key area of preset input button at first according to CPU provided; And the input coordinate of each touch point, whether the touch area that judges touched covers in the shared key area of concrete single input button, for example; Can judge in the touch area whether have the touch point that surpasses half all to cover in the shared key area of single input button; In this way, can judge directly that then this input button is the input button at the input character place that the user wants to import.In the present embodiment, after judging end, the result with judging promptly imports the pairing input character of button and is stored in the character memory.Like this, in the time will importing the pairing input character of button and be presented at the edit box on the display screen, CPU can be in character memory reading corresponding data.
And when not covering in the shared key area of some input buttons like the touch area; Then need key area according to preset input button; And the input coordinate of each touch point, calculate the input number percent of touch area with respect to each input button that it covered.
Calculate the input number percent of touch area with respect to the input button that it covered; Promptly in adjacent several input buttons that the touch area covered; Select an input button earlier; According to the input coordinate of touch point in the touch area, through calculating the input number percent of touch area with respect to this input button; And then select next input button, obtain the input number percent of touch area equally, until calculating the input number percent of touch area with respect to all input buttons that it covered with respect to this input button.In the present embodiment, the key area of input button is meant the number percent of area shared in the interface of input method of this input button on display screen.
After having obtained the input number percent of touch area, add up resulting input number percent, and sort according to the priority that will import the pairing input button of number percent by big extremely little order with respect to all input buttons that it covered.In the present embodiment, the result after the ordering is sent to CPU, and will imports the pairing input character of button through CPU and be stored in the character memory.Then, CPU filters out the input character of the pairing input button of maximum input number percent in character memory, be sent in the edit box of display screen, shows to the user.
The embodiment of the invention through after receiving the input instruction of touch display screen, is obtained the input coordinate of all touch points in the touch area; According to the key area of preset input button, and the input coordinate of touch point, the input number percent of touch area calculated with respect to each input button that it covered; Finally according to the size of input number percent, the input character of maximum being imported the pairing input button of number percent is presented in the edit box of display screen, further edits for the user.Adopt this method; During interface of input method on user's touch display screen, the input button that can in adjacent input button, pick out the user exactly and touched, thus reduce the error rate of input; Improved the efficient of user's input characters, brought better experience to the user.
With reference to Fig. 2, Fig. 2 calculates the input number percent schematic flow sheet of touch area with respect to the key area of input button shown in Fig. 1.
In the present embodiment, step S20 comprises:
Step S21 confirms the input button that is comprised in the scope that the touch area covers;
Step S22, according to the key area of preset input button, and the input coordinate of touch point, statistics drops into the number of the input coordinate of the touch point in each key area of importing button;
Step S23, the number of input coordinate of calculating touch point in key area of each input button accounts for the number percent of the number of all coordinates in the key area of this input button, obtains the touch area and imports the input number percent of button with respect to each.
In the present embodiment; Behind the input coordinate of all touch points in getting access to the touch area; And when judging touch area that the user touches and do not cover in the shared key area of some concrete single input buttons, at first confirm all input buttons that comprise in the scope that this touch area covered; Then; In the input button that the touch area covered; Select an input button earlier; According to the key area of this preset input button, and the input coordinate of touch point in the touch area that is obtained, drop into the number of the input coordinate of touch point in the key area of this input button in the statistics touch area; And further calculate the number of the input coordinate of touch point in the key area of this input button, and the number percent of the number of all coordinates in the key area of this shared input button, thus the input number percent of touch area obtained with respect to this input button.
Then, adopt and use the same method, count the number of the input coordinate of touch point in the key area that drops into its other input buttons that cover in the touch area; And, through calculating the input number percent of touch area with respect to other input buttons.Then, the result that will judge equally is about to the pairing input character of each input button and is stored in the character memory, so that when the user shows, CPU is reading corresponding data therefrom.
Through the input button of confirming that the touch area is covered; And according to CPU provided the key area of preset input button; And the coordinate position of touch point, statistics falls into the number of input coordinate of touch point of the key area of its each input button that covers in the touch area; And further through calculating the input number percent of touch area with respect to each input button that it covered.The input button that this is just further touched in adjacent input button, picking out the user exactly, thus the error rate that reduces input provides strong prerequisite to guarantee.
With reference to Fig. 3, Fig. 3 is the schematic flow sheet of method second embodiment of touch-screen adjacent key of the present invention identification.
On the basis of the foregoing description, between step S10 and step S20, the method for touch-screen adjacent key of the present invention identification also comprises:
Step S40 judges that the touch area is whether in the interface of input method of display screen; If, execution in step S20 then; If not, execution in step S41 then;
Step S20, according to the key area of input button in the preset interface of input method, and the input coordinate of touch point, calculate the input number percent of touch area with respect to the single input button that it covered;
Step S41 sends the input failure command to CPU.
In the present embodiment, behind execution in step S10, and before the execution in step S20, the touch area of at first wanting judges and being touched whether in the interface of input method of display screen, promptly judges in the position that touches on the display screen whether in interface of input method.As judge the touch area in the interface of input method of display screen, and then send the input coordinate of the touch point that gets access to CPU and handle, promptly execution in step S20 calculates the input number percent of touch area with respect to the input button that it covered; And, then sending the input failure command to CPU when judging the touch area not in the interface of input method at display screen the time, indication CPU need not carry out any processing.
In getting access to the touch area behind the input coordinate of touch point; Calculate before the input number percent of touch area with respect to the input button that it covered, judge the touch area whether in the interface of input method of display screen, and when being; Calculate the input number percent of touch area with respect to the input button that it covered; If not, then send the input failure command to CPU, indication CPU need not carry out any processing.Like this, just further guaranteed to improve the efficient of user's input characters, further brought better experience simultaneously for the user.
With reference to Fig. 4, Fig. 4 is the schematic flow sheet of method the 3rd embodiment of touch-screen adjacent key of the present invention identification.
On the basis of method first embodiment of touch-screen adjacent key of the present invention identification, before step S20, this method also comprises:
Step S50 accounts for the number percent of display screen according to interface of input method, sets the size of interface of input method;
Step S51, according to the size of interface of input method, and the quantity of importing button in the interface of input method, set the key area of importing button.
Because different display devices, the size of its display screen is different, and as set the size of interface of input method by fixing parameter, then can produce owing to the resolution difference causes the sharpness of interface of input method to differ bigger problem.Therefore, in the present embodiment, account for the number percent of display screen, set the size of interface of input method according to interface of input method.Further; Quantity according to input button on horizontal direction in the interface of input method and the vertical direction; Account for the number percent of interface of input method horizontal direction and vertical direction total length equally according to each input button, set shared key area in each input button place interface of input method.
In having set input button place interface of input method behind the shared key area; When user's touch display screen; And when getting access to the input coordinate of all touch points in the touch area through CPU, just can be according to the key area of the input button that CPU provided, and the input coordinate of touch point; Execution in step S20 promptly calculates the input number percent of touch area with respect to the input button that it covered; And after obtaining the input number percent of touch area with respect to each input button, further execution in step S30 is about to the maximum input character of importing the pairing input button of number percent and is presented in the edit box of display screen.
Account for the number percent of display screen according to interface of input method, set the size of interface of input method; While is according to the quantity of input button in the interface of input method, and the input button accounts for the number percent of interface of input method total length, the key area of preset input button.This just can be avoided because the size of display screen is different, causes the sharpness of interface of input method to differ bigger problem thereby produce owing to resolution is different, makes interface of input method can adapt to the display screen of different size.
With reference to Fig. 5, Fig. 5 is the schematic flow sheet of method the 4th embodiment of touch-screen adjacent key of the present invention identification.
On the basis of method first embodiment of touch-screen adjacent key of the present invention identification, in execution in step S20 after, this method also comprises:
Step S60, is presented at the input character of importing the pairing input button of number percent in the preview pane of display screen by big extremely little order according to input number percent successively.
In the present embodiment; When having obtained the input number percent of touch area with respect to each input button that it covered; And will import after the pairing input character of button is stored in the character memory through CPU;, by big extremely little order the pairing input character of input button is presented in the preview pane of display screen successively according to input number percent, selects for the user.
, by big extremely little order the pairing input character of input button is presented in the preview pane of display screen successively according to input number percent.Like this, when more selection being provided, further guarantee to improve the efficient of user's input characters, and guaranteed to a great extent and can bring better experience to the user for the user.
With reference to Fig. 6, Fig. 6 is the structural representation of device first embodiment of touch-screen adjacent key of the present invention identification.
The device of touch-screen adjacent key identification comprises:
Acquisition module 10, be used to receive the input instruction that is input to display screen after, obtain the input coordinate of touch point in the touch area;
Computing module 20 is used for the key area according to input button in the preset interface of input method, and the input coordinate of touch point, calculates the input number percent of touch area with respect to the single input button that it covered;
First display module 30 is used for the size according to input number percent, and the input character of maximum being imported the pairing input button of number percent is presented in the edit box of display screen.
The device of the touch-screen adjacent key identification that first embodiment of the invention provided; Be used for after the user touches the interface of input method on the display screen; Whether the touch area that at first judges touched covers in the scope of some concrete input buttons; And ought be not in the scope of this input button, confirm adjacent several input buttons that this touch area covers, and the input button that finally picks out the user and touched; Then should import the pairing input character of button and show, select for the user to the user.
In the present embodiment; After the user is with the hand touch display screen; Just can produce an input instruction; And after CPU receives this input instruction, at first confirm all touch points in user's the touch area of hand touch on display screen, and obtain the input coordinate of each touch point through acquisition module 10; The input coordinate of the touch point that obtained this moment can be transferred into CPU and handle for it.
After getting access to the input coordinate of each touch point; The key area of preset input button at first according to CPU provided; And the input coordinate of each touch point, whether the touch area that judges touched covers in the shared key area of concrete single input button, for example; Can judge in the touch area whether have the touch point that surpasses half all to cover in the shared key area of single input button; In this way, can judge directly that then this input button is the input button at the input character place that the user wants to import.In the present embodiment, after judging end, the result with judging promptly imports the pairing input character of button and is stored in the character memory.Like this, in the time will importing the pairing input character of button and be presented at the edit box on the display screen, CPU can be in character memory reading corresponding data.
And when not covering in the shared key area of some input buttons like the touch area; Then need be through the key area of computing module 20 according to preset input button; And the input coordinate of each touch point, calculate the input number percent of touch area with respect to each input button that it covered.
Calculate the input number percent of touch area with respect to the input button that it covered; Promptly in adjacent several input buttons that the touch area covered; Select an input button earlier; According to the input coordinate of touch point in the touch area, through calculating the input number percent of touch area with respect to this input button; And then select next input button, obtain the input number percent of touch area equally, until calculating the input number percent of touch area with respect to all input buttons that it covered with respect to this input button.In the present embodiment, the key area of input button is meant the number percent of area shared in the interface of input method of this input button on display screen.
After having obtained the input number percent of touch area, add up resulting input number percent, and sort according to the priority that will import the pairing input button of number percent by big extremely little order with respect to all input buttons that it covered.In the present embodiment, the result after the ordering is sent to CPU, and will imports the pairing input character of button through CPU and be stored in the character memory.Then, CPU filters out the input character of the pairing input button of maximum input number percent in character memory, be sent in the edit box of display screen, shows to the user through first display module 30.
The embodiment of the invention through after receiving the input instruction of touch display screen, is obtained the input coordinate of all touch points in the touch area; According to the key area of preset input button, and the input coordinate of touch point, the input number percent of touch area calculated with respect to each input button that it covered; Finally according to the size of input number percent, the input character of maximum being imported the pairing input button of number percent is presented in the edit box of display screen, further edits for the user.Adopt this method; During interface of input method on user's touch display screen, the input button that can in adjacent input button, pick out the user exactly and touched, thus reduce the error rate of input; Improved the efficient of user's input characters, brought better experience to the user.
With reference to Fig. 7, Fig. 7 is the structural representation of computing module shown in Fig. 6.
In the present embodiment, computing module 20 comprises:
Confirm unit 21, be used for the input button that scope comprised of confirming that the touch area is covered;
Statistic unit 22 is used for the key area according to preset input button, and the input coordinate of touch point, and statistics drops into the number of the input coordinate of the touch point in each key area of importing button;
Computing unit 23, the number of input coordinate that is used for calculating the touch point, key area of each input button account for the number percent of the number of all coordinates in the key area of this input button, obtain the touch area and import the input number percent of button with respect to each.
In the present embodiment; Behind the input coordinate of all touch points in getting access to the touch area; And when judging touch area that the user touches and do not cover in the shared key area of some concrete single input buttons, all input buttons at first through comprising in the scope of confirming to confirm that these touch areas are covered in unit 21; Then; In the input button that the touch area covered; Select an input button earlier; According to the key area of this preset input button, and the input coordinate of touch point in the touch area that is obtained, through the number of the input coordinate of touch point in the key area that drops into this input button in the statistic unit 22 statistics touch areas; And further calculate the number of the input coordinate of touch point in key area of this input button through computing unit 23; The number percent of the number of all coordinates in the key area of this shared input button, thus the input number percent of touch area obtained with respect to this input button.
Then, adopt and use the same method, count the number of the input coordinate of touch point in the key area that drops into its other input buttons that cover in the touch area through statistic unit 22; And, calculate the input number percent of touch area with respect to other input buttons through computing unit 23.Then, the result that will judge equally is about to the pairing input character of each input button and is stored in the character memory, so that when the user shows, CPU is reading corresponding data therefrom.
Through the input button of confirming that the touch area is covered; And according to CPU provided the key area of preset input button; And the coordinate position of touch point, statistics falls into the number of input coordinate of touch point of the key area of its each input button that covers in the touch area; And further through calculating the input number percent of touch area with respect to each input button that it covered.The input button that this is just further touched in adjacent input button, picking out the user exactly, thus for providing strong prerequisite, the error rate that reduces input guarantees.
With reference to Fig. 8, Fig. 8 is the structural representation of device second embodiment of touch-screen adjacent key of the present invention identification.
On the basis of the foregoing description, the device of the touch-screen adjacent key identification of second embodiment of the invention also comprises:
Judge module 40 is used to judge that the touch area is whether in the interface of input method of display screen.
In second embodiment of the invention; After getting access to the input coordinate of all touches in the touch area through acquisition module 10; And through before the input number percent of computing module 20 calculating touch areas with respect to each input button that it covered; The touch area that at first will be touched through judge module 40 judges whether in the interface of input method of display screen, promptly judges in the position that touches on the display screen whether in interface of input method.As judge the touch area in the interface of input method of display screen, then send the input coordinate of the touch point that gets access to CPU and handle, through the input number percent of computing module 20 calculating touch areas with respect to the input button that it covered; And the input character of further through first display module 30 maximum being imported the pairing input button of number percent is presented in the edit box of display screen.And, then sending the input failure command to CPU when judging the touch area not in the interface of input method at display screen the time, indication CPU need not carry out any processing.
In getting access to the touch area behind the input coordinate of touch point; Calculate before the input number percent of touch area with respect to the input button that it covered, judge the touch area whether in the interface of input method of display screen, and when being; Calculate the input number percent of touch area with respect to the input button that it covered; If not, then send the input failure command to CPU, indication CPU need not carry out any processing.Like this, just further guaranteed to improve the efficient of user's input characters, further brought better experience simultaneously for the user.
With reference to Fig. 9, Fig. 9 is the structural representation of device the 3rd embodiment of touch-screen adjacent key of the present invention identification.
On the basis of device first embodiment of touch-screen adjacent key of the present invention identification, the device of third embodiment of the invention also comprises presetting module 50, and presetting module 50 is used for:
Account for the number percent of display screen according to interface of input method, set the size of interface of input method;
According to the size of interface of input method, and the quantity of importing button in the interface of input method, set the key area of importing button.
Because different display devices, the size of its display screen is different, and as set the size of interface of input method by fixing parameter, then can produce owing to the resolution difference causes the sharpness of interface of input method to differ bigger problem.Therefore, in the present embodiment, account for the number percent of display screen according to interface of input method, set the size of interface of input method through presetting module 50.Further; Quantity according to input button on horizontal direction in the interface of input method and the vertical direction; Import the number percent that button accounts for interface of input method horizontal direction and vertical direction total length according to each equally through presetting module 50, set shared key area in each input button place interface of input method.
In having set input button place interface of input method behind the shared key area; When user's touch display screen; And when getting access to the input coordinate of all touch points in the touch area through CPU; Just can be according to the key area of the input button that CPU provided, and the input coordinate of touch point, through the input number percent of computing module 20 calculating touch areas with respect to the input button that it covered; And after obtaining the input number percent of touch area with respect to each input button, the input character of further through first display module 30 maximum being imported the pairing input button of number percent is presented in the edit box of display screen.
Account for the number percent of display screen according to interface of input method, set the size of interface of input method; While is according to the quantity of input button in the interface of input method, and the input button accounts for the number percent of interface of input method total length, the key area of preset input button.This just can be avoided because the size of display screen is different, causes the sharpness of interface of input method to differ bigger problem thereby produce owing to resolution is different, makes interface of input method can adapt to the display screen of different size.
With reference to Figure 10, Figure 10 is the structural representation of device the 4th embodiment of touch-screen adjacent key of the present invention identification.
On the basis of device first embodiment of touch-screen adjacent key of the present invention identification, this device also comprises:
Second display module 60 is used for according to importing number percent by big extremely little order the input character of importing the pairing input button of number percent being presented in the edit box of display screen.
In the present embodiment; In key area according to preset input button; And the input coordinate of touch point in the accessed touch area of acquisition module 10; Calculated the input number percent of touch area through computing module 20, and will import after button pairing input character is stored in the character memory, sorted according to the priority of importing the pairing input button of number percent through CPU with respect to each input button that it covered; Maximum is imported the input character of the corresponding input button of number percent, be presented in the edit box of display screen through first display module 30.Simultaneously, will import the pairing input character of button through second display module 60 and be presented at successively in the preview pane of display screen to little order by big, so that more more options are provided for the user according to input number percent.
, by big extremely little order the pairing input character of input button is presented in the preview pane of display screen successively according to input number percent.Like this, when more selection being provided, further guarantee to improve the efficient of user's input characters, and guaranteed to a great extent and can bring better experience to the user for the user.
The above is merely the preferred embodiments of the present invention; Be not so limit claim of the present invention; Every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; Or directly or indirectly be used in other relevant technical fields, all in like manner be included in scope of patent protection of the present invention.

Claims (10)

1. the method for touch-screen adjacent key identification is characterized in that, comprising:
After reception is input to the input instruction of display screen, obtain the input coordinate of touch point in the touch area;
According to the key area of input button in the preset interface of input method, and the input coordinate of said touch point, the input number percent of said touch area calculated with respect to each input button that it covered;
According to the size of said input number percent, the input character of maximum being imported the pairing input button of number percent is presented in the edit box of said display screen.
2. the method for claim 1; It is characterized in that; The key area of input button in the preset interface of input method of said basis, and the input coordinate of said touch point, calculate said touch area and comprise with respect to the input number percent of each input button that it covered:
Confirm the input button that comprised in the scope that said touch area covers;
According to the key area of preset input button, and the input coordinate of said touch point, the number of adding up the input coordinate of the touch point in the key area that drops into each said input button;
The number of input coordinate of calculating touch point in key area of each input button accounts for the number percent of the number of all coordinates in the key area of this input button, obtains the input number percent of said touch area with respect to each said input button.
3. method as claimed in claim 2; It is characterized in that the key area of input button in the preset interface of input method of said basis, and the input coordinate of said touch point; Calculate before the input number percent of said touch area with respect to each input button that it covered, also comprise:
Judge that said touch area whether in the interface of input method of display screen, if not, then sends the input failure command to CPU.
4. method as claimed in claim 3; It is characterized in that the key area of input button in the preset interface of input method of said basis, and the input coordinate of said touch point; Calculate before the input number percent of said touch area with respect to each input button that it covered, also comprise:
Account for the number percent of display screen according to interface of input method, set the size of interface of input method;
According to the size of interface of input method, and the quantity of input button in the said interface of input method, set the key area of said input button.
5. like each described method in the claim 1 to 4, it is characterized in that, after the input number percent of said calculating touch area, also comprise with respect to each input button that it covered:
According to said input number percent by big to little order, the input character of the pairing input button of said input number percent is presented in the preview pane of said display screen successively.
6. the device of touch-screen adjacent key identification is characterized in that, comprising:
Acquisition module, be used to receive the input instruction that is input to display screen after, obtain the input coordinate of touch point in the touch area;
Computing module is used for the key area according to input button in the preset interface of input method, and the input coordinate of said touch point, calculates the input number percent of said touch area with respect to the single input button that it covered;
First display module is used for the size according to said input number percent, and the input character of maximum being imported the pairing input button of number percent is presented in the edit box of said display screen.
7. device as claimed in claim 6 is characterized in that, said computing module comprises:
Confirm the unit, be used for the input button that scope comprised of confirming that said touch area is covered;
Statistic unit is used for the key area according to preset input button, and the input coordinate of said touch point, the number of adding up the input coordinate of the touch point in the key area that drops into each said input button;
Computing unit; The number of input coordinate that is used for calculating the touch point, key area of each input button accounts for the number percent of the number of all coordinates in the key area of this input button, obtains the input number percent of said touch area with respect to each said input button.
8. device as claimed in claim 7 is characterized in that, also comprises:
Judge module is used to judge that said touch area whether in the interface of input method of display screen, if not, then sends the input failure command to CPU.
9. device as claimed in claim 8 is characterized in that, also comprises presetting module, and said presetting module is used for:
Account for the number percent of display screen according to interface of input method, set the size of interface of input method;
According to the size of interface of input method, and the quantity of input button in the said interface of input method, set the key area of said input button.
10. like each described device in the claim 6 to 9, it is characterized in that, also comprise:
Second display module is used for according to said input number percent by big to little order, and the input character of the pairing input button of said input number percent is presented in the preview pane of said display screen successively.
CN2012102274026A 2012-07-03 2012-07-03 Method and device for identifying adjacent buttons of touch screen Pending CN102779011A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012102274026A CN102779011A (en) 2012-07-03 2012-07-03 Method and device for identifying adjacent buttons of touch screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012102274026A CN102779011A (en) 2012-07-03 2012-07-03 Method and device for identifying adjacent buttons of touch screen

Publications (1)

Publication Number Publication Date
CN102779011A true CN102779011A (en) 2012-11-14

Family

ID=47123936

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012102274026A Pending CN102779011A (en) 2012-07-03 2012-07-03 Method and device for identifying adjacent buttons of touch screen

Country Status (1)

Country Link
CN (1) CN102779011A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105009038A (en) * 2013-02-22 2015-10-28 三星电子株式会社 Electronic device having touch-sensitive user interface and related operating method
CN105474611A (en) * 2014-07-31 2016-04-06 华为技术有限公司 Processing method for inputting information and mobile terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100207870A1 (en) * 2009-02-19 2010-08-19 Pantech&Curitel Communications, Inc. Device and method for inputting special symbol in apparatus having touch screen
CN101957722A (en) * 2010-09-28 2011-01-26 华为终端有限公司 Touch screen input control method and device as well as mobile phone
CN102346648A (en) * 2011-09-23 2012-02-08 惠州Tcl移动通信有限公司 Method and system for realizing priorities of input characters of squared up based on touch screen

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100207870A1 (en) * 2009-02-19 2010-08-19 Pantech&Curitel Communications, Inc. Device and method for inputting special symbol in apparatus having touch screen
CN101957722A (en) * 2010-09-28 2011-01-26 华为终端有限公司 Touch screen input control method and device as well as mobile phone
CN102346648A (en) * 2011-09-23 2012-02-08 惠州Tcl移动通信有限公司 Method and system for realizing priorities of input characters of squared up based on touch screen

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105009038A (en) * 2013-02-22 2015-10-28 三星电子株式会社 Electronic device having touch-sensitive user interface and related operating method
CN105474611A (en) * 2014-07-31 2016-04-06 华为技术有限公司 Processing method for inputting information and mobile terminal

Similar Documents

Publication Publication Date Title
CN103729636B (en) Character segmentation method, device and electronic equipment
EP2821906A1 (en) Method for processing touch operation and mobile terminal
CN102135850A (en) Handheld terminal equipment and automatic unlocking method thereof
CN103019597A (en) Intelligent terminal with built-in screenshot functionality and realizing method of intelligent terminal
CN105824495A (en) Method for operating mobile terminal with single hand and mobile terminal
CN102662505A (en) Simulation touch input apparatus, and apparatus and method for configurating simulation touch input
CN107992728A (en) Face verification method and device
CN105159532A (en) Method for sorting pages in operation interface and terminal
CN102736759A (en) Touch screen and operating method thereof
CN104715181A (en) Login system and method of application software
CN103064627A (en) Application management method and device
CN103207730B (en) One can locate pull-alongs flow process drawing generating method and process flow diagram maker
CN102739620A (en) Verification system and verification method
CN107592454A (en) A kind of image processing method and mobile terminal
CN103714316A (en) Image identification method, device and electronic equipment
CN102968270A (en) Data deleting method and terminal equipment thereof
CN103294175A (en) Electronic device and method for electronic device to automatically switch input modes
CN105700767B (en) The stacked display system of file and method
CN107797732A (en) A kind of application control method and device
CN102779011A (en) Method and device for identifying adjacent buttons of touch screen
CN105745988A (en) Short message processing method for mobile terminal, and mobile terminal
CN101893959B (en) Method for implementing touch direction identification in linux kernel
CN102722245A (en) Character copying method based on intelligent handheld equipment
CN103618958A (en) Method and device for inputting text information to television
CN106331833A (en) Video display method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20121114