WO2024067307A1 - 虚拟键盘的显示方法、装置、电子设备和存储介质 - Google Patents
虚拟键盘的显示方法、装置、电子设备和存储介质 Download PDFInfo
- Publication number
- WO2024067307A1 WO2024067307A1 PCT/CN2023/120144 CN2023120144W WO2024067307A1 WO 2024067307 A1 WO2024067307 A1 WO 2024067307A1 CN 2023120144 W CN2023120144 W CN 2023120144W WO 2024067307 A1 WO2024067307 A1 WO 2024067307A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- virtual keyboard
- letter
- input
- letter key
- key
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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 a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04886—Interaction 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 a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
Definitions
- the present application belongs to the technical field of electronic devices, and specifically relates to a method, device, electronic device and storage medium for displaying a virtual keyboard.
- users In electronic devices, users generally input through a virtual keyboard. After receiving the user's input on a key on the virtual keyboard, the electronic device will display the character corresponding to the key on the display interface.
- the purpose of the embodiments of the present application is to provide a method, device, electronic device and storage medium for displaying a virtual keyboard, which can improve the efficiency of text input by users through the virtual keyboard.
- an embodiment of the present application provides a method for displaying a virtual keyboard, the method comprising: when displaying the virtual keyboard, receiving a first input from a user on a first letter key in the virtual keyboard; the first letter key corresponds to a first letter; in response to the first input, highlighting a second letter key in the virtual keyboard; wherein the second letter key corresponds to a second letter, and the second letter has a combination relationship with the first letter.
- an embodiment of the present application provides a display device for a virtual keyboard, comprising a receiving module and a display module; the receiving module is used to receive a first input from a user to a first letter key in the virtual keyboard when the virtual keyboard is displayed; the first letter key corresponds to a first letter; the display module is used to highlight a second letter key in the virtual keyboard in response to the first input received by the receiving module; wherein the second letter key corresponds to a second letter, and the second letter has a combination relationship with the first letter.
- an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
- an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
- an embodiment of the present application provides a chip, the chip comprising a processor and a communication interface, The communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method described in the first aspect.
- an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
- a virtual keyboard when a virtual keyboard is displayed, a first input from a user to a first letter key in the virtual keyboard is received, the first letter key corresponds to a first letter, and in response to the first input, a second letter key is highlighted in the virtual keyboard, the second letter key corresponds to a second letter, and the second letter is in a combination relationship with the first letter, thereby improving the efficiency of text input by the user through the virtual keyboard.
- FIG1 is a schematic diagram of a flow chart of a method for displaying a virtual keyboard provided in an embodiment of the present application
- FIG. 2( a ) is a schematic diagram of an interface of a method for displaying a virtual keyboard in one embodiment
- FIG2( b ) is a schematic diagram of an interface of a method for displaying a virtual keyboard in an embodiment
- FIG3( a ) is a schematic diagram of an interface of a method for displaying a virtual keyboard in one embodiment
- FIG3( b ) is a schematic diagram of an interface of a method for displaying a virtual keyboard in an embodiment
- FIG. 4( a ) is a schematic diagram of an interface of a method for displaying a virtual keyboard in one embodiment
- FIG4( b ) is a schematic diagram of an interface of a method for displaying a virtual keyboard in an embodiment
- FIG5( a ) is a schematic diagram of an interface of a method for displaying a virtual keyboard in one embodiment
- FIG5( b ) is a schematic diagram of an interface of a method for displaying a virtual keyboard in an embodiment
- FIG6( a ) is a schematic diagram of an interface of a method for displaying a virtual keyboard in one embodiment
- FIG6( b ) is a schematic diagram of an interface of a method for displaying a virtual keyboard in an embodiment
- FIG. 7( a ) is a schematic diagram of an interface of a method for displaying a virtual keyboard in one embodiment
- FIG7( b ) is a schematic diagram of an interface of a method for displaying a virtual keyboard in an embodiment
- FIG8( a ) is a schematic diagram of an interface of a method for displaying a virtual keyboard in one embodiment
- FIG8( b ) is a schematic diagram of an interface of a method for displaying a virtual keyboard in an embodiment
- FIG9( a ) is a schematic diagram of an interface of a method for displaying a virtual keyboard in one embodiment
- FIG9( b ) is a schematic diagram of an interface of a method for displaying a virtual keyboard in an embodiment
- FIG. 10( a ) is a schematic diagram of an interface of a method for displaying a virtual keyboard in one embodiment
- FIG10( b ) is a schematic diagram of an interface of a method for displaying a virtual keyboard in an embodiment
- FIG11 is a schematic diagram of the structure of a display device of a virtual keyboard provided in an embodiment of the present application.
- FIG12 is one of the structural schematic diagrams of an electronic device provided in an embodiment of the present application.
- FIG. 13 is a second schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
- first, second, etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first”, “second”, etc. are generally of one type, and the number of objects is not limited.
- the first object can be one or more.
- “and/or” in the specification and claims represents at least one of the connected objects, and the character “/" generally indicates that the objects associated with each other are in an "or” relationship.
- This embodiment provides a method for displaying a virtual keyboard. As shown in FIG1 , the method for displaying a virtual keyboard is applied to an electronic device and includes the following steps 201 and 202:
- Step 201 When displaying a virtual keyboard, the electronic device receives a first input from a user on a first letter key in the virtual keyboard.
- the above-mentioned first letter key corresponds to the first letter.
- the first letter key may be any key in the virtual keyboard, and the embodiment of the present application is not limited to this.
- the virtual keyboard is a keyboard having a function of automatically identifying letters corresponding to keys in the virtual keyboard.
- the above-mentioned virtual keyboard can be a virtual keyboard corresponding to the nine-square grid input method, or it can be a keyboard corresponding to the 26-key input method.
- the first letter corresponding to the first letter key can be a single letter, for example, or it can be multiple letters.
- a first letter key can correspond to 3 letters, namely J, K, and L.
- the first letter corresponding to the first letter key may be multiple letters
- the first letter key has a corresponding relationship with the multiple letters respectively.
- the virtual keyboard may be a keyboard independent of the built-in virtual keyboard of the electronic device, or may be the built-in virtual keyboard of the electronic device, wherein the built-in virtual keyboard of the electronic device has the function of automatically identifying the characters corresponding to the keys in the virtual keyboard.
- the virtual keyboard in the case where the above-mentioned virtual keyboard can be a keyboard independent of the virtual keyboard that comes with the electronic device, the virtual keyboard has the same key layout interface as the keyboard that comes with the electronic device (for example, the above-mentioned nine-square grid format, 26-key format keyboard), and the user can select the virtual keyboard to use its recognition function.
- the electronic device when the virtual keyboard is a virtual keyboard built into the electronic device, the electronic device is provided with an automatic recognition function for the virtual keyboard built into the electronic device. After the user turns on the function, the virtual keyboard built into the electronic device can automatically recognize the first letter of the first input indication. Furthermore, the electronic device can turn on the automatic recognition function by default, or turn off the automatic recognition function by default. If the automatic recognition function is turned on by default, the user can turn on the automatic recognition function by default. The user does not need to manually turn on the automatic recognition function before the first use, and it will be turned on by default subsequently; if the automatic recognition function is turned off by default, the user needs to manually turn on the automatic recognition function before the first use, and it will be turned on by default subsequently. The embodiments of the present application are not limited to this.
- the first input is used to trigger the electronic device to display a first letter corresponding to the first input, and automatically identify N second letters associated with the first letter.
- the first input may be a touch input, a voice input, or a special gesture input, which is not limited in the embodiment of the present application.
- Step 202 In response to the above-mentioned first input, the electronic device highlights a second letter key in the virtual keyboard.
- the second letter key corresponds to the second letter, and the second letter has a combination relationship with the first letter.
- the combination relationship includes at least one of the following: a Chinese pinyin combination, an English word combination.
- the above combination relationship may be related to the type of text that needs to be generated when the user actually uses the virtual keyboard.
- the above-mentioned text types may be other languages besides Chinese and English, for example, German, Japanese, French, Korean, etc.
- the above-mentioned combination relationship can be a spelling relationship, that is, there is a spelling relationship between the second letter corresponding to the second letter key and the first letter corresponding to the first letter key.
- the above combination relationship can be a spelling relationship of English words, that is, the second letter corresponding to the second letter key and the first letter corresponding to the first letter key have a spelling relationship of English words.
- the above-mentioned second letter key is: a key corresponding to the second letter associated with the first letter indicated by the above-mentioned first letter key.
- the first display method is a display method that allows the user to know the N second letter keys more clearly than before receiving the first input.
- the first display method includes: highlighting N second letter keys; enlarging and displaying the N second letter keys; adjusting the arrangement order of the N second letter keys in the virtual keyboard and placing them in the front display position of the virtual keyboard, etc.
- a virtual keyboard when a virtual keyboard is displayed, a first input from a user to a first letter key in the virtual keyboard is received, the first letter key corresponds to a first letter, and in response to the first input, a second letter key is highlighted in the virtual keyboard, the second letter key corresponds to a second letter, and the second letter is in a combination relationship with the first letter, thereby improving the efficiency of text input by the user through the virtual keyboard.
- the highlighting mode of the second letter key includes at least one of the following: canceling the display of letter keys other than the second letter key in the virtual keyboard; weakening the display of the virtual keyboard; letter keys other than the second letter key in the virtual keyboard; enlarge and display the second letter key in the virtual keyboard; highlight and display the second letter key in the virtual keyboard; and display the second letter key at a target position of the virtual keyboard.
- the highlighting mode of the second letter key may be one of the above-mentioned highlighting modes, or may be multiple of the above-mentioned highlighting modes, which is not limited in the present application.
- the above-mentioned highlighting mode may be a combination of two display modes: enlarging the display of the second letter key in the above-mentioned virtual keyboard and weakening the display of letter keys other than the second letter key in the above-mentioned virtual keyboard, that is, enlarging the display of the second letter key while weakening the letter keys other than the second letter key.
- the second letter key when the second letter key is highlighted in a plurality of ways, it should be a combination of highlighting letter keys other than the second letter key and highlighting the second letter key.
- Example 1 In Figure 2(a), assuming that the user wants to use pinyin to output the Chinese character "I", the electronic device receives the user's first input of "W” (i.e. the above-mentioned first letter) on key 32 (i.e. the above-mentioned first letter key) in the virtual keyboard 31. After the electronic device receives the first input, in Figure 2(b), only the four keys (i.e. the above-mentioned second letter keys) corresponding to the four letters "A”, "E", "U” and “O” (i.e. the above-mentioned second letters) will be displayed in the display interface of the virtual keyboard 31, and the remaining keys will no longer be displayed (i.e. the above-mentioned cancellation of the letter keys in the above-mentioned virtual keyboard except the above-mentioned second letter key), and the user can select the key he needs from the remaining four keys to make the next input.
- the four keys i.e. the above-mentioned second letter keys
- the highlighting mode of the second letter key is to weaken the display of letter keys other than the second letter key in the virtual keyboard, the letter keys other than the second letter key will be weakened in the virtual keyboard.
- Example 2 In Figure 3(a), assuming that the user wants to use pinyin to output the Chinese character " ⁇ ", the electronic device receives the user's first input of "W” (i.e. the above-mentioned first letter) on key 32 (i.e. the above-mentioned first letter key) in the virtual keyboard 31.
- the four keys i.e. the above-mentioned second letter keys
- the remaining keys will be displayed with 70% transparency (i.e. the above-mentioned weakened display of the letter keys in the above-mentioned virtual keyboard except the above-mentioned second letter key), and the user can select the key he needs from the remaining four keys to make the next input.
- the second letter key when the second letter key is highlighted in such a way as to enlarge the second letter key in the virtual keyboard, the second letter key will be enlarged in the virtual keyboard.
- Example 3 In FIG4(a), assuming that the user wants to use pinyin to input the Chinese character " ⁇ ", the electronic device receives the user's first input of "W” (i.e., the first letter) on the key 32 (i.e., the first letter key) in the virtual keyboard 31. After the electronic device receives the first input, in FIG4(b), the virtual keyboard 31 will be displayed in an enlarged manner. The four keys corresponding to the four letters "A”, “E”, “U” and “O” (i.e. the second letters mentioned above) (i.e. the second letter keys mentioned above) will be displayed, and the remaining keys will be displayed in the original display mode. Users can then easily select the keys they need from the remaining four keys for the next step of input.
- the second letter key when the second letter key is highlighted in the virtual keyboard, the second letter key will be highlighted in the virtual keyboard.
- Example 4 In Figure 5(a), assuming that the user wants to use pinyin to output the Chinese character " ⁇ ", the electronic device receives the user's first input of "W” (i.e. the above-mentioned first letter) on key 32 (i.e. the above-mentioned first letter key) in the virtual keyboard 31.
- the four keys i.e. the above-mentioned second letter keys
- the remaining keys will be displayed in the original display mode, so that the user can conveniently select the key he needs from the remaining four keys to make the next input.
- the second letter key when the second letter key is highlighted in such a manner that the second letter key is displayed at a target position on the virtual keyboard, the second letter key will be displayed at the target position on the virtual keyboard.
- the target position can be an input position determined by the electronic device according to the user's input posture information (left-hand input, right-hand input, or left-hand and right-hand input), that is, the first position described below.
- the above-mentioned target position can be the position for left-hand operation, or the position for right-hand operation, or the position for both-hand operation. Please refer to the subsequent description for details. It can also be a designated position determined according to the position of the second letter key in the virtual keyboard, that is, the second position described below. Please refer to the subsequent description for details.
- Example 5 In Figure 6(a), assuming that the user wants to use pinyin to output the Chinese character " ⁇ ", the electronic device receives the user's first input of "W” (i.e. the above-mentioned first letter) on key 32 (i.e. the above-mentioned first letter key) in the virtual keyboard 31. After receiving the first input, the electronic device determines that the user's input posture is left-hand input. Then, in Figure 6(b), on the left side of the display interface of the virtual keyboard 31, there will be four keys (i.e. the above-mentioned second letter keys) corresponding to the four letters "A", "E", "U” and “O” (i.e. the above-mentioned second letters), and the remaining keys will be displayed in the original display mode. The user can conveniently select the key he needs from the remaining four keys to make the next input.
- W i.e. the above-mentioned first letter
- key 32 i.e. the above-mentioned first letter key
- the method for displaying a virtual keyboard provided in the embodiment of the present application further includes the following steps A1 and A2:
- Step A1 In response to the first input, the electronic device determines a first position that matches the input gesture information corresponding to the first input.
- Step A2 The electronic device displays the second letter key at the first position.
- the above-mentioned input gesture information includes at least one of the following: left hand input gesture information, right hand input gesture information, and both-hands input gesture information.
- the electronic device when it receives the first input, it can determine the input gesture information corresponding to the first input according to the position of the first input on the display interface; it can also use the gesture sensing module to detect the input gesture information of the first input. The input posture is sensed, and then the input posture information corresponding to the first input is determined.
- the first position may be preset by the electronic device, may be automatically generated by the electronic device according to input gesture information corresponding to the first input, or may be customized by the user.
- the electronic device when the above-mentioned first position can be preset by the electronic device, the electronic device sets N preset input gesture information in advance, and accordingly sets the first position corresponding to the N preset input gesture information.
- the first position when the first position can also be automatically generated by the electronic device according to input gesture information corresponding to the first input, the first position is randomly determined by the electronic device on the display interface according to the input gesture information corresponding to the first input.
- the user can enter N input preset input posture information and the position information corresponding to the N input preset input posture information in the electronic device. After the electronic device detects the input posture information based on the first input, the position information matching the input posture information corresponding to the first input is determined based on the N input preset input posture information entered by the user in the electronic device, and the matching position information is the first position.
- Example 6 In Figure 7(a), assuming that the user wants to use pinyin to output the Chinese character " ⁇ ", the electronic device receives the user's first input of "W” (i.e. the above-mentioned first letter) on key 32 (i.e. the above-mentioned first letter key) in the virtual keyboard 31. After receiving the first input, the electronic device determines that the user's input gesture is right-hand input. Then, in Figure 7(b), the four keys (i.e. the above-mentioned second letter keys) corresponding to the four letters "A", "E", "U” and “O” (i.e. the above-mentioned second letters) are displayed on the right side of the display interface of the virtual keyboard 31, and the remaining keys will be cancelled. The user can conveniently select the key he needs from the remaining four keys to make the next input.
- W i.e. the above-mentioned first letter
- key 32 i.e. the above-mentioned first letter key
- the electronic device determine
- the electronic device displays the second letter key at the first position in a display manner that is most convenient for the user according to the user's input gesture, thereby improving the efficiency of the user in searching for and selecting the second letter key.
- the method for displaying a virtual keyboard provided in the embodiment of the present application further includes the following steps B1 and B2:
- Step B1 In response to the first input, the electronic device determines a second position that matches the input position corresponding to the first input.
- Step B2 The electronic device displays the second letter key at the second position.
- the input position of the first input is the input from the user on the display interface corresponding to the virtual keyboard to,
- the above preset range may be preset or user-defined.
- the second position is a position within a preset range of the virtual keyboard.
- the second position may be a position within a preset range of the first letter key in the virtual keyboard, or may be a position within a preset range of the virtual keyboard corresponding to the input position of the first input.
- Example 7 In FIG8(a), assuming that the user wants to use pinyin to output the Chinese character " ⁇ ", the electronic device receives the user's first input of "W” (i.e., the first letter) on key 32 (i.e., the first letter key) in the virtual keyboard 31. After receiving the first input, the electronic device determines that the input position of the user's input is on the left side of key 32.
- FIG8(b) In the figure, the periphery of the key 32 is enlarged, and the four keys (i.e. the second letter keys) corresponding to the four letters "A", "E", "U” and “O” (i.e. the second letters) are displayed in sequence, and the remaining keys will be cancelled. The user can then conveniently select the key he needs from the remaining four keys for the next step of input.
- the electronic device displays the second letter key at a second position in a display manner that is most convenient for the user according to the input position of the user's first input, thereby improving the efficiency of the user in finding and selecting the second letter key.
- each letter key in the virtual keyboard corresponds to at least two letters, and the number of the first letters is at least two.
- the method for displaying a virtual keyboard provided in the embodiment of the present application further includes the following step C:
- Step C In response to the first input, the electronic device highlights the second letters that are in combination with at least two first letters in the virtual keyboard.
- the virtual keyboard when each letter key in the virtual keyboard corresponds to at least two letters and the number of the first letters is at least two letters, the virtual keyboard may be a nine-square input method keyboard.
- the second letter key of the second letter may be displayed within a preset range of the first letter key.
- Example 8 In Figure 9(a), assuming that the user wants to use the nine-square input method to spell out the English word "and", the electronic device receives the user's first input on key 42 in the virtual keyboard 41 (i.e., the above-mentioned first letter key), that is, key 42 containing the three letters "a, b, c".
- key 42 in the virtual keyboard 41 i.e., the above-mentioned first letter key
- the electronic device After receiving the first input, the electronic device will display the second letter keys that have English spelling combination relationships with the three letters "a, b, c", where the second letters that have an English spelling combination relationship with a include “n, s", then as shown in Figure 9(b), the second letter keys corresponding to "a:n, s" are displayed near key 42; the second letters that have an English spelling combination relationship with b include "b:o, e, y”, then the second letter keys corresponding to "o, e, y” are displayed near key 42; the second letters that have an English spelling combination relationship with c include "l, o", then the second letter keys corresponding to "c:l, o" are displayed near key 42.
- the electronic device displays the second letter key in a second position in a highlighted manner according to the user's virtual keyboard, thereby improving the efficiency of the user in searching for and selecting the second letter key.
- step D1 the method for displaying a virtual keyboard provided in the embodiment of the present application further includes the following step D1:
- Step D1 The electronic device obtains the historical input information of the user using the virtual keyboard.
- step 202 the method for displaying a virtual keyboard provided in the embodiment of the present application further includes the following step D2:
- Step D2 In response to the first input, the electronic device determines a second letter key based on the historical input information, and highlights the second letter key in the virtual keyboard.
- the above historical input information may include the user's habit information of inputting characters using the virtual keyboard.
- M is an integer greater than 1
- the electronic device may store the number of times the user selects each of the M second letters, and the number of times each of the M second letters is selected may be stored as historical input information.
- the method for displaying a virtual keyboard provided in the embodiment of the present application further includes the following step E1:
- Step E1 When the number of the second letter keys is N, the electronic device determines the arrangement order of the N second letter keys according to the historical input information.
- Step E2 The electronic device highlights the second letter key in the virtual keyboard according to the arrangement order, where N is a positive integer greater than 1.
- the appeal history input information can refer to the above description and will not be repeated here.
- the electronic device can obtain, based on the above historical input information, the associated weight relationship between different keys when the user inputs characters using the virtual keyboard.
- the electronic device can determine the arrangement order of the N second letter keys according to the value of the association weight. Generally, the larger the association weight, the higher the arrangement order, and the smaller the association weight, the lower the arrangement order.
- the above-mentioned associated weight value refers to: the possibility threshold of the combination between the second letter corresponding to the second letter key and the first letter corresponding to the first letter key, and then comparing the possibility threshold of the second letter key to calculate the combination weight ranking between the second letter corresponding to the second letter key and the first letter corresponding to the first letter key.
- the above-mentioned association weight value can be calculated by the electronic device itself, or the electronic device can send an application to a server and the server can calculate it.
- the above-mentioned association weight value is the association weight obtained by the electronic device based on the user's habit of inputting letters.
- the above-mentioned association weight value is the association weight obtained by the server based on the big data of input letters obtained by it (that is, the habit of most people inputting letters).
- Example 9 In FIG10(a), assuming that the user wants to use pinyin to output the Chinese character "I", the electronic device receives the user's first input of "W” (i.e., the first character) on the key 32 (i.e., the first letter key) in the virtual keyboard 31. After receiving the first input, the electronic device will calculate the weights of the four letters “A”, “E”, “U”, and “O” that can follow "W” respectively, and after obtaining that the weight of the letter “A” is 20%, the weight of "E” is 10%, the weight of "U” is 20%, and the weight of “O” is 50%. As shown in FIG10(b), the display interface of the virtual keyboard 31 will arrange “A”, “E”, “U”, and “O” in the order of “O", “A”, “U”, and “E”, and display them at the forefront of the virtual keyboard 31.
- W i.e., the first character
- the electronic device After receiving the first input, the electronic device will calculate the weights of the four letters “A”,
- the second letter keys are displayed in order, other keys in the virtual keyboard may be displayed in a highlighted manner (for example, letter keys other than the second letter key in the virtual keyboard are hidden), thereby further highlighting the second letter key.
- the second letter keys are displayed in order, and while other letter keys in the virtual keyboard are hidden, subsequent related characters are magnified as the user further inputs.
- the technical solutions of the above-mentioned steps 201-202 and steps A to E2 can be executed in a non-networked state or in a networked state.
- the method for displaying a virtual keyboard provided in the embodiment of the present application further includes the following step F:
- Step F Detect the networking status of the electronic device.
- the first method Network status
- the method for displaying a virtual keyboard provided in the embodiment of the present application further includes the following steps G1 and G2:
- Step G1 When the electronic device is in a networked state, in response to the first input, the first letter is sent to a server.
- Step G2 Upon receiving M second letters associated with the first letter sent by the server, the electronic device highlights the second letter keys in the virtual keyboard, where M is a positive integer.
- the server can obtain M second letters that best match the first letter through big data input or Internet search, and send them to the electronic device.
- the electronic device after receiving the second letter, the electronic device will display the second letter key corresponding to the second letter in the virtual keyboard in the first display mode.
- the method for displaying a virtual keyboard provided in the embodiment of the present application further includes the following step H1:
- Step H1 every first predetermined time period, the electronic device receives a first word library from the server, and adds words in the first word library to a target word library of the electronic device.
- the first word library includes: words updated on the Internet during the first predetermined period of time;
- the electronic device in step 202 highlights the second letter key in the virtual keyboard, including:
- Step F2 The electronic device identifies the first letter corresponding to the first letter key.
- Step F3 The electronic device obtains the second letter associated with the first letter from the target word library.
- Step F4 The electronic device highlights the second letter key in the virtual keyboard.
- the first predetermined duration may be user-defined or automatically set by the electronic device.
- the server periodically pushes the latest and most popular possible letter combinations to electronic devices. After receiving the data, the electronic devices replace the corresponding letter combinations based on the principle of least recent use. Based on this one-step operation, the interaction between the mobile electronic device and the server is further reduced, that is, the virtual keyboard's dependence on the network is reduced.
- the display method of the virtual keyboard provided in the embodiment of the present application can be executed by a display device of the virtual keyboard.
- the display method of the virtual keyboard performed by the display device of the virtual keyboard is taken as an example to illustrate the display device of the virtual keyboard provided in the embodiment of the present application.
- FIG. 11 is a schematic diagram of a possible structure of a display device for implementing a virtual keyboard provided in an embodiment of the present application.
- the above-mentioned device 600 includes: a receiving module 601, which is used to receive a first input from a user to a first letter key in the above-mentioned virtual keyboard when the virtual keyboard is displayed; the above-mentioned first letter key corresponds to a first letter; a display module 602, which is used to highlight a second letter key in the above-mentioned virtual keyboard in response to the above-mentioned first input received by the receiving module 601; wherein the above-mentioned second letter key corresponds to a second letter, and the above-mentioned second letter has a combination relationship with the above-mentioned first letter.
- a virtual keyboard when a virtual keyboard is displayed, a first input from a user to a first letter key in the virtual keyboard is received, the first letter key corresponds to a first letter, and in response to the first input, a second letter key is highlighted in the virtual keyboard, the second letter key corresponds to a second letter, and the second letter is in a combination relationship with the first letter, thereby improving the efficiency of text input by the user through the virtual keyboard.
- the highlighting mode of the second letter key includes at least one of the following:
- a second letter key is displayed at the target position on the virtual keyboard.
- the display module 602 is further used to: in response to the first input, determine a first position that matches the input gesture information corresponding to the first input; and display a second letter key at the first position.
- the input gesture information includes at least one of the following: left hand input gesture information, right hand input gesture information, and both-hands input gesture information.
- the display module 602 is further used to: determine, in response to the first input, a second position that matches the input position corresponding to the first input; and display a second letter key at the second position, where the second position is a position within a preset range of the virtual keyboard.
- each letter key in the virtual keyboard corresponds to at least two letters, and the number of first letters is at least two;
- the display module 602 is further configured to: in response to the first input, highlight in the virtual keyboard the second letters that are in a combination relationship with the at least two first letters.
- the combination relationship includes at least one of the following: a Chinese pinyin combination, an English word combination.
- the device further comprises:
- the acquisition module is used to obtain the historical input information of the user using the virtual keyboard
- the display module 602 is further used to: in response to the first input, determine a second letter key according to the historical input information, and highlight the second letter key in the virtual keyboard.
- the display module 602 is also used to: when the number of second letter keys is N, determine the arrangement order of the N second letter keys according to historical input information; and highlight the second letter keys in the virtual keyboard according to the arrangement order, where N is a positive integer greater than 1.
- the display device of the virtual keyboard in the embodiment of the present application can be an electronic device, or a part of the electronic device. Components, such as integrated circuits or chips.
- the electronic device may be a terminal or other devices other than a terminal.
- the electronic device may be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc.
- It may also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiments of the present application.
- Network Attached Storage NAS
- PC personal computer
- TV television
- teller machine a self-service machine
- the display device of the virtual keyboard in the embodiment of the present application may be a device having an operating system.
- the operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
- the display device of the virtual keyboard provided in the embodiment of the present application can implement each process implemented in the method embodiments of Figures 1 to 10, and will not be described again here to avoid repetition.
- an embodiment of the present application also provides an electronic device 800, including a processor 801 and a memory 802, and the memory 802 stores a program or instruction that can be executed on the processor 801.
- the program or instruction is executed by the processor 801
- the various steps of the above-mentioned virtual keyboard display method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
- the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
- FIG. 13 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
- the electronic device 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
- components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
- the electronic device 100 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 110 through a power management system, so that the power management system can manage charging, discharging, and power consumption.
- a power source such as a battery
- the electronic device structure shown in FIG13 does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange components differently, which will not be described in detail here.
- the user input unit 107 is used to receive the user's first input on the first letter key in the above-mentioned virtual keyboard when the virtual keyboard is displayed; the above-mentioned first letter key corresponds to the first letter; the display unit 106 is used to highlight the second letter key in the above-mentioned virtual keyboard in response to the above-mentioned first input input by the user input unit 107; wherein the above-mentioned second letter key corresponds to the second letter, and the above-mentioned second letter has a combination relationship with the above-mentioned first letter.
- a virtual keyboard when a virtual keyboard is displayed, a first input from a user to a first letter key in the virtual keyboard is received, the first letter key corresponds to a first letter, and in response to the first input, a second letter key is highlighted in the virtual keyboard, the second letter key corresponds to a second letter, and the second letter is in a combination relationship with the first letter, thereby improving the efficiency of text input by the user through the virtual keyboard.
- the highlighting method of the second letter key includes at least one of the following: canceling the display of letter keys other than the second letter key in the virtual keyboard; weakening the display of letter keys other than the second letter key in the virtual keyboard; enlarging the display of the second letter key in the virtual keyboard; highlighting the second letter key in the virtual keyboard; displaying the second letter key at the target position of the virtual keyboard.
- the processor 110 is used to determine a first position matching the input gesture information corresponding to the first input in response to the first input received by the user input unit 107; the display unit 106 is also used to display the second letter key at the first position.
- the input gesture information includes at least one of the following: left hand input gesture information, right hand input gesture information, and both hands input gesture information.
- the processor 110 is used to determine a second position matching the input position corresponding to the first input in response to the first input received by the user input unit 107; the display unit 106 is also used to display the second letter key at the second position, and the second position is a position within a preset range of the virtual keyboard.
- each letter key in the virtual keyboard corresponds to at least two letters, and the number of the first letters is at least two; the display unit 106 is also used to respond to the first input received by the user input unit 107, and highlight the second letter that has a combination relationship with at least two first letters in the virtual keyboard.
- the above combination relationship includes at least one of the following: Chinese pinyin combination, English word combination.
- the processor 110 is used to obtain historical input information of the user using the above-mentioned virtual keyboard; the above-mentioned display unit 106 is also used to respond to the above-mentioned user input unit 107 receiving the above-mentioned first input, determine the second letter key according to the above-mentioned historical input information obtained by the above-mentioned processor 110, and highlight the second letter key in the above-mentioned virtual keyboard.
- the processor 110 is further used to determine, when the number of the second letter keys is N, an arrangement order of the N second letter keys based on the historical input information; the display unit 106 is further used to highlight the second letter keys in the virtual keyboard according to the arrangement order determined by the processor 110, where N is a positive integer greater than 1.
- the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
- the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc.
- the user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072.
- the touch panel 1071 is also called a touch screen.
- the touch panel 1071 may include two parts: a touch detection device and a touch controller.
- Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
- the memory 109 can be used to store software programs and various data.
- the memory 109 can mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area can store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.).
- the memory 109 It may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories.
- the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
- the volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM), and a direct memory bus random access memory (DRRAM).
- the memory 109 in the embodiments of the present application includes but is not limited to these and any other suitable types of memories.
- the processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.
- An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored.
- a program or instruction is stored.
- each process of the above-mentioned virtual keyboard display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
- the processor is the processor in the electronic device described in the above embodiment.
- the readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
- An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned virtual keyboard display method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
- the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
- An embodiment of the present application provides a computer program product, which is stored in a storage medium.
- the program product is executed by at least one processor to implement the various processes of the above-mentioned virtual keyboard display method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
- the technical solution of the present application can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
- a storage medium such as ROM/RAM, a magnetic disk, or an optical disk
- a terminal which can be a mobile phone, a computer, a server, or a network device, etc.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
本申请公开了一种虚拟键盘的显示方法、装置、电子设备和存储介质,属于通信技术领域。该方法包括:在显示虚拟键盘的情况下,接收用户对上述虚拟键盘中的第一字母按键的第一输入;上述第一字母按键对应第一字母;响应于上述第一输入,在上述虚拟键盘中突出显示第二字母按键;其中,上述第二字母按键对应第二字母,上述第二字母与上述第一字母存在组合关系。
Description
相关申请的交叉引用
本申请主张在2022年9月26日在中国提交的申请号为202211176765.1的中国专利的优先权,其全部内容通过引用包含于此。
本申请属于电子设备技术领域,具体涉及一种虚拟键盘的显示方法、装置、电子设备和存储介质。
在电子设备中,用户一般通过虚拟键盘进行输入。电子设备在接收到用户对该虚拟键盘中某一按键的输入后,将会将与该按键相对应的字符显示在显示界面上。
然而,由于虚拟键盘的按键之间比较紧凑,用户在通过虚拟键盘进行输入的过程中容易发生误触,导致用户通过虚拟键盘进行文本输入的效率低。
发明内容
本申请实施例的目的是提供一种虚拟键盘的显示方法、装置、电子设备和存储介质,能够提高用户通过虚拟键盘进行文本输入的效率。
第一方面,本申请实施例提供了一种虚拟键盘的显示方法,该方法包括:在显示虚拟键盘的情况下,接收用户对所述虚拟键盘中的第一字母按键的第一输入;所述第一字母按键对应第一字母;响应于所述第一输入,在所述虚拟键盘中突出显示第二字母按键;其中,所述第二字母按键对应第二字母,所述第二字母与所述第一字母存在组合关系。
第二方面,本申请实施例提供了一种虚拟键盘的显示装置,上述装置包括接收模块和显示模块;接收模块,用于在显示虚拟键盘的情况下,接收用户对所述虚拟键盘中的第一字母按键的第一输入;所述第一字母按键对应第一字母;显示模块,用于响应于所述接收模块接收的所述第一输入,在所述虚拟键盘中突出显示第二字母按键;其中,所述第二字母按键对应第二字母,所述第二字母与所述第一字母存在组合关系。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所
述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。
在本申请实施例中,在显示虚拟键盘的情况下,接收用户对虚拟键盘中的第一字母按键的第一输入,第一字母按键对应第一字母,响应于第一输入,在虚拟键盘中突出显示第二字母按键,第二字母按键对应第二字母,第二字母与第一字母存在组合关系,这样,提高了用户通过虚拟键盘进行文本输入的效率。
图1是本申请实施例提供的一种虚拟键盘的显示方法的流程示意图;
图2(a)是一个实施例中虚拟键盘的显示方法的界面示意图;
图2(b)是一个实施例中虚拟键盘的显示方法的界面示意图;
图3(a)是一个实施例中虚拟键盘的显示方法的界面示意图;
图3(b)是一个实施例中虚拟键盘的显示方法的界面示意图;
图4(a)是一个实施例中虚拟键盘的显示方法的界面示意图;
图4(b)是一个实施例中虚拟键盘的显示方法的界面示意图;
图5(a)是一个实施例中虚拟键盘的显示方法的界面示意图;
图5(b)是一个实施例中虚拟键盘的显示方法的界面示意图;
图6(a)是一个实施例中虚拟键盘的显示方法的界面示意图;
图6(b)是一个实施例中虚拟键盘的显示方法的界面示意图;
图7(a)是一个实施例中虚拟键盘的显示方法的界面示意图;
图7(b)是一个实施例中虚拟键盘的显示方法的界面示意图;
图8(a)是一个实施例中虚拟键盘的显示方法的界面示意图;
图8(b)是一个实施例中虚拟键盘的显示方法的界面示意图;
图9(a)是一个实施例中虚拟键盘的显示方法的界面示意图;
图9(b)是一个实施例中虚拟键盘的显示方法的界面示意图;
图10(a)是一个实施例中虚拟键盘的显示方法的界面示意图;
图10(b)是一个实施例中虚拟键盘的显示方法的界面示意图;
图11为本申请实施例提供的一种虚拟键盘的显示装置的结构示意图;
图12为本申请实施例提供的一种电子设备的结构示意图之一;
图13为本申请实施例提供的一种电子设备的结构示意图之二。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实
施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的虚拟键盘的显示方法进行详细地说明。
本实施例提供一种虚拟键盘的显示方法,如图1所示,该虚拟键盘的显示方法应用于电子设备,包括以下步骤201和步骤202:
步骤201:电子设备在显示虚拟键盘的情况下,接收用户对上述虚拟键盘中的第一字母按键的第一输入。
在本申请实施例中,上述第一字母按键对应第一字母。
示例性地,在本申请实施例中,上述第一字母按键可以为虚拟键盘中的任意按键,本申请实施例对此不作限定。
在本申请实施例中,上述虚拟键盘为:具有自动识别虚拟键盘中的按键对应字母的功能的键盘。
在本申请实施例中,上述虚拟键盘可以为九宫格输入法对应的虚拟键盘,也可以为26键输入法对应的键盘。
在一种实施例中,若上述虚拟键盘为九宫格输入法对应的虚拟键盘,则第一字母按键对应的第一字母可以为单个字母,例如,也可以为多个字母,例如,一个第一字母按键可以对应3个字母,分别为J、K、L。
进一步地,当第一字母按键对应的第一字母可以为多个字母时,第一字母按键与该多个字母分别有对应关系。
示例性地,上述虚拟键盘可以为独立于电子设备自带虚拟键盘以外的一种键盘,也可以为电子设备自带的虚拟键盘,其中,该电子设备自带的虚拟键盘具备自动识别虚拟键盘中的按键对应字符的功能。
在一种实施例中,在上述虚拟键盘可以为独立于电子设备自带虚拟键盘以外的一种键盘的情况下,该虚拟键盘具有与电子设备自带键盘相同的按键排布界面(例如,上述九宫格形式,26键形式的键盘),用户可以选择该虚拟键盘从而使用其识别功能。
在另一种实施例中,在上述虚拟键盘为电子设备自带的虚拟键盘的情况下,电子设备设有针对电子设备自带的虚拟键盘的自动识别功能,在用户开启该功能后,电子设备自带的虚拟键盘即可自动识别上述第一输入指示的第一字母。进一步地,电子设备可以默认开启该自动识别功能,也可以默认关闭该自动识别功能,若默认开启该自动识别功能,则用
户在第一次使用前无需在手动开启该自动识别功能,后续则默认为开启状态;若默认关闭该自动识别功能,则用户在第一次使用前需要手动开启该自动识别功能,后续则默认为开启状态,本申请实施例对此不作限定。
示例性地,上述第一输入用于触发电子设备显示上述第一输入对应的第一字母,并自动识别与上述第一字母相关联的N个第二字母。
示例性地,上述第一输入可以为触控输入,也可以为语音输入,还可以为特殊手势的输入,本申请实施例对此不作限定。
步骤202:响应于上述第一输入,电子设备在虚拟键盘中突出显示第二字母按键。
在本申请实施例中,上述第二字母按键对应第二字母,上述第二字母与上述第一字母存在组合关系。
可选地,在本申请实施例中,所述组合关系包括以下至少一项:汉语拼音组合、英文单词组合。
在本申请实施例中,上述组合关系可以与用户实际使用虚拟键盘时,所需要生成的文字类型相关。
示例性地,上述文字类型可以为除了汉语和英文以外的其他多种语言,例如,德语、日语、法语、韩语等。
在一种示例中,当上述文字类型为中文,且对应生成中文的输入法为拼音输入法时,上述组合关系可以为拼写关系,也即第二字母按键对应的第二字母与第一字母按键对应的第一字母之间具有拼写关系。
在另一种示例中,当上述文字类型为英文,且对应生成英文的输入法为常规英文输入法时,上述组合关系可以为英文单词的拼写关系,也即第二字母按键对应的第二字母与第一字母按键对应的第一字母之间具有英文单词的拼写关系。
可以理解的是,上述第二字母按键为:与上述第一字母按键指示的第一字母相关联的第二字母对应的按键。
在本申请实施例中,上述第一显示方式为相较于接收第一输入之前,能够让用户更加清楚的知晓N个第二字母按键的显示方式。
例如,上述第一显示方式包括:突出显示N个第二字母按键;放大显示N个第二字母按键;将N个第二字母按键在虚拟键盘中的排列顺序进行调整,放置在虚拟键盘靠前方的显示位置等。
在本申请实施例提供的方法中,在显示虚拟键盘的情况下,接收用户对虚拟键盘中的第一字母按键的第一输入,第一字母按键对应第一字母,响应于第一输入,在虚拟键盘中突出显示第二字母按键,第二字母按键对应第二字母,第二字母与第一字母存在组合关系,这样,提高了用户通过虚拟键盘进行文本输入的效率。
可选的,在本申请实施例中,上述第二字母按键的突出显示方式包括以下至少一项:取消显示上述虚拟键盘中除了上述第二字母按键以外的字母按键;弱化显示上述虚拟键盘
中除了上述第二字母按键以外的字母按键;放大显示上述虚拟键盘中的上述第二字母按键;高亮显示上述虚拟键盘中的上述第二字母按键;在上述虚拟键盘的目标位置显示上述第二字母按键。
示例性的,上述第二字母按键的突出显示方式可以为上述突出显示方式中的一种突出显示方式,也可以为上述突出显示方式中的多种突出显示方式,本申请对此不作限定。例如,上述突出显示方式可以为放大显示上述虚拟键盘中的上述第二字母按键和弱化显示上述虚拟键盘中除了上述第二字母按键以外的字母按键这两种显示方式的组合,即放大显示第二字母按键同时弱化第二字母按键以外的字母按键。
需要说明的是,上述第二字母按键的突出显示方式为多种突出显示方式时,应当为以突出显示方式显示第二字母按键以外的字母按键和以突出显示方式显示第二字母按键的组合。
在一种示例中,当上述第二字母按键的突出显示方式为取消显示上述虚拟键盘中除了上述第二字母按键以外的字母按键时,在上述虚拟键盘中,将不再显示除了第二字母按键以外的字母按键。
示例1:在图2(a)中,假设用户欲使用拼音输出汉字“我”,则电子设备接收用户对虚拟键盘31中按键32(即上述第一字母按键)“W”(即上述第一字母)的第一输入,则电子设备接收到该第一输入后,在图2(b)中,在该虚拟键盘31的显示界面中将仅显示“A”“E”“U”“O”这4个字母(即上述第二字母)对应的4个按键(即上述第二字母按键),其余按键将不再显示(即上述取消显示上述虚拟键盘中除了上述第二字母按键以外的字母按键),则用户可以在剩余的4个按键中选择自身需要的按键进行下一步输入。
在一种示例中,当上述第二字母按键的突出显示方式为弱化显示上述虚拟键盘中除了上述第二字母按键以外的字母按键时,在上述虚拟键盘中,将弱化显示除了第二字母按键以外的字母按键。
示例2:在图3(a)中,假设用户欲使用拼音输出汉字“我”,则电子设备接收用户对虚拟键盘31中按键32(即上述第一字母按键)“W”(即上述第一字母)的第一输入,则电子设备接收到该第一输入后,在图3(b)中,在该虚拟键盘31的显示界面中将显示“A”“E”“U”“O”这4个字母(即上述第二字母)对应的4个按键(即上述第二字母按键),其余按键将以70%的透明度的方式显示(即上述弱化显示上述虚拟键盘中除了上述第二字母按键以外的字母按键),则用户可以在剩余的4个按键中选择自身需要的按键进行下一步输入。
在一种示例中,当上述第二字母按键的突出显示方式为放大显示上述虚拟键盘中的上述第二字母按键时,在上述虚拟键盘中,将放大显示第二字母按键。
示例3:在图4(a)中,假设用户欲使用拼音输出汉字“我”,则电子设备接收用户对虚拟键盘31中按键32(即上述第一字母按键)“W”(即上述第一字母)的第一输入,则电子设备接收到该第一输入后,在图4(b)中,在该虚拟键盘31的显示界面中将放大显
示“A”“E”“U”“O”这4个字母(即上述第二字母)对应的4个按键(即上述第二字母按键),其余按键将以原先的显示方式显示,则用户可以方便地在剩余的4个按键中选择自身需要的按键进行下一步输入。
在一种示例中,当上述第二字母按键的突出显示方式为高亮显示上述虚拟键盘中的上述第二字母按键时,在上述虚拟键盘中,将高亮显示第二字母按键。
示例4:在图5(a)中,假设用户欲使用拼音输出汉字“我”,则电子设备接收用户对虚拟键盘31中按键32(即上述第一字母按键)“W”(即上述第一字母)的第一输入,则电子设备接收到该第一输入后,在图5(b)中,在该虚拟键盘31的显示界面中将为“A”“E”“U”“O”这4个字母(即上述第二字母)对应的4个按键(即上述第二字母按键)添加突出标记,其余按键将以原先的显示方式显示,则用户可以方便地在剩余的4个按键中选择自身需要的按键进行下一步输入。
在一种示例中,当上述第二字母按键的突出显示方式为在上述虚拟键盘的目标位置上显示上述第二字母按键时,在上述虚拟键盘中,将在目标位置显示第二字母按键。
进一步地,该目标位置可以为电子设备根据用户的输入姿态信息(左手输入、右手输入或者左右手输入)所确定的输入位置,即下述第一位置,例如,上述目标位置可以为左手操作的位置,或者右手操作的位置,或者双手操作的位置,详细参照后续描述内容;还可以是根据该第二字母按键在虚拟键盘中的所在位置,所确定的指定位置,即下述第二位置,详细参照后续描述内容。
示例5:在图6(a)中,假设用户欲使用拼音输出汉字“我”,则电子设备接收用户对虚拟键盘31中按键32(即上述第一字母按键)“W”(即上述第一字母)的第一输入,则电子设备接收到该第一输入后,确定用户的输入姿态为左手输入,则在图6(b)中,在该虚拟键盘31的显示界面的左边中将为“A”“E”“U”“O”这4个字母(即上述第二字母)对应的4个按键(即上述第二字母按键),其余按键将以原先的显示方式显示,则用户可以方便地在剩余的4个按键中选择自身需要的按键进行下一步输入。
如此,通过突出显示第二字母按键以及除第二字母按键以外的其他字母按键,可以帮助用户筛选其所需要的按键,进一步提高用户输入字符的正确率。
可选地,在本申请实施例中,在上述步骤202中,本申请实施例提供的虚拟键盘的显示方法还包括如下步骤A1和步骤A2:
步骤A1:响应于上述第一输入,电子设备确定与上述第一输入对应的输入姿态信息相匹配的第一位置。
步骤A2:电子设备在上述第一位置显示上述第二字母按键。
可选地,在本申请实施例中,上述输入姿态信息包括以下至少一项:左手输入姿态信息、右手输入姿态信息、双手输入姿态信息。
可以理解的是,在电子设备接收上述第一输入的同时,可以根据该第一输入在显示界面的位置判断该第一输入对应的输入姿态信息;也可以利用姿态感应模块对第一输入的输
入姿态进行感应,进而判断该第一输入对应的输入姿态信息。
示例性地,上述第一位置可以电子设备预设的,还可以为电子设备根据第一输入对应的输入姿态信息自动生成的,还可以用户自定义设置的。
在一种示例中,当上述第一位置可以电子设备预设的情况下,电子设备提前设置N个预设输入姿态信息,相应的,设置与N个预设输入姿态信息相对应的第一位置。
在一种示例中,当上述第一位置还可以为电子设备根据第一输入对应的输入姿态信息自动生成的情况下,上述第一位置为电子设备根据第一输入对应的输入姿态信息在显示界面上随机确定的。
在一种示例中,当上述第一位置还可以用户自定义设置的情况下,用户可以在电子设备中录入N个输入预设输入姿态信息以及该N个输入预设输入姿态信息对应的位置信息,在电子设备根据第一输入检测到输入姿态信息后,根据用户在电子设备中录入N个输入预设输入姿态信息,确定与第一输入对应的输入姿态信息相匹配的位置信息,该相匹配的位置信息即为第一位置。
示例6:在图7(a)中,假设用户欲使用拼音输出汉字“我”,则电子设备接收用户对虚拟键盘31中按键32(即上述第一字母按键)“W”(即上述第一字母)的第一输入,则电子设备接收到该第一输入后,确定用户的输入姿态为右手输入,则在图7(b)中,在该虚拟键盘31的显示界面的右边分别显示“A”“E”“U”“O”这4个字母(即上述第二字母)对应的4个按键(即上述第二字母按键),其余按键将取消显示,则用户可以方便地在剩余的4个按键中选择自身需要的按键进行下一步输入。
如此,电子设备根据用户的输入姿态,以最方便用户的显示方式在第一位置显示上述第二字母按键,进而提高用户查找和选择第二字母按键的效率。
可选地,在本申请实施例中,在上述步骤202中,本申请实施例提供的虚拟键盘的显示方法还包括如下步骤B1和步骤B2:
步骤B1:响应于上述第一输入,电子设备确定与上述第一输入对应的输入位置相匹配的第二位置。
步骤B2:电子设备在上述第二位置显示上述第二字母按键。
示例性地,上述第一输入的输入位置即为用户在虚拟键盘对应的显示界面上的输入为至,
示例性地,上述预设范围可以为预设的,也可以为用户自定义的。
示例性地,上述第二位置为在虚拟键盘预设范围内的位置。
在一种示例中,上述第二位置可以为上述虚拟键盘中在上述第一字母按键的预设范围内的位置,也可以为与第一输入的输入位置相对应的、在虚拟键盘预设范围内的位置。
示例7:在图8(a)中,假设用户欲使用拼音输出汉字“我”,则电子设备接收用户对虚拟键盘31中按键32(即上述第一字母按键)“W”(即上述第一字母)的第一输入,则电子设备接收到该第一输入后,确定用户的输入的输入位置在按键32左侧,则在图8(b)
中,在该按键32的周边放大,依次排列显示“A”“E”“U”“O”这4个字母(即上述第二字母)对应的4个按键(即上述第二字母按键),其余按键将取消显示,则用户可以方便地在剩余的4个按键中选择自身需要的按键进行下一步输入。
如此,电子设备根据用户第一输入的输入位置,以最方便用户的显示方式在第二位置显示上述第二字母按键,进而提高用户查找和选择第二字母按键的效率。
可选地,在本申请实施例中,上述虚拟键盘中的每个字母按键对应至少两个字母,上述第一字母的数量为至少两个。在上述步骤202中,本申请实施例提供的虚拟键盘的显示方法还包括如下步骤C:
步骤C:响应于上述第一输入,电子设备在上述虚拟键盘中,突出显示与至少两个第一字母分别存在组合关系的第二字母。
在一种示例中,当上述虚拟键盘中的每个字母按键对应至少两个字母,上述第一字母的数量为至少两个字母时,该虚拟键盘可以为九宫格输入法键盘。
需要说明的是,当虚拟键盘为九宫格输入法键盘时,上述第二字母的第二字母按键可以显示在第一字母按键的预设范围内。
示例8:在图9(a)中,假设用户欲使用九宫格输入法拼出英文单词“and”,电子设备接收用户对虚拟键盘41中的按键42(即上述第一字母按键),即包含“a、b、c”这三个字母的按键42的第一输入,电子设备在接收到该第一输入后,将显示与“a、b、c”这三个字母分别存在英文拼写组合关系的第二字母按键,其中与a存在英文拼写组合关系的第二字母包括“n,s”,则在图9(b)所示,在按键42附近显示“a:n,s”分别对应的第二字母按键;与b存在英文拼写组合关系的第二字母包括“b:o,e,y”,则在按键42附近显示“o,e,y”分别对应的第二字母按键;与c存在英文拼写组合关系的第二字母包括“l,o”,则在按键42附近显示“c:l,o”分别对应的第二字母按键。
如此,电子设备根据用户虚拟键盘中,突出显示方式在第二位置显示上述第二字母按键,进而提高用户查找和选择第二字母按键的效率。
可选地,在本申请实施例中,在步骤202之前,本申请实施例提供的虚拟键盘的显示方法还包括如下步骤D1:
步骤D1:电子设备获取用户使用上述虚拟键盘的历史输入信息。
在此基础上,在步骤202中,本申请实施例提供的虚拟键盘的显示方法还包括如下步骤D2:
步骤D2:响应于上述第一输入,电子设备根据上述历史输入信息,确定第二字母按键,并在上述虚拟键盘中突出显示第二字母按键。
示例性地,上述历史输入信息可以包括用户使用虚拟键盘输入字符的习惯信息。例如,当第一字母按键对应的第一字母关联的第二字母的数量为M个的情况下(M为大于1的整数),电子设备可以存储用户选择M个第二字母中每个第二字母的次数,该M个第二字母中每个第二字母的次数既可以作为历史输入信息存储。
可选地,在本申请实施例中,上述步骤D2中,本申请实施例提供的虚拟键盘的显示方法还包括如下步骤E1:
步骤E1:电子设备在上述第二字母按键的个数为N的情况下,根据上述历史输入信息,确定N个上述第二字母按键的排列顺序。
步骤E2:电子设备根据上述排列顺序,在上述虚拟键盘中突出显示第二字母按键,N为大于1的正整数。
示例性地,上诉历史输入信息可以参照前述描述,此处不再赘述。
在一种示例中,电子设备可以根据上述历史输入信息,获取用户使用虚拟键盘输入字符时,不同按键之间的关联权重关系。
进一步地,电子设备可以根据上述关联权重的值的大小,确定N个上述第二字母按键的排列顺序。一般的,关联权重越大,排列顺序越靠前,关联权重越小,排列顺序越靠后。
可以理解的是,上述排列顺序与N个第二字母按键的显示顺序相对应。
示例性地,上诉关联权重值是指:第二字母按键对应的第二字母与第一字母按键对应的第一字母之间组合的可能性阈值,进而将第二字母按键的可能性阈值进行对比,计算第二字母按键对应的第二字母与第一字母按键对应的第一字母之间的组合权重排序。
示例性地,上述关联权重值可以由电子设备自行计算,也可以由电子设备向服务器发送申请,由服务器计算。
可以理解的是,当上述关联权重值由电子设备自行计算时,上述关联权重值即为电子设备根据用户输入字母的习惯获取的关联权重,当上述关联权重值由服务器计算时,上述关联权重值即为服务器根据其获取的输入字母的大数据(即大多数人输入字母的习惯)获取的关联权重。
示例9:在图10(a)中,假设用户欲使用拼音输出汉字“我”,则电子设备接收用户对虚拟键盘31中按键32(即上述第一字母按键)“W”(即上述第一字符)的第一输入,则电子设备接收到该第一输入后,电子设备将对“W”后续能够接续的字母“A”“E”“U”“O”这4个字母的权重分别进行计算,在得到字母“A”权重为20%“E”权重为10%,“U”权重为20%,“O”权重为50%后。如图10(b)所示,在该虚拟键盘31的显示界面将把“A”“E”“U”“O”以“O”“A”“U”“E”的顺序排列,显示在该虚拟键盘31的最前方。
进一步地,上述对上述第二字母按键排序显示的同时,还可以利用突出显示方式显示虚拟键盘中的其他按键(例如,隐藏虚拟键盘中的第二字母按键以外的其他字母按键),从而进一步突出显示上述第二字母按键。
进一步地,上述对上述第二字母按键排序显示,隐藏显示虚拟键盘中的其他字母按键的同时,随着用户的进一步输入放大后续的相关字符。
可以理解的是,对于单独一个汉字或者单词,随着用户输入次数的变多,其剩余能够输入的字符将越来越少,因此,可以对后续输入后可能出现的字符对应的按键适当放大,从而进一步提高用户选择字符的成功概率。
在本申请实施例中,上述步骤201-步骤202及步骤A至步骤E2的技术方案即可以在非联网状态下执行,也可以在联网状态下执行。
可选地,在本申请实施例中,在上述步骤201之前,本申请实施例提供的虚拟键盘的显示方法还包括如下步骤F:
步骤F:检测上述电子设备的联网状态。
第一种方式:联网状态
示例性地,在本申请实施例中,上述步骤202中,本申请实施例提供的虚拟键盘的显示方法还包括如下步骤G1和步骤G2:
步骤G1:在上述电子设备处于联网状态的情况下,响应于上述第一输入,向服务器发送上述第一字母。
步骤G2:在接收到上述服务器发送的与上述第一字母关联的M个第二字母的情况下,电子设备在虚拟键盘中突出显示第二字母按键,M为正整数。
示例性地,服务器在接收到上述第一字母后,可以通过大数据输入或者在互联网搜索的方式,获取与第一字母最匹配的M个第二字母,并将其向电子设备发送。
示例性地,电子设备接收到第二字母后,将,以第一显示方式显示上述虚拟键盘中与上述第二字母对应的第二字母按键。
第二种方式:非联网状态
示例性地,在上述步骤201之前,本申请实施例提供的虚拟键盘的显示方法还包括如下步骤H1:
步骤H1:每隔第一预定时长,电子设备从上述服务器接收第一词库,并将上述第一词库中的词汇添加至上述电子设备的目标词库中。
示例性地,上述第一词库中包括:在上述第一预定时长中,互联网更新的词汇;
上述步骤202中的上述电子设备在虚拟键盘中突出显示第二字母按键,包括:
步骤F2:电子设备识别上述第一字母按键对应的第一字母。
步骤F3:电子设备从上述目标词库中获取与上述第一字母相关联的第二字母。
步骤F4:电子设备在虚拟键盘中突出显示第二字母按键。
示例性地,上述第一预定时长可以为用户自定义设置的,也可以为电子设备自动设置的。
可以理解的是,为了进一步降低电子设备与服务器的交互,服务器定时将最新的、最流行的可能的字母组合推给电子设备,电子设备在收到数据后,根据最近最少使用原则,替换对应的字母组合,据此一步操作,进一步降低手机电子设备与服务器的交互,即降低了虚拟键盘对网络的依赖。
本申请实施例提供的虚拟键盘的显示方法,执行主体可以为虚拟键盘的显示装置。本申请实施例中以虚拟键盘的显示装置执行虚拟键盘的显示方法为例,说明本申请实施例提供的虚拟键盘的显示装置。
图11为实现本申请实施例提供的虚拟键盘的显示装置的可能的结构示意图。
如图11所示,上述装置600包括:接收模块601,用于在显示虚拟键盘的情况下,接收用户对上述虚拟键盘中的第一字母按键的第一输入;上述第一字母按键对应第一字母;显示模块602,用于响应于接收模块601接收的上述第一输入,在上述虚拟键盘中突出显示第二字母按键;其中,上述第二字母按键对应第二字母,上述第二字母与上述第一字母存在组合关系。
本申请实施例中,在显示虚拟键盘的情况下,接收用户对虚拟键盘中的第一字母按键的第一输入,第一字母按键对应第一字母,响应于第一输入,在虚拟键盘中突出显示第二字母按键,第二字母按键对应第二字母,第二字母与第一字母存在组合关系,这样,提高了用户通过虚拟键盘进行文本输入的效率。
可选地,第二字母按键的突出显示方式包括以下至少一项:
取消显示虚拟键盘中除了第二字母按键以外的字母按键;
弱化显示虚拟键盘中除了第二字母按键以外的字母按键;
放大显示虚拟键盘中的第二字母按键;
高亮显示虚拟键盘中的第二字母按键;
在虚拟键盘的目标位置显示第二字母按键。
可选地,显示模块602,还用于:响应于第一输入,确定与第一输入对应的输入姿态信息相匹配的第一位置;在第一位置显示第二字母按键。
可选地,输入姿态信息包括以下至少一项:左手输入姿态信息、右手输入姿态信息、双手输入姿态信息。
可选地,显示模块602,还用于:响应于第一输入,确定与第一输入对应的输入位置相匹配的第二位置;在第二位置显示第二字母按键,第二位置为虚拟键盘预设范围内的位置。
可选地,虚拟键盘中的每个字母按键对应至少两个字母,第一字母的数量为至少两个;
显示模块602,还用于:响应于第一输入,在虚拟键盘中,突出显示与至少两个第一字母分别存在组合关系的第二字母。
可选地,组合关系包括以下至少一项:汉语拼音组合、英文单词组合。
可选地,装置还包括:
获取模块,用于获取用户使用虚拟键盘的历史输入信息;
显示模块602,还用于:响应于第一输入,根据历史输入信息,确定第二字母按键,并在虚拟键盘中突出显示第二字母按键。
可选地,显示模块602,还用于:在第二字母按键的个数为N的情况下,根据历史输入信息,确定N个第二字母按键的排列顺序;根据排列顺序,在虚拟键盘中突出显示第二字母按键,N为大于1的正整数。
本申请实施例中的虚拟键盘的显示装置可以是电子设备,也可以是电子设备中的部
件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的虚拟键盘的显示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的虚拟键盘的显示装置能够实现图1至图10的方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选地,如图12所示,本申请实施例还提供一种电子设备800,包括处理器801和存储器802,存储器802上存储有可在所述处理器801上运行的程序或指令,该程序或指令被处理器801执行时实现上述虚拟键盘的显示方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图13为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图13中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,用户输入单元107,用于在显示虚拟键盘的情况下,接收用户对上述虚拟键盘中的第一字母按键的第一输入;上述第一字母按键对应第一字母;显示单元106,用于响应于用户输入单元107输入的上述第一输入,在上述虚拟键盘中突出显示第二字母按键;其中,上述第二字母按键对应第二字母,上述第二字母与上述第一字母存在组合关系。
本申请实施例中,在显示虚拟键盘的情况下,接收用户对虚拟键盘中的第一字母按键的第一输入,第一字母按键对应第一字母,响应于第一输入,在虚拟键盘中突出显示第二字母按键,第二字母按键对应第二字母,第二字母与第一字母存在组合关系,这样,提高了用户通过虚拟键盘进行文本输入的效率。
在一种示例中,上述第二字母按键的突出显示方式包括以下至少一项:取消显示上述虚拟键盘中除了上述第二字母按键以外的字母按键;弱化显示上述虚拟键盘中除了上述第二字母按键以外的字母按键;放大显示上述虚拟键盘中的上述第二字母按键;高亮显示上述虚拟键盘中的上述第二字母按键;在上述虚拟键盘的目标位置显示上述第二字母按键。
在一种示例中,处理器110,用于响应于上述用户输入单元107接收的上述第一输入,确定与上述第一输入对应的输入姿态信息相匹配的第一位置;上述显示单元106,还用于在上述第一位置显示上述第二字母按键。
在一种示例中,上述输入姿态信息包括以下至少一项:左手输入姿态信息、右手输入姿态信息、双手输入姿态信息。
在一种示例中,处理器110,用于响应于用户输入单元107接收的上述第一输入,确定与上述第一输入对应的输入位置相匹配的第二位置;上述显示单元106,还用于在上述第二位置显示上述第二字母按键,上述第二位置为上述虚拟键盘预设范围内的位置。
在一种示例中,上述虚拟键盘中的每个字母按键对应至少两个字母,上述第一字母的数量为至少两个;上述显示单元106,还用于响应于上述用户输入单元107接收的上述第一输入,在上述虚拟键盘中,突出显示与至少两个第一字母分别存在组合关系的第二字母。
在一种示例中,上述组合关系包括以下至少一项:汉语拼音组合、英文单词组合。
在一种示例中,处理器110,用于获取用户使用上述虚拟键盘的历史输入信息;上述显示单元106,还用于上述响应于上述用户输入单元107接收上述第一输入,根据上述处理器110获取的上述历史输入信息,确定第二字母按键,并在上述虚拟键盘中突出显示第二字母按键。
在一种示例中,处理器110,还用于在上述第二字母按键的个数为N的情况下,根据上述历史输入信息,确定N个上述第二字母按键的排列顺序;上述显示单元106,还用于根据上述处理器110确定的上述排列顺序,在上述虚拟键盘中突出显示第二字母按键,N为大于1的正整数。
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072中的至少一种。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器109
可以包括易失性存储器或非易失性存储器,或者,存储器109可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器109包括但不限于这些和任意其它适合类型的存储器。
处理器110可包括一个或多个处理单元;可选的,处理器110集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述虚拟键盘的显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述虚拟键盘的显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述虚拟键盘的显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根
据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。
Claims (20)
- 一种虚拟键盘的显示方法,所述方法包括:在显示虚拟键盘的情况下,接收用户对所述虚拟键盘中的第一字母按键的第一输入;所述第一字母按键对应第一字母;响应于所述第一输入,在所述虚拟键盘中突出显示第二字母按键;其中,所述第二字母按键对应第二字母,所述第二字母与所述第一字母存在组合关系。
- 根据权利要求1所述的方法,其中,所述第二字母按键的突出显示方式包括以下至少一项:取消显示所述虚拟键盘中除了所述第二字母按键以外的字母按键;弱化显示所述虚拟键盘中除了所述第二字母按键以外的字母按键;放大显示所述虚拟键盘中的所述第二字母按键;高亮显示所述虚拟键盘中的所述第二字母按键;在所述虚拟键盘的目标位置显示所述第二字母按键。
- 根据权利要求1所述的方法,其中,所述响应于所述第一输入,在所述虚拟键盘中突出显示第二字母按键,包括:响应于所述第一输入,确定与所述第一输入对应的输入姿态信息相匹配的第一位置;在所述第一位置显示所述第二字母按键。
- 根据权利要求3所述的方法,其中,所述输入姿态信息包括以下至少一项:左手输入姿态信息、右手输入姿态信息、双手输入姿态信息。
- 根据权利要求1所述的方法,其中,所述响应于所述第一输入,在所述虚拟键盘中突出显示第二字母按键,包括:响应于所述第一输入,确定与所述第一输入对应的输入位置相匹配的第二位置;在所述第二位置显示所述第二字母按键,所述第二位置为所述虚拟键盘预设范围内的位置。
- 根据权利要求1所述的方法,其中,所述虚拟键盘中的每个字母按键对应至少两个字母,所述第一字母的数量为至少两个;所述响应于所述第一输入,在所述虚拟键盘中突出显示第二字母按键,包括:响应于所述第一输入,在所述虚拟键盘中,突出显示与至少两个第一字母分别存在组合关系的第二字母。
- 根据权利要求1所述的方法,其中,所述组合关系包括以下至少一项:汉语拼音组合、英文单词组合。
- 根据权利要求1所述的方法,其中,所述响应于所述第一输入,在所述虚拟键盘中突出显示第二字母按键之前,还包括:获取用户使用所述虚拟键盘的历史输入信息;所述响应于所述第一输入,在所述虚拟键盘中突出显示第二字母按键,包括:响应于所述第一输入,根据所述历史输入信息,确定第二字母按键,并在所述虚拟键盘中突出显示第二字母按键。
- 根据权利要求8所述的方法,其中,所述根据所述历史输入信息,确定第二字母按键,并在所述虚拟键盘中突出显示第二字母按键,包括:在所述第二字母按键的个数为N的情况下,根据所述历史输入信息,确定N个所述第二字母按键的排列顺序;根据所述排列顺序,在所述虚拟键盘中突出显示第二字母按键,N为大于1的正整数。
- 一种虚拟键盘的显示装置,所述装置包括:接收模块,用于在显示虚拟键盘的情况下,接收用户对所述虚拟键盘中的第一字母按键的第一输入;所述第一字母按键对应第一字母;显示模块,用于响应于所述接收模块接收的所述第一输入,在所述虚拟键盘中突出显示第二字母按键;其中,所述第二字母按键对应第二字母,所述第二字母与所述第一字母存在组合关系。
- 根据权利要求10所述的装置,其中,所述第二字母按键的突出显示方式包括以下至少一项:取消显示所述虚拟键盘中除了所述第二字母按键以外的字母按键;弱化显示所述虚拟键盘中除了所述第二字母按键以外的字母按键;放大显示所述虚拟键盘中的所述第二字母按键;高亮显示所述虚拟键盘中的所述第二字母按键;在所述虚拟键盘的目标位置显示所述第二字母按键。
- 根据权利要求10所述的装置,其中,所述显示模块,还用于:响应于所述第一输入,确定与所述第一输入对应的输入姿态信息相匹配的第一位置;在所述第一位置显示所述第二字母按键。
- 根据权利要求12所述的装置,其中,所述输入姿态信息包括以下至少一项:左手输入姿态信息、右手输入姿态信息、双手输入姿态信息。
- 根据权利要求10所述的装置,其中,所述显示模块,还用于:响应于所述第一输入,确定与所述第一输入对应的输入位置相匹配的第二位置;在所述第二位置显示所述第二字母按键,所述第二位置为所述虚拟键盘预设范围内的位置。
- 根据权利要求10所述的装置,其中,所述虚拟键盘中的每个字母按键对应至少两个字母,所述第一字母的数量为至少两个;所述显示模块,还用于:响应于所述第一输入,在所述虚拟键盘中,突出显示与 至少两个第一字母分别存在组合关系的第二字母。
- 根据权利要求10所述的装置,其中,所述组合关系包括以下至少一项:汉语拼音组合、英文单词组合。
- 根据权利要求10所述的装置,其中,所述装置还包括:获取模块,用于获取用户使用所述虚拟键盘的历史输入信息;所述显示模块,还用于:响应于所述第一输入,根据所述历史输入信息,确定第二字母按键,并在所述虚拟键盘中突出显示第二字母按键。
- 根据权利要求17所述的装置,其中,所述显示模块,还用于:在所述第二字母按键的个数为N的情况下,根据所述历史输入信息,确定N个所述第二字母按键的排列顺序;根据所述排列顺序,在所述虚拟键盘中突出显示第二字母按键,N为大于1的正整数。
- 一种电子设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-9任一项所述的虚拟键盘的显示方法的步骤。
- 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-9任一项所述的虚拟键盘的显示方法的步骤。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211176765.1A CN115437548A (zh) | 2022-09-26 | 2022-09-26 | 虚拟键盘的显示方法、装置、电子设备和存储介质 |
| CN202211176765.1 | 2022-09-26 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024067307A1 true WO2024067307A1 (zh) | 2024-04-04 |
Family
ID=84249811
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/120144 Ceased WO2024067307A1 (zh) | 2022-09-26 | 2023-09-20 | 虚拟键盘的显示方法、装置、电子设备和存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN115437548A (zh) |
| WO (1) | WO2024067307A1 (zh) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115437548A (zh) * | 2022-09-26 | 2022-12-06 | 维沃移动通信有限公司 | 虚拟键盘的显示方法、装置、电子设备和存储介质 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102193711A (zh) * | 2010-03-10 | 2011-09-21 | 中国移动通信集团公司 | 一种虚拟键盘的字母按键显示方法与装置 |
| CN102810039A (zh) * | 2011-05-31 | 2012-12-05 | 中兴通讯股份有限公司 | 左右手自适应的虚拟键盘显示方法及终端 |
| CN108459783A (zh) * | 2017-02-20 | 2018-08-28 | 阿里巴巴集团控股有限公司 | 虚拟键盘的控制方法、装置及设备、可读介质 |
| CN115437548A (zh) * | 2022-09-26 | 2022-12-06 | 维沃移动通信有限公司 | 虚拟键盘的显示方法、装置、电子设备和存储介质 |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7109891B2 (en) * | 2002-06-12 | 2006-09-19 | Inventec Appliances Corp. | Method for arranging Mandarin phonetic symbols on a keypad |
| US20090058823A1 (en) * | 2007-09-04 | 2009-03-05 | Apple Inc. | Virtual Keyboards in Multi-Language Environment |
| CN104808945B (zh) * | 2015-04-29 | 2017-04-05 | 努比亚技术有限公司 | 虚拟按键的显示方法及装置 |
| CN105955499A (zh) * | 2016-05-18 | 2016-09-21 | 广东欧珀移动通信有限公司 | 一种智能调整输入法键盘布局的方法、装置及移动终端 |
| CN111176529B (zh) * | 2019-12-31 | 2022-02-01 | 维沃移动通信有限公司 | 一种按键显示方法及电子设备 |
-
2022
- 2022-09-26 CN CN202211176765.1A patent/CN115437548A/zh active Pending
-
2023
- 2023-09-20 WO PCT/CN2023/120144 patent/WO2024067307A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102193711A (zh) * | 2010-03-10 | 2011-09-21 | 中国移动通信集团公司 | 一种虚拟键盘的字母按键显示方法与装置 |
| CN102810039A (zh) * | 2011-05-31 | 2012-12-05 | 中兴通讯股份有限公司 | 左右手自适应的虚拟键盘显示方法及终端 |
| CN108459783A (zh) * | 2017-02-20 | 2018-08-28 | 阿里巴巴集团控股有限公司 | 虚拟键盘的控制方法、装置及设备、可读介质 |
| CN115437548A (zh) * | 2022-09-26 | 2022-12-06 | 维沃移动通信有限公司 | 虚拟键盘的显示方法、装置、电子设备和存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115437548A (zh) | 2022-12-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110083254B (zh) | 多手势文本输入预测 | |
| EP2713255B1 (en) | Method and electronic device for prompting character input | |
| EP2631758B1 (en) | Touchscreen keyboard providing word predictions in partitions of the touchscreen keyboard in proximate association with candidate letters | |
| AU2014212844B2 (en) | Character and word level language models for out-of-vocabulary text input | |
| EP2987054B1 (en) | Consistent text suggestion output | |
| WO2014172157A1 (en) | Text suggestion output using past interaction data | |
| EP4407420A1 (en) | Application icon display method and apparatus, and electronic device and storage medium | |
| US20120023433A1 (en) | Method and apparatus for inputting character in a portable terminal | |
| KR20160060110A (ko) | 온스크린 키보드에 대한 빠른 작업 | |
| CN112631437A (zh) | 信息推荐方法、装置及电子设备 | |
| MX2014002955A (es) | Entrada de formula para dispositivos de presentacion limitada. | |
| CN104679278A (zh) | 字符输入方法及装置 | |
| CN112269475A (zh) | 文字显示方法、装置和电子设备 | |
| EP2909702B1 (en) | Contextually-specific automatic separators | |
| CN114721565A (zh) | 应用程序启动方法、装置、电子设备及存储介质 | |
| EP3267301B1 (en) | High-efficiency touch screen text input system and method | |
| CN118012302A (zh) | 界面显示方法、装置、电子设备和可读存储介质 | |
| CN107797676B (zh) | 一种单字输入方法及装置 | |
| CN112882619B (zh) | 应用界面的管理方法、装置、电子设备及介质 | |
| WO2024067307A1 (zh) | 虚拟键盘的显示方法、装置、电子设备和存储介质 | |
| CN112698734A (zh) | 候选词显示方法及装置、电子设备 | |
| WO2022105754A1 (zh) | 输入文字的方法、装置和电子设备 | |
| CN114489424A (zh) | 桌面组件的控制方法及装置 | |
| CN112764734A (zh) | 代码编辑的辅助方法、装置及电子设备 | |
| WO2024255733A1 (zh) | 搜索方法、装置、设备及介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23870539 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 23870539 Country of ref document: EP Kind code of ref document: A1 |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 04/09/2025) |