WO2016188203A1 - 一种字符输入方法、装置及计算机存储介质 - Google Patents

一种字符输入方法、装置及计算机存储介质 Download PDF

Info

Publication number
WO2016188203A1
WO2016188203A1 PCT/CN2016/076911 CN2016076911W WO2016188203A1 WO 2016188203 A1 WO2016188203 A1 WO 2016188203A1 CN 2016076911 W CN2016076911 W CN 2016076911W WO 2016188203 A1 WO2016188203 A1 WO 2016188203A1
Authority
WO
WIPO (PCT)
Prior art keywords
parameter
pressing
character
level
range
Prior art date
Application number
PCT/CN2016/076911
Other languages
English (en)
French (fr)
Inventor
张辉
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016188203A1 publication Critical patent/WO2016188203A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0236Character input methods using selection techniques to select from displayed items
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Definitions

  • the present invention relates to the field of information input, and in particular, to a character input method, device, and computer storage medium.
  • the current input methods are developed based on physical buttons or capacitive touch screens. Switching language types, character case, etc. are all switched by buttons or touches.
  • Such input is switched by a special button when switching the input method, switching character case, switching punctuation, etc., so that the input complexity is increased, and the key is very small when the input method is full keyboard, and it is easy to be mistaken. touch.
  • embodiments of the present invention are expected to provide a character input method, apparatus, and computer storage medium, which can reduce input complexity and prevent false touch.
  • a character input method comprising:
  • the selecting according to the correspondence between the range of the pressing parameter and the at least two characters to be selected on the current button, the output of the candidate character corresponding to the first pressing parameter, including:
  • the corresponding character format corresponding to the pressing parameter range of the first pressing parameter is selected and A candidate character of the corresponding character content is output.
  • the corresponding relationship between the pressing parameter range and the plurality of candidate characters having different character formats of the same character content on the current button is selected, and the corresponding pressing parameter range corresponding to the first pressing parameter is selected.
  • An optional character output for the corresponding character format including:
  • the first pressing parameter includes a pressing pressure, a pressing duration, or a pressing direction.
  • the corresponding pressing parameter range corresponding to the first pressing parameter is selected.
  • An optional character output for the corresponding character content including:
  • the first pressing parameter includes a pressing pressure, a pressing duration, or a pressing direction.
  • the first pressing parameter includes a first parameter and a second parameter; and the correspondence between the plurality of candidate characters according to the range of the pressing parameter and the character content having the same character format on the current button And selecting, according to the range of the pressing parameter in which the first pressing parameter is located, an output of the candidate character having the corresponding character content, including:
  • the first parameter and the second parameter include two of the following parameters: a pressing pressure, a pressing duration, and a pressing direction.
  • the first pressing parameter includes a first parameter and a second parameter; and the correspondence between the pressing parameter range and a plurality of candidate characters having different character contents of different character formats on the current button, And selecting, by the range of the pressing parameter corresponding to the first pressing parameter, an output of the candidate character having the corresponding character format and the corresponding character content, including:
  • the first parameter and the second parameter include two of the following parameters: a pressing pressure, a pressing duration, and a pressing direction.
  • the method before the detecting obtains the first pressing parameter on the current button, the method further includes:
  • the second pressing parameter includes pressing pressure, pressing time or pressing direction.
  • a character input device comprising:
  • a detecting unit configured to detect and obtain a first pressing parameter on the current button
  • Selecting an output unit configured to select, according to a correspondence between a range of a pressing parameter and at least two characters to be selected on the current button, a candidate corresponding to a range of pressing parameters of the first pressing parameter detected by the detecting unit Character output.
  • the selecting output unit is specifically configured to select the detected relationship between the plurality of candidate characters having different character formats of the same character content on the current button according to the range of the pressing parameter, and select the detected by the detecting unit.
  • selecting a candidate character having a corresponding character content corresponding to the range of the pressing parameter of the first pressing parameter detected by the detecting unit or, according to the pressing parameter range Corresponding to a correspondence between a plurality of candidate characters having different character formats on the current button, and selecting a corresponding character format corresponding to the range of the pressing parameter of the first pressing parameter detected by the detecting unit and corresponding A candidate character output for character content.
  • the selection output unit includes a level determination subunit and a selection output subunit, wherein
  • the level determining subunit is configured to determine a parameter level of the first pressing parameter according to a correspondence between a preset parameter level and a parameter range;
  • the selecting output subunit is configured to select, according to a correspondence between a preset parameter level and a character format, from the plurality of candidate characters having different character formats of the same character content, selecting the determined by the level determining subunit Outputting a candidate character of a character format corresponding to the parameter level of the first pressing parameter;
  • the first pressing parameter includes a pressing pressure, a pressing duration, or a pressing direction.
  • the selection output unit includes a level determination subunit and a selection output subunit, wherein
  • the level determining subunit is configured to determine a parameter level of the first pressing parameter according to a correspondence between a preset parameter level and a parameter range;
  • the selection output subunit is configured to select, according to a correspondence between a preset parameter level and a character content, the plurality of candidate characters having different character contents of the same character format, and the selected by the level determining subunit Outputting a candidate character of the character content corresponding to the parameter level of the first pressing parameter;
  • the first pressing parameter includes a pressing pressure, a pressing duration, or a pressing direction.
  • the first pressing parameter includes a first parameter and a second parameter; then the selection output unit includes a level determining subunit and a selecting output subunit, wherein
  • the level determining subunit is configured to determine, according to a preset correspondence between the first parameter level and the first parameter range, a first parameter level where the first parameter is located; Corresponding relationship between the parameter level and the second parameter range, determining a second parameter level where the second parameter is located;
  • the selection output subunit is configured to select, according to a preset correspondence between the two parameter levels of the first parameter level and the second parameter level and the character content, the plurality of candidate characters having different character contents of the same character format. Selecting, to select, a candidate character output having the character content corresponding to the two parameter levels where the first pressing parameter determined by the level determining subunit is located;
  • the first parameter and the second parameter include two of the following parameters: a pressing pressure, a pressing duration, and a pressing direction.
  • the first pressing parameter includes a first parameter and a second parameter; then the selection output unit includes a level determining subunit and a selecting output subunit, wherein
  • the level determining subunit is configured to determine a first parameter level where the first parameter is located according to a preset correspondence between the first parameter level and the first parameter range; and according to the preset second parameter level and the second Corresponding relationship of the parameter ranges, determining a second parameter level where the second parameter is located;
  • the selection output subunit is configured to select, according to a correspondence between a preset first parameter level and a character content, from the plurality of candidate characters having different character formats and different character contents, and having the level Determining, by the sub-unit, a plurality of first candidate characters corresponding to the character content corresponding to the first parameter level; and selecting, according to a correspondence between the preset second parameter level and the character format, from the first candidate characters The level determining one candidate character output of the character format corresponding to the second parameter level determined by the sub-unit;
  • the first parameter and the second parameter include two of the following parameters: a pressing pressure, a pressing duration, and a pressing direction.
  • the device further includes a switching unit, where
  • the detecting unit is further configured to detect that the second pressing parameter on the input method switching area is obtained;
  • the switching unit is configured to switch from the current first input method to the detecting unit a second input method corresponding to the measured second pressing parameter; the second pressing parameter includes a pressing pressure, a pressing duration, or a pressing direction.
  • the embodiment of the invention provides a computer storage medium, wherein the computer storage medium stores a computer program, and the computer program is used to execute the character input method described above.
  • the embodiment of the invention provides a character input method and device, and a computer storage medium.
  • the device first detects a first pressing parameter input by a user on a current button; and according to a pressing parameter range and at least two characters to be selected on the current button Corresponding relationship, selecting a candidate character corresponding to the range of the pressing parameter in which the first pressing parameter is located; thus, in the full keyboard input mode, the character to be selected on the current button is the same character content and different character format
  • a switch button in a format such as a case is required to be pressed, such as a case lock button, and a character button is pressed once to output a character in a format, and the user is directly detected in the embodiment of the present invention.
  • the first pressing parameter is used to distinguish the output of the upper and lower case of the character on the button, so that the input of the format switching such as capitalization is not required, the number of pressing is reduced, and the input efficiency is improved.
  • the current key is a candidate character of the same character format in the same character format
  • an candidate character output of the character content corresponding to the first pressing parameter is selected from the at least two candidate characters; In this way, in the full keyboard input mode, multiple candidate characters corresponding to multiple character contents can be set on one button, and the area of each button is increased, thereby effectively avoiding the existing full keyboard input, because each button occupies space. Smaller errors and increased input efficiency.
  • FIG. 1 is a schematic flowchart of a character input method according to Embodiment 1 of the present invention.
  • FIG. 2 is a schematic flowchart of a character input method according to Embodiment 2 of the present invention.
  • FIG. 3 is a schematic diagram of a layout of a soft keyboard according to Embodiment 2 of the present invention.
  • FIG. 5 is a schematic flowchart of another character input method according to Embodiment 2 of the present invention.
  • FIG. 6 is a schematic layout diagram of another soft keyboard according to Embodiment 2 of the present invention.
  • FIG. 7 is a schematic flowchart of another character input method according to Embodiment 2 of the present invention.
  • FIG. 8 is a structural block diagram of a character input device according to Embodiment 3 of the present invention.
  • FIG. 9 is a structural block diagram of another character input device according to Embodiment 3 of the present invention.
  • the embodiment of the present invention provides a character input method. As shown in FIG. 1 , the processing flow of the method in this embodiment includes the following steps:
  • Step 101 Detecting obtaining a first pressing parameter on the current button.
  • the method of this embodiment is mainly applied to a terminal with a pressure screen that can be normally driven and operated.
  • a soft keyboard with a corresponding button is displayed on the terminal, and the user can input text by touching a button on the soft keyboard.
  • the terminal detects the first pressing parameter input by the user on the current button.
  • the first pressing parameter described herein may be a parameter related to a pressing operation such as a pressing pressure, a pressing duration, or a pressing direction.
  • Step 102 Select, according to a correspondence between the range of the pressing parameter and the at least two characters to be selected on the current button, an candidate character output corresponding to the range of the pressing parameter in which the first pressing parameter is located.
  • the at least two characters to be selected on the button may be a plurality of candidate characters having different character formats of the same character content.
  • the candidate characters on the current button are the lowercase format "a” and the uppercase format of the letter "a”.
  • A" can also be multiple candidate words with different character contents in the same character format
  • the character to be selected on the current button of the example is a different letter "abc”.
  • the at least two characters to be selected on the button are a plurality of candidate characters having the same character content and different character formats.
  • the first pressing parameter may be a pressing pressure or a pressing duration, etc., where the first pressing parameter is the pressing pressure as an example, and the pressing parameter range is at least on the current button.
  • the correspondence between the two characters to be selected may be that the weighted range corresponds to the candidate character in the uppercase format and the candidate character in the lowercase format corresponding to the light pressure range; in the method of the embodiment, the user is detected on the current button by the pressure screen.
  • the "A" output of the uppercase format corresponding to the weight range in which the pressing pressure is located is selected according to the magnitude of the pressing pressure, that is, the "A" of the lowercase format is output in the light pressure range.
  • the method in the embodiment directly detects the user at the current
  • the first pressing parameter is used to distinguish the output of the upper and lower case of the character on the button, and the input of the format switching such as capitalization is not required, the number of pressing is reduced, and the input efficiency is improved; and since the method in the embodiment does not The input of the format switching such as capitalization is required. Therefore, the function keys of the format switching such as the uppercase and lowercase locking keys are not set on the keyboard displayed by the terminal in this embodiment. After omitting these function keys, the other keys can be enlarged. Area to prevent accidental touch.
  • the at least two candidate characters on the button are multiple candidate characters having different character contents in the same character format.
  • the first pressing parameter may be a pressing pressure or a pressing duration, etc., where the first pressing parameter is the pressing duration, and the correspondence between the pressing parameter range and the at least two candidate characters on the current button may be three.
  • the duration range corresponds to three candidate characters.
  • the first pressing parameter when the user performs a pressing operation on the current button, that is, the pressing duration is detected by the pressure screen, and then, according to the first pressing parameter, the pressing duration is The output character "a", "b” or "c" is selected in the duration range.
  • the input method in this embodiment can simulate full keyboard input when there are multiple characters to be selected with different character contents on each button, that is, the user can output one character by touching one button; and multiple different characters are used.
  • the candidate characters of the content are set on one button, and the area of each button is increased compared with the full keyboard, so that the existing full keyboard input can be effectively avoided, and the space occupied by each button is small.
  • the phenomenon of false touches improves input efficiency.
  • the embodiment of the present invention provides a character input method. As shown in FIG. 2, the processing flow of the method in this embodiment includes the following steps:
  • Step 201 Detecting a second pressing parameter input by the user on the input method switching area, and then switching from the first input method to the second input method corresponding to the second pressing parameter.
  • the method of this embodiment is mainly applied to a terminal with a pressure screen that can be normally driven and operated.
  • a soft keyboard with a corresponding button is displayed on the terminal, and the user can input text by touching a button on the soft keyboard.
  • the user will select the input method before entering the text. If you want to input Chinese, you need to use the Chinese input method. If you want to input English, you need to use the English input method.
  • the terminal needs to detect whether the user has an input on the input method switching area. If the terminal detects the second pressing parameter input by the user on the input method switching area, the terminal switches from the first input method to the second pressing parameter.
  • the second pressing parameter includes at least one of a pressing pressure, a pressing duration, and a pressing direction.
  • the pressure level at which the pressing pressure is determined is determined according to the corresponding relationship between the preset pressure level and the pressure range; according to the preset pressure level and the input method Corresponding relationship, switching from the first input method to a second input method corresponding to the second pressing parameter; the pressure level may have a first level, a second level, and a third Level, etc., where the first level corresponds to the Chinese input method, the second level corresponds to the English input method, the third level corresponds to the Korean input method, etc.; assuming that the currently used input method, that is, the first input method is the Chinese input method, the terminal detects the user When the pressing pressure input on the input method switching area is the first level, the Chinese input method is switched from the Chinese input method to the Chinese input method corresponding to the pressing pressure, that is, the input method is not switched; the terminal detects that the user is in the input method switching area.
  • the Chinese input method is switched to the English input method corresponding to the pressing pressure; and when the terminal detects that the pressing pressure input by the user on the input method switching area is the third level, Switching from the Chinese input method to the Korean input method corresponding to the pressing pressure.
  • the method of the embodiment also performs the switching of the input method according to the pressing duration or the pressing direction, and the specific process is similar to the above, and will not be described in detail herein.
  • the Chinese input method does not perform the input method switching; when the terminal detects that the pressing pressure input by the user on the input method switching area is the light pressure range, the Chinese input method is switched from the Chinese input method to the next input of the Chinese input method in the input method sorting.
  • the law is the English input method.
  • the input method switching area may be an area where a specific input method switching button is located.
  • Step 202 Detecting obtaining a first pressing parameter on the current button.
  • First compression parameter described herein It may be a parameter related to the pressing operation such as pressing pressure, pressing time or pressing direction.
  • the terminal may be configured according to the range of the pressing parameter and the plurality of candidate characters having different character formats of the same character content on the current button. Corresponding relationship, selecting a candidate character output having a corresponding character format corresponding to the pressing parameter range in which the first pressing parameter is located; as shown in FIG. 2, steps 203-204 may be performed.
  • Step 203 Determine a parameter level of the first pressing parameter according to a correspondence between a preset parameter level and a parameter range.
  • Step 204 Select, according to a correspondence between a preset parameter level and a character format, a character format corresponding to a parameter level where the first pressing parameter is located, among the plurality of candidate characters having different character formats of the same character content. An optional character output.
  • the first pressing parameter includes a pressing pressure, a pressing duration, or a pressing direction.
  • the corresponding relationship between the preset parameter level and the parameter range is required in the terminal, that is, a pressure range of a heavy pressure level and a pressure range of a light pressure level are preset, and the parameter level is preset.
  • the character format that is, the character format corresponding to the weight level is uppercase, and the character format corresponding to the soft level is lowercase.
  • the button of the letter “a” when the user inputs the full keyboard, if the user wants to input “A”, the button of the letter “a” can be strongly pressed, so that the terminal It is possible to detect the pressing pressure input by the user on the current button, and then the terminal can determine the parameter level of the pressing pressure as the heavy pressing level according to the pressure range of the preset weighting level and the pressure range of the light pressing level;
  • the character format corresponding to the preset weight level is in uppercase format, and the candidate character "A" in which the candidate character is to be output in uppercase format is selected.
  • the user wants to input "a” the user can lightly press the button of the letter "a”.
  • the user can output lowercase letters by tapping, and can output uppercase letters by pressing again, without inputting the uppercase and lowercase format switching, reducing the number of presses and improving the input efficiency;
  • the uppercase and lowercase lock keys can be omitted from the disk, which can increase the area of other keys to prevent accidental touch.
  • the above example is described by taking the first pressing parameter as the pressing pressure.
  • the first pressing parameter may also be the pressing duration.
  • the lowercase letter is output, and when the pressing time is short, the uppercase letter is output.
  • a pressing parameter may also be a pressing direction. The preset user presses a lowercase letter when sliding to the left side, and outputs a capital letter when sliding to the right side; the specific process may refer to the description of the pressing pressure, and no longer one by one. Description.
  • the terminal may select the correspondence between the range of the pressing parameter and the plurality of candidate characters having the same character format on the current button.
  • Step 403 Determine a parameter level of the first pressing parameter according to a correspondence between a preset parameter level and a parameter range.
  • Step 404 Select, according to a preset correspondence between the parameter level and the character content, the character content corresponding to the parameter level where the first pressing parameter is located, from the plurality of candidate characters having different character contents of the same character format. An optional character output.
  • the first pressing parameter includes a pressing pressure, a pressing duration, or a pressing direction.
  • the terminal After detecting the first pressing parameter when the user performs a pressing operation on the current button, the terminal selects to output the candidate character corresponding to the first pressing parameter.
  • the terminal can be based on the maximum detectable
  • the button strength 99 and the minimum detectable button strength 15 preset three pressure pressure levels, namely the first, second and third pole pressure ranges, wherein the first level pressure range is (15, 15) +28), the pressure range of the second stage is (44, 43+28), and the pressure range of the third stage is (72, 71+28); and the correspondence between the parameter level and the character content is preset. That is, the character content corresponding to the first level is the first character on the current key, the character content corresponding to the second level is the second character on the current key, and the character content corresponding to the third level is the third character on the current key. character.
  • the user performs a pressing operation on the current button.
  • the current button has three characters to be selected, "abc".
  • the terminal can detect that the pressing pressure of the user on the current button is 65, and the pressure level corresponding to the 65 is the second level.
  • the character content corresponding to the second level is the second character "b", that is, the candidate character selected for output is "b".
  • the terminal automatically outputs the first character on the current button.
  • the first pressing parameter includes the first parameter and the second parameter; specifically, as shown in FIG. 5, steps 503-505 are performed.
  • Step 503 Determine, according to a preset correspondence between the first parameter level and the first parameter range, a first parameter level where the first parameter is located.
  • Step 504 Determine, according to a preset correspondence between the second parameter level and the second parameter range, a second parameter level where the second parameter is located.
  • Step 505 Select, according to the correspondence between the two parameter levels of the preset first parameter level and the second parameter level and the character content, from the plurality of candidate characters having different character contents of the same character format, One candidate character of the character content corresponding to the two parameter levels where the first pressing parameter is located is output.
  • the first parameter and the second parameter include two of the following parameters: a pressing pressure, a pressing duration, or a pressing direction.
  • the terminal After detecting the first pressing parameter when the user performs a pressing operation on the current button, the terminal selects to output the candidate character corresponding to the first pressing parameter; the setting on the current button
  • the methods described in steps 403 and 404 it is easy to select and output the candidate character corresponding to the first pressing parameter by pressing a parameter such as pressure or pressing duration, and the candidate to be selected on the current button is selected.
  • the methods described in steps 403 and 404 are applied. Since there are too many parameter levels divided, there are three or four pressing pressure levels, and it is not easy for the user to distinguish the pressing amount between the pressing pressure levels. It is not easy to select and output the candidate characters.
  • the method described in steps 503-505 can be employed.
  • the first parameter is the pressing pressure
  • the second parameter is the pressing time.
  • the terminal may predefine a pressure threshold.
  • the correspondence between the first parameter level and the first parameter range is: a pressing level is lower than the pressure threshold, and a pressing level is greater than or equal to the pressure threshold; a duration threshold is predefined.
  • the correspondence between the second parameter level and the second parameter range is: a pressing duration is less than the duration threshold, and a short pressing level is greater than or equal to the duration threshold.
  • the pressing pressure is a light pressing level and the pressing time is a short pressing level, and the corresponding output is located at the first upper left corner of the current button.
  • Character pressing pressure is re-pressed and pressing time is short pressing level, corresponding output is the second character in the upper right corner of the current button; pressing pressure is light tapping level and pressing time is long pressing level, corresponding output is located in the lower left corner of the current button.
  • the third character the pressing pressure is the re-pressing level and the pressing duration is the long pressing level, and the corresponding output is located at the fourth character in the lower right corner of the current button.
  • the nine keyboard is used to simulate the full keyboard input, and the full keyboard input can be realized according to the pressing pressure and the length of the pressing time to return different letters.
  • the user short presses the first character in the upper left corner of the output, presses the second character in the upper right corner of the output, and presses the third character in the lower left corner of the output. , long press the fourth character in the lower right corner of the output. If the user wants to input the character "j", the user can press the button "jkl5" lightly.
  • the terminal may select a correspondence between the range of the pressing parameter and the plurality of candidate characters having different character formats on the current button.
  • An candidate character having a corresponding character format and corresponding character content corresponding to the range of the pressing parameter in which the first pressing parameter is located is output. Specifically, as shown in FIG. 7, steps 703-705 can be performed.
  • Step 703 Determine, according to a preset correspondence between the first parameter level and the first parameter range, a first parameter level where the first parameter is located.
  • Step 704 Determine, according to a preset correspondence between the second parameter level and the second parameter range, a second parameter level where the second parameter is located.
  • Step 705 Select, according to a correspondence between the preset first parameter level and the character content, a character corresponding to the first parameter level from the plurality of candidate characters having different character formats and different character contents. A number of first candidate characters for the content.
  • Step 706 Select, according to a preset correspondence between the second parameter level and the character format, an candidate character output having a character format corresponding to the second parameter level, from the first candidate characters.
  • the first parameter and the second parameter include two of the following parameters: a pressing pressure, a pressing duration, and a pressing direction.
  • the first parameter is the pressing pressure
  • the second parameter is the pressing time.
  • the terminal may predefine a pressure threshold.
  • the correspondence between the first parameter level and the first parameter range is: a pressing level is lower than the pressure threshold, and a pressing level is greater than or equal to the pressure threshold; a duration threshold is predefined.
  • the correspondence between the second parameter level and the second parameter range is: a pressing duration is less than the duration threshold, and a short pressing level is greater than or equal to the duration threshold.
  • the corresponding relationship between the first parameter level and the character content is preset: when the pressing pressure is lightly pressed, The character content of the current button is the first letter of the current button, and the pressing pressure is the second letter of the current button corresponding to the current button.
  • the corresponding relationship between the second parameter level and the character format is: When the pressing duration is short, the corresponding character format is uppercase. When the pressing duration is long, the corresponding character format is lowercase.
  • the user short presses the uppercase format of the first letter “a” of the current button, that is, the candidate character “A”, and short presses the second button of the current button.
  • the uppercase format of the letter “b” is the candidate character "B”. Press and hold the lowercase format of the first letter “a” of the current button to select the character "a”, and press the second button to output the current button.
  • the lowercase format of the letter "b" is the candidate character "b”.
  • the first parameter is the pressing pressure
  • the second parameter is the pressing time.
  • the first parameter is the pressing pressure
  • the second parameter is the pressing direction.
  • the embodiment of the invention provides a computer storage medium, wherein the computer storage medium stores a computer program, and the computer program is used to execute the character input method described in the above embodiments.
  • An embodiment of the present invention provides a character input device. As shown in FIG. 8, the device includes: a detecting unit 801 and a selection output unit 802;
  • the detecting unit 801 is configured to detect that the first pressing parameter on the current button is obtained
  • the selection output unit 802 is configured to select one of the pressing parameter ranges in which the first pressing parameter detected by the detecting unit 801 is located according to the correspondence between the pressing parameter range and the at least two candidate characters on the current button. The character to be selected is output.
  • the selection output unit 802 is configured to select the detection unit 801 to detect according to a correspondence between a range of a pressing parameter and a plurality of candidate characters having different character formats of the same character content on the current button. Outputting a candidate character having a corresponding character format corresponding to the range of the pressing parameter corresponding to the first pressing parameter; or, selecting a plurality of candidate characters having different character contents in the same character format according to the pressing parameter range Corresponding relationship between the characters, selecting a candidate character output having a corresponding character content corresponding to the range of the pressing parameter of the first pressing parameter detected by the detecting unit 801; or, according to the pressing parameter range and the current button Corresponding relationship between a plurality of candidate characters having different character contents in different character formats, and selecting a corresponding character format and corresponding character content corresponding to the range of the pressing parameter of the first pressing parameter detected by the detecting unit 801 Select the character output.
  • the selection output unit 802 includes a level determining subunit 8021 and a selection output subunit 8022, where
  • the level determining sub-unit 8021 is configured to determine a parameter level of the first pressing parameter according to a correspondence between a preset parameter level and a parameter range;
  • the selection output sub-unit 8022 is configured to select, according to the correspondence between the preset parameter level and the character format, from the plurality of candidate characters having different character formats of the same character content, the determination by the level determining sub-unit 8021. Outputting a candidate character of a character format corresponding to the parameter level of the first pressing parameter;
  • the first pressing parameter includes a pressing pressure, a pressing duration, or a pressing direction.
  • the level determining subunit 8021 is configured to be based on preset parameter levels and parameters. Corresponding relationship of the range, determining a parameter level at which the first pressing parameter is located;
  • the selection output sub-unit 8022 is configured to select, according to the correspondence between the preset parameter level and the character content, from the plurality of candidate characters having different character contents of the same character format, the determination by the level determining sub-unit 8021. Outputting a candidate character of the character content corresponding to the parameter level of the first pressing parameter;
  • the first pressing parameter includes a pressing pressure, a pressing duration, or a pressing direction.
  • the first pressing parameter includes a first parameter and a second parameter
  • the level determining sub-unit 8021 is configured to determine, according to a preset correspondence between the first parameter level and the first parameter range, a first parameter level where the first parameter is located; and a second parameter level according to the preset Determining a correspondence between the two parameter ranges, determining a second parameter level where the second parameter is located;
  • the selection output sub-unit 8022 is configured to select, according to a preset correspondence between the two parameter levels of the first parameter level and the second parameter level and the character content, from the plurality of candidate characters having the same character format and different character contents. And selecting, in the character, an candidate character output having the character content corresponding to the two parameter levels where the first pressing parameter determined by the level determining subunit 8021 is located;
  • the first parameter and the second parameter include two of the following parameters: a pressing pressure, a pressing duration, and a pressing direction.
  • the first pressing parameter includes a first parameter and a second parameter
  • the level determining sub-unit 8021 is configured to determine, according to a preset correspondence between the first parameter level and the first parameter range, a first parameter level where the first parameter is located; and a second parameter level according to the preset Determining a correspondence between the two parameter ranges, determining a second parameter level where the second parameter is located;
  • the selection output sub-unit 8022 is configured to select, according to a preset correspondence between the first parameter level and the character content, the plurality of candidate words having different character contents with different character formats. a plurality of first candidate characters having the character content corresponding to the first parameter level determined by the level determining sub-unit 8021; and according to a correspondence between the preset second parameter level and the character format, And selecting, in the first candidate character, an candidate character output having a character format corresponding to the second parameter level determined by the level determining subunit 8021.
  • the first parameter and the second parameter include two of the following parameters: a pressing pressure, a pressing duration, and a pressing direction.
  • the apparatus further includes a switching unit 803, where
  • the detecting unit 801 is further configured to detect that the second pressing parameter on the input method switching area is obtained;
  • the switching unit 803 is configured to switch from a current first input method to a second input method corresponding to the second pressing parameter detected by the detecting unit 801; the second pressing parameter includes a pressing pressure, a pressing duration or Press the direction.
  • the detecting unit 801, the selecting output unit 802, and the switching unit 803 described in this embodiment may be implemented by a central processing unit (CPU) and a microprocessor (MPU, Micro Processor Unit) on the terminal. , digital signal processor (DSP, Digital Signal Processor) or field programmable gate array (FPGA, Field Programmable Gate Array), modem and other device implementation.
  • CPU central processing unit
  • MPU Micro Processor Unit
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the first pressing parameter on the current button is detected; and the pressing parameter of the first pressing parameter is selected according to the correspondence between the range of the pressing parameter and the at least two characters to be selected on the current button.

Abstract

一种字符输入方法、装置及计算机存储介质。所述方法包括:检测获得当前按键上的第一按压参数(101);根据按压参数范围与所述当前按键上至少两个待选字符之间的对应关系,选择所述第一按压参数对应的一个待选字符输出(102)。

Description

一种字符输入方法、装置及计算机存储介质 技术领域
本发明涉及信息输入领域,尤其涉及一种字符输入方法、装置及计算机存储介质。
背景技术
目前的输入法都是基于实体按键或者电容触摸屏来开发的,其切换语言类型,字符大小写等都是通过按键或触摸来实现切换的。
这样的输入在切换输入法,切换字符大小写,切换标点符号等的时候都要按专门的按键来切换,使得输入复杂度增加,且在全键盘等输入法的时候按键非常小,很容易误触。
发明内容
有鉴于此,本发明实施例期望提供一种字符输入方法、装置及计算机存储介质,可以降低输入复杂度,防止误触。
为达到上述目的,本发明的技术方案是这样实现的:
一种字符输入方法,所述方法包括:
检测获得当前按键上的第一按压参数;
根据按压参数范围与所述当前按键上至少两个待选字符之间的对应关系,选择所述第一按压参数所在的按压参数范围对应的一个待选字符输出。
上述方案中,所述根据按压参数范围与所述当前按键上至少两个待选字符之间的对应关系,选择所述第一按压参数对应的一个待选字符输出,包括:
根据按压参数范围与所述当前按键上具有同一字符内容不同字符格式 的多个待选字符之间的对应关系,选择所述第一按压参数所在的按压参数范围对应的具有相应字符格式的一个待选字符输出;
或者,根据按压参数范围与所述当前按键上具有同一字符格式不同字符内容的多个待选字符之间的对应关系,选择所述第一按压参数所在的按压参数范围对应的具有相应字符内容的一个待选字符输出;
或者,根据按压参数范围与所述当前按键上具有不同字符格式不同字符内容的多个待选字符之间的对应关系,选择所述第一按压参数所在的按压参数范围对应的具有相应字符格式及相应字符内容的一个待选字符输出。
上述方案中,所述根据按压参数范围与所述当前按键上具有同一字符内容不同字符格式的多个待选字符之间的对应关系,选择所述第一按压参数所在的按压参数范围对应的具有相应字符格式的一个待选字符输出,包括:
根据预设的参数级别与参数范围的对应关系,确定所述第一按压参数所在的参数级别;
根据预设的参数级别与字符格式的对应关系,从所述具有同一字符内容不同字符格式的多个待选字符中,选择具有所述第一按压参数所在的参数级别对应的字符格式的一个待选字符输出;
其中,所述第一按压参数包括按压压力、按压时长或按压方向。
上述方案中,所述根据按压参数范围与所述当前按键上具有同一字符格式不同字符内容的多个待选字符之间的对应关系,选择所述第一按压参数所在的按压参数范围对应的具有相应字符内容的一个待选字符输出,包括:
根据预设的参数级别与参数范围的对应关系,确定所述第一按压参数所在的参数级别;
根据预设的参数级别与字符内容的对应关系,从所述具有同一字符格式不同字符内容的多个待选字符中,选择具有所述第一按压参数所在的参数级别对应的字符内容的一个待选字符输出;
其中,所述第一按压参数包括按压压力、按压时长或按压方向。
上述方案中,所述第一按压参数包括第一参数和第二参数;则所述根据按压参数范围与所述当前按键上具有同一字符格式不同字符内容的多个待选字符之间的对应关系,选择所述第一按压参数所在的按压参数范围对应的具有相应字符内容的一个待选字符输出,包括:
根据预设的第一参数级别与第一参数范围的对应关系,确定所述第一参数所在的第一参数级别;
根据预设的第二参数级别与第二参数范围的对应关系,确定所述第二参数所在的第二参数级别;
根据预设的第一参数级别和第二参数级别这两个参数级别与字符内容的对应关系,从所述具有同一字符格式不同字符内容的多个待选字符中,选择具有所述第一按压参数所在的两个参数级别对应的字符内容的一个待选字符输出;
其中,所述第一参数和所述第二参数包括以下参数中的两种:按压压力、按压时长和按压方向。
上述方案中,所述第一按压参数包括第一参数和第二参数;所述根据按压参数范围与所述当前按键上具有不同字符格式不同字符内容的多个待选字符之间的对应关系,选择所述第一按压参数所在的按压参数范围对应的具有相应字符格式及相应字符内容的一个待选字符输出,包括:
根据预设的第一参数级别与第一参数范围的对应关系,确定所述第一参数所在的第一参数级别;
根据预设的第二参数级别与第二参数范围的对应关系,确定所述第二 参数所在的第二参数级别;
根据预设的第一参数级别与字符内容之间的对应关系,从所述具有不同字符格式不同字符内容的多个待选字符中,选择出具有所述第一参数级别对应的字符内容的若干第一待选字符;根据预设的第二参数级别与字符格式之间的对应关系,从所述第一待选字符中选择具有所述第二参数级别对应的字符格式的一个待选字符输出;
其中,所述第一参数和所述第二参数包括以下参数中的两种:按压压力、按压时长和按压方向。
上述方案中,在所述检测获得当前按键上的第一按压参数之前,所述方法还包括:
检测获得输入法切换区域上的第二按压参数,从当前的第一输入法切换到与所述第二按压参数对应的第二输入法;所述第二按压参数包括按压压力、按压时长或按压方向。
一种字符输入装置,所述装置包括:
检测单元,配置为检测获得当前按键上的第一按压参数;
选择输出单元,配置为根据按压参数范围与所述当前按键上至少两个待选字符之间的对应关系,选择所述检测单元检测到的第一按压参数所在的按压参数范围对应的一个待选字符输出。
上述方案中,所述选择输出单元,具体配置为根据按压参数范围与所述当前按键上具有同一字符内容不同字符格式的多个待选字符之间的对应关系,选择所述检测单元检测到的第一按压参数所在的按压参数范围对应的具有相应字符格式的一个待选字符输出;或者,根据所述按压参数范围与所述当前按键上具有同一字符格式不同字符内容的多个待选字符之间的对应关系,选择所述检测单元检测到的第一按压参数所在的按压参数范围对应的具有相应字符内容的一个待选字符输出;或者,根据按压参数范围 与所述当前按键上具有不同字符格式不同字符内容的多个待选字符之间的对应关系,选择所述检测单元检测到的第一按压参数所在的按压参数范围对应的具有相应字符格式及相应字符内容的一个待选字符输出。
上述方案中,所述选择输出单元包括级别确定子单元和选择输出子单元,其中,
所述级别确定子单元,配置为根据预设的参数级别与参数范围的对应关系,确定所述第一按压参数所在的参数级别;
所述选择输出子单元,配置为根据预设的参数级别与字符格式的对应关系,从所述具有同一字符内容不同字符格式的多个待选字符中,选择具有级别确定子单元确定的所述第一按压参数所在的参数级别对应的字符格式的一个待选字符输出;
其中,所述第一按压参数包括按压压力、按压时长或按压方向。
上述方案中,所述选择输出单元包括级别确定子单元和选择输出子单元,其中,
所述级别确定子单元,配置为根据预设的参数级别与参数范围的对应关系,确定所述第一按压参数所在的参数级别;
所述选择输出子单元,配置为根据预设的参数级别与字符内容的对应关系,从所述具有同一字符格式不同字符内容的多个待选字符中,选择具有级别确定子单元确定的所述第一按压参数所在的参数级别对应的字符内容的一个待选字符输出;
其中,所述第一按压参数包括按压压力、按压时长或按压方向。
上述方案中,所述第一按压参数包括第一参数和第二参数;则所述选择输出单元包括级别确定子单元和选择输出子单元,其中,
所述级别确定子单元,配置为根据预设的第一参数级别与第一参数范围的对应关系,确定所述第一参数所在的第一参数级别;根据预设的第二 参数级别与第二参数范围的对应关系,确定所述第二参数所在的第二参数级别;
所述选择输出子单元,配置为根据预设的第一参数级别和第二参数级别这两个参数级别与字符内容的对应关系,从所述具有同一字符格式不同字符内容的多个待选字符中,选择具有所述级别确定子单元确定的第一按压参数所在的两个参数级别对应的字符内容的一个待选字符输出;
其中,所述第一参数和所述第二参数包括以下参数中的两种:按压压力、按压时长和按压方向。
上述方案中,所述第一按压参数包括第一参数和第二参数;则所述选择输出单元包括级别确定子单元和选择输出子单元,其中,
所述级别确定子单元,配置为根据预设的第一参数级别与第一参数范围的对应关系,确定所述第一参数所在的第一参数级别;根据预设的第二参数级别与第二参数范围的对应关系,确定所述第二参数所在的第二参数级别;
所述选择输出子单元,配置为根据预设的第一参数级别与字符内容之间的对应关系,从所述具有不同字符格式不同字符内容的多个待选字符中,选择出具有所述级别确定子单元确定的第一参数级别对应的字符内容的若干第一待选字符;根据预设的第二参数级别与字符格式之间的对应关系,从所述第一待选字符中,选择具有所述级别确定子单元确定的第二参数级别对应的字符格式的一个待选字符输出;
其中,所述第一参数和所述第二参数包括以下参数中的两种:按压压力、按压时长和按压方向。
上述方案中,所述装置还包括切换单元,其中,
所述检测单元,还配置为检测获得输入法切换区域上的第二按压参数;
所述切换单元,配置为从当前的第一输入法切换到与所述检测单元检 测到的第二按压参数对应的第二输入法;所述第二按压参数包括按压压力、按压时长或按压方向。
本发明实施例提供了一种计算机存储介质,所述计算机存储介质中存储有计算机程序,所述计算机程序用于执行以上所述的字符输入方法。
本发明实施例提供了一种字符输入方法、装置及计算机存储介质,该装置先检测用户在当前按键上输入的第一按压参数;根据按压参数范围与所述当前按键上至少两个待选字符之间的对应关系,选择所述第一按压参数所在的按压参数范围对应的一个待选字符输出;这样,在全键盘输入模式下,对于当前按键上的待选字符为同一字符内容不同字符格式的待选字符时,现有技术中,需要按压一次大小写等格式的切换按键如大小写锁定键,再按压一次字符按键,才能输出需要格式的字符,而本发明实施例中直接通过检测用户在当前按键上进行按压操作时第一按压参数来区别按键上字符的大小写等格式的输出,可以不用进行大小写等格式切换的输入,减少按压次数,提高输入效率。另外,在所述当前按键上为不同字符内容同一字符格式的待选字符时,从所述至少两个待选字符中,选择所述第一按压参数对应的字符内容的一个待选字符输出;这样在全键盘输入模式下可以将多个字符内容对应的多个待选字符设置在一个按键上,增大每个按键的面积,有效避免现有全键盘输入时候,由于每个按键所占空间较小而带来的误触现象,提高输入效率。
附图说明
图1为本发明实施例1提供的一种字符输入方法流程示意图;
图2为本发明实施例2提供的一种字符输入方法流程示意图;
图3为本发明实施例2提供的一种软键盘的布局示意图;
图4为本发明实施例2提供的另一种字符输入方法流程示意图;
图5为本发明实施例2提供的另一种字符输入方法流程示意图;
图6为本发明实施例2提供的另一种软键盘的布局示意图;
图7为本发明实施例2提供的另一种字符输入方法流程示意图;
图8为本发明实施例3提供的一种字符输入装置的结构框图;
图9为本发明实施例3提供的另一种字符输入装置的结构框图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。
实施例1
本发明实施例提供了一种字符输入方法,如图1所示,本实施例方法的处理流程包括以下步骤:
步骤101、检测获得当前按键上的第一按压参数。
本实施例方法主要应用于带有压力屏的终端,该压力屏能够正常驱动并工作。
当用户使用该终端进行文字输入时,该终端上会显示有相应按键的软键盘,用户可以通过触摸该软键盘上的按键来进行文字输入。本实施例方法中,用户在触摸当前按键时,终端会检测用户在当前按键上输入的第一按压参数。
这里所述的第一按压参数可以是按压压力、按压时长或按压方向等与按压操作有关的参数。
步骤102、根据按压参数范围与所述当前按键上至少两个待选字符之间的对应关系,选择所述第一按压参数所在的按压参数范围对应的一个待选字符输出。
按键上的至少两个待选字符可以是具有同一字符内容不同字符格式的多个待选字符,示例的,当前按键上的待选字符为字母“a”的小写格式“a”和大写格式“A”;还可以是具有同一字符格式不同字符内容的多个待选字 符,示例的当前按键上的待选字符为不同的字母“abc”。
按键上的至少两个待选字符是具有同一字符内容不同字符格式的多个待选字符的情况,示例的,如当前按键上显示的为字母“a”,其对应的两个待选字符为小写格式的“a”和大写格式的“A”,第一按压参数可以是按压压力或按压时长等,这里以第一按压参数为按压压力为例,则按压参数范围与所述当前按键上至少两个待选字符之间的对应关系可以是重压范围对应大写格式的待选字符和轻压范围对应小写格式的待选字符;本实施例方法中通过压力屏检测到用户在当前按键上进行按压操作时的,根据该第一按压参数即按压压力的大小,选择按压压力所在的重压范围对应的大写格式的“A”输出,在轻压范围时输出小写格式的“a”。
现有技术中,需要按压一次大小写等格式的切换按键如大小写锁定键(Capitals lock),再按压一次字符按键,才能输出需要格式的字符,而本实施例方法中直接通过检测用户在当前按键上进行按压操作时第一按压参数来区别按键上字符的大小写等格式的输出,可以不用进行大小写等格式切换的输入,减少按压次数,提高输入效率;且由于本实施例方法中不需要进行大小写等格式切换的输入,故本实施例中终端显示的键盘上就不设置此格式切换的功能键如大小写锁定键等,省略掉这些功能键后,就可以增大其他按键的面积,防止误触。
按键上的至少两个待选字符是具有同一字符格式不同字符内容的多个待选字符的情况,示例的,如当前按键上显示三个具有小写格式不同字符内容的待选字符“abc”,第一按压参数可以是按压压力或按压时长等,这里以第一按压参数为按压时长为例,则按压参数范围与所述当前按键上至少两个待选字符之间的对应关系可以是三个时长范围分别对应三个待选字符。本实施例方法中通过压力屏检测到用户在当前按键上进行按压操作时的第一按压参数,即按压时长,然后,根据该第一按压参数即按压时长所 在的时长范围选择输出字符“a”、“b”或“c”。
本实施例中的输入方法可以在每个按键上有多个具有不同字符内容的待选字符时,模拟出全键盘输入,即用户触摸一个按键即可对应输出一个字符;且将多个不同字符内容的待选字符设置在一个按键上,与全键盘相比,每个按键的面积增大了,这样就可以有效避免现有全键盘输入时候,由于每个按键所占空间较小而带来的误触现象,提高输入效率。
实施例2
本发明实施例提供了一种字符输入方法,如图2所示,本实施例方法的处理流程包括以下步骤:
步骤201、检测到用户在输入法切换区域上输入的第二按压参数,则从第一输入法切换到与所述第二按压参数对应的第二输入法。
本实施例方法主要应用于带有压力屏的终端,该压力屏能够正常驱动并工作。
当用户使用该终端进行文字输入时,该终端上会显示有相应按键的软键盘,用户可以通过触摸该软键盘上的按键来进行文字输入。用户在输入文字之前会先选好输入法,如果要输入中文则需要使用中文输入法,如果要输入英文则需要使用英文输入法。
终端需要检测用户是否在输入法切换区域上有输入,如果终端检测到用户在输入法切换区域上输入的第二按压参数,则从所述第一输入法切换到与所述第二按压参数对应的第二输入法。所述第二按压参数包括按压压力、按压时长和按压方向中的至少一个。
在这里以所述第二按压参数为按压压力为例来进行说明,根据预设的压力级别与压力范围的对应关系,确定所述按压压力所在的压力级别;根据预设的压力级别与输入法的对应关系,从所述第一输入法切换到与所述第二按压参数对应的第二输入法;压力级别可以有第一级、第二级和第三 级等,其中第一级对应中文输入法、第二级对应英文输入法、第三级对应韩文输入法等;假设当前使用的输入法即第一输入法为中文输入法,则终端检测到用户在输入法切换区域上输入的按压压力为第一级时,从所述中文输入法切换到与所述按压压力对应的中文输入法即不进行输入法切换;终端检测到用户在输入法切换区域上输入的按压压力为第二级时,从所述中文输入法切换到与所述按压压力对应的英文输入法;终端检测到用户在输入法切换区域上输入的按压压力为第三级时,从所述中文输入法切换到与所述按压压力对应的韩文输入法。当然,本实施例方法也是根据按压时长或按压方向来进行输入法的切换,具体过程与上述类似,在此不再详述。
在终端中安装的输入法较多的情况下,根据按压压力区分需要切换到的输入法效果会很差。此时可以设置切换规则为按压压力在重压范围时,切换到常用输入法(如常用输入法可以由用户自己设置为中文输入法),按压压力在轻压范围时,还是按照输入法排序(中文输入法-英文输入法-韩文输入法)切换到下一个输入法。假设第一输入法为中文输入法,终端检测到用户在输入法切换区域上输入的按压压力在重压范围时,按照该切换规则需要从所述中文输入法切换到与所述按压压力对应的中文输入法即不进行输入法切换;终端检测到用户在输入法切换区域上输入的按压压力为轻压范围时,从所述中文输入法切换到输入法排序中的中文输入法的下一输入法即英文输入法。
在这里需要说明的是,所述输入法切换区域可以是特定的输入法切换按键所在的区域。
步骤202、检测获得当前按键上的第一按压参数。
用户选择好需要的输入法后,就可以通过触摸该软键盘上的按键来进行文字输入。用户在通过触摸该软键盘上的按键来进行文字输入时,终端会检测用户在当前按键上输入的第一按压参数。这里所述的第一按压参数 可以是按压压力、按压时长或按压方向等与按压操作有关的参数。
在所述当前按键对应的是具有同一字符内容不同字符格式的多个待选字符时,终端可以根据按压参数范围与所述当前按键上具有同一字符内容不同字符格式的多个待选字符之间的对应关系,选择所述第一按压参数所在的按压参数范围对应的具有相应字符格式的一个待选字符输出;具体如图2所示,可以进行步骤203-204。
步骤203、根据预设的参数级别与参数范围的对应关系,确定所述第一按压参数所在的参数级别。
步骤204、根据预设的参数级别与字符格式的对应关系,从所述具有同一字符内容不同字符格式的多个待选字符中,选择具有所述第一按压参数所在的参数级别对应的字符格式的一个待选字符输出。
其中,所述第一按压参数包括按压压力、按压时长或按压方向。
示例的,假设第一按压参数为按压压力,终端中需要预设参数级别与参数范围的对应关系,即预设一个重压级别的压力范围和一个轻压级别的压力范围,并预设参数级别与字符格式的对应关系,即重压级别对应的字符格式为大写格式,轻压级别对应的字符格式为小写格式。这样,在应用如图3所示的一个按键上只有一个字符的软键盘,进行全键盘输入时,如果用户想要输入“A”时,可以用大力重压字母“a”的按键,这样终端就可以检测出用户在当前按键上输入的按压压力,然后,终端按照预设的重压级别的压力范围和轻压级别的压力范围,可以确定该按压压力所在的参数级别为重压级别;然后根据预设的重压级别对应的字符格式为大写格式,选择输出待选字符为大写格式的待选字符“A”。同理,用户在想要输入“a”时,可以轻压字母“a”的按键。
上述示例中,用户轻按可以输出小写字母,重按可以输出大写字母,不用进行大小写格式切换的输入,减少按压次数,提高输入效率;该软键 盘中可以省略大小写锁定键,可以增大其他按键的面积,防止误触。
上述示例是以第一按压参数为按压压力为例进行说明的,当然第一按压参数也可以是按压时长,预设用户按压时长比较长时输出小写字母,按压时长比较短时输出大写字母,第一按压参数也可以是按压方向,预设用户按压向左侧滑动按压时输出小写字母,向右侧滑动按压时输出大写字母;具体过程可以参考上述按压压力的描述,在此不再一一举例说明。
在所述当前按键上对应的是同一字符格式不同字符内容时,终端可以根据按压参数范围与所述当前按键上具有同一字符格式不同字符内容的多个待选字符之间的对应关系,选择所述第一按压参数所在的按压参数范围对应的具有相应字符内容的一个待选字符输出;具体如图4所示,可以进行步骤403-404。
步骤403、根据预设的参数级别与参数范围的对应关系,确定所述第一按压参数所在的参数级别。
步骤404、根据预设的参数级别与字符内容的对应关系,从所述具有同一字符格式不同字符内容的多个待选字符中,选择具有所述第一按压参数所在的参数级别对应的字符内容的一个待选字符输出。
其中,所述第一按压参数包括按压压力、按压时长或按压方向。
终端在检测到的用户在当前按键上进行按压操作时的第一按压参数后,会选择输出所述第一按压参数对应的待选字符。
示例的,假设软键盘上每个按键上有三个同一字符格式(都是小写字母格式)不同字符内容待选字符“abc”,第一按压参数为按压压力;则终端可以根据最大可检测到的按键力度99和最小可检测到的按键力度15,预设出三个按压压力级别即第一级、第二级和第三极的压力范围,其中,第一级的压力范围为(15,15+28),第二级的压力范围为(44,43+28),第三级的压力范围为(72,71+28);并预设参数级别与字符内容的对应关系, 即第一级对应的字符内容为当前按键上的第一个字符,第二级对应的字符内容为当前按键上的第二个字符,第三级对应的字符内容为当前按键上的第三个字符。
用户在当前按键上进行按压操作,所述当前按键上有三个待选字符“abc”,终端可以检测到用户在当前按键上的按压压力为65,65对应的压力级别为第二级,压力级别第二级对应的字符内容为第二个字符“b”,即选择输出的待选字符为“b”。
当然,当所述用户在当前按键上进行按压操作时的按压压力不在上述各压力级别对应的压力范围时,终端自动输出当前按键上的第一个字符。
在当前按键上的字符内容较多时,根据一个按压参数区分需要输出的待选字符效果会很差。故在所述当前按键上对应的是同一字符格式不同字符内容时,所述第一按压参数包括第一参数和第二参数;具体如图5所示,进行步骤503-505。
步骤503、根据预设的第一参数级别与第一参数范围的对应关系,确定所述第一参数所在的第一参数级别。
步骤504、根据预设的第二参数级别与第二参数范围的对应关系,确定所述第二参数所在的第二参数级别。
步骤505、根据预设的第一参数级别和第二参数级别这两个参数级别与字符内容的对应关系,从所述具有同一字符格式不同字符内容的多个待选字符中,选择具有所述第一按压参数所在的两个参数级别对应的字符内容的一个待选字符输出。
其中,所述第一参数和所述第二参数包括以下参数中两种:按压压力、按压时长或按压方向。
终端在检测到的用户在当前按键上进行按压操作时的第一按压参数后,会选择输出所述第一按压参数对应的待选字符;在当前按键上设置的 待选字符有两个时,按照步骤403和404所述的方法,通过按压压力或按压时长等一个参数可以容易实现选择输出第一按压参数对应的待选字符,在当前按键上设置的待选字符有三个或四个时,应用步骤403和404所述的方法,因为划分的参数级别太多,有三个或四个按压压力级别,用户不容易区分该按压压力各级别之间的按压大小,不容易选择输出待选字符,为了方便用户使用输入按压参数输出相应的字符,可以采用步骤503-505所述的方法。
示例的,假设软键盘上的按键上如图6所示有四个字符,第一参数为按压压力,第二参数为按压时长。终端可以预定义一个压力阈值,第一参数级别与第一参数范围的对应关系为:按压压力小于该压力阈值的为轻按级别,大于等于该压力阈值的为重按级别;预定义一个时长阈值,第二参数级别与第二参数范围的对应关系为:按压时长小于该时长阈值的为短按级别,大于等于该时长阈值的为长按级别。同时预设第一参数级别和第二参数级别这两个参数级别与字符内容的对应关系为:按压压力为轻按级别且按压时长为短按级别,对应输出位于当前按键左上角的第一个字符;按压压力为重按且按压时长为短按级别,对应输出位于当前按键右上角的第二个字符;按压压力为轻按级别且按压时长为长按级别,对应输出位于当前按键左下角的第三个字符;按压压力为重按级别且按压时长为长按级别,对应输出位于当前按键右下角的第四个字符。
用户使用如图6所示的软键盘时,使用九键盘模拟全键盘输入,根据按压压力轻重以及按压时长的长短返回不同字母,就可以实现全键盘输入。如上所述,对于任一个有四个字符的按键,用户轻短按输出左上角的第一个字符,重短按输出右上角的第二个字符,轻长按输出左下角的第三个字符,重长按输出右下角的第四个字符。若用户要输入字符“j”则用户可以轻短按压按键“jkl5”。
在所述当前按键上对应的是不同字符格式不同字符内容时,终端可以根据按压参数范围与所述当前按键上具有不同字符格式不同字符内容的多个待选字符之间的对应关系,选择所述第一按压参数所在的按压参数范围对应的具有相应字符格式及相应字符内容的一个待选字符输出。具体如图7所示,可以进行步骤703-705。
步骤703、根据预设的第一参数级别与第一参数范围的对应关系,确定所述第一参数所在的第一参数级别。
步骤704、根据预设的第二参数级别与第二参数范围的对应关系,确定所述第二参数所在的第二参数级别。
步骤705、根据预设的第一参数级别与字符内容之间的对应关系,从所述具有不同字符格式不同字符内容的多个待选字符中,选择出具有所述第一参数级别对应的字符内容的若干第一待选字符。
步骤706、根据预设的第二参数级别与字符格式之间的对应关系,从所述第一待选字符中选择具有所述第二参数级别对应的字符格式的一个待选字符输出。
其中,所述第一参数和所述第二参数包括以下参数中的两种:按压压力、按压时长和按压方向。
示例的,假设软键盘上的当前按键上对应的待选字符为具有不同字符内容即两个字母“ab”,不同字符格式即大小格式的字符,即待选字符为“a”“A”“b”“B”,第一参数为按压压力,第二参数为按压时长。终端可以预定义一个压力阈值,第一参数级别与第一参数范围的对应关系为:按压压力小于该压力阈值的为轻按级别,大于等于该压力阈值的为重按级别;预定义一个时长阈值,第二参数级别与第二参数范围的对应关系为:按压时长小于该时长阈值的为短按级别,大于等于该时长阈值的为长按级别。同时预设第一参数级别与字符内容的对应关系为:按压压力为轻按级别时对 应的字符内容为当前按键的第一个字母,按压压力为重按级别时对应的当前按键的字符内容为当前按键的第二个字母;预设第二参数级别与字符格式的对应关系为:按压时长为短按级别时对应的字符格式为大写格式,按压时长为长按级别时对应的字符格式为小写格式。
如上所述,对于任一个有上述四个字符的按键,用户轻短按输出当前按键的第一个字母“a”的大写格式即待选字符“A”,重短按输出当前按键的第二个字母“b”的大写格式即待选字符“B”,轻长按输出当前按键的第一个字母“a”的小写格式即待选字符“a”,重长按输出当前按键的第二个字母“b”的小写格式即待选字符“b”。
上述方法在应用过程中,采用两种按压参数来区别要输出的字符,用户控制压力只需要轻和重两种情况,使得输入时按压压力的力度更易于控制,且每个按键可以支持四个可选项,增大了单屏用户可选字符范围。
上述示例中,以第一参数为按压压力,第二参数为按压时长为例进行说明,当然,也可以是第一参数为按压压力,第二参数为按压方向等,在此不再一一举例。
软键盘布局方案还有其他多种,不拘泥于本实施例中所述,如更换键盘布局,以及键盘上字符映射关系,可以实现同样的效果,也在本发明的保护范围。本实施例中采用字母或数字为字符来进行举例说明,当然字符还可以包括标点符号和表情符号等,本实施例中不再一一列出说明。
本发明实施例提供了一种计算机存储介质,所述计算机存储介质中存储有计算机程序,所述计算机程序用于执行以上各个实施例所述的字符输入方法。
实施例3
本发明实施例提供了一种字符输入装置,如图8所示,所述装置包括:检测单元801和选择输出单元802;其中,
检测单元801,配置为检测获得当前按键上的第一按压参数;
选择输出单元802,配置为根据按压参数范围与所述当前按键上至少两个待选字符之间的对应关系,选择所述检测单元801检测到的第一按压参数所在的按压参数范围对应的一个待选字符输出。
可选的,所述选择输出单元802,具体配置为根据按压参数范围与所述当前按键上具有同一字符内容不同字符格式的多个待选字符之间的对应关系,选择所述检测单元801检测到的第一按压参数所在的按压参数范围对应的具有相应字符格式的一个待选字符输出;或者,根据所述按压参数范围与所述当前按键上具有同一字符格式不同字符内容的多个待选字符之间的对应关系,选择所述检测单元801检测到的第一按压参数所在的按压参数范围对应的具有相应字符内容的一个待选字符输出;或者,根据按压参数范围与所述当前按键上具有不同字符格式不同字符内容的多个待选字符之间的对应关系,选择所述检测单元801检测到的第一按压参数所在的按压参数范围对应的具有相应字符格式及相应字符内容的一个待选字符输出。
可选的,如图9所示,所述选择输出单元802包括级别确定子单元8021和选择输出子单元8022,其中,
所述级别确定子单元8021,配置为根据预设的参数级别与参数范围的对应关系,确定所述第一按压参数所在的参数级别;
所述选择输出子单元8022,配置为根据预设的参数级别与字符格式的对应关系,从所述具有同一字符内容不同字符格式的多个待选字符中,选择具有级别确定子单元8021确定的所述第一按压参数所在的参数级别对应的字符格式的一个待选字符输出;
其中,所述第一按压参数包括按压压力、按压时长或按压方向。
或者,所述级别确定子单元8021,配置为根据预设的参数级别与参数 范围的对应关系,确定所述第一按压参数所在的参数级别;
所述选择输出子单元8022,配置为根据预设的参数级别与字符内容的对应关系,从所述具有同一字符格式不同字符内容的多个待选字符中,选择具有级别确定子单元8021确定的所述第一按压参数所在的参数级别对应的字符内容的一个待选字符输出;
其中,所述第一按压参数包括按压压力、按压时长或按压方向。
或者,所述第一按压参数包括第一参数和第二参数;
所述级别确定子单元8021,配置为根据预设的第一参数级别与第一参数范围的对应关系,确定所述第一参数所在的第一参数级别;根据预设的第二参数级别与第二参数范围的对应关系,确定所述第二参数所在的第二参数级别;
所述选择输出子单元8022,配置为根据预设的第一参数级别和第二参数级别这两个参数级别与字符内容的对应关系,从所述具有同一字符格式不同字符内容的多个待选字符中,选择具有所述级别确定子单元8021确定的第一按压参数所在的两个参数级别对应的字符内容的一个待选字符输出;
其中,所述第一参数和所述第二参数包括以下参数中的两种:按压压力、按压时长和按压方向。
或者,所述第一按压参数包括第一参数和第二参数;
所述级别确定子单元8021,配置为根据预设的第一参数级别与第一参数范围的对应关系,确定所述第一参数所在的第一参数级别;根据预设的第二参数级别与第二参数范围的对应关系,确定所述第二参数所在的第二参数级别;
所述选择输出子单元8022,配置为根据预设的第一参数级别与字符内容之间的对应关系,从所述具有不同字符格式不同字符内容的多个待选字 符中,选择出具有所述级别确定子单元8021确定的第一参数级别对应的字符内容的若干第一待选字符;根据预设的第二参数级别与字符格式之间的对应关系,从所述第一待选字符中,选择具有所述级别确定子单元8021确定的第二参数级别对应的字符格式的一个待选字符输出;
其中,所述第一参数和所述第二参数包括以下参数中的两种:按压压力、按压时长和按压方向。
可选的,如图9所示,所述装置还包括切换单元803,其中,
所述检测单元801,还配置为检测获得输入法切换区域上的第二按压参数;
所述切换单元803,配置为从当前的第一输入法切换到与所述检测单元801检测到的第二按压参数对应的第二输入法;所述第二按压参数包括按压压力、按压时长或按压方向。
在实际应用中,本实施例中所述的检测单元801、选择输出单元802和切换单元803可以由终端上的中央处理器(CPU,Central Processing Unit)、微处理器(MPU,Micro Processor Unit)、数字信号处理器(DSP,,Digital Signal Processor)或现场可编程门阵列(FPGA,Field Programmable Gate Array)、调制解调器等器件实现。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和 /或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。
工业实用性
本发明实施例中,检测获得当前按键上的第一按压参数;根据按压参数范围与所述当前按键上至少两个待选字符之间的对应关系,选择所述第一按压参数所在的按压参数范围对应的一个待选字符输出;如此,可以降低输入复杂度,防止误触。

Claims (15)

  1. 一种字符输入方法,所述方法包括:
    检测获得当前按键上的第一按压参数;
    根据按压参数范围与所述当前按键上至少两个待选字符之间的对应关系,选择所述第一按压参数所在的按压参数范围对应的一个待选字符输出。
  2. 根据权利要求1所述的方法,其中,所述根据按压参数范围与所述当前按键上至少两个待选字符之间的对应关系,选择所述第一按压参数对应的一个待选字符输出,包括:
    根据按压参数范围与所述当前按键上具有同一字符内容不同字符格式的多个待选字符之间的对应关系,选择所述第一按压参数所在的按压参数范围对应的具有相应字符格式的一个待选字符输出;
    或者,根据按压参数范围与所述当前按键上具有同一字符格式不同字符内容的多个待选字符之间的对应关系,选择所述第一按压参数所在的按压参数范围对应的具有相应字符内容的一个待选字符输出;
    或者,根据按压参数范围与所述当前按键上具有不同字符格式不同字符内容的多个待选字符之间的对应关系,选择所述第一按压参数所在的按压参数范围对应的具有相应字符格式及相应字符内容的一个待选字符输出。
  3. 根据权利要求2所述的方法,其中,所述根据按压参数范围与所述当前按键上具有同一字符内容不同字符格式的多个待选字符之间的对应关系,选择所述第一按压参数所在的按压参数范围对应的具有相应字符格式的一个待选字符输出,包括:
    根据预设的参数级别与参数范围的对应关系,确定所述第一按压参数所在的参数级别;
    根据预设的参数级别与字符格式的对应关系,从所述具有同一字符内 容不同字符格式的多个待选字符中,选择具有所述第一按压参数所在的参数级别对应的字符格式的一个待选字符输出;
    其中,所述第一按压参数包括按压压力、按压时长或按压方向。
  4. 根据权利要求2所述的方法,其中,所述根据按压参数范围与所述当前按键上具有同一字符格式不同字符内容的多个待选字符之间的对应关系,选择所述第一按压参数所在的按压参数范围对应的具有相应字符内容的一个待选字符输出,包括:
    根据预设的参数级别与参数范围的对应关系,确定所述第一按压参数所在的参数级别;
    根据预设的参数级别与字符内容的对应关系,从所述具有同一字符格式不同字符内容的多个待选字符中,选择具有所述第一按压参数所在的参数级别对应的字符内容的一个待选字符输出;
    其中,所述第一按压参数包括按压压力、按压时长或按压方向。
  5. 根据权利要求2所述的方法,其中,所述第一按压参数包括第一参数和第二参数;则所述根据按压参数范围与所述当前按键上具有同一字符格式不同字符内容的多个待选字符之间的对应关系,选择所述第一按压参数所在的按压参数范围对应的具有相应字符内容的一个待选字符输出,包括:
    根据预设的第一参数级别与第一参数范围的对应关系,确定所述第一参数所在的第一参数级别;
    根据预设的第二参数级别与第二参数范围的对应关系,确定所述第二参数所在的第二参数级别;
    根据预设的第一参数级别和第二参数级别这两个参数级别与字符内容的对应关系,从所述具有同一字符格式不同字符内容的多个待选字符中,选择具有所述第一按压参数所在的两个参数级别对应的字符内容的一个待 选字符输出;
    其中,所述第一参数和所述第二参数包括以下参数中的两种:按压压力、按压时长和按压方向。
  6. 根据权利要求2所述的方法,其中,所述第一按压参数包括第一参数和第二参数;所述根据按压参数范围与所述当前按键上具有不同字符格式不同字符内容的多个待选字符之间的对应关系,选择所述第一按压参数所在的按压参数范围对应的具有相应字符格式及相应字符内容的一个待选字符输出,包括:
    根据预设的第一参数级别与第一参数范围的对应关系,确定所述第一参数所在的第一参数级别;
    根据预设的第二参数级别与第二参数范围的对应关系,确定所述第二参数所在的第二参数级别;
    根据预设的第一参数级别与字符内容之间的对应关系,从所述具有不同字符格式不同字符内容的多个待选字符中,选择出具有所述第一参数级别对应的字符内容的若干第一待选字符;根据预设的第二参数级别与字符格式之间的对应关系,从所述第一待选字符中选择具有所述第二参数级别对应的字符格式的一个待选字符输出;
    其中,所述第一参数和所述第二参数包括以下参数中的两种:按压压力、按压时长和按压方向。
  7. 根据权利要求1所述的方法,其中,在所述检测获得当前按键上的第一按压参数之前,所述方法还包括:
    检测获得输入法切换区域上的第二按压参数,从当前的第一输入法切换到与所述第二按压参数对应的第二输入法;所述第二按压参数包括按压压力、按压时长或按压方向。
  8. 一种字符输入装置,所述装置包括:
    检测单元,配置为检测获得当前按键上的第一按压参数;
    选择输出单元,配置为根据按压参数范围与所述当前按键上至少两个待选字符之间的对应关系,选择所述检测单元检测到的第一按压参数所在的按压参数范围对应的一个待选字符输出。
  9. 根据权利要求8所述的装置,其中,
    所述选择输出单元,具体配置为根据按压参数范围与所述当前按键上具有同一字符内容不同字符格式的多个待选字符之间的对应关系,选择所述检测单元检测到的第一按压参数所在的按压参数范围对应的具有相应字符格式的一个待选字符输出;或者,根据所述按压参数范围与所述当前按键上具有同一字符格式不同字符内容的多个待选字符之间的对应关系,选择所述检测单元检测到的第一按压参数所在的按压参数范围对应的具有相应字符内容的一个待选字符输出;或者,根据按压参数范围与所述当前按键上具有不同字符格式不同字符内容的多个待选字符之间的对应关系,选择所述检测单元检测到的第一按压参数所在的按压参数范围对应的具有相应字符格式及相应字符内容的一个待选字符输出。
  10. 根据权利要求9所述的装置,其中,所述选择输出单元包括级别确定子单元和选择输出子单元,其中,
    所述级别确定子单元,配置为根据预设的参数级别与参数范围的对应关系,确定所述第一按压参数所在的参数级别;
    所述选择输出子单元,配置为根据预设的参数级别与字符格式的对应关系,从所述具有同一字符内容不同字符格式的多个待选字符中,选择具有级别确定子单元确定的所述第一按压参数所在的参数级别对应的字符格式的一个待选字符输出;
    其中,所述第一按压参数包括按压压力、按压时长或按压方向。
  11. 根据权利要求9所述的装置,其中,所述选择输出单元包括级别 确定子单元和选择输出子单元,其中,
    所述级别确定子单元,配置为根据预设的参数级别与参数范围的对应关系,确定所述第一按压参数所在的参数级别;
    所述选择输出子单元,配置为根据预设的参数级别与字符内容的对应关系,从所述具有同一字符格式不同字符内容的多个待选字符中,选择具有级别确定子单元确定的所述第一按压参数所在的参数级别对应的字符内容的一个待选字符输出;
    其中,所述第一按压参数包括按压压力、按压时长或按压方向。
  12. 根据权利要求9所述的装置,其中,所述第一按压参数包括第一参数和第二参数;则所述选择输出单元包括级别确定子单元和选择输出子单元,其中,
    所述级别确定子单元,配置为根据预设的第一参数级别与第一参数范围的对应关系,确定所述第一参数所在的第一参数级别;根据预设的第二参数级别与第二参数范围的对应关系,确定所述第二参数所在的第二参数级别;
    所述选择输出子单元,配置为根据预设的第一参数级别和第二参数级别这两个参数级别与字符内容的对应关系,从所述具有同一字符格式不同字符内容的多个待选字符中,选择具有所述级别确定子单元确定的第一按压参数所在的两个参数级别对应的字符内容的一个待选字符输出;
    其中,所述第一参数和所述第二参数包括以下参数中的两种:按压压力、按压时长和按压方向。
  13. 根据权利要求9所述的装置,其中,所述第一按压参数包括第一参数和第二参数;则所述选择输出单元包括级别确定子单元和选择输出子单元,其中,
    所述级别确定子单元,配置为根据预设的第一参数级别与第一参数范 围的对应关系,确定所述第一参数所在的第一参数级别;根据预设的第二参数级别与第二参数范围的对应关系,确定所述第二参数所在的第二参数级别;
    所述选择输出子单元,配置为根据预设的第一参数级别与字符内容之间的对应关系,从所述具有不同字符格式不同字符内容的多个待选字符中,选择出具有所述级别确定子单元确定的第一参数级别对应的字符内容的若干第一待选字符;根据预设的第二参数级别与字符格式之间的对应关系,从所述第一待选字符中,选择具有所述级别确定子单元确定的第二参数级别对应的字符格式的一个待选字符输出;
    其中,所述第一参数和所述第二参数包括以下参数中的两种:按压压力、按压时长和按压方向。
  14. 根据权利要求8所述的装置,其中,所述装置还包括切换单元,其中,
    所述检测单元,还配置为检测获得输入法切换区域上的第二按压参数;
    所述切换单元,配置为从当前的第一输入法切换到与所述检测单元检测到的第二按压参数对应的第二输入法;所述第二按压参数包括按压压力、按压时长或按压方向。
  15. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至7任一项所述的方法。
PCT/CN2016/076911 2015-11-24 2016-03-21 一种字符输入方法、装置及计算机存储介质 WO2016188203A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510827733.7 2015-11-24
CN201510827733.7A CN106774971A (zh) 2015-11-24 2015-11-24 一种字符输入方法及装置

Publications (1)

Publication Number Publication Date
WO2016188203A1 true WO2016188203A1 (zh) 2016-12-01

Family

ID=57392397

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/076911 WO2016188203A1 (zh) 2015-11-24 2016-03-21 一种字符输入方法、装置及计算机存储介质

Country Status (2)

Country Link
CN (1) CN106774971A (zh)
WO (1) WO2016188203A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124148A (zh) * 2019-11-22 2020-05-08 海信视像科技股份有限公司 输入法中大写输入模式的切换控制方法及显示设备
CN111142682A (zh) * 2019-10-28 2020-05-12 陈长俊 汉字五笔构件编码计算机拼字输入法

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107908982A (zh) * 2017-11-29 2018-04-13 合肥联宝信息技术有限公司 一种信息处理方法和电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6292179B1 (en) * 1998-05-12 2001-09-18 Samsung Electronics Co., Ltd. Software keyboard system using trace of stylus on a touch screen and method for recognizing key code using the same
CN1624635A (zh) * 2003-12-04 2005-06-08 株式会社Ntt都科摩 输入键以及输入装置
CN102314318A (zh) * 2011-09-13 2012-01-11 深圳市同洲电子股份有限公司 应用于触摸屏终端的字符输入方法、装置及触摸屏终端
CN103049205A (zh) * 2012-12-19 2013-04-17 东莞宇龙通信科技有限公司 移动终端和移动终端的操控方法
CN104932829A (zh) * 2015-07-07 2015-09-23 努比亚技术有限公司 一种控制输出方式的装置和方法
CN105045411A (zh) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 一种对象控制方法及终端
CN105183356A (zh) * 2015-09-09 2015-12-23 魅族科技(中国)有限公司 一种字符输出方法、输入设备及电子设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5278259B2 (ja) * 2009-09-07 2013-09-04 ソニー株式会社 入力装置、入力方法及びプログラム
CN103294222B (zh) * 2013-05-22 2017-06-16 小米科技有限责任公司 一种输入方法和系统
KR102217560B1 (ko) * 2014-03-20 2021-02-19 엘지전자 주식회사 이동 단말기 및 그것의 제어방법

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6292179B1 (en) * 1998-05-12 2001-09-18 Samsung Electronics Co., Ltd. Software keyboard system using trace of stylus on a touch screen and method for recognizing key code using the same
CN1624635A (zh) * 2003-12-04 2005-06-08 株式会社Ntt都科摩 输入键以及输入装置
CN102314318A (zh) * 2011-09-13 2012-01-11 深圳市同洲电子股份有限公司 应用于触摸屏终端的字符输入方法、装置及触摸屏终端
CN103049205A (zh) * 2012-12-19 2013-04-17 东莞宇龙通信科技有限公司 移动终端和移动终端的操控方法
CN104932829A (zh) * 2015-07-07 2015-09-23 努比亚技术有限公司 一种控制输出方式的装置和方法
CN105045411A (zh) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 一种对象控制方法及终端
CN105183356A (zh) * 2015-09-09 2015-12-23 魅族科技(中国)有限公司 一种字符输出方法、输入设备及电子设备

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111142682A (zh) * 2019-10-28 2020-05-12 陈长俊 汉字五笔构件编码计算机拼字输入法
CN111124148A (zh) * 2019-11-22 2020-05-08 海信视像科技股份有限公司 输入法中大写输入模式的切换控制方法及显示设备
CN111124148B (zh) * 2019-11-22 2023-08-15 海信视像科技股份有限公司 输入法中大写输入模式的切换控制方法及显示设备

Also Published As

Publication number Publication date
CN106774971A (zh) 2017-05-31

Similar Documents

Publication Publication Date Title
US10642432B2 (en) Information processing apparatus, information processing method, and program
US10078437B2 (en) Method and apparatus for responding to a notification via a capacitive physical keyboard
US11327649B1 (en) Facilitating selection of keys related to a selected key
US9678659B2 (en) Text entry for a touch screen
US20130047100A1 (en) Link Disambiguation For Touch Screens
US9582471B2 (en) Method and apparatus for performing calculations in character input mode of electronic device
KR20150104619A (ko) 원형의 접촉 감지 키보드를 위한 타이핑 방법 및 타이핑 디바이스
US20130050098A1 (en) User input of diacritical characters
EP3477457B1 (en) Touchpad-based rapid information input and interaction method and input and interaction system
TWI381295B (zh) 預示輸出字元的方法、電子裝置、儲存媒體,以及電腦程式產品
WO2016188203A1 (zh) 一种字符输入方法、装置及计算机存储介质
CN104598786A (zh) 一种密码输入方法及装置
US10268310B2 (en) Input method and electronic device thereof
US10747270B2 (en) Input apparatus, information processing method, and information processing apparatus
TWI709876B (zh) 可切換輸入法的電子裝置及其輸入法切換方法、系統
US20200104043A1 (en) Head mounted display device and content input method thereof
WO2016119549A1 (zh) 一种基于输入的候选文本的加载方法和装置
WO2022143523A1 (zh) 词汇显示方法、装置和电子设备
CN107357490B (zh) 一种选项卡的显示方法及移动终端
TW200941293A (en) Virtual key input method and its applications
US20160103556A1 (en) Display apparatus and control method thereof
US20160086508A1 (en) System and method for facilitating the learning of language
TWI633463B (zh) 文字輸入法
KR101668476B1 (ko) 한영 변환이 용이한 문자입력장치
JP2016218898A (ja) 情報処理装置および情報処理方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16799092

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16799092

Country of ref document: EP

Kind code of ref document: A1