Method and device for key-press judgment based on touch screen
First Claim
Patent Images
1. A method for key-press judgment based on a touch screen, comprising:
- detecting a press operation on a virtual desktop keyboard displayed on the touch screen;
when the pressing operation is detected, acquiring position information of a current pressed point and extended information corresponding to the position information, until an end of the press operation is detected;
judging a pressed key corresponding to the press operation according to the position information and the extended information of the pressed point in the press operation;
wherein the method further comprises when it is judged that the press operation corresponds to an effective pressed key, inputting according to the pressed key corresponding to the press operation;
wherein when the extended information is time information of the pressed point, the judging a pressed key corresponding to the press operation according to the position information and the extended information of the pressed point in the press operation comprises;
respectively judging a pressed key and pressing time corresponding to each pressed point according to position information and corresponding time information of each of a plurality of pressed points generated in the operation;
for each corresponding pressed key, acquiring a number of pressed points corresponding to the pressed key according to corresponding position information, and acquiring a duration time of a pressing corresponding to the pressed key according to a press time of a corresponding last pressed point and a press time of a corresponding first pressed point in time sequence;
judging the pressed key corresponding to the pressed operation in accordance with preset rules according to the acquired number of pressed points and duration time for each pressed key.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and device for key-press judgment based on a touch screen are disclosed. The method involves: detecting a press operation; when the press operation is detected, acquiring position information of current pressed point and extended information corresponding to the position information, until the end of this press operation is detected; judging a pressed key corresponding to this press operation according to the position information and the extended information of pressed points in this operation.
7 Citations
10 Claims
-
1. A method for key-press judgment based on a touch screen, comprising:
-
detecting a press operation on a virtual desktop keyboard displayed on the touch screen; when the pressing operation is detected, acquiring position information of a current pressed point and extended information corresponding to the position information, until an end of the press operation is detected; judging a pressed key corresponding to the press operation according to the position information and the extended information of the pressed point in the press operation; wherein the method further comprises when it is judged that the press operation corresponds to an effective pressed key, inputting according to the pressed key corresponding to the press operation; wherein when the extended information is time information of the pressed point, the judging a pressed key corresponding to the press operation according to the position information and the extended information of the pressed point in the press operation comprises; respectively judging a pressed key and pressing time corresponding to each pressed point according to position information and corresponding time information of each of a plurality of pressed points generated in the operation; for each corresponding pressed key, acquiring a number of pressed points corresponding to the pressed key according to corresponding position information, and acquiring a duration time of a pressing corresponding to the pressed key according to a press time of a corresponding last pressed point and a press time of a corresponding first pressed point in time sequence; judging the pressed key corresponding to the pressed operation in accordance with preset rules according to the acquired number of pressed points and duration time for each pressed key. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A device comprising:
-
a touch screen; a detection module configured to detect a press operation on a virtual keyboard displayed on the touch screen; an acquirement module configured so that, when the pressing operation is detected, acquire position information of a current pressed point and extended information corresponding to the position information, until an end of the press operation is detected; a judgment module configured to determine a pressed key corresponding to the press operation according to the position information and the extended information of the pressed point in the press operation; an input module configured to input according to the pressed key corresponding to the press operation; wherein when the extended information is time information of the pressed point, the acquirement module is configured to;
for each corresponding pressed key, acquire a number of pressed points corresponding to the pressed key according to corresponding position information, and acquire a duration time of a pressing corresponding to the pressed key according to a press time of the corresponding last pressed point and a press time of the corresponding first pressed point in time sequence; andthe judgment module is configured to;
respectively judge a pressed key and pressing time corresponding to each pressed point according to position information and corresponding time information of each of a plurality of pressed points generated in the operation;
judge the pressed key corresponding to the pressed operation according to preset rules according to the number of pressed points and the duration time for each pressed key acquired by the acquirement module. - View Dependent Claims (7, 8, 9, 10)
-
Specification