This invention discloses a method and
system for eight-directional gliding Chinese input based on a novel
keyboard layout, belonging to the field of human-computer
interaction technology for
touchscreen devices. Addressing the problems of existing gliding input methods, such as accidental touches during long-distance gliding, inconsistent input, inability to input uppercase letters and tones, and some keys easily sliding off the screen, this invention adopts an innovative matrix-style initial
consonant keyboard layout. Through a dynamic initial-final
mapping algorithm, gliding determination relies solely on directional changes, unaffected by
path length. Simultaneously, dedicated keys are added and their
layout optimized to enable uppercase letters and tones input, preventing keys from exceeding the screen and becoming unusable. The
system collects the gliding trajectory, performs error correction, matches finals, verifies
pinyin, and displays candidate words to complete the input. This invention offers simple and smooth operation, significantly improved input efficiency, greatly reduced accidental touch rate, and stronger
error tolerance, making it suitable for efficient Chinese input on
touchscreen devices such as mobile phones and tablets.