Patent ID: 8896551

Claim:
An electronic device, comprising: a storage system; a touch panel; at least one processor; one or more programs that are stored in the storage system and are executed by the at least one processor, the one or more programs comprising: a definition module that defines and stores a fuzzy set corresponding to each virtual key of a touch keyboard displayed on the touch panel, wherein the fuzzy set corresponding to each virtual key defines a plurality of membership functions of each virtual key; a receiving module that receives coordinates of a touch point on the touch panel; a confirmation module that confirms at least one membership function in the fuzzy set according to the received coordinates for obtaining at least one non-zero membership value, confirms a virtual key corresponding to the received coordinates according to fuzzy sets of virtual keys of the touch keyboard, and determines the virtual key as a touched virtual key and the received coordinates as touched coordinates, wherein the virtual key is confirmed by the one non-zero membership function value from the plurality of the fuzzy sets according to the received coordinates when a number of the at least one non-zero membership function value is one, and the virtual key is confirmed by the larger non-zero membership function value in the two non-zero membership function values when the number of the at least one non-zero membership function value is two; a processing module that executes a function corresponding to the touched virtual key on the virtual keyboard; the confirmation module further confirms one or more adjacent virtual keys of the touched virtual key, after the function of the touched virtual key is executed; the processing module further revises a fuzzy set of the touched virtual key or a fuzzy set of one of the adjacent virtual keys, upon the condition that a backspace virtual key of the touch keyboard and the adjacent virtual key have been touched in turn after the touched virtual key.