Apparatus and method for inputting command or data based on movement of touch position and change in direction thereof

The present invention relates to a method and apparatus for processing the input to retrieve the command or data from the database of a subgroup of multiple layers by using the touch location movement and moving direction information on the touch surface of the touch input device is selected, the touch position the reference distance travel direction is selected, the following command or data of the same subgroup, and for the same direction or the opposite direction as the moving direction of the previous step, the reference distance, the moving direction of the touch position, the direction or the opposite direction as the direction of movement of the previous step or the command or the data for the next layer sub-groups that are related to the command or the data selected in the preceding step is selected. A touch input device, touch movement, the moving direction conversion, layer, a sub-group,