WO2017080083A1 - 字符输入方法、装置及系统 - Google Patents

字符输入方法、装置及系统 Download PDF

Info

Publication number
WO2017080083A1
WO2017080083A1 PCT/CN2015/099689 CN2015099689W WO2017080083A1 WO 2017080083 A1 WO2017080083 A1 WO 2017080083A1 CN 2015099689 W CN2015099689 W CN 2015099689W WO 2017080083 A1 WO2017080083 A1 WO 2017080083A1
Authority
WO
WIPO (PCT)
Prior art keywords
button
character
light
target
preset color
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2015/099689
Other languages
English (en)
French (fr)
Inventor
王柯
刘健全
王乐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to JP2017517036A priority Critical patent/JP2018502350A/ja
Priority to MX2017009952A priority patent/MX2017009952A/es
Priority to RU2017102501A priority patent/RU2673017C2/ru
Priority to KR1020167014583A priority patent/KR101813826B1/ko
Publication of WO2017080083A1 publication Critical patent/WO2017080083A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0237Character input methods using prediction or retrieval techniques
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1662Details related to the integrated keyboard
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0202Constructional details or processes of manufacture of the input device
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0238Programmable keyboards
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a three-dimensional [3D] space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06F3/0489Interaction 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 using dedicated keyboard keys or combinations thereof
    • G06F3/04895Guidance during keyboard input operation, e.g. prompting
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/274Converting codes to words; Guess-ahead of partial word inputs
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01HELECTRIC SWITCHES; RELAYS; SELECTORS; EMERGENCY PROTECTIVE DEVICES
    • H01H13/00Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/22Illumination; Arrangements for improving the visibility of characters on dials
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01HELECTRIC SWITCHES; RELAYS; SELECTORS; EMERGENCY PROTECTIVE DEVICES
    • H01H13/00Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch
    • H01H13/70Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard
    • H01H13/83Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch having a plurality of operating members associated with different sets of contacts, e.g. keyboard characterised by legends, e.g. Braille, liquid crystal displays, light emitting or optical elements
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01HELECTRIC SWITCHES; RELAYS; SELECTORS; EMERGENCY PROTECTIVE DEVICES
    • H01H2219/00Legends
    • H01H2219/028Printed information
    • H01H2219/034Coloured areas
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01HELECTRIC SWITCHES; RELAYS; SELECTORS; EMERGENCY PROTECTIVE DEVICES
    • H01H2219/00Legends
    • H01H2219/036Light emitting elements
    • H01H2219/039Selective or different modes of illumination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/23Construction or mounting of dials or of equivalent devices; Means for facilitating the use thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/70Details of telephonic subscriber devices methods for entering alphabetical characters, e.g. multi-tap or dictionary disambiguation

Definitions

  • the present disclosure relates to the field of electronic technology applications, and in particular, to a character input method, device, and system.
  • the keyboard is a commonly used input device on the terminal, which can realize human-computer interaction between the user and the terminal, and the user can input characters such as letters, numbers, Chinese characters, punctuation marks and the like into the terminal through the keyboard.
  • the present disclosure provides a character input method, apparatus, and system.
  • the technical solution is as follows:
  • a character input method comprising:
  • the button light corresponding to the target button indicated by the target button identifier is used to emit light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the determining the second character group associated with the first character, and the second character group includes at least one second character, including:
  • a target vocabulary the vocabulary corresponding to an input method used by a current user or a vocabulary established according to a vocabulary input by a user, wherein the target vocabulary is used to record an association relationship between different characters;
  • the method further includes:
  • the target vocabulary is updated according to the first character and the third character.
  • the updating the target vocabulary according to the first character and the third character comprises:
  • the server Sending a query request to the server, where the query request includes a to-be-queried word consisting of the first character and the third character sequentially arranged;
  • the updating the target vocabulary according to the first character and the third character comprises:
  • the update instruction includes a to-be-queried word consisting of the first character and the third character sequentially arranged;
  • the button light corresponding to the target button indicated by the target button identifier is configured to emit light of a preset color, including:
  • the button light corresponding to the button other than the target button on the control keyboard is turned off.
  • the button on the keyboard includes: a function button, and the button lamp corresponding to the target button that is controlled by the target button identifier emits light of a preset color, including:
  • the first preset color, the second preset color, and the third preset color are different.
  • the button on the keyboard includes: a function button, and the button lamp corresponding to the target button that is controlled by the target button identifier emits light of a preset color, including:
  • the first preset color and the second preset color are different.
  • the button light corresponding to the target button indicated by the target button identifier is configured to emit light of a preset color, including:
  • the second character group includes at least two second characters
  • the button light corresponding to the target button indicated by the target button identifier is configured to emit light of a preset color, including:
  • the intensity of the light emitted by the button light corresponding to any target button is positively correlated with the degree of association between the second character corresponding to the target button and the first character.
  • the second character group includes at least two second characters, and the at least two second characters are sequentially arranged.
  • the button light corresponding to the target button indicated by the target button identifier is configured to emit light of a preset color, including:
  • a character input method comprising:
  • the button light on command including a second character in a second group of characters associated with the first character determined according to a first character input by a user, wherein the second character group includes at least one Said second character;
  • the button light corresponding to the target button indicated by the target button identifier is used to emit light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the button light corresponding to the target button indicated by the target button identifier is configured to emit light of a preset color, including:
  • the button light corresponding to the button other than the target button on the control keyboard is turned off.
  • the button on the keyboard includes: a function button, and the button lamp corresponding to the target button that is controlled by the target button identifier emits light of a preset color, including:
  • the first preset color, the second preset color, and the third preset color are different.
  • the button on the keyboard includes: a function button, and the button lamp corresponding to the target button that is controlled by the target button identifier emits light of a preset color, including:
  • the first preset color and the second preset color are different.
  • the button light corresponding to the target button indicated by the target button identifier is configured to emit light of a preset color, including:
  • the second character group includes at least two second characters
  • the button light corresponding to the target button indicated by the target button identifier is configured to emit light of a preset color, including:
  • the intensity of the light emitted by the button light corresponding to any target button is positively correlated with the degree of association between the second character corresponding to the target button and the first character.
  • the second character group includes at least two second characters, and the at least two second characters are sequentially arranged.
  • the button light corresponding to the target button indicated by the target button identifier is configured to emit light of a preset color, including:
  • a character input method comprising:
  • the button light on command includes a second character in the second character group, so that the keyboard can query the corresponding relationship between the character and the button identifier according to the button light on command, and obtain each of the The target button identifier corresponding to the two characters, and the button lamp corresponding to the target button indicated by the target button identifier is used to emit light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the determining the second character group associated with the first character, and the second character group includes at least one second character, including:
  • a target vocabulary the vocabulary corresponding to an input method used by a current user or a vocabulary established according to a vocabulary input by a user, wherein the target vocabulary is used to record an association relationship between different characters;
  • the method further includes:
  • the target vocabulary is updated according to the first character and the third character.
  • the updating the target vocabulary according to the first character and the third character comprises:
  • the server Sending a query request to the server, where the query request includes a to-be-queried word consisting of the first character and the third character sequentially arranged;
  • the updating the target vocabulary according to the first character and the third character comprises:
  • the update instruction includes a to-be-queried word consisting of the first character and the third character sequentially arranged;
  • a character input device comprising:
  • a first receiving module configured to receive a first character input by a user
  • a determining module configured to determine a second character group associated with the first character, the second character group including at least one second character
  • the query module is configured to query a correspondence between the character and the button identifier, and obtain a target button identifier corresponding to each of the second characters;
  • the control module is configured to control the button light corresponding to the target button indicated by the target button identifier to emit light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the determining module is configured to:
  • a target vocabulary the vocabulary corresponding to an input method used by a current user or a vocabulary established according to a vocabulary input by a user, wherein the target vocabulary is used to record an association relationship between different characters;
  • the device further includes:
  • a second receiving module configured to receive a third character input by the user
  • a determining module configured to determine whether there is a character in the second character group that is the same as the third character
  • an update module configured to update the target thesaurus according to the first character and the third character when there is no character in the second character group that is the same as the third character.
  • the update module is configured to:
  • the server Sending a query request to the server, where the query request includes a to-be-queried word consisting of the first character and the third character sequentially arranged;
  • the update module is configured to:
  • the update instruction includes a to-be-queried word consisting of the first character and the third character sequentially arranged;
  • control module is configured to:
  • the button light corresponding to the button other than the target button on the control keyboard is turned off.
  • the keys on the keyboard comprise: function buttons, and the control module is configured to:
  • the first preset color, the second preset color, and the third preset color are different.
  • the keys on the keyboard comprise: function buttons, and the control module is configured to:
  • the first preset color and the second preset color are different.
  • control module is configured to:
  • the second character group includes at least two second characters
  • the control module is configured to:
  • the intensity of the light emitted by the button light corresponding to any target button is positively correlated with the degree of association between the second character corresponding to the target button and the first character.
  • the second character group includes at least two second characters, and the at least two second characters are sequentially arranged.
  • the control module is configured to:
  • a character input device comprising:
  • the receiving module is configured to receive a button light on command, the button light on command including a second character in the second group of characters associated with the first character determined according to a first character input by the user, the second character Included in the group is at least one of the second characters;
  • the query module is configured to query a correspondence between the character and the button identifier according to the button light on command, and obtain a target button identifier corresponding to each of the second characters;
  • the control module is configured to control the button light corresponding to the target button indicated by the target button identifier to emit light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • control module is configured to:
  • the button light corresponding to the button other than the target button on the control keyboard is turned off.
  • the keys on the keyboard comprise: function buttons, and the control module is configured to:
  • the first preset color, the second preset color, and the third preset color are different.
  • the keys on the keyboard comprise: function buttons, and the control module is configured to:
  • the first preset color and the second preset color are different.
  • control module is configured to:
  • the second character group includes at least two second characters
  • the control module is configured to:
  • the intensity of the light emitted by the button light corresponding to any target button is positively correlated with the degree of association between the second character corresponding to the target button and the first character.
  • the second character group includes at least two second characters, and the at least two second characters are sequentially arranged.
  • the control module is configured to:
  • a character input device comprising:
  • a first receiving module configured to receive a first character input by a user
  • a determining module configured to determine a second character group associated with the first character, the second character group including at least one second character
  • the sending module is configured to send a button light on command, where the button light on command includes a second character in the second character group, so that the keyboard can query the correspondence between the character and the button identifier according to the button light on command.
  • Obtaining a target button identifier corresponding to each of the second characters, and controlling a button corresponding to the target button indicated by the target button identifier The light emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the determining module is configured to:
  • a target vocabulary the vocabulary corresponding to an input method used by a current user or a vocabulary established according to a vocabulary input by a user, wherein the target vocabulary is used to record an association relationship between different characters;
  • the device further includes:
  • a second receiving module configured to receive a third character input by the user
  • a determining module configured to determine whether there is a character in the second character group that is the same as the third character
  • an update module configured to update the target thesaurus according to the first character and the third character when there is no character in the second character group that is the same as the third character.
  • the update module is configured to:
  • the server Sending a query request to the server, where the query request includes a to-be-queried word consisting of the first character and the third character sequentially arranged;
  • the update module is configured to:
  • the update instruction includes a to-be-queried word consisting of the first character and the third character sequentially arranged;
  • a character input device comprising:
  • a memory for storing executable instructions of the processor
  • processor is configured to:
  • the colored light is used to prompt the user for character input.
  • a character input device including:
  • a memory for storing executable instructions of the processor
  • processor is configured to:
  • the button light on command including a second character in a second group of characters associated with the first character determined according to a first character input by a user, wherein the second character group includes at least one Said second character;
  • the button light corresponding to the target button indicated by the target button identifier is used to emit light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • a character input device comprising:
  • a memory for storing executable instructions of the processor
  • processor is configured to:
  • the button light on command includes a second character in the second character group, so that the keyboard can query the corresponding relationship between the character and the button identifier according to the button light on command, and obtain each of the The target button identifier corresponding to the two characters, and the button lamp corresponding to the target button indicated by the target button identifier is used to emit light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • a character input system comprising: a keyboard and a processor on the terminal,
  • the keyboard includes the character input device of the fifth aspect
  • the processor on the terminal includes the character input device of the sixth aspect.
  • a character input system comprising: a keyboard and a processor on the terminal,
  • the keyboard includes the character input device of the eighth aspect
  • the processor on the terminal includes the character input device of the ninth aspect.
  • the character input method, device and system provided by the present disclosure, by receiving a first character input by a user; determining a second character group associated with the first character, the second character group including at least one second character; the query character and the button identifier Corresponding relationship, the target button identifier corresponding to each second character is obtained; the button light corresponding to the target button indicated by the control target button identifier emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the disclosure prompts the user to perform character input by controlling the button light corresponding to the target button indicated by the target button identifier to emit the light of the preset color, thereby solving the problem that the input efficiency is low and the error input is easy to occur in the related art, thereby improving the input efficiency. And avoid the effects of incorrect input.
  • 1-1 is an implementation environment diagram involved in a character input method according to an embodiment of the present disclosure
  • FIG. 1-1 is a schematic structural diagram of a terminal in the implementation environment shown in FIG. 1-1;
  • Figure 1-3 is a front elevational view of a keyboard shown in Figures 1-2;
  • Figure 1-4 is a cross-sectional view of the keyboard shown in Figures 1-3;
  • FIG. 1-5 is a schematic structural diagram of another terminal in the implementation environment shown in FIG. 1-1;
  • Figure 1-6 is a cross-sectional view of a terminal shown in Figures 1-5;
  • FIG. 2 is a flowchart of a method for character input method according to an exemplary embodiment
  • FIG. 3 is a flowchart of a method for character input method according to another exemplary embodiment
  • FIG. 4 is a flowchart of a method of character input method according to still another exemplary embodiment
  • 5-1 is a flowchart of a method of character input method according to still another exemplary embodiment
  • FIG. 5-2 is a flowchart of a method for determining, by a terminal, the second character group associated with a first character according to the embodiment shown in FIG. 5-1;
  • FIG. 5-3 is a flowchart of a method for turning on a button light corresponding to a target button indicated by a terminal control target button identifier and emitting a preset color light according to the embodiment shown in FIG. 5-1;
  • FIG. 5-4 is a schematic diagram of the light of the target button corresponding to the target button indicated by the terminal control target button identifier provided by the embodiment shown in FIG. 5-3 being turned on and emitting a preset color;
  • FIG. 5-5 is a corresponding target button of the terminal control target button identifier provided by the embodiment shown in FIG. 5-1.
  • 5-6 is a schematic diagram of the light of the preset color corresponding to the target button indicated by the target button indicated by the terminal control target button identifier provided in the embodiment shown in FIG. 5-5;
  • FIG. 5-1 is a flowchart of a method for emitting light of a preset color by a button light corresponding to a target button indicated by a target control target button identifier provided by the embodiment shown in FIG. 5-1;
  • FIG. 5-8 is a schematic diagram of the light of the preset color corresponding to the target button indicated by the target button indicated by the terminal control target button identifier provided by the embodiment shown in FIG. 5-7;
  • 5-9 is a flowchart of a method for emitting light of a preset color by a button light corresponding to a target button indicated by a target control target button identifier provided by the embodiment shown in FIG. 5-1;
  • 5-10 is a flowchart of a method for emitting light of a preset color by a button light corresponding to a target button indicated by a target control target button identifier provided by the embodiment shown in FIG. 5-1;
  • 5-11 is a schematic diagram of the light of the preset color corresponding to the target button indicated by the target button indicated by the terminal control target button identifier provided by the embodiment shown in FIG. 5-10;
  • 5-12 is a flowchart of a method for emitting light of a preset color by a button lamp corresponding to a target button indicated by the terminal control target button identifier provided by the embodiment shown in FIG. 5-1;
  • 5-13 are flowcharts of a method for updating a target vocabulary according to a first character and a third character according to an embodiment of the embodiment shown in FIG. 5-1;
  • FIG. 5-14 are flowcharts of a method for updating a target vocabulary according to a first character and a third character according to another embodiment provided by the embodiment shown in FIG. 5-1;
  • 6-1 is a flowchart of a method of character input method according to still another exemplary embodiment
  • FIG. 6-2 is a flowchart of a method for determining, by a terminal, the second character group associated with a first character according to the embodiment shown in FIG. 6-1;
  • FIG. 6-1 is a flowchart of a method for turning on a button light corresponding to a target button indicated by a keyboard control target button identifier and emitting a preset color light according to the embodiment shown in FIG. 6-1;
  • 6-4 is a flowchart of a method for emitting light of a preset color by a button light corresponding to a target button indicated by a keyboard control target button identifier provided by the embodiment shown in FIG. 6-1;
  • 6-5 is a flowchart of a method for emitting light of a preset color by a button light corresponding to a target button indicated by a keyboard control target button identifier provided by the embodiment shown in FIG. 6-1;
  • 6-6 is a flowchart of a method for emitting light of a preset color by a button light corresponding to a target button indicated by a keyboard control target button identifier provided by the embodiment shown in FIG. 6-1;
  • FIG. 6-1 is a flowchart of a method for emitting light of a preset color by a button light corresponding to a target button indicated by a keyboard control target button identifier provided by the embodiment shown in FIG. 6-1;
  • 6-8 is a flowchart of a method for emitting light of a preset color by a button light corresponding to a target button indicated by a keyboard control target button identifier provided by the embodiment shown in FIG. 6-1;
  • 6-9 are flowcharts of a method for updating a target vocabulary according to a first character and a third character according to the embodiment shown in FIG. 6-1;
  • 6-10 is a flowchart of a method for updating a target vocabulary according to a first character and a third character according to another embodiment provided by the embodiment shown in FIG. 6-1;
  • FIG. 7 is a block diagram of a character input device according to an exemplary embodiment
  • FIG. 8 is a block diagram showing a character input device according to another exemplary embodiment.
  • FIG. 9 is a block diagram of a character input device according to still another exemplary embodiment.
  • FIG. 10 is a block diagram of a character input device according to still another exemplary embodiment.
  • FIG. 11 is a block diagram of a character input device according to still another exemplary embodiment.
  • FIG. 12 is a block diagram of a character input device according to an exemplary embodiment
  • FIG. 13 is a block diagram showing a character input device according to another exemplary embodiment
  • FIG. 14 is a block diagram showing a character input device according to still another exemplary embodiment
  • FIG. 15 is a block diagram of a character input system, according to an exemplary embodiment.
  • FIG. 1-1 is a schematic diagram of an implementation environment involved in various embodiments of the present disclosure.
  • the implementation environment includes a terminal 01 and a server 02.
  • the terminal 01 and the server 02 can be connected through a wired network or a wireless network, where the wireless network can include, but is not limited to, wireless fidelity (English: Wireless Fidelity (WIFI), Bluetooth, Infrared, Zigbee, and the like are not limited in this embodiment of the present disclosure.
  • WIFI Wireless Fidelity
  • Bluetooth Infrared
  • Zigbee Zigbee
  • the terminal 01 is a terminal provided with a keyboard, and the user can input characters to the terminal 01 through the keyboard.
  • the terminal may be a mobile phone provided with a keyboard, a desktop computer, a laptop portable computer, a notebook computer, a smart television, a smart wearable device, or the like.
  • the server 02 may be a server, or a server cluster composed of a plurality of servers, or a cloud computing service center, which is not limited by the embodiment of the present disclosure.
  • the terminal 01 can store the vocabulary, and the server 02 can also store the vocabulary, wherein the vocabulary is used to record the association relationship between different characters, and the vocabulary stored by the server 02 is richer than the vocabulary stored by the terminal 01, and is stored by the terminal 01.
  • the terminal 01 can interact with the server 02 to update the stored thesaurus.
  • the keyboard is usually provided with a keyboard light, and the color of the light emitted by the keyboard light can be generally adjusted.
  • the terminal 01 can control the keyboard light to be turned on.
  • the keyboard light is turned on, the light emitted by the keyboard light illuminates the keyboard.
  • the light in the current environment of the user is dark, the light emitted by the keyboard light can be conveniently input by the user.
  • the terminal 01 can be based on the environment in which the user is located. The degree of light and darkness adjusts the color of the light emitted by the keyboard light to a preset color, so that the color of the light that illuminates the keyboard is suitable for the user to input in the current environment.
  • FIG. 1-2 it shows a schematic structural diagram of a terminal 01 involved in the implementation environment shown in FIG. 1-1.
  • FIG. 1-2 illustrates a terminal 01 as a computer.
  • the terminal 01 includes: a terminal body 011 and a keyboard 012 connected to the terminal body 011.
  • the keyboard 012 is connected to the terminal body 011 through a signal line 013, and the interface between the keyboard 012 and the terminal body 011 can be a universal serial port.
  • Bus English: Universal Serial Bus; referred to as: USB
  • FIG. 1-3 is a front view of a keyboard 012 shown in FIG. 1-2.
  • the keyboard 012 may include at least one button 0121, and each button 0121 may correspond to a button.
  • the light (not shown in Figure 1-3), when any of the button lights is turned on, any of the button lights can illuminate the button 0121 corresponding to any of the button lights.
  • the keyboard 012 can include a housing 0122 with at least one button 0121 disposed on the housing 0122.
  • at least one button 0121 may include a character button 01011 and a function button 01112.
  • the character button 01011 may be a button provided with a letter or a button provided with a root.
  • the function button 01112 is a button of the keyboard 012 except a character button.
  • the function button 01012 may include a button provided with a number, a button provided with a punctuation mark, a button provided with a space, and the like, which is not limited by the embodiment of the present disclosure.
  • FIG. 1-4 is a cross-sectional view of the keyboard 012 shown in FIG. 1-3.
  • the keyboard 012 may include a housing 0122 and a housing 0122.
  • At least one button 0121 (two buttons are drawn in Figure 1-4), each button 0121 can correspond to a button lamp 0123, when any button lamp 0123 is turned on, any button
  • the key lamp 0123 can illuminate the button 0121 corresponding to any button lamp 0123, and any button lamp 0123 is disposed inside the housing 0122 and below the button 0121 corresponding to any button lamp 0123.
  • FIG. 1-5 it shows a schematic structural diagram of another terminal 01 involved in the implementation environment shown in FIG. 1-1.
  • the terminal 01 is used as a mobile phone as an example for description.
  • the terminal 01 may include: a terminal body 011 and a keyboard 012 connected to the terminal body 011.
  • the terminal body 011 may include a housing 0111 and a front panel 0112 disposed on the housing 0111.
  • the keyboard 012 is disposed in front. Panel 0112.
  • the keyboard 012 may include at least one button 0121, and each button 0121 may correspond to a button lamp (not shown in FIG. 1-5). When any button lamp is turned on, any button lamp can illuminate corresponding to any button lamp. Button 0121.
  • at least one button 0201 may include a character button 01011 and a function button 01112.
  • the character button 01011 may be a button with a letter set or a button with a root.
  • the function button 01112 is a button of the keyboard 012 except a character button.
  • the function button 01012 may include a button provided with a number, a button provided with a punctuation mark, a button provided with a space, and the like, which is not limited by the embodiment of the present disclosure.
  • the keyboard 012 in the embodiment of the present disclosure may also be a keyboard module of the software, which is formed by the display screen of the terminal, and the display interface thereof may be as shown in FIG.
  • the terminal body 011 may include a housing 0111 and a housing 0111.
  • the front panel 0112, the keyboard 012 is disposed on the front panel 0112, and any button light 023 is disposed inside the housing 0111 and between the housing 0111 and the button 0121 corresponding to any of the button lamps 023.
  • a cavity O is formed between the outer casing 0111 and the front panel 0112, and the cavity O is used for placing other hardware structures such as a chip of the terminal 01, and the embodiment of the present disclosure does not do this. limited.
  • FIG. 2 is a flowchart of a method for inputting a character according to an exemplary embodiment. The present embodiment is described by using the character input method in the terminal 01 in the implementation environment shown in FIG. 1-1.
  • Figure 2 the character input method can include the following steps:
  • step 201 the first character entered by the user is received.
  • step 202 a second set of characters associated with the first character is determined, and the second set of characters includes at least one second character.
  • step 203 the correspondence between the character and the button identifier is queried, and the target button identifier corresponding to each second character is obtained.
  • step 204 the button light corresponding to the target button indicated by the control target button identifier emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the character input method determines the second character group associated with the first character by receiving the first character input by the user, and the second character group includes at least one second character, and the query character Corresponding relationship with the button identifier, the target button identifier corresponding to each second character is obtained, and the button lamp corresponding to the target button indicated by the control target button identifier emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the embodiment of the present disclosure prompts the user to perform character input by controlling the button light corresponding to the target button indicated by the target button identifier to emit the light of the preset color, thereby solving the problem that the input efficiency is low and the error input is easy to occur in the related art, and the improvement is achieved. Input efficiency and avoid the effects of incorrect input.
  • step 202 may include:
  • the target vocabulary is a vocabulary corresponding to the input method used by the current user or a vocabulary established according to the vocabulary input by the user, and the target vocabulary is used for recording the association relationship between different characters;
  • the target character vocabulary is queried according to the first character to obtain a second character group.
  • the method further includes:
  • the target vocabulary is updated according to the first character and the third character.
  • updating the target thesaurus according to the first character and the third character including:
  • the server Sending a query request to the server, where the query request includes a query to be queried consisting of the first character and the third character in sequence;
  • the association relationship between the first character and the third character is recorded in the target thesaurus.
  • updating the target thesaurus according to the first character and the third character including:
  • the update instruction includes a to-be-queried word consisting of the first character and the third character sequentially arranged;
  • the relationship between the first character and the third character is recorded in the target thesaurus.
  • step 204 may include:
  • the button light corresponding to the target button indicated by the control target button identifier is turned on and emits light of a preset color
  • the button light corresponding to the button other than the target button on the control keyboard is turned off.
  • the keys on the keyboard include: function keys, and step 204 may include:
  • the button lamp corresponding to the target button indicated by the control target button identifier emits light of the first preset color
  • the button light corresponding to the control function button emits light of the second preset color
  • the button lamp corresponding to the button other than the target button and the function button on the control keyboard emits light of a third preset color
  • the first preset color, the second preset color, and the third preset color are different.
  • the keys on the keyboard include: function keys, and step 204 may include:
  • the button lamp corresponding to the target button indicated by the control target button identifier emits light of the first preset color
  • the button light corresponding to the control function button emits light of the second preset color
  • the button light corresponding to the button other than the target button and the function button on the control keyboard is turned off;
  • the first preset color and the second preset color are different.
  • step 204 may include:
  • the button light corresponding to the target button indicated by the control target button identifier emits light of a preset color and blinks.
  • the second character group includes at least two second characters
  • the step 204 may include:
  • the intensity of the light emitted by the button light corresponding to any target button is positively correlated with the degree of association between the second character corresponding to any target button and the first character.
  • the second character group includes at least two second characters, and at least two second characters are sequentially arranged.
  • Step 204 may include:
  • the button lights corresponding to the target buttons indicated by the target button identifiers corresponding to the second character characters are sequentially controlled according to the arrangement order of the at least two second characters to emit light of a preset color.
  • the character input method determines the second character group associated with the first character by receiving the first character input by the user, and the second character group includes at least one second character, and the query character Corresponding relationship with the button identifier, obtaining a target button identifier corresponding to each second character, and corresponding to the target button indicated by the control target button identifier
  • the button light emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the embodiment of the present disclosure prompts the user to perform character input by controlling the button light corresponding to the target button indicated by the target button identifier to emit the light of the preset color, thereby solving the problem that the input efficiency is low and the error input is easy to occur in the related art, and the improvement is achieved. Input efficiency and avoid the effects of incorrect input.
  • FIG. 3 is a flowchart of a method for inputting a character according to another exemplary embodiment. The present embodiment is described by using the character input method in the terminal 01 in the implementation environment shown in FIG. 1-1. Referring to FIG. 3, the character input method may include the following steps:
  • a button light on command is received, the button light on command includes a second character in the second character group associated with the first character determined according to the first character input by the user, and the second character group includes at least one second character.
  • step 302 the correspondence between the character and the button identifier is queried according to the button light on command, and the target button identifier corresponding to each second character is obtained.
  • step 303 the button light corresponding to the target button indicated by the control target button identifier emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the character input method receives the button light on command, and the button light on command includes the second character in the second character group associated with the first character determined according to the first character input by the user.
  • the second character group includes at least one second character, and the corresponding relationship between the character and the button identifier is obtained according to the button light on command, and the target button identifier corresponding to each second character is obtained, and the button corresponding to the target button indicated by the target button identifier is controlled.
  • the light emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the embodiment of the present disclosure prompts the user to perform character input by controlling the button light corresponding to the target button indicated by the target button identifier to emit the light of the preset color, thereby solving the problem that the input efficiency is low and the error input is easy to occur in the related art, and the improvement is achieved. Input efficiency and avoid the effects of incorrect input.
  • step 303 can include:
  • the button light corresponding to the target button indicated by the control target button identifier is turned on and emits light of a preset color
  • the button light corresponding to the button other than the target button on the control keyboard is turned off.
  • the keys on the keyboard include: function keys, and step 303 may include:
  • the button lamp corresponding to the target button indicated by the control target button identifier emits light of the first preset color
  • the button light corresponding to the control function button emits light of the second preset color
  • the button lamp corresponding to the button other than the target button and the function button on the control keyboard emits light of a third preset color
  • the first preset color, the second preset color, and the third preset color are different.
  • the keys on the keyboard include: function keys, and step 303 may include:
  • the button lamp corresponding to the target button indicated by the control target button identifier emits light of the first preset color
  • the button light corresponding to the control function button emits light of the second preset color
  • the button light corresponding to the button other than the target button and the function button on the control keyboard is turned off;
  • the first preset color and the second preset color are different.
  • step 303 can include:
  • the button light corresponding to the target button indicated by the control target button identifier emits light of a preset color and blinks.
  • the second character group includes at least two second characters
  • the step 303 may include:
  • the intensity of the light emitted by the button light corresponding to any target button is positively correlated with the degree of association between the second character corresponding to any target button and the first character.
  • the second character group includes at least two second characters, and at least two second characters are sequentially arranged.
  • Step 303 may include:
  • the button lights corresponding to the target buttons indicated by the target button identifiers corresponding to the second character characters are sequentially controlled according to the arrangement order of the at least two second characters to emit light of a preset color.
  • the character input method receives the button light on command, and the button light on command includes the second character in the second character group associated with the first character determined according to the first character input by the user.
  • the second character group includes at least one second character, and the corresponding relationship between the character and the button identifier is obtained according to the button light on command, and the target button identifier corresponding to each second character is obtained, and the button corresponding to the target button indicated by the target button identifier is controlled.
  • the light emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the embodiment of the present disclosure prompts the user to perform character input by controlling the button light corresponding to the target button indicated by the target button identifier to emit the light of the preset color, thereby solving the problem that the input efficiency is low and the error input is easy to occur in the related art, and the improvement is achieved. Input efficiency and avoid the effects of incorrect input.
  • FIG. 4 is a flowchart of a method for inputting a character according to still another exemplary embodiment.
  • the character input method is applied to the terminal 01 in the implementation environment shown in FIG. 1 for illustration.
  • the character input method may include the following steps:
  • step 401 a first character entered by the user is received.
  • step 402 a second set of characters associated with the first character is determined, and the second set of characters includes at least one second character.
  • a button light on command is sent, and the button light on command includes a second character in the second character group, so that the keyboard can query the corresponding relationship between the character and the button identifier according to the button light on command, and obtain a corresponding second character.
  • the target button identifier and the button light corresponding to the target button indicated by the target button identifier are used to emit the light of the preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the character input method determines the second character group associated with the first character by receiving the first character input by the user, and the second character group includes at least one second character, and sends the button.
  • the light-on command, the button light-on command includes the second character in the second character group, so that the keyboard can query the corresponding relationship between the character and the button identifier according to the button light-on command, obtain the target button identifier corresponding to each second character, and control
  • the button light corresponding to the target button indicated by the target button identifier emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the embodiment of the present disclosure prompts the user to perform character input by controlling the button light corresponding to the target button indicated by the target button identifier to emit the light of the preset color, thereby solving the problem that the input efficiency is low and the error input is easy to occur in the related art, and the improvement is achieved. Input efficiency and avoid the effects of incorrect input.
  • step 402 may include:
  • the target vocabulary is a vocabulary corresponding to the input method used by the current user or a vocabulary established according to the vocabulary input by the user, and the target vocabulary is used for recording the association relationship between different characters;
  • the method further includes:
  • the target vocabulary is updated according to the first character and the third character.
  • updating the target thesaurus according to the first character and the third character including:
  • the server Sending a query request to the server, where the query request includes a query to be queried consisting of the first character and the third character in sequence;
  • the association relationship between the first character and the third character is recorded in the target thesaurus.
  • updating the target thesaurus according to the first character and the third character including:
  • the update instruction includes a to-be-queried word consisting of the first character and the third character sequentially arranged;
  • the relationship between the first character and the third character is recorded in the target thesaurus.
  • the character input method determines the second character group associated with the first character by receiving the first character input by the user, and the second character group includes at least one second character, and sends the button.
  • the light-on command, the button light-on command includes the second character in the second character group, so that the keyboard can query the corresponding relationship between the character and the button identifier according to the button light-on command, obtain the target button identifier corresponding to each second character, and control
  • the button light corresponding to the target button indicated by the target button identifier emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the embodiment of the present disclosure prompts the user to perform character input by controlling the button light corresponding to the target button indicated by the target button identifier to emit the light of the preset color, thereby solving the problem that the input efficiency is low and the error input is easy to occur in the related art, and the improvement is achieved. Input efficiency and avoid the effects of incorrect input.
  • the character input method is applied to the implementation environment shown in FIG. 1-1, and the processing function of the keyboard is
  • the keyboard is an external device of the terminal
  • the keyboard is provided with a processor or a processing integrated circuit (English: Integrated Circuit; referred to as: IC), which can pass through the input and output interface of the terminal and the processor of the terminal.
  • IC Integrated Circuit
  • the keyboard is a device inside the terminal
  • the keyboard is connected with a separate processor or processing IC
  • the processor or processing IC is connected to the processor of the terminal.
  • the character input method can include the following steps:
  • step 501 the terminal receives the first character input by the user.
  • the type of the first character may include any one of a letter and a stroke, which is not limited by the embodiment of the present disclosure.
  • the embodiment of the present disclosure is described by taking the type of the first character as a letter.
  • the user can trigger a character input instruction by operating a character button on a keyboard of the terminal, and the character input instruction can carry a character set on a button operated by the user, and the character is the first character, and the terminal can receive and Parsing the character input instruction to obtain the first character, and the terminal implements receiving the first character.
  • the character input instruction triggered by the user may carry the character “h”, and the terminal may parse the character input instruction to obtain the character “h”, and the character “h” is also the first character.
  • step 502 the terminal determines a second set of characters associated with the first character, and the second set of characters includes at least one second character.
  • the type of the second character is the same as the type of the first character, that is, when the type of the first character is a letter, the type of the second character is a letter, and when the type of the first character is a stroke, the second character The type is a stroke. In the embodiment of the present disclosure, since the type of the first character is a letter, the type of the second character is a letter.
  • FIG. 5-2 is a flowchart of a method for determining, by the terminal shown in FIG. 5-1, a second character group associated with a first character, as shown in FIG. 5-2.
  • the method flow can include the following steps:
  • the terminal determines a target vocabulary, which is a vocabulary corresponding to the input method used by the current user or a vocabulary established according to the vocabulary input by the user, and the target vocabulary is used to record the association relationship between different characters. .
  • the lexicon corresponding to different input methods may be different. Therefore, the second character group associated with the first character determined by the different input method terminals is different. Therefore, the terminal may first determine the target vocabulary. A second set of characters associated with the first character is then determined in the target lexicon, wherein the target lexicon is used to record associations between different characters.
  • the input method may include, but is not limited to, a five-stroke input method, a Sogou input method, a Baidu input method, a full-stitch input method, and the like, which are not limited in the embodiment of the present disclosure.
  • the user may select an input method before inputting the first character to the terminal.
  • the input method selection instruction may be triggered.
  • the input method selection instruction carries the target input method selected by the user, and the terminal may receive the user trigger.
  • the input method selection instruction analyzes the input method selection instruction to obtain the target input method selected by the user.
  • the terminal can store the correspondence between the input method and the thesaurus.
  • the terminal queries the correspondence between the input method and the thesaurus stored by the terminal, and obtains the target corresponding to the target input method selected by the user.
  • Thesaurus is an input method before inputting the first character to the terminal.
  • the correspondence between the input method stored by the terminal and the thesaurus can be as shown in Table 1 below:
  • the terminal can obtain the lexicon corresponding to the target input method as the vocabulary 3 according to the correspondence relationship shown in the target input method query table 1, and therefore, the terminal uses the lexicon as the target word. Library.
  • the terminal queries the target vocabulary according to the first character to obtain a second character set.
  • the target vocabulary can be queried according to the first character to obtain the second character group. For example, the terminal queries the thesaurus 3 according to the first character "h" to obtain a second character group.
  • the target vocabulary is used to record the association relationship between different characters.
  • characters in the target vocabulary and the degree of association between different characters are recorded.
  • the target vocabulary can be as shown in Table 2 below:
  • the terminal queries the thesaurus 3 shown in Table 2 according to the first character "h", and the second character group is included, and the second character group includes the second characters "e", "i", and "a".
  • the degree of association between the second character “e” and the first character “h” is 90%
  • the degree of association between the second character “i” and the first character “h” is 60%
  • the second character “a” and the The degree of association of a character “h” is 20%
  • the vocabulary composed of the first character “h” and the second character “e” may be the English word "hello”
  • the words constituting the order may be the English word "hi”
  • the vocabulary composed of the first character "h” and the two characters "a” may be the English word "ha”.
  • the terminal may adjust the association degree between characters according to the input habits of the user, etc., as shown in the above Table 2, when the terminal detects the probability that the user inputs the word “hi” in a certain period of time.
  • the terminal can adjust the degree of association between the second character "i” and the first character “h”.
  • the terminal adjusts the degree of association between the second character "i” and the first character “h” to 100. %Wait. This embodiment of the present disclosure does not limit this.
  • the target vocabulary provided by the embodiment of the present disclosure is merely exemplary and cannot be used to limit the disclosure.
  • the number of characters in the target lexicon is much larger than that shown in Table 2.
  • the embodiment of the present disclosure is described by taking the case that the types of the first character and the second character are both letters.
  • the types of the first character and the second character may all be strokes (ie, , the root), at this time, after the terminal obtains the first character, the first Chinese character corresponding to the first character can be determined, and then the second Chinese character that can form a word with the first Chinese character is determined in the target vocabulary, thereby determining the first
  • the root of the second Chinese character takes the root of the second Chinese character as the second character.
  • the process of acquiring the second character by the terminal may refer to related technologies, and the present disclosure implements The examples are not described here.
  • step 503 the terminal queries the correspondence between the character and the button identifier to obtain the target button identifier corresponding to each second character.
  • a character can be set on a button of the keyboard, and the terminal can store a correspondence between the character and the button identifier, and the terminal can query the correspondence between the character and the button identifier to obtain a target button identifier corresponding to each second character.
  • the correspondence between the characters stored by the terminal and the button identifiers can be as shown in Table 3 below:
  • the terminal can query the corresponding relationship shown in Table 3, and the target button identifier corresponding to the second character "e” is ID-E, and the target button identifier corresponding to the second character “i” is ID-I, and the second character "a”
  • the corresponding target button identifier is ID-A.
  • step 504 the button light corresponding to the target button indicated by the terminal control target button identifier emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the button light corresponding to the target button indicated by each target button identifier may be controlled to emit light of a preset color. For example, the terminal may first determine a button light corresponding to the target button indicated by each target button identifier, and then control the button lamp to emit light of a preset color.
  • the terminal may further store a correspondence between the button identifier and the button light identifier, and the terminal may obtain the target button light identifier corresponding to the target button identifier according to the corresponding relationship between the target button identifier and the button light identifier, and then control
  • the target button light indicator indicates that the button light emits light of a preset color.
  • the correspondence between the button identifier stored by the terminal and the button light identifier can be as shown in Table 4 below:
  • the corresponding relationship shown in the terminal query table 4 can obtain the target button light identifier corresponding to the target button identifier ID-E as ID-3, the target button light identifier corresponding to the target button identifier ID-I is ID-4, and the target button identifier ID-
  • the target button light corresponding to A is identified as ID-1, and further, the target button light indicated by the terminal control target button light identifier ID-3, the target button light indicated by the target button light identifier ID-4, and the target button light identifier ID-1 indication
  • the target button light emits light of a preset color.
  • the preset color may be yellow, green, red, white, blue, or the like, which is not limited by the embodiment of the present disclosure.
  • each button corresponds to a button lamp, and any button lamp is used to illuminate a button corresponding to the button lamp, and the colors of the lights emitted by any two button lamps may be the same or different.
  • the embodiment of the present disclosure does not limit this.
  • the terminal can be turned on and the light of the preset color is turned on by the button light corresponding to the target button indicated by the target button identifier, and the button light corresponding to the button other than the target button on the keyboard is turned off to make the target button and the target button on the keyboard.
  • the light of the button has a large difference, and the user is prompted; or the terminal can also control the button corresponding to the target button corresponding to the target button to indicate the color of the light and the button corresponding to the button other than the target button on the keyboard.
  • the color of the light emitted by the lamp is different to make the difference between the target button and the light of the button other than the target button on the keyboard, so as to realize the prompt to the user; or the terminal can also control the button corresponding to the target button indicated by the target button identifier.
  • the light of the preset color is flashed and blinked to realize the prompt to the user; or the terminal can also prompt the user by controlling the intensity of the light emitted by the button light corresponding to the target button indicated by the target button; or, the terminal further Can be based on at least two second words
  • the arrangement order of each second control corresponding to the character The button light corresponding to the target button indicates that the button light corresponding to the target button emits a light of a preset color, and the prompt to the user is implemented, which is not limited by the embodiment of the present disclosure.
  • FIG. 5-3 is a method for the light source of the preset button corresponding to the target button indicated by the terminal control target button identifier provided by the embodiment shown in FIG. 5-1 to be turned on and emit a preset color of light.
  • the method flow can include the following steps:
  • the button light corresponding to the target button indicated by the terminal control target button identifier is turned on and emits light of a preset color.
  • the terminal can close the switch of the button light (target button light) corresponding to the target button indicated by the target button identifier, so that the button light corresponding to the target button indicated by the target button identifier is turned on.
  • the terminal respectively closes the switch of the button light corresponding to the target button indicated by the target button identifier ID-E, the button button corresponding to the target button indicated by the target button identifier ID-I, and the target button indicated by the target button identifier ID-A.
  • the corresponding button light switch is such that the button light corresponding to the target button indicated by the target button identifier ID-E, the button button corresponding to the target button indicated by the target button identifier ID-I, and the target button indicated by the target button identifier ID-A The button light is turned on.
  • the preset color may be preset
  • each button light may emit light of one color
  • the color of the light emitted by each button light may be preset
  • the terminal may control the target.
  • the button indicator indicates that the button of the button corresponding to the target button is closed, so that the button lamp corresponding to the target button is turned on and emits light of a preset color.
  • the terminal respectively controls the switch of the button lamp corresponding to each target button provided with the second characters "e", "i” and "a” to be closed, so that the second characters "e", "i” and “a” are set.
  • the button lights corresponding to each of the target buttons are respectively turned on and emit light of a preset color.
  • the button light corresponding to each button can emit light of multiple colors, and the color of the light can be controlled by the power supply voltage of the button light. Therefore, the terminal can control the target button to indicate the target button corresponding to the button light.
  • the power supply voltage is such that the button light corresponding to the target button indicated by the target button identifier emits light of a preset color.
  • the terminal separately controls the supply voltage of the button lamp corresponding to each target button provided with the second characters "e", "i", and "a”, so that the second characters "e", "i", and "a are set.
  • the button lights corresponding to each of the target buttons respectively emit light of a preset color.
  • each button corresponds to one button light group
  • each button light group includes at least one button light
  • each button light can emit light of one color
  • each button light corresponds to one switch
  • the terminal can be controlled.
  • the switch corresponding to the button light of the button light group corresponding to the target button indicated by the target button identifier is closed, so that one of the button light groups corresponding to the target button indicated by the target button identifier emits light of a preset color, thereby making the target Button identification
  • the button light group corresponding to the indicated target button emits light of a preset color.
  • the terminal respectively controls the switch of one of the button light groups corresponding to each target button provided with the second characters “e”, “i” and “a” to be closed, so that the second character “e” is set,
  • One of the button light groups corresponding to each target button of "i” and “a” emits light of a preset color, thereby causing each of the second characters "e", "i", and "a” to be set.
  • the button lights corresponding to the target buttons respectively emit light of a preset color.
  • sub-step 5042a the button light corresponding to the button other than the target button on the terminal control keyboard is turned off.
  • the terminal can disconnect the button light corresponding to the button other than the target button on the keyboard, so that the button light corresponding to the button other than the target button on the keyboard is turned off.
  • the terminal disconnects the switch of the button light corresponding to the button other than the target button provided with the second characters "e", "i", and "a” on the keyboard, so that the second character is set on the keyboard.
  • the button lights corresponding to the buttons other than the target buttons of e", "i", and "a” are turned off.
  • the button light corresponding to the target button indicated by the terminal control target button identifier shown in FIG. 5-3 is turned on and emits a preset color of light.
  • the button light corresponding to the target button with the second characters "e", "i” and “a” on the keyboard 012 is turned on, and the light of the preset color is emitted, and the second character is set on the keyboard 012.
  • the button lights corresponding to the buttons other than the target buttons of e", "i", and "a” are turned off.
  • the button is provided with a filling graphic to indicate that the button lamp corresponding to the button is turned on, and the button is not provided with the filling pattern to indicate that the button lamp corresponding to the button is turned off.
  • the keys on the keyboard may include: a function button, which may include a button with a number, a button with a punctuation mark, a button with a space, and the like. limited.
  • a function button which may include a button with a number, a button with a punctuation mark, a button with a space, and the like. limited.
  • FIG. 5-5 is a flowchart of a method for emitting a preset color light by a button light corresponding to a target button indicated by another terminal control target button identifier provided by the embodiment shown in FIG. 5-1.
  • the method flow can include the following steps:
  • the button light corresponding to the target button indicated by the terminal control target button identifier emits light of the first preset color.
  • the button light corresponding to the terminal control function button emits light of the second preset color.
  • the button light corresponding to the button other than the target button and the function button on the terminal control keyboard emits light of a third preset color.
  • the first preset color, the second preset color, and the third preset color are different.
  • FIG. 5-6 is a schematic diagram of the light of the preset color corresponding to the target button indicated by the target control target button identifier provided by the embodiment shown in FIG. 5-5.
  • the button light corresponding to the target button with the second characters “e”, “i” and “a” on the keyboard 012 is turned on and the light of the first preset color is emitted, and the function button on the keyboard 012 corresponds to
  • the button light is turned on and the light of the second preset color is emitted, and the button light corresponding to the target button and the function button provided with the second characters "e", "i", and "a” on the keyboard 012 is turned on and issued.
  • the light of the third preset color is distinguished by the difference of the filling patterns of the respective buttons.
  • the keys on the keyboard may include: a function button, which may include a button with a number, a button with a punctuation mark, a button with a space, and the like. limited.
  • a function button which may include a button with a number, a button with a punctuation mark, a button with a space, and the like. limited.
  • FIG. 5-7 is a flowchart of a method for emitting a preset color light by a button light corresponding to a target button indicated by the terminal control target button identifier provided by the embodiment shown in FIG. 5-1.
  • the method flow can include the following steps:
  • the button light corresponding to the target button indicated by the terminal control target button identifier emits light of the first preset color.
  • the button light corresponding to the terminal control function button emits light of the second preset color.
  • the first preset color and the second preset color are different.
  • the implementation process of the sub-step 5041c and the sub-step 5042c may refer to the sub-step 5041a in the embodiment shown in FIG. 5-3, and the embodiments of the present disclosure are not described herein again.
  • sub-step 5043c the button light corresponding to the button other than the target button and the function button on the terminal control keyboard is turned off.
  • FIG. 5-8 is a schematic diagram of the light of the preset color corresponding to the target button indicated by the target control target button identifier provided by the embodiment shown in FIG. 5-7, see FIG. -8, the button light corresponding to the target button with the second characters "e", “i” and “a” on the keyboard 012 is turned on and the light of the first preset color is emitted, and the button light corresponding to the function button on the keyboard 012
  • the light of the second preset color is turned on and the button light corresponding to the target button and the function button provided with the second characters "e", "i", and "a” on the keyboard 012 is turned off.
  • the first preset color and the second preset color are distinguished by the difference of the filling pattern of the button, and the button light corresponding to the button is turned off when the button is not set.
  • the light of the button light corresponding to the target button indicated by the target control target button may further include: the button light corresponding to the target button indicated by the terminal control target button identifier is preset.
  • the light of the color flashes For example, please refer to FIG. 5-9, which shows another end provided by the embodiment shown in FIG. 5-1.
  • the method for controlling the light of the preset color by the button light corresponding to the target button indicated by the target control button is shown in Figure 5-9. The method flow may include the following steps:
  • the button light corresponding to the target button indicated by the terminal control target button identifier emits light of a preset color and blinks.
  • the terminal respectively controls the button lights corresponding to the target buttons provided with the second characters "e", "i", and "a" to emit light of a preset color and blink.
  • the terminal can blink the button light corresponding to the target button indicated by the target button identifier by intermittently closing and disconnecting the button button corresponding to the target button indicated by the target button identifier, which is not limited by the embodiment of the disclosure.
  • the second character group includes at least two second characters, and the degree of association between each second character and the first character may be different, and the terminal may control the second degree according to the degree of association between the second character and the first character.
  • the button light corresponding to the target button indicated by the target button identifier corresponding to the two characters emits light of a preset color.
  • FIG. 5-10 is a flowchart of a method for emitting a preset color light by a button light corresponding to a target button indicated by the terminal control target button identifier provided by the embodiment shown in FIG. 5-1.
  • the method flow can include the following steps:
  • the terminal determines the degree of association of each second character with the first character, respectively, to obtain at least two degrees of association.
  • the terminal may determine the degree of association between each second character and the first character, and obtain at least two degrees of association. In the embodiment of the present disclosure, since the second character is three, the terminal may obtain at least three degrees of association.
  • the association between the first character and the second character is recorded in the vocabulary stored in the terminal. Therefore, the correspondence between the second character and the first character can be determined by the terminal querying the correspondence relationship shown in Table 2. Correlation. Referring to Table 2, the degree of association between the second character “e” and the first character “h” is 90%, the degree of association between the second character “i” and the first character “h” is 60%, and the second character "a” The degree of association with the first character "h” is 20%.
  • the terminal controls the button light corresponding to the target button indicated by the target button identifier corresponding to each second character to emit the light of the preset color, and the intensity of the light emitted by the button lamp corresponding to any target button and any target
  • the second character corresponding to the button is positively correlated with the degree of association of the first character.
  • the terminal may compare the at least three association degrees, determine the order of the at least three association degrees, and further control the settings according to the size order of the at least three association degrees.
  • the button light corresponding to the two-character target button emits light of a preset color, and the intensity of the light emitted by the button light corresponding to any target button is positively correlated with the correlation between the second character corresponding to any target button and the first character. .
  • the degree of association between the second character “e” and the first character “h” is 90%
  • the degree of association between the second character “i” and the first character “h” is 60%
  • the degree of association between the two characters “a” and the first character “h” is 20%, since 90% is greater than 60%, and 60% is greater than 20%
  • the terminal respectively controls the button lights corresponding to the target buttons provided with the second characters “e", "i” and "a” to emit a preset color Light
  • the intensity of the light emitted by the button light corresponding to the target button provided with the second character “e” is greater than the intensity of the light emitted by the button lamp corresponding to the target button provided with the second character "i”
  • the second light is set
  • the intensity of the light emitted by the button light corresponding to the target button of the character "i” is greater than the intensity of the light emitted by the button lamp corresponding to the target button provided with the second character "a”.
  • FIG. 5-11 is a schematic diagram of the light of the preset color corresponding to the target button indicated by the target control target button identifier provided by the embodiment shown in FIG. 5-10, see FIG. -11, the button light corresponding to the target button of the second characters “e”, “i” and “a” is set on the keyboard 012 to open and emit the light of the preset color, and the button with the second character “e” is corresponding to the button.
  • the intensity of the light emitted by the button light is greater than the intensity of the light emitted by the button light corresponding to the button with the second character "i", and the intensity of the light emitted by the button corresponding to the button with the second character "i" is greater than the setting.
  • the second character group includes at least two second characters, and at least two second characters are sequentially arranged.
  • at least two second characters are associated with each other according to the degree of association between the second character and the first character.
  • the terminal may control the button light corresponding to the target button indicated by the target button identifier corresponding to the second character to emit the light of the preset color according to the arrangement order of the at least two second characters.
  • FIG. 5-12 is a flowchart of a method for emitting a preset color light by a button light corresponding to a target button indicated by the terminal control target button identifier provided by the embodiment shown in FIG. 5-1.
  • the method flow can include the following steps:
  • the terminal sequentially controls, according to the arrangement order of the at least two second characters, the button lights corresponding to the target buttons indicated by the target button identifiers corresponding to the second characters to emit light of a preset color.
  • the terminal sequentially controls the button light corresponding to the target button indicated by the target button identifier corresponding to each second character to emit light of a preset color. For example, the terminal first controls the button light corresponding to the target button indicated by the target button identifier corresponding to the second character “e” to emit the light of the preset color, and after the preset time period (for example, 0.5 seconds), the terminal controls the second character “e”.
  • the button light corresponding to the target button indicated by the corresponding target button identifier is turned off, and the button lamp corresponding to the target button indicated by the target button identifier corresponding to the second character “i" is controlled to emit a preset color of light, and then separated by a preset time period.
  • the button light corresponding to the target button indicated by the target button identifier corresponding to the second character “i” is turned off, and the button light corresponding to the target button indicated by the target button identifier corresponding to the second character “a” is controlled to emit a preset color.
  • the light in turn, loops.
  • step 505 the terminal receives a third character input by the user.
  • the user can input the character according to the prompt of the terminal. For example, the user operates a keyboard with a third character on the keyboard to trigger a character input instruction, and the character input instruction can carry a third character, and the terminal can receive and parse the character input instruction to obtain the third character, and the terminal implements the third character. Reception.
  • the third character input by the user may be a character in the second character group, or may not be a character in the second character group, and the third character input by the user is not the second character.
  • the target lexicon stored in the terminal may not include a word consisting of the first character and the third character arrangement.
  • step 506 the terminal determines whether there is a character in the second character group that is the same as the third character.
  • the terminal may determine whether the second character group has the same character as the third character group.
  • the terminal may query the second character group according to the third character to determine whether the second character group exists and the second character group. Three characters with the same character.
  • the terminal queries the second character group according to the third character "u", since the characters in the second character group are "e", "i", and "a", The terminal may determine that the same character as the third character does not exist in the second character group.
  • the third character is “u” as an example.
  • the terminal queries the second character group to determine the presence and the second character group.
  • the three-character identical characters are not described herein again in the embodiments of the present disclosure.
  • step 507 when there is no character identical to the third character in the second character group, the terminal updates the target vocabulary according to the first character and the third character.
  • the terminal may update the target thesaurus according to the first character and the third character.
  • the terminal may interact with the server to update the target vocabulary, and may also update the target vocabulary according to the operation of the user, which is not limited by the embodiment of the present disclosure.
  • FIG. 5-13 is a flowchart of a method for updating a target vocabulary according to a first character and a third character provided by the terminal shown in the embodiment shown in FIG. 5-1. See FIG. 5-13.
  • the method flow can include the following steps:
  • the terminal sends a query request to the server, the query request including the to-be-queried words consisting of the first character and the third character arranged in sequence.
  • the terminal may sequentially arrange the first character and the third character to form a query to be queried, and then generate a query request according to the to-be-queried word, and then send a query request to the server. For example, when the first character is "h" and the second character is "u", the word to be queried may be "hu".
  • the server receives the query request sent by the terminal.
  • the server can receive the query request.
  • the server queries the thesaurus in the server based on the query request.
  • the vocabulary in the vocabulary in the server is richer than the vocabulary in the target vocabulary stored in the terminal, and therefore, there may be in the vocabulary in the vocabulary server not in the target vocabulary.
  • the server can query the vocabulary in the server according to the query request, and obtain the association relationship between the first character and the third character.
  • the degree of association of the first character and the third character may be 10%.
  • the server In sub-step 5074a, the server generates a query response.
  • the server may generate a query response, where the query response includes an association relationship between the first character and the third character.
  • the server sends a query response to the terminal.
  • the server After the server generates the query response, it can send a query response to the terminal.
  • the terminal receives a query response sent by the server.
  • the terminal may receive the query response sent by the server.
  • sub-step 5077a when the query response indicates that there is a to-be-queried word in the thesaurus in the server, the terminal records the association relationship between the first character and the third character in the target thesaurus.
  • the terminal may determine that the query response indicates that the word to be queried exists in the thesaurus in the server, and therefore, the terminal records the first character and the first in the target lexicon.
  • a three-character association is obtained to obtain an updated target vocabulary.
  • the updated target vocabulary can be as shown in Table 5 below:
  • the embodiment of the present disclosure is described by taking the words to be queried in the vocabulary in the server as an example.
  • the terminal may use the third character as the first Characters, and step 502 to step 505 are performed, or the terminal can also update the target vocabulary by the method shown in FIGS. 5-14. This embodiment of the present disclosure does not limit this.
  • FIG. 5-14 is a flowchart of another method for updating a target vocabulary according to a first character and a third character provided by the embodiment shown in FIG. 5-1, see FIG. 5 - 14.
  • the method flow can include the following steps:
  • the terminal presents update prompt information to the user.
  • the terminal may prompt the user.
  • the terminal may present the update prompt information to the user, and the update prompt information may be voice information or text information.
  • the embodiment of the present disclosure uses the update prompt information as the text information as an example for description, and the terminal may display the update prompt information, where the update prompt information may be “a word composed of the character h and the character u in the target lexicon. Is it added to the thesaurus?".
  • the terminal may display a prompt box, display the update prompt information in the reminder box, and display a “confirm” button.
  • the terminal receives an update instruction triggered by the user according to the update prompt information, and the update instruction includes a to-be-queried word consisting of the first character and the third character sequentially arranged.
  • the user may perform an update instruction triggered by the update prompt information. For example, the user clicks the “confirm” button in the reminder box to trigger an update instruction, and the update instruction may include the first character and the third The characters to be queried are arranged in order, and when the first character is "h" and the second character is "u", the word to be queried may be "hu".
  • the terminal records the association relationship between the first character and the third character in the target vocabulary.
  • the terminal may record the association relationship between the first character and the third character in the target vocabulary. For example, the terminal may determine an initial association degree for the first character and the third character, and subsequently adjust the association degree between the first character and the third character according to the input probability of the first character and the third character by the user, and the disclosure The embodiments are not described herein again.
  • the embodiment shown in FIG. 5-1 of the present disclosure is described by taking the terminal as an execution subject.
  • the execution body of the embodiment shown in FIG. 5-1 may be a processor of the terminal.
  • the executor of the embodiment shown in FIG. 5-1 may also be a keyboard of the terminal, and the keyboard is integrated with a processor for performing the character input method shown in FIG. 5-1, which is not limited by the embodiment of the present disclosure.
  • the character input method determines the second character group associated with the first character by receiving the first character input by the user, and the second character group includes at least one second character, and the query character Corresponding relationship with the button identifier, the target button identifier corresponding to each second character is obtained, and the button lamp corresponding to the target button indicated by the control target button identifier emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the embodiment of the present disclosure prompts the user to perform character input by controlling the button light corresponding to the target button indicated by the target button identifier to emit the light of the preset color, thereby solving the problem that the input efficiency is low and the error input is easy to occur in the related art, and the improvement is achieved. Input efficiency and avoid the effects of incorrect input.
  • FIG. 6-1 is a flowchart of a method for inputting a character according to another exemplary embodiment. This embodiment is described by using the character input method in the implementation environment shown in FIG. 1-1.
  • the terminal is provided with a keyboard.
  • the keyboard can exchange information with the processor of the terminal through the input and output interface of the terminal, and the keyboard is internal to the terminal.
  • the keyboard is connected to the processor of the terminal.
  • the character input method can include the following steps:
  • step 601 the terminal receives the first character input by the user.
  • step 601 is that the keyboard receives the first character input by the user and transmits it to the processor of the terminal.
  • step 602 the terminal determines a second set of characters associated with the first character, and the second set of characters includes at least one second character.
  • FIG. 6-2 is a flowchart of a method for determining, by the terminal shown in FIG. 6-1, a second character group associated with a first character, as shown in FIG. 6-2.
  • the process can include the following steps:
  • the terminal determines a target vocabulary, which is a vocabulary corresponding to the input method used by the current user or a vocabulary established according to the vocabulary input by the user, and the target vocabulary is used to record the association relationship between different characters. .
  • the terminal queries the target vocabulary according to the first character to obtain a second character set.
  • steps 601 and 602 reference may be made to steps 501 and 502 in the embodiment shown in FIG. 5-1, and details are not described herein again.
  • step 603 the terminal sends a button light on command to the keyboard, and the button light on command includes the second character in the second character group.
  • the terminal sends a button light on command to the keyboard to facilitate the keyboard to query the correspondence between the character and the button identifier according to the button light on command, obtain the target button identifier corresponding to each second character, and control the target button corresponding to the target button identifier.
  • the button light emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the terminal may first generate a button light-on command according to the second character in the second character group, and then send a button light-on command to the keyboard, which is not described herein again.
  • step 604 the keyboard receives a button light on command sent by the terminal.
  • the button light-on command may include a second character in the second character group associated with the first character determined by the terminal according to the first character input by the user, and the second character group includes at least one second character.
  • step 605 the keyboard queries the correspondence between the character and the button identifier according to the button light on command, and obtains the target button identifier corresponding to each second character.
  • step 605 reference may be made to the step 503 in the embodiment shown in FIG. 5-1, and details are not described herein again.
  • step 606 the button light corresponding to the target button indicated by the keyboard control target button identifier emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • FIG. 6-3 is a method for the backlight of the target button indicated by the keyboard control target button identifier and the light of the preset color is emitted by the embodiment shown in FIG. 6-1.
  • Flowchart, see Figure 6-3, the method flow can include the following steps:
  • the button light corresponding to the target button indicated by the keyboard control target button identifier is turned on and emits light of a preset color.
  • sub-step 6062a the button light corresponding to the button other than the target button on the keyboard control keyboard is turned off.
  • the keys on the keyboard may include: a function button, which may include a button with a number, a button with a punctuation mark, a button with a space, and the like. limited.
  • a function button which may include a button with a number, a button with a punctuation mark, a button with a space, and the like. limited.
  • FIG. 6-4 is a flow chart of a method for emitting a preset color light by a button light corresponding to a target button indicated by another keyboard control target button identifier provided by the embodiment shown in FIG. 6-1.
  • Figure 6, see Figure 6-4 the method flow can include the following steps:
  • the button light corresponding to the target button indicated by the keyboard control target button identifier emits light of the first preset color.
  • the button light corresponding to the keyboard control function button emits light of the second preset color.
  • the button light corresponding to the button other than the target button and the function button on the keyboard control keyboard emits light of a third preset color.
  • the first preset color, the second preset color, and the third preset color are different.
  • the keys on the keyboard may include: a function button, which may include a button with a number, a button with a punctuation mark, a button with a space, and the like. limited.
  • a function button which may include a button with a number, a button with a punctuation mark, a button with a space, and the like. limited. Show For example, please refer to FIG. 6-5, which is a flowchart of a method for emitting a preset color light by a button light corresponding to a target button indicated by the keyboard control target button identifier provided by the embodiment shown in FIG. 6-1.
  • the method flow can include the following steps:
  • the button light corresponding to the target button indicated by the keyboard control target button identifier emits light of the first preset color.
  • the button light corresponding to the keyboard control function button emits light of the second preset color.
  • sub-step 6063c the button lights corresponding to the keys other than the target button and the function button on the keyboard control keyboard are turned off.
  • the first preset color and the second preset color are different.
  • FIG. 6-6 is a flowchart of a method for emitting a preset color light by a button light corresponding to a target button indicated by the keyboard control target button identifier provided by the embodiment shown in FIG. 6-1.
  • the method flow can include the following steps:
  • the button light corresponding to the target button indicated by the keyboard control target button identifier emits light of a preset color and blinks.
  • the second character group includes at least two second characters, and the degree of association between each second character and the first character may be different, and the keyboard may be controlled according to the degree of association between the second character and the first character.
  • the button light corresponding to the target button indicated by the target button identifier corresponding to the two characters emits light of a preset color.
  • FIG. 6-7 is a flowchart of a method for emitting a preset color light by a button light corresponding to a target button indicated by the keyboard control target button identifier provided by the embodiment shown in FIG. 6-1.
  • the method flow can include the following steps:
  • the keyboard determines the degree of association of each second character with the first character, respectively, to obtain at least two degrees of association.
  • the button light on command sent by the terminal to the keyboard may further include the degree of association between the second character and the first character in the second character group, so as to facilitate the keyboard determination.
  • the degree of association of each second character with the first character may be determined.
  • the keyboard controls the button light corresponding to the target button indicated by the target button identifier corresponding to each second character to emit light of a preset color.
  • the intensity of the light emitted by the button light corresponding to any target button is positively correlated with the degree of association between the second character corresponding to any target button and the first character.
  • the second character group includes at least two second characters, and at least two second characters are sequentially arranged.
  • at least two second characters are associated with each other according to the degree of association between the second character and the first character.
  • the keyboard can The light of the preset color is emitted by the button light corresponding to the target button indicated by the target button identifier corresponding to the second character according to the arrangement order of the at least two second characters.
  • FIG. 6-8 is a flowchart of a method for emitting a preset color light by a button light corresponding to a target button indicated by the keyboard control target button identifier provided by the embodiment shown in FIG. 6-1.
  • the method flow can include the following steps:
  • the keyboard sequentially controls the button lights corresponding to the target button indicated by the target button identifier corresponding to each second character to emit light of a preset color according to the arrangement order of the at least two second characters.
  • step 606 For the implementation process of the step 606, reference may be made to the step 504 in the embodiment shown in FIG. 5-1, and details are not described herein again.
  • step 607 the terminal receives the third character input by the user.
  • step 607 is that the keyboard receives the third character input by the user and transmits the third character to the processor of the terminal.
  • step 608 the terminal determines whether there is a character in the second character group that is the same as the third character.
  • step 609 when there is no character identical to the third character in the second character group, the terminal updates the target vocabulary according to the first character and the third character.
  • FIG. 6-9 is a flowchart of a method for updating a target vocabulary according to a first character and a third character provided by the terminal shown in the embodiment shown in FIG. 6-1. See FIG. 6-9.
  • the method flow can include the following steps:
  • the terminal sends a query request to the server, the query request including the to-be-queried words consisting of the first character and the third character in sequence.
  • the server receives the query request sent by the terminal.
  • the server queries the vocabulary in the server based on the query request.
  • the server In sub-step 6094a, the server generates a query response.
  • the server sends a query response to the terminal.
  • the terminal receives a query response sent by the server.
  • sub-step 6097a when the query response indicates that there is a word to be queried in the vocabulary in the server, the terminal records the association relationship between the first character and the third character in the target vocabulary.
  • FIG. 6-10 is a flowchart of another method for updating a target vocabulary according to a first character and a third character provided by the embodiment shown in FIG. 6-1, see FIG. 6- 10.
  • the method flow can include:
  • the terminal presents the update prompt information to the user.
  • the terminal receives an update instruction triggered by the user according to the update prompt information, and the update instruction includes a to-be-queried word consisting of the first character and the third character sequentially arranged.
  • the terminal records the association relationship between the first character and the third character in the target vocabulary.
  • the character input method determines the second character group associated with the first character by receiving the first character input by the user, and the second character group includes at least one second character, and the query character Corresponding relationship with the button identifier, the target button identifier corresponding to each second character is obtained, and the button lamp corresponding to the target button indicated by the control target button identifier emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the embodiment of the present disclosure prompts the user to perform character input by controlling the button light corresponding to the target button indicated by the target button identifier to emit the light of the preset color, thereby solving the problem that the input efficiency is low and the error input is easy to occur in the related art, and the improvement is achieved. Input efficiency and avoid the effects of incorrect input.
  • FIG. 7 is a block diagram of a character input device 700, which may be implemented as part of a terminal in the implementation environment shown in FIG. 1-1 by software, hardware, or a combination of both, according to an exemplary embodiment. Or all.
  • the character input device 700 can include:
  • the first receiving module 710 is configured to receive a first character input by the user.
  • the determining module 720 is configured to determine a second set of characters associated with the first character received by the first receiving module 710, the second set of characters including at least one second character.
  • the query module 730 is configured to query the correspondence between the character and the button identifier, and obtain the target button identifier corresponding to each second character in the second character group determined by the determining module 720.
  • the control module 740 is configured to control the button light corresponding to the target button indicated by the target button identifier queried by the query module 730 to emit light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the character input device determines the second character group associated with the first character by receiving the first character input by the user, and the second character group includes at least one second character, and the query character Corresponding relationship with the button identifier, the target button identifier corresponding to each second character is obtained, and the button lamp corresponding to the target button indicated by the control target button identifier emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input. .
  • Embodiment of the present disclosure The button light corresponding to the target button indicated by the target button identifier is used to emit the light of the preset color to prompt the user to input the character, thereby solving the problem that the input efficiency is low and the error input is easy to occur in the related art, thereby improving the input efficiency and avoiding. The effect of incorrect input.
  • FIG. 8 is a block diagram of a character input device 800, which may be implemented as a terminal in an implementation environment shown in FIG. 1-1 by software, hardware, or a combination of both, according to another exemplary embodiment. Part or all.
  • the character input device 800 can include, but is not limited to:
  • the first receiving module 810 is configured to receive a first character input by the user
  • the determining module 820 is configured to determine a second character group associated with the first character received by the first receiving module 810, and the second character group includes at least one second character;
  • the querying module 830 is configured to query the correspondence between the character and the button identifier, and obtain the target button identifier corresponding to each second character in the second character group determined by the determining module 820;
  • the control module 840 is configured to control the button light corresponding to the target button indicated by the target button identifier queried by the query module 830 to emit light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the determining module 820 is configured to:
  • the target vocabulary is a vocabulary corresponding to the input method used by the current user or a vocabulary established according to the vocabulary input by the user, and the target vocabulary is used for recording the association relationship between different characters;
  • the target character vocabulary is queried according to the first character to obtain a second character group.
  • the character input device 800 may further include:
  • the second receiving module 850 is configured to receive a third character input by the user
  • the determining module 860 is configured to determine whether the second character group determined by the determining module 820 has the same character as the third character received by the second receiving module 850;
  • the update module 870 is configured to: when the second character group determined by the determining module 820 does not have the same character as the third character received by the second receiving module 850, the first character and the second received according to the first receiving module 810 The third character received by the receiving module 850 updates the target vocabulary.
  • the update module 870 is configured to:
  • the server Sending a query request to the server, where the query request includes a query to be queried consisting of the first character and the third character in sequence;
  • the update module 870 is configured to:
  • the update instruction includes a to-be-queried word consisting of the first character and the third character sequentially arranged;
  • the relationship between the first character and the third character is recorded in the target thesaurus.
  • control module 840 is configured to:
  • the button light corresponding to the target button indicated by the control target button identifier is turned on and emits light of a preset color
  • the button light corresponding to the button other than the target button on the control keyboard is turned off.
  • the keys on the keyboard comprise: function buttons, and the control module 840 is configured to:
  • the button lamp corresponding to the target button indicated by the control target button identifier emits light of the first preset color
  • the button light corresponding to the control function button emits light of the second preset color
  • the button lamp corresponding to the button other than the target button and the function button on the control keyboard emits light of a third preset color
  • the first preset color, the second preset color, and the third preset color are different.
  • the keys on the keyboard comprise: function buttons, and the control module 840 is configured to:
  • the button lamp corresponding to the target button indicated by the control target button identifier emits light of the first preset color
  • the button light corresponding to the control function button emits light of the second preset color
  • the button light corresponding to the button other than the target button and the function button on the control keyboard is turned off;
  • the first preset color and the second preset color are different.
  • control module 840 is configured to:
  • the button light corresponding to the target button indicated by the control target button identifier emits light of a preset color and blinks.
  • the second character group includes at least two second characters
  • the control module 840 is configured to:
  • the intensity of the light emitted by the button light corresponding to any target button is positively correlated with the degree of association between the second character corresponding to any target button and the first character.
  • the second character group includes at least two second characters, and at least two second characters are sequentially arranged.
  • Control module 840 is configured to:
  • the button lights corresponding to the target buttons indicated by the target button identifiers corresponding to the second character characters are sequentially controlled according to the arrangement order of the at least two second characters to emit light of a preset color.
  • the character input device determines the second character group associated with the first character by receiving the first character input by the user, and the second character group includes at least one second character, and the query character Corresponding relationship with the button identifier, the target button identifier corresponding to each second character is obtained, and the button lamp corresponding to the target button indicated by the control target button identifier emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input. .
  • the embodiment of the present disclosure prompts the user to perform character input by controlling the button light corresponding to the target button indicated by the target button identifier to emit the light of the preset color, thereby solving the problem that the input efficiency is low and the error input is easy to occur in the related art, and the improvement is achieved. Input efficiency and avoid the effects of incorrect input.
  • FIG. 9 is a block diagram of a character input device 900, which may be implemented as a terminal in an implementation environment shown in FIG. 1-1 by software, hardware, or a combination of both, according to still another exemplary embodiment. Part or all.
  • the character input device 900 can include:
  • the receiving module 910 is configured to receive a button light on command, where the button light on command includes a second character in the second character group associated with the first character determined according to the first character input by the user, and the second character group includes at least one The second character.
  • the querying module 920 is configured to query the correspondence between the character and the button identifier according to the button light-on command received by the receiving module 910, and obtain the target button identifier corresponding to each second character.
  • the control module 930 is configured to control the button light corresponding to the target button indicated by the target button identifier queried by the query module 920 to emit light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the character input device receives the button light on command, and the button light on command includes the second character in the second character group associated with the first character determined according to the first character input by the user.
  • the second character group includes at least one second character, and the corresponding relationship between the character and the button identifier is obtained according to the button light on command, and the target button identifier corresponding to each second character is obtained, and the button corresponding to the target button indicated by the target button identifier is controlled.
  • the light emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the embodiment of the present disclosure prompts the user to perform character input by controlling the button light corresponding to the target button indicated by the target button identifier to emit the light of the preset color, thereby solving the problem that the input efficiency is low and the error input is easy to occur in the related art, and the improvement is achieved. Input efficiency and avoid the effects of incorrect input.
  • control module 930 is configured to:
  • the button light corresponding to the target button indicated by the control target button identifier is turned on and emits light of a preset color
  • the button light corresponding to the button other than the target button on the control keyboard is turned off.
  • the keys on the keyboard include: function buttons, and the control module 930 is configured to:
  • the button lamp corresponding to the target button indicated by the control target button identifier emits light of the first preset color
  • the button light corresponding to the control function button emits light of the second preset color
  • the button lamp corresponding to the button other than the target button and the function button on the control keyboard emits light of a third preset color
  • the first preset color, the second preset color, and the third preset color are different.
  • the keys on the keyboard include: function buttons, and the control module 930 is configured to:
  • the button lamp corresponding to the target button indicated by the control target button identifier emits light of the first preset color
  • the button light corresponding to the control function button emits light of the second preset color
  • the button light corresponding to the button other than the target button and the function button on the control keyboard is turned off;
  • the first preset color and the second preset color are different.
  • control module 930 is configured to:
  • the button light corresponding to the target button indicated by the control target button identifier emits light of a preset color and blinks.
  • the second character group includes at least two second characters
  • the control module 930 is configured to:
  • the intensity of the light emitted by the button light corresponding to any target button is positively correlated with the degree of association between the second character corresponding to any target button and the first character.
  • the second character group includes at least two second characters, and at least two second characters are sequentially arranged, and the control module 930 is configured to:
  • the button lights corresponding to the target buttons indicated by the target button identifiers corresponding to the second character characters are sequentially controlled according to the arrangement order of the at least two second characters to emit light of a preset color.
  • the character input device receives the button light on command, and the button light on command includes the second character in the second character group associated with the first character determined according to the first character input by the user.
  • the second character group includes at least one second character, and the corresponding relationship between the character and the button identifier is obtained according to the button light on command, and the target button identifier corresponding to each second character is obtained, and the button corresponding to the target button indicated by the target button identifier is controlled.
  • the light emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the embodiment of the present disclosure solves the problem of prompting the user to perform character input by controlling the button light corresponding to the target button indicated by the target button identifier to emit a light of a preset color.
  • the input efficiency is low and the error is easily generated, and the effect of improving input efficiency and avoiding false input is achieved.
  • FIG. 10 is a block diagram of a character input device 1000, which may be implemented as a terminal in an implementation environment shown in FIG. 1-1 by software, hardware, or a combination of both, according to still another exemplary embodiment. Part or all.
  • the character input device 1000 can include:
  • the first receiving module 1010 is configured to receive a first character input by a user.
  • the determining module 1020 is configured to determine a second set of characters associated with the first character received by the first receiving module 1010, the second set of characters including at least one second character.
  • the sending module 1030 is configured to send a button light on command, and the button light on command includes determining a second character in the second character group determined by the module 1020, so that the keyboard can query the correspondence between the character and the button identifier according to the button light on command.
  • the target button identifier corresponding to each second character is obtained, and the button light corresponding to the target button indicated by the target button identifier is controlled to emit light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the character input device determines the second character group associated with the first character by receiving the first character input by the user, and the second character group includes at least one second character, and sends the button.
  • the light-on command, the button light-on command includes the second character in the second character group, so that the keyboard can query the corresponding relationship between the character and the button identifier according to the button light-on command, obtain the target button identifier corresponding to each second character, and control
  • the button light corresponding to the target button indicated by the target button identifier emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the embodiment of the present disclosure prompts the user to perform character input by controlling the button light corresponding to the target button indicated by the target button identifier to emit the light of the preset color, thereby solving the problem that the input efficiency is low and the error input is easy to occur in the related art, and the improvement is achieved. Input efficiency and avoid the effects of incorrect input.
  • FIG. 11 is a block diagram of a character input device 1100, which may be implemented as a terminal in an implementation environment shown in FIG. 1-1 by software, hardware, or a combination of both, according to still another exemplary embodiment. Part or all.
  • the character input device 1100 may include, but is not limited to:
  • the first receiving module 1110 is configured to receive a first character input by the user
  • the determining module 1120 is configured to determine a second character group associated with the first character received by the first receiving module 1110, and the second character group includes at least one second character;
  • the sending module 1130 is configured to send a button light on command, and the button light on command includes determining a second character in the second character group determined by the module 1120, so that the keyboard can query the correspondence between the character and the button identifier according to the button light on command.
  • the relationship is obtained by obtaining a target button identifier corresponding to each second character, and controlling a button light corresponding to the target button indicated by the target button identifier to emit a preset color of light, and the preset color light is used to prompt the user to perform character input.
  • the determining module 1120 is configured to:
  • the target vocabulary is a vocabulary corresponding to the input method used by the current user or a vocabulary established according to the vocabulary input by the user, and the target vocabulary is used for recording the association relationship between different characters;
  • the target character vocabulary is queried according to the first character to obtain a second character group.
  • the character input device 1100 may further include:
  • the second receiving module 1140 is configured to receive a third character input by the user
  • the determining module 1150 is configured to determine whether the second character group determined by the determining module 1120 has the same character as the third character received by the second receiving module 1140;
  • the updating module 1160 is configured to: when the second character group determined by the determining module 1120 does not have the same character as the third character received by the second receiving module 1140, according to the first character and the second received by the first receiving module 1110 The third character received by the receiving module 1140 updates the target vocabulary.
  • the update module 1160 is configured to:
  • the server Sending a query request to the server, where the query request includes a query to be queried consisting of the first character and the third character in sequence;
  • the association relationship between the first character and the third character is recorded in the target thesaurus.
  • the update module 1160 is configured to:
  • the update instruction includes a to-be-queried word consisting of the first character and the third character sequentially arranged;
  • the relationship between the first character and the third character is recorded in the target thesaurus.
  • the character input device determines the second character group associated with the first character by receiving the first character input by the user, and the second character group includes at least one second character, and sends the button.
  • the light-on command, the button light-on command includes the second character in the second character group, so that the keyboard can query the corresponding relationship between the character and the button identifier according to the button light-on command, obtain the target button identifier corresponding to each second character, and control
  • the button light corresponding to the target button indicated by the target button identifier emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the embodiment of the present disclosure emits a preset color light by controlling a button light corresponding to the target button indicated by the target button identifier.
  • the user is prompted to perform character input, which solves the problem that the input efficiency is low and the error input is easy to occur in the related art, and the effect of improving input efficiency and avoiding false input is achieved.
  • FIG. 12 is a block diagram of a character input device 1200, according to an exemplary embodiment.
  • the device 1200 may be a keyboard integrated with a processor, which may be set in a mobile phone, a mobile phone, a digital broadcast terminal, a messaging device, a game console, a medical device, a fitness device, a personal digital assistant, a desktop computer, a laptop.
  • the embodiment of the present disclosure does not limit the portable computer, the notebook computer, the smart television, the smart wearable device, and the like.
  • apparatus 1200 can include one or more of the following components: processing component 1202, memory 1204, power component 1206, input/output (I/O) interface 1208, sensor component 1210, and communication component 1212.
  • processing component 1202 memory 1204, power component 1206, input/output (I/O) interface 1208, sensor component 1210, and communication component 1212.
  • memory 1204 memory 1204, power component 1206, input/output (I/O) interface 1208, sensor component 1210, and communication component 1212.
  • I/O input/output
  • Processing component 1202 typically controls the overall operations of device 1200, such as operations associated with communication, processing, recording operations.
  • Processing component 1202 can include one or more processors 1220 to execute instructions to perform all or part of the steps described above.
  • processing component 1202 can include one or more modules to facilitate interaction between component 1202 and other components.
  • Memory 1204 is configured to store various types of data to support operation at device 1200. Examples of such data include instructions, messages, pictures, videos, etc. for any application or method operating on device 1200.
  • the memory 1204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 1206 provides power to various components of device 1200.
  • Power component 1206 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 1200.
  • the I/O interface 1208 provides an interface between the processing component 1202 and the peripheral interface module, which may be a keyboard.
  • Sensor assembly 1210 includes one or more sensors for providing device 1200 with a status assessment of various aspects.
  • sensor assembly 1210 can detect an open/closed state of device 1200, relative positioning of components, such as a display and a keypad of device 1200, and sensor component 1210 can also detect a change in position of device 1200 or a component of device 1200, the user The presence or absence of contact with device 1200, device 1200 orientation or acceleration/deceleration and temperature change of device 1200.
  • Sensor assembly 1210 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 1210 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor assembly 1210 can also include acceleration Degree sensor, gyro sensor, magnetic sensor, pressure sensor or temperature sensor.
  • Communication component 1212 is configured to facilitate wired or wireless communication between device 1200 and other devices.
  • the device 1200 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • communication component 1212 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • device 1200 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 1204 comprising instructions executable by processor 1220 of apparatus 1200 to perform the above method.
  • the non-transitory computer readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a non-transitory computer readable storage medium when instructions in a storage medium are executed by a processor of apparatus 1200, to enable apparatus 1200 to perform a character input method, the method comprising:
  • the button light corresponding to the target button indicated by the control target button identifier emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • determining a second character group associated with the first character, the second character group including at least one second character including:
  • the target vocabulary is a vocabulary corresponding to the input method used by the current user or a vocabulary established according to the vocabulary input by the user, and the target vocabulary is used for recording the association relationship between different characters;
  • the target character vocabulary is queried according to the first character to obtain a second character group.
  • the method further includes:
  • the target vocabulary is updated according to the first character and the third character.
  • updating the target thesaurus according to the first character and the third character including:
  • the server Sending a query request to the server, where the query request includes a query to be queried consisting of the first character and the third character in sequence;
  • the association relationship between the first character and the third character is recorded in the target thesaurus.
  • updating the target thesaurus according to the first character and the third character including:
  • the update instruction includes a to-be-queried word consisting of the first character and the third character sequentially arranged;
  • the relationship between the first character and the third character is recorded in the target thesaurus.
  • the button light corresponding to the target button indicated by the control target button identifier emits light of a preset color, including:
  • the button light corresponding to the target button indicated by the control target button identifier is turned on and emits light of a preset color
  • the button light corresponding to the button other than the target button on the control keyboard is turned off.
  • the button on the keyboard includes: a function button, and the button lamp corresponding to the target button indicated by the control target button identifier emits light of a preset color, including:
  • the button lamp corresponding to the target button indicated by the control target button identifier emits light of the first preset color
  • the button light corresponding to the control function button emits light of the second preset color
  • the button lamp corresponding to the button other than the target button and the function button on the control keyboard emits light of a third preset color
  • the first preset color, the second preset color, and the third preset color are different.
  • the button on the keyboard includes: a function button, and the button lamp corresponding to the target button indicated by the control target button identifier emits light of a preset color, including:
  • the button lamp corresponding to the target button indicated by the control target button identifier emits light of the first preset color
  • the button light corresponding to the control function button emits light of the second preset color
  • the button light corresponding to the button other than the target button and the function button on the control keyboard is turned off;
  • the first preset color and the second preset color are different.
  • the button light corresponding to the target button indicated by the control target button identifier emits light of a preset color, including:
  • the button light corresponding to the target button indicated by the control target button identifier emits light of a preset color and blinks.
  • the second character group includes at least two second characters
  • the button light corresponding to the target button indicated by the control target button identifier emits light of a preset color, including:
  • the intensity of the light emitted by the button light corresponding to any target button is positively correlated with the degree of association between the second character corresponding to any target button and the first character.
  • the second character group includes at least two second characters, and at least two second characters are sequentially arranged.
  • the button light corresponding to the target button indicated by the control target button identifier emits light of a preset color, including:
  • the button lights corresponding to the target buttons indicated by the target button identifiers corresponding to the second character characters are sequentially controlled according to the arrangement order of the at least two second characters to emit light of a preset color.
  • the character input device determines the second character group associated with the first character by receiving the first character input by the user, and the second character group includes at least one second character, and the query character Corresponding relationship with the button identifier, the target button identifier corresponding to each second character is obtained, and the button lamp corresponding to the target button indicated by the control target button identifier emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input. .
  • the embodiment of the present disclosure prompts the user to perform character input by controlling the button light corresponding to the target button indicated by the target button identifier to emit the light of the preset color, thereby solving the problem that the input efficiency is low and the error input is easy to occur in the related art, and the improvement is achieved. Input efficiency and avoid the effects of incorrect input.
  • FIG. 13 is a block diagram of a character input device 1300, according to another exemplary embodiment.
  • the device 1300 can be a keyboard, which can be set in a mobile phone, a mobile phone, a digital broadcast terminal, a messaging device, a game console, a medical device, a fitness device, a personal digital assistant, a desktop computer, a laptop portable computer, a notebook.
  • the embodiment of the present disclosure does not limit the computer, the smart television, the smart wearable device, and the like.
  • device 1300 can include one or more of the following components: processing component 1302, memory 1304, power component 1306, input/output (I/O) interface 1308, sensor component 1310, and communication component 1312.
  • processing component 1302 memory 1304, power component 1306, input/output (I/O) interface 1308, sensor component 1310, and communication component 1312.
  • memory 1304 memory 1304, power component 1306, input/output (I/O) interface 1308, sensor component 1310, and communication component 1312.
  • I/O input/output
  • Processing component 1302 typically controls the overall operations of device 1300, such as operations associated with communication, processing, recording operations.
  • Processing component 1302 can include one or more processors 1320 to execute instructions to perform all or part of the steps described above.
  • processing component 1302 can include one or more modules to facilitate interaction between component 1302 and other components.
  • Memory 1304 is configured to store various types of data to support operation at device 1300. Examples of such data include instructions, messages, pictures, videos, etc. for any application or method operating on device 1300.
  • Memory 1304 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 1306 provides power to various components of device 1300.
  • Power component 1306 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 1300.
  • the I/O interface 1308 provides an interface between the processing component 1302 and the peripheral interface module, which may be a keyboard.
  • Sensor assembly 1310 includes one or more sensors for providing device 1300 with a status assessment of various aspects.
  • the sensor assembly 1310 can detect an open/closed state of the device 1300, the relative positioning of the components, such as a display and a keypad of the device 1300, and the sensor component 1310 can also detect a change in position of a component of the device 1300 or device 1300, the user The presence or absence of contact with device 1300, device 1300 orientation or acceleration/deceleration and temperature variation of device 1300.
  • Sensor assembly 1310 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 1310 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor assembly 1310 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 1312 is configured to facilitate wired or wireless communication between device 1300 and other devices.
  • the device 1300 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • communication component 1312 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • apparatus 1300 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 1304 comprising instructions executable by processor 1320 of apparatus 1300 to perform the above method.
  • the non-transitory computer readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a non-transitory computer readable storage medium when instructions in a storage medium are executed by a processor of apparatus 1300, to enable apparatus 1300 to perform a character input method, the method comprising:
  • the button light on command includes a second character in the second character group associated with the first character determined according to the first character input by the user, and the second character group includes at least one second character;
  • the button light corresponding to the target button indicated by the control target button identifier emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the button light corresponding to the target button indicated by the control target button identifier emits light of a preset color, including:
  • the button light corresponding to the target button indicated by the control target button identifier is turned on and emits light of a preset color
  • the button light corresponding to the button other than the target button on the control keyboard is turned off.
  • the button on the keyboard includes: a function button, and the button lamp corresponding to the target button indicated by the control target button identifier emits light of a preset color, including:
  • the button lamp corresponding to the target button indicated by the control target button identifier emits light of the first preset color
  • the button light corresponding to the control function button emits light of the second preset color
  • the button lamp corresponding to the button other than the target button and the function button on the control keyboard emits light of a third preset color
  • the first preset color, the second preset color, and the third preset color are different.
  • the button on the keyboard includes: a function button, and the button lamp corresponding to the target button indicated by the control target button identifier emits light of a preset color, including:
  • the button lamp corresponding to the target button indicated by the control target button identifier emits light of the first preset color
  • the button light corresponding to the control function button emits light of the second preset color
  • the button light corresponding to the button other than the target button and the function button on the control keyboard is turned off;
  • the first preset color and the second preset color are different.
  • the button light corresponding to the target button indicated by the control target button identifier emits light of a preset color, including:
  • the button light corresponding to the target button indicated by the control target button identifier emits light of a preset color and blinks.
  • the second character group includes at least two second characters
  • the button light corresponding to the target button indicated by the control target button identifier emits light of a preset color, including:
  • the intensity of the light emitted by the button light corresponding to any target button and the second character corresponding to any target button are The degree of association of the first character is positively correlated.
  • the second character group includes at least two second characters, and at least two second characters are sequentially arranged.
  • the button light corresponding to the target button indicated by the control target button identifier emits light of a preset color, including:
  • the button lights corresponding to the target buttons indicated by the target button identifiers corresponding to the second character characters are sequentially controlled according to the arrangement order of the at least two second characters to emit light of a preset color.
  • the character input device receives the button light on command, and the button light on command includes the second character in the second character group associated with the first character determined according to the first character input by the user.
  • the second character group includes at least one second character, and the corresponding relationship between the character and the button identifier is obtained according to the button light on command, and the target button identifier corresponding to each second character is obtained, and the button corresponding to the target button indicated by the target button identifier is controlled.
  • the light emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the embodiment of the present disclosure prompts the user to perform character input by controlling the button light corresponding to the target button indicated by the target button identifier to emit the light of the preset color, thereby solving the problem that the input efficiency is low and the error input is easy to occur in the related art, and the improvement is achieved. Input efficiency and avoid the effects of incorrect input.
  • FIG. 14 is a block diagram of a character input device 1400, shown in accordance with still another exemplary embodiment.
  • the device 1400 may be a terminal, which may be set in a mobile phone, a mobile phone, a digital broadcast terminal, a messaging device, a game console, a medical device, a fitness device, a personal digital assistant, a desktop computer, a laptop portable computer, a notebook.
  • the embodiment of the present disclosure does not limit the computer, the smart television, the smart wearable device, and the like.
  • apparatus 1400 can include one or more of the following components: processing component 1402, memory 1404, power component 1406, multimedia component 1408, audio component 1410, input/output (I/O) interface 1412, sensor component 1414, and Communication component 1416.
  • Processing component 1402 typically controls the overall operation of device 1400, such as operations associated with display, telephone calls, data communications, and recording operations.
  • Processing component 1402 can include one or more processors 1420 to execute instructions to perform all or part of the steps of the above described methods.
  • processing component 1402 can include one or more modules to facilitate interaction between component 1402 and other components.
  • processing component 1402 can include a multimedia module to facilitate interaction between multimedia component 1408 and processing component 1402.
  • Memory 1404 is configured to store various types of data to support operation at device 1400. Examples of such data include instructions for any application or method operating on device 1400, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 1404 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM Erasable Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 1406 provides power to various components of device 1400.
  • Power component 1406 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 1400.
  • the multimedia component 1408 includes a screen between the device 1400 and the user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can sense not only the boundaries of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the audio component 1410 is configured to output and/or input an audio signal.
  • the audio component 1410 includes a microphone (MIC) that is configured to receive an external audio signal when the device 1400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 1404 or transmitted via communication component 1416.
  • the audio component 1410 also includes a speaker for outputting an audio signal.
  • the I/O interface 1412 provides an interface between the processing component 1402 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 1414 includes one or more sensors for providing a status assessment of various aspects to device 1400.
  • sensor component 1414 can detect an open/closed state of device 1400, a relative positioning of components, such as a display and a keypad of device 1400, and sensor component 1414 can also detect a change in position of a component of device 1400 or device 1400, the user The presence or absence of contact with device 1400, device 1400 orientation or acceleration/deceleration and temperature variation of device 1400.
  • Sensor assembly 1414 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 1414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 1414 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 1416 is configured to facilitate wired or wireless communication between device 1400 and other devices.
  • the device 1400 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • communication component 1416 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • communication component 1416 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • device 1400 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 1404 comprising instructions executable by processor 1420 of apparatus 1400 to perform the above method.
  • the non-transitory computer readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a non-transitory computer readable storage medium when instructions in a storage medium are executed by a processor of apparatus 1400, to enable apparatus 1400 to perform a character input method, the method comprising:
  • the button light on command includes a second character in the second character group, so that the keyboard can query the corresponding relationship between the character and the button identifier according to the button light on command, and obtain the target button identifier corresponding to each second character. And controlling the button light corresponding to the target button indicated by the target button identifier to emit light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • determining a second character group associated with the first character, the second character group including at least one second character including:
  • the target vocabulary is a vocabulary corresponding to the input method used by the current user or a vocabulary established according to the vocabulary input by the user, and the target vocabulary is used for recording the association relationship between different characters;
  • the target character vocabulary is queried according to the first character to obtain a second character group.
  • the method further includes:
  • the target vocabulary is updated according to the first character and the third character.
  • updating the target thesaurus according to the first character and the third character including:
  • the server Sending a query request to the server, where the query request includes a query to be queried consisting of the first character and the third character in sequence;
  • updating the target thesaurus according to the first character and the third character including:
  • the update instruction includes a to-be-queried word consisting of the first character and the third character sequentially arranged;
  • the relationship between the first character and the third character is recorded in the target thesaurus.
  • the character input device determines the second character group associated with the first character by receiving the first character input by the user, and the second character group includes at least one second character, and sends the button.
  • the light-on command, the button light-on command includes the second character in the second character group, so that the keyboard can query the corresponding relationship between the character and the button identifier according to the button light-on command, obtain the target button identifier corresponding to each second character, and control
  • the button light corresponding to the target button indicated by the target button identifier emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the embodiment of the present disclosure prompts the user to perform character input by controlling the button light corresponding to the target button indicated by the target button identifier to emit the light of the preset color, thereby solving the problem that the input efficiency is low and the error input is easy to occur in the related art, and the improvement is achieved. Input efficiency and avoid the effects of incorrect input.
  • FIG. 15 is a block diagram showing a character input system 1500 according to an exemplary embodiment.
  • the character input system 1500 can include a keyboard 1510 and a processor 1520 on the terminal.
  • the keyboard 1510 includes the character input device shown in FIG. 9; the processor 1520 on the terminal includes the character input device shown in FIG. 10 or FIG.
  • the keyboard 1510 includes the character input device shown in FIG. 13; the processor 1520 on the terminal includes the character input device shown in FIG.
  • the character input system determines the second character group associated with the first character by receiving the first character input by the user, and the second character group includes at least one second character, and the query character Corresponding relationship with the button identifier, the target button identifier corresponding to each second character is obtained, and the button lamp corresponding to the target button indicated by the control target button identifier emits light of a preset color, and the light of the preset color is used to prompt the user to perform character input.
  • the embodiment of the present disclosure prompts the user to perform character input by controlling the button light corresponding to the target button indicated by the target button identifier to emit the light of the preset color, thereby solving the problem that the input efficiency is low and the error input is easy to occur in the related art, and the improvement is achieved. Input efficiency and avoid the effects of incorrect input.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Input From Keyboards Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种字符输入方法、装置及系统,属于电子技术应用领域。该方法包括:接收用户输入的第一字符(201);确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符(202);查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识(203);控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入(204)。其解决了相关技术中输入效率较低且容易出现误输入的问题,达到了提高输入效率和避免误输入的效果。用于输入提示。

Description

字符输入方法、装置及系统
相关申请的交叉引用
本申请基于申请号为201510777567.4、申请日为2015年11月13日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及电子技术应用领域,特别涉及一种字符输入方法、装置及系统。
背景技术
键盘是终端上常用的输入设备,其可以实现用户与终端之间的人机交互,用户可以通过键盘将字母、数字、汉字、标点符号等字符输入到终端中。
发明内容
为了实现提高输入效率和避免误输入的效果,本公开提供了一种字符输入方法、装置及系统。所述技术方案如下:
根据本公开的第一方面,提供一种字符输入方法,所述方法包括:
接收用户输入的第一字符;
确定与所述第一字符关联的第二字符组,所述第二字符组中包括至少一个第二字符;
查询字符与按键标识的对应关系,得到每个所述第二字符对应的目标按键标识;
控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,所述预设颜色的光线用于提示用户进行字符输入。
可选地,所述确定与所述第一字符关联的第二字符组,所述第二字符组中包括至少一个第二字符,包括:
确定目标词库,所述目标词库为与当前用户使用的输入法对应的词库或者根据用户输入的词汇建立的词库,所述目标词库用于记录不同字符间的关联关系;
根据所述第一字符查询所述目标词库,得到所述第二字符组。
可选地,所述方法还包括:
接收用户输入的第三字符;
判断所述第二字符组中是否存在与所述第三字符相同的字符;
当所述第二字符组中不存在与所述第三字符相同的字符时,根据所述第一字符和所述第三字符更新所述目标词库。
可选地,所述根据所述第一字符和所述第三字符更新所述目标词库,包括:
向服务器发送查询请求,所述查询请求包括由所述第一字符和所述第三字符依次排列组成的待查询词语;
接收所述服务器发送的查询响应,所述查询响应是所述服务器查询所述服务器中的词库后生成的;
当所述查询响应指示所述服务器中的词库中存在所述待查询词语时,在所述目标词库中记录所述第一字符和所述第三字符的关联关系。
可选地,所述根据所述第一字符和所述第三字符更新所述目标词库,包括:
向用户呈现更新提示信息;
接收用户根据所述更新提示信息触发的更新指令,所述更新指令包括由所述第一字符和所述第三字符依次排列组成的待查询词语;
在所述目标词库中记录所述第一字符和所述第三字符的关联关系。
可选地,所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
控制所述目标按键标识指示的目标按键对应的按键灯开启并发出所述预设颜色的光线;
控制键盘上的除所述目标按键以外的按键对应的按键灯关闭。
可选地,键盘上的按键包括:功能按键,所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
控制所述目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
控制所述功能按键对应的按键灯发出第二预设颜色的光线;
控制所述键盘上的除所述目标按键和所述功能按键以外的按键对应的按键灯发出第三预设颜色的光线;
其中,所述第一预设颜色、所述第二预设颜色和所述第三预设颜色不同。
可选地,键盘上的按键包括:功能按键,所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
控制所述目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
控制所述功能按键对应的按键灯发出第二预设颜色的光线;
控制所述键盘上的除所述目标按键和所述功能按键以外的按键对应的按键灯关闭;
其中,所述第一预设颜色和所述第二预设颜色不同。
可选地,所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
控制所述目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线并闪烁。
可选地,所述第二字符组中包括至少两个第二字符,
所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
分别确定每个所述第二字符与所述第一字符的关联度,得到至少两个关联度;
控制每个所述第二字符对应的目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线;
其中,任一目标按键对应的按键灯发出的光线的强度与所述任一目标按键对应的第二字符与所述第一字符的关联度正相关。
可选地,所述第二字符组中包括至少两个第二字符,所述至少两个第二字符依次排列,
所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
根据所述至少两个第二字符的排列顺序依次控制每个所述第二字符对应的目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线。
根据本公开的第二方面,提供一种字符输入方法,所述方法包括:
接收按键灯开启指令,所述按键灯开启指令包括根据用户输入第一字符确定的与所述第一字符关联的第二字符组中的第二字符,所述第二字符组中包括至少一个所述第二字符;
根据所述按键灯开启指令查询字符与按键标识的对应关系,得到每个所述第二字符对应的目标按键标识;
控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,所述预设颜色的光线用于提示用户进行字符输入。
可选地,所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
控制所述目标按键标识指示的目标按键对应的按键灯开启并发出所述预设颜色的光线;
控制键盘上的除所述目标按键以外的按键对应的按键灯关闭。
可选地,键盘上的按键包括:功能按键,所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
控制所述目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
控制所述功能按键对应的按键灯发出第二预设颜色的光线;
控制所述键盘上的除所述目标按键和所述功能按键以外的按键对应的按键灯发出第三预设颜色的光线;
其中,所述第一预设颜色、所述第二预设颜色和所述第三预设颜色不同。
可选地,键盘上的按键包括:功能按键,所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
控制所述目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
控制所述功能按键对应的按键灯发出第二预设颜色的光线;
控制所述键盘上的除所述目标按键和所述功能按键以外的按键对应的按键灯关闭;
其中,所述第一预设颜色和所述第二预设颜色不同。
可选地,所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
控制所述目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线并闪烁。
可选地,所述第二字符组中包括至少两个第二字符,
所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
分别确定每个所述第二字符与所述第一字符的关联度,得到至少两个关联度;
控制每个所述第二字符对应的目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线;
其中,任一目标按键对应的按键灯发出的光线的强度与所述任一目标按键对应的第二字符与所述第一字符的关联度正相关。
可选地,所述第二字符组中包括至少两个第二字符,所述至少两个第二字符依次排列,
所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
根据所述至少两个第二字符的排列顺序依次控制每个所述第二字符对应的目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线。
根据本公开的第三方面,提供一种字符输入方法,所述方法包括:
接收用户输入的第一字符;
确定与所述第一字符关联的第二字符组,所述第二字符组中包括至少一个第二字符;
发送按键灯开启指令,所述按键灯开启指令包括所述第二字符组中的第二字符,以便于键盘根据所述按键灯开启指令查询字符与按键标识的对应关系,得到每个所述第二字符对应的目标按键标识,并控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,所述预设颜色的光线用于提示用户进行字符输入。
可选地,所述确定与所述第一字符关联的第二字符组,所述第二字符组中包括至少一个第二字符,包括:
确定目标词库,所述目标词库为与当前用户使用的输入法对应的词库或者根据用户输入的词汇建立的词库,所述目标词库用于记录不同字符间的关联关系;
根据所述第一字符查询所述目标词库,得到所述第二字符组。
可选地,所述方法还包括:
接收用户输入的第三字符;
判断所述第二字符组中是否存在与所述第三字符相同的字符;
当所述第二字符组中不存在与所述第三字符相同的字符时,根据所述第一字符和所述第三字符更新所述目标词库。
可选地,所述根据所述第一字符和所述第三字符更新所述目标词库,包括:
向服务器发送查询请求,所述查询请求包括由所述第一字符和所述第三字符依次排列组成的待查询词语;
接收所述服务器发送的查询响应,所述查询响应是所述服务器查询所述服务器中的词库后生成的;
当所述查询响应指示所述服务器中的词库中存在所述待查询词语时,在所述目标词库中记录所述第一字符和所述第三字符的关联关系。
可选地,所述根据所述第一字符和所述第三字符更新所述目标词库,包括:
向用户呈现更新提示信息;
接收用户根据所述更新提示信息触发的更新指令,所述更新指令包括由所述第一字符和所述第三字符依次排列组成的待查询词语;
在所述目标词库中记录所述第一字符和所述第三字符的关联关系。
根据本公开的第四方面,提供一种字符输入装置,所述装置包括:
第一接收模块,被配置为接收用户输入的第一字符;
确定模块,被配置为确定与所述第一字符关联的第二字符组,所述第二字符组中包括至少一个第二字符;
查询模块,被配置为查询字符与按键标识的对应关系,得到每个所述第二字符对应的目标按键标识;
控制模块,被配置为控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,所述预设颜色的光线用于提示用户进行字符输入。
可选地,所述确定模块,被配置为:
确定目标词库,所述目标词库为与当前用户使用的输入法对应的词库或者根据用户输入的词汇建立的词库,所述目标词库用于记录不同字符间的关联关系;
根据所述第一字符查询所述目标词库,得到所述第二字符组。
可选地,所述装置还包括:
第二接收模块,被配置为接收用户输入的第三字符;
判断模块,被配置为判断所述第二字符组中是否存在与所述第三字符相同的字符;
更新模块,被配置为当所述第二字符组中不存在与所述第三字符相同的字符时,根据所述第一字符和所述第三字符更新所述目标词库。
可选地,所述更新模块,被配置为:
向服务器发送查询请求,所述查询请求包括由所述第一字符和所述第三字符依次排列组成的待查询词语;
接收所述服务器发送的查询响应,所述查询响应是所述服务器查询所述服务器中的词库后生成的;
当所述查询响应指示所述服务器中的词库中存在所述待查询词语时,在所述目标词库中记录所述第一字符和所述第三字符的关联关系。
可选地,所述更新模块,被配置为:
向用户呈现更新提示信息;
接收用户根据所述更新提示信息触发的更新指令,所述更新指令包括由所述第一字符和所述第三字符依次排列组成的待查询词语;
在所述目标词库中记录所述第一字符和所述第三字符的关联关系。
可选地,所述控制模块,被配置为:
控制所述目标按键标识指示的目标按键对应的按键灯开启并发出所述预设颜色的光线;
控制键盘上的除所述目标按键以外的按键对应的按键灯关闭。
可选地,键盘上的按键包括:功能按键,所述控制模块,被配置为:
控制所述目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
控制所述功能按键对应的按键灯发出第二预设颜色的光线;
控制所述键盘上的除所述目标按键和所述功能按键以外的按键对应的按键灯发出第三预设颜色的光线;
其中,所述第一预设颜色、所述第二预设颜色和所述第三预设颜色不同。
可选地,键盘上的按键包括:功能按键,所述控制模块,被配置为:
控制所述目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
控制所述功能按键对应的按键灯发出第二预设颜色的光线;
控制所述键盘上的除所述目标按键和所述功能按键以外的按键对应的按键灯关闭;
其中,所述第一预设颜色和所述第二预设颜色不同。
可选地,所述控制模块,被配置为:
控制所述目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线并闪烁。
可选地,所述第二字符组中包括至少两个第二字符,
所述控制模块,被配置为:
分别确定每个所述第二字符与所述第一字符的关联度,得到至少两个关联度;
控制每个所述第二字符对应的目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线;
其中,任一目标按键对应的按键灯发出的光线的强度与所述任一目标按键对应的第二字符与所述第一字符的关联度正相关。
可选地,所述第二字符组中包括至少两个第二字符,所述至少两个第二字符依次排列,
所述控制模块,被配置为:
根据所述至少两个第二字符的排列顺序依次控制每个所述第二字符对应的目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线。
根据本公开的第五方面,提供一种字符输入装置,所述装置包括:
接收模块,被配置为接收按键灯开启指令,所述按键灯开启指令包括根据用户输入第一字符确定的与所述第一字符关联的第二字符组中的第二字符,所述第二字符组中包括至少一个所述第二字符;
查询模块,被配置为根据所述按键灯开启指令查询字符与按键标识的对应关系,得到每个所述第二字符对应的目标按键标识;
控制模块,被配置为控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,所述预设颜色的光线用于提示用户进行字符输入。
可选地,所述控制模块,被配置为:
控制所述目标按键标识指示的目标按键对应的按键灯开启并发出所述预设颜色的光线;
控制键盘上的除所述目标按键以外的按键对应的按键灯关闭。
可选地,键盘上的按键包括:功能按键,所述控制模块,被配置为:
控制所述目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
控制所述功能按键对应的按键灯发出第二预设颜色的光线;
控制所述键盘上的除所述目标按键和所述功能按键以外的按键对应的按键灯发出第三预设颜色的光线;
其中,所述第一预设颜色、所述第二预设颜色和所述第三预设颜色不同。
可选地,键盘上的按键包括:功能按键,所述控制模块,被配置为:
控制所述目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
控制所述功能按键对应的按键灯发出第二预设颜色的光线;
控制所述键盘上的除所述目标按键和所述功能按键以外的按键对应的按键灯关闭;
其中,所述第一预设颜色和所述第二预设颜色不同。
可选地,所述控制模块,被配置为:
控制所述目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线并闪烁。
可选地,所述第二字符组中包括至少两个第二字符,
所述控制模块,被配置为:
分别确定每个所述第二字符与所述第一字符的关联度,得到至少两个关联度;
控制每个所述第二字符对应的目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线;
其中,任一目标按键对应的按键灯发出的光线的强度与所述任一目标按键对应的第二字符与所述第一字符的关联度正相关。
可选地,所述第二字符组中包括至少两个第二字符,所述至少两个第二字符依次排列,
所述控制模块,被配置为:
根据所述至少两个第二字符的排列顺序依次控制每个所述第二字符对应的目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线。
根据本公开的第六方面,提供一种字符输入装置,所述装置包括:
第一接收模块,被配置为接收用户输入的第一字符;
确定模块,被配置为确定与所述第一字符关联的第二字符组,所述第二字符组中包括至少一个第二字符;
发送模块,被配置为发送按键灯开启指令,所述按键灯开启指令包括所述第二字符组中的第二字符,以便于键盘根据所述按键灯开启指令查询字符与按键标识的对应关系,得到每个所述第二字符对应的目标按键标识,并控制所述目标按键标识指示的目标按键对应的按键 灯发出预设颜色的光线,所述预设颜色的光线用于提示用户进行字符输入。
可选地,所述确定模块,被配置为:
确定目标词库,所述目标词库为与当前用户使用的输入法对应的词库或者根据用户输入的词汇建立的词库,所述目标词库用于记录不同字符间的关联关系;
根据所述第一字符查询所述目标词库,得到所述第二字符组。
可选地,所述装置还包括:
第二接收模块,被配置为接收用户输入的第三字符;
判断模块,被配置为判断所述第二字符组中是否存在与所述第三字符相同的字符;
更新模块,被配置为当所述第二字符组中不存在与所述第三字符相同的字符时,根据所述第一字符和所述第三字符更新所述目标词库。
可选地,所述更新模块,被配置为:
向服务器发送查询请求,所述查询请求包括由所述第一字符和所述第三字符依次排列组成的待查询词语;
接收所述服务器发送的查询响应,所述查询响应是所述服务器查询所述服务器中的词库后生成的;
当所述查询响应指示所述服务器中的词库中存在所述待查询词语时,在所述目标词库中记录所述第一字符和所述第三字符的关联关系。
可选地,所述更新模块,被配置为:
向用户呈现更新提示信息;
接收用户根据所述更新提示信息触发的更新指令,所述更新指令包括由所述第一字符和所述第三字符依次排列组成的待查询词语;
在所述目标词库中记录所述第一字符和所述第三字符的关联关系。
根据本公开的第七方面,提供一种字符输入装置,包括:
处理器;
用于存储所述处理器的可执行指令的存储器;
其中,所述处理器被配置为:
接收用户输入的第一字符;
确定与所述第一字符关联的第二字符组,所述第二字符组中包括至少一个第二字符;
查询字符与按键标识的对应关系,得到每个所述第二字符对应的目标按键标识;
控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,所述预设颜 色的光线用于提示用户进行字符输入。
根据本公开的第八方面,提供一种字符输入装置,包括:
处理器;
用于存储所述处理器的可执行指令的存储器;
其中,所述处理器被配置为:
接收按键灯开启指令,所述按键灯开启指令包括根据用户输入第一字符确定的与所述第一字符关联的第二字符组中的第二字符,所述第二字符组中包括至少一个所述第二字符;
根据所述按键灯开启指令查询字符与按键标识的对应关系,得到每个所述第二字符对应的目标按键标识;
控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,所述预设颜色的光线用于提示用户进行字符输入。
根据本公开的第九方面,提供一种字符输入装置,包括:
处理器;
用于存储所述处理器的可执行指令的存储器;
其中,所述处理器被配置为:
接收用户输入的第一字符;
确定与所述第一字符关联的第二字符组,所述第二字符组中包括至少一个第二字符;
发送按键灯开启指令,所述按键灯开启指令包括所述第二字符组中的第二字符,以便于键盘根据所述按键灯开启指令查询字符与按键标识的对应关系,得到每个所述第二字符对应的目标按键标识,并控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,所述预设颜色的光线用于提示用户进行字符输入。
根据本公开的第十方面,提供一种字符输入系统,所述系统包括:键盘和终端上的处理器,
所述键盘包括第五方面所述的字符输入装置;
所述终端上的处理器包括第六方面所述的字符输入装置。
根据本公开的第十一方面,提供一种字符输入系统,所述系统包括:键盘和终端上的处理器,
所述键盘包括第八方面所述的字符输入装置;
所述终端上的处理器包括第九方面所述的字符输入装置。
本公开的提供的技术方案可以包括以下有益效果:
本公开提供的字符输入方法、装置及系统,通过接收用户输入的第一字符;确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符;查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识;控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。本公开通过控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线来提示用户进行字符输入,解决了相关技术中输入效率较低且容易出现误输入的问题,达到了提高输入效率和避免误输入的效果。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。
附图说明
为了更清楚地说明本公开的实施例,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1-1是本公开实施例提供的字符输入方法所涉及的一种实施环境图;
图1-2是图1-1所示实施环境中的一种终端的结构示意图;
图1-3是图1-2所示的一种键盘的正视图;
图1-4是图1-3所示的一种键盘的剖面图;
图1-5是图1-1所示实施环境中的另一种终端的结构示意图;
图1-6是图1-5所示的一种终端的剖面图;
图2是根据一示例性实施例示出的一种字符输入方法的方法流程图;
图3是根据另一示例性实施例示出的一种字符输入方法的方法流程图;
图4是根据再一示例性实施例示出的一种字符输入方法的方法流程图;
图5-1是根据又一示例性实施例示出的一种字符输入方法的方法流程图;
图5-2是图5-1所示实施例提供的一种终端确定与第一字符关联的第二字符组的方法流程图;
图5-3是图5-1所示实施例提供的一种终端控制目标按键标识指示的目标按键对应的按键灯开启并发出预设颜色的光线的方法流程图;
图5-4是图5-3所示实施例提供的终端控制目标按键标识指示的目标按键对应的按键灯开启并发出预设颜色的光线的示意图;
图5-5是图5-1所示实施例提供的另一种终端控制目标按键标识指示的目标按键对应的 按键灯发出预设颜色的光线的方法流程图;
图5-6是图5-5所示实施例提供的终端控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的示意图;
图5-7是图5-1所示实施例提供的再一种终端控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的方法流程图;
图5-8是图5-7所示实施例提供的终端控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的示意图;
图5-9是图5-1所示实施例提供的又一种终端控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的方法流程图;
图5-10是图5-1所示实施例提供的又一种终端控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的方法流程图;
图5-11是图5-10所示实施例提供的终端控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的示意图;
图5-12是图5-1所示实施例提供的又一种终端控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的方法流程图;
图5-13是图5-1所示实施例提供的一种终端根据第一字符和第三字符更新目标词库的方法流程图;
图5-14是图5-1所示实施例提供的另一种终端根据第一字符和第三字符更新目标词库的方法流程图;
图6-1是根据还一示例性实施例示出的一种字符输入方法的方法流程图;
图6-2是图6-1所示实施例提供的一种终端确定与第一字符关联的第二字符组的方法流程图;
图6-3是图6-1所示实施例提供的一种键盘控制目标按键标识指示的目标按键对应的按键灯开启并发出预设颜色的光线的方法流程图;
图6-4是图6-1所示实施例提供的另一种键盘控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的方法流程图;
图6-5是图6-1所示实施例提供的再一种键盘控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的方法流程图;
图6-6是图6-1所示实施例提供的又一种键盘控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的方法流程图;
图6-7是图6-1所示实施例提供的又一种键盘控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的方法流程图;
图6-8是图6-1所示实施例提供的又一种键盘控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的方法流程图;
图6-9是图6-1所示实施例提供的一种终端根据第一字符和第三字符更新目标词库的方法流程图;
图6-10是图6-1所示实施例提供的另一种终端根据第一字符和第三字符更新目标词库的方法流程图;
图7是根据一示例性实施例示出的一种字符输入装置的框图;
图8是根据另一示例性实施例示出的一种字符输入装置的框图;
图9是根据再一示例性实施例示出的一种字符输入装置的框图;
图10是根据又一示例性实施例示出的一种字符输入装置的框图;
图11是根据还一示例性实施例示出的一种字符输入装置的框图;
图12是根据一示例性实施例示出的一种字符输入装置的框图;
图13是根据另一示例性实施例示出的一种字符输入装置的框图;
图14是根据再一示例性实施例示出的一种字符输入装置的框图;
图15是根据一示例性实施例示出的一种字符输入系统的框图。
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
具体实施方式
为了使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开作进一步地详细描述,显然,所描述的实施例仅仅是本公开一部份实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本公开保护的范围。
图1-1是本公开各个实施例所涉及的一种实施环境的示意图。参见图1-1,该实施环境中包括终端01和服务器02,终端01与服务器02之间可以通过有线网络或者无线网络连接,其中,该无线网络可以包括但不限于:无线保真(英文:Wireless Fidelity,简称:WIFI)、蓝牙、红外、紫蜂(英文:Zigbee)、数据等,本公开实施例对此不做限定。
在本公开实施例中,终端01是设置有键盘的终端,用户可以通过键盘向终端01输入字符。比如,终端可以是设置有键盘的手机、台式计算机、膝上型便携计算机、笔记本电脑、智能电视机、智能穿戴设备等。服务器02可以是一台服务器,或者由若干台服务器组成的服务器集群,或者是一个云计算服务中心,本公开实施例对此不做限定。
终端01可以存储词库,服务器02也可以存储词库,其中,词库用于记录不同字符间的关联关系,且服务器02存储的词库比终端01存储的词库丰富,当终端01存储的词库中未记录预设词语的字符之间的关联关系时,终端01可以与服务器02进行交互,更新自身存储的词库。
在本公开实施例中,键盘通常都设置都有键盘灯,键盘灯发出的光线的颜色通常可以调节,当用户通过键盘进行字符输入时,终端01可以控制键盘灯打开。当键盘灯打开时,键盘灯发出的光线照亮键盘,当用户当前所处环境中的光线较暗时,键盘灯发出的光线可以方便用户输入,其中,终端01可以根据用户所处环境中的光线的明暗程度将键盘灯发出的光线的颜色调节为预设颜色,使得照亮键盘的光线的颜色适宜用户在当前所处环境中进行输入。
示例地,如图1-2所示,其示出的是图1-1所示实施环境所涉及的一种终端01的结构示意图。该图1-2以终端01为电脑为例进行说明。参见图1-2,终端01包括:终端本体011和与终端本体011连接的键盘012,键盘012通过信号线013与终端本体011连接,且键盘012与终端本体011交互的接口可以为通用串行总线(英文:Universal Serial Bus;简称:USB)接口。
请参考图1-3,其示出的是图1-2所示的一种键盘012的正视图,参见图1-3,键盘012可以包括至少一个按键0121,每个按键0121可以对应一个按键灯(图1-3中未画出),在任一按键灯被打开时,任一按键灯能够照亮与任一按键灯对应的按键0121。示例地,键盘012可以包括壳体0122,至少一个按键0121设置在壳体0122上。参见图1-3,至少一个按键0121可以包括字符按键01211和功能按键01212,字符按键01211可以为设置有字母的按键或者设置有字根的按键,功能按键01212为键盘012的按键中除了字符按键01211以外的按键,比如,功能按键01212可以包括设置有数字的按键,设置有标点符号的按键、设置有空格的按键等,本公开实施例对此不做限定。
可选地,请参考图1-4,其示出的是图1-3所示的键盘012的一种剖面图,参见图1-4,键盘012可以包括壳体0122和设置在壳体0122上的至少一个按键0121(图1-4中画出了两个按键),每个按键0121可以对应一个按键灯0123,在任一按键灯0123被打开时,任一按 键灯0123能够照亮与任一按键灯0123对应的按键0121,任一按键灯0123设置在壳体0122的内部,且位于任一按键灯0123对应的按键0121的下方。
示例地,如图1-5所示,其示出的是图1-1所示实施环境所涉及的另一种终端01的结构示意图。该图1-5以终端01为手机为例进行说明。参见图1-5,终端01可以包括:终端本体011和与终端本体011连接的键盘012,示例地,终端本体011可以包括外壳0111和设置在外壳0111上的前面板0112,键盘012设置在前面板0112上。
键盘012可以包括至少一个按键0121,每个按键0121可以对应一个按键灯(图1-5中未画出),在任一按键灯被打开时,任一按键灯能够照亮与任一按键灯对应的按键0121。参见图1-5,至少一个按键0121可以包括字符按键01211和功能按键01212,字符按键01211可以为设置有字母的按键或者设置有字根的按键,功能按键01212为键盘012的按键中除了字符按键01211以外的按键,比如,功能按键01212可以包括设置有数字的按键,设置有标点符号的按键、设置有空格的按键等,本公开实施例对此不做限定。可选的,本公开实施例中的键盘012也可以为软件的键盘模块,由终端的显示屏显示形成的,其显示界面可以如图1-5所示。
可选地,请参考图1-6,其示出的是图1-5所示的终端01的一种剖面图,参见图1-6,终端本体011可以包括外壳0111和设置在外壳0111上的前面板0112,键盘012设置在前面板0112上,任一按键灯023设置在外壳0111的内部,且位于外壳0111和与任一按键灯023对应的按键0121之间。
需要说明的是,如图1-6所示,外壳0111和前面板0112之间形成空腔O,该空腔O用于放置终端01的芯片等其他硬件结构,本公开实施例对此不做限定。
,
图2是根据一示例性实施例示出的一种字符输入方法的方法流程图,本实施例以该字符输入方法应用于图1-1所示实施环境中的终端01中来进行举例说明,参见图2,该字符输入方法可以包括如下几个步骤:
在步骤201中,接收用户输入的第一字符。
在步骤202中,确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符。
在步骤203中,查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识。
在步骤204中,控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。
综上所述,本公开实施例提供的字符输入方法,通过接收用户输入的第一字符,确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符,查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识,控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。本公开实施例通过控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线来提示用户进行字符输入,解决了相关技术中输入效率较低且容易出现误输入的问题,达到了提高输入效率和避免误输入的效果。
可选地,步骤202可以包括:
确定目标词库,目标词库为与当前用户使用的输入法对应的词库或者根据用户输入的词汇建立的词库,目标词库用于记录不同字符间的关联关系;
根据第一字符查询目标词库,得到第二字符组。
可选地,在步骤204之后,该方法还包括:
接收用户输入的第三字符;
判断第二字符组中是否存在与第三字符相同的字符;
当第二字符组中不存在与第三字符相同的字符时,根据第一字符和第三字符更新目标词库。
可选地,根据第一字符和第三字符更新目标词库,包括:
向服务器发送查询请求,查询请求包括由第一字符和第三字符依次排列组成的待查询词语;
接收服务器发送的查询响应,查询响应是服务器查询服务器中的词库后生成的;
当查询响应指示服务器中的词库中存在待查询词语时,在目标词库中记录第一字符和第三字符的关联关系。
可选地,根据第一字符和第三字符更新目标词库,包括:
向用户呈现更新提示信息;
接收用户根据更新提示信息触发的更新指令,更新指令包括由第一字符和第三字符依次排列组成的待查询词语;
在目标词库中记录第一字符和第三字符的关联关系。
可选地,步骤204可以包括:
控制目标按键标识指示的目标按键对应的按键灯开启并发出预设颜色的光线;
控制键盘上的除目标按键以外的按键对应的按键灯关闭。
可选地,键盘上的按键包括:功能按键,步骤204可以包括:
控制目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
控制功能按键对应的按键灯发出第二预设颜色的光线;
控制键盘上的除目标按键和功能按键以外的按键对应的按键灯发出第三预设颜色的光线;
其中,第一预设颜色、第二预设颜色和第三预设颜色不同。
可选地,键盘上的按键包括:功能按键,步骤204可以包括:
控制目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
控制功能按键对应的按键灯发出第二预设颜色的光线;
控制键盘上的除目标按键和功能按键以外的按键对应的按键灯关闭;
其中,第一预设颜色和第二预设颜色不同。
可选地,步骤204可以包括:
控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线并闪烁。
可选地,第二字符组中包括至少两个第二字符,步骤204可以包括:
分别确定每个第二字符与第一字符的关联度,得到至少两个关联度;
控制每个第二字符对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线;
其中,任一目标按键对应的按键灯发出的光线的强度与任一目标按键对应的第二字符与第一字符的关联度正相关。
可选地,第二字符组中包括至少两个第二字符,至少两个第二字符依次排列,步骤204可以包括:
根据至少两个第二字符的排列顺序依次控制每个第二字符对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线。
上述所有可选技术方案,可以采用任意结合形成本公开的可选实施例,在此不再一一赘述。
综上所述,本公开实施例提供的字符输入方法,通过接收用户输入的第一字符,确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符,查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识,控制目标按键标识指示的目标按键对应 的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。本公开实施例通过控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线来提示用户进行字符输入,解决了相关技术中输入效率较低且容易出现误输入的问题,达到了提高输入效率和避免误输入的效果。
图3是根据另一示例性实施例示出的一种字符输入方法的方法流程图,本实施例以该字符输入方法应用于图1-1所示实施环境中的终端01中来进行举例说明。参见图3,该字符输入方法可以包括如下几个步骤:
在步骤301中,接收按键灯开启指令,按键灯开启指令包括根据用户输入第一字符确定的与第一字符关联的第二字符组中的第二字符,第二字符组中包括至少一个第二字符。
在步骤302中,根据按键灯开启指令查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识。
在步骤303中,控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。
综上所述,本公开实施例提供的字符输入方法,通过接收按键灯开启指令,按键灯开启指令包括根据用户输入第一字符确定的与第一字符关联的第二字符组中的第二字符,第二字符组中包括至少一个第二字符,根据按键灯开启指令查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识,控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。本公开实施例通过控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线来提示用户进行字符输入,解决了相关技术中输入效率较低且容易出现误输入的问题,达到了提高输入效率和避免误输入的效果。
可选地,步骤303可以包括:
控制目标按键标识指示的目标按键对应的按键灯开启并发出预设颜色的光线;
控制键盘上的除目标按键以外的按键对应的按键灯关闭。
可选地,键盘上的按键包括:功能按键,步骤303可以包括:
控制目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
控制功能按键对应的按键灯发出第二预设颜色的光线;
控制键盘上的除目标按键和功能按键以外的按键对应的按键灯发出第三预设颜色的光线;
其中,第一预设颜色、第二预设颜色和第三预设颜色不同。
可选地,键盘上的按键包括:功能按键,步骤303可以包括:
控制目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
控制功能按键对应的按键灯发出第二预设颜色的光线;
控制键盘上的除目标按键和功能按键以外的按键对应的按键灯关闭;
其中,第一预设颜色和第二预设颜色不同。
可选地,步骤303可以包括:
控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线并闪烁。
可选地,第二字符组中包括至少两个第二字符,步骤303可以包括:
分别确定每个第二字符与第一字符的关联度,得到至少两个关联度;
控制每个第二字符对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线;
其中,任一目标按键对应的按键灯发出的光线的强度与任一目标按键对应的第二字符与第一字符的关联度正相关。
可选地,第二字符组中包括至少两个第二字符,至少两个第二字符依次排列,步骤303可以包括:
根据至少两个第二字符的排列顺序依次控制每个第二字符对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线。
上述所有可选技术方案,可以采用任意结合形成本公开的可选实施例,在此不再一一赘述。
综上所述,本公开实施例提供的字符输入方法,通过接收按键灯开启指令,按键灯开启指令包括根据用户输入第一字符确定的与第一字符关联的第二字符组中的第二字符,第二字符组中包括至少一个第二字符,根据按键灯开启指令查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识,控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。本公开实施例通过控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线来提示用户进行字符输入,解决了相关技术中输入效率较低且容易出现误输入的问题,达到了提高输入效率和避免误输入的效果。
图4是根据再一示例性实施例示出的一种字符输入方法的方法流程图,本实施例以该字 符输入方法应用于图1所示实施环境中的终端01中来进行举例说明。参见图4,该字符输入方法可以包括如下几个步骤:
在步骤401中,接收用户输入的第一字符。
在步骤402中,确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符。
在步骤403中,发送按键灯开启指令,按键灯开启指令包括第二字符组中的第二字符,以便于键盘根据按键灯开启指令查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识,并控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。
综上所述,本公开实施例提供的字符输入方法,通过接收用户输入的第一字符,确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符,发送按键灯开启指令,按键灯开启指令包括第二字符组中的第二字符,以便于键盘根据按键灯开启指令查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识,并控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。本公开实施例通过控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线来提示用户进行字符输入,解决了相关技术中输入效率较低且容易出现误输入的问题,达到了提高输入效率和避免误输入的效果。
可选地,步骤402可以包括:
确定目标词库,目标词库为与当前用户使用的输入法对应的词库或者根据用户输入的词汇建立的词库,目标词库用于记录不同字符间的关联关系;
根据第一字符查询目标词库,得到第二字符组
可选地,在步骤403之后,该方法还包括:
接收用户输入的第三字符;
判断第二字符组中是否存在与第三字符相同的字符;
当第二字符组中不存在与第三字符相同的字符时,根据第一字符和第三字符更新目标词库。
可选地,根据第一字符和第三字符更新目标词库,包括:
向服务器发送查询请求,查询请求包括由第一字符和第三字符依次排列组成的待查询词语;
接收服务器发送的查询响应,查询响应是服务器查询服务器中的词库后生成的;
当查询响应指示服务器中的词库中存在待查询词语时,在目标词库中记录第一字符和第三字符的关联关系。
可选地,根据第一字符和第三字符更新目标词库,包括:
向用户呈现更新提示信息;
接收用户根据更新提示信息触发的更新指令,更新指令包括由第一字符和第三字符依次排列组成的待查询词语;
在目标词库中记录第一字符和第三字符的关联关系。
上述所有可选技术方案,可以采用任意结合形成本公开的可选实施例,在此不再一一赘述。
综上所述,本公开实施例提供的字符输入方法,通过接收用户输入的第一字符,确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符,发送按键灯开启指令,按键灯开启指令包括第二字符组中的第二字符,以便于键盘根据按键灯开启指令查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识,并控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。本公开实施例通过控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线来提示用户进行字符输入,解决了相关技术中输入效率较低且容易出现误输入的问题,达到了提高输入效率和避免误输入的效果。
图5-1是根据又一示例性实施例示出的一种字符输入方法的方法流程图,本实施例以该字符输入方法应用于图1-1所示实施环境中,以键盘有处理功能为例来进行举例说明,当键盘为终端的外连设备时,该键盘上设置有处理器或处理集成电路(英文:Integrated Circuit;简称:IC),能够通过终端的输入输出接口与终端的处理器进行信息交互,当键盘为终端内部的设备时,该键盘连接有独立的处理器或处理IC,该处理器或处理IC与终端的处理器连接。参见图5-1,该字符输入方法可以包括如下几个步骤:
在步骤501中,终端接收用户输入的第一字符。
其中,第一字符的类型可以包括:字母和笔画中的任意一种,本公开实施例对此不做限定,本公开实施例以第一字符的类型为字母为例进行说明。
在本公开实施例中,用户可以通过操作终端的键盘上的字符按键触发字符输入指令,该字符输入指令可以携带用户操作的按键上设置的字符,该字符即为第一字符,终端可以接收并解析该字符输入指令得到该第一字符,终端实现对第一字符的接收。
示例地,假设用户当前操作的是图1-3所示的键盘012上的设置有字符“h”的按键, 则用户触发的字符输入指令可以携带字符“h”,终端可以解析该字符输入指令得到该字符“h”,该字符“h”也即为第一字符。
在步骤502中,终端确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符。
其中,第二字符的类型和第一字符的类型相同,也即,当第一字符的类型为字母时,第二字符的类型为字母,当第一字符的类型为笔画时,第二字符的类型为笔画,在本公开实施例中,由于第一字符的类型为字母,因此,第二字符的类型为字母。
示例地,请参考图5-2,其示出的是图5-1所示实施例提供的一种终端确定与第一字符关联的第二字符组的方法流程图,参见图5-2,该方法流程可以包括如下几个步骤:
在子步骤5021中,终端确定目标词库,目标词库为与当前用户使用的输入法对应的词库或者根据用户输入的词汇建立的词库,目标词库用于记录不同字符间的关联关系。
在本公开实施例中,不同的输入法对应的词库可能不同,因此,针对不同的输入法终端确定的与第一字符关联的第二字符组不同,因此,终端可以先确定目标词库,然后在目标词库中确定与第一字符关联的第二字符组,其中,该目标词库用于记录不同字符间的关联关系。需要说明的是,在本公开实施例中,输入法可以包括但不限于:五笔输入法、搜狗输入法、百度输入法、全拼输入法等,本公开实施例对此不做限定。
示例地,用户在向终端输入第一字符之前,可以选择输入法,用户选择输入法时可以触发输入法选择指令,该输入法选择指令中携带用户所选择的目标输入法,终端可以接收用户触发的输入法选择指令,解析该输入法选择指令得到用户所选择的目标输入法。终端可以存储输入法与词库的对应关系,当终端得到用户所选择的目标输入法时,终端查询自身存储的输入法与词库的对应关系,得到用户所选择的目标输入法所对应的目标词库。
示例地,终端存储的输入法与词库的对应关系可以如下表1所示:
表1
输入法 词库
五笔输入法 词库1
百度输入法 词库2
搜狗输入法 词库3
全拼输入法 词库4
...... ......
假设用户选择的目标输入法为搜狗输入法,则终端根据该目标输入法查询表1所示的对应关系可以得到目标输入法对应的词库为词库3,因此,终端将词库作为目标词库。
在子步骤5022中,终端根据第一字符查询目标词库,得到第二字符组。
终端确定目标词库后,可以根据第一字符查询目标词库,得到第二字符组。示例地,终端根据第一字符“h”查询词库3,得到第二字符组。
在本公开实施例中,目标词库用于记录不同字符间的关联关系。可选地,目标词库中记录了字符以及不同字符间的关联度。示例地,在本公开实施例中,目标词库可以如下表2所示:
表2(词库3)
Figure PCTCN2015099689-appb-000001
示例地,终端根据第一字符“h”查询表2所示的词库3,可以得到第二字符组,该第二字符组中包括第二字符“e”、“i”和“a”,其中,第二字符“e”与第一字符“h”的关联度为90%,第二字符“i”与第一字符“h”的关联度为60%,第二字符“a”与第一字符“h”的关联度为20%,且第一字符“h”与第二字符“e”依次排列组成的词汇可能是英文单词“hello”,第一字符“h”与二字符“i”依次排列组成的词汇可能是英文单词“hi”,第一字符“h”与二字符“a”依次排列组成的词汇可能是英文单词“ha”。
需要说明的是,在本公开实施例中,终端可以根据用户的输入习惯等调整字符间的关联度,以上表2为例,当终端检测到用户在某段时间内输入词汇“hi”的概率较高时,终端可以对第二字符“i”与第一字符“h”的关联度进行调整,示例地,终端将第二字符“i”与第一字符“h”的关联度调整为100%等。本公开实施例对此不做限定。
还需要说明的是,本公开实施例提供的目标词库仅是示例性的,并不能用以限制本公开,实际应用中,目标词库中的字符的个数远远大于表2所示。
还需要说明的是,本公开实施例是以第一字符和第二字符的类型都为字母为例进行说明的,实际应用中,第一字符和第二字符的类型可以都为笔画(也即,字根),此时,终端获取到第一字符后,可以确定第一字符对应的第一汉字,然后在目标词库中确定能够与第一汉字构成词语的第二汉字,进而确定出第二汉字的字根,将第二汉字的字根作为第二字符,其中,当第一字符和第二字符的类型都为笔画时,终端获取第二字符的过程可以参考相关技术,本公开实施例在此不再赘述。
在步骤503中,终端查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识。
在本公开实施例中,键盘的按键上可以设置字符,终端可以存储字符与按键标识的对应关系,终端可以查询该字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识。示例地,终端存储的字符与按键标识的对应关系可以如下表3所示:
表3
字符 按键标识
a ID-A
b ID-B
e ID-E
i ID-I
h ID-H
...... ......
终端查询表3所示的对应关系,可以得到第二字符“e”对应的目标按键标识为ID-E,第二字符“i”对应的目标按键标识为ID-I,第二字符“a”对应的目标按键标识为ID-A。
在步骤504中,终端控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。
终端确定每个第二字符对应的目标按键标识后,可以控制每个目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线。示例地,终端可以先确定每个目标按键标识指示的目标按键对应的按键灯,然后再控制该按键灯发出预设颜色的光线。
在本公开实施例中,终端还可以存储按键标识与按键灯标识的对应关系,终端可以根据目标按键标识查询按键标识与按键灯标识的对应关系得到目标按键标识对应的目标按键灯标识,进而控制该目标按键灯标识指示的按键灯发出预设颜色的光线。
示例地,终端存储的按键标识与按键灯标识的对应关系可以如下表4所示:
表4
按键标识 按键灯标识
ID-A ID-1
ID-B ID-2
ID-E ID-3
ID-I ID-4
ID-H ID-5
...... ......
终端查询表4所示的对应关系可以得到目标按键标识ID-E对应的目标按键灯标识为ID-3,目标按键标识ID-I对应的目标按键灯标识为ID-4,目标按键标识ID-A对应的目标按键灯标识为ID-1,进而,终端控制目标按键灯标识ID-3指示的目标按键灯、目标按键灯标识ID-4指示的目标按键灯和目标按键灯标识ID-1指示的目标按键灯发出预设颜色的光线。
其中,预设颜色可以为黄色、绿色、红色、白色、蓝色等,本公开实施例对此不做限定。在本公开实施例中,每个按键对应一个按键灯,任意一个按键灯用于照亮与该任意一个按键灯对应的按键,且任意两个按键灯发出的光线的颜色可以相同,也可以不同,本公开实施例对此不做限定。终端可以通过控制目标按键标识指示的目标按键对应的按键灯开启并发出预设颜色的光线,键盘上的除了目标按键以外的按键对应的按键灯关闭来使得目标按键与键盘上的除了目标按键以外的按键的光线差异较大,实现对用户的提示;或者,终端也可以通过控制目标按键标识指示的目标按键对应的按键灯发出的光线的颜色与键盘上的除了目标按键以外的按键对应的按键灯发出的光线的颜色不同来使得目标按键与键盘上的除了目标按键以外的按键的光线差异较大,实现对用户的提示;或者,终端还可以通过控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线并闪烁,实现对用户的提示;或者,终端还可以通过控制目标按键标识指示的目标按键对应的按键灯发出的光线的强度,实现对用户的提示;或者,终端还可以根据至少两个第二字符的排列顺序依次控制每个第二字符对应 的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,实现对用户的提示,本公开实施例对此不做限定。
示例地,请参考图5-3,其示出的是图5-1所示实施例提供的一种终端控制目标按键标识指示的目标按键对应的按键灯开启并发出预设颜色的光线的方法流程图,参见图5-3,该方法流程可以包括如下几个步骤:
在子步骤5041a中,终端控制目标按键标识指示的目标按键对应的按键灯开启并发出预设颜色的光线。
终端可以闭合目标按键标识指示的目标按键对应的按键灯(目标按键灯)的开关,使得目标按键标识指示的目标按键对应的按键灯开启。示例地,终端分别闭合目标按键标识ID-E指示的目标按键对应的按键灯的开关、目标按键标识ID-I指示的目标按键对应的按键灯的开关和目标按键标识ID-A指示的目标按键对应的按键灯的开关,使得目标按键标识ID-E指示的目标按键对应的按键灯、目标按键标识ID-I指示的目标按键对应的按键灯和目标按键标识ID-A指示的目标按键对应的按键灯开启。
示例地,在本公开实施例中,预设颜色可以是预先设置的,每个按键灯可以发出一种颜色的光线,可以预先设置好每个按键灯发出的光线的颜色,终端可以通过控制目标按键标识指示的目标按键对应的按键灯的开关的闭合来使得目标按键对应的按键灯开启并发出预设颜色的光线。比如,终端分别控制设置有第二字符“e”、“i”和“a”的每个目标按键对应的按键灯的开关闭合,使得设置有第二字符“e”、“i”和“a”的每个目标按键对应的按键灯分别开启并发出预设颜色的光线。
再示例地,每个按键对应的按键灯可以发出多种颜色的光线,光线的颜色可以由按键灯的供电电压进行控制,因此,终端可以通过控制目标按键标识指示的目标按键对应的按键灯的供电电压来使得目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线。其中,终端控制目标按键标识指示的目标按键对应的按键灯的供电电压的实现过程可以参考相关技术,本公开实施例在此不再赘述。比如,终端分别控制设置有第二字符“e”、“i”和“a”的每个目标按键对应的按键灯的供电电压,使得设置有第二字符“e”、“i”和“a”的每个目标按键对应的按键灯分别发出预设颜色的光线。
又示例地,每个按键对应一个按键灯组,每个按键灯组中包括至少一个按键灯,每个按键灯可以发出一种颜色的光线,且每个按键灯对应一个开关,终端可以通过控制目标按键标识指示的目标按键对应的按键灯组中的一个按键灯对应的开关闭合,使得目标按键标识指示的目标按键对应的按键灯组中的一个按键灯发出预设颜色的光线,进而使得目标按键标识指 示的目标按键对应的按键灯组发出预设颜色的光线。比如,终端分别控制设置有第二字符“e”、“i”和“a”的每个目标按键对应的按键灯组中的一个按键灯的开关闭合,使得设置有第二字符“e”、“i”和“a”的每个目标按键对应的按键灯组中的一个按键灯发出预设颜色的光线,进而使得设置有第二字符“e”、“i”和“a”的每个目标按键对应的按键灯分别发出预设颜色的光线。
在子步骤5042a中,终端控制键盘上的除目标按键以外的按键对应的按键灯关闭。
终端可以断开键盘上的除目标按键以外的按键对应的按键灯的开关,使得键盘上的除目标按键以外的按键对应的按键灯关闭。示例地,终端断开键盘上的除设置有第二字符“e”、“i”和“a”的目标按键以外的按键对应的按键灯的开关,使得键盘上的除设置有第二字符“e”、“i”和“a”的目标按键以外的按键对应的按键灯关闭。
可选地,如图5-4所示,其示出的是图5-3所示的终端控制目标按键标识指示的目标按键对应的按键灯开启并发出预设颜色的光线的示意图,参见图5-4,键盘012上设置有第二字符“e”、“i”和“a”的目标按键对应的按键灯开启,且发出预设颜色的光线,键盘012上除设置有第二字符“e”、“i”和“a”的目标按键以外的按键对应的按键灯关闭。需要说明的是,该图5-4中以按键设置有充填图形表示按键对应的按键灯开启,按键未设置有充填图形表示按键对应的按键灯关闭。
在本公开实施例中,键盘上的按键可以包括:功能按键,该功能按键可以包括设置有数字的按键,设置有标点符号的按键、设置有空格的按键等,本公开实施例对此不做限定。示例地,请参考图5-5,其示出的是图5-1所示实施例提供的另一种终端控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的方法流程图,参见图5-5,该方法流程可以包括如下几个步骤:
在子步骤5041b中,终端控制目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线。
在子步骤5042b中,终端控制功能按键对应的按键灯发出第二预设颜色的光线。
在子步骤5043b中,终端控制键盘上的除目标按键和功能按键以外的按键对应的按键灯发出第三预设颜色的光线。
其中,第一预设颜色、第二预设颜色和第三预设颜色不同。
该子步骤5041b至子步骤5043b的实现过程可以参考图5-3所示实施例中的子步骤5041a,本公开实施例在此不再赘述。示例地,请参考图5-6,其示出的是图5-5所示实施例提供的终端控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的示意图, 参见图5-6,键盘012上设置有第二字符“e”、“i”和“a”的目标按键对应的按键灯开启且发出第一预设颜色的光线,键盘012上的功能按键对应的按键灯开启且发出第二预设颜色的光线,键盘012上除设置有第二字符“e”、“i”和“a”的目标按键和功能按键以外的按键对应的按键灯开启且发出第三预设颜色的光线。需要说明的是,该图5-6中以各个按键的充填图形的不同来区别第一预设颜色、第二预设颜色和第三预设颜色。
在本公开实施例中,键盘上的按键可以包括:功能按键,该功能按键可以包括设置有数字的按键,设置有标点符号的按键、设置有空格的按键等,本公开实施例对此不做限定。示例地,请参考图5-7,其示出的是图5-1所示实施例提供的再一种终端控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的方法流程图,参见图5-7,该方法流程可以包括如下几个步骤:
在子步骤5041c中,终端控制目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线。
在子步骤5042c中,终端控制功能按键对应的按键灯发出第二预设颜色的光线。
其中,第一预设颜色和第二预设颜色不同。
在本公开实施例中,该子步骤5041c和子步骤5042c的实现过程可以参考图5-3所示实施例中的子步骤5041a,本公开实施例在此不再赘述。
在子步骤5043c中,终端控制键盘上的除目标按键和功能按键以外的按键对应的按键灯关闭。
该子步骤5043c的实现过程可以参考图5-3所示实施例中的子步骤5042a,本公开实施例在此不再赘述。
示例地,请参考图5-8,其示出的是图5-7所示实施例提供的终端控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的示意图,参见图5-8,键盘012上设置有第二字符“e”、“i”和“a”的目标按键对应的按键灯开启且发出第一预设颜色的光线,键盘012上的功能按键对应的按键灯开启且发出第二预设颜色的光线,键盘012上除设置有第二字符“e”、“i”和“a”的目标按键和功能按键以外的按键对应的按键灯关闭。需要说明的是,该图5-8中以按键的充填图形的不同来区别第一预设颜色和第二预设颜色,以按键未设置充填图形表示按键对应的按键灯关闭。
可选地,在本公开实施例中,终端控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线还可以包括:终端控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线并闪烁。示例地,请参考图5-9,其示出的是图5-1所示实施例提供的又一种终 端控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的方法流程图,参见图5-9,该方法流程可以包括如下几个步骤:
在子步骤5041d中,终端控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线并闪烁。
示例地,终端分别控制设置有第二字符“e”、“i”和“a”的目标按键对应的按键灯发出预设颜色的光线并闪烁。其中,终端可以通过间歇式闭合、断开目标按键标识指示的目标按键对应的按键灯的开关来使得目标按键标识指示的目标按键对应的按键灯闪烁,本公开实施例对此不做限定。
在本公开实施例中,第二字符组中包括至少两个第二字符,每个第二字符与第一字符的关联度可以不同,终端可以根据第二字符与第一字符的关联度控制第二字符对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线。示例地,请参考图5-10,其示出的是图5-1所示实施例提供的又一种终端控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的方法流程图,参见图5-10,该方法流程可以包括如下几个步骤:
在子步骤5041e中,终端分别确定每个第二字符与第一字符的关联度,得到至少两个关联度。
终端可以确定每个第二字符与第一字符的关联度,得到至少两个关联度,在本公开实施例中,由于第二字符为3个,因此,终端可以得到至少3个关联度。
其中,参见步骤502可知,终端存储的词库中记录了第一字符和第二字符的关联度,因此,终端查询表2所示的对应关系就可以确定每个第二字符与第一字符的关联度。参见表2可知,第二字符“e”与第一字符“h”的关联度为90%,第二字符“i”与第一字符“h”的关联度为60%,第二字符“a”与第一字符“h”的关联度为20%。
在子步骤5042e中,终端控制每个第二字符对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,任一目标按键对应的按键灯发出的光线的强度与任一目标按键对应的第二字符与第一字符的关联度正相关。
终端得到至少3个关联度后,可以对该至少3个关联度进行比较,确定出该至少3个关联度的大小顺序,进而根据该至少3个关联度的大小顺序,控制设置有对应的第二字符的目标按键对应的按键灯发出预设颜色的光线,并使得任一目标按键对应的按键灯发出的光线的强度与任一目标按键对应的第二字符与第一字符的关联度正相关。
示例地,参见子步骤5041e可知,第二字符“e”与第一字符“h”的关联度为90%,第二字符“i”与第一字符“h”的关联度为60%,第二字符“a”与第一字符“h”的关联度为 20%,由于90%大于60%,且60%大于20%,因此,终端分别控制设置有第二字符“e”、“i”和“a”的目标按键对应的按键灯发出预设颜色的光线,并使得设置有第二字符“e”的目标按键对应的按键灯发出的光线的强度大于设置有第二字符“i”的目标按键对应的按键灯发出的光线的强度,设置有第二字符“i”的目标按键对应的按键灯发出的光线的强度大于设置有第二字符“a”的目标按键对应的按键灯发出的光线的强度。
示例地,请参考图5-11,其示出的是图5-10所示实施例提供的终端控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的示意图,参见图5-11,键盘012上设置有第二字符“e”、“i”和“a”的目标按键对应的按键灯开启并发出预设颜色的光线,且设置有第二字符“e”的按键对应的按键灯发出的光线的强度大于设置有第二字符“i”的按键对应的按键灯发出的光线的强度,设置有第二字符“i”的按键对应的按键灯发出的光线的强度大于设置有第二字符“a”的按键对应的按键灯发出的光线的强度。需要说明的是,该图5-11中以各个目标按键的充填图形的密度的不同来区别目标按键对应的按键灯发出的光线的强度。
在本公开实施例中,第二字符组中包括至少两个第二字符,至少两个第二字符依次排列,比如,至少两个第二字符按照第二字符与第一字符的关联度从大到小的顺序排列,则终端可以根据至少两个第二字符的排列顺序控制第二字符对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线。示例地,请参考图5-12,其示出的是图5-1所示实施例提供的又一种终端控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的方法流程图,参见图5-12,该方法流程可以包括如下几个步骤:
在子步骤5041f中,终端根据至少两个第二字符的排列顺序依次控制每个第二字符对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线。
假设至少两个第二字符按照第二字符与第一字符的关联度从大到小的顺序排列,则与第一字符关联的第二字符的排列顺序可以为“e”、“i”和“a”,则终端依次控制每个第二字符对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线。比如,终端先控制第二字符“e”对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,隔预设时间段(比如0.5秒)后,终端控制第二字符“e”对应的目标按键标识指示的目标按键对应的按键灯关闭,并控制第二字符“i”对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,再隔预设时间段后,终端控制第二字符“i”对应的目标按键标识指示的目标按键对应的按键灯关闭,并控制第二字符“a”对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,依次循环。
在步骤505中,终端接收用户输入的第三字符。
终端控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线后,用户可以根据终端的提示进行字符输入。示例地,用户操作键盘上设置有第三字符的按键触发字符输入指令,该字符输入指令可以携带第三字符,终端可以接收并解析该字符输入指令得到该第三字符,终端实现对第三字符的接收。
需要说明的是,在本公开实施例中,用户输入的第三字符可以是第二字符组中的字符,也可以不是第二字符组中的字符,当用户输入的第三字符不是第二字符组中的字符时,终端存储的目标词库中可能不包括由第一字符和第三字符排列组成的词语。
在步骤506中,终端判断第二字符组中是否存在与第三字符相同的字符。
终端接收到第三字符后,可以判断第二字符组中是否存在与第三字符相同的字符,其中,终端可以根据第三字符查询第二字符组,来判断第二字符组中是否存在与第三字符相同的字符。
示例地,假设第三字符为“u”,则终端根据第三字符“u”查询第二字符组,由于第二字符组中的字符为“e”、“i”和“a”,因此,终端可以确定第二字符组中不存在与第三字符相同的字符。
需要说明的是,本公开实施例是以第三字符为“u”为例进行说明的,当第三字符为“a”时,终端查询第二字符组可以确定第二字符组中存在与第三字符相同的字符,本公开实施例在此不再赘述。
在步骤507中,当第二字符组中不存在与第三字符相同的字符时,终端根据第一字符和第三字符更新目标词库。
若在步骤506中,终端确定第二字符组中不存在与第三字符相同的字符,则终端可以根据第一字符和第三字符更新目标词库。在本公开实施例中,终端可以与服务器交互来更新该目标词库,也可以根据用户的操作来更新该目标词库,本公开实施例对此不做限定。
示例地,请参考图5-13,其示出的是图5-1所示实施例提供的一种终端根据第一字符和第三字符更新目标词库的方法流程图,参见图5-13,该方法流程可以包括如下几个步骤:
在子步骤5071a中,终端向服务器发送查询请求,查询请求包括由第一字符和第三字符依次排列组成的待查询词语。
终端可以将第一字符和第三字符依次排列组成的待查询词语,然后根据待查询词语生成查询请求,再向服务器发送查询请求。示例地,当第一字符为“h”,第二字符为“u”时,该待查询词语可以为“hu”。
在子步骤5072a中,服务器接收终端发送的查询请求。
终端向服务器发送查询请求时,服务器可以接收查询请求。
在子步骤5073a中,服务器根据查询请求查询服务器中的词库。
其中,服务器中的词库中的词汇比终端存储的目标词库中的词汇丰富,因此,目标词库中没有的词汇服务器中的词库中可能有。服务器可以根据查询请求查询服务器中的词库,得到第一字符和第三字符的关联关系。示例地,该第一字符和第三字符的关联度可以为10%。
在子步骤5074a中,服务器生成查询响应。
服务器得到第一字符和第三字符的关联关系后可以生成查询响应,该查询响应中包括第一字符和第三字符的关联关系。
在子步骤5075a中,服务器向终端发送查询响应。
服务器生成查询响应后,可以向终端发送查询响应。
在子步骤5076a中,终端接收服务器发送的查询响应。
服务器向终端发送查询响应时,终端可以接收服务器发送的查询响应。
在子步骤5077a中,当查询响应指示服务器中的词库中存在待查询词语时,终端在目标词库中记录第一字符和第三字符的关联关系。
其中,当查询响应中包括第一字符和第三字符的关联关系时,终端可以确定查询响应指示服务器中的词库中存在待查询词语,因此,终端在目标词库中记录第一字符和第三字符的关联关系,得到更新后的目标词库。示例地,该更新后的目标词库可以如下表5所示:
表5(词库3)
Figure PCTCN2015099689-appb-000002
需要说明的是,本公开实施例是以服务器中的词库中存在待查询词语为例进行说明的,当服务器中的词库中不存在待查询词语时,终端可以将第三字符作为第一字符,并执行步骤502至步骤505,或者终端还可以采用图5-14所示的方法更新目标词库。本公开实施例对此不做限定。
示例地,请参考图5-14,其示出的是图5-1所示实施例提供的另一种终端根据第一字符和第三字符更新目标词库的方法流程图,参见图5-14,该方法流程可以包括如下几个步骤:
在子步骤5071b中,终端向用户呈现更新提示信息。
当第二字符组中不存在与第三字符相同的字符时,终端可以对用户进行提示,比如,终端可以向用户呈现更新提示信息,该更新提示信息可以为语音信息或者文字信息,本公开实施例对此不做限定。示例地,本公开实施例以该更新提示信息为文字信息为例进行说明,则终端可以显示更新提示信息,该更新提示信息可以为“目标词库中不存在字符h和字符u组成的词语,是否添加到词库?”。可选地,终端可以显示提示框,将该更新提示信息显示在该提醒框内,并显示“确认”按钮。
在子步骤5072b中,终端接收用户根据更新提示信息触发的更新指令,更新指令包括由第一字符和第三字符依次排列组成的待查询词语。
终端向用户呈现更新提示信息后,用户可以根据更新提示信息触发的更新指令,示例地,用户点击提醒框中的“确认”按钮触发更新指令,该更新指令中可以包括由第一字符和第三字符依次排列组成的待查询词语,当第一字符为“h”,第二字符为“u”时,该待查询词语可以为“hu”。
在子步骤5073b中,终端在目标词库中记录第一字符和第三字符的关联关系。
终端接收到用户触发的更新指令后,可以在目标词库中记录第一字符和第三字符的关联关系。示例地,终端可以为该第一字符和第三字符确定一个初始关联度,后续根据用户对该第一字符和第三字符的输入概率调整该第一字符和第三字符的关联度,本公开实施例在此不再赘述。
需要说明的是,本公开图5-1所示实施例是以终端为执行主体为例进行描述的,实际应用中,该图5-1所示实施例的执行主体可以是终端的处理器,或者,图5-1所示实施例的执行主体还可以是终端的键盘,键盘集成有用于执行图5-1所示的字符输入方法的处理器,本公开实施例对此不做限定。
需要说明的是,本公开实施例提供的字符输入方法步骤的先后顺序可以进行适当调整,步骤也可以根据情况进行相应增减,任何熟悉本技术领域的技术人员在本公开揭露的技术范 围内,可轻易想到变化的方法,都应涵盖在本公开的保护范围之内,因此不再赘述。
综上所述,本公开实施例提供的字符输入方法,通过接收用户输入的第一字符,确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符,查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识,控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。本公开实施例通过控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线来提示用户进行字符输入,解决了相关技术中输入效率较低且容易出现误输入的问题,达到了提高输入效率和避免误输入的效果。
图6-1是根据还一示例性实施例示出的一种字符输入方法的方法流程图,本实施例以该字符输入方法应用于图1-1所示实施环境中来进行举例说明。在图1-1所示实施环境中,终端设置有键盘,当键盘为终端的外连设备时,该键盘能够通过终端的输入输出接口与终端的处理器进行信息交互,当键盘为终端内部的设备时,则该键盘与终端的处理器连接。参见图6-1,该字符输入方法可以包括如下几个步骤:
在步骤601中,终端接收用户输入的第一字符。
实际应用中,上述步骤601为键盘接收到用户输入的第一字符,传输至终端的处理器。
在步骤602中,终端确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符。
示例地,请参考图6-2,其示出的是图6-1所示实施例提供的终端确定与第一字符关联的第二字符组的方法流程图,参见图6-2,该方法流程可以包括如下几个步骤:
在子步骤6021中,终端确定目标词库,目标词库为与当前用户使用的输入法对应的词库或者根据用户输入的词汇建立的词库,目标词库用于记录不同字符间的关联关系。
在子步骤6022中,终端根据第一字符查询目标词库,得到第二字符组。
其中,上述步骤601和步骤602可以参考图5-1所示实施例中的步骤501和步骤502,本实施例在此不再赘述。
在步骤603中,终端向键盘发送按键灯开启指令,按键灯开启指令包括第二字符组中的第二字符。
其中,终端向键盘发送按键灯开启指令可以便于键盘根据按键灯开启指令查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识,并控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。
在本公开实施例中,终端可以先根据第二字符组中的第二字符生成按键灯开启指令,然后向键盘发送按键灯开启指令,本公开实施例在此不再赘述。
在步骤604中,键盘接收终端发送的按键灯开启指令。
终端向键盘发送按键灯开启指令时,键盘可以接收终端发送的按键灯开启指令。其中,按键灯开启指令中可以包括终端根据用户输入第一字符确定的与第一字符关联的第二字符组中的第二字符,第二字符组中包括至少一个第二字符。
在步骤605中,键盘根据按键灯开启指令查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识。
该步骤605可以参考图5-1所示实施例中的步骤503,本实施例在此不再赘述。
在步骤606中,键盘控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。
示例地,请参考图6-3,其示出的是图6-1所示实施例提供的一种键盘控制目标按键标识指示的目标按键对应的按键灯开启并发出预设颜色的光线的方法流程图,参见图6-3,该方法流程可以包括如下几个步骤:
在子步骤6061a中,键盘控制目标按键标识指示的目标按键对应的按键灯开启并发出预设颜色的光线。
在子步骤6062a中,键盘控制键盘上的除目标按键以外的按键对应的按键灯关闭。
在本公开实施例中,键盘上的按键可以包括:功能按键,该功能按键可以包括设置有数字的按键,设置有标点符号的按键、设置有空格的按键等,本公开实施例对此不做限定。示例地,请参考图6-4,其示出的是图6-1所示实施例提供的另一种键盘控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的方法流程图,参见图6-4,该方法流程可以包括如下几个步骤:
在子步骤6061b中,键盘控制目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线。
在子步骤6062b中,键盘控制功能按键对应的按键灯发出第二预设颜色的光线。
在子步骤6063b中,键盘控制键盘上的除目标按键和功能按键以外的按键对应的按键灯发出第三预设颜色的光线。
其中,第一预设颜色、第二预设颜色和第三预设颜色不同。
在本公开实施例中,键盘上的按键可以包括:功能按键,该功能按键可以包括设置有数字的按键,设置有标点符号的按键、设置有空格的按键等,本公开实施例对此不做限定。示 例地,请参考图6-5,其示出的是图6-1所示实施例提供的再一种键盘控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的方法流程图,参见图6-5,该方法流程可以包括如下几个步骤:
在子步骤6061c中,键盘控制目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线。
在子步骤6062c中,键盘控制功能按键对应的按键灯发出第二预设颜色的光线。
在子步骤6063c中,键盘控制键盘上的除目标按键和功能按键以外的按键对应的按键灯关闭。
其中,第一预设颜色和第二预设颜色不同。
示例地,请参考图6-6,其示出的是图6-1所示实施例提供的又一种键盘控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的方法流程图,参见图6-6,该方法流程可以包括如下几个步骤:
在子步骤6061d中,键盘控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线并闪烁。
在本公开实施例中,第二字符组中包括至少两个第二字符,每个第二字符与第一字符的关联度可以不同,键盘可以根据第二字符与第一字符的关联度控制第二字符对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线。示例地,请参考图6-7,其示出的是图6-1所示实施例提供的又一种键盘控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的方法流程图,参见图6-7,该方法流程可以包括如下几个步骤:
在子步骤6061e中,键盘分别确定每个第二字符与第一字符的关联度,得到至少两个关联度。
需要说明的是,由于目标词库存储在终端上,因此,终端向键盘发送的按键灯开启指令中还可以包括第二字符组中的第二字符与第一字符的关联度,以便于键盘确定每个第二字符与第一字符的关联度。
在子步骤6062e中,键盘控制每个第二字符对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线。
其中,任一目标按键对应的按键灯发出的光线的强度与任一目标按键对应的第二字符与第一字符的关联度正相关。
在本公开实施例中,第二字符组中包括至少两个第二字符,至少两个第二字符依次排列,比如,至少两个第二字符按照第二字符与第一字符的关联度从大到小的顺序排列,则键盘可 以根据至少两个第二字符的排列顺序控制第二字符对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线。示例地,请参考图6-8,其示出的是图6-1所示实施例提供的又一种键盘控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线的方法流程图,参见图6-8,该方法流程可以包括如下几个步骤:
在子步骤6061f中,键盘根据至少两个第二字符的排列顺序依次控制每个第二字符对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线。
该步骤606的实现过程可以参考图5-1所示实施例中的步骤504,本实施例在此不再赘述。
在步骤607中,终端接收用户输入的第三字符。
实际应用中,上述步骤607为键盘接收到用户输入的第三字符,传输至终端的处理器。
在步骤608中,终端判断第二字符组中是否存在与第三字符相同的字符。
在步骤609中,当第二字符组中不存在与第三字符相同的字符时,终端根据第一字符和第三字符更新目标词库。
示例地,请参考图6-9,其示出的是图6-1所示实施例提供的一种终端根据第一字符和第三字符更新目标词库的方法流程图,参见图6-9,该方法流程可以包括如下几个步骤:
在子步骤6091a中,终端向服务器发送查询请求,查询请求包括由第一字符和第三字符依次排列组成的待查询词语。
在子步骤6092a中,服务器接收终端发送的查询请求。
在子步骤6093a中,服务器根据查询请求查询服务器中的词库。
在子步骤6094a中,服务器生成查询响应。
在子步骤6095a中,服务器向终端发送查询响应。
在子步骤6096a中,终端接收服务器发送的查询响应。
在子步骤6097a中,当查询响应指示服务器中的词库中存在待查询词语时,终端在目标词库中记录第一字符和第三字符的关联关系。
示例地,请参考图6-10,其示出的是图6-1所示实施例提供的另一种终端根据第一字符和第三字符更新目标词库的方法流程图,参见图6-10,该方法流程可以包括:
在子步骤6091b中,终端向用户呈现更新提示信息。
在子步骤6092b中,终端接收用户根据更新提示信息触发的更新指令,更新指令包括由第一字符和第三字符依次排列组成的待查询词语。
在子步骤6093b中,终端在目标词库中记录第一字符和第三字符的关联关系。
上述步骤607至步骤609的实现过程可以参考图5-1所示实施例中的步骤505至步骤507,本实施例在此不再赘述。
需要说明的是,本公开实施例提供的字符输入方法步骤的先后顺序可以进行适当调整,步骤也可以根据情况进行相应增减,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化的方法,都应涵盖在本公开的保护范围之内,因此不再赘述。
综上所述,本公开实施例提供的字符输入方法,通过接收用户输入的第一字符,确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符,查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识,控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。本公开实施例通过控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线来提示用户进行字符输入,解决了相关技术中输入效率较低且容易出现误输入的问题,达到了提高输入效率和避免误输入的效果。
下述为本公开装置实施例,可以用于执行本公开方法实施例。对于本公开装置实施例中未披露的细节,请参照本公开方法实施例。
图7是根据一示例性实施例示出的一种字符输入装置700的框图,该字符输入装置700可以通过软件、硬件或者两者的结合实现成为图1-1所示实施环境中的终端的部分或者全部。参见图7,该字符输入装置700可以包括:
第一接收模块710,被配置为接收用户输入的第一字符。
确定模块720,被配置为确定与第一接收模块710接收的第一字符关联的第二字符组,第二字符组中包括至少一个第二字符。
查询模块730,被配置为查询字符与按键标识的对应关系,得到确定模块720确定的第二字符组中的每个第二字符对应的目标按键标识。
控制模块740,被配置为控制查询模块730查询到的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。
综上所述,本公开实施例提供的字符输入装置,通过接收用户输入的第一字符,确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符,查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识,控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。本公开实施例 通过控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线来提示用户进行字符输入,解决了相关技术中输入效率较低且容易出现误输入的问题,达到了提高输入效率和避免误输入的效果。
图8是根据另一示例性实施例示出的一种字符输入装置800的框图,该字符输入装置800可以通过软件、硬件或者两者的结合实现成为图1-1所示实施环境中的终端的部分或者全部。参见图8,该字符输入装置800可以包括但不限于:
第一接收模块810,被配置为接收用户输入的第一字符;
确定模块820,被配置为确定与第一接收模块810接收的第一字符关联的第二字符组,第二字符组中包括至少一个第二字符;
查询模块830,被配置为查询字符与按键标识的对应关系,得到确定模块820确定的第二字符组中的每个第二字符对应的目标按键标识;
控制模块840,被配置为控制查询模块830查询到的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。
可选地,确定模块820,被配置为:
确定目标词库,目标词库为与当前用户使用的输入法对应的词库或者根据用户输入的词汇建立的词库,目标词库用于记录不同字符间的关联关系;
根据第一字符查询目标词库,得到第二字符组。
可选地,请继续参考图8,该字符输入装置800还可以包括:
第二接收模块850,被配置为接收用户输入的第三字符;
判断模块860,被配置为判断确定模块820确定的第二字符组中是否存在与第二接收模块850接收的第三字符相同的字符;
更新模块870,被配置为当确定模块820确定的第二字符组中不存在与第二接收模块850接收的第三字符相同的字符时,根据第一接收模块810接收的第一字符和第二接收模块850接收的第三字符更新目标词库。
可选地,更新模块870,被配置为:
向服务器发送查询请求,查询请求包括由第一字符和第三字符依次排列组成的待查询词语;
接收服务器发送的查询响应,查询响应是服务器查询服务器中的词库后生成的;
当查询响应指示服务器中的词库中存在待查询词语时,在目标词库中记录第一字符和第 三字符的关联关系。
可选地,更新模块870,被配置为:
向用户呈现更新提示信息;
接收用户根据更新提示信息触发的更新指令,更新指令包括由第一字符和第三字符依次排列组成的待查询词语;
在目标词库中记录第一字符和第三字符的关联关系。
可选地,控制模块840,被配置为:
控制目标按键标识指示的目标按键对应的按键灯开启并发出预设颜色的光线;
控制键盘上的除目标按键以外的按键对应的按键灯关闭。
可选地,键盘上的按键包括:功能按键,控制模块840,被配置为:
控制目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
控制功能按键对应的按键灯发出第二预设颜色的光线;
控制键盘上的除目标按键和功能按键以外的按键对应的按键灯发出第三预设颜色的光线;
其中,第一预设颜色、第二预设颜色和第三预设颜色不同。
可选地,键盘上的按键包括:功能按键,控制模块840,被配置为:
控制目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
控制功能按键对应的按键灯发出第二预设颜色的光线;
控制键盘上的除目标按键和功能按键以外的按键对应的按键灯关闭;
其中,第一预设颜色和第二预设颜色不同。
可选地,控制模块840,被配置为:
控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线并闪烁。
可选地,第二字符组中包括至少两个第二字符,控制模块840,被配置为:
分别确定每个第二字符与第一字符的关联度,得到至少两个关联度;
控制每个第二字符对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线;
其中,任一目标按键对应的按键灯发出的光线的强度与任一目标按键对应的第二字符与第一字符的关联度正相关。
可选地,第二字符组中包括至少两个第二字符,至少两个第二字符依次排列,
控制模块840,被配置为:
根据至少两个第二字符的排列顺序依次控制每个第二字符对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线。
综上所述,本公开实施例提供的字符输入装置,通过接收用户输入的第一字符,确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符,查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识,控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。本公开实施例通过控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线来提示用户进行字符输入,解决了相关技术中输入效率较低且容易出现误输入的问题,达到了提高输入效率和避免误输入的效果。
图9是根据再一示例性实施例示出的一种字符输入装置900的框图,该字符输入装置900可以通过软件、硬件或者两者的结合实现成为图1-1所示实施环境中的终端的部分或者全部。参见图9,该字符输入装置900可以包括:
接收模块910,被配置为接收按键灯开启指令,按键灯开启指令包括根据用户输入第一字符确定的与第一字符关联的第二字符组中的第二字符,第二字符组中包括至少一个第二字符。
查询模块920,被配置为根据接收模块910接收的按键灯开启指令查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识。
控制模块930,被配置为控制查询模块920查询的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。
综上所述,本公开实施例提供的字符输入装置,通过接收按键灯开启指令,按键灯开启指令包括根据用户输入第一字符确定的与第一字符关联的第二字符组中的第二字符,第二字符组中包括至少一个第二字符,根据按键灯开启指令查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识,控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。本公开实施例通过控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线来提示用户进行字符输入,解决了相关技术中输入效率较低且容易出现误输入的问题,达到了提高输入效率和避免误输入的效果。
可选地,控制模块930,被配置为:
控制目标按键标识指示的目标按键对应的按键灯开启并发出预设颜色的光线;
控制键盘上的除目标按键以外的按键对应的按键灯关闭。
可选地,键盘上的按键包括:功能按键,控制模块930,被配置为:
控制目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
控制功能按键对应的按键灯发出第二预设颜色的光线;
控制键盘上的除目标按键和功能按键以外的按键对应的按键灯发出第三预设颜色的光线;
其中,第一预设颜色、第二预设颜色和第三预设颜色不同。
可选地,键盘上的按键包括:功能按键,控制模块930,被配置为:
控制目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
控制功能按键对应的按键灯发出第二预设颜色的光线;
控制键盘上的除目标按键和功能按键以外的按键对应的按键灯关闭;
其中,第一预设颜色和第二预设颜色不同。
可选地,控制模块930,被配置为:
控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线并闪烁。
可选地,第二字符组中包括至少两个第二字符,控制模块930,被配置为:
分别确定每个第二字符与第一字符的关联度,得到至少两个关联度;
控制每个第二字符对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线;
其中,任一目标按键对应的按键灯发出的光线的强度与任一目标按键对应的第二字符与第一字符的关联度正相关。
可选地,第二字符组中包括至少两个第二字符,至少两个第二字符依次排列,控制模块930,被配置为:
根据至少两个第二字符的排列顺序依次控制每个第二字符对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线。
综上所述,本公开实施例提供的字符输入装置,通过接收按键灯开启指令,按键灯开启指令包括根据用户输入第一字符确定的与第一字符关联的第二字符组中的第二字符,第二字符组中包括至少一个第二字符,根据按键灯开启指令查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识,控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。本公开实施例通过控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线来提示用户进行字符输入,解决了 相关技术中输入效率较低且容易出现误输入的问题,达到了提高输入效率和避免误输入的效果。
图10是根据又一示例性实施例示出的一种字符输入装置1000的框图,该字符输入装置1000可以通过软件、硬件或者两者的结合实现成为图1-1所示实施环境中的终端的部分或者全部。参见图10,该字符输入装置1000可以包括:
第一接收模块1010,被配置为接收用户输入的第一字符。
确定模块1020,被配置为确定与第一接收模块1010接收的第一字符关联的第二字符组,第二字符组中包括至少一个第二字符。
发送模块1030,被配置为发送按键灯开启指令,按键灯开启指令包括确定模块1020确定的第二字符组中的第二字符,以便于键盘根据按键灯开启指令查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识,并控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。
综上所述,本公开实施例提供的字符输入装置,通过接收用户输入的第一字符,确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符,发送按键灯开启指令,按键灯开启指令包括第二字符组中的第二字符,以便于键盘根据按键灯开启指令查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识,并控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。本公开实施例通过控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线来提示用户进行字符输入,解决了相关技术中输入效率较低且容易出现误输入的问题,达到了提高输入效率和避免误输入的效果。
图11是根据还一示例性实施例示出的一种字符输入装置1100的框图,该字符输入装置1100可以通过软件、硬件或者两者的结合实现成为图1-1所示实施环境中的终端的部分或者全部。参见图11,该字符输入装置1100可以包括但不限于:
第一接收模块1110,被配置为接收用户输入的第一字符;
确定模块1120,被配置为确定与第一接收模块1110接收的第一字符关联的第二字符组,第二字符组中包括至少一个第二字符;
发送模块1130,被配置为发送按键灯开启指令,按键灯开启指令包括确定模块1120确定的第二字符组中的第二字符,以便于键盘根据按键灯开启指令查询字符与按键标识的对应 关系,得到每个第二字符对应的目标按键标识,并控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。
可选地,确定模块1120,被配置为:
确定目标词库,目标词库为与当前用户使用的输入法对应的词库或者根据用户输入的词汇建立的词库,目标词库用于记录不同字符间的关联关系;
根据第一字符查询目标词库,得到第二字符组。
可选地,请继续参考图11,该字符输入装置1100还可以包括:
第二接收模块1140,被配置为接收用户输入的第三字符;
判断模块1150,被配置为判断确定模块1120确定的第二字符组中是否存在与第二接收模块1140接收的第三字符相同的字符;
更新模块1160,被配置为当确定模块1120确定的第二字符组中不存在与第二接收模块1140接收的第三字符相同的字符时,根据第一接收模块1110接收的第一字符和第二接收模块1140接收的第三字符更新目标词库。
可选地,更新模块1160,被配置为:
向服务器发送查询请求,查询请求包括由第一字符和第三字符依次排列组成的待查询词语;
接收服务器发送的查询响应,查询响应是服务器查询服务器中的词库后生成的;
当查询响应指示服务器中的词库中存在待查询词语时,在目标词库中记录第一字符和第三字符的关联关系。
可选地,更新模块1160,被配置为:
向用户呈现更新提示信息;
接收用户根据更新提示信息触发的更新指令,更新指令包括由第一字符和第三字符依次排列组成的待查询词语;
在目标词库中记录第一字符和第三字符的关联关系。
综上所述,本公开实施例提供的字符输入装置,通过接收用户输入的第一字符,确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符,发送按键灯开启指令,按键灯开启指令包括第二字符组中的第二字符,以便于键盘根据按键灯开启指令查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识,并控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。本公开实施例通过控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线来 提示用户进行字符输入,解决了相关技术中输入效率较低且容易出现误输入的问题,达到了提高输入效率和避免误输入的效果。
图12是根据一示例性实施例示出的一种字符输入装置1200的框图。例如,装置1200可以是集成有处理器的键盘,该键盘可以设置在手机,移动电话,数字广播终端,消息收发设备,游戏控制台,医疗设备,健身设备,个人数字助理,台式计算机,膝上型便携计算机,笔记本电脑、智能电视机、智能穿戴设备等上,本公开实施例对此不做限定。
参照图12,装置1200可以包括以下一个或多个组件:处理组件1202,存储器1204,电源组件1206,输入/输出(I/O)接口1208,传感器组件1210,以及通信组件1212。
处理组件1202通常控制装置1200的整体操作,诸如与通信、处理、记录操作相关联的操作。处理组件1202可以包括一个或多个处理器1220来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1202可以包括一个或多个模块,便于处理组件1202和其他组件之间的交互。
存储器1204被配置为存储各种类型的数据以支持在装置1200的操作。这些数据的示例包括用于在装置1200上操作的任何应用程序或方法的指令,消息,图片,视频等。存储器1204可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件1206为装置1200的各种组件提供电力。电源组件1206可以包括电源管理系统,一个或多个电源,及其他与为装置1200生成、管理和分配电力相关联的组件。
I/O接口1208为处理组件1202和外围接口模块之间提供接口,上述外围接口模块可以是键盘。
传感器组件1210包括一个或多个传感器,用于为装置1200提供各个方面的状态评估。例如,传感器组件1210可以检测到装置1200的打开/关闭状态,组件的相对定位,例如组件为装置1200的显示器和小键盘,传感器组件1210还可以检测装置1200或装置1200一个组件的位置改变,用户与装置1200接触的存在或不存在,装置1200方位或加速/减速和装置1200的温度变化。传感器组件1210可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1210还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1210还可以包括加速 度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件1212被配置为便于装置1200和其他设备之间有线或无线方式的通信。装置1200可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1212还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置1200可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1204,上述指令可由装置1200的处理器1220执行以完成上述方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
一种非临时性计算机可读存储介质,当存储介质中的指令由装置1200的处理器执行时,使得装置1200能够执行一种字符输入方法,该方法包括:
接收用户输入的第一字符;
确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符;
查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识;
控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。
可选地,确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符,包括:
确定目标词库,目标词库为与当前用户使用的输入法对应的词库或者根据用户输入的词汇建立的词库,目标词库用于记录不同字符间的关联关系;
根据第一字符查询目标词库,得到第二字符组。
可选地,该方法还包括:
接收用户输入的第三字符;
判断第二字符组中是否存在与第三字符相同的字符;
当第二字符组中不存在与第三字符相同的字符时,根据第一字符和第三字符更新目标词库。
可选地,根据第一字符和第三字符更新目标词库,包括:
向服务器发送查询请求,查询请求包括由第一字符和第三字符依次排列组成的待查询词语;
接收服务器发送的查询响应,查询响应是服务器查询服务器中的词库后生成的;
当查询响应指示服务器中的词库中存在待查询词语时,在目标词库中记录第一字符和第三字符的关联关系。
可选地,根据第一字符和第三字符更新目标词库,包括:
向用户呈现更新提示信息;
接收用户根据更新提示信息触发的更新指令,更新指令包括由第一字符和第三字符依次排列组成的待查询词语;
在目标词库中记录第一字符和第三字符的关联关系。
可选地,控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
控制目标按键标识指示的目标按键对应的按键灯开启并发出预设颜色的光线;
控制键盘上的除目标按键以外的按键对应的按键灯关闭。
可选地,键盘上的按键包括:功能按键,控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
控制目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
控制功能按键对应的按键灯发出第二预设颜色的光线;
控制键盘上的除目标按键和功能按键以外的按键对应的按键灯发出第三预设颜色的光线;
其中,第一预设颜色、第二预设颜色和第三预设颜色不同。
可选地,键盘上的按键包括:功能按键,控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
控制目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
控制功能按键对应的按键灯发出第二预设颜色的光线;
控制键盘上的除目标按键和功能按键以外的按键对应的按键灯关闭;
其中,第一预设颜色和第二预设颜色不同。
可选地,控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线并闪烁。
可选地,第二字符组中包括至少两个第二字符,
控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
分别确定每个第二字符与第一字符的关联度,得到至少两个关联度;
控制每个第二字符对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线;
其中,任一目标按键对应的按键灯发出的光线的强度与任一目标按键对应的第二字符与第一字符的关联度正相关。
可选地,第二字符组中包括至少两个第二字符,至少两个第二字符依次排列,
控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
根据至少两个第二字符的排列顺序依次控制每个第二字符对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线。
综上所述,本公开实施例提供的字符输入装置,通过接收用户输入的第一字符,确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符,查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识,控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。本公开实施例通过控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线来提示用户进行字符输入,解决了相关技术中输入效率较低且容易出现误输入的问题,达到了提高输入效率和避免误输入的效果。
图13是根据另一示例性实施例示出的字符输入装置1300的框图。例如,装置1300可以是键盘,该键盘可以设置在手机,移动电话,数字广播终端,消息收发设备,游戏控制台,医疗设备,健身设备,个人数字助理,台式计算机,膝上型便携计算机,笔记本电脑、智能电视机、智能穿戴设备等上,本公开实施例对此不做限定。
参照图13,装置1300可以包括以下一个或多个组件:处理组件1302,存储器1304,电源组件1306,输入/输出(I/O)接口1308,传感器组件1310,以及通信组件1312。
处理组件1302通常控制装置1300的整体操作,诸如与通信、处理、记录操作相关联的操作。处理组件1302可以包括一个或多个处理器1320来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1302可以包括一个或多个模块,便于处理组件1302和其他组件之间的交互。
存储器1304被配置为存储各种类型的数据以支持在装置1300的操作。这些数据的示例包括用于在装置1300上操作的任何应用程序或方法的指令,消息,图片,视频等。存储器 1304可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件1306为装置1300的各种组件提供电力。电源组件1306可以包括电源管理系统,一个或多个电源,及其他与为装置1300生成、管理和分配电力相关联的组件。
I/O接口1308为处理组件1302和外围接口模块之间提供接口,上述外围接口模块可以是键盘。
传感器组件1310包括一个或多个传感器,用于为装置1300提供各个方面的状态评估。例如,传感器组件1310可以检测到装置1300的打开/关闭状态,组件的相对定位,例如组件为装置1300的显示器和小键盘,传感器组件1310还可以检测装置1300或装置1300一个组件的位置改变,用户与装置1300接触的存在或不存在,装置1300方位或加速/减速和装置1300的温度变化。传感器组件1310可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1310还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1310还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件1312被配置为便于装置1300和其他设备之间有线或无线方式的通信。装置1300可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1312还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置1300可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1304,上述指令可由装置1300的处理器1320执行以完成上述方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
一种非临时性计算机可读存储介质,当存储介质中的指令由装置1300的处理器执行时,使得装置1300能够执行一种字符输入方法,该方法包括:
接收按键灯开启指令,按键灯开启指令包括根据用户输入第一字符确定的与第一字符关联的第二字符组中的第二字符,第二字符组中包括至少一个第二字符;
根据按键灯开启指令查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识;
控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。
可选地,控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
控制目标按键标识指示的目标按键对应的按键灯开启并发出预设颜色的光线;
控制键盘上的除目标按键以外的按键对应的按键灯关闭。
可选地,键盘上的按键包括:功能按键,控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
控制目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
控制功能按键对应的按键灯发出第二预设颜色的光线;
控制键盘上的除目标按键和功能按键以外的按键对应的按键灯发出第三预设颜色的光线;
其中,第一预设颜色、第二预设颜色和第三预设颜色不同。
可选地,键盘上的按键包括:功能按键,控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
控制目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
控制功能按键对应的按键灯发出第二预设颜色的光线;
控制键盘上的除目标按键和功能按键以外的按键对应的按键灯关闭;
其中,第一预设颜色和第二预设颜色不同。
可选地,控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线并闪烁。
可选地,第二字符组中包括至少两个第二字符,
控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
分别确定每个第二字符与第一字符的关联度,得到至少两个关联度;
控制每个第二字符对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线;
其中,任一目标按键对应的按键灯发出的光线的强度与任一目标按键对应的第二字符与 第一字符的关联度正相关。
可选地,第二字符组中包括至少两个第二字符,至少两个第二字符依次排列,
控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
根据至少两个第二字符的排列顺序依次控制每个第二字符对应的目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线。
综上所述,本公开实施例提供的字符输入装置,通过接收按键灯开启指令,按键灯开启指令包括根据用户输入第一字符确定的与第一字符关联的第二字符组中的第二字符,第二字符组中包括至少一个第二字符,根据按键灯开启指令查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识,控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。本公开实施例通过控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线来提示用户进行字符输入,解决了相关技术中输入效率较低且容易出现误输入的问题,达到了提高输入效率和避免误输入的效果。
图14是根据再一示例性实施例示出的字符输入装置1400的框图。例如,装置1400可以是终端,该终端可以设置在手机,移动电话,数字广播终端,消息收发设备,游戏控制台,医疗设备,健身设备,个人数字助理,台式计算机,膝上型便携计算机,笔记本电脑、智能电视机、智能穿戴设备等上,本公开实施例对此不做限定。
参照图14,装置1400可以包括以下一个或多个组件:处理组件1402,存储器1404,电源组件1406,多媒体组件1408,音频组件1410,输入/输出(I/O)接口1412,传感器组件1414,以及通信组件1416。
处理组件1402通常控制装置1400的整体操作,诸如与显示,电话呼叫,数据通信和记录操作相关联的操作。处理组件1402可以包括一个或多个处理器1420来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1402可以包括一个或多个模块,便于处理组件1402和其他组件之间的交互。例如,处理组件1402可以包括多媒体模块,以方便多媒体组件1408和处理组件1402之间的交互。
存储器1404被配置为存储各种类型的数据以支持在装置1400的操作。这些数据的示例包括用于在装置1400上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1404可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可 擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件1406为装置1400的各种组件提供电力。电源组件1406可以包括电源管理系统,一个或多个电源,及其他与为装置1400生成、管理和分配电力相关联的组件。
多媒体组件1408包括在装置1400和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间和压力。
音频组件1410被配置为输出和/或输入音频信号。例如,音频组件1410包括一个麦克风(MIC),当装置1400处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1404或经由通信组件1416发送。在一些实施例中,音频组件1410还包括一个扬声器,用于输出音频信号。
I/O接口1412为处理组件1402和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件1414包括一个或多个传感器,用于为装置1400提供各个方面的状态评估。例如,传感器组件1414可以检测到装置1400的打开/关闭状态,组件的相对定位,例如组件为装置1400的显示器和小键盘,传感器组件1414还可以检测装置1400或装置1400一个组件的位置改变,用户与装置1400接触的存在或不存在,装置1400方位或加速/减速和装置1400的温度变化。传感器组件1414可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1414还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1414还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件1416被配置为便于装置1400和其他设备之间有线或无线方式的通信。装置1400可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1416经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,通信组件1416还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置1400可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1404,上述指令可由装置1400的处理器1420执行以完成上述方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
一种非临时性计算机可读存储介质,当存储介质中的指令由装置1400的处理器执行时,使得装置1400能够执行一种字符输入方法,该方法包括:
接收用户输入的第一字符;
确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符;
发送按键灯开启指令,按键灯开启指令包括第二字符组中的第二字符,以便于键盘根据按键灯开启指令查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识,并控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。
可选地,确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符,包括:
确定目标词库,目标词库为与当前用户使用的输入法对应的词库或者根据用户输入的词汇建立的词库,目标词库用于记录不同字符间的关联关系;
根据第一字符查询目标词库,得到第二字符组。
可选地,该方法还包括:
接收用户输入的第三字符;
判断第二字符组中是否存在与第三字符相同的字符;
当第二字符组中不存在与第三字符相同的字符时,根据第一字符和第三字符更新目标词库。
可选地,根据第一字符和第三字符更新目标词库,包括:
向服务器发送查询请求,查询请求包括由第一字符和第三字符依次排列组成的待查询词语;
接收服务器发送的查询响应,查询响应是服务器查询服务器中的词库后生成的;
当查询响应指示服务器中的词库中存在待查询词语时,在目标词库中记录第一字符和第 三字符的关联关系。
可选地,根据第一字符和第三字符更新目标词库,包括:
向用户呈现更新提示信息;
接收用户根据更新提示信息触发的更新指令,更新指令包括由第一字符和第三字符依次排列组成的待查询词语;
在目标词库中记录第一字符和第三字符的关联关系。
综上所述,本公开实施例提供的字符输入装置,通过接收用户输入的第一字符,确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符,发送按键灯开启指令,按键灯开启指令包括第二字符组中的第二字符,以便于键盘根据按键灯开启指令查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识,并控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。本公开实施例通过控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线来提示用户进行字符输入,解决了相关技术中输入效率较低且容易出现误输入的问题,达到了提高输入效率和避免误输入的效果。
图15是根据一示例性实施例示出的一种字符输入系统1500的结构示意图。参见图15,该字符输入系统1500可以包括:键盘1510和终端上的处理器1520。
在一种可实现方式中,键盘1510包括图9所示的字符输入装置;终端上的处理器1520包括图10或图11所示的字符输入装置。
在另一种可实现方式中,键盘1510包括图13所示的字符输入装置;终端上的处理器1520包括图14所示的字符输入装置。
综上所述,本公开实施例提供的字符输入系统,通过接收用户输入的第一字符,确定与第一字符关联的第二字符组,第二字符组中包括至少一个第二字符,查询字符与按键标识的对应关系,得到每个第二字符对应的目标按键标识,控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,预设颜色的光线用于提示用户进行字符输入。本公开实施例通过控制目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线来提示用户进行字符输入,解决了相关技术中输入效率较低且容易出现误输入的问题,达到了提高输入效率和避免误输入的效果。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施 方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (51)

  1. 一种字符输入方法,其特征在于,所述方法包括:
    接收用户输入的第一字符;
    确定与所述第一字符关联的第二字符组,所述第二字符组中包括至少一个第二字符;
    查询字符与按键标识的对应关系,得到每个所述第二字符对应的目标按键标识;
    控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,所述预设颜色的光线用于提示用户进行字符输入。
  2. 根据权利要求1所述的方法,其特征在于,所述确定与所述第一字符关联的第二字符组,所述第二字符组中包括至少一个第二字符,包括:
    确定目标词库,所述目标词库为与当前用户使用的输入法对应的词库或者根据用户输入的词汇建立的词库,所述目标词库用于记录不同字符间的关联关系;
    根据所述第一字符查询所述目标词库,得到所述第二字符组。
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    接收用户输入的第三字符;
    判断所述第二字符组中是否存在与所述第三字符相同的字符;
    当所述第二字符组中不存在与所述第三字符相同的字符时,根据所述第一字符和所述第三字符更新所述目标词库。
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述第一字符和所述第三字符更新所述目标词库,包括:
    向服务器发送查询请求,所述查询请求包括由所述第一字符和所述第三字符依次排列组成的待查询词语;
    接收所述服务器发送的查询响应,所述查询响应是所述服务器查询所述服务器中的词库后生成的;
    当所述查询响应指示所述服务器中的词库中存在所述待查询词语时,在所述目标词库中记录所述第一字符和所述第三字符的关联关系。
  5. 根据权利要求3所述的方法,其特征在于,所述根据所述第一字符和所述第三字符 更新所述目标词库,包括:
    向用户呈现更新提示信息;
    接收用户根据所述更新提示信息触发的更新指令,所述更新指令包括由所述第一字符和所述第三字符依次排列组成的待查询词语;
    在所述目标词库中记录所述第一字符和所述第三字符的关联关系。
  6. 根据权利要求1至5任一所述的方法,其特征在于,
    所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
    控制所述目标按键标识指示的目标按键对应的按键灯开启并发出所述预设颜色的光线;
    控制键盘上的除所述目标按键以外的按键对应的按键灯关闭。
  7. 根据权利要求1至5任一所述的方法,其特征在于,键盘上的按键包括:功能按键,所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
    控制所述目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
    控制所述功能按键对应的按键灯发出第二预设颜色的光线;
    控制所述键盘上的除所述目标按键和所述功能按键以外的按键对应的按键灯发出第三预设颜色的光线;
    其中,所述第一预设颜色、所述第二预设颜色和所述第三预设颜色不同。
  8. 根据权利要求1至5任一所述的方法,其特征在于,键盘上的按键包括:功能按键,所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
    控制所述目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
    控制所述功能按键对应的按键灯发出第二预设颜色的光线;
    控制所述键盘上的除所述目标按键和所述功能按键以外的按键对应的按键灯关闭;
    其中,所述第一预设颜色和所述第二预设颜色不同。
  9. 根据权利要求1至5任一所述的方法,其特征在于,
    所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
    控制所述目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线并闪烁。
  10. 根据权利要求1至5任一所述的方法,其特征在于,所述第二字符组中包括至少两个第二字符,
    所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
    分别确定每个所述第二字符与所述第一字符的关联度,得到至少两个关联度;
    控制每个所述第二字符对应的目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线;
    其中,任一目标按键对应的按键灯发出的光线的强度与所述任一目标按键对应的第二字符与所述第一字符的关联度正相关。
  11. 根据权利要求1至5任一所述的方法,其特征在于,所述第二字符组中包括至少两个第二字符,所述至少两个第二字符依次排列,
    所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
    根据所述至少两个第二字符的排列顺序依次控制每个所述第二字符对应的目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线。
  12. 一种字符输入方法,其特征在于,所述方法包括:
    接收按键灯开启指令,所述按键灯开启指令包括根据用户输入第一字符确定的与所述第一字符关联的第二字符组中的第二字符,所述第二字符组中包括至少一个所述第二字符;
    根据所述按键灯开启指令查询字符与按键标识的对应关系,得到每个所述第二字符对应的目标按键标识;
    控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,所述预设颜色的光线用于提示用户进行字符输入。
  13. 根据权利要求12所述的方法,其特征在于,
    所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
    控制所述目标按键标识指示的目标按键对应的按键灯开启并发出所述预设颜色的光线;
    控制键盘上的除所述目标按键以外的按键对应的按键灯关闭。
  14. 根据权利要求12所述的方法,其特征在于,键盘上的按键包括:功能按键,所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
    控制所述目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
    控制所述功能按键对应的按键灯发出第二预设颜色的光线;
    控制所述键盘上的除所述目标按键和所述功能按键以外的按键对应的按键灯发出第三预设颜色的光线;
    其中,所述第一预设颜色、所述第二预设颜色和所述第三预设颜色不同。
  15. 根据权利要求12所述的方法,其特征在于,键盘上的按键包括:功能按键,所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
    控制所述目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
    控制所述功能按键对应的按键灯发出第二预设颜色的光线;
    控制所述键盘上的除所述目标按键和所述功能按键以外的按键对应的按键灯关闭;
    其中,所述第一预设颜色和所述第二预设颜色不同。
  16. 根据权利要求12所述的方法,其特征在于,
    所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
    控制所述目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线并闪烁。
  17. 根据权利要求12所述的方法,其特征在于,所述第二字符组中包括至少两个第二字符,
    所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
    分别确定每个所述第二字符与所述第一字符的关联度,得到至少两个关联度;
    控制每个所述第二字符对应的目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线;
    其中,任一目标按键对应的按键灯发出的光线的强度与所述任一目标按键对应的第二字符与所述第一字符的关联度正相关。
  18. 根据权利要求12所述的方法,其特征在于,所述第二字符组中包括至少两个第二字符,所述至少两个第二字符依次排列,
    所述控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,包括:
    根据所述至少两个第二字符的排列顺序依次控制每个所述第二字符对应的目标按键标 识指示的目标按键对应的按键灯发出所述预设颜色的光线。
  19. 一种字符输入方法,其特征在于,所述方法包括:
    接收用户输入的第一字符;
    确定与所述第一字符关联的第二字符组,所述第二字符组中包括至少一个第二字符;
    发送按键灯开启指令,所述按键灯开启指令包括所述第二字符组中的第二字符,以便于键盘根据所述按键灯开启指令查询字符与按键标识的对应关系,得到每个所述第二字符对应的目标按键标识,并控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,所述预设颜色的光线用于提示用户进行字符输入。
  20. 根据权利要求19所述的方法,其特征在于,所述确定与所述第一字符关联的第二字符组,所述第二字符组中包括至少一个第二字符,包括:
    确定目标词库,所述目标词库为与当前用户使用的输入法对应的词库或者根据用户输入的词汇建立的词库,所述目标词库用于记录不同字符间的关联关系;
    根据所述第一字符查询所述目标词库,得到所述第二字符组。
  21. 根据权利要求20所述的方法,其特征在于,所述方法还包括:
    接收用户输入的第三字符;
    判断所述第二字符组中是否存在与所述第三字符相同的字符;
    当所述第二字符组中不存在与所述第三字符相同的字符时,根据所述第一字符和所述第三字符更新所述目标词库。
  22. 根据权利要求21所述的方法,其特征在于,所述根据所述第一字符和所述第三字符更新所述目标词库,包括:
    向服务器发送查询请求,所述查询请求包括由所述第一字符和所述第三字符依次排列组成的待查询词语;
    接收所述服务器发送的查询响应,所述查询响应是所述服务器查询所述服务器中的词库后生成的;
    当所述查询响应指示所述服务器中的词库中存在所述待查询词语时,在所述目标词库中记录所述第一字符和所述第三字符的关联关系。
  23. 根据权利要求21所述的方法,其特征在于,所述根据所述第一字符和所述第三字符更新所述目标词库,包括:
    向用户呈现更新提示信息;
    接收用户根据所述更新提示信息触发的更新指令,所述更新指令包括由所述第一字符和所述第三字符依次排列组成的待查询词语;
    在所述目标词库中记录所述第一字符和所述第三字符的关联关系。
  24. 一种字符输入装置,其特征在于,所述装置包括:
    第一接收模块,被配置为接收用户输入的第一字符;
    确定模块,被配置为确定与所述第一字符关联的第二字符组,所述第二字符组中包括至少一个第二字符;
    查询模块,被配置为查询字符与按键标识的对应关系,得到每个所述第二字符对应的目标按键标识;
    控制模块,被配置为控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,所述预设颜色的光线用于提示用户进行字符输入。
  25. 根据权利要求24所述的装置,其特征在于,所述确定模块,被配置为:
    确定目标词库,所述目标词库为与当前用户使用的输入法对应的词库或者根据用户输入的词汇建立的词库,所述目标词库用于记录不同字符间的关联关系;
    根据所述第一字符查询所述目标词库,得到所述第二字符组。
  26. 根据权利要求25所述的装置,其特征在于,所述装置还包括:
    第二接收模块,被配置为接收用户输入的第三字符;
    判断模块,被配置为判断所述第二字符组中是否存在与所述第三字符相同的字符;
    更新模块,被配置为当所述第二字符组中不存在与所述第三字符相同的字符时,根据所述第一字符和所述第三字符更新所述目标词库。
  27. 根据权利要求26所述的装置,其特征在于,所述更新模块,被配置为:
    向服务器发送查询请求,所述查询请求包括由所述第一字符和所述第三字符依次排列组 成的待查询词语;
    接收所述服务器发送的查询响应,所述查询响应是所述服务器查询所述服务器中的词库后生成的;
    当所述查询响应指示所述服务器中的词库中存在所述待查询词语时,在所述目标词库中记录所述第一字符和所述第三字符的关联关系。
  28. 根据权利要求26所述的装置,其特征在于,所述更新模块,被配置为:
    向用户呈现更新提示信息;
    接收用户根据所述更新提示信息触发的更新指令,所述更新指令包括由所述第一字符和所述第三字符依次排列组成的待查询词语;
    在所述目标词库中记录所述第一字符和所述第三字符的关联关系。
  29. 根据权利要求24至28任一所述的装置,其特征在于,
    所述控制模块,被配置为:
    控制所述目标按键标识指示的目标按键对应的按键灯开启并发出所述预设颜色的光线;
    控制键盘上的除所述目标按键以外的按键对应的按键灯关闭。
  30. 根据权利要求24至28任一所述的装置,其特征在于,键盘上的按键包括:功能按键,所述控制模块,被配置为:
    控制所述目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
    控制所述功能按键对应的按键灯发出第二预设颜色的光线;
    控制所述键盘上的除所述目标按键和所述功能按键以外的按键对应的按键灯发出第三预设颜色的光线;
    其中,所述第一预设颜色、所述第二预设颜色和所述第三预设颜色不同。
  31. 根据权利要求24至28任一所述的装置,其特征在于,键盘上的按键包括:功能按键,所述控制模块,被配置为:
    控制所述目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
    控制所述功能按键对应的按键灯发出第二预设颜色的光线;
    控制所述键盘上的除所述目标按键和所述功能按键以外的按键对应的按键灯关闭;
    其中,所述第一预设颜色和所述第二预设颜色不同。
  32. 根据权利要求24至28任一所述的装置,其特征在于,
    所述控制模块,被配置为:
    控制所述目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线并闪烁。
  33. 根据权利要求24至28任一所述的装置,其特征在于,所述第二字符组中包括至少两个第二字符,
    所述控制模块,被配置为:
    分别确定每个所述第二字符与所述第一字符的关联度,得到至少两个关联度;
    控制每个所述第二字符对应的目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线;
    其中,任一目标按键对应的按键灯发出的光线的强度与所述任一目标按键对应的第二字符与所述第一字符的关联度正相关。
  34. 根据权利要求24至28任一所述的装置,其特征在于,所述第二字符组中包括至少两个第二字符,所述至少两个第二字符依次排列,
    所述控制模块,被配置为:
    根据所述至少两个第二字符的排列顺序依次控制每个所述第二字符对应的目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线。
  35. 一种字符输入装置,其特征在于,所述装置包括:
    接收模块,被配置为接收按键灯开启指令,所述按键灯开启指令包括根据用户输入第一字符确定的与所述第一字符关联的第二字符组中的第二字符,所述第二字符组中包括至少一个所述第二字符;
    查询模块,被配置为根据所述按键灯开启指令查询字符与按键标识的对应关系,得到每个所述第二字符对应的目标按键标识;
    控制模块,被配置为控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,所述预设颜色的光线用于提示用户进行字符输入。
  36. 根据权利要求35所述的装置,其特征在于,
    所述控制模块,被配置为:
    控制所述目标按键标识指示的目标按键对应的按键灯开启并发出所述预设颜色的光线;
    控制键盘上的除所述目标按键以外的按键对应的按键灯关闭。
  37. 根据权利要求35所述的装置,其特征在于,键盘上的按键包括:功能按键,所述控制模块,被配置为:
    控制所述目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
    控制所述功能按键对应的按键灯发出第二预设颜色的光线;
    控制所述键盘上的除所述目标按键和所述功能按键以外的按键对应的按键灯发出第三预设颜色的光线;
    其中,所述第一预设颜色、所述第二预设颜色和所述第三预设颜色不同。
  38. 根据权利要求35所述的装置,其特征在于,键盘上的按键包括:功能按键,所述控制模块,被配置为:
    控制所述目标按键标识指示的目标按键对应的按键灯发出第一预设颜色的光线;
    控制所述功能按键对应的按键灯发出第二预设颜色的光线;
    控制所述键盘上的除所述目标按键和所述功能按键以外的按键对应的按键灯关闭;
    其中,所述第一预设颜色和所述第二预设颜色不同。
  39. 根据权利要求35所述的装置,其特征在于,
    所述控制模块,被配置为:
    控制所述目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线并闪烁。
  40. 根据权利要求35所述的装置,其特征在于,所述第二字符组中包括至少两个第二字符,
    所述控制模块,被配置为:
    分别确定每个所述第二字符与所述第一字符的关联度,得到至少两个关联度;
    控制每个所述第二字符对应的目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线;
    其中,任一目标按键对应的按键灯发出的光线的强度与所述任一目标按键对应的第二字符与所述第一字符的关联度正相关。
  41. 根据权利要求35所述的装置,其特征在于,所述第二字符组中包括至少两个第二字符,所述至少两个第二字符依次排列,
    所述控制模块,被配置为:
    根据所述至少两个第二字符的排列顺序依次控制每个所述第二字符对应的目标按键标识指示的目标按键对应的按键灯发出所述预设颜色的光线。
  42. 一种字符输入装置,其特征在于,所述装置包括:
    第一接收模块,被配置为接收用户输入的第一字符;
    确定模块,被配置为确定与所述第一字符关联的第二字符组,所述第二字符组中包括至少一个第二字符;
    发送模块,被配置为发送按键灯开启指令,所述按键灯开启指令包括所述第二字符组中的第二字符,以便于键盘根据所述按键灯开启指令查询字符与按键标识的对应关系,得到每个所述第二字符对应的目标按键标识,并控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,所述预设颜色的光线用于提示用户进行字符输入。
  43. 根据权利要求42所述的装置,其特征在于,所述确定模块,被配置为:
    确定目标词库,所述目标词库为与当前用户使用的输入法对应的词库或者根据用户输入的词汇建立的词库,所述目标词库用于记录不同字符间的关联关系;
    根据所述第一字符查询所述目标词库,得到所述第二字符组。
  44. 根据权利要求43所述的装置,其特征在于,所述装置还包括:
    第二接收模块,被配置为接收用户输入的第三字符;
    判断模块,被配置为判断所述第二字符组中是否存在与所述第三字符相同的字符;
    更新模块,被配置为当所述第二字符组中不存在与所述第三字符相同的字符时,根据所述第一字符和所述第三字符更新所述目标词库。
  45. 根据权利要求44所述的装置,其特征在于,所述更新模块,被配置为:
    向服务器发送查询请求,所述查询请求包括由所述第一字符和所述第三字符依次排列组成的待查询词语;
    接收所述服务器发送的查询响应,所述查询响应是所述服务器查询所述服务器中的词库后生成的;
    当所述查询响应指示所述服务器中的词库中存在所述待查询词语时,在所述目标词库中记录所述第一字符和所述第三字符的关联关系。
  46. 根据权利要求44所述的装置,其特征在于,所述更新模块,被配置为:
    向用户呈现更新提示信息;
    接收用户根据所述更新提示信息触发的更新指令,所述更新指令包括由所述第一字符和所述第三字符依次排列组成的待查询词语;
    在所述目标词库中记录所述第一字符和所述第三字符的关联关系。
  47. 一种字符输入装置,其特征在于,包括:
    处理器;
    用于存储所述处理器的可执行指令的存储器;
    其中,所述处理器被配置为:
    接收用户输入的第一字符;
    确定与所述第一字符关联的第二字符组,所述第二字符组中包括至少一个第二字符;
    查询字符与按键标识的对应关系,得到每个所述第二字符对应的目标按键标识;
    控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,所述预设颜色的光线用于提示用户进行字符输入。
  48. 一种字符输入装置,其特征在于,包括:
    处理器;
    用于存储所述处理器的可执行指令的存储器;
    其中,所述处理器被配置为:
    接收按键灯开启指令,所述按键灯开启指令包括根据用户输入第一字符确定的与所述第一字符关联的第二字符组中的第二字符,所述第二字符组中包括至少一个所述第二字符;
    根据所述按键灯开启指令查询字符与按键标识的对应关系,得到每个所述第二字符对应 的目标按键标识;
    控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,所述预设颜色的光线用于提示用户进行字符输入。
  49. 一种字符输入装置,其特征在于,包括:
    处理器;
    用于存储所述处理器的可执行指令的存储器;
    其中,所述处理器被配置为:
    接收用户输入的第一字符;
    确定与所述第一字符关联的第二字符组,所述第二字符组中包括至少一个第二字符;
    发送按键灯开启指令,所述按键灯开启指令包括所述第二字符组中的第二字符,以便于键盘根据所述按键灯开启指令查询字符与按键标识的对应关系,得到每个所述第二字符对应的目标按键标识,并控制所述目标按键标识指示的目标按键对应的按键灯发出预设颜色的光线,所述预设颜色的光线用于提示用户进行字符输入。
  50. 一种字符输入系统,其特征在于,所述系统包括:键盘和终端上的处理器,
    所述键盘包括权利要求35至41任一所述的字符输入装置;
    所述终端上的处理器包括权利要求42至46任一所述的字符输入装置。
  51. 一种字符输入系统,其特征在于,所述系统包括:键盘和终端上的处理器,
    所述键盘包括权利要求48所述的字符输入装置;
    所述终端上的处理器包括权利要求49所述的字符输入装置。
PCT/CN2015/099689 2015-11-13 2015-12-30 字符输入方法、装置及系统 Ceased WO2017080083A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2017517036A JP2018502350A (ja) 2015-11-13 2015-12-30 文字入力方法、装置及びシステム
MX2017009952A MX2017009952A (es) 2015-11-13 2015-12-30 Metodo, aprato y sistema para ingresar caracteres.
RU2017102501A RU2673017C2 (ru) 2015-11-13 2015-12-30 Способ, устройство и система для ввода символа
KR1020167014583A KR101813826B1 (ko) 2015-11-13 2015-12-30 문자를 입력하기 위한 방법, 장치 및 시스템

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510777567.4 2015-11-13
CN201510777567.4A CN105425981A (zh) 2015-11-13 2015-11-13 字符输入方法、装置及系统

Publications (1)

Publication Number Publication Date
WO2017080083A1 true WO2017080083A1 (zh) 2017-05-18

Family

ID=55504237

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/099689 Ceased WO2017080083A1 (zh) 2015-11-13 2015-12-30 字符输入方法、装置及系统

Country Status (8)

Country Link
US (1) US20170139488A1 (zh)
EP (1) EP3168714A1 (zh)
JP (1) JP2018502350A (zh)
KR (1) KR101813826B1 (zh)
CN (1) CN105425981A (zh)
MX (1) MX2017009952A (zh)
RU (1) RU2673017C2 (zh)
WO (1) WO2017080083A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017161550A1 (zh) * 2016-03-25 2017-09-28 华为技术有限公司 字符输入方法、装置及终端
CN106249911B (zh) * 2016-07-19 2019-01-18 百度在线网络技术(北京)有限公司 用于输入文本的方法和装置
CN106598929A (zh) * 2016-12-23 2017-04-26 珠海市魅族科技有限公司 字符处理装置及方法
CN107239153A (zh) * 2017-05-26 2017-10-10 北京小米移动软件有限公司 键盘输入提示方法及装置
CN115563157A (zh) * 2022-09-21 2023-01-03 北京艾享科技有限责任公司 一种针对用户行为习惯的输入法智能字库调取方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0872996A2 (en) * 1997-04-17 1998-10-21 Nokia Mobile Phones Ltd. User interface for a telephone apparatus with guide lights
CN1786881A (zh) * 2004-12-10 2006-06-14 英业达股份有限公司 汉字字符辅助输入方法及装置
US20060158353A1 (en) * 2005-01-18 2006-07-20 Chiang-Hua Tseng Light guided keyboard system
CN101739138A (zh) * 2008-11-18 2010-06-16 英业达股份有限公司 键盘控制方法及应用其的键盘
US20100149107A1 (en) * 2008-12-11 2010-06-17 Verizon Data Services Llc Predictive keypad/keyboard lighting to guide input
CN101907930A (zh) * 2009-06-04 2010-12-08 鸿富锦精密工业(深圳)有限公司 具按键提示的电子装置及按键提示方法

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05224803A (ja) * 1992-02-13 1993-09-03 Nec Corp 記号自由設定キーボード装置
JPH0625934U (ja) * 1992-08-26 1994-04-08 横河メディカルシステム株式会社 名前入力装置
US5818437A (en) * 1995-07-26 1998-10-06 Tegic Communications, Inc. Reduced keyboard disambiguating computer
FI108582B (fi) * 2000-05-02 2002-02-15 Nokia Corp Näppäimistön valaisujärjestely, joka mahdollistaa näppäinten muuttuvan ja yksilöllisen valaisemisen, sekä menetelmä sen käyttämiseksi
CA2323856A1 (en) * 2000-10-18 2002-04-18 602531 British Columbia Ltd. Method, system and media for entering data in a personal computing device
JP2006251838A (ja) * 2005-03-08 2006-09-21 Toshiba Tec Corp 入力装置、電子機器及び決済端末装置
JP4453620B2 (ja) * 2005-07-13 2010-04-21 日本電気株式会社 携帯電話端末、そのキーバックライト制御方法及びプログラム
US7443316B2 (en) * 2005-09-01 2008-10-28 Motorola, Inc. Entering a character into an electronic device
US20100026650A1 (en) * 2008-07-29 2010-02-04 Samsung Electronics Co., Ltd. Method and system for emphasizing objects
US20100306683A1 (en) * 2009-06-01 2010-12-02 Apple Inc. User interface behaviors for input device with individually controlled illuminated input elements
RU2471224C2 (ru) * 2010-07-12 2012-12-27 Игорь Евгеньевич Алимов Мультисимвольная клавиатура с подсветкой
US9310889B2 (en) * 2011-11-10 2016-04-12 Blackberry Limited Touchscreen keyboard predictive display and generation of a set of characters
KR101370834B1 (ko) * 2012-10-18 2014-03-07 삼성전자주식회사 디스플레이 장치 및 이의 문자 입력 방법

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0872996A2 (en) * 1997-04-17 1998-10-21 Nokia Mobile Phones Ltd. User interface for a telephone apparatus with guide lights
CN1786881A (zh) * 2004-12-10 2006-06-14 英业达股份有限公司 汉字字符辅助输入方法及装置
US20060158353A1 (en) * 2005-01-18 2006-07-20 Chiang-Hua Tseng Light guided keyboard system
CN101739138A (zh) * 2008-11-18 2010-06-16 英业达股份有限公司 键盘控制方法及应用其的键盘
US20100149107A1 (en) * 2008-12-11 2010-06-17 Verizon Data Services Llc Predictive keypad/keyboard lighting to guide input
CN101907930A (zh) * 2009-06-04 2010-12-08 鸿富锦精密工业(深圳)有限公司 具按键提示的电子装置及按键提示方法

Also Published As

Publication number Publication date
EP3168714A1 (en) 2017-05-17
JP2018502350A (ja) 2018-01-25
RU2017102501A (ru) 2018-07-26
MX2017009952A (es) 2017-10-19
CN105425981A (zh) 2016-03-23
US20170139488A1 (en) 2017-05-18
RU2017102501A3 (zh) 2018-07-26
KR101813826B1 (ko) 2017-12-29
RU2673017C2 (ru) 2018-11-21
KR20170102794A (ko) 2017-09-12

Similar Documents

Publication Publication Date Title
RU2670786C9 (ru) Система, способ и аппарат для управления группировкой устройств
EP2723049B1 (en) Context aware service provision method and apparatus of user device
KR102329761B1 (ko) 외부 장치의 선택 및 제어를 위한 전자 장치와 그의 동작 방법
WO2017080083A1 (zh) 字符输入方法、装置及系统
KR102561572B1 (ko) 센서 활용 방법 및 이를 구현한 전자 장치
US20160252979A1 (en) Input device, electronic device including the same, and control method thereof
WO2016050040A1 (zh) 接入点列表展示方法及装置
TWI597964B (zh) 訊息儲存方法、裝置及通訊終端
WO2016050038A1 (zh) 通信消息识别方法及装置
CN108958606B (zh) 分屏显示方法、装置、存储介质和电子设备
US10462243B2 (en) Method and device for interaction between terminals
CN106954321A (zh) 调节灯光的方法及装置
WO2018000710A1 (zh) WiFi信号图标的展示方法、装置和移动终端
WO2016173246A1 (zh) 基于云名片的电话呼叫方法及装置
CN108737618A (zh) 信息处理方法和装置、电子设备、计算机可读存储介质
CN109308126B (zh) 一种候选词展示方法和装置
WO2019144392A1 (zh) 终端控制方法、装置、存储介质及电子设备
CN109977424B (zh) 一种机器翻译模型的训练方法及装置
WO2019096043A1 (zh) 应用图标管理方法及移动终端
CN104866087B (zh) 电子装置与其控制方法
CN107239153A (zh) 键盘输入提示方法及装置
CN104090754B (zh) 按键提示的方法和装置
US20160028669A1 (en) Method of providing content and electronic device thereof
CN113841175B (zh) 数据分析方法及相关产品
WO2019056392A1 (zh) 信息处理方法、装置、移动终端和计算机可读存储介质

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 20167014583

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2017102501

Country of ref document: RU

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2017517036

Country of ref document: JP

Kind code of ref document: A

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

Ref document number: 15908213

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: MX/A/2017/009952

Country of ref document: MX

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15908213

Country of ref document: EP

Kind code of ref document: A1