Patent Document ID: 9904397
Application ID: 15163789

Base Claim:
1. A method for switching between text input assistants being executed by at least one processor of an electronic device, the electronic device comprising a storage device configured to store a preset table recording relationships between each touch force of a touch operation on an input device and each of different text input assistants, the method comprising: receiving a touch operation on the input device, the input device comprising a force sensor; generating, via the force sensor, a first electrical signal, the first electrical signal associated with a touch force of the touch operation, wherein the input device further comprises an area sensor to sense a touch area of the touch operation and convert the touch area into a second electrical signal, the touch force is associated with the touch area of a same touch operation, the method further comprises: determining an association relationship of the touch force associated with the touch area of the same touch operation while the force sensor works correctly; wherein the association relationship is F=KS, where F denotes the touch force, S denotes the touch area, and K denotes a coefficient of the touch force to the touch area; calculating the touch force according to the first electrical signal; determining a text input assistant associated with a calculated touch force according to the preset table, thus resulting in a selected text input assistant; comparing whether the selected text input assistant is the same as a current text input assistant for the electronic device; switching the current text input assistant to the selected text input assistant when the selected text input assistant is different from the current text input assistant; and displaying an input interface associated with the selected text input assistant.

---

Claim 3:
3. The method of claim 1 , wherein when the force sensor does not correctly work, the method further comprises: calculating the touch area according to the second electrical signal; and converting the touch area into the touch force according to the association relationship of the touch force and the touch area.