CN115963948A - Information input method, device, electronic equipment and storage medium - Google Patents
Information input method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115963948A CN115963948A CN202211313033.2A CN202211313033A CN115963948A CN 115963948 A CN115963948 A CN 115963948A CN 202211313033 A CN202211313033 A CN 202211313033A CN 115963948 A CN115963948 A CN 115963948A
- Authority
- CN
- China
- Prior art keywords
- input
- character
- target
- control
- information
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 85
- 230000004044 response Effects 0.000 claims abstract description 18
- 238000004590 computer program Methods 0.000 claims description 17
- 230000008569 process Effects 0.000 claims description 11
- 230000010365 information processing Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 13
- 238000004891 communication Methods 0.000 description 6
- 238000012423 maintenance Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Landscapes
- Input From Keyboards Or The Like (AREA)
Abstract
The invention provides an information input method, an information input device, electronic equipment and a storage medium, relates to the technical field of information processing, and is applied to a virtual keyboard; the method comprises the following steps: receiving a first input to a target input control in a keyboard key area; responding to the first input, and displaying a character selection interface corresponding to the target input control; the character selection interface comprises a single character control of each character corresponding to the target input control; receiving a second input corresponding to at least one target single-character control; in response to each second input, target information displayed by the character input area is determined based on a target character corresponding to each second input. The invention reduces the false touch operation of the user, improves the accuracy of information input, and can be suitable for scenes of electronic equipment with smaller screens, such as telephone watches and the like.
Description
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to an information input method and apparatus, an electronic device, and a storage medium.
Background
With the development of the times, electronic devices such as smart watches are becoming more and more popular at present. As an important man-machine interaction means of electronic products, the virtual keyboard plays an important role in the smart watch, and plays a decisive role in the use experience of users and the performance of product functions.
In the related art, the input mode of the virtual keyboard on the smart watch is generally the same as that of the virtual keyboard of a terminal such as a mobile phone, that is, a user directly clicks some input controls in the virtual keyboard based on a requirement so as to input information desired to be input.
However, in the related art, since the screen of the smart watch is small, each input control in the virtual keyboard displayed on the smart watch is also small, which easily causes a user to perform a touch operation by mistake, thereby reducing the accuracy of information input.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide an information input method, an information input apparatus, an electronic device, and a storage medium.
The invention provides an information input method, which is applied to a virtual keyboard, wherein the virtual keyboard comprises a character input area and a keyboard key area, the keyboard key area comprises a plurality of input controls, and each input control corresponds to a plurality of characters; the method comprises the following steps:
receiving a first input to a target input control in the keyboard key area;
responding to the first input, and displaying a character selection interface corresponding to the target input control; the character selection interface comprises a single character control of each character corresponding to the target input control;
receiving a second input corresponding to at least one target single-character control;
in response to each of the second inputs, target information displayed by the character input area is determined based on a target character corresponding to each of the second inputs.
According to an information input method provided by the invention, the target input control comprises any one of the following items: letter input control, number input control and punctuation input control.
According to the information input method provided by the invention, each single-character control is displayed on the character selection interface in a surrounding mode.
According to the information input method provided by the invention, the second input is a sliding input which slides from the input position of the first input to the target single-character control in the input process of the first input.
According to an information input method provided by the present invention, the method further comprises:
and under the condition that the first input is finished when the second input is not executed or the second input is not slid to the target single-character control from the input position of the first input in the input process of the first input, canceling the display of the character selection interface and displaying the virtual keyboard.
According to the information input method provided by the invention, the keyboard key area further comprises a determination control;
the step of determining the target information displayed by the character input area based on the target character corresponding to each second input in response to each second input comprises the following steps:
receiving a third input to the determination control;
in response to each of the second inputs and the third inputs, determining target information displayed by the character input area based on a target character corresponding to each of the second inputs.
According to an information input method provided by the invention, the virtual keyboard further comprises a candidate area;
the determining the target information displayed by the character input area based on the target character corresponding to each second input comprises:
determining at least one candidate information based on the target character corresponding to each second input;
displaying each candidate information in the candidate area;
receiving a fourth input of the target candidate information;
in response to the fourth input, determining the target candidate information as the target information displayed by the character input area.
According to an information input method provided by the present invention, the determining at least one candidate information based on the target character corresponding to each second input includes:
determining at least one piece of Chinese candidate information based on the target character corresponding to each second input under the condition that the current input mode comprises a Chinese input mode;
and determining at least one piece of non-Chinese candidate information based on the target character corresponding to each second input under the condition that the current input mode comprises a non-Chinese input mode.
According to the information input method provided by the invention, the character selection interface further comprises an input mode switching control; the method further comprises the following steps:
receiving a fifth input to the input mode toggle control;
and responding to the fifth input, and switching the current input mode into other input modes except the current input mode.
According to an information input method provided by the invention, before the receiving a first input to a target input control in the keyboard key area, the method further comprises:
acquiring the current virtual screen shape of the electronic equipment;
displaying a virtual keyboard having the same shape as the current virtual screen.
The invention also provides an information input device, which is applied to a virtual keyboard, wherein the virtual keyboard comprises a character input area and a keyboard key area, the keyboard key area comprises a plurality of input controls, and each input control corresponds to a plurality of characters; the device comprises:
the first receiving unit is used for receiving a first input of a target input control in the keyboard key area;
the first display unit is used for responding to the first input and displaying a character selection interface corresponding to the target input control; the character selection interface comprises a single character control of each character corresponding to the target input control;
the second receiving unit is used for receiving second input corresponding to at least one target single-character control;
and the determining unit is used for responding to each second input and determining target information displayed by the character input area based on the target character corresponding to each second input.
The present invention also provides an electronic device, comprising a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the computer program to implement any of the above information input methods.
The present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements an information input method as described in any of the above.
The invention also provides a computer program product comprising a computer program which, when executed by a processor, implements the information input method as described in any one of the above.
According to the information input method, the information input device, the electronic equipment and the storage medium, when first input to a target input control is received, a character selection interface corresponding to the target input control is displayed, wherein the character selection interface comprises a single character control of each character corresponding to the target input control; because the number of characters corresponding to each input control is less than that of all characters in a keyboard key area, the area occupied by each single-character control corresponding to the target input control is larger than that occupied by input controls corresponding to all characters in the same display area, so that the mistaken touch operation of a user is reduced, the accuracy of information input is improved, and the method and the device can be suitable for scenes of electronic equipment with smaller screens, such as telephone watches and the like.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flow chart of an information input method according to an embodiment of the present invention;
FIG. 2 is a schematic interface diagram of a virtual keyboard according to an embodiment of the present invention;
FIG. 3 is a second schematic diagram of an interface of a virtual keyboard according to an embodiment of the present invention;
FIG. 4 is a third schematic interface diagram of a virtual keyboard according to an embodiment of the present invention;
FIG. 5 is a fourth schematic view of an interface of a virtual keyboard according to an embodiment of the present invention;
FIG. 6 is a fifth exemplary view of an interface of a virtual keyboard according to the present invention;
FIG. 7 is a sixth schematic view of an interface of a virtual keyboard according to an embodiment of the present invention;
FIG. 8 is a second schematic flowchart of an information input method according to an embodiment of the present invention;
FIG. 9 is a schematic structural diagram of an information input device according to an embodiment of the present invention;
fig. 10 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
The information input method of the present invention is described below with reference to fig. 1 to 8.
Fig. 1 is a schematic flow diagram of an information input method provided in an embodiment of the present invention, and as shown in fig. 1, the information input method is applied to a virtual keyboard, where the virtual keyboard includes a character input area and a keyboard key area, the keyboard key area includes a plurality of input controls, and each input control corresponds to a plurality of characters, and the information input method includes the following steps:
Exemplarily, fig. 2 is one of interface schematic diagrams of a virtual keyboard provided in an embodiment of the present invention, as shown in fig. 2, the virtual keyboard includes a character input area 201 and a keyboard key area 202, and the shape of the virtual keyboard in fig. 2 is exemplified by a circle; fig. 3 is a second schematic interface diagram of the virtual keyboard according to the embodiment of the present invention, and as shown in fig. 3, the keyboard key area 202 includes a plurality of input controls, which may specifically include: letter input controls 2021, number input controls 2022, punctuation input controls 2023, line feed controls 2024, space controls 2025, case switch controls 2026, character deletion controls 2027, determination controls 2028, and virtual keyboard exit controls 2029, among others.
For example, when the user needs to input information using the virtual keyboard, the position of the input information may be touched to trigger the electronic device to display the virtual keyboard, and then a first input, which may be a long-press input, is performed on the target input control in the keyboard key area based on the information that the user needs to input, for example, the first input is that the user clicks the target input control with a finger for 0.3 seconds, so that the electronic device receives the first input to the target input control in the keyboard key area.
It should be noted that the first input may also be a click input, a voice command input by a user, or a specific gesture input by a user through a touch device such as a finger or a stylus, or other feasible inputs, which may be determined according to actual needs, and the embodiment of the present invention is not limited.
Exemplarily, fig. 4 is a third interface schematic diagram of the virtual keyboard provided in the embodiment of the present invention, as shown in fig. 4, when a first input to a target input control in a keyboard key region is received, a character selection interface corresponding to the target input control is displayed, taking the letter input control displayed with "mno" in fig. 3 as an example, a user long-presses the letter input control displayed with "mno", at this time, a character selection interface 401 corresponding to the letter input control displayed with "mno" is displayed, and a single-character control 4011 of "m", a single-character control 4012 of "n", and a single-character control 4013 of "o" are displayed on the character selection interface 401.
Fig. 5 is a fourth schematic interface diagram of the virtual keyboard according to the embodiment of the present invention, as shown in fig. 5, taking the target input control as the numeric input control displayed with "1#", the user presses the numeric input control displayed with "1#", at this time, a character selection interface 501 corresponding to the numeric input control displayed with "1#" is displayed, and a single character control from 0 to 9 is displayed on the character selection interface 501.
FIG. 6 is a fifth schematic view of an interface of a virtual keyboard according to an embodiment of the present invention, as shown in FIG. 6, a target input control is displayed with "# @! "punctuation mark input control for example, the user presses and displays" # @! "punctuation mark input control, now display" # @! "the single-character control with multiple punctuations is displayed on the character selection interface 601 of the punctuation input control corresponding to the character selection interface 601, wherein, when the user clicks the single-character control with ellipses, the hidden controls with other punctuations can be displayed, which is not repeated herein.
It should be noted that the character selection interface may cancel the display after the first input and the second input are performed.
And 103, receiving a second input corresponding to at least one target single-character control.
And the second input is a sliding input which slides from the input position of the first input to the target single-character control in the input process of the first input.
For example, when a single-character control for each character corresponding to the target input control is displayed, the user can slide to the target single-character control to be selected under the condition that the user does not loosen his hand by long-pressing the target input control, and when the user slides to the target single-character control, the user releases his finger to complete the second input; namely, in the input process of the first input, the single character control slides to the target single character control from the input position of the first input to finish the second input; for example, as shown in fig. 4, if the letter that the user wants to select is "m", the user slides from the letter input control of "mno" to the single-character control of "m", and a dotted arrow 1 in fig. 4 indicates a sliding direction from the letter input control of "mno" to the single-character control of "m"; if the letter that the user wants to select is "n", sliding from the letter input control of "mno" to the single-character control of "n", and a dotted arrow 2 in fig. 4 represents a sliding direction from the letter input control of "mno" to the single-character control of "n"; if the letter that the user wants to select is "o", sliding from the letter input control of "mno" to the single-character control of "o", and a dotted arrow 3 in fig. 4 represents a sliding direction from the letter input control of "mno" to the single-character control of "o"; in addition, if the user wants to press a plurality of target single-character controls, second input to other target single-character controls is completed according to the same method, so that the electronic equipment receives second input corresponding to at least one target single-character control.
It should be noted that, when the target input control is a numeric input control or a punctuation mark input control, the operation method of the character selection interface is the same as that when the target input control is a letter input control, and the description of the operation method is omitted here.
It should be noted that the second input may also be a click input on a target single character control, a voice instruction input by a user, or a specific gesture input by the user through a touch device such as a finger or a stylus, or other feasible inputs, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited.
And 104, responding to each second input, and determining target information displayed in the character input area based on the target character corresponding to each second input.
Illustratively, when each second input is received, the target information input by the user is determined based on the target character corresponding to each second input, and the target information is displayed in the character input area, so that the input of the target information by the user is completed.
The information input method provided by the invention comprises the steps of displaying a character selection interface corresponding to a target input control when first input to the target input control is received, wherein the character selection interface comprises a single character control of each character corresponding to the target input control; because the number of characters corresponding to each input control is less than that of all characters in a keyboard key area, the area occupied by each single-character control corresponding to the target input control is larger than that occupied by input controls corresponding to all characters in the same display area, so that the mistaken touch operation of a user is reduced, the accuracy of information input is improved, and the method and the device can be suitable for scenes of electronic equipment with smaller screens, such as telephone watches and the like.
In one embodiment, the target input control comprises any one of: letter input control, number input control and punctuation mark input control.
Exemplarily, in a case that the target input control includes a letter input control, each character corresponding to the target input control is an alphabetic character; under the condition that the target input control comprises a digital input control, each character corresponding to the target input control is a digital character; under the condition that the target input control comprises a punctuation mark input control, each character corresponding to the target input control is a punctuation mark character; as shown in FIG. 3, the letter input controls include an input control with "abc" displayed, an input control with "def" displayed, an input control with "ghi" displayed, an input control with "jkl" displayed, an input control with "mno" displayed, an input control with "pqrs" displayed, an input control with "tuv" displayed, and an input control with "wxyz", the numeric input control includes an input control with "1#" displayed, and the punctuation input control includes an input control with "# @! "input control.
The information input method provided by the embodiment of the invention comprises a letter input control, a number input control and a punctuation mark input control in the virtual keyboard so as to meet the input requirement of a user.
In one embodiment, each of the single-character controls is displayed in a circle on the character selection interface.
Illustratively, as shown in fig. 4, the character selection interface is circular in shape, and a single-character control displayed with "m", a single-character control displayed with "n", and a single-character control displayed with "o" are displayed around the circular character selection interface 401.
The shape of the character selection interface may be a square, a rectangle, or the like, which is not limited in the present invention.
According to the information input method provided by the embodiment of the invention, each single-character control is displayed on the character selection interface in a surrounding manner, so that the display area of each single-character control is increased, the false triggering of a user can be prevented, and the use experience of the user is optimized.
In one embodiment, the information input method further comprises the steps of:
and under the condition that the first input is finished when the second input is not executed or the second input is not slid to the target single-character control from the input position of the first input in the input process of the first input, canceling the display of the character selection interface and displaying the virtual keyboard.
For example, when the user performs the first input but finishes the first input without performing the second input, the user is considered to be mistakenly touched or needs to perform a new first input again, and at this time, the display of the character selection interface may be cancelled and the display of the virtual keyboard is returned to; or, when the user executes the second input in the process of executing the first input, but the second input does not slide to the target single-character control, the user is considered to be mistakenly touched or needs to execute a new second input again, and at this time, the display of the character selection interface can be cancelled, and the display of the virtual keyboard is returned.
According to the information input method provided by the embodiment of the invention, when the first input is finished when the second input is not executed, or the second input is not slid to the target single-character control from the input position of the first input in the input process of the first input, the display of the character selection interface is cancelled, and the virtual keyboard is displayed, so that the display of the character selection interface caused by mistaken touch of a user is prevented, and the user experience is improved.
In an embodiment, as shown in fig. 3, the keyboard key area further includes a determination control 2028, and the step 104 can be implemented by the following steps:
receiving a third input to the determination control;
in response to each of the second inputs and the third inputs, determining target information displayed by the character input area based on a target character corresponding to each of the second inputs.
For example, upon receiving each second input, the user may perform a third input to the determination control of the keyboard key region, e.g., the third input is a click input to the determination control, such that the electronic device displays target information determined based on the target character corresponding to each second input in the character input region upon receiving the third input.
According to the information input method provided by the embodiment of the invention, when the third input of the user to the determination control is received, the target information determined based on the target character corresponding to the second input is displayed in the character input area, so that the user is prevented from not executing all the second inputs, and the accuracy of information input is further improved.
In one embodiment, as shown in fig. 2, the virtual keyboard further comprises a candidate area 203; the determining of the target information displayed in the character input area based on the target character corresponding to each second input may be specifically implemented in the following manner:
determining at least one candidate information based on the target character corresponding to each second input;
displaying each candidate information in the candidate area;
receiving a fourth input of the target candidate information;
in response to the fourth input, determining the target candidate information as the target information displayed by the character input area.
For example, assuming that the target character input by the user has the letters "w" and "h", the candidate information determined based on the letters "w" and "h" may include "i am and" maintenance ", two candidate words of" i am and "maintenance" are displayed in the candidate area for selection by the user, and if the user performs a fourth input on "i am and", the "i am and" are determined as the target candidate information, that is, displayed as the target information in the character input area.
According to the information input method provided by the embodiment of the invention, the candidate area is arranged in the virtual keyboard, so that a user can conveniently finish the input of the target information by selecting the candidate information displayed in the candidate area, and the user can incompletely spell each character or word and the like, thereby improving the speed of information input.
In an embodiment, the determining at least one candidate information based on the target character corresponding to each second input may be specifically implemented by:
under the condition that the current input mode comprises a Chinese input mode, determining at least one piece of Chinese candidate information based on a target character corresponding to each second input;
and determining at least one piece of non-Chinese candidate information based on the target character corresponding to each second input under the condition that the current input mode comprises a non-Chinese input mode.
For example, before determining the candidate information, the current input mode needs to be obtained, and in the case that the current input mode is the chinese input mode, the candidate information determined based on the target character corresponding to each second input is the chinese candidate information, that is, the chinese candidate information is displayed in the candidate area, for example, in the case that the current input mode is the chinese input mode, the target character input by the user has letters "w" and "h", and the determined candidate information may include "me and" maintenance "; in the case that the current input mode is a non-chinese input mode, where the non-chinese input mode takes an english input mode as an example, the candidate information determined based on the target character corresponding to each second input is english candidate information, that is, the english candidate information is displayed in the candidate area, for example, in the case that the current input mode is an english input mode, the target character input by the user has a letter "w" and a letter "h", and the determined candidate information may include "why" and "when".
The information input method provided by the embodiment of the invention simultaneously supports a Chinese input mode and a non-Chinese input mode, and can determine candidate information of a corresponding language in different input modes.
In an embodiment, fig. 7 is a sixth schematic interface diagram of a virtual keyboard according to an embodiment of the present invention, as shown in fig. 7, the character selection interface 401 further includes an input mode switching control 4014; the information input method further comprises the following steps:
receiving a fifth input to the input mode toggle control;
and responding to the fifth input, and switching the current input mode into other input modes except the current input mode.
For example, no matter which input control the user performs the first input, the character selection interface corresponding to the input control may display an input mode switching control, for example, the user performs the first input on the input control displayed with "mno", as shown in fig. 7, in addition to the single-character control 4011 displayed with "m", the single-character control 4012 displayed with "n", and the single-character control 4013 displayed with "o", the character selection interface 401 further includes an input mode switching control 4014 displayed with "chinese/english", when the user performs the fifth input on the input mode switching control 4014, the electronic device obtains the current input mode and switches the current input mode to another input mode, for example, the electronic device supports a chinese input mode and an english input mode, and when the current input mode is the chinese input mode, the chinese input mode is switched to the english input mode.
It should be noted that the fifth input may be a click input or a long-press input, or, in a case that the character selection interface is still displayed when the first input is ended, the fifth input may also be a slide input that slides from an input position of the first input to the input mode switching control during the process of the first input, which is not limited in this embodiment of the invention.
It should be noted that, in the present invention, the chinese input mode and the non-chinese input mode may share the layout of a virtual keyboard, that is, the virtual keyboard includes a character input area, a candidate area, and a keyboard key area.
In an embodiment, fig. 8 is a second schematic flow chart of the information input method according to the embodiment of the present invention, and as shown in fig. 8, before the step 101, the information input method further includes the following steps:
and 105, acquiring the current virtual screen shape of the electronic equipment.
For example, in order to improve the aesthetic property of the electronic device, a virtual screen with a certain theme set by a user is usually displayed on the electronic device, and the shape of the virtual screen may be circular or square, and the electronic device with a circular physical screen may select a circular virtual screen shape or a square virtual screen shape; the electronic device with the square physical screen may select a circular virtual screen shape or a square virtual screen shape, so that the current virtual screen shape of the electronic device needs to be acquired.
And 106, displaying the virtual keyboard with the same shape as the current virtual screen.
Illustratively, when the current virtual screen shape is acquired, a virtual keyboard that is the same as the current virtual screen shape is displayed so that the virtual keyboard fits the current virtual screen shape.
According to the information input method provided by the embodiment of the invention, the virtual keyboard with the same shape as the current virtual screen is displayed, so that the virtual keyboard is matched with the current virtual screen in shape, and the waste of screen space is reduced.
The information input device provided by the present invention is described below, and the information input device described below and the information input method described above may be referred to in correspondence with each other.
Fig. 9 is a schematic structural diagram of an information input device according to an embodiment of the present invention, and as shown in fig. 9, the information input device 900 includes a first receiving unit 901, a first display unit 902, a second receiving unit 903, and a determining unit 904; wherein:
a first receiving unit 901, configured to receive a first input to a target input control in the keyboard key region;
a first display unit 902, configured to display, in response to the first input, a character selection interface corresponding to the target input control; the character selection interface comprises a single character control of each character corresponding to the target input control;
a second receiving unit 903, configured to receive a second input corresponding to at least one target single-character control;
a determining unit 904, configured to determine, in response to each of the second inputs, target information displayed in the character input area based on a target character corresponding to each of the second inputs.
The information input device provided by the invention displays a character selection interface corresponding to the target input control when receiving first input to the target input control, wherein the character selection interface comprises a single character control of each character corresponding to the target input control; because the number of characters corresponding to each input control is less than that of all characters in a keyboard key area, the area occupied by each single-character control corresponding to the target input control in the same display area can be larger than the area occupied by the input controls corresponding to all characters, so that the false touch operation of a user is reduced, the accuracy of information input is improved, and the method and the device are suitable for scenes of electronic equipment with smaller screens, such as telephone watches and the like.
According to any of the above embodiments, the target input control includes any one of: letter input control, number input control and punctuation mark input control.
According to any one of the above embodiments, each of the one-character controls is displayed on the character selection interface in a surrounding manner.
Based on any embodiment, the second input is a sliding input that slides from an input position of the first input to the target single-character control during the input process of the first input.
Based on any of the above embodiments, the apparatus 900 further includes:
and the second display unit is used for canceling the display of the character selection interface and displaying the virtual keyboard under the condition that the first input is finished when the second input is not executed or the second input is not slid to the target single-character control from the input position of the first input in the input process of the first input.
Based on any embodiment, the keyboard key area further comprises a determination control; the determining unit 904 is specifically configured to:
receiving a third input to the determination control;
in response to each of the second inputs and the third input, determining target information displayed by the character input area based on a target character corresponding to each of the second inputs.
According to any of the above embodiments, the virtual keyboard further comprises a candidate area;
the determining unit 904 is specifically configured to:
determining at least one candidate information based on the target character corresponding to each second input;
displaying each candidate information in the candidate area;
receiving a fourth input of the target candidate information;
in response to the fourth input, determining the target candidate information as the target information displayed by the character input area.
Based on any of the above embodiments, the determining unit 904 is specifically configured to:
determining at least one piece of Chinese candidate information based on the target character corresponding to each second input under the condition that the current input mode comprises a Chinese input mode;
and determining at least one piece of non-Chinese candidate information based on the target character corresponding to each second input under the condition that the current input mode comprises a non-Chinese input mode.
Based on any of the above embodiments, the character selection interface further includes an input mode switching control; the apparatus 900 further comprises:
a third receiving unit, configured to receive a fifth input for the input mode switching control;
and the switching unit is used for responding to the fifth input and switching the current input mode into other input modes except the current input mode.
Based on any of the above embodiments, the apparatus further comprises:
the device comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for acquiring the current virtual screen shape of the electronic equipment;
and the third display unit is used for displaying the virtual keyboard with the same shape as the current virtual screen.
Fig. 10 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 10, the electronic device may include: a processor (processor) 1010, a communication Interface (Communications Interface) 1020, a memory (memory) 1030, and a communication bus 1040, wherein the processor 1010, the communication Interface 1020, and the memory 1030 are in communication with each other via the communication bus 1040. Processor 1010 may invoke logic instructions in memory 1030 to perform an information input method comprising: receiving a first input to a target input control in the keyboard key area;
responding to the first input, and displaying a character selection interface corresponding to the target input control; the character selection interface comprises a single character control of each character corresponding to the target input control;
receiving a second input corresponding to at least one target single-character control;
in response to each of the second inputs, target information displayed by the character input area is determined based on a target character corresponding to each of the second inputs.
Furthermore, the logic instructions in the memory 1030 can be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product comprising a computer program, the computer program being storable on a non-transitory computer readable storage medium, the computer program being capable of executing, when executed by a processor, the information input method provided by the above methods, the method comprising: receiving a first input to a target input control in the keyboard key area;
responding to the first input, and displaying a character selection interface corresponding to the target input control; the character selection interface comprises a single character control of each character corresponding to the target input control;
receiving a second input corresponding to at least one target single-character control;
in response to each of the second inputs, target information displayed by the character input area is determined based on a target character corresponding to each of the second inputs.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the information input method provided by the above methods, the method comprising: receiving a first input to a target input control in the keyboard button area;
responding to the first input, and displaying a character selection interface corresponding to the target input control; the character selection interface comprises a single character control of each character corresponding to the target input control;
receiving a second input corresponding to at least one target single-character control;
in response to each of the second inputs, target information displayed by the character input area is determined based on a target character corresponding to each of the second inputs.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, and not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (14)
1. An information input method is applied to a virtual keyboard, the virtual keyboard comprises a character input area and a keyboard key area, the keyboard key area comprises a plurality of input controls, and each input control corresponds to a plurality of characters; the method comprises the following steps:
receiving a first input to a target input control in the keyboard button area;
responding to the first input, and displaying a character selection interface corresponding to the target input control; the character selection interface comprises a single character control of each character corresponding to the target input control;
receiving a second input corresponding to at least one target single-character control;
in response to each of the second inputs, target information displayed by the character input area is determined based on a target character corresponding to each of the second inputs.
2. The information input method of claim 1, wherein the target input control comprises any one of: letter input control, number input control and punctuation mark input control.
3. The information input method of claim 1, wherein each of the one-character controls is displayed around the character selection interface.
4. The information input method of claim 1, wherein the second input is a slide input that slides from an input position of the first input to the target single-character control during input of the first input.
5. The information input method of claim 1, further comprising:
and under the condition that the first input is finished when the second input is not executed or the second input is not slid to the target single-character control from the input position of the first input in the input process of the first input, canceling the display of the character selection interface and displaying the virtual keyboard.
6. The information input method of any one of claims 1-5, wherein the keyboard key region further comprises a determination control;
the step of determining the target information displayed by the character input area based on the target character corresponding to each second input in response to each second input comprises the following steps:
receiving a third input to the determination control;
in response to each of the second inputs and the third inputs, determining target information displayed by the character input area based on a target character corresponding to each of the second inputs.
7. The information input method of claim 6, wherein the virtual keyboard further comprises a candidate area;
the determining the target information displayed by the character input area based on the target character corresponding to each second input comprises:
determining at least one candidate information based on the target character corresponding to each second input;
displaying each candidate information in the candidate area;
receiving a fourth input of the target candidate information;
in response to the fourth input, determining the target candidate information as the target information displayed by the character input area.
8. The information input method of claim 7, wherein the determining at least one candidate information based on the target character corresponding to each of the second inputs comprises:
determining at least one piece of Chinese candidate information based on the target character corresponding to each second input under the condition that the current input mode comprises a Chinese input mode;
and determining at least one piece of non-Chinese candidate information based on the target character corresponding to each second input under the condition that the current input mode comprises a non-Chinese input mode.
9. The information input method according to any one of claims 1 to 5, wherein the character selection interface further includes an input mode switching control; the method further comprises the following steps:
receiving a fifth input to the input mode toggle control;
and responding to the fifth input, and switching the current input mode into other input modes except the current input mode.
10. An information input method as recited in any one of claims 1-5, wherein prior to the receiving a first input to a target input control in the keyboard key region, the method further comprises:
acquiring a current virtual screen shape of the electronic equipment;
displaying a virtual keyboard having the same shape as the current virtual screen.
11. An information input device is applied to a virtual keyboard, the virtual keyboard comprises a character input area and a keyboard key area, the keyboard key area comprises a plurality of input controls, and each input control corresponds to a plurality of characters; the device comprises:
the first receiving unit is used for receiving a first input of a target input control in the keyboard key area;
the first display unit is used for responding to the first input and displaying a character selection interface corresponding to the target input control; the character selection interface comprises a single character control of each character corresponding to the target input control;
the second receiving unit is used for receiving second input corresponding to at least one target single-character control;
and the determining unit is used for responding to each second input and determining the target information displayed in the character input area based on the target character corresponding to each second input.
12. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the information input method according to any one of claims 1 to 10 when executing the program.
13. A non-transitory computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing the information input method according to any one of claims 1 to 10.
14. A computer program product comprising a computer program, wherein the computer program, when executed by a processor, implements the information input method of any one of claims 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211313033.2A CN115963948A (en) | 2022-10-25 | 2022-10-25 | Information input method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211313033.2A CN115963948A (en) | 2022-10-25 | 2022-10-25 | Information input method, device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115963948A true CN115963948A (en) | 2023-04-14 |
Family
ID=87360811
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211313033.2A Pending CN115963948A (en) | 2022-10-25 | 2022-10-25 | Information input method, device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115963948A (en) |
-
2022
- 2022-10-25 CN CN202211313033.2A patent/CN115963948A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9891819B2 (en) | Apparatus and method for inputting character using touch screen in portable terminal | |
US20020163504A1 (en) | Hand-held device that supports fast text typing | |
US20240143165A1 (en) | Content control system | |
RU2535480C2 (en) | Method and apparatus for keystroke estimation on touch screen | |
CN102902471B (en) | Input interface switching method and input interface switching device | |
KR20090015327A (en) | Apparatus and method for providing character delete function | |
US20130021256A1 (en) | Mobile terminal with touch panel function and input method for same | |
US20110296347A1 (en) | Text entry techniques | |
US20160092104A1 (en) | Methods, systems and devices for interacting with a computing device | |
CN110795014B (en) | Data processing method and device and data processing device | |
CN108737634B (en) | Voice input method and device, computer device and computer readable storage medium | |
CN112068764B (en) | Language switching method and device for language switching | |
CN112698735A (en) | Information input method and device and electronic equipment | |
US7352295B2 (en) | Apparatus for and method of inputting alphabets using a reduced keypad | |
CN115963948A (en) | Information input method, device, electronic equipment and storage medium | |
WO2011010193A1 (en) | Phone with circular keyboard for entering numbers or text | |
CN114356113A (en) | Input method and input device | |
CN113311982A (en) | Information selection method and device | |
CN113126780A (en) | Input method, input device, electronic equipment and readable storage medium | |
CN107526449B (en) | Character input method | |
CN113778237B (en) | Text display method, text display device, electronic equipment and medium | |
CN112214154B (en) | Interface processing method and device and interface processing device | |
CN108279787A (en) | Input method and device | |
CN109901777B (en) | Input method and processing terminal for augmented reality | |
WO2011158064A1 (en) | Mixed ambiguity text entry |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |